@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
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { F as y } from "./decimal-5xyg1WLu.js";
|
|
2
|
+
import { F as m } from "./app-D38sV2ls.js";
|
|
3
|
+
function h(n, a, t) {
|
|
4
|
+
const i = [];
|
|
5
|
+
for (const o of n)
|
|
6
|
+
if (o.type === m.enum.SKU)
|
|
7
|
+
i.push({ ...o, recipeIds: [...a] });
|
|
8
|
+
else if (o.type === m.enum.RECIPE) {
|
|
9
|
+
const e = t[o.id];
|
|
10
|
+
e && !a.has(o.id) && i.push(
|
|
11
|
+
...h(e.contains, /* @__PURE__ */ new Set([...a, o.id]), t)
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
return i;
|
|
15
|
+
}
|
|
16
|
+
function k(n, a) {
|
|
17
|
+
return y.equal(n, a);
|
|
18
|
+
}
|
|
19
|
+
function c(n) {
|
|
20
|
+
if (n == null) return null;
|
|
21
|
+
const a = n.$and, t = n.$or;
|
|
22
|
+
return Array.isArray(a) && a.length === 0 || Array.isArray(t) && t.length === 0 || Object.keys(n).length === 0 ? null : JSON.stringify(n);
|
|
23
|
+
}
|
|
24
|
+
function p(n) {
|
|
25
|
+
const a = (n ?? []).map((t) => ({
|
|
26
|
+
_id: t._id,
|
|
27
|
+
trackingMeasurement: t.trackingMeasurement ?? null,
|
|
28
|
+
priority: t.priority ?? null,
|
|
29
|
+
default: t.default ?? null
|
|
30
|
+
})).sort((t, i) => t._id.localeCompare(i._id));
|
|
31
|
+
return JSON.stringify(a);
|
|
32
|
+
}
|
|
33
|
+
function g(n) {
|
|
34
|
+
return n.measurement ? y.multiplyDecimal(n.amount, n.measurement.conversion) : n.amount;
|
|
35
|
+
}
|
|
36
|
+
function f(n, a) {
|
|
37
|
+
var o, e;
|
|
38
|
+
if (n.type !== a.type || n.id !== a.id || !k(g(n), g(a))) return !1;
|
|
39
|
+
const t = ((o = n.measurement) == null ? void 0 : o.id) ?? null, i = ((e = a.measurement) == null ? void 0 : e.id) ?? null;
|
|
40
|
+
return !(t !== i || c(n.rules) !== c(a.rules) || p(n.alternatives) !== p(a.alternatives));
|
|
41
|
+
}
|
|
42
|
+
function b(n, a) {
|
|
43
|
+
return n.type === a.type && n.id === a.id;
|
|
44
|
+
}
|
|
45
|
+
function E(n, a) {
|
|
46
|
+
const t = [];
|
|
47
|
+
let i = [...n.contains];
|
|
48
|
+
for (const e of a)
|
|
49
|
+
switch (e.type) {
|
|
50
|
+
case "remove-binding": {
|
|
51
|
+
const r = i.findIndex(
|
|
52
|
+
(s) => s.type === e.target.type && s.id === e.target.id
|
|
53
|
+
);
|
|
54
|
+
r === -1 ? t.push({ change: e, outcome: "ignored", reason: "Source binding not found in target" }) : (i = [...i.slice(0, r), ...i.slice(r + 1)], t.push({ change: e, outcome: "applied" }));
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
case "add-binding": {
|
|
58
|
+
if (i.find((d) => f(d, e.binding))) {
|
|
59
|
+
t.push({ change: e, outcome: "already-satisfied", reason: "Exact binding already present" });
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
if (i.find((d) => b(d, e.binding))) {
|
|
63
|
+
t.push({ change: e, outcome: "blocked", reason: "A similar but non-exact binding already exists" });
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
if (n.version === "v2" && e.binding.type === "RECIPE") {
|
|
67
|
+
t.push({ change: e, outcome: "blocked", reason: "Cannot add RECIPE binding to a V2 recipe" });
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
if (n.version !== "v2" && (e.binding.alternatives ?? []).length > 0) {
|
|
71
|
+
t.push({ change: e, outcome: "blocked", reason: "Cannot add a binding with alternatives to a non-V2 recipe" });
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
i = [...i, e.binding], t.push({ change: e, outcome: "applied" });
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
case "replace-binding": {
|
|
78
|
+
const r = i.findIndex(
|
|
79
|
+
(l) => l.type === e.from.type && l.id === e.from.id
|
|
80
|
+
), s = i.find((l) => f(l, e.to)), d = i.find((l, u) => u !== r && b(l, e.to) && !f(l, e.to));
|
|
81
|
+
if (r === -1) {
|
|
82
|
+
s ? t.push({ change: e, outcome: "already-satisfied", reason: "Target already has exact replacement" }) : t.push({ change: e, outcome: "ignored", reason: "Source binding not found in target" });
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
if (n.version === "v2" && e.to.type === "RECIPE") {
|
|
86
|
+
t.push({ change: e, outcome: "blocked", reason: "Cannot add RECIPE binding to a V2 recipe" });
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
if (n.version !== "v2" && (e.to.alternatives ?? []).length > 0) {
|
|
90
|
+
t.push({ change: e, outcome: "blocked", reason: "Cannot apply a binding with alternatives to a non-V2 recipe" });
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
if (d) {
|
|
94
|
+
t.push({ change: e, outcome: "blocked", reason: "A similar but non-exact replacement binding already exists" });
|
|
95
|
+
break;
|
|
96
|
+
}
|
|
97
|
+
s ? (i = [...i.slice(0, r), ...i.slice(r + 1)], t.push({ change: e, outcome: "applied", reason: "Source removed; replacement already present" })) : (i = [
|
|
98
|
+
...i.slice(0, r),
|
|
99
|
+
e.to,
|
|
100
|
+
...i.slice(r + 1)
|
|
101
|
+
], t.push({ change: e, outcome: "applied" }));
|
|
102
|
+
break;
|
|
103
|
+
}
|
|
104
|
+
case "update-binding-rule": {
|
|
105
|
+
const r = i.findIndex(
|
|
106
|
+
(u) => u.type === e.target.type && u.id === e.target.id
|
|
107
|
+
);
|
|
108
|
+
if (r === -1) {
|
|
109
|
+
t.push({ change: e, outcome: "ignored", reason: "Binding not found in target" });
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
const s = i[r], d = s.rules ?? null, l = e.rule ?? null;
|
|
113
|
+
if (c(d) === c(l)) {
|
|
114
|
+
t.push({ change: e, outcome: "already-satisfied", reason: "Rule already matches" });
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
i = [
|
|
118
|
+
...i.slice(0, r),
|
|
119
|
+
{ ...s, rules: l },
|
|
120
|
+
...i.slice(r + 1)
|
|
121
|
+
], t.push({ change: e, outcome: "applied" });
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
124
|
+
case "update-alternatives": {
|
|
125
|
+
if (n.version !== "v2") {
|
|
126
|
+
t.push({ change: e, outcome: "blocked", reason: "Cannot update alternatives on a non-V2 recipe" });
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
const r = i.findIndex(
|
|
130
|
+
(u) => u.type === e.target.type && u.id === e.target.id
|
|
131
|
+
);
|
|
132
|
+
if (r === -1) {
|
|
133
|
+
t.push({ change: e, outcome: "ignored", reason: "Binding not found in target" });
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
136
|
+
const s = i[r], d = p(s.alternatives), l = p(e.alternatives);
|
|
137
|
+
if (d === l) {
|
|
138
|
+
t.push({ change: e, outcome: "already-satisfied", reason: "Alternatives already match" });
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
i = [
|
|
142
|
+
...i.slice(0, r),
|
|
143
|
+
{ ...s, alternatives: e.alternatives },
|
|
144
|
+
...i.slice(r + 1)
|
|
145
|
+
], t.push({ change: e, outcome: "applied" });
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
return { projected: { ...n, contains: i }, results: t };
|
|
150
|
+
}
|
|
151
|
+
function C(n) {
|
|
152
|
+
switch (n.type) {
|
|
153
|
+
case "add-binding":
|
|
154
|
+
return n.binding.id !== "";
|
|
155
|
+
case "remove-binding":
|
|
156
|
+
return n.target.id !== "";
|
|
157
|
+
case "replace-binding":
|
|
158
|
+
return n.from.id !== "" && n.to.id !== "";
|
|
159
|
+
case "update-binding-rule":
|
|
160
|
+
return n.target.id !== "";
|
|
161
|
+
case "update-alternatives":
|
|
162
|
+
return n.target.id !== "";
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
function I(n) {
|
|
166
|
+
if (n.length === 0) return "no-applicable-changes";
|
|
167
|
+
let a = 0, t = 0, i = 0, o = 0;
|
|
168
|
+
for (const e of n)
|
|
169
|
+
e.outcome === "applied" ? a++ : e.outcome === "blocked" ? t++ : e.outcome === "ignored" ? i++ : e.outcome === "already-satisfied" && o++;
|
|
170
|
+
return t > 0 && a === 0 ? "blocked" : o === n.length ? "already-satisfied" : a > 0 && (i > 0 || t > 0) ? "partially-ignored" : a > 0 ? "will-update" : "no-applicable-changes";
|
|
171
|
+
}
|
|
172
|
+
export {
|
|
173
|
+
I as d,
|
|
174
|
+
h as f,
|
|
175
|
+
C as i,
|
|
176
|
+
c as n,
|
|
177
|
+
E as s
|
|
178
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as u } from "./app-
|
|
1
|
+
import { d as u } from "./app-D38sV2ls.js";
|
|
2
2
|
import { useCoreStore as m } from "@feedmepos/mf-common";
|
|
3
|
-
const
|
|
3
|
+
const p = u((s, a) => {
|
|
4
4
|
function r() {
|
|
5
5
|
var n;
|
|
6
6
|
return `business_${((n = m().currentBusiness.value) == null ? void 0 : n._id) ?? ""}`;
|
|
@@ -87,7 +87,7 @@ const i = u((s, a) => {
|
|
|
87
87
|
},
|
|
88
88
|
async publishSingleDoc(e, t) {
|
|
89
89
|
const n = r(), o = `${s.inventoryBackendUrl}/${n}/closing-template/publish/${e}`;
|
|
90
|
-
return a.post(o, { locationDbNames: t });
|
|
90
|
+
return a.post(o, { locationDbNames: t }, void 0, 6e5);
|
|
91
91
|
},
|
|
92
92
|
async unpublishSingleDoc(e, t) {
|
|
93
93
|
const n = r(), o = `${s.inventoryBackendUrl}/${n}/closing-template/unpublish/${e}`;
|
|
@@ -145,5 +145,5 @@ const i = u((s, a) => {
|
|
|
145
145
|
});
|
|
146
146
|
export {
|
|
147
147
|
$ as a,
|
|
148
|
-
|
|
148
|
+
p as u
|
|
149
149
|
};
|
|
@@ -4,12 +4,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4
4
|
tier: InventoryPlanTier;
|
|
5
5
|
category?: PortalFeatureCategory | undefined;
|
|
6
6
|
deprecateSoon?: boolean | undefined;
|
|
7
|
+
/** Catalogue key used to check whether the capability is already switched on by a rollout flag. */
|
|
8
|
+
featureKey?: string | undefined;
|
|
7
9
|
/** Keep plan labels visible when describing a capability rather than prompting an upgrade. */
|
|
8
10
|
informative?: boolean | undefined;
|
|
9
11
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
12
|
tier: InventoryPlanTier;
|
|
11
13
|
category?: PortalFeatureCategory | undefined;
|
|
12
14
|
deprecateSoon?: boolean | undefined;
|
|
15
|
+
/** Catalogue key used to check whether the capability is already switched on by a rollout flag. */
|
|
16
|
+
featureKey?: string | undefined;
|
|
13
17
|
/** Keep plan labels visible when describing a capability rather than prompting an upgrade. */
|
|
14
18
|
informative?: boolean | undefined;
|
|
15
19
|
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import type { FeatureResult } from '@/feature-flags/core';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
featureKey: string;
|
|
4
|
+
compact?: boolean | undefined;
|
|
5
|
+
showLockedContent?: boolean | undefined;
|
|
4
6
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
7
|
locked: (result: FeatureResult) => void;
|
|
6
8
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
9
|
featureKey: string;
|
|
10
|
+
compact?: boolean | undefined;
|
|
11
|
+
showLockedContent?: boolean | undefined;
|
|
8
12
|
}>>> & Readonly<{
|
|
9
13
|
onLocked?: ((result: FeatureResult) => any) | undefined;
|
|
10
14
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
15
|
+
locked?(_: {}): any;
|
|
11
16
|
default?(_: {}): any;
|
|
12
17
|
}>;
|
|
13
18
|
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
title?(_: {}): any;
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
actions?(_: {}): any;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
featureKey: string;
|
|
3
|
+
/**
|
|
4
|
+
* For pages that switch the current location themselves (e.g. the bulk page
|
|
5
|
+
* sets it per PO or wizard step): once entered, the page stays mounted while
|
|
6
|
+
* the next location's flags load, and leaves only on a confirmed off or error.
|
|
7
|
+
*/
|
|
8
|
+
keepAcrossLocations?: boolean | undefined;
|
|
9
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
featureKey: string;
|
|
11
|
+
/**
|
|
12
|
+
* For pages that switch the current location themselves (e.g. the bulk page
|
|
13
|
+
* sets it per PO or wizard step): once entered, the page stays mounted while
|
|
14
|
+
* the next location's flags load, and leaves only on a confirmed off or error.
|
|
15
|
+
*/
|
|
16
|
+
keepAcrossLocations?: boolean | undefined;
|
|
17
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -19,8 +19,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
19
19
|
contentClass: undefined;
|
|
20
20
|
}>>> & Readonly<{}>, {
|
|
21
21
|
title: string;
|
|
22
|
-
contentClass: string;
|
|
23
22
|
class: string;
|
|
23
|
+
contentClass: string;
|
|
24
24
|
selectable: boolean;
|
|
25
25
|
open: boolean;
|
|
26
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
@@ -45,8 +45,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
45
45
|
reason: string[];
|
|
46
46
|
}[]) => any) | undefined;
|
|
47
47
|
}>, {
|
|
48
|
-
disabled: boolean;
|
|
49
48
|
label: string;
|
|
49
|
+
disabled: boolean;
|
|
50
50
|
accept: string;
|
|
51
51
|
maxFileSize: number;
|
|
52
52
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<FmDroppableFieldSlots> & FmDroppableFieldSlots>;
|
|
@@ -61,7 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
61
61
|
type: import("vue").PropType<{
|
|
62
62
|
type: "string" | "number" | "date";
|
|
63
63
|
key: string;
|
|
64
|
-
entity: "
|
|
64
|
+
entity: "item" | "restaurant";
|
|
65
65
|
values?: string[] | undefined;
|
|
66
66
|
options?: {
|
|
67
67
|
value: string;
|
|
@@ -118,7 +118,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
118
118
|
type: import("vue").PropType<{
|
|
119
119
|
type: "string" | "number" | "date";
|
|
120
120
|
key: string;
|
|
121
|
-
entity: "
|
|
121
|
+
entity: "item" | "restaurant";
|
|
122
122
|
values?: string[] | undefined;
|
|
123
123
|
options?: {
|
|
124
124
|
value: string;
|
|
@@ -17,6 +17,7 @@ export interface FmUnitInputProps extends FmTextFieldWithoutModelValue {
|
|
|
17
17
|
stepper?: FdoDecimal | null;
|
|
18
18
|
/** Publish v-model immediately; notifications remain debounced. */
|
|
19
19
|
immediateModelUpdate?: boolean;
|
|
20
|
+
showMeasurementConversion?: boolean;
|
|
20
21
|
}
|
|
21
22
|
export interface FmUnitInputEvents {
|
|
22
23
|
(event: 'update:amount', amount: string): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FmGroupModelValue } from './FmUnitInputProps';
|
|
2
2
|
import type { ValidationResult } from '@feedmepos/ui-library';
|
|
3
3
|
import type { FdoDecimal } from '@feedmepos/core/entity';
|
|
4
|
-
export declare function FmUnitInputAmountIsNumberRule(): (value: FmGroupModelValue) => true | "Must be a number";
|
|
4
|
+
export declare function FmUnitInputAmountIsNumberRule(): (value: FmGroupModelValue) => true | "Number has too many digits" | "Must be a number";
|
|
5
5
|
export declare function FmUnitInputAmountAtLeastRule(minimum: number): (value: FmGroupModelValue) => string | true;
|
|
6
6
|
export declare function FmUnitInputAmountMoreThanRule(minimum: number): (value: FmGroupModelValue) => string | true;
|
|
7
7
|
export declare function FmUnitInputAmountAtMostRule(maximum: number): (value: FmGroupModelValue) => string | true;
|
|
@@ -22,8 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
22
22
|
permissions: undefined;
|
|
23
23
|
mode: string;
|
|
24
24
|
}>>> & Readonly<{}>, {
|
|
25
|
-
permissions: CaslPermission[];
|
|
26
25
|
mode: "all" | "any";
|
|
26
|
+
permissions: CaslPermission[];
|
|
27
27
|
permission: CaslPermission;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
29
29
|
default?(_: {}): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import '@/extensions/array';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3
2
|
export default _default;
|
|
@@ -14,3 +14,5 @@ export interface TemplatePublishDialogProps {
|
|
|
14
14
|
enabledLocations?: FdoInventoryLocation[] | null;
|
|
15
15
|
hideUnpublish?: boolean;
|
|
16
16
|
}
|
|
17
|
+
/** Outlets whose publish record still lists the doc although the doc is no longer enabled there. */
|
|
18
|
+
export declare function pendingRemovalDbNames(publishedRevByLocation: PublishedRevByLocation, docId: string, enabledDbNames: string[] | null | undefined): string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import { useApiStore } from '@/stores/api';
|
|
|
2
2
|
export interface HttpClient {
|
|
3
3
|
withBaseUrl(url: string): Omit<HttpClient, 'withBaseUrl'>;
|
|
4
4
|
get<ResponseBody = any>(url: string, signal?: AbortSignal): Promise<ResponseBody>;
|
|
5
|
-
post<ResponseBody = any>(url: string, body?: any, signal?: AbortSignal): Promise<ResponseBody>;
|
|
5
|
+
post<ResponseBody = any>(url: string, body?: any, signal?: AbortSignal, timeoutMs?: number): Promise<ResponseBody>;
|
|
6
6
|
put<ResponseBody = any>(url: string, body?: any): Promise<ResponseBody>;
|
|
7
7
|
patch<ResponseBody = any>(url: string, body?: any): Promise<ResponseBody>;
|
|
8
8
|
delete<ResponseBody = any>(url: string, body?: any): Promise<ResponseBody>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c,
|
|
1
|
+
import { c as a, ac as u } from "./app-D38sV2ls.js";
|
|
2
2
|
import { getCurrentInstance as d, reactive as l, watch as o } from "vue";
|
|
3
3
|
function g(i = "modelValue", e) {
|
|
4
|
-
var
|
|
5
|
-
const s = ((
|
|
6
|
-
}), t = l(
|
|
4
|
+
var c, n;
|
|
5
|
+
const s = ((c = d()) == null ? void 0 : c.props) ?? {}, f = ((n = d()) == null ? void 0 : n.emit) ?? (() => {
|
|
6
|
+
}), t = l(a(s[i] ?? (e == null ? void 0 : e.default) ?? {})), m = `update:${u(i)}`;
|
|
7
7
|
return e != null && e.watchProps && o(
|
|
8
8
|
() => s[i],
|
|
9
9
|
(r) => {
|
|
10
|
-
r && r !== t && Object.assign(t,
|
|
10
|
+
r && r !== t && Object.assign(t, a(r));
|
|
11
11
|
},
|
|
12
12
|
{ deep: !0, immediate: !0 }
|
|
13
13
|
), o(t, (r) => {
|