From da5b20ea51f1763af878f9095817900d9e18e750 Mon Sep 17 00:00:00 2001 From: hillelcoren Date: Wed, 8 Jun 2022 13:11:47 +0000 Subject: [PATCH] Admin Portal - Profile --- public/main.profile.dart.js | 818 ++++++++++++++++-------------------- 1 file changed, 354 insertions(+), 464 deletions(-) diff --git a/public/main.profile.dart.js b/public/main.profile.dart.js index 8b3192c28faf..d72eb12e8efc 100644 --- a/public/main.profile.dart.js +++ b/public/main.profile.dart.js @@ -59735,7 +59735,7 @@ store = A.StoreProvider_of($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2), type$.legacy_AppState); uiState = A._lateReadCheck(store.__Store__state, "_state").uiState; t1.action = null; - A.checkForChanges(new A.viewEntitiesByType_closure(t1, filterEntity, uiState, store, entityType), $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2), false, store); + A.checkForChanges(new A.viewEntitiesByType_closure(t1, filterEntity, uiState, store, entityType), false, store); }, viewEntity(addToStack, entity, filterEntity, force) { return A.viewEntityById(addToStack, entity.get$id(entity), entity.get$entityType(), filterEntity, force, true); @@ -59745,7 +59745,7 @@ t1 = $.$get$navigatorKey(); t1.toString; store = A.StoreProvider_of($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), type$.legacy_AppState); - A.checkForChanges(new A.viewEntityById_closure(addToStack, store, entityId, entityType, A._lateReadCheck(store.__Store__state, "_state"), filterEntity, A._lateReadCheck(store.__Store__state, "_state").uiState, showError, force), $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), force, store); + A.checkForChanges(new A.viewEntityById_closure(addToStack, store, entityId, entityType, A._lateReadCheck(store.__Store__state, "_state"), filterEntity, A._lateReadCheck(store.__Store__state, "_state").uiState, showError, force), force, store); }, createEntityByType(applyFilter, context, entityType) { var store = A.StoreProvider_of(context, type$.legacy_AppState), @@ -59754,7 +59754,7 @@ t2 = state.uiState.selectedCompanyIndex; if (!t1._list[t2].userCompany.can$2(B.UserPermission_create, entityType)) return; - A.checkForChanges(new A.createEntityByType_closure(state, store, entityType, applyFilter, false), context, false, store); + A.checkForChanges(new A.createEntityByType_closure(state, store, entityType, applyFilter, false), false, store); }, createEntity(cancelCompleter, completer, context, entity, force) { var store = A.StoreProvider_of(context, type$.legacy_AppState), @@ -59764,13 +59764,17 @@ t2 = uiState.selectedCompanyIndex; if (!t1._list[t2].userCompany.can$2(B.UserPermission_create, entity.get$entityType())) return; - A.checkForChanges(new A.createEntity_closure(uiState, store, state, entity, force, completer, cancelCompleter), context, force, store); + A.checkForChanges(new A.createEntity_closure(uiState, store, state, entity, force, completer, cancelCompleter), force, store); }, - editEntity(completer, context, entity, $fullScreen, subIndex) { - var store = A.StoreProvider_of(context, type$.legacy_AppState), - state = A._lateReadCheck(store.__Store__state, "_state"), - t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization); - A.checkForChanges(new A.editEntity_closure(state, entity.get$entityType(), $fullScreen, store, entity, completer, context, t1, subIndex), context, false, store); + editEntity(completer, entity, $fullScreen, subIndex) { + var context, store, state, + t1 = $.$get$navigatorKey(); + t1.toString; + context = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); + store = A.StoreProvider_of(context, type$.legacy_AppState); + state = A._lateReadCheck(store.__Store__state, "_state"); + t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization); + A.checkForChanges(new A.editEntity_closure(state, entity.get$entityType(), $fullScreen, store, entity, completer, context, t1, subIndex), false, store); }, handleEntitiesActions(entities, action, autoPop) { var t2, store, context, @@ -59903,10 +59907,11 @@ A.print("Error: unhandled type " + A.S(t1.get$first(entities).get$entityType()) + " in handleEntitiesActions"); } }, - selectEntity(context, entity, forceView, longPress) { - var store, state, uiState, entityUIState, t2, client, _null = null, + selectEntity(entity, forceView, longPress) { + var context, store, state, uiState, entityUIState, t2, client, _null = null, t1 = $.$get$navigatorKey(); t1.toString; + context = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); store = A.StoreProvider_of($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), type$.legacy_AppState); state = A._lateReadCheck(store.__Store__state, "_state"); uiState = state.uiState; @@ -59918,7 +59923,7 @@ if ((t2 || t1.moduleLayout === B.ModuleLayout_table) && uiState.currentRoute !== "/dashboard") A.handleEntitiesActions(A._setArrayType([entity], type$.JSArray_legacy_BaseEntity), B.EntityAction_toggleMultiselect, false); else - A.editEntity(_null, context, entity, true, _null); + A.editEntity(_null, entity, true, _null); } else if (t1 != null && !forceView) A.handleEntitiesActions(A._setArrayType([entity], type$.JSArray_legacy_BaseEntity), B.EntityAction_toggleMultiselect, false); else if (A.getLayout(context) === B.AppLayout_desktop && !state.prefState.isPreviewVisible) @@ -59952,7 +59957,7 @@ else { t1 = state.prefState; if (t1.tapSelectedToEdit) - A.editEntity(_null, context, entity, true, _null); + A.editEntity(_null, entity, true, _null); else if (t1.moduleLayout !== B.ModuleLayout_list) store.get$_dispatchers()[0].call$1(new A.TogglePreviewSidebar()); } @@ -59991,11 +59996,11 @@ else A.viewEntity(false, entity, null, false); }, - checkForChanges(callback, context, force, store) { - if (context == null) { - A.print("WARNING: context is null in hasChanges"); - return; - } + checkForChanges(callback, force, store) { + var context, + t1 = $.$get$navigatorKey(); + t1.toString; + context = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); if (force) { store.get$_dispatchers()[0].call$1(new A.DiscardChanges()); store.get$_dispatchers()[0].call$1(new A.ResetSettings()); @@ -61006,7 +61011,7 @@ client = t3._as(t1.$index(clients, 0)); switch (action) { case B.EntityAction_edit: - A.editEntity(null, context, client, true, null); + A.editEntity(null, client, true, null); break; case B.EntityAction_viewStatement: store.get$_dispatchers()[0].call$1(new A.ShowPdfClient(client, context)); @@ -62336,7 +62341,7 @@ companyGatewayIds = t1.map$1$1(companyGateways, new A.handleCompanyGatewayAction_closure(), type$.legacy_String).toList$0(0); switch (action) { case B.EntityAction_edit: - A.editEntity(_null, context, companyGateway, true, _null); + A.editEntity(_null, companyGateway, true, _null); break; case B.EntityAction_restore: if (companyGatewayIds.length > 1) { @@ -63133,7 +63138,7 @@ break; case 5: // case - A.editEntity(null, context, credit, true, null); + A.editEntity(null, credit, true, null); // goto after switch $async$goto = 4; break; @@ -64956,7 +64961,7 @@ designIds = t1.map$1$1(designs, new A.handleDesignAction_closure(), type$.legacy_String).toList$0(0); switch (action) { case B.EntityAction_edit: - A.editEntity(_null, context, design, true, _null); + A.editEntity(_null, design, true, _null); break; case B.EntityAction_clone: A.createEntity(_null, _null, context, design.get$clone(design), false); @@ -65572,7 +65577,7 @@ documentIds = t1.map$1$1(documents, new A.handleDocumentAction_closure(), type$.legacy_String).toList$0(0); switch (action) { case B.EntityAction_edit: - A.editEntity(null, context, $document, true, null); + A.editEntity(null, $document, true, null); break; case B.EntityAction_restore: if (documentIds.length > 1) { @@ -66099,7 +66104,7 @@ client = t6.$get$1(0, t7); switch (action) { case B.EntityAction_edit: - A.editEntity(_null, context, expense, true, _null); + A.editEntity(_null, expense, true, _null); break; case B.EntityAction_clone: case B.EntityAction_cloneToExpense: @@ -66125,9 +66130,11 @@ t1 = t2._eval$1("MappedIterable<1,InvoiceItemEntity*>"); items = A.List_List$of(new A.MappedIterable(availableExpenses, new A.handleExpenseAction_closure3(context), t1), true, t1._eval$1("Iterable.E")); if (items.length !== 0) - if (action === B.EntityAction_invoiceExpense) - A.createEntity(_null, _null, context, A.InvoiceEntity_InvoiceEntity(client, _null, _null, state, _null).rebuild$1(new A.handleExpenseAction_closure4(_box_0, items)), false); - else + if (action === B.EntityAction_invoiceExpense) { + t1 = $.$get$navigatorKey(); + t1.toString; + A.createEntity(_null, _null, $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), A.InvoiceEntity_InvoiceEntity(client, _null, _null, state, _null).rebuild$1(new A.handleExpenseAction_closure4(_box_0, items)), false); + } else A.addToInvoiceDialog(t7, context, items); break; case B.EntityAction_restore: @@ -66929,7 +66936,7 @@ expenseCategoryIds = t1.map$1$1(expenseCategories, new A.handleExpenseCategoryAction_closure(), type$.legacy_String).toList$0(0); switch (action) { case B.EntityAction_edit: - A.editEntity(_null, context, expenseCategory, true, _null); + A.editEntity(_null, expenseCategory, true, _null); break; case B.EntityAction_restore: if (expenseCategoryIds.length > 1) { @@ -67522,7 +67529,7 @@ groupIds = t1.map$1$1(groups, new A.handleGroupAction_closure(), type$.legacy_String).toList$0(0); switch (action) { case B.EntityAction_edit: - A.editEntity(_null, context, group, true, _null); + A.editEntity(_null, group, true, _null); break; case B.EntityAction_settings: store.get$_dispatchers()[0].call$1(new A.ViewSettings(_null, group, _null, _null, false, "company_details", false, _null)); @@ -68219,7 +68226,7 @@ break; case 5: // case - A.editEntity(null, context, invoice, true, null); + A.editEntity(null, invoice, true, null); // goto after switch $async$goto = 4; break; @@ -69587,11 +69594,11 @@ _box_0.payment = payment; switch (action) { case B.EntityAction_edit: - A.editEntity(_null, context, payment, true, _null); + A.editEntity(_null, payment, true, _null); break; case B.EntityAction_applyPayment: A.viewEntity(false, payment, _null, false); - $.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.handlePaymentAction_closure0(_box_0, context)); + $.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.handlePaymentAction_closure0(_box_0)); break; case B.EntityAction_refundPayment: A.viewEntity(false, payment, _null, false); @@ -69798,9 +69805,8 @@ }, handlePaymentAction_closure: function handlePaymentAction_closure() { }, - handlePaymentAction_closure0: function handlePaymentAction_closure0(t0, t1) { + handlePaymentAction_closure0: function handlePaymentAction_closure0(t0) { this._box_0 = t0; - this.context = t1; }, handlePaymentAction__closure1: function handlePaymentAction__closure1() { }, @@ -70337,7 +70343,7 @@ paymentTermIds = t1.map$1$1(paymentTerms, new A.handlePaymentTermAction_closure(), type$.legacy_String).toList$0(0); switch (action) { case B.EntityAction_edit: - A.editEntity(null, context, paymentTerm, true, null); + A.editEntity(null, paymentTerm, true, null); break; case B.EntityAction_restore: if (paymentTermIds.length > 1) { @@ -70932,7 +70938,7 @@ A.createEntity(_null, _null, context, invoice.rebuild$1(new A.handleProductAction_closure0(productIds, state, invoice)), false); break; case B.EntityAction_edit: - A.editEntity(_null, context, product, true, _null); + A.editEntity(_null, product, true, _null); break; case B.EntityAction_clone: type$.legacy_ProductEntity._as(product); @@ -71649,7 +71655,7 @@ t4 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization); switch (action) { case B.EntityAction_edit: - A.editEntity(_null, context, project, true, _null); + A.editEntity(_null, project, true, _null); break; case B.EntityAction_newTask: A.createEntity(_null, _null, context, A.TaskEntity_TaskEntity(_null, _null, _null, state, _null).rebuild$1(new A.handleProjectAction_closure0(project)), false); @@ -72568,7 +72574,7 @@ break; case 5: // case - A.editEntity(null, context, quote, true, null); + A.editEntity(null, quote, true, null); // goto after switch $async$goto = 4; break; @@ -73817,7 +73823,7 @@ recurringExpenseIds = t1.map$1$1(recurringExpenses, new A.handleRecurringExpenseAction_closure(), type$.legacy_String).toList$0(0); switch (action) { case B.EntityAction_edit: - A.editEntity(_null, context, recurringExpense, true, _null); + A.editEntity(_null, recurringExpense, true, _null); break; case B.EntityAction_restore: t2.toString; @@ -74662,7 +74668,7 @@ break; case 5: // case - A.editEntity(null, context, recurringInvoice, true, null); + A.editEntity(null, recurringInvoice, true, null); // goto after switch $async$goto = 4; break; @@ -76318,7 +76324,7 @@ subscriptionIds = t1.map$1$1(subscriptions, new A.handleSubscriptionAction_closure(), type$.legacy_String).toList$0(0); switch (action) { case B.EntityAction_edit: - A.editEntity(null, context, subscription, true, null); + A.editEntity(null, subscription, true, null); break; case B.EntityAction_restore: t2.toString; @@ -76879,7 +76885,7 @@ taskIds = t1.map$1$1(tasks, new A.handleTaskAction_closure(), type$.legacy_String).toList$0(0); switch (action) { case B.EntityAction_edit: - A.editEntity(_null, context, task, true, _null); + A.editEntity(_null, task, true, _null); break; case B.EntityAction_start: case B.EntityAction_resume: @@ -77930,7 +77936,7 @@ taskStatusIds = t1.map$1$1(taskStatuses, new A.handleTaskStatusAction_closure(), type$.legacy_String).toList$0(0); switch (action) { case B.EntityAction_edit: - A.editEntity(_null, context, taskStatus, true, _null); + A.editEntity(_null, taskStatus, true, _null); break; case B.EntityAction_restore: if (taskStatusIds.length > 1) { @@ -78587,7 +78593,7 @@ taxRateIds = t1.map$1$1(taxRates, new A.handleTaxRateAction_closure(), type$.legacy_String).toList$0(0); switch (action) { case B.EntityAction_edit: - A.editEntity(null, context, taxRate, true, null); + A.editEntity(null, taxRate, true, null); break; case B.EntityAction_restore: if (taxRateIds.length > 1) { @@ -79113,7 +79119,7 @@ A.showToast(B.JSString_methods.replaceFirst$2(t2.get$copiedToClipboard(), ":value ", "")); break; case B.EntityAction_edit: - A.editEntity(null, context, token, true, null); + A.editEntity(null, token, true, null); break; case B.EntityAction_restore: if (tokenIds.length > 1) { @@ -80408,7 +80414,7 @@ userIds = t1.map$1$1(users, new A.handleUserAction_closure(), type$.legacy_String).toList$0(0); switch (action) { case B.EntityAction_edit: - A.editEntity(_null, context, user, true, _null); + A.editEntity(_null, user, true, _null); break; case B.EntityAction_newClient: A.createEntity(_null, _null, context, A.ClientEntity_ClientEntity(_null, _null, state, _null).rebuild$1(new A.handleUserAction_closure0(user)), false); @@ -81263,7 +81269,7 @@ vendorIds = t1.map$1$1(vendors, new A.handleVendorAction_closure(), type$.legacy_String).toList$0(0); switch (action) { case B.EntityAction_edit: - A.editEntity(_null, context, vendor, true, _null); + A.editEntity(_null, vendor, true, _null); break; case B.EntityAction_newExpense: A.createEntity(_null, _null, context, A.ExpenseEntity_ExpenseEntity(_null, _null, _null, _null, state, _null, vendor), false); @@ -82000,7 +82006,7 @@ A.showToast(B.JSString_methods.replaceFirst$2(t2.get$copiedToClipboard(), ":value ", "")); break; case B.EntityAction_edit: - A.editEntity(null, context, webhook, true, null); + A.editEntity(null, webhook, true, null); break; case B.EntityAction_restore: if (webhookIds.length > 1) { @@ -83787,9 +83793,8 @@ this.store = t0; this.prefState = t1; }, - EntityTopFilter_build_closure1: function EntityTopFilter_build_closure1(t0, t1) { - this.context = t0; - this.filterEntity = t1; + EntityTopFilter_build_closure1: function EntityTopFilter_build_closure1(t0) { + this.filterEntity = t0; }, EntityTopFilter_build_closure4: function EntityTopFilter_build_closure4(t0, t1, t2) { this.relatedTypes = t0; @@ -83846,9 +83851,8 @@ this.store = t0; this.prefState = t1; }, - EntityTopFilterHeader_build_closure1: function EntityTopFilterHeader_build_closure1(t0, t1) { - this.context = t0; - this.filterEntity = t1; + EntityTopFilterHeader_build_closure1: function EntityTopFilterHeader_build_closure1(t0) { + this.filterEntity = t0; }, EntityTopFilterHeader_build_closure4: function EntityTopFilterHeader_build_closure4(t0, t1, t2, t3) { var _ = this; @@ -84716,9 +84720,8 @@ _LinkTextRelatedEntityState_build_closure0: function _LinkTextRelatedEntityState_build_closure0(t0) { this.$this = t0; }, - _LinkTextRelatedEntityState_build_closure: function _LinkTextRelatedEntityState_build_closure(t0, t1) { + _LinkTextRelatedEntityState_build_closure: function _LinkTextRelatedEntityState_build_closure(t0) { this.$this = t0; - this.context = t1; }, LinkTextSpan: function LinkTextSpan(t0, t1, t2, t3, t4) { var _ = this; @@ -85780,9 +85783,8 @@ this.$this = t0; this.entity = t1; }, - EntityDataTableSource_getRow_closure2: function EntityDataTableSource_getRow_closure2(t0, t1) { - this.$this = t0; - this.entity = t1; + EntityDataTableSource_getRow_closure2: function EntityDataTableSource_getRow_closure2(t0) { + this.entity = t0; }, EntityDataTableSource_getRow_closure1: function EntityDataTableSource_getRow_closure1(t0) { this.entity = t0; @@ -85840,8 +85842,7 @@ _._debugLifecycleState = t0; _._framework$_element = null; }, - _EntityListState_initState_closure: function _EntityListState_initState_closure(t0) { - this.$this = t0; + _EntityListState_initState_closure: function _EntityListState_initState_closure() { }, _EntityListState_build_closure: function _EntityListState_build_closure(t0, t1) { this.entityType = t0; @@ -86037,9 +86038,8 @@ this.state = t1; this.localization = t2; }, - ViewScaffold_build__closure: function ViewScaffold_build__closure(t0, t1) { + ViewScaffold_build__closure: function ViewScaffold_build__closure(t0) { this.$this = t0; - this.context = t1; }, ViewScaffold_build_closure5: function ViewScaffold_build_closure5(t0) { this.$this = t0; @@ -86335,13 +86335,11 @@ _.textStyle = t4; _.filterMatch = t5; }, - ClientListItem_build__closure2: function ClientListItem_build__closure2(t0, t1) { + ClientListItem_build__closure2: function ClientListItem_build__closure2(t0) { this.$this = t0; - this.context = t1; }, - ClientListItem_build__closure1: function ClientListItem_build__closure1(t0, t1) { + ClientListItem_build__closure1: function ClientListItem_build__closure1(t0) { this.$this = t0; - this.context = t1; }, ClientListItem_build__closure: function ClientListItem_build__closure(t0) { this.$this = t0; @@ -86349,13 +86347,11 @@ ClientListItem_build__closure0: function ClientListItem_build__closure0(t0) { this.$this = t0; }, - ClientListItem_build__closure5: function ClientListItem_build__closure5(t0, t1) { + ClientListItem_build__closure5: function ClientListItem_build__closure5(t0) { this.$this = t0; - this.context = t1; }, - ClientListItem_build__closure4: function ClientListItem_build__closure4(t0, t1) { + ClientListItem_build__closure4: function ClientListItem_build__closure4(t0) { this.$this = t0; - this.context = t1; }, ClientListItem_build__closure3: function ClientListItem_build__closure3(t0) { this.$this = t0; @@ -87569,9 +87565,8 @@ _.isChecked = t4; _.key = t5; }, - CompanyGatewayListItem_build_closure0: function CompanyGatewayListItem_build_closure0(t0, t1) { + CompanyGatewayListItem_build_closure0: function CompanyGatewayListItem_build_closure0(t0) { this.$this = t0; - this.context = t1; }, CompanyGatewayListItem_build_closure: function CompanyGatewayListItem_build_closure(t0) { this.$this = t0; @@ -88337,13 +88332,11 @@ _.filterMatch = t7; _.textColor = t8; }, - CreditListItem_build__closure2: function CreditListItem_build__closure2(t0, t1) { + CreditListItem_build__closure2: function CreditListItem_build__closure2(t0) { this.$this = t0; - this.context = t1; }, - CreditListItem_build__closure1: function CreditListItem_build__closure1(t0, t1) { + CreditListItem_build__closure1: function CreditListItem_build__closure1(t0) { this.$this = t0; - this.context = t1; }, CreditListItem_build__closure: function CreditListItem_build__closure(t0) { this.$this = t0; @@ -88351,13 +88344,11 @@ CreditListItem_build__closure0: function CreditListItem_build__closure0(t0) { this.$this = t0; }, - CreditListItem_build__closure5: function CreditListItem_build__closure5(t0, t1) { + CreditListItem_build__closure5: function CreditListItem_build__closure5(t0) { this.$this = t0; - this.context = t1; }, - CreditListItem_build__closure4: function CreditListItem_build__closure4(t0, t1) { + CreditListItem_build__closure4: function CreditListItem_build__closure4(t0) { this.$this = t0; - this.context = t1; }, CreditListItem_build__closure3: function CreditListItem_build__closure3(t0) { this.$this = t0; @@ -89083,9 +89074,8 @@ this.task = t0; this.client = t1; }, - DashboardPanels_build__runningTasks__closure0: function DashboardPanels_build__runningTasks__closure0(t0, t1) { - this.context = t0; - this.task = t1; + DashboardPanels_build__runningTasks__closure0: function DashboardPanels_build__runningTasks__closure0(t0) { + this.task = t0; }, DashboardPanels_build__runningTasks__closure: function DashboardPanels_build__runningTasks__closure(t0) { this.task = t0; @@ -89426,13 +89416,11 @@ _.isChecked = t2; _.key = t3; }, - DesignListItem_build_closure1: function DesignListItem_build_closure1(t0, t1) { + DesignListItem_build_closure1: function DesignListItem_build_closure1(t0) { this.$this = t0; - this.context = t1; }, - DesignListItem_build_closure0: function DesignListItem_build_closure0(t0, t1) { + DesignListItem_build_closure0: function DesignListItem_build_closure0(t0) { this.$this = t0; - this.context = t1; }, DesignListItem_build_closure: function DesignListItem_build_closure(t0) { this.$this = t0; @@ -89805,13 +89793,11 @@ _.filter = t3; _.key = t4; }, - DocumentListItem_build_closure1: function DocumentListItem_build_closure1(t0, t1) { + DocumentListItem_build_closure1: function DocumentListItem_build_closure1(t0) { this.$this = t0; - this.context = t1; }, - DocumentListItem_build_closure0: function DocumentListItem_build_closure0(t0, t1) { + DocumentListItem_build_closure0: function DocumentListItem_build_closure0(t0) { this.$this = t0; - this.context = t1; }, DocumentListItem_build_closure: function DocumentListItem_build_closure(t0) { this.$this = t0; @@ -90513,7 +90499,7 @@ _.isChecked = t6; _.key = t7; }, - ExpenseListItem_build_closure: function ExpenseListItem_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { + ExpenseListItem_build_closure: function ExpenseListItem_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._box_0 = t0; _.$this = t1; @@ -90524,14 +90510,14 @@ _.textStyle = t6; _.filterMatch = t7; _.textColor = t8; + _.localization = t9; + _.category = t10; }, - ExpenseListItem_build__closure2: function ExpenseListItem_build__closure2(t0, t1) { + ExpenseListItem_build__closure2: function ExpenseListItem_build__closure2(t0) { this.$this = t0; - this.context = t1; }, - ExpenseListItem_build__closure1: function ExpenseListItem_build__closure1(t0, t1) { + ExpenseListItem_build__closure1: function ExpenseListItem_build__closure1(t0) { this.$this = t0; - this.context = t1; }, ExpenseListItem_build__closure: function ExpenseListItem_build__closure(t0) { this.$this = t0; @@ -90539,13 +90525,11 @@ ExpenseListItem_build__closure0: function ExpenseListItem_build__closure0(t0) { this.$this = t0; }, - ExpenseListItem_build__closure5: function ExpenseListItem_build__closure5(t0, t1) { + ExpenseListItem_build__closure5: function ExpenseListItem_build__closure5(t0) { this.$this = t0; - this.context = t1; }, - ExpenseListItem_build__closure4: function ExpenseListItem_build__closure4(t0, t1) { + ExpenseListItem_build__closure4: function ExpenseListItem_build__closure4(t0) { this.$this = t0; - this.context = t1; }, ExpenseListItem_build__closure3: function ExpenseListItem_build__closure3(t0) { this.$this = t0; @@ -90956,13 +90940,11 @@ _.isChecked = t3; _.key = t4; }, - ExpenseCategoryListItem_build_closure1: function ExpenseCategoryListItem_build_closure1(t0, t1) { + ExpenseCategoryListItem_build_closure1: function ExpenseCategoryListItem_build_closure1(t0) { this.$this = t0; - this.context = t1; }, - ExpenseCategoryListItem_build_closure0: function ExpenseCategoryListItem_build_closure0(t0, t1) { + ExpenseCategoryListItem_build_closure0: function ExpenseCategoryListItem_build_closure0(t0) { this.$this = t0; - this.context = t1; }, ExpenseCategoryListItem_build_closure: function ExpenseCategoryListItem_build_closure(t0) { this.$this = t0; @@ -91258,13 +91240,11 @@ _.isChecked = t3; _.key = t4; }, - GroupListItem_build_closure1: function GroupListItem_build_closure1(t0, t1) { + GroupListItem_build_closure1: function GroupListItem_build_closure1(t0) { this.$this = t0; - this.context = t1; }, - GroupListItem_build_closure0: function GroupListItem_build_closure0(t0, t1) { + GroupListItem_build_closure0: function GroupListItem_build_closure0(t0) { this.$this = t0; - this.context = t1; }, GroupListItem_build_closure: function GroupListItem_build_closure(t0) { this.$this = t0; @@ -93011,26 +92991,22 @@ _.statusLabel = t11; _.statusColor = t12; }, - InvoiceListItem_build__closure2: function InvoiceListItem_build__closure2(t0, t1) { + InvoiceListItem_build__closure2: function InvoiceListItem_build__closure2(t0) { this.$this = t0; - this.context = t1; }, - InvoiceListItem_build__closure1: function InvoiceListItem_build__closure1(t0, t1) { + InvoiceListItem_build__closure1: function InvoiceListItem_build__closure1(t0) { this.$this = t0; - this.context = t1; }, InvoiceListItem_build__closure: function InvoiceListItem_build__closure() { }, InvoiceListItem_build__closure0: function InvoiceListItem_build__closure0(t0) { this.$this = t0; }, - InvoiceListItem_build__closure5: function InvoiceListItem_build__closure5(t0, t1) { + InvoiceListItem_build__closure5: function InvoiceListItem_build__closure5(t0) { this.$this = t0; - this.context = t1; }, - InvoiceListItem_build__closure4: function InvoiceListItem_build__closure4(t0, t1) { + InvoiceListItem_build__closure4: function InvoiceListItem_build__closure4(t0) { this.$this = t0; - this.context = t1; }, InvoiceListItem_build__closure3: function InvoiceListItem_build__closure3() { }, @@ -93907,26 +93883,22 @@ _.mobileSubtitle = t10; _.localization = t11; }, - PaymentListItem_build__closure2: function PaymentListItem_build__closure2(t0, t1) { + PaymentListItem_build__closure2: function PaymentListItem_build__closure2(t0) { this.$this = t0; - this.context = t1; }, - PaymentListItem_build__closure1: function PaymentListItem_build__closure1(t0, t1) { + PaymentListItem_build__closure1: function PaymentListItem_build__closure1(t0) { this.$this = t0; - this.context = t1; }, PaymentListItem_build__closure: function PaymentListItem_build__closure() { }, PaymentListItem_build__closure0: function PaymentListItem_build__closure0(t0) { this.$this = t0; }, - PaymentListItem_build__closure5: function PaymentListItem_build__closure5(t0, t1) { + PaymentListItem_build__closure5: function PaymentListItem_build__closure5(t0) { this.$this = t0; - this.context = t1; }, - PaymentListItem_build__closure4: function PaymentListItem_build__closure4(t0, t1) { + PaymentListItem_build__closure4: function PaymentListItem_build__closure4(t0) { this.$this = t0; - this.context = t1; }, PaymentListItem_build__closure3: function PaymentListItem_build__closure3() { }, @@ -94453,13 +94425,11 @@ _.isChecked = t3; _.key = t4; }, - PaymentTermListItem_build_closure1: function PaymentTermListItem_build_closure1(t0, t1) { + PaymentTermListItem_build_closure1: function PaymentTermListItem_build_closure1(t0) { this.$this = t0; - this.context = t1; }, - PaymentTermListItem_build_closure0: function PaymentTermListItem_build_closure0(t0, t1) { + PaymentTermListItem_build_closure0: function PaymentTermListItem_build_closure0(t0) { this.$this = t0; - this.context = t1; }, PaymentTermListItem_build_closure: function PaymentTermListItem_build_closure(t0) { this.$this = t0; @@ -94787,13 +94757,11 @@ _.filterMatch = t5; _.subtitle = t6; }, - ProductListItem_build__closure2: function ProductListItem_build__closure2(t0, t1) { + ProductListItem_build__closure2: function ProductListItem_build__closure2(t0) { this.$this = t0; - this.context = t1; }, - ProductListItem_build__closure1: function ProductListItem_build__closure1(t0, t1) { + ProductListItem_build__closure1: function ProductListItem_build__closure1(t0) { this.$this = t0; - this.context = t1; }, ProductListItem_build__closure: function ProductListItem_build__closure(t0) { this.$this = t0; @@ -94801,13 +94769,11 @@ ProductListItem_build__closure0: function ProductListItem_build__closure0(t0) { this.$this = t0; }, - ProductListItem_build__closure5: function ProductListItem_build__closure5(t0, t1) { + ProductListItem_build__closure5: function ProductListItem_build__closure5(t0) { this.$this = t0; - this.context = t1; }, - ProductListItem_build__closure4: function ProductListItem_build__closure4(t0, t1) { + ProductListItem_build__closure4: function ProductListItem_build__closure4(t0) { this.$this = t0; - this.context = t1; }, ProductListItem_build__closure3: function ProductListItem_build__closure3(t0) { this.$this = t0; @@ -95237,13 +95203,11 @@ _.filterMatch = t7; _.textColor = t8; }, - ProjectListItem_build__closure2: function ProjectListItem_build__closure2(t0, t1) { + ProjectListItem_build__closure2: function ProjectListItem_build__closure2(t0) { this.$this = t0; - this.context = t1; }, - ProjectListItem_build__closure1: function ProjectListItem_build__closure1(t0, t1) { + ProjectListItem_build__closure1: function ProjectListItem_build__closure1(t0) { this.$this = t0; - this.context = t1; }, ProjectListItem_build__closure: function ProjectListItem_build__closure(t0) { this.$this = t0; @@ -95251,13 +95215,11 @@ ProjectListItem_build__closure0: function ProjectListItem_build__closure0(t0) { this.$this = t0; }, - ProjectListItem_build__closure5: function ProjectListItem_build__closure5(t0, t1) { + ProjectListItem_build__closure5: function ProjectListItem_build__closure5(t0) { this.$this = t0; - this.context = t1; }, - ProjectListItem_build__closure4: function ProjectListItem_build__closure4(t0, t1) { + ProjectListItem_build__closure4: function ProjectListItem_build__closure4(t0) { this.$this = t0; - this.context = t1; }, ProjectListItem_build__closure3: function ProjectListItem_build__closure3(t0) { this.$this = t0; @@ -95841,26 +95803,22 @@ _.filterMatch = t9; _.textColor = t10; }, - QuoteListItem_build__closure2: function QuoteListItem_build__closure2(t0, t1) { + QuoteListItem_build__closure2: function QuoteListItem_build__closure2(t0) { this.$this = t0; - this.context = t1; }, - QuoteListItem_build__closure1: function QuoteListItem_build__closure1(t0, t1) { + QuoteListItem_build__closure1: function QuoteListItem_build__closure1(t0) { this.$this = t0; - this.context = t1; }, QuoteListItem_build__closure: function QuoteListItem_build__closure() { }, QuoteListItem_build__closure0: function QuoteListItem_build__closure0(t0) { this.$this = t0; }, - QuoteListItem_build__closure5: function QuoteListItem_build__closure5(t0, t1) { + QuoteListItem_build__closure5: function QuoteListItem_build__closure5(t0) { this.$this = t0; - this.context = t1; }, - QuoteListItem_build__closure4: function QuoteListItem_build__closure4(t0, t1) { + QuoteListItem_build__closure4: function QuoteListItem_build__closure4(t0) { this.$this = t0; - this.context = t1; }, QuoteListItem_build__closure3: function QuoteListItem_build__closure3() { }, @@ -96211,13 +96169,11 @@ _.filterMatch = t7; _.textColor = t8; }, - RecurringExpenseListItem_build__closure2: function RecurringExpenseListItem_build__closure2(t0, t1) { + RecurringExpenseListItem_build__closure2: function RecurringExpenseListItem_build__closure2(t0) { this.$this = t0; - this.context = t1; }, - RecurringExpenseListItem_build__closure1: function RecurringExpenseListItem_build__closure1(t0, t1) { + RecurringExpenseListItem_build__closure1: function RecurringExpenseListItem_build__closure1(t0) { this.$this = t0; - this.context = t1; }, RecurringExpenseListItem_build__closure: function RecurringExpenseListItem_build__closure(t0) { this.$this = t0; @@ -96225,13 +96181,11 @@ RecurringExpenseListItem_build__closure0: function RecurringExpenseListItem_build__closure0(t0) { this.$this = t0; }, - RecurringExpenseListItem_build__closure5: function RecurringExpenseListItem_build__closure5(t0, t1) { + RecurringExpenseListItem_build__closure5: function RecurringExpenseListItem_build__closure5(t0) { this.$this = t0; - this.context = t1; }, - RecurringExpenseListItem_build__closure4: function RecurringExpenseListItem_build__closure4(t0, t1) { + RecurringExpenseListItem_build__closure4: function RecurringExpenseListItem_build__closure4(t0) { this.$this = t0; - this.context = t1; }, RecurringExpenseListItem_build__closure3: function RecurringExpenseListItem_build__closure3(t0) { this.$this = t0; @@ -96694,26 +96648,22 @@ _.statusLabel = t11; _.statusColor = t12; }, - RecurringInvoiceListItem_build__closure2: function RecurringInvoiceListItem_build__closure2(t0, t1) { + RecurringInvoiceListItem_build__closure2: function RecurringInvoiceListItem_build__closure2(t0) { this.$this = t0; - this.context = t1; }, - RecurringInvoiceListItem_build__closure1: function RecurringInvoiceListItem_build__closure1(t0, t1) { + RecurringInvoiceListItem_build__closure1: function RecurringInvoiceListItem_build__closure1(t0) { this.$this = t0; - this.context = t1; }, RecurringInvoiceListItem_build__closure: function RecurringInvoiceListItem_build__closure() { }, RecurringInvoiceListItem_build__closure0: function RecurringInvoiceListItem_build__closure0(t0) { this.$this = t0; }, - RecurringInvoiceListItem_build__closure5: function RecurringInvoiceListItem_build__closure5(t0, t1) { + RecurringInvoiceListItem_build__closure5: function RecurringInvoiceListItem_build__closure5(t0) { this.$this = t0; - this.context = t1; }, - RecurringInvoiceListItem_build__closure4: function RecurringInvoiceListItem_build__closure4(t0, t1) { + RecurringInvoiceListItem_build__closure4: function RecurringInvoiceListItem_build__closure4(t0) { this.$this = t0; - this.context = t1; }, RecurringInvoiceListItem_build__closure3: function RecurringInvoiceListItem_build__closure3() { }, @@ -105838,13 +105788,11 @@ _.isChecked = t3; _.key = t4; }, - SubscriptionListItem_build_closure1: function SubscriptionListItem_build_closure1(t0, t1) { + SubscriptionListItem_build_closure1: function SubscriptionListItem_build_closure1(t0) { this.$this = t0; - this.context = t1; }, - SubscriptionListItem_build_closure0: function SubscriptionListItem_build_closure0(t0, t1) { + SubscriptionListItem_build_closure0: function SubscriptionListItem_build_closure0(t0) { this.$this = t0; - this.context = t1; }, SubscriptionListItem_build_closure: function SubscriptionListItem_build_closure(t0) { this.$this = t0; @@ -106671,9 +106619,8 @@ this.state = t0; this.task = t1; }, - _KanbanTaskCardState_build_closure3: function _KanbanTaskCardState_build_closure3(t0, t1) { - this.context = t0; - this.task = t1; + _KanbanTaskCardState_build_closure3: function _KanbanTaskCardState_build_closure3(t0) { + this.task = t0; }, _KanbanTaskCardState_build_closure4: function _KanbanTaskCardState_build_closure4(t0) { this.task = t0; @@ -106690,12 +106637,10 @@ _KanbanTaskCardState_build__closure2: function _KanbanTaskCardState_build__closure2(t0) { this.localization = t0; }, - _KanbanTaskCardState_build_closure7: function _KanbanTaskCardState_build_closure7(t0, t1, t2, t3) { - var _ = this; - _.startLabel = t0; - _.task = t1; - _.localization = t2; - _.context = t3; + _KanbanTaskCardState_build_closure7: function _KanbanTaskCardState_build_closure7(t0, t1, t2) { + this.startLabel = t0; + this.task = t1; + this.localization = t2; }, _KanbanTaskCardState_build_closure8: function _KanbanTaskCardState_build_closure8(t0) { this.$this = t0; @@ -106971,13 +106916,11 @@ _.startStopButton = t10; _.localization = t11; }, - TaskListItem_build__closure2: function TaskListItem_build__closure2(t0, t1) { + TaskListItem_build__closure2: function TaskListItem_build__closure2(t0) { this.$this = t0; - this.context = t1; }, - TaskListItem_build__closure1: function TaskListItem_build__closure1(t0, t1) { + TaskListItem_build__closure1: function TaskListItem_build__closure1(t0) { this.$this = t0; - this.context = t1; }, TaskListItem_build__closure: function TaskListItem_build__closure(t0) { this.$this = t0; @@ -106985,13 +106928,11 @@ TaskListItem_build__closure0: function TaskListItem_build__closure0(t0) { this.$this = t0; }, - TaskListItem_build__closure5: function TaskListItem_build__closure5(t0, t1) { + TaskListItem_build__closure5: function TaskListItem_build__closure5(t0) { this.$this = t0; - this.context = t1; }, - TaskListItem_build__closure4: function TaskListItem_build__closure4(t0, t1) { + TaskListItem_build__closure4: function TaskListItem_build__closure4(t0) { this.$this = t0; - this.context = t1; }, TaskListItem_build__closure3: function TaskListItem_build__closure3(t0) { this.$this = t0; @@ -107477,13 +107418,11 @@ _.isChecked = t3; _.key = t4; }, - TaskStatusListItem_build_closure1: function TaskStatusListItem_build_closure1(t0, t1) { + TaskStatusListItem_build_closure1: function TaskStatusListItem_build_closure1(t0) { this.$this = t0; - this.context = t1; }, - TaskStatusListItem_build_closure0: function TaskStatusListItem_build_closure0(t0, t1) { + TaskStatusListItem_build_closure0: function TaskStatusListItem_build_closure0(t0) { this.$this = t0; - this.context = t1; }, TaskStatusListItem_build_closure: function TaskStatusListItem_build_closure(t0) { this.$this = t0; @@ -107761,13 +107700,11 @@ _.isChecked = t3; _.key = t4; }, - TaxRateListItem_build_closure1: function TaxRateListItem_build_closure1(t0, t1) { + TaxRateListItem_build_closure1: function TaxRateListItem_build_closure1(t0) { this.$this = t0; - this.context = t1; }, - TaxRateListItem_build_closure0: function TaxRateListItem_build_closure0(t0, t1) { + TaxRateListItem_build_closure0: function TaxRateListItem_build_closure0(t0) { this.$this = t0; - this.context = t1; }, TaxRateListItem_build_closure: function TaxRateListItem_build_closure(t0) { this.$this = t0; @@ -108041,13 +107978,11 @@ _.isChecked = t3; _.key = t4; }, - TokenListItem_build_closure1: function TokenListItem_build_closure1(t0, t1) { + TokenListItem_build_closure1: function TokenListItem_build_closure1(t0) { this.$this = t0; - this.context = t1; }, - TokenListItem_build_closure0: function TokenListItem_build_closure0(t0, t1) { + TokenListItem_build_closure0: function TokenListItem_build_closure0(t0) { this.$this = t0; - this.context = t1; }, TokenListItem_build_closure: function TokenListItem_build_closure(t0) { this.$this = t0; @@ -108471,13 +108406,11 @@ _.filter = t2; _.key = t3; }, - UserListItem_build_closure1: function UserListItem_build_closure1(t0, t1) { + UserListItem_build_closure1: function UserListItem_build_closure1(t0) { this.$this = t0; - this.context = t1; }, - UserListItem_build_closure0: function UserListItem_build_closure0(t0, t1) { + UserListItem_build_closure0: function UserListItem_build_closure0(t0) { this.$this = t0; - this.context = t1; }, UserListItem_build_closure: function UserListItem_build_closure(t0) { this.$this = t0; @@ -109024,13 +108957,11 @@ _.filterMatch = t6; _.textColor = t7; }, - VendorListItem_build__closure2: function VendorListItem_build__closure2(t0, t1) { + VendorListItem_build__closure2: function VendorListItem_build__closure2(t0) { this.$this = t0; - this.context = t1; }, - VendorListItem_build__closure1: function VendorListItem_build__closure1(t0, t1) { + VendorListItem_build__closure1: function VendorListItem_build__closure1(t0) { this.$this = t0; - this.context = t1; }, VendorListItem_build__closure: function VendorListItem_build__closure(t0) { this.$this = t0; @@ -109038,13 +108969,11 @@ VendorListItem_build__closure0: function VendorListItem_build__closure0(t0) { this.$this = t0; }, - VendorListItem_build__closure5: function VendorListItem_build__closure5(t0, t1) { + VendorListItem_build__closure5: function VendorListItem_build__closure5(t0) { this.$this = t0; - this.context = t1; }, - VendorListItem_build__closure4: function VendorListItem_build__closure4(t0, t1) { + VendorListItem_build__closure4: function VendorListItem_build__closure4(t0) { this.$this = t0; - this.context = t1; }, VendorListItem_build__closure3: function VendorListItem_build__closure3(t0) { this.$this = t0; @@ -109632,13 +109561,11 @@ _.isChecked = t3; _.key = t4; }, - WebhookListItem_build_closure1: function WebhookListItem_build_closure1(t0, t1) { + WebhookListItem_build_closure1: function WebhookListItem_build_closure1(t0) { this.$this = t0; - this.context = t1; }, - WebhookListItem_build_closure0: function WebhookListItem_build_closure0(t0, t1) { + WebhookListItem_build_closure0: function WebhookListItem_build_closure0(t0) { this.$this = t0; - this.context = t1; }, WebhookListItem_build_closure: function WebhookListItem_build_closure(t0) { this.$this = t0; @@ -345459,13 +345386,12 @@ }; A.handleCreditAction_closure1.prototype = { call$0() { - var t2, t3, - t1 = this.context; - A.Navigator_of(t1, false).pop$0(0); - t2 = this.state; - t3 = t2.userCompanyStates; - t2 = t2.uiState.selectedCompanyIndex; - A.editEntity(null, t1, t3._list[t2].clientState.$get$1(0, this.credit.clientId), true, null); + var t1, t2; + A.Navigator_of(this.context, false).pop$0(0); + t1 = this.state; + t2 = t1.userCompanyStates; + t1 = t1.uiState.selectedCompanyIndex; + A.editEntity(null, t2._list[t1].clientState.$get$1(0, this.credit.clientId), true, null); }, $signature: 1 }; @@ -347413,11 +347339,8 @@ A.UpdateDashboardSidebar.prototype = {$isPersistUI: 1}; A._createViewDashboard_closure.prototype = { call$3(store, dynamicAction, next) { - var t1; type$.legacy_ViewDashboard._as(dynamicAction); - t1 = $.$get$navigatorKey(); - t1.toString; - A.checkForChanges(new A._createViewDashboard__closure(store, next, dynamicAction), $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), dynamicAction.force, store); + A.checkForChanges(new A._createViewDashboard__closure(store, next, dynamicAction), dynamicAction.force, store); }, "call*": "call$3", $requiredArgCount: 3, @@ -355490,13 +355413,12 @@ }; A.handleInvoiceAction_closure3.prototype = { call$0() { - var t2, t3, - t1 = this.context; - A.Navigator_of(t1, false).pop$0(0); - t2 = this.state; - t3 = t2.userCompanyStates; - t2 = t2.uiState.selectedCompanyIndex; - A.editEntity(null, t1, t3._list[t2].clientState.$get$1(0, this.invoice.clientId), true, null); + var t1, t2; + A.Navigator_of(this.context, false).pop$0(0); + t1 = this.state; + t2 = t1.userCompanyStates; + t1 = t1.uiState.selectedCompanyIndex; + A.editEntity(null, t2._list[t1].clientState.$get$1(0, this.invoice.clientId), true, null); }, $signature: 1 }; @@ -357756,7 +357678,7 @@ }; A.handlePaymentAction_closure0.prototype = { call$1(duration) { - A.editEntity(null, this.context, this._box_0.payment.rebuild$1(new A.handlePaymentAction__closure1()), true, null); + A.editEntity(null, this._box_0.payment.rebuild$1(new A.handlePaymentAction__closure1()), true, null); }, $signature: 34 }; @@ -363654,13 +363576,12 @@ }; A.handleQuoteAction_closure1.prototype = { call$0() { - var t2, t3, - t1 = this.context; - A.Navigator_of(t1, false).pop$0(0); - t2 = this.state; - t3 = t2.userCompanyStates; - t2 = t2.uiState.selectedCompanyIndex; - A.editEntity(null, t1, t3._list[t2].clientState.$get$1(0, this.quote.clientId), true, null); + var t1, t2; + A.Navigator_of(this.context, false).pop$0(0); + t1 = this.state; + t2 = t1.userCompanyStates; + t1 = t1.uiState.selectedCompanyIndex; + A.editEntity(null, t2._list[t1].clientState.$get$1(0, this.quote.clientId), true, null); }, $signature: 1 }; @@ -369094,13 +369015,9 @@ }; A._viewReports_closure.prototype = { call$3(store, dynamicAction, next) { - var t1; type$.legacy_ViewReports._as(dynamicAction); - t1 = $.$get$navigatorKey(); - t1.toString; - t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); dynamicAction.toString; - A.checkForChanges(new A._viewReports__closure(store, next, dynamicAction), t1, false, store); + A.checkForChanges(new A._viewReports__closure(store, next, dynamicAction), false, store); }, "call*": "call$3", $requiredArgCount: 3, @@ -369445,12 +369362,8 @@ A.FilterSettings.prototype = {$isPersistUI: 1}; A._viewSettings_closure.prototype = { call$3(store, dynamicAction, next) { - var uiState, t1; type$.legacy_ViewSettings._as(dynamicAction); - uiState = A._lateReadCheck(store.__Store__state, "_state").uiState; - t1 = $.$get$navigatorKey(); - t1.toString; - A.checkForChanges(new A._viewSettings__closure(dynamicAction, uiState, store, next), $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), dynamicAction.force, store); + A.checkForChanges(new A._viewSettings__closure(dynamicAction, A._lateReadCheck(store.__Store__state, "_state").uiState, store, next), dynamicAction.force, store); }, "call*": "call$3", $requiredArgCount: 3, @@ -389338,7 +389251,7 @@ t11 = new A.EntityPresenter(); t11.entity = filterEntity; t11.context = context; - t9.push(A.InkWell$(false, _null, true, A.Row$(A._setArrayType([new A.SizedBox(12, _null, _null, _null), t10, new A.SizedBox(12, _null, _null, _null), new A.ConstrainedBox(new A.BoxConstraints(0, 220, 0, 1 / 0), A.Text$(t11.title$0(0), _null, 1, B.TextOverflow_2, _null, _null, A.TextStyle$(_null, _null, state.get$headerTextColor(), _null, _null, _null, _null, _null, _null, _null, _null, 17, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null), new A.SizedBox(12, _null, _null, _null)], t4), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.EntityTopFilter_build_closure1(context, filterEntity), new A.EntityTopFilter_build_closure2(store, prefState), _null, _null, _null, _null, _null, _null)); + t9.push(A.InkWell$(false, _null, true, A.Row$(A._setArrayType([new A.SizedBox(12, _null, _null, _null), t10, new A.SizedBox(12, _null, _null, _null), new A.ConstrainedBox(new A.BoxConstraints(0, 220, 0, 1 / 0), A.Text$(t11.title$0(0), _null, 1, B.TextOverflow_2, _null, _null, A.TextStyle$(_null, _null, state.get$headerTextColor(), _null, _null, _null, _null, _null, _null, _null, _null, 17, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null), new A.SizedBox(12, _null, _null, _null)], t4), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.EntityTopFilter_build_closure1(filterEntity), new A.EntityTopFilter_build_closure2(store, prefState), _null, _null, _null, _null, _null, _null)); } t9.push(new A.SizedBox(12, _null, _null, _null)); t10 = A._setArrayType([], t4); @@ -389392,7 +389305,7 @@ }; A.EntityTopFilter_build_closure1.prototype = { call$0() { - A.editEntity(null, this.context, this.filterEntity, true, null); + A.editEntity(null, this.filterEntity, true, null); }, $signature: 1 }; @@ -389500,7 +389413,7 @@ t6 = new A.EntityPresenter(); t6.entity = filterEntity; t6.context = context; - t4.push(A.InkWell$(false, _null, true, A.Row$(A._setArrayType([new A.SizedBox(12, _null, _null, _null), t5, new A.SizedBox(12, _null, _null, _null), new A.ConstrainedBox(new A.BoxConstraints(0, 220, 0, 1 / 0), A.Text$(t6.title$0(0), _null, 1, B.TextOverflow_2, _null, _null, A.TextStyle$(_null, _null, state.get$headerTextColor(), _null, _null, _null, _null, _null, _null, _null, _null, 17, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null), new A.SizedBox(12, _null, _null, _null)], t3), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.EntityTopFilterHeader_build_closure1(context, filterEntity), new A.EntityTopFilterHeader_build_closure2(store, prefState), _null, _null, _null, _null, _null, _null)); + t4.push(A.InkWell$(false, _null, true, A.Row$(A._setArrayType([new A.SizedBox(12, _null, _null, _null), t5, new A.SizedBox(12, _null, _null, _null), new A.ConstrainedBox(new A.BoxConstraints(0, 220, 0, 1 / 0), A.Text$(t6.title$0(0), _null, 1, B.TextOverflow_2, _null, _null, A.TextStyle$(_null, _null, state.get$headerTextColor(), _null, _null, _null, _null, _null, _null, _null, _null, 17, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null), new A.SizedBox(12, _null, _null, _null)], t3), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.EntityTopFilterHeader_build_closure1(filterEntity), new A.EntityTopFilterHeader_build_closure2(store, prefState), _null, _null, _null, _null, _null, _null)); } t4.push(new A.SizedBox(12, _null, _null, _null)); t2 = t2._eval$1("MappedIterable<1,OutlinedButton*>"); @@ -389532,7 +389445,7 @@ }; A.EntityTopFilterHeader_build_closure1.prototype = { call$0() { - A.editEntity(null, this.context, this.filterEntity, true, null); + A.editEntity(null, this.filterEntity, true, null); }, $signature: 1 }; @@ -392287,7 +392200,7 @@ if (t2 == null || t1.relation == null) return new A.SizedBox(_null, _null, _null, _null); t1 = t2.get$listDisplayName(); - return A.MouseRegion$(A.GestureDetector$(_null, A.Text$(t1, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _this._link_text$_isHovered ? B.TextDecoration_1 : B.TextDecoration_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, new A._LinkTextRelatedEntityState_build_closure(_this, context), _null, _null, _null, _null, _null, _null, _null, _null, new A._LinkTextRelatedEntityState_build_closure0(_this), _null, _null, _null, _null, _null, _null), B.C__DeferringMouseCursor, _null, _null, new A._LinkTextRelatedEntityState_build_closure1(_this), new A._LinkTextRelatedEntityState_build_closure2(_this)); + return A.MouseRegion$(A.GestureDetector$(_null, A.Text$(t1, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _this._link_text$_isHovered ? B.TextDecoration_1 : B.TextDecoration_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, new A._LinkTextRelatedEntityState_build_closure(_this), _null, _null, _null, _null, _null, _null, _null, _null, new A._LinkTextRelatedEntityState_build_closure0(_this), _null, _null, _null, _null, _null, _null), B.C__DeferringMouseCursor, _null, _null, new A._LinkTextRelatedEntityState_build_closure1(_this), new A._LinkTextRelatedEntityState_build_closure2(_this)); } }; A._LinkTextRelatedEntityState_build_closure2.prototype = { @@ -392335,7 +392248,7 @@ }; A._LinkTextRelatedEntityState_build_closure.prototype = { call$0() { - A.editEntity(null, this.context, this.$this._widget.entity, true, null); + A.editEntity(null, this.$this._widget.entity, true, null); }, $signature: 1 }; @@ -394646,7 +394559,7 @@ t1.toString; context = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); A.Navigator_of(context, false).pop$0(0); - A.editEntity(null, context, A.getUnconnectedStripeAccount(A._lateReadCheck(A.StoreProvider_of(context, type$.legacy_AppState).__Store__state, "_state")), true, null); + A.editEntity(null, A.getUnconnectedStripeAccount(A._lateReadCheck(A.StoreProvider_of(context, type$.legacy_AppState).__Store__state, "_state")), true, null); }, $signature: 1 }; @@ -395108,7 +395021,7 @@ if (index === t1.uiState.selectedCompanyIndex) return; t2 = this.store; - A.checkForChanges(new A.MenuDrawerVM_fromStore__closure1(t2, index, context, t1, company), context, false, t2); + A.checkForChanges(new A.MenuDrawerVM_fromStore__closure1(t2, index, context, t1, company), false, t2); }, $signature: 2154 }; @@ -396259,7 +396172,7 @@ t7 = A._setArrayType([], type$.JSArray_legacy_DataCell_2); if (t4) { t2 = prefState.enableTooltips ? A.Localizations_of(t2, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization).get$editRecord() : _null; - t2 = A.IconButton$(B.Alignment_0_0, _null, _null, true, A.GestureDetector$(_null, A.Icon$(B._MdiIconData_gg9, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, new A.EntityDataTableSource_getRow_closure1(entity), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, new A.EntityDataTableSource_getRow_closure2(_this, entity), B.EdgeInsets_8_8_8_8, _null, t2, _null); + t2 = A.IconButton$(B.Alignment_0_0, _null, _null, true, A.GestureDetector$(_null, A.Icon$(B._MdiIconData_gg9, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, new A.EntityDataTableSource_getRow_closure1(entity), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, new A.EntityDataTableSource_getRow_closure2(entity), B.EdgeInsets_8_8_8_8, _null, t2, _null); t4 = state.userCompanyStates; t8 = state.uiState.selectedCompanyIndex; t8 = t4._list[t8]; @@ -396292,7 +396205,7 @@ }; A.EntityDataTableSource_getRow_closure2.prototype = { call$0() { - return A.editEntity(null, this.$this.context, this.entity, true, null); + return A.editEntity(null, this.entity, true, null); }, $signature: 0 }; @@ -396367,7 +396280,7 @@ t1.toString; t3 = entityState.get$editingId(); t4 = _this._widget.tableColumns; - _this.dataTableSource = new A.EntityDataTableSource(entityType, t3, t1, J.toList$0$ax(entityList), _this._widget.presenter, entityMap, t4, new A._EntityListState_initState_closure(_this), t2); + _this.dataTableSource = new A.EntityDataTableSource(entityType, t3, t1, J.toList$0$ax(entityList), _this._widget.presenter, entityMap, t4, new A._EntityListState_initState_closure(), t2); entityUIState = state.getUIState$1(entityType); selectedIndex = J.indexOf$1$asx(_this._widget.entityList, entityUIState.get$selectedId()); rowsPerPage = state.prefState.rowsPerPage; @@ -396487,9 +396400,7 @@ }; A._EntityListState_initState_closure.prototype = { call$1(entity) { - var t1 = this.$this._framework$_element; - t1.toString; - return A.selectEntity(t1, entity, false, false); + return A.selectEntity(entity, false, false); }, $signature: 2176 }; @@ -397115,13 +397026,13 @@ } else isDisabled = false; t1 = this.localization.get$edit(); - return new A.AppTextButton(t1, isDisabled ? _null : new A.ViewScaffold_build__closure(this.$this, context), true, _null, _null); + return new A.AppTextButton(t1, isDisabled ? _null : new A.ViewScaffold_build__closure(this.$this), true, _null, _null); }, $signature: 287 }; A.ViewScaffold_build__closure.prototype = { call$0() { - A.editEntity(null, this.context, this.$this.entity, true, null); + A.editEntity(null, this.$this.entity, true, null); }, $signature: 1 }; @@ -398303,7 +398214,7 @@ t8 = _this.filterMatch; if (t8 != null) t7.push(A.Text$(t8, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall, _null, _null, _null)); - t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t6, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(t7, B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t3.balance, context, t3.id, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t4, B.TextAlign_5, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.ClientListItem_build__closure1(t1, context), new A.ClientListItem_build__closure2(t1, context), _null, _null, _null, _null, _null, _null); + t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t6, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(t7, B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t3.balance, context, t3.id, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t4, B.TextAlign_5, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.ClientListItem_build__closure1(t1), new A.ClientListItem_build__closure2(t1), _null, _null, _null, _null, _null, _null); } else { t2 = _this.showCheckbox ? new A.IgnorePointer(_this.listUIState.selectedIds != null, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.ClientListItem_build__closure3(t1), _null, _null, false, t1.isChecked), _null) : _null; t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; @@ -398314,7 +398225,7 @@ t3 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t5 + t6, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(t4.balance, context, t4.id, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3.size._dx); t5 = _this.filterMatch; t5 = t5 != null ? A.Text$(t5, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Text$(t4.number, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t3 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.ClientListItem_build__closure4(t1, context), new A.ClientListItem_build__closure5(t1, context), false, _null, _null, A.Column$(A._setArrayType([t5, new A.EntityStateLabel(t4, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); + t3 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.ClientListItem_build__closure4(t1), new A.ClientListItem_build__closure5(t1), false, _null, _null, A.Column$(A._setArrayType([t5, new A.EntityStateLabel(t4, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); t1 = t3; } return t1; @@ -398323,14 +398234,14 @@ }; A.ClientListItem_build__closure2.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.client, false, false); + var t1 = A.selectEntity(this.$this.client, false, false); return t1; }, $signature: 0 }; A.ClientListItem_build__closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.client, false, true); + var t1 = A.selectEntity(this.$this.client, false, true); return t1; }, $signature: 0 @@ -398350,14 +398261,14 @@ }; A.ClientListItem_build__closure5.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.client, false, false); + var t1 = A.selectEntity(this.$this.client, false, false); return t1; }, $signature: 0 }; A.ClientListItem_build__closure4.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.client, false, true); + var t1 = A.selectEntity(this.$this.client, false, true); return t1; }, $signature: 0 @@ -401722,7 +401633,7 @@ } t7.push(filterMatch != null && filterMatch.length !== 0 ? A.Text$(filterMatch, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)); t7.push(new A.EntityStateLabel(t5, _null)); - return new A.DismissibleEntity(t3, t5, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t4, _null, new A.CompanyGatewayListItem_build_closure0(_this, context), false, _null, _null, A.Column$(t7, B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), _null, t6, t1, _null), false, true, true, _null); + return new A.DismissibleEntity(t3, t5, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t4, _null, new A.CompanyGatewayListItem_build_closure0(_this), false, _null, _null, A.Column$(t7, B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), _null, t6, t1, _null), false, true, true, _null); }, get$user() { return this.user; @@ -401733,7 +401644,7 @@ }; A.CompanyGatewayListItem_build_closure0.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.companyGateway, false, false); + return A.selectEntity(this.$this.companyGateway, false, false); }, $signature: 0 }; @@ -403746,7 +403657,7 @@ if (t9 == null) t9 = _this._box_0.subtitle; t10 = _this.textColor; - t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t4, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t8, A.Text$(t9, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t10.get$value(t10) >>> 16 & 255, t10.get$value(t10) >>> 8 & 255, t10.get$value(t10) & 255)), _null, _null, _null)], t6), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t3.amount, context, t7.id, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t5, B.TextAlign_5, _null, _null), new A.SizedBox(25, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.CreditListItem_build__closure1(t1, context), new A.CreditListItem_build__closure2(t1, context), _null, _null, _null, _null, _null, _null); + t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t4, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t8, A.Text$(t9, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t10.get$value(t10) >>> 16 & 255, t10.get$value(t10) >>> 8 & 255, t10.get$value(t10) & 255)), _null, _null, _null)], t6), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t3.amount, context, t7.id, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t5, B.TextAlign_5, _null, _null), new A.SizedBox(25, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.CreditListItem_build__closure1(t1), new A.CreditListItem_build__closure2(t1), _null, _null, _null, _null, _null, _null); } else { t2 = _this.showCheckbox ? new A.IgnorePointer(_this.listUIState.selectedIds != null, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.CreditListItem_build__closure3(t1), _null, _null, false, t1.isChecked), _null) : _null; t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; @@ -403772,7 +403683,7 @@ t4 = A.Expanded$(t4, 1); t6 = t5.statusId; t8 = _this.localization.lookup$1(B.Map_qBa3g.$index(0, t6)); - t1 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.CreditListItem_build__closure4(t1, context), new A.CreditListItem_build__closure5(t1, context), false, _null, _null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([t4, A.Text$(t8, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t6 === "1" ? _this.textColor : new A.CreditStatusColors(_this.state.prefState.get$colorThemeModel()).get$colors().$index(0, t6), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), new A.EntityStateLabel(t5, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); + t1 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.CreditListItem_build__closure4(t1), new A.CreditListItem_build__closure5(t1), false, _null, _null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([t4, A.Text$(t8, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t6 === "1" ? _this.textColor : new A.CreditStatusColors(_this.state.prefState.get$colorThemeModel()).get$colors().$index(0, t6), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), new A.EntityStateLabel(t5, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); } return t1; }, @@ -403780,14 +403691,14 @@ }; A.CreditListItem_build__closure2.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.credit, false, false); + var t1 = A.selectEntity(this.$this.credit, false, false); return t1; }, $signature: 0 }; A.CreditListItem_build__closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.credit, false, true); + var t1 = A.selectEntity(this.$this.credit, false, true); return t1; }, $signature: 0 @@ -403807,14 +403718,14 @@ }; A.CreditListItem_build__closure5.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.credit, false, false); + var t1 = A.selectEntity(this.$this.credit, false, false); return t1; }, $signature: 0 }; A.CreditListItem_build__closure4.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.credit, false, true); + var t1 = A.selectEntity(this.$this.credit, false, true); return t1; }, $signature: 0 @@ -404592,11 +404503,8 @@ if (!t2.isPreviewVisible) _this.store.get$_dispatchers()[0].call$1(new A.TogglePreviewSidebar()); A.viewEntity(false, savedCredit, _null, false); - if (t2.isEditorFullScreen$1(B.EntityType_credit) && t2.editAfterSaving) { - t1 = $.$get$navigatorKey(); - t1.toString; - A.editEntity(_null, $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), savedCredit, true, _null); - } + if (t2.isEditorFullScreen$1(B.EntityType_credit) && t2.editAfterSaving) + A.editEntity(_null, savedCredit, true, _null); } t1 = _this.action; t2 = t1 != null; @@ -404677,7 +404585,7 @@ }; A.CreditViewVM_CreditViewVM$fromStore_closure.prototype = { call$2(context, index) { - A.editEntity(A.snackBarCompleter(context, A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization).get$updatedCredit(), false, type$.legacy_ClientEntity), context, this.credit, true, index); + A.editEntity(A.snackBarCompleter(context, A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization).get$updatedCredit(), false, type$.legacy_ClientEntity), this.credit, true, index); }, call$1(context) { return this.call$2(context, null); @@ -405537,7 +405445,7 @@ }; A.DashboardPanels_build__runningTasks_closure.prototype = { call$1(task) { - var t3, t4, client, t5, t6, t7, _null = null, + var t3, t4, client, t5, t6, _null = null, t1 = this.state, t2 = t1.uiState.selectedCompanyIndex; t1 = t1.userCompanyStates._list; @@ -405545,11 +405453,10 @@ t4 = task.clientId; client = t3._map$_map.$index(0, t4); t4 = A.BorderRadius$circular(2); - t3 = this.context; - t5 = A._lateReadCheck(A.StoreProvider_of(t3, type$.legacy_AppState).__Store__state, "_state").prefState.enableDarkMode; - t6 = task.description; - t7 = A.Text$(client != null ? client.displayName : task.number, _null, 1, B.TextOverflow_2, _null, _null, _null, _null, _null, _null); - return A.Card$(new A.AppBorder(new A.ConstrainedBox(new A.BoxConstraints(0, 180, 0, 1 / 0), A.Tooltip$(A.ListTile$(false, _null, true, _null, true, _null, _null, false, _null, A.ActionMenuButton$(task, task.getActions$2$includeEdit$userCompany(true, t1[t2].userCompany), _null, _null, false, new A.DashboardPanels_build__runningTasks__closure(task)), new A.DashboardPanels_build__runningTasks__closure0(t3, task), new A.DashboardPanels_build__runningTasks__closure1(task, client), false, _null, _null, t7, _null, new A.LiveText(_null, new A.DashboardPanels_build__runningTasks__closure2(task), _null, _null), _null, _null), t6), _null), _null, _null, _null, !t5, _null), _null, _null, 4, _null, true, new A.RoundedRectangleBorder(t4, B.BorderSide_0CF)); + t3 = A._lateReadCheck(A.StoreProvider_of(this.context, type$.legacy_AppState).__Store__state, "_state").prefState.enableDarkMode; + t5 = task.description; + t6 = A.Text$(client != null ? client.displayName : task.number, _null, 1, B.TextOverflow_2, _null, _null, _null, _null, _null, _null); + return A.Card$(new A.AppBorder(new A.ConstrainedBox(new A.BoxConstraints(0, 180, 0, 1 / 0), A.Tooltip$(A.ListTile$(false, _null, true, _null, true, _null, _null, false, _null, A.ActionMenuButton$(task, task.getActions$2$includeEdit$userCompany(true, t1[t2].userCompany), _null, _null, false, new A.DashboardPanels_build__runningTasks__closure(task)), new A.DashboardPanels_build__runningTasks__closure0(task), new A.DashboardPanels_build__runningTasks__closure1(task, client), false, _null, _null, t6, _null, new A.LiveText(_null, new A.DashboardPanels_build__runningTasks__closure2(task), _null, _null), _null, _null), t5), _null), _null, _null, _null, !t3, _null), _null, _null, 4, _null, true, new A.RoundedRectangleBorder(t4, B.BorderSide_0CF)); }, $signature: 2287 }; @@ -405567,7 +405474,7 @@ }; A.DashboardPanels_build__runningTasks__closure0.prototype = { call$0() { - return A.editEntity(null, this.context, this.task, true, null); + return A.editEntity(null, this.task, true, null); }, $signature: 0 }; @@ -406732,7 +406639,7 @@ t5 = type$.JSArray_legacy_Widget; t4 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t2.name, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(_null, context, _null, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t4.size._dx); t6 = filterMatch != null && filterMatch.length !== 0 ? A.Text$(filterMatch, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.DesignListItem_build_closure0(_this, context), new A.DesignListItem_build_closure1(_this, context), false, _null, _null, A.Column$(A._setArrayType([t6, new A.EntityStateLabel(t2, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t4, _null, _null), false, true, true, _null); + return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.DesignListItem_build_closure0(_this), new A.DesignListItem_build_closure1(_this), false, _null, _null, A.Column$(A._setArrayType([t6, new A.EntityStateLabel(t2, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t4, _null, _null), false, true, true, _null); }, get$design() { return this.design; @@ -406740,14 +406647,14 @@ }; A.DesignListItem_build_closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.design, false, false); + var t1 = A.selectEntity(this.$this.design, false, false); return t1; }, $signature: 0 }; A.DesignListItem_build_closure0.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.design, false, true); + var t1 = A.selectEntity(this.$this.design, false, true); return t1; }, $signature: 0 @@ -407655,7 +407562,7 @@ t6 = type$.JSArray_legacy_Widget; t5 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t2.name, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(_null, context, _null, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t5.size._dx); t7 = filterMatch != null && filterMatch.length !== 0 ? A.Text$(filterMatch, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - return new A.DismissibleEntity(_this.userCompany, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.DocumentListItem_build_closure0(_this, context), new A.DocumentListItem_build_closure1(_this, context), false, _null, _null, A.Column$(A._setArrayType([t7, new A.EntityStateLabel(t2, _null)], t6), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t5, _null, _null), t3 === t4, true, true, _null); + return new A.DismissibleEntity(_this.userCompany, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.DocumentListItem_build_closure0(_this), new A.DocumentListItem_build_closure1(_this), false, _null, _null, A.Column$(A._setArrayType([t7, new A.EntityStateLabel(t2, _null)], t6), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t5, _null, _null), t3 === t4, true, true, _null); }, get$document(receiver) { return this.document; @@ -407663,14 +407570,14 @@ }; A.DocumentListItem_build_closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.document, false, false); + var t1 = A.selectEntity(this.$this.document, false, false); return t1; }, $signature: 0 }; A.DocumentListItem_build_closure0.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.document, false, true); + var t1 = A.selectEntity(this.$this.document, false, true); return t1; }, $signature: 0 @@ -409327,11 +409234,8 @@ if (!t2.isPreviewVisible) _this.store.get$_dispatchers()[0].call$1(new A.TogglePreviewSidebar()); A.viewEntity(false, savedExpense, _null, false); - if (t2.isEditorFullScreen$1(B.EntityType_expense) && t2.editAfterSaving) { - t1 = $.$get$navigatorKey(); - t1.toString; - A.editEntity(_null, $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), savedExpense, true, _null); - } + if (t2.isEditorFullScreen$1(B.EntityType_expense) && t2.editAfterSaving) + A.editEntity(_null, savedExpense, true, _null); } t1 = _this.action; t2 = t1 != null; @@ -409360,34 +409264,35 @@ }; A.ExpenseListItem.prototype = { build$1(_, context) { - var t4, client, vendor, category, filterMatch, listUIState, isInMultiselect, showCheckbox, t5, isChecked, textStyle, textColor, parts, t6, _this = this, _null = null, t1 = {}, + var t5, client, vendor, category, filterMatch, listUIState, isInMultiselect, showCheckbox, t6, isChecked, textStyle, textColor, parts, t7, _this = this, _null = null, t1 = {}, + t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization), store = A.StoreProvider_of(context, type$.legacy_AppState), state = A._lateReadCheck(store.__Store__state, "_state"), uiState = state.uiState, expenseUIState = uiState.expenseUIState, - t2 = state.userCompanyStates, - t3 = uiState.selectedCompanyIndex; - t2 = t2._list; - t4 = _this.expense; - client = t2[t3].clientState.$get$1(0, t4.clientId); - vendor = t2[t3].vendorState.$get$1(0, t4.vendorId); - category = t2[t3].expenseCategoryState.$get$1(0, t4.categoryId); - t2 = _this.filter; - if (t2 != null && t2.length !== 0) { - t3 = t4.matchesFilterValue$1(t2); - filterMatch = t3 == null ? client.matchesFilterValue$1(t2) : t3; + t3 = state.userCompanyStates, + t4 = uiState.selectedCompanyIndex; + t3 = t3._list; + t5 = _this.expense; + client = t3[t4].clientState.$get$1(0, t5.clientId); + vendor = t3[t4].vendorState.$get$1(0, t5.vendorId); + category = t3[t4].expenseCategoryState.$get$1(0, t5.categoryId); + t3 = _this.filter; + if (t3 != null && t3.length !== 0) { + t4 = t5.matchesFilterValue$1(t3); + filterMatch = t4 == null ? client.matchesFilterValue$1(t3) : t4; } else filterMatch = _null; listUIState = expenseUIState.listUIState; - t2 = listUIState.selectedIds; - isInMultiselect = t2 != null; + t3 = listUIState.selectedIds; + isInMultiselect = t3 != null; showCheckbox = _this.onCheckboxChanged != null || isInMultiselect; - t3 = _this.isDismissible; - if (t3) + t4 = _this.isDismissible; + if (t4) if (isInMultiselect) { - t5 = t4.id; - t2 = B.JSArray_methods.contains$1(t2._list, t5); - isChecked = t2; + t6 = t5.id; + t3 = B.JSArray_methods.contains$1(t3._list, t6); + isChecked = t3; } else isChecked = false; else @@ -409398,27 +409303,27 @@ if (filterMatch != null) t1.subtitle = filterMatch; else { - t2 = client == null; - if (!t2 || vendor != null || category != null) { - parts = A._setArrayType([A.formatDate(t4.date, context, true, true, false)], type$.JSArray_legacy_String); + t3 = client == null; + if (!t3 || vendor != null || category != null) { + parts = A._setArrayType([A.formatDate(t5.date, context, true, true, false)], type$.JSArray_legacy_String); if (category != null && !category.get$isNew()) parts.push(category.name); if (vendor != null && !vendor.get$isNew()) parts.push(vendor.name); - if (!t2 && !client.get$isNew()) + if (!t3 && !client.get$isNew()) parts.push(client.displayName); t1.subtitle = B.JSArray_methods.join$1(parts, " \u2022 "); } } if (A.getLayout(context) === B.AppLayout_desktop) { - t2 = t4.id; - t2 = t2 === (uiState.get$isEditing() ? expenseUIState.editing.id : expenseUIState.selectedId); + t3 = t5.id; + t3 = t3 === (uiState.get$isEditing() ? expenseUIState.editing.id : expenseUIState.selectedId); } else - t2 = false; - t5 = A._lateReadCheck(store.__Store__state, "_state"); - t6 = t5.userCompanyStates; - t5 = t5.uiState.selectedCompanyIndex; - return new A.DismissibleEntity(t6._list[t5].userCompany, t4, new A.LayoutBuilder(new A.ExpenseListItem_build_closure(t1, _this, showCheckbox, listUIState, isChecked, state, textStyle, filterMatch, textColor), _null), t2, _this.showCheckbox, t3, _null); + t3 = false; + t6 = A._lateReadCheck(store.__Store__state, "_state"); + t7 = t6.userCompanyStates; + t6 = t6.uiState.selectedCompanyIndex; + return new A.DismissibleEntity(t7._list[t6].userCompany, t5, new A.LayoutBuilder(new A.ExpenseListItem_build_closure(t1, _this, showCheckbox, listUIState, isChecked, state, textStyle, filterMatch, textColor, t2, category), _null), t3, _this.showCheckbox, t4, _null); }, get$expense() { return this.expense; @@ -409449,7 +409354,7 @@ t7 = A.Text$(t7 + (t3.documents._list.length !== 0 ? " \ud83d\udcce" : ""), _null, 1, _null, _null, _null, t4, _null, _null, _null); t8 = _this._box_0.subtitle; t9 = _this.textColor; - t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t6, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t7, A.Text$(t8, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t9.get$value(t9) >>> 16 & 255, t9.get$value(t9) >>> 8 & 255, t9.get$value(t9) & 255)), _null, _null, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(8, _null, _null, _null), A.Text$(A.formatNumber(t3.get$grossAmount(), context, _null, t3.currencyId, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t4, B.TextAlign_5, _null, _null), new A.SizedBox(16, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.ExpenseListItem_build__closure1(t1, context), new A.ExpenseListItem_build__closure2(t1, context), _null, _null, _null, _null, _null, _null); + t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t6, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t7, A.Text$(t8, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t9.get$value(t9) >>> 16 & 255, t9.get$value(t9) >>> 8 & 255, t9.get$value(t9) & 255)), _null, _null, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(8, _null, _null, _null), A.Text$(A.formatNumber(t3.get$grossAmount(), context, _null, t3.currencyId, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t4, B.TextAlign_5, _null, _null), new A.SizedBox(16, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.ExpenseListItem_build__closure1(t1), new A.ExpenseListItem_build__closure2(t1), _null, _null, _null, _null, _null, _null); } else { t2 = _this.showCheckbox ? new A.IgnorePointer(_this.listUIState.selectedIds != null, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.ExpenseListItem_build__closure3(t1), _null, _null, false, _this.isChecked), _null) : _null; t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; @@ -409464,8 +409369,10 @@ if (t5 == null) t5 = _this._box_0.subtitle; t6 = _this.textColor; - t3 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.ExpenseListItem_build__closure4(t1, context), new A.ExpenseListItem_build__closure5(t1, context), false, _null, _null, A.Column$(A._setArrayType([A.Text$(t5, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t6.get$value(t6) >>> 16 & 255, t6.get$value(t6) >>> 8 & 255, t6.get$value(t6) & 255)), _null, _null, _null), new A.EntityStateLabel(t4, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); - t1 = t3; + t6 = A.Expanded$(A.Column$(A._setArrayType([A.Text$(t5, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t6.get$value(t6) >>> 16 & 255, t6.get$value(t6) >>> 8 & 255, t6.get$value(t6) & 255)), _null, _null, _null), new A.EntityStateLabel(t4, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1); + t5 = _this.localization.lookup$1(B.Map_EHoyn.$index(0, t4.get$calculatedStatusId())); + t8 = _this.category.color; + t1 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.ExpenseListItem_build__closure4(t1), new A.ExpenseListItem_build__closure5(t1), false, _null, _null, A.Row$(A._setArrayType([t6, A.Text$(t5, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t8.length !== 0 && t8 !== "#fff" ? A.convertHexStringToColor(t8) : new A.ExpenseStatusColors(_this.state.prefState.get$colorThemeModel()).get$colors().$index(0, t4.get$calculatedStatusId()), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null, t3, _null, _null); } return t1; }, @@ -409475,13 +409382,13 @@ call$0() { var t1 = this.$this, t2 = t1.onTap; - return t2 != null ? t2.call$0() : A.selectEntity(this.context, t1.expense, false, false); + return t2 != null ? t2.call$0() : A.selectEntity(t1.expense, false, false); }, $signature: 0 }; A.ExpenseListItem_build__closure1.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.expense, false, true); + return A.selectEntity(this.$this.expense, false, true); }, $signature: 0 }; @@ -409502,13 +409409,13 @@ call$0() { var t1 = this.$this, t2 = t1.onTap; - return t2 != null ? t2.call$0() : A.selectEntity(this.context, t1.expense, false, false); + return t2 != null ? t2.call$0() : A.selectEntity(t1.expense, false, false); }, $signature: 0 }; A.ExpenseListItem_build__closure4.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.expense, false, true); + return A.selectEntity(this.$this.expense, false, true); }, $signature: 0 }; @@ -410567,7 +410474,7 @@ t7 = type$.JSArray_legacy_Widget; t6 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t2.name, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(_null, context, _null, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t6.size._dx); t8 = A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.ExpenseCategoryListItem_build_closure0(_this, context), new A.ExpenseCategoryListItem_build_closure1(_this, context), false, _null, _null, A.Column$(A._setArrayType([t8, new A.EntityStateLabel(t2, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t6, _null, _null), t4 === t5, true, true, _null); + return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.ExpenseCategoryListItem_build_closure0(_this), new A.ExpenseCategoryListItem_build_closure1(_this), false, _null, _null, A.Column$(A._setArrayType([t8, new A.EntityStateLabel(t2, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t6, _null, _null), t4 === t5, true, true, _null); }, get$user() { return this.user; @@ -410578,14 +410485,14 @@ }; A.ExpenseCategoryListItem_build_closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.expenseCategory, false, false); + var t1 = A.selectEntity(this.$this.expenseCategory, false, false); return t1; }, $signature: 0 }; A.ExpenseCategoryListItem_build_closure0.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.expenseCategory, false, true); + var t1 = A.selectEntity(this.$this.expenseCategory, false, true); return t1; }, $signature: 0 @@ -411095,7 +411002,7 @@ t5 = type$.JSArray_legacy_Widget; t4 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t2.name, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(_null, context, _null, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t4.size._dx); t6 = filterMatch != null && filterMatch.length !== 0 ? A.Text$(filterMatch, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.GroupListItem_build_closure0(_this, context), new A.GroupListItem_build_closure1(_this, context), false, _null, _null, A.Column$(A._setArrayType([t6, new A.EntityStateLabel(t2, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t4, _null, _null), false, true, true, _null); + return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.GroupListItem_build_closure0(_this), new A.GroupListItem_build_closure1(_this), false, _null, _null, A.Column$(A._setArrayType([t6, new A.EntityStateLabel(t2, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t4, _null, _null), false, true, true, _null); }, get$user() { return this.user; @@ -411106,14 +411013,14 @@ }; A.GroupListItem_build_closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.group, false, false); + var t1 = A.selectEntity(this.$this.group, false, false); return t1; }, $signature: 0 }; A.GroupListItem_build_closure0.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.group, false, true); + var t1 = A.selectEntity(this.$this.group, false, true); return t1; }, $signature: 0 @@ -411957,9 +411864,8 @@ }; A._InvoiceEditState__onSavePressed_closure.prototype = { call$0() { - var t1 = this.context; - A.Navigator_of(t1, false).pop$0(0); - A.editEntity(null, t1, this.client, true, null); + A.Navigator_of(this.context, false).pop$0(0); + A.editEntity(null, this.client, true, null); }, $signature: 1 }; @@ -415808,11 +415714,8 @@ if (!t2.isPreviewVisible) _this.store.get$_dispatchers()[0].call$1(new A.TogglePreviewSidebar()); A.viewEntity(false, savedInvoice, _null, false); - if (t2.isEditorFullScreen$1(B.EntityType_invoice) && t2.editAfterSaving) { - t1 = $.$get$navigatorKey(); - t1.toString; - A.editEntity(_null, $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), savedInvoice, true, _null); - } + if (t2.isEditorFullScreen$1(B.EntityType_invoice) && t2.editAfterSaving) + A.editEntity(_null, savedInvoice, true, _null); } t1 = _this.action; t2 = t1 != null; @@ -416454,7 +416357,7 @@ t10 = A.Expanded$(A.Column$(A._setArrayType([t8, A.Text$(t9, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t10.get$value(t10) >>> 16 & 255, t10.get$value(t10) >>> 8 & 255, t10.get$value(t10) & 255)), _null, _null, _null)], t6), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1); t8 = t3.balance; t8 = t8 > 0 ? t8 : t3.amount; - t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t4, _null), new A.SizedBox(10, _null, _null, _null), t10, new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t8, context, t7.id, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t5, B.TextAlign_5, _null, _null), new A.SizedBox(25, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.InvoiceListItem_build__closure1(t1, context), new A.InvoiceListItem_build__closure2(t1, context), _null, _null, _null, _null, _null, _null); + t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t4, _null), new A.SizedBox(10, _null, _null, _null), t10, new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t8, context, t7.id, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t5, B.TextAlign_5, _null, _null), new A.SizedBox(25, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.InvoiceListItem_build__closure1(t1), new A.InvoiceListItem_build__closure2(t1), _null, _null, _null, _null, _null, _null); } else { t2 = _this.isInMultiselect ? new A.IgnorePointer(_this.listUIState.selectedIds != null, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.InvoiceListItem_build__closure3(), _null, _null, false, _this.isChecked), _null) : _null; t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; @@ -416478,7 +416381,7 @@ } else t4 = A.Text$(t4, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null); t4 = A.Expanded$(t4, 1); - t1 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.InvoiceListItem_build__closure4(t1, context), new A.InvoiceListItem_build__closure5(t1, context), false, _null, _null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([t4, A.Text$(_this.statusLabel, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t5.statusId === "1" ? _this.textColor : _this.statusColor, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), new A.EntityStateLabel(t5, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); + t1 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.InvoiceListItem_build__closure4(t1), new A.InvoiceListItem_build__closure5(t1), false, _null, _null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([t4, A.Text$(_this.statusLabel, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t5.statusId === "1" ? _this.textColor : _this.statusColor, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), new A.EntityStateLabel(t5, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); } return t1; }, @@ -416487,13 +416390,13 @@ A.InvoiceListItem_build__closure2.prototype = { call$0() { var t1 = this.$this; - return A.selectEntity(this.context, t1.invoice, !t1.showCheckbox, false); + return A.selectEntity(t1.invoice, !t1.showCheckbox, false); }, $signature: 0 }; A.InvoiceListItem_build__closure1.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.invoice, false, true); + return A.selectEntity(this.$this.invoice, false, true); }, $signature: 0 }; @@ -416513,13 +416416,13 @@ A.InvoiceListItem_build__closure5.prototype = { call$0() { var t1 = this.$this; - return A.selectEntity(this.context, t1.invoice, !t1.showCheckbox, false); + return A.selectEntity(t1.invoice, !t1.showCheckbox, false); }, $signature: 0 }; A.InvoiceListItem_build__closure4.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.invoice, false, true); + return A.selectEntity(this.$this.invoice, false, true); }, $signature: 0 }; @@ -417981,7 +417884,7 @@ }; A.InvoiceViewVM_InvoiceViewVM$fromStore_closure.prototype = { call$2(context, index) { - A.editEntity(A.snackBarCompleter(context, A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization).get$updatedInvoice(), false, type$.legacy_ClientEntity), context, this.invoice, true, index); + A.editEntity(A.snackBarCompleter(context, A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization).get$updatedInvoice(), false, type$.legacy_ClientEntity), this.invoice, true, index); }, call$1(context) { return this.call$2(context, null); @@ -419157,7 +419060,7 @@ if (t9 == null) t9 = _this._box_0.desktopSubtitle; t10 = _this.textColor; - t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t6, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t8, A.Text$(t9, _null, 2, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t10.get$value(t10) >>> 16 & 255, t10.get$value(t10) >>> 8 & 255, t10.get$value(t10) & 255)), _null, _null, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t3.amount, context, t7.id, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t4, B.TextAlign_5, _null, _null), new A.SizedBox(25, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.PaymentListItem_build__closure1(t1, context), new A.PaymentListItem_build__closure2(t1, context), _null, _null, _null, _null, _null, _null); + t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t6, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t8, A.Text$(t9, _null, 2, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t10.get$value(t10) >>> 16 & 255, t10.get$value(t10) >>> 8 & 255, t10.get$value(t10) & 255)), _null, _null, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t3.amount, context, t7.id, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t4, B.TextAlign_5, _null, _null), new A.SizedBox(25, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.PaymentListItem_build__closure1(t1), new A.PaymentListItem_build__closure2(t1), _null, _null, _null, _null, _null, _null); } else { t2 = _this.isInMultiselect ? new A.IgnorePointer(_this.listUIState.selectedIds != null, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.PaymentListItem_build__closure3(), _null, _null, false, _this.isChecked), _null) : _null; t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; @@ -419165,7 +419068,7 @@ t5 = type$.JSArray_legacy_Widget; t3 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(_this.client.displayName, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(t4.amount, context, t4.clientId, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3.size._dx); t6 = _this.mobileSubtitle; - t1 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.PaymentListItem_build__closure4(t1, context), new A.PaymentListItem_build__closure5(t1, context), false, _null, _null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([A.Expanded$(t6.length !== 0 ? A.Text$(t6, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), 1), A.Text$(_this.localization.lookup$1("payment_status_" + t4.get$calculatedStatusId()), _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, new A.PaymentStatusColors(_this.state.prefState.get$colorThemeModel()).get$colors().$index(0, t4.get$calculatedStatusId()), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), new A.EntityStateLabel(t4, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); + t1 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.PaymentListItem_build__closure4(t1), new A.PaymentListItem_build__closure5(t1), false, _null, _null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([A.Expanded$(t6.length !== 0 ? A.Text$(t6, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), 1), A.Text$(_this.localization.lookup$1("payment_status_" + t4.get$calculatedStatusId()), _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, new A.PaymentStatusColors(_this.state.prefState.get$colorThemeModel()).get$colors().$index(0, t4.get$calculatedStatusId()), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), new A.EntityStateLabel(t4, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); } return t1; }, @@ -419174,13 +419077,13 @@ A.PaymentListItem_build__closure2.prototype = { call$0() { var t1 = this.$this; - return A.selectEntity(this.context, t1.payment, !t1.showCheckbox, false); + return A.selectEntity(t1.payment, !t1.showCheckbox, false); }, $signature: 0 }; A.PaymentListItem_build__closure1.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.payment, false, true); + return A.selectEntity(this.$this.payment, false, true); }, $signature: 0 }; @@ -419200,13 +419103,13 @@ A.PaymentListItem_build__closure5.prototype = { call$0() { var t1 = this.$this; - return A.selectEntity(this.context, t1.payment, !t1.showCheckbox, false); + return A.selectEntity(t1.payment, !t1.showCheckbox, false); }, $signature: 0 }; A.PaymentListItem_build__closure4.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.payment, false, true); + return A.selectEntity(this.$this.payment, false, true); }, $signature: 0 }; @@ -420413,7 +420316,7 @@ t7 = type$.JSArray_legacy_Widget; t6 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t2.name, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(_null, context, _null, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t6.size._dx); t8 = filterMatch != null && filterMatch.length !== 0 ? A.Text$(filterMatch, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.PaymentTermListItem_build_closure0(_this, context), new A.PaymentTermListItem_build_closure1(_this, context), false, _null, _null, A.Column$(A._setArrayType([t8, new A.EntityStateLabel(t2, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t6, _null, _null), t4 === t5, true, true, _null); + return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.PaymentTermListItem_build_closure0(_this), new A.PaymentTermListItem_build_closure1(_this), false, _null, _null, A.Column$(A._setArrayType([t8, new A.EntityStateLabel(t2, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t6, _null, _null), t4 === t5, true, true, _null); }, get$user() { return this.user; @@ -420424,14 +420327,14 @@ }; A.PaymentTermListItem_build_closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.paymentTerm, false, false); + var t1 = A.selectEntity(this.$this.paymentTerm, false, false); return t1; }, $signature: 0 }; A.PaymentTermListItem_build_closure0.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.paymentTerm, false, true); + var t1 = A.selectEntity(this.$this.paymentTerm, false, true); return t1; }, $signature: 0 @@ -421116,7 +421019,7 @@ t8 = _this.filterMatch; if (t8 != null) t5.push(A.Text$(t8, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall, _null, _null, _null)); - t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t4, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(t5, B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t3.price, context, _null, _null, B.FormatNumberType_0, false, _null, false), _null, _null, _null, _null, _null, t6, B.TextAlign_5, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.ProductListItem_build__closure1(t1, context), new A.ProductListItem_build__closure2(t1, context), _null, _null, _null, _null, _null, _null); + t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t4, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(t5, B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t3.price, context, _null, _null, B.FormatNumberType_0, false, _null, false), _null, _null, _null, _null, _null, t6, B.TextAlign_5, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.ProductListItem_build__closure1(t1), new A.ProductListItem_build__closure2(t1), _null, _null, _null, _null, _null, _null); } else { t2 = _this.showCheckbox ? new A.IgnorePointer(_this.listUIState.selectedIds != null, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.ProductListItem_build__closure3(t1), _null, _null, false, t1.isChecked), _null) : _null; t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; @@ -421127,7 +421030,7 @@ t3 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t5 + t6, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(t4.price, context, _null, _null, B.FormatNumberType_0, false, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3.size._dx); t5 = _this.subtitle; t5 = t5.length !== 0 ? A.Text$(t5, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t3 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.ProductListItem_build__closure4(t1, context), new A.ProductListItem_build__closure5(t1, context), false, _null, _null, A.Column$(A._setArrayType([t5, new A.EntityStateLabel(t4, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); + t3 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.ProductListItem_build__closure4(t1), new A.ProductListItem_build__closure5(t1), false, _null, _null, A.Column$(A._setArrayType([t5, new A.EntityStateLabel(t4, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); t1 = t3; } return t1; @@ -421138,13 +421041,13 @@ call$0() { var t1 = this.$this, t2 = t1.onTap; - return t2 != null ? t2.call$0() : A.selectEntity(this.context, t1.product, false, false); + return t2 != null ? t2.call$0() : A.selectEntity(t1.product, false, false); }, $signature: 0 }; A.ProductListItem_build__closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.product, false, true); + var t1 = A.selectEntity(this.$this.product, false, true); return t1; }, $signature: 0 @@ -421166,13 +421069,13 @@ call$0() { var t1 = this.$this, t2 = t1.onTap; - return t2 != null ? t2.call$0() : A.selectEntity(this.context, t1.product, false, false); + return t2 != null ? t2.call$0() : A.selectEntity(t1.product, false, false); }, $signature: 0 }; A.ProductListItem_build__closure4.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.product, false, true); + var t1 = A.selectEntity(this.$this.product, false, true); return t1; }, $signature: 0 @@ -422126,7 +422029,7 @@ t7 = t3.name; t7 = A.Text$(t7 + (t3.documents._list.length !== 0 ? " \ud83d\udcce" : ""), _null, _null, _null, _null, _null, t5, _null, _null, _null); t8 = _this.textColor; - t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t4, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t7, A.Text$(_this.subtitle, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t8.get$value(t8) >>> 16 & 255, t8.get$value(t8) >>> 8 & 255, t8.get$value(t8) & 255)), _null, _null, _null)], t6), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatDuration(A.Duration$(0, B.JSNumber_methods.toInt$0(t3.budgetedHours), 0, 0, 0, 0), false), _null, _null, _null, _null, _null, t5, B.TextAlign_5, _null, _null)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.ProjectListItem_build__closure1(t1, context), new A.ProjectListItem_build__closure2(t1, context), _null, _null, _null, _null, _null, _null); + t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t4, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t7, A.Text$(_this.subtitle, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t8.get$value(t8) >>> 16 & 255, t8.get$value(t8) >>> 8 & 255, t8.get$value(t8) & 255)), _null, _null, _null)], t6), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatDuration(A.Duration$(0, B.JSNumber_methods.toInt$0(t3.budgetedHours), 0, 0, 0, 0), false), _null, _null, _null, _null, _null, t5, B.TextAlign_5, _null, _null)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.ProjectListItem_build__closure1(t1), new A.ProjectListItem_build__closure2(t1), _null, _null, _null, _null, _null, _null); } else { t2 = _this.showCheckbox ? new A.IgnorePointer(_this.listUIState.selectedIds != null, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.ProjectListItem_build__closure3(t1), _null, _null, false, t1.isChecked), _null) : _null; t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; @@ -422136,7 +422039,7 @@ t7 = type$.JSArray_legacy_Widget; t3 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t5 + t6, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatDuration(A.Duration$(0, B.JSNumber_methods.toInt$0(t4.budgetedHours), 0, 0, 0, 0), false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3.size._dx); t5 = _this.filterMatch; - t1 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.ProjectListItem_build__closure4(t1, context), new A.ProjectListItem_build__closure5(t1, context), false, _null, _null, A.Column$(A._setArrayType([A.Text$(t5 == null ? t4.number + " \u2022 " + _this.client.displayName : t5, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null), new A.EntityStateLabel(t4, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); + t1 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.ProjectListItem_build__closure4(t1), new A.ProjectListItem_build__closure5(t1), false, _null, _null, A.Column$(A._setArrayType([A.Text$(t5 == null ? t4.number + " \u2022 " + _this.client.displayName : t5, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null), new A.EntityStateLabel(t4, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); } return t1; }, @@ -422144,14 +422047,14 @@ }; A.ProjectListItem_build__closure2.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.project, false, false); + var t1 = A.selectEntity(this.$this.project, false, false); return t1; }, $signature: 0 }; A.ProjectListItem_build__closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.project, false, true); + var t1 = A.selectEntity(this.$this.project, false, true); return t1; }, $signature: 0 @@ -422171,14 +422074,14 @@ }; A.ProjectListItem_build__closure5.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.project, false, false); + var t1 = A.selectEntity(this.$this.project, false, false); return t1; }, $signature: 0 }; A.ProjectListItem_build__closure4.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.project, false, true); + var t1 = A.selectEntity(this.$this.project, false, true); return t1; }, $signature: 0 @@ -423013,11 +422916,8 @@ if (!t2.isPreviewVisible) _this.store.get$_dispatchers()[0].call$1(new A.TogglePreviewSidebar()); A.viewEntity(false, savedQuote, _null, false); - if (t2.isEditorFullScreen$1(B.EntityType_invoice) && t2.editAfterSaving) { - t1 = $.$get$navigatorKey(); - t1.toString; - A.editEntity(_null, $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), savedQuote, true, _null); - } + if (t2.isEditorFullScreen$1(B.EntityType_invoice) && t2.editAfterSaving) + A.editEntity(_null, savedQuote, true, _null); } t1 = _this.action; t2 = t1 != null; @@ -423369,7 +423269,7 @@ if (t9 == null) t9 = _this._box_0.subtitle; t10 = _this.textColor; - t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t4, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t8, A.Text$(t9, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t10.get$value(t10) >>> 16 & 255, t10.get$value(t10) >>> 8 & 255, t10.get$value(t10) & 255)), _null, _null, _null)], t6), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t3.amount, context, t7.id, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t5, B.TextAlign_5, _null, _null), new A.SizedBox(25, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.QuoteListItem_build__closure1(t1, context), new A.QuoteListItem_build__closure2(t1, context), _null, _null, _null, _null, _null, _null); + t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t4, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t8, A.Text$(t9, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t10.get$value(t10) >>> 16 & 255, t10.get$value(t10) >>> 8 & 255, t10.get$value(t10) & 255)), _null, _null, _null)], t6), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t3.amount, context, t7.id, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t5, B.TextAlign_5, _null, _null), new A.SizedBox(25, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.QuoteListItem_build__closure1(t1), new A.QuoteListItem_build__closure2(t1), _null, _null, _null, _null, _null, _null); } else { t2 = _this.isInMultiselect ? new A.IgnorePointer(_this.listUIState.selectedIds != null, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.QuoteListItem_build__closure3(), _null, _null, false, _this.isChecked), _null) : _null; t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; @@ -423392,7 +423292,7 @@ t6 = A.Text$(t6, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null); t6 = A.Expanded$(t6, 1); t7 = _this.localization.lookup$1(B.Map_IF4bq.$index(0, t4.get$calculatedStatusId())); - t1 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.QuoteListItem_build__closure4(t1, context), new A.QuoteListItem_build__closure5(t1, context), false, _null, _null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([t6, A.Text$(t7, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t4.statusId === "1" ? _this.textColor : new A.QuoteStatusColors(_this.state.prefState.get$colorThemeModel()).get$colors().$index(0, t4.get$calculatedStatusId()), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), new A.EntityStateLabel(t4, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); + t1 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.QuoteListItem_build__closure4(t1), new A.QuoteListItem_build__closure5(t1), false, _null, _null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([t6, A.Text$(t7, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t4.statusId === "1" ? _this.textColor : new A.QuoteStatusColors(_this.state.prefState.get$colorThemeModel()).get$colors().$index(0, t4.get$calculatedStatusId()), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), new A.EntityStateLabel(t4, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); } return t1; }, @@ -423401,13 +423301,13 @@ A.QuoteListItem_build__closure2.prototype = { call$0() { var t1 = this.$this; - return A.selectEntity(this.context, t1.quote, !t1.showCheckbox, false); + return A.selectEntity(t1.quote, !t1.showCheckbox, false); }, $signature: 0 }; A.QuoteListItem_build__closure1.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.quote, false, true); + return A.selectEntity(this.$this.quote, false, true); }, $signature: 0 }; @@ -423427,13 +423327,13 @@ A.QuoteListItem_build__closure5.prototype = { call$0() { var t1 = this.$this; - return A.selectEntity(this.context, t1.quote, !t1.showCheckbox, false); + return A.selectEntity(t1.quote, !t1.showCheckbox, false); }, $signature: 0 }; A.QuoteListItem_build__closure4.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.quote, false, true); + return A.selectEntity(this.$this.quote, false, true); }, $signature: 0 }; @@ -423859,7 +423759,7 @@ }; A.QuoteViewVM_QuoteViewVM$fromStore_closure.prototype = { call$2(context, index) { - A.editEntity(A.snackBarCompleter(context, A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization).get$updatedQuote(), false, type$.legacy_ClientEntity), context, this.quote, true, index); + A.editEntity(A.snackBarCompleter(context, A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization).get$updatedQuote(), false, type$.legacy_ClientEntity), this.quote, true, index); }, call$1(context) { return this.call$2(context, null); @@ -424098,11 +423998,8 @@ if (!t2.isPreviewVisible) _this.store.get$_dispatchers()[0].call$1(new A.TogglePreviewSidebar()); A.viewEntity(false, savedRecurringExpense, _null, false); - if (t2.isEditorFullScreen$1(B.EntityType_expense) && t2.editAfterSaving) { - t1 = $.$get$navigatorKey(); - t1.toString; - A.editEntity(_null, $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), savedRecurringExpense, true, _null); - } + if (t2.isEditorFullScreen$1(B.EntityType_expense) && t2.editAfterSaving) + A.editEntity(_null, savedRecurringExpense, true, _null); } t1 = _this.action; t2 = t1 != null; @@ -424221,7 +424118,7 @@ t7 = t3.exchangeRate; if (t7 === 0) t7 = 1; - t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t6, _null), new A.SizedBox(10, _null, _null, _null), t9, new A.SizedBox(8, _null, _null, _null), A.Text$(A.formatNumber(t8 * t7, context, _null, t3.currencyId, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t4, B.TextAlign_5, _null, _null), new A.SizedBox(16, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.RecurringExpenseListItem_build__closure1(t1, context), new A.RecurringExpenseListItem_build__closure2(t1, context), _null, _null, _null, _null, _null, _null); + t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t6, _null), new A.SizedBox(10, _null, _null, _null), t9, new A.SizedBox(8, _null, _null, _null), A.Text$(A.formatNumber(t8 * t7, context, _null, t3.currencyId, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t4, B.TextAlign_5, _null, _null), new A.SizedBox(16, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.RecurringExpenseListItem_build__closure1(t1), new A.RecurringExpenseListItem_build__closure2(t1), _null, _null, _null, _null, _null, _null); } else { t2 = _this.showCheckbox ? new A.IgnorePointer(_this.listUIState.selectedIds != null, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.RecurringExpenseListItem_build__closure3(t1), _null, _null, false, _this.isChecked), _null) : _null; t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; @@ -424241,7 +424138,7 @@ if (t5 == null) t5 = _this._box_0.subtitle; t6 = _this.textColor; - t3 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.RecurringExpenseListItem_build__closure4(t1, context), new A.RecurringExpenseListItem_build__closure5(t1, context), false, _null, _null, A.Column$(A._setArrayType([A.Text$(t5, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t6.get$value(t6) >>> 16 & 255, t6.get$value(t6) >>> 8 & 255, t6.get$value(t6) & 255)), _null, _null, _null), new A.EntityStateLabel(t4, _null)], t8), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); + t3 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.RecurringExpenseListItem_build__closure4(t1), new A.RecurringExpenseListItem_build__closure5(t1), false, _null, _null, A.Column$(A._setArrayType([A.Text$(t5, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t6.get$value(t6) >>> 16 & 255, t6.get$value(t6) >>> 8 & 255, t6.get$value(t6) & 255)), _null, _null, _null), new A.EntityStateLabel(t4, _null)], t8), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); t1 = t3; } return t1; @@ -424250,14 +424147,14 @@ }; A.RecurringExpenseListItem_build__closure2.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.expense, false, false); + var t1 = A.selectEntity(this.$this.expense, false, false); return t1; }, $signature: 0 }; A.RecurringExpenseListItem_build__closure1.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.expense, false, true); + return A.selectEntity(this.$this.expense, false, true); }, $signature: 0 }; @@ -424276,14 +424173,14 @@ }; A.RecurringExpenseListItem_build__closure5.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.expense, false, false); + var t1 = A.selectEntity(this.$this.expense, false, false); return t1; }, $signature: 0 }; A.RecurringExpenseListItem_build__closure4.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.expense, false, true); + return A.selectEntity(this.$this.expense, false, true); }, $signature: 0 }; @@ -425117,11 +425014,8 @@ if (!t2.isPreviewVisible) _this.store.get$_dispatchers()[0].call$1(new A.TogglePreviewSidebar()); A.viewEntity(false, savedRecurringInvoice, _null, false); - if (t2.isEditorFullScreen$1(B.EntityType_invoice) && t2.editAfterSaving) { - t1 = $.$get$navigatorKey(); - t1.toString; - A.editEntity(_null, $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), savedRecurringInvoice, true, _null); - } + if (t2.isEditorFullScreen$1(B.EntityType_invoice) && t2.editAfterSaving) + A.editEntity(_null, savedRecurringInvoice, true, _null); } t1 = _this.action; t2 = t1 != null; @@ -425259,7 +425153,7 @@ if (t9 == null) t9 = _this._box_0.subtitle; t10 = _this.textColor; - t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t4, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t8, A.Text$(t9, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t10.get$value(t10) >>> 16 & 255, t10.get$value(t10) >>> 8 & 255, t10.get$value(t10) & 255)), _null, _null, _null)], t6), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t3.amount, context, t7.id, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t5, B.TextAlign_5, _null, _null), new A.SizedBox(25, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.RecurringInvoiceListItem_build__closure1(t1, context), new A.RecurringInvoiceListItem_build__closure2(t1, context), _null, _null, _null, _null, _null, _null); + t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t4, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t8, A.Text$(t9, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t10.get$value(t10) >>> 16 & 255, t10.get$value(t10) >>> 8 & 255, t10.get$value(t10) & 255)), _null, _null, _null)], t6), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null), A.Text$(A.formatNumber(t3.amount, context, t7.id, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, t5, B.TextAlign_5, _null, _null), new A.SizedBox(25, _null, _null, _null), A.EntityStatusChip$(t3, false, 105)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.RecurringInvoiceListItem_build__closure1(t1), new A.RecurringInvoiceListItem_build__closure2(t1), _null, _null, _null, _null, _null, _null); } else { t2 = _this.isInMultiselect ? new A.IgnorePointer(_this.listUIState.selectedIds != null, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.RecurringInvoiceListItem_build__closure3(), _null, _null, false, _this.isChecked), _null) : _null; t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; @@ -425282,7 +425176,7 @@ } else t6 = A.Text$(t6, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null); t6 = A.Expanded$(t6, 1); - t1 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.RecurringInvoiceListItem_build__closure4(t1, context), new A.RecurringInvoiceListItem_build__closure5(t1, context), false, _null, _null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([t6, A.Text$(_this.statusLabel, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t4.statusId === "1" ? _this.textColor : _this.statusColor, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), new A.EntityStateLabel(t4, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); + t1 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.RecurringInvoiceListItem_build__closure4(t1), new A.RecurringInvoiceListItem_build__closure5(t1), false, _null, _null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([t6, A.Text$(_this.statusLabel, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t4.statusId === "1" ? _this.textColor : _this.statusColor, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), new A.EntityStateLabel(t4, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); } return t1; }, @@ -425290,13 +425184,13 @@ }; A.RecurringInvoiceListItem_build__closure2.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.invoice, false, false); + return A.selectEntity(this.$this.invoice, false, false); }, $signature: 0 }; A.RecurringInvoiceListItem_build__closure1.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.invoice, false, true); + return A.selectEntity(this.$this.invoice, false, true); }, $signature: 0 }; @@ -425315,13 +425209,13 @@ }; A.RecurringInvoiceListItem_build__closure5.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.invoice, false, false); + return A.selectEntity(this.$this.invoice, false, false); }, $signature: 0 }; A.RecurringInvoiceListItem_build__closure4.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.invoice, false, true); + return A.selectEntity(this.$this.invoice, false, true); }, $signature: 0 }; @@ -425719,7 +425613,7 @@ }; A.RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure.prototype = { call$2(context, index) { - A.editEntity(A.snackBarCompleter(context, A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization).get$updatedRecurringInvoice(), false, type$.legacy_ClientEntity), context, this.invoice, true, index); + A.editEntity(A.snackBarCompleter(context, A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization).get$updatedRecurringInvoice(), false, type$.legacy_ClientEntity), this.invoice, true, index); }, call$1(context) { return this.call$2(context, null); @@ -440873,7 +440767,7 @@ t7 = type$.JSArray_legacy_Widget; t6 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t2.name, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(t2.price, context, _null, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t6.size._dx); t8 = filterMatch != null && filterMatch.length !== 0 ? A.Text$(filterMatch, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.SubscriptionListItem_build_closure0(_this, context), new A.SubscriptionListItem_build_closure1(_this, context), false, _null, _null, A.Column$(A._setArrayType([t8, new A.EntityStateLabel(t2, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t6, _null, _null), t4 === t5, true, true, _null); + return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.SubscriptionListItem_build_closure0(_this), new A.SubscriptionListItem_build_closure1(_this), false, _null, _null, A.Column$(A._setArrayType([t8, new A.EntityStateLabel(t2, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t6, _null, _null), t4 === t5, true, true, _null); }, get$user() { return this.user; @@ -440884,14 +440778,14 @@ }; A.SubscriptionListItem_build_closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.subscription, false, false); + var t1 = A.selectEntity(this.$this.subscription, false, false); return t1; }, $signature: 0 }; A.SubscriptionListItem_build_closure0.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.subscription, false, true); + var t1 = A.selectEntity(this.$this.subscription, false, true); return t1; }, $signature: 0 @@ -442714,11 +442608,8 @@ if (!t2.isPreviewVisible) _this.store.get$_dispatchers()[0].call$1(new A.TogglePreviewSidebar()); A.viewEntity(false, savedTask, _null, false); - if (t2.isEditorFullScreen$1(B.EntityType_task) && t2.editAfterSaving) { - t1 = $.$get$navigatorKey(); - t1.toString; - A.editEntity(_null, $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1), savedTask, true, _null); - } + if (t2.isEditorFullScreen$1(B.EntityType_task) && t2.editAfterSaving) + A.editEntity(_null, savedTask, true, _null); } t1 = _this.action; t2 = t1 != null; @@ -442811,13 +442702,13 @@ t4 = A.Container$(_null, A.Center$(A.Text$(t1.get$view(t1), _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null, _null), B.Clip_0, _null, _null, _null, _null, 24, _null, _null, _null, _null, _null, _null); t4 = A.Expanded$(A.InkWell$(false, _null, true, t4, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, task.get$isNew() ? _null : new A._KanbanTaskCardState_build_closure2(state, task), _null, _null, _null, _null, _null, _null), 1); t1 = A.Container$(_null, A.Center$(A.Text$(t1.get$edit(), _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null, _null), B.Clip_0, _null, _null, _null, _null, 28, _null, _null, _null, _null, _null, _null); - t9.push(A.Row$(A._setArrayType([t4, A.Expanded$(A.InkWell$(false, _null, true, t1, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, task.get$isNew() ? _null : new A._KanbanTaskCardState_build_closure3(context, task), _null, _null, _null, _null, _null, _null), 1), A.Expanded$(A.InkWell$(false, _null, true, A.Container$(_null, A.Center$(A.Text$(startLabel, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null, _null), B.Clip_0, _null, _null, _null, _null, 24, _null, _null, _null, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._KanbanTaskCardState_build_closure4(task), _null, _null, _null, _null, _null, _null), 1)], t8), B.CrossAxisAlignment_2, B.MainAxisAlignment_5, B.MainAxisSize_1, _null)); + t9.push(A.Row$(A._setArrayType([t4, A.Expanded$(A.InkWell$(false, _null, true, t1, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, task.get$isNew() ? _null : new A._KanbanTaskCardState_build_closure3(task), _null, _null, _null, _null, _null, _null), 1), A.Expanded$(A.InkWell$(false, _null, true, A.Container$(_null, A.Center$(A.Text$(startLabel, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null, _null), B.Clip_0, _null, _null, _null, _null, 24, _null, _null, _null, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._KanbanTaskCardState_build_closure4(task), _null, _null, _null, _null, _null, _null), 1)], t8), B.CrossAxisAlignment_2, B.MainAxisAlignment_5, B.MainAxisSize_1, _null)); } else { t8 = A._setArrayType([A.Expanded$(new A.LiveText(_null, new A._KanbanTaskCardState_build_closure5(task, client, project), A.TextStyle$(_null, _null, A.Color$fromARGB(153, textColor.get$value(textColor) >>> 16 & 255, textColor.get$value(textColor) >>> 8 & 255, textColor.get$value(textColor) & 255), _null, _null, _null, _null, _null, _null, _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null), 1)], t8); if (task.documents._list.length !== 0) t8.push(new A.Padding(B.EdgeInsets_8_0_0_0, A.Icon$(B._MdiIconData_EuK3, _null, 16), _null)); if (state.prefState.appLayout === B.AppLayout_mobile) - t8.push(A.PopupMenuButton$(_null, _null, true, _null, _null, new A._KanbanTaskCardState_build_closure6(t1, startLabel), new A._KanbanTaskCardState_build_closure7(startLabel, task, t1, context), B.EdgeInsets_8_8_8_8, _null, type$.legacy_String)); + t8.push(A.PopupMenuButton$(_null, _null, true, _null, _null, new A._KanbanTaskCardState_build_closure6(t1, startLabel), new A._KanbanTaskCardState_build_closure7(startLabel, task, t1), B.EdgeInsets_8_8_8_8, _null, type$.legacy_String)); else if (t4) t8.push(new A.Padding(B.EdgeInsets_8_0_0_0, A.Icon$(B._MdiIconData_4ax, color, 16), _null)); t9.push(new A.Padding(B.EdgeInsets_8_0_8_12, A.Row$(t8, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null)); @@ -442914,7 +442805,7 @@ }; A._KanbanTaskCardState_build_closure3.prototype = { call$0() { - A.editEntity(null, this.context, this.task, false, null); + A.editEntity(null, this.task, false, null); }, $signature: 1 }; @@ -442963,7 +442854,7 @@ if (value === t1.get$view(t1)) A.viewEntity(false, _this.task, null, false); else if (value === t1.get$edit()) - A.editEntity(null, _this.context, _this.task, false, null); + A.editEntity(null, _this.task, false, null); } }, $signature: 10 @@ -443646,7 +443537,7 @@ t4 = A.Text$(t7 + (t3.documents._list.length !== 0 ? " \ud83d\udcce" : ""), _null, 1, B.TextOverflow_2, _null, _null, t4, _null, _null, _null); t7 = _this._box_0.subtitle; t8 = _this.textColor; - t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_16_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t6, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t4, A.Text$(t7, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t8.get$value(t8) >>> 16 & 255, t8.get$value(t8) >>> 8 & 255, t8.get$value(t8) & 255)), _null, _null, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(8, _null, _null, _null), _this.duration, new A.SizedBox(24, _null, _null, _null), A.EntityStatusChip$(t3, false, 105), new A.SizedBox(8, _null, _null, _null), _this.startStopButton], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.TaskListItem_build__closure1(t1, context), new A.TaskListItem_build__closure2(t1, context), _null, _null, _null, _null, _null, _null); + t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_16_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t6, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(A._setArrayType([t4, A.Text$(t7, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t8.get$value(t8) >>> 16 & 255, t8.get$value(t8) >>> 8 & 255, t8.get$value(t8) & 255)), _null, _null, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(8, _null, _null, _null), _this.duration, new A.SizedBox(24, _null, _null, _null), A.EntityStatusChip$(t3, false, 105), new A.SizedBox(8, _null, _null, _null), _this.startStopButton], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.TaskListItem_build__closure1(t1), new A.TaskListItem_build__closure2(t1), _null, _null, _null, _null, _null, _null); } else { t2 = _this.showCheckbox ? new A.IgnorePointer(_this.listUIState.selectedIds != null, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.TaskListItem_build__closure3(t1), _null, _null, false, _this.isChecked), _null) : _null; t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; @@ -443683,7 +443574,7 @@ t8 = t9.uiState.selectedCompanyIndex; t4 = A.convertHexStringToColor(t9.userCompanyStates._list[t8].taskStatusState.$get$1(0, t4.statusId).color); } - t3 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.TaskListItem_build__closure4(t1, context), new A.TaskListItem_build__closure5(t1, context), false, _null, _null, A.Row$(A._setArrayType([t5, A.Text$(t6, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null, t3, _this.startStopButton, _null); + t3 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.TaskListItem_build__closure4(t1), new A.TaskListItem_build__closure5(t1), false, _null, _null, A.Row$(A._setArrayType([t5, A.Text$(t6, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null, t3, _this.startStopButton, _null); t1 = t3; } return t1; @@ -443694,13 +443585,13 @@ call$0() { var t1 = this.$this, t2 = t1.onTap; - return t2 != null ? t2.call$0() : A.selectEntity(this.context, t1.task, false, false); + return t2 != null ? t2.call$0() : A.selectEntity(t1.task, false, false); }, $signature: 0 }; A.TaskListItem_build__closure1.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.task, false, true); + return A.selectEntity(this.$this.task, false, true); }, $signature: 0 }; @@ -443721,13 +443612,13 @@ call$0() { var t1 = this.$this, t2 = t1.onTap; - return t2 != null ? t2.call$0() : A.selectEntity(this.context, t1.task, false, false); + return t2 != null ? t2.call$0() : A.selectEntity(t1.task, false, false); }, $signature: 0 }; A.TaskListItem_build__closure4.prototype = { call$0() { - return A.selectEntity(this.context, this.$this.task, false, true); + return A.selectEntity(this.$this.task, false, true); }, $signature: 0 }; @@ -444483,7 +444374,7 @@ call$2(context, taskTime) { var t1 = this.task, t2 = B.JSArray_methods.indexOf$1(t1.getTaskTimes$0(), taskTime); - A.editEntity(A.snackBarCompleter(context, A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization).get$updatedTask(), false, type$.legacy_ClientEntity), context, t1, true, t2); + A.editEntity(A.snackBarCompleter(context, A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization).get$updatedTask(), false, type$.legacy_ClientEntity), t1, true, t2); }, call$1(context) { return this.call$2(context, null); @@ -444804,7 +444695,7 @@ t7 = type$.JSArray_legacy_Widget; t6 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t2.name, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(_null, context, _null, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t7), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t6.size._dx); t8 = filterMatch != null && filterMatch.length !== 0 ? A.Text$(filterMatch, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.TaskStatusListItem_build_closure0(_this, context), new A.TaskStatusListItem_build_closure1(_this, context), false, _null, _null, A.Column$(A._setArrayType([t8, new A.EntityStateLabel(t2, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t6, _null, _null), t4 === t5, true, true, _null); + return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.TaskStatusListItem_build_closure0(_this), new A.TaskStatusListItem_build_closure1(_this), false, _null, _null, A.Column$(A._setArrayType([t8, new A.EntityStateLabel(t2, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t6, _null, _null), t4 === t5, true, true, _null); }, get$user() { return this.user; @@ -444815,14 +444706,14 @@ }; A.TaskStatusListItem_build_closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.taskStatus, false, false); + var t1 = A.selectEntity(this.$this.taskStatus, false, false); return t1; }, $signature: 0 }; A.TaskStatusListItem_build_closure0.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.taskStatus, false, true); + var t1 = A.selectEntity(this.$this.taskStatus, false, true); return t1; }, $signature: 0 @@ -445305,7 +445196,7 @@ t5 = type$.JSArray_legacy_Widget; t4 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t2.name + " \u2022 " + A.S(A.formatNumber(t2.rate, context, _null, _null, B.FormatNumberType_1, true, _null, false)), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(_null, context, _null, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t4.size._dx); t6 = filterMatch != null && filterMatch.length !== 0 ? A.Text$(filterMatch, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.TaxRateListItem_build_closure0(_this, context), new A.TaxRateListItem_build_closure1(_this, context), false, _null, _null, A.Column$(A._setArrayType([t6, new A.EntityStateLabel(t2, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t4, _null, _null), false, true, true, _null); + return new A.DismissibleEntity(t3, t2, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.TaxRateListItem_build_closure0(_this), new A.TaxRateListItem_build_closure1(_this), false, _null, _null, A.Column$(A._setArrayType([t6, new A.EntityStateLabel(t2, _null)], t5), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t4, _null, _null), false, true, true, _null); }, get$user() { return this.user; @@ -445316,14 +445207,14 @@ }; A.TaxRateListItem_build_closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.taxRate, false, false); + var t1 = A.selectEntity(this.$this.taxRate, false, false); return t1; }, $signature: 0 }; A.TaxRateListItem_build_closure0.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.taxRate, false, true); + var t1 = A.selectEntity(this.$this.taxRate, false, true); return t1; }, $signature: 0 @@ -445798,7 +445689,7 @@ t6 = A.Text$(t4.name, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null); t7 = A.Text$(user.get$fullName().length !== 0 ? user.get$fullName() : user.email, _null, _null, _null, _null, _null, _null, _null, _null, _null); t8 = filterMatch != null && filterMatch.length !== 0 ? A.Text$(filterMatch, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - return new A.DismissibleEntity(t2, t4, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.TokenListItem_build_closure0(_this, context), new A.TokenListItem_build_closure1(_this, context), false, _null, _null, A.Column$(A._setArrayType([t7, t8, new A.EntityStateLabel(t4, _null)], type$.JSArray_legacy_Widget), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t6, _null, _null), t3 === t5, true, true, _null); + return new A.DismissibleEntity(t2, t4, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.TokenListItem_build_closure0(_this), new A.TokenListItem_build_closure1(_this), false, _null, _null, A.Column$(A._setArrayType([t7, t8, new A.EntityStateLabel(t4, _null)], type$.JSArray_legacy_Widget), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t6, _null, _null), t3 === t5, true, true, _null); }, get$user() { return this.user; @@ -445809,14 +445700,14 @@ }; A.TokenListItem_build_closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.token, false, false); + var t1 = A.selectEntity(this.$this.token, false, false); return t1; }, $signature: 0 }; A.TokenListItem_build_closure0.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.token, false, true); + var t1 = A.selectEntity(this.$this.token, false, true); return t1; }, $signature: 0 @@ -446644,7 +446535,7 @@ t6 = type$.JSArray_legacy_Widget; t2 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t5, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(_null, context, _null, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t2.size._dx); t5 = filterMatch != null && filterMatch.length !== 0 ? A.Text$(filterMatch, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - return new A.DismissibleEntity(t3, t4, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.UserListItem_build_closure0(_this, context), new A.UserListItem_build_closure1(_this, context), false, _null, _null, A.Column$(A._setArrayType([t5, new A.EntityStateLabel(t4, _null)], t6), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t2, _null, _null), false, true, true, _null); + return new A.DismissibleEntity(t3, t4, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t1, new A.UserListItem_build_closure0(_this), new A.UserListItem_build_closure1(_this), false, _null, _null, A.Column$(A._setArrayType([t5, new A.EntityStateLabel(t4, _null)], t6), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t2, _null, _null), false, true, true, _null); }, get$user() { return this.user; @@ -446652,7 +446543,7 @@ }; A.UserListItem_build_closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.user, false, false); + var t1 = A.selectEntity(this.$this.user, false, false); return t1; }, $signature: 0 @@ -447915,7 +447806,7 @@ t7 = _this.textColor; t3.push(A.Text$(t4, _null, 3, B.TextOverflow_2, _null, _null, A.Theme_of(context).textTheme.titleSmall.copyWith$1$color(A.Color$fromARGB(153, t7.get$value(t7) >>> 16 & 255, t7.get$value(t7) >>> 8 & 255, t7.get$value(t7) & 255)), _null, _null, _null)); } - t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t6, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(t3, B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.VendorListItem_build__closure1(t1, context), new A.VendorListItem_build__closure2(t1, context), _null, _null, _null, _null, _null, _null); + t1 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_10_4_28_4, A.Row$(A._setArrayType([new A.Padding(B.EdgeInsets_0_0_16_0, t2, _null), new A.SizedBox(100, _null, t6, _null), new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Column$(t3, B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1), new A.SizedBox(10, _null, _null, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.VendorListItem_build__closure1(t1), new A.VendorListItem_build__closure2(t1), _null, _null, _null, _null, _null, _null); } else { t2 = _this.showCheckbox ? new A.IgnorePointer(_this.listUIState.selectedIds != null, _null, A.Checkbox$(A.Theme_of(context).colorScheme.secondary, false, _null, B.MaterialTapTargetSize_1, new A.VendorListItem_build__closure3(t1), _null, _null, false, t1.isChecked), _null) : _null; t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; @@ -447931,7 +447822,7 @@ t5 = t6; } else t5 = A.Text$(t4.number, _null, _null, _null, _null, _null, _null, _null, _null, _null); - t3 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.VendorListItem_build__closure4(t1, context), new A.VendorListItem_build__closure5(t1, context), false, _null, _null, A.Column$(A._setArrayType([t5, new A.EntityStateLabel(t4, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); + t3 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.VendorListItem_build__closure4(t1), new A.VendorListItem_build__closure5(t1), false, _null, _null, A.Column$(A._setArrayType([t5, new A.EntityStateLabel(t4, _null)], t7), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t3, _null, _null); t1 = t3; } return t1; @@ -447940,14 +447831,14 @@ }; A.VendorListItem_build__closure2.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.vendor, false, false); + var t1 = A.selectEntity(this.$this.vendor, false, false); return t1; }, $signature: 0 }; A.VendorListItem_build__closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.vendor, false, true); + var t1 = A.selectEntity(this.$this.vendor, false, true); return t1; }, $signature: 0 @@ -447967,14 +447858,14 @@ }; A.VendorListItem_build__closure5.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.vendor, false, false); + var t1 = A.selectEntity(this.$this.vendor, false, false); return t1; }, $signature: 0 }; A.VendorListItem_build__closure4.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.vendor, false, true); + var t1 = A.selectEntity(this.$this.vendor, false, true); return t1; }, $signature: 0 @@ -449310,7 +449201,7 @@ t7 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t3.targetUrl, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null), 1), A.Text$(A.formatNumber(_null, context, _null, _null, B.FormatNumberType_0, true, _null, false), _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.titleMedium, _null, _null, _null)], t8), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t7.size._dx); t1 = A.Text$(t1.lookup$1(B.Map_atQCY.$index(0, t3.eventId)), _null, _null, _null, _null, _null, _null, _null, _null, _null); t9 = filterMatch != null && filterMatch.length !== 0 ? A.Text$(filterMatch, _null, 3, B.TextOverflow_2, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); - return new A.DismissibleEntity(t4, t3, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.WebhookListItem_build_closure0(_this, context), new A.WebhookListItem_build_closure1(_this, context), false, _null, _null, A.Column$(A._setArrayType([t1, t9, new A.EntityStateLabel(t3, _null)], t8), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t7, _null, _null), t5 === t6, true, true, _null); + return new A.DismissibleEntity(t4, t3, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, t2, new A.WebhookListItem_build_closure0(_this), new A.WebhookListItem_build_closure1(_this), false, _null, _null, A.Column$(A._setArrayType([t1, t9, new A.EntityStateLabel(t3, _null)], t8), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, t7, _null, _null), t5 === t6, true, true, _null); }, get$user() { return this.user; @@ -449321,14 +449212,14 @@ }; A.WebhookListItem_build_closure1.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.webhook, false, false); + var t1 = A.selectEntity(this.$this.webhook, false, false); return t1; }, $signature: 0 }; A.WebhookListItem_build_closure0.prototype = { call$0() { - var t1 = A.selectEntity(this.context, this.$this.webhook, false, true); + var t1 = A.selectEntity(this.$this.webhook, false, true); return t1; }, $signature: 0 @@ -450060,9 +449951,8 @@ }; A.addToInvoiceDialog___closure.prototype = { call$0() { - var t1 = this.context; - A.editEntity(null, t1, this.invoice.rebuild$1(new A.addToInvoiceDialog____closure(this.items)), true, null); - A.Navigator_of(t1, false).pop$0(0); + A.Navigator_of(this.context, false).pop$0(0); + A.editEntity(null, this.invoice.rebuild$1(new A.addToInvoiceDialog____closure(this.items)), true, null); }, $signature: 1 };