@feedmepos/mf-inventory-portal 1.8.0-dev.2 → 1.8.0-dev.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App-5GYyCfFq.js +1445 -0
- package/dist/{ApprovalView-RaXuWWSu.js → ApprovalView-DY1ayl1W.js} +26 -25
- package/dist/{BindingsDialog-DomvXijP.js → BindingsDialog-Dm7uKMfV.js} +2 -2
- package/dist/{BindingsPicker-DGnzxEs7.js → BindingsPicker-DhnMlj4x.js} +2 -2
- package/dist/{BindingsTable-DfG9kWrv.js → BindingsTable-Cxibcjka.js} +10 -10
- package/dist/BulkReceiveRequestPage-w4AA6BxB.js +2839 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CVekIoiN.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-B3ESPbQp.js} +1 -1
- package/dist/{ClosingDraftView-C3n66bbh.js → ClosingDraftView-DMaONEZ7.js} +748 -746
- package/dist/ClosingHistoryView-BBYruOux.js +769 -0
- package/dist/{ClosingTemplateView-DwGloYxn.js → ClosingTemplateView-DcwgokRl.js} +22 -21
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-9eY_r8LF.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-a72IldDO.js} +1 -1
- package/dist/{DefaultView-JC_e4xgC.js → DefaultView-BVr_7JDn.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BBCvI67S.js → DeliveryOrderPrintPreview-BXZFD3D5.js} +15 -15
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-H4FWc9ga.js → EmailDialog.vue_vue_type_script_setup_true_lang-Dne_9P3j.js} +10077 -9950
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-CYkPbFSA.js +48 -0
- package/dist/FeatureCapabilityGate-DK_rTVyJ.js +82 -0
- package/dist/FeaturePageGate.vue_vue_type_script_setup_true_lang-DIhV51l7.js +189 -0
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Q8Mptiv3.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-B80EHMBT.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CE1_yyHe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C94IFGoH.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGJi3f86.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-COZPDuAM.js} +2 -2
- package/dist/{FmMultiselectDialog-DCaRlBIy.js → FmMultiselectDialog-C1P22sj2.js} +2 -2
- package/dist/FmMultiselectDialog-Kb3IftHf.js +123 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-ClaLVtpK.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BqB71yfu.js} +105 -99
- package/dist/ImportView-EJ4u8NHM.js +1540 -0
- package/dist/{IngredientsView-DPj9lBTK.js → IngredientsView-Bxsgm4E7.js} +691 -689
- package/dist/{IntegrationExplorerView-CO2wpUR_.js → IntegrationExplorerView-owEaOVeG.js} +1537 -1620
- package/dist/IntegrationPlatformView-BuptPyjg.js +13385 -0
- package/dist/{IntegrationView-DIeZoey0.js → IntegrationView-DAcdY_d_.js} +2604 -2565
- package/dist/{InventoryBindingForm-Cj4_Chue.js → InventoryBindingForm-BvjY4zrn.js} +1 -1
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-DhbF-jgN.js +472 -0
- package/dist/{InventoryBindingSummary-yzGzd7jJ.js → InventoryBindingSummary-DPqm94GX.js} +1 -1
- package/dist/JsonViewer.vue_vue_type_script_setup_true_lang-C_hg75l0.js +25 -0
- package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DDsigNJ4.js +79 -0
- package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-CM3gtYZo.js +19 -0
- package/dist/PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-0F-yOcPC.js +79 -0
- package/dist/PremiumUpgradePage.vue_vue_type_script_setup_true_lang-DGAxPOEh.js +58 -0
- package/dist/ProductionRunDetailPage-BaPCJUqT.js +2317 -0
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BYyiiAWb.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-CNRX3MYt.js} +3053 -3163
- package/dist/ProductionRunPage-B6Jsv9Hh.js +954 -0
- package/dist/{PublishView-CPK9NeVF.js → PublishView-DonUv6nP.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-DosqWQeN.js → PurchaseOrderPrintPreview-CK3Cqdwp.js} +17 -17
- package/dist/{ReceiveRequestView-BxSkpK2t.js → ReceiveRequestView-CMAnKxzm.js} +17 -16
- package/dist/RecipeView-Bx13Bckq.js +3272 -0
- package/dist/SettingsView-D1MiAkD8.js +1005 -0
- package/dist/StockView-CsxTjVEd.js +3003 -0
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-GdGJCuc0.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BT73j9SA.js} +1 -1
- package/dist/{SupplierView-BKxKoi_0.js → SupplierView-CFACoZya.js} +304 -301
- package/dist/{SurchargeView-Db4cwhZv.js → SurchargeView-CShhZa3x.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CpkF77Ow.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-B2OdmdI_.js} +2 -2
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js +71 -0
- package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-x3N2Oypo.js +332 -0
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BISmGBJE.js +4953 -0
- package/dist/TransferTemplateView-kx2IPqEv.js +2347 -0
- package/dist/{UnitCostHistoryView-CqcyjCCd.js → UnitCostHistoryView-DgPWsXaB.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DO80_8SZ.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-BtfJJgIP.js} +4 -4
- package/dist/{UnitView-BqdK1AM_.js → UnitView-aupXLRMk.js} +111 -106
- package/dist/{WarehouseView-COJM9IXM.js → WarehouseView-MTvbY4n4.js} +12 -11
- package/dist/{WastageTemplateView-DW3viTHN.js → WastageTemplateView-Bs9HL-LK.js} +19 -18
- package/dist/api/bill.d.ts +4 -2
- package/dist/api/bill.spec.d.ts +1 -0
- package/dist/api/closing.d.ts +1 -0
- package/dist/api/feature-flags.d.ts +4 -0
- package/dist/api/integration-sync-log.d.ts +0 -13
- package/dist/api/license.d.ts +0 -2
- package/dist/api/netsuite-explorer.d.ts +1 -0
- package/dist/api/stock.d.ts +1 -1
- package/dist/{app-yvK__CBL.js → app-D38sV2ls.js} +10177 -10126
- package/dist/app.d.ts +151 -164
- package/dist/app.js +1 -1
- package/dist/bulk-edit-simulation.helper-DgniL8FN.js +178 -0
- package/dist/{closing-template-DezidSM0.js → closing-template-D_NAj_mU.js} +4 -4
- package/dist/components/FeatureCapabilityBadge.vue.d.ts +4 -0
- package/dist/components/FeatureCapabilityGate.spec.d.ts +1 -0
- package/dist/components/FeatureCapabilityGate.vue.d.ts +5 -0
- package/dist/components/FeatureGateLayout.vue.d.ts +11 -0
- package/dist/components/FeaturePageGate.spec.d.ts +1 -0
- package/dist/components/FeaturePageGate.vue.d.ts +34 -0
- package/dist/components/FmAdminCollapsiblePanel.vue.d.ts +1 -1
- package/dist/components/FmDroppableField.vue.d.ts +1 -1
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +2 -2
- package/dist/components/FmUnitInputProps.d.ts +1 -0
- package/dist/components/FmUnitInputRules.d.ts +1 -1
- package/dist/components/HrmPermissionGuard.vue.d.ts +1 -1
- package/dist/components/NumberPrecisionInput.spec.d.ts +1 -0
- package/dist/{views/ingredient-group/IngredientGroupView.vue.d.ts → components/PremiumUpgradePage.vue.d.ts} +0 -1
- package/dist/components/TemplatePublishDialog.d.ts +2 -0
- package/dist/components/TemplatePublishDialog.spec.d.ts +1 -0
- package/dist/composable/defineApi.d.ts +1 -1
- package/dist/{date2-2XjepIqc.js → date2-CvgxwuM1.js} +1 -1
- package/dist/{dayjs.min-CNp5DLBB.js → dayjs.min-BOKV8T5Q.js} +1 -1
- package/dist/{decimal-Z7oJdGk8.js → decimal-5xyg1WLu.js} +2 -2
- package/dist/{defineDeepModel-CMxJn_H2.js → defineDeepModel-BwB9XcMu.js} +5 -5
- package/dist/{duplicate-template-BetV5oy_.js → duplicate-template-DvIgjm4K.js} +1 -1
- package/dist/{feature-CkWaZ-5K.js → feature-CsPbMoeJ.js} +2088 -2853
- package/dist/feature-flags/core.d.ts +3 -2
- package/dist/feature-flags/portal-feature-catalog.d.ts +1 -6
- package/dist/feature-flags/portal-feature-catalog.spec.d.ts +1 -0
- package/dist/feature-flags/vue.d.ts +24 -1
- package/dist/feature-flags/vue.spec.d.ts +1 -0
- package/dist/{format-time-from-id-DatSI9uD.js → format-time-from-id-DD6Ik9EK.js} +1 -1
- package/dist/{format-unit-display-DM5We5cx.js → format-unit-display-DG564AN3.js} +209 -208
- package/dist/helper/country.spec.d.ts +1 -0
- package/dist/helper/menu-usage-module.d.ts +2 -1
- package/dist/helper/number.d.ts +5 -1
- package/dist/helper/rules.d.ts +1 -1
- package/dist/{id-to-date-Dxw2jKhy.js → id-to-date-DoN7OM21.js} +1 -1
- package/dist/{import-export.helper-BOmADwUw.js → import-export.helper-CevBRFTZ.js} +17 -17
- package/dist/{index-7fz5sGDO.js → index-BIh1oTQH.js} +3 -3
- package/dist/{index-CIH9NCvs.js → index-BP3Avix6.js} +1 -1
- package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
- package/dist/index-eGvSlWMU.js +1892 -0
- package/dist/{index-ClYgfwW7.js → index-mzXhLwrZ.js} +2234 -2163
- package/dist/layout/SingleColumnLayout.vue.d.ts +1 -1
- package/dist/{lz-string-CCsc2X7t.js → lz-string-DMjWYCk6.js} +1 -1
- package/dist/menu-usage-module-Bq_KLsO4.js +74 -0
- package/dist/{netsuite-COumFXC2.js → netsuite-ZtoZBFBX.js} +254 -263
- package/dist/netsuite-explorer-h_vID_ao.js +79 -0
- package/dist/{predefined-templates-Bw9A9LNA.js → predefined-templates-CdurFRJ4.js} +1 -1
- package/dist/production-run-list-DR1WsaBR.js +61 -0
- package/dist/{purchase-order-template-BaZjdGq8.js → purchase-order-template-BVdCftEo.js} +1 -1
- package/dist/{recalculationUtils-t32wAurN.js → recalculationUtils-DBG8HGiJ.js} +1 -1
- package/dist/router/name.d.ts +2 -2
- package/dist/{row-action.enum-BDeudY4d.js → row-action.enum-CGyAg4dC.js} +1 -1
- package/dist/rules-DbFiOzUd.js +243 -0
- package/dist/{stock-B59sfN28.js → stock-BATH4SoA.js} +1 -1
- package/dist/stock-DXxsDPEO.js +78 -0
- package/dist/stores/feature.d.ts +40 -10
- package/dist/stores/feature.load-state.spec.d.ts +1 -0
- package/dist/stores/inventory.d.ts +0 -47
- package/dist/stores/inventory.no-location.spec.d.ts +1 -0
- package/dist/stores/supplier.d.ts +1 -1
- package/dist/stores/warehouse.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-DnbLJ_cS.js → supplier-CKXQmBZn.js} +2 -2
- package/dist/{surcharge-C1uE3uQa.js → surcharge-qupRJjjO.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-DjfyrFHJ.js → uom-rules-ALtgjANX.js} +1 -1
- package/dist/{use-ingredient-select-dialog-7A7fWyEH.js → use-ingredient-select-dialog-C1sJpjfV.js} +2 -2
- package/dist/use-inventory-binding-dialog-tl7-epun.js +113 -0
- package/dist/{use-template-enabled-locations-C-Hqqgzt.js → use-template-enabled-locations-DWk2ndDC.js} +2 -2
- package/dist/{use-transfer-locations-CqsXvOI2.js → use-transfer-locations-CsdYY996.js} +14 -14
- package/dist/{useHrmPermission-BzwD3Ctc.js → useHrmPermission-BtuqUrwj.js} +1 -1
- package/dist/{useNavigationMenu-PrZg9HS7.js → useNavigationMenu-DKxKXykI.js} +111 -117
- package/dist/{useSseClient-FCyLWq8k.js → useSseClient-CRfpltKK.js} +1 -1
- package/dist/views/changelog/composables/use-snapshot-diff.d.ts +2 -2
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +1 -1
- package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
- package/dist/views/import/helper/submit-rows.d.ts +1 -1
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/recipe-amount-validation.spec.d.ts +1 -0
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -1
- package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +3 -1
- package/dist/views/{ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts → integration/IntegrationPlatformView.vue.d.ts} +11 -24
- package/dist/views/integration/components/Synergy/importFn.spec.d.ts +1 -0
- package/dist/views/integration/components/Xilnex/importFn.spec.d.ts +1 -0
- package/dist/views/integration/helper/opening-balance.d.ts +22 -0
- package/dist/views/integration/helper/opening-balance.spec.d.ts +1 -0
- package/dist/views/production-run/ProductionRunDetailPage.spec.d.ts +1 -0
- package/dist/views/{integration/components/IntegrationSyncLogTab.vue.d.ts → production-run/ProductionRunDetailPage.vue.d.ts} +2 -2
- package/dist/views/production-run/ProductionRunPage.vue.d.ts +2 -0
- package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +2 -2
- package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +4 -4
- package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +19 -9
- package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +4 -4
- package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +4 -4
- package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +14 -14
- package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +4 -4
- package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +4 -4
- package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +1 -1
- package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +6 -6
- package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -1
- package/dist/views/production-run/shared/model/production-run-list.d.ts +1 -1
- package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +1 -1
- package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +1 -1
- package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +2 -2
- package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +3 -3
- package/dist/views/receive-request/composables/netsuite-order-label.d.ts +11 -0
- package/dist/views/receive-request/composables/netsuite-order-label.spec.d.ts +1 -0
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +1 -1
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +9 -9
- package/dist/views/receive-request/composables/use-receive-request-form.spec.d.ts +1 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +7 -7
- package/dist/views/receive-request/import/export.spec.d.ts +1 -0
- package/dist/views/receive-request-bulk/BulkReceiveRequestPage.vue.d.ts +2 -0
- package/dist/views/receive-request-bulk/components/CreateTransferWizard.spec.d.ts +1 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +20 -20
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.readiness.spec.d.ts +1 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +2 -2
- package/dist/views/recipe/components/recipe-bulk-editor/components/ModificationCard.spec.d.ts +1 -0
- package/dist/views/recipe/helper/bulk-edit-simulation.helper.d.ts +0 -1
- package/dist/views/recipe/helper/import-recipe.d.ts +32 -2
- package/dist/views/recipe/helper/import-recipe.spec.d.ts +1 -0
- package/dist/views/settings/PlanLicenseDisplay.spec.d.ts +1 -0
- package/dist/views/settings/PlanLicenseDisplay.vue.d.ts +2 -0
- package/dist/views/stock/components/StockRecordCard.spec.d.ts +1 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +19 -865
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.spec.d.ts +1 -0
- package/dist/views/stock/components/dialog/BillInventoryInfoDialog.spec.d.ts +1 -0
- package/dist/views/stock/components/dialog/BillInventoryInfoDialog.vue.d.ts +36 -0
- package/dist/views/stock/components/dialog/ConvertSkuDialog.spec.d.ts +1 -0
- package/dist/views/stock/composables/use-last-closing-summary.d.ts +4 -0
- package/dist/views/stock/composables/use-last-closing-summary.spec.d.ts +1 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts +1 -0
- package/dist/views/transfer-template/helpers/template-item.error.helper.spec.d.ts +1 -0
- package/dist/views/unit/composables/use-unit-form.spec.d.ts +1 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -2
- package/dist/vue-CVco8McV.js +290 -0
- package/dist/{vue-i18n-C34f-Tph.js → vue-i18n-C443zpcA.js} +450 -450
- package/dist/{xlsx.util-X4amwe_k.js → xlsx.util-5_47Kslf.js} +2 -2
- package/package.json +71 -66
- package/dist/App-DVHgBTHP.js +0 -1499
- package/dist/BulkReceiveRequestView-DxHWrfbi.js +0 -2656
- package/dist/ClosingHistoryView-kdpYGy1Y.js +0 -761
- package/dist/DeprecateSoonWarningDialog.vue_vue_type_script_setup_true_lang-5Cc08Svt.js +0 -58
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C1C8aDA6.js +0 -61
- package/dist/FmMultiselectDialog-yVPY5aBV.js +0 -77
- package/dist/ImportView-DQrVMzxN.js +0 -1302
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-7lT5UZc8.js +0 -51
- package/dist/IngredientGroupView-BMUnEaY7.js +0 -1000
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CaBOK7NC.js +0 -563
- package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DzzTPdyF.js +0 -72
- package/dist/ProductionRunDetailView-Cw-ecaey.js +0 -2312
- package/dist/ProductionRunView-C11eseXQ.js +0 -930
- package/dist/RecipeView-oHDWsT0P.js +0 -3624
- package/dist/SettingsView-QlUNwFhM.js +0 -983
- package/dist/StockView-a8LbVZ_7.js +0 -2614
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
- package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CCCj4WVF.js +0 -299
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CFNPXqt5.js +0 -4796
- package/dist/TransferTemplateView-CzwxOBMQ.js +0 -2326
- package/dist/menu-usage-module-BdjYEk3s.js +0 -57
- package/dist/number-gSLvxNqA.js +0 -138
- package/dist/portal-feature-catalog-yGIESKTc.js +0 -246
- package/dist/random-CSbEbElR.js +0 -10
- package/dist/rules-C1btu0Md.js +0 -98
- package/dist/stock-BF86TMW0.js +0 -75
- package/dist/use-inventory-binding-dialog-Cc1tjTfV.js +0 -152
- package/dist/usePromise-CbVUCxhj.js +0 -29
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -10
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -21
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
- package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
- package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +0 -31
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -77
- package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { a as g } from "./FmMultiselectDialog-DCaRlBIy.js";
|
|
2
|
-
import { a as P } from "./app-yvK__CBL.js";
|
|
3
|
-
import { useDialog as E } from "@feedmepos/ui-library";
|
|
4
|
-
function A() {
|
|
5
|
-
const u = P(), _ = E();
|
|
6
|
-
async function b(e, m, s, f = []) {
|
|
7
|
-
var i, o;
|
|
8
|
-
const y = e.filter((n) => n.type === "SKU"), l = e.filter((n) => n.type !== "SKU"), c = /* @__PURE__ */ new Set();
|
|
9
|
-
if (s)
|
|
10
|
-
for (const n of u.skus)
|
|
11
|
-
!f.some((a) => a === n._id) && n._id !== s && !((o = (i = n.convert) == null ? void 0 : i.inventoryBindings) != null && o.some((a) => a.id === s)) || c.add(n._id);
|
|
12
|
-
const t = u.skus.map((n) => ({
|
|
13
|
-
label: n.name,
|
|
14
|
-
sublabel: `${n.code}${c.has(n._id) ? " (Cannot bind, will cause recursive binding)" : ""}`,
|
|
15
|
-
value: n,
|
|
16
|
-
disabled: c.has(n._id)
|
|
17
|
-
})), p = t.filter(
|
|
18
|
-
(n) => y.find((d) => d.id === n.value._id) && !c.has(n.value._id)
|
|
19
|
-
).map((n) => n.value);
|
|
20
|
-
_.open({
|
|
21
|
-
title: "Select ingredients",
|
|
22
|
-
contentComponent: g,
|
|
23
|
-
contentComponentProps: {
|
|
24
|
-
items: t,
|
|
25
|
-
modelValue: p,
|
|
26
|
-
virtualScroll: !0
|
|
27
|
-
},
|
|
28
|
-
primaryActions: {
|
|
29
|
-
text: "Confirm",
|
|
30
|
-
close: !0
|
|
31
|
-
},
|
|
32
|
-
secondaryActions: {
|
|
33
|
-
text: "Close",
|
|
34
|
-
close: !0,
|
|
35
|
-
variant: "tertiary"
|
|
36
|
-
}
|
|
37
|
-
}).onPrimary((n) => {
|
|
38
|
-
const d = [
|
|
39
|
-
...l,
|
|
40
|
-
...e.filter((a) => n.find((r) => r._id === a.id)),
|
|
41
|
-
...n.filter((a) => !e.find((r) => r.id === a._id)).map((a) => ({
|
|
42
|
-
type: "SKU",
|
|
43
|
-
id: a._id,
|
|
44
|
-
amount: {
|
|
45
|
-
amount: 1,
|
|
46
|
-
precision: 0
|
|
47
|
-
}
|
|
48
|
-
}))
|
|
49
|
-
];
|
|
50
|
-
m(d);
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
async function v(e, m, s = []) {
|
|
54
|
-
var p;
|
|
55
|
-
const f = e.filter((i) => i.type === "RECIPE"), y = e.filter((i) => i.type !== "RECIPE"), l = /* @__PURE__ */ new Set();
|
|
56
|
-
if (s.length)
|
|
57
|
-
for (const i of u.recipes) {
|
|
58
|
-
const o = ((p = u.recipeBindingFlattenCache[i._id]) == null ? void 0 : p.inventoryBindings) ?? [], n = o.some(
|
|
59
|
-
(r) => r.bindingPaths.some((S) => s.some((h) => h === S.id))
|
|
60
|
-
), d = o.some(
|
|
61
|
-
(r) => "success" in r && s.includes(r.ingredient._id)
|
|
62
|
-
);
|
|
63
|
-
(s.some((r) => r === i._id) || n || d) && l.add(i._id);
|
|
64
|
-
}
|
|
65
|
-
const c = u.recipes.filter((i) => !s.includes(i._id)).map((i) => ({
|
|
66
|
-
label: i.name,
|
|
67
|
-
sublabel: l.has(i._id) ? "(Cannot bind, will cause recursive binding)" : `${i.contains.length} inventory bindings`,
|
|
68
|
-
value: i,
|
|
69
|
-
disabled: l.has(i._id)
|
|
70
|
-
})), t = c.filter(
|
|
71
|
-
(i) => f.find((o) => o.id === i.value._id) && !l.has(i.value._id)
|
|
72
|
-
).map((i) => i.value);
|
|
73
|
-
_.open({
|
|
74
|
-
title: "Select recipes",
|
|
75
|
-
contentComponent: g,
|
|
76
|
-
contentComponentProps: {
|
|
77
|
-
items: c,
|
|
78
|
-
modelValue: t,
|
|
79
|
-
virtualScroll: !0
|
|
80
|
-
},
|
|
81
|
-
primaryActions: {
|
|
82
|
-
text: "Confirm",
|
|
83
|
-
close: !0
|
|
84
|
-
},
|
|
85
|
-
secondaryActions: {
|
|
86
|
-
text: "Close",
|
|
87
|
-
close: !0,
|
|
88
|
-
variant: "tertiary"
|
|
89
|
-
}
|
|
90
|
-
}).onPrimary((i) => {
|
|
91
|
-
const o = [
|
|
92
|
-
...e.filter((n) => i.find((d) => d._id === n.id)),
|
|
93
|
-
...i.filter((n) => !e.find((d) => d.id === n._id)).map((n) => ({
|
|
94
|
-
type: "RECIPE",
|
|
95
|
-
id: n._id,
|
|
96
|
-
amount: {
|
|
97
|
-
amount: 1,
|
|
98
|
-
precision: 0
|
|
99
|
-
}
|
|
100
|
-
})),
|
|
101
|
-
...y
|
|
102
|
-
];
|
|
103
|
-
m(o);
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
async function C(e, m, s = []) {
|
|
107
|
-
const f = e.filter((t) => t.type === "SKU_GROUP"), y = e.filter((t) => t.type !== "SKU_GROUP"), l = u.skuGroups.filter((t) => !s.includes(t._id)).map((t) => ({
|
|
108
|
-
label: t.name,
|
|
109
|
-
value: t
|
|
110
|
-
})), c = l.filter((t) => f.find((p) => p.id === t.value._id)).map((t) => t.value);
|
|
111
|
-
_.open({
|
|
112
|
-
title: "Select ingredient group",
|
|
113
|
-
contentComponent: g,
|
|
114
|
-
contentComponentProps: {
|
|
115
|
-
items: l,
|
|
116
|
-
modelValue: c,
|
|
117
|
-
virtualScroll: !0
|
|
118
|
-
},
|
|
119
|
-
primaryActions: {
|
|
120
|
-
text: "Confirm",
|
|
121
|
-
close: !0
|
|
122
|
-
},
|
|
123
|
-
secondaryActions: {
|
|
124
|
-
text: "Close",
|
|
125
|
-
close: !0,
|
|
126
|
-
variant: "tertiary"
|
|
127
|
-
}
|
|
128
|
-
}).onPrimary((t) => {
|
|
129
|
-
const p = [
|
|
130
|
-
...e.filter((i) => t.find((o) => o._id === i.id)),
|
|
131
|
-
...t.filter((i) => !e.find((o) => o.id === i._id)).map((i) => ({
|
|
132
|
-
type: "SKU_GROUP",
|
|
133
|
-
id: i._id,
|
|
134
|
-
amount: {
|
|
135
|
-
amount: 1,
|
|
136
|
-
precision: 0
|
|
137
|
-
}
|
|
138
|
-
})),
|
|
139
|
-
...y
|
|
140
|
-
];
|
|
141
|
-
m(p);
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
return {
|
|
145
|
-
promptIngredientsBinding: b,
|
|
146
|
-
promptRecipesBinding: v,
|
|
147
|
-
promptIngredientGroupsBinding: C
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
export {
|
|
151
|
-
A as u
|
|
152
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ref as c } from "vue";
|
|
2
|
-
var n = /* @__PURE__ */ ((r) => (r.loading = "loading", r.error = "error", r.success = "success", r))(n || {});
|
|
3
|
-
function i(r) {
|
|
4
|
-
const e = c({
|
|
5
|
-
state: "loading"
|
|
6
|
-
/* loading */
|
|
7
|
-
}), s = async (a) => {
|
|
8
|
-
const t = a || r;
|
|
9
|
-
if (!t) {
|
|
10
|
-
e.value = { state: "error", error: new Error("No promise task provided") };
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
e.value = {
|
|
14
|
-
state: "loading"
|
|
15
|
-
/* loading */
|
|
16
|
-
};
|
|
17
|
-
try {
|
|
18
|
-
const o = await t();
|
|
19
|
-
e.value = { state: "success", data: o };
|
|
20
|
-
} catch (o) {
|
|
21
|
-
e.value = { state: "error", error: o };
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
return r && s(), { result: e, execute: s };
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
n as R,
|
|
28
|
-
i as u
|
|
29
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { IngredientGroupDialogProps } from './IngredientGroupDialogProps';
|
|
2
|
-
import { FormMode } from '@/components/form/form-mode.enum';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IngredientGroupDialogProps>, {
|
|
4
|
-
mode: FormMode;
|
|
5
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:show": (show: boolean) => void;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IngredientGroupDialogProps>, {
|
|
8
|
-
mode: FormMode;
|
|
9
|
-
}>>> & Readonly<{
|
|
10
|
-
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
11
|
-
}>, {
|
|
12
|
-
mode: FormMode;
|
|
13
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
-
} : {
|
|
20
|
-
type: import('vue').PropType<T[K]>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
type __VLS_WithDefaults<P, D> = {
|
|
25
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
-
default: D[K];
|
|
27
|
-
}> : P[K];
|
|
28
|
-
};
|
|
29
|
-
type __VLS_Prettify<T> = {
|
|
30
|
-
[K in keyof T]: T[K];
|
|
31
|
-
} & {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { FormMode } from '@/components/form/form-mode.enum';
|
|
2
|
-
export type IngredientGroupDialogModelValue = FdoInventorySkuGroup;
|
|
3
|
-
export interface IngredientGroupDialogProps {
|
|
4
|
-
show?: boolean;
|
|
5
|
-
mode?: FormMode;
|
|
6
|
-
modelValue?: IngredientGroupDialogModelValue;
|
|
7
|
-
}
|
|
8
|
-
export interface IngredientGroupDialogEvents {
|
|
9
|
-
(event: 'update:show', show: boolean): void;
|
|
10
|
-
}
|
package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { IngredientGroupFormProps } from './IngredientGroupFormProps';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IngredientGroupFormProps>>, {
|
|
3
|
-
validateInputs: () => void;
|
|
4
|
-
resetInputsValidation: () => void;
|
|
5
|
-
resetInputs: () => void;
|
|
6
|
-
getFormData?: (() => unknown) | undefined;
|
|
7
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
-
"validation-success": () => void;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IngredientGroupFormProps>>> & Readonly<{
|
|
10
|
-
"onValidation-success"?: (() => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
-
} : {
|
|
18
|
-
type: import('vue').PropType<T[K]>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { FormMode } from '@/components/form/form-mode.enum';
|
|
2
|
-
import type { FdoMenuV4 } from '@feedmepos/menu/entity';
|
|
3
|
-
export type IngredientGroupFormModelValue = FdoInventorySkuGroup;
|
|
4
|
-
export interface IngredientGroupFormProps {
|
|
5
|
-
mode?: FormMode;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
modelValue?: IngredientGroupFormModelValue;
|
|
8
|
-
menu?: FdoMenuV4;
|
|
9
|
-
}
|
|
10
|
-
export interface IngredientGroupFormEvents {
|
|
11
|
-
(event: 'validation-success'): void;
|
|
12
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { type Ref } from 'vue';
|
|
2
|
-
import type { IngredientGroupDialogProps } from '../components/ingredient-group-dialog/IngredientGroupDialogProps';
|
|
3
|
-
export declare const useIngredientGroupActions: import("pinia").StoreDefinition<"ingredientGroupactions", import("pinia")._UnwrapAll<Pick<{
|
|
4
|
-
createIngredientGroup: () => void;
|
|
5
|
-
updateIngredientGroup: (data: FdoInventorySkuGroup) => Promise<void>;
|
|
6
|
-
deleteIngredientGroup: (group: FdoInventorySkuGroup, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
|
|
7
|
-
importIngredientGroups: () => void;
|
|
8
|
-
exportIngredientGroups: () => void;
|
|
9
|
-
ingredientGroupDialogProps: Ref<IngredientGroupDialogProps | undefined, IngredientGroupDialogProps | undefined>;
|
|
10
|
-
}, "ingredientGroupDialogProps">>, Pick<{
|
|
11
|
-
createIngredientGroup: () => void;
|
|
12
|
-
updateIngredientGroup: (data: FdoInventorySkuGroup) => Promise<void>;
|
|
13
|
-
deleteIngredientGroup: (group: FdoInventorySkuGroup, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
|
|
14
|
-
importIngredientGroups: () => void;
|
|
15
|
-
exportIngredientGroups: () => void;
|
|
16
|
-
ingredientGroupDialogProps: Ref<IngredientGroupDialogProps | undefined, IngredientGroupDialogProps | undefined>;
|
|
17
|
-
}, never>, Pick<{
|
|
18
|
-
createIngredientGroup: () => void;
|
|
19
|
-
updateIngredientGroup: (data: FdoInventorySkuGroup) => Promise<void>;
|
|
20
|
-
deleteIngredientGroup: (group: FdoInventorySkuGroup, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
|
|
21
|
-
importIngredientGroups: () => void;
|
|
22
|
-
exportIngredientGroups: () => void;
|
|
23
|
-
ingredientGroupDialogProps: Ref<IngredientGroupDialogProps | undefined, IngredientGroupDialogProps | undefined>;
|
|
24
|
-
}, "createIngredientGroup" | "updateIngredientGroup" | "deleteIngredientGroup" | "importIngredientGroups" | "exportIngredientGroups">>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { type ColumnDef } from '@tanstack/vue-table';
|
|
2
|
-
export declare const enum ItemColumn {
|
|
3
|
-
Delete = "delete",
|
|
4
|
-
SkuRef = "skuRef",
|
|
5
|
-
UnitOption = "unitOption",
|
|
6
|
-
Unit = "unit",
|
|
7
|
-
Priority = "priority",
|
|
8
|
-
Default = "default",
|
|
9
|
-
Move = "move"
|
|
10
|
-
}
|
|
11
|
-
export declare function useIngredientGroupRuleItem(controller: {
|
|
12
|
-
get disabled(): boolean | undefined | null;
|
|
13
|
-
get skuRefs(): FdoSkuGroupRuleSkuRef[];
|
|
14
|
-
set skuRefs(value: FdoSkuGroupRuleSkuRef[]);
|
|
15
|
-
isDefaultList: boolean;
|
|
16
|
-
allowOverride?: boolean;
|
|
17
|
-
}): {
|
|
18
|
-
readonly columnDefs: ColumnDef<{
|
|
19
|
-
default?: boolean | null | undefined;
|
|
20
|
-
trackingMeasurement?: string | null | undefined;
|
|
21
|
-
priority?: number | null | undefined;
|
|
22
|
-
_id: string;
|
|
23
|
-
}>[];
|
|
24
|
-
promptAddIngredient: () => Promise<void>;
|
|
25
|
-
columnVisibility: {
|
|
26
|
-
readonly delete: boolean;
|
|
27
|
-
readonly unit: boolean;
|
|
28
|
-
readonly unitOption: boolean;
|
|
29
|
-
readonly move: false;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { type ColumnDef } from '@feedmepos/ui-library';
|
|
2
|
-
export declare const useIngredientGroupTable: import("pinia").StoreDefinition<"ingredientGroupTable", import("pinia")._UnwrapAll<Pick<{
|
|
3
|
-
fetchIngredientGroups: () => Promise<void>;
|
|
4
|
-
loading: import("vue").Ref<boolean, boolean>;
|
|
5
|
-
columnDefs: import("vue").ComputedRef<ColumnDef<{
|
|
6
|
-
rules?: {
|
|
7
|
-
rule?: any;
|
|
8
|
-
_id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
skuRefs: {
|
|
11
|
-
default?: boolean | null | undefined;
|
|
12
|
-
trackingMeasurement?: string | null | undefined;
|
|
13
|
-
priority?: number | null | undefined;
|
|
14
|
-
_id: string;
|
|
15
|
-
}[];
|
|
16
|
-
}[] | null | undefined;
|
|
17
|
-
ref?: string | null | undefined;
|
|
18
|
-
defaultSkuRefs?: {
|
|
19
|
-
default?: boolean | null | undefined;
|
|
20
|
-
trackingMeasurement?: string | null | undefined;
|
|
21
|
-
priority?: number | null | undefined;
|
|
22
|
-
_id: string;
|
|
23
|
-
}[] | null | undefined;
|
|
24
|
-
_id: string;
|
|
25
|
-
name: string;
|
|
26
|
-
}>[]>;
|
|
27
|
-
}, "loading">>, Pick<{
|
|
28
|
-
fetchIngredientGroups: () => Promise<void>;
|
|
29
|
-
loading: import("vue").Ref<boolean, boolean>;
|
|
30
|
-
columnDefs: import("vue").ComputedRef<ColumnDef<{
|
|
31
|
-
rules?: {
|
|
32
|
-
rule?: any;
|
|
33
|
-
_id: string;
|
|
34
|
-
name: string;
|
|
35
|
-
skuRefs: {
|
|
36
|
-
default?: boolean | null | undefined;
|
|
37
|
-
trackingMeasurement?: string | null | undefined;
|
|
38
|
-
priority?: number | null | undefined;
|
|
39
|
-
_id: string;
|
|
40
|
-
}[];
|
|
41
|
-
}[] | null | undefined;
|
|
42
|
-
ref?: string | null | undefined;
|
|
43
|
-
defaultSkuRefs?: {
|
|
44
|
-
default?: boolean | null | undefined;
|
|
45
|
-
trackingMeasurement?: string | null | undefined;
|
|
46
|
-
priority?: number | null | undefined;
|
|
47
|
-
_id: string;
|
|
48
|
-
}[] | null | undefined;
|
|
49
|
-
_id: string;
|
|
50
|
-
name: string;
|
|
51
|
-
}>[]>;
|
|
52
|
-
}, "columnDefs">, Pick<{
|
|
53
|
-
fetchIngredientGroups: () => Promise<void>;
|
|
54
|
-
loading: import("vue").Ref<boolean, boolean>;
|
|
55
|
-
columnDefs: import("vue").ComputedRef<ColumnDef<{
|
|
56
|
-
rules?: {
|
|
57
|
-
rule?: any;
|
|
58
|
-
_id: string;
|
|
59
|
-
name: string;
|
|
60
|
-
skuRefs: {
|
|
61
|
-
default?: boolean | null | undefined;
|
|
62
|
-
trackingMeasurement?: string | null | undefined;
|
|
63
|
-
priority?: number | null | undefined;
|
|
64
|
-
_id: string;
|
|
65
|
-
}[];
|
|
66
|
-
}[] | null | undefined;
|
|
67
|
-
ref?: string | null | undefined;
|
|
68
|
-
defaultSkuRefs?: {
|
|
69
|
-
default?: boolean | null | undefined;
|
|
70
|
-
trackingMeasurement?: string | null | undefined;
|
|
71
|
-
priority?: number | null | undefined;
|
|
72
|
-
_id: string;
|
|
73
|
-
}[] | null | undefined;
|
|
74
|
-
_id: string;
|
|
75
|
-
name: string;
|
|
76
|
-
}>[]>;
|
|
77
|
-
}, "fetchIngredientGroups">>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { type Ref } from 'vue';
|
|
2
|
-
import { type IntegrationSyncLogEntry, type SyncLogQueryParams, type SyncLogStatsEntry } from '@/api/integration-sync-log';
|
|
3
|
-
export declare function useIntegrationSyncLog(provider: string): {
|
|
4
|
-
logs: Ref<IntegrationSyncLogEntry[], IntegrationSyncLogEntry[]>;
|
|
5
|
-
stats: Ref<SyncLogStatsEntry[], SyncLogStatsEntry[]>;
|
|
6
|
-
total: Ref<number, number>;
|
|
7
|
-
page: Ref<number, number>;
|
|
8
|
-
limit: Ref<number, number>;
|
|
9
|
-
isLoading: Ref<boolean, boolean>;
|
|
10
|
-
filters: Ref<{
|
|
11
|
-
provider?: string | undefined;
|
|
12
|
-
internalId?: string | undefined;
|
|
13
|
-
externalId?: string | undefined;
|
|
14
|
-
queueName?: string | undefined;
|
|
15
|
-
jobId?: string | undefined;
|
|
16
|
-
messageSearch?: string | undefined;
|
|
17
|
-
metadataRecordType?: string | undefined;
|
|
18
|
-
startDate?: string | undefined;
|
|
19
|
-
endDate?: string | undefined;
|
|
20
|
-
page?: number | undefined;
|
|
21
|
-
limit?: number | undefined;
|
|
22
|
-
}, SyncLogQueryParams | {
|
|
23
|
-
provider?: string | undefined;
|
|
24
|
-
internalId?: string | undefined;
|
|
25
|
-
externalId?: string | undefined;
|
|
26
|
-
queueName?: string | undefined;
|
|
27
|
-
jobId?: string | undefined;
|
|
28
|
-
messageSearch?: string | undefined;
|
|
29
|
-
metadataRecordType?: string | undefined;
|
|
30
|
-
startDate?: string | undefined;
|
|
31
|
-
endDate?: string | undefined;
|
|
32
|
-
page?: number | undefined;
|
|
33
|
-
limit?: number | undefined;
|
|
34
|
-
}>;
|
|
35
|
-
fetchLogs: () => Promise<void>;
|
|
36
|
-
fetchStats: () => Promise<void>;
|
|
37
|
-
retry: (logId: string) => Promise<{
|
|
38
|
-
success: boolean;
|
|
39
|
-
message: string;
|
|
40
|
-
}>;
|
|
41
|
-
updateFilters: (newFilters: Partial<SyncLogQueryParams>) => void;
|
|
42
|
-
changePage: (newPage: number) => void;
|
|
43
|
-
startPolling: (intervalMs?: number) => void;
|
|
44
|
-
stopPolling: () => void;
|
|
45
|
-
};
|