@feedmepos/mf-inventory-portal 1.8.0-dev.2 → 1.8.0-dev.21

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.
Files changed (248) hide show
  1. package/dist/App-BxpqrT2x.js +1445 -0
  2. package/dist/{ApprovalView-RaXuWWSu.js → ApprovalView-DZBM9n1Y.js} +26 -25
  3. package/dist/{BindingsDialog-DomvXijP.js → BindingsDialog-jjHrmqY_.js} +2 -2
  4. package/dist/{BindingsPicker-DGnzxEs7.js → BindingsPicker-Dv1KwHIQ.js} +2 -2
  5. package/dist/{BindingsTable-DfG9kWrv.js → BindingsTable-Ch_TlrZu.js} +10 -10
  6. package/dist/BulkReceiveRequestPage-BVB3PNxF.js +2839 -0
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CVekIoiN.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DpHYhOmI.js} +1 -1
  8. package/dist/{ClosingDraftView-C3n66bbh.js → ClosingDraftView-DQQkWYOh.js} +748 -746
  9. package/dist/ClosingHistoryView-CXXd0Csp.js +769 -0
  10. package/dist/{ClosingTemplateView-DwGloYxn.js → ClosingTemplateView-Bf5Ivxjw.js} +22 -21
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-9eY_r8LF.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-C3Y_rwNE.js} +1 -1
  12. package/dist/{DefaultView-JC_e4xgC.js → DefaultView-Bt8ZFV10.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-BBCvI67S.js → DeliveryOrderPrintPreview-BS5ZKe1f.js} +15 -15
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-H4FWc9ga.js → EmailDialog.vue_vue_type_script_setup_true_lang-BvDFKrFF.js} +10077 -9950
  15. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-B389iY-f.js +48 -0
  16. package/dist/FeatureCapabilityGate-BAOroN-j.js +82 -0
  17. package/dist/FeaturePageGate.vue_vue_type_script_setup_true_lang-Xapa8xyy.js +189 -0
  18. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Q8Mptiv3.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CgbvPK8u.js} +1 -1
  19. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CE1_yyHe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DnCj1qv6.js} +2 -2
  20. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGJi3f86.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CUb4VGOc.js} +2 -2
  21. package/dist/{FmMultiselectDialog-DCaRlBIy.js → FmMultiselectDialog-Bz8bNuK2.js} +2 -2
  22. package/dist/FmMultiselectDialog-CosTDuNE.js +123 -0
  23. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-ClaLVtpK.js → FmUnitInput.vue_vue_type_script_setup_true_lang-3OrHiybe.js} +105 -99
  24. package/dist/ImportView-BoTmcCyn.js +1540 -0
  25. package/dist/{IngredientsView-DPj9lBTK.js → IngredientsView-VED94pGW.js} +691 -689
  26. package/dist/{IntegrationExplorerView-CO2wpUR_.js → IntegrationExplorerView-B9ZY9hG1.js} +1537 -1620
  27. package/dist/IntegrationPlatformView-Bar1zj3R.js +13385 -0
  28. package/dist/{IntegrationView-DIeZoey0.js → IntegrationView-BvzBDBGp.js} +2604 -2565
  29. package/dist/{InventoryBindingForm-Cj4_Chue.js → InventoryBindingForm-DWhXHIaL.js} +1 -1
  30. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-mZRrPywY.js +472 -0
  31. package/dist/{InventoryBindingSummary-yzGzd7jJ.js → InventoryBindingSummary-Imo2J8O2.js} +1 -1
  32. package/dist/JsonViewer.vue_vue_type_script_setup_true_lang-C_hg75l0.js +25 -0
  33. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CChCnKxa.js +79 -0
  34. package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-CM3gtYZo.js +19 -0
  35. package/dist/PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-0F-yOcPC.js +79 -0
  36. package/dist/PremiumUpgradePage.vue_vue_type_script_setup_true_lang-DGAxPOEh.js +58 -0
  37. package/dist/ProductionRunDetailPage-KFKeWhhY.js +2317 -0
  38. package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BYyiiAWb.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-CobaPkUr.js} +3053 -3163
  39. package/dist/ProductionRunPage-BrXsPo-A.js +954 -0
  40. package/dist/{PublishView-CPK9NeVF.js → PublishView-_k3N44Pl.js} +3 -3
  41. package/dist/{PurchaseOrderPrintPreview-DosqWQeN.js → PurchaseOrderPrintPreview-DXVEhy-G.js} +17 -17
  42. package/dist/{ReceiveRequestView-BxSkpK2t.js → ReceiveRequestView-ByWddqiL.js} +17 -16
  43. package/dist/RecipeView-C29uNZxj.js +3272 -0
  44. package/dist/SettingsView-CyE6ZM8x.js +1005 -0
  45. package/dist/StockView-BBR404Ie.js +3003 -0
  46. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-GdGJCuc0.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cmnk66T9.js} +1 -1
  47. package/dist/{SupplierView-BKxKoi_0.js → SupplierView-CIB5GCwp.js} +304 -301
  48. package/dist/{SurchargeView-Db4cwhZv.js → SurchargeView-DNtEbO7I.js} +7 -7
  49. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CpkF77Ow.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-ClCi5rLI.js} +2 -2
  50. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js +71 -0
  51. package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C19KOLrQ.js +332 -0
  52. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DD5nMsrn.js +4953 -0
  53. package/dist/TransferTemplateView-BftwH1_W.js +2347 -0
  54. package/dist/{UnitCostHistoryView-CqcyjCCd.js → UnitCostHistoryView-CE-1joTV.js} +4 -4
  55. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DO80_8SZ.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-reJFavQF.js} +4 -4
  56. package/dist/{UnitView-BqdK1AM_.js → UnitView-T-Vo8IpV.js} +111 -106
  57. package/dist/{WarehouseView-COJM9IXM.js → WarehouseView-CzQcj5VY.js} +12 -11
  58. package/dist/{WastageTemplateView-DW3viTHN.js → WastageTemplateView-Cm5_V2zN.js} +19 -18
  59. package/dist/api/bill.d.ts +4 -2
  60. package/dist/api/bill.spec.d.ts +1 -0
  61. package/dist/api/closing.d.ts +1 -0
  62. package/dist/api/feature-flags.d.ts +4 -0
  63. package/dist/api/integration-sync-log.d.ts +0 -13
  64. package/dist/api/license.d.ts +0 -2
  65. package/dist/api/netsuite-explorer.d.ts +1 -0
  66. package/dist/api/stock.d.ts +1 -1
  67. package/dist/{app-yvK__CBL.js → app-DnOtng5V.js} +10177 -10126
  68. package/dist/app.d.ts +151 -164
  69. package/dist/app.js +1 -1
  70. package/dist/bulk-edit-simulation.helper-BZRyNbpM.js +178 -0
  71. package/dist/{closing-template-DezidSM0.js → closing-template-BiJRchG9.js} +4 -4
  72. package/dist/components/FeatureCapabilityBadge.vue.d.ts +4 -0
  73. package/dist/components/FeatureCapabilityGate.spec.d.ts +1 -0
  74. package/dist/components/FeatureCapabilityGate.vue.d.ts +5 -0
  75. package/dist/components/FeatureGateLayout.vue.d.ts +11 -0
  76. package/dist/components/FeaturePageGate.spec.d.ts +1 -0
  77. package/dist/components/FeaturePageGate.vue.d.ts +34 -0
  78. package/dist/components/FmAdminCollapsiblePanel.vue.d.ts +1 -1
  79. package/dist/components/FmDroppableField.vue.d.ts +1 -1
  80. package/dist/components/FmInventoryTableToolbar.vue.d.ts +2 -2
  81. package/dist/components/FmUnitInputProps.d.ts +1 -0
  82. package/dist/components/FmUnitInputRules.d.ts +1 -1
  83. package/dist/components/HrmPermissionGuard.vue.d.ts +1 -1
  84. package/dist/components/NumberPrecisionInput.spec.d.ts +1 -0
  85. package/dist/{views/ingredient-group/IngredientGroupView.vue.d.ts → components/PremiumUpgradePage.vue.d.ts} +0 -1
  86. package/dist/components/TemplatePublishDialog.d.ts +2 -0
  87. package/dist/components/TemplatePublishDialog.spec.d.ts +1 -0
  88. package/dist/composable/defineApi.d.ts +1 -1
  89. package/dist/{date2-2XjepIqc.js → date2-Bzlk0lSj.js} +1 -1
  90. package/dist/{dayjs.min-CNp5DLBB.js → dayjs.min-B8gqMYa7.js} +1 -1
  91. package/dist/{decimal-Z7oJdGk8.js → decimal-utE08Cjv.js} +2 -2
  92. package/dist/{defineDeepModel-CMxJn_H2.js → defineDeepModel-D_tKNP-n.js} +5 -5
  93. package/dist/{duplicate-template-BetV5oy_.js → duplicate-template-lCi99jVD.js} +1 -1
  94. package/dist/{feature-CkWaZ-5K.js → feature-Zeyz4pJe.js} +2089 -2854
  95. package/dist/feature-flags/core.d.ts +4 -2
  96. package/dist/feature-flags/portal-feature-catalog.d.ts +1 -6
  97. package/dist/feature-flags/portal-feature-catalog.spec.d.ts +1 -0
  98. package/dist/feature-flags/vue.d.ts +24 -1
  99. package/dist/feature-flags/vue.spec.d.ts +1 -0
  100. package/dist/{format-time-from-id-DatSI9uD.js → format-time-from-id-v_KvI4jM.js} +1 -1
  101. package/dist/{format-unit-display-DM5We5cx.js → format-unit-display-C8oexlpM.js} +209 -208
  102. package/dist/helper/country.spec.d.ts +1 -0
  103. package/dist/helper/menu-usage-module.d.ts +2 -1
  104. package/dist/helper/number.d.ts +5 -1
  105. package/dist/helper/rules.d.ts +1 -1
  106. package/dist/{id-to-date-Dxw2jKhy.js → id-to-date-Doi1vn9Q.js} +1 -1
  107. package/dist/{import-export.helper-BOmADwUw.js → import-export.helper-DyRPa4wa.js} +17 -17
  108. package/dist/{index-CIH9NCvs.js → index-B-SVjo8N.js} +1 -1
  109. package/dist/{index-ClYgfwW7.js → index-Bl8qrC1m.js} +2234 -2163
  110. package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
  111. package/dist/{index-7fz5sGDO.js → index-DZ9i-1uy.js} +3 -3
  112. package/dist/index-eGvSlWMU.js +1892 -0
  113. package/dist/layout/SingleColumnLayout.vue.d.ts +1 -1
  114. package/dist/{lz-string-CCsc2X7t.js → lz-string-pPNhTzCj.js} +1 -1
  115. package/dist/menu-usage-module-Bq_KLsO4.js +74 -0
  116. package/dist/{netsuite-COumFXC2.js → netsuite-C5s0JXRA.js} +254 -263
  117. package/dist/netsuite-explorer-BF-bujxD.js +79 -0
  118. package/dist/{predefined-templates-Bw9A9LNA.js → predefined-templates-C6hmqqhm.js} +1 -1
  119. package/dist/production-run-list-DR1WsaBR.js +61 -0
  120. package/dist/{purchase-order-template-BaZjdGq8.js → purchase-order-template-C0XlITpK.js} +1 -1
  121. package/dist/{recalculationUtils-t32wAurN.js → recalculationUtils-CnzCEyIJ.js} +1 -1
  122. package/dist/router/name.d.ts +2 -2
  123. package/dist/{row-action.enum-BDeudY4d.js → row-action.enum-Ci5mHFdS.js} +1 -1
  124. package/dist/rules-rAD4INHX.js +243 -0
  125. package/dist/{stock-B59sfN28.js → stock-CukGlv0u.js} +1 -1
  126. package/dist/stock-DUQYl3xe.js +78 -0
  127. package/dist/stores/feature.d.ts +41 -11
  128. package/dist/stores/feature.load-state.spec.d.ts +1 -0
  129. package/dist/stores/inventory.d.ts +0 -47
  130. package/dist/stores/inventory.no-location.spec.d.ts +1 -0
  131. package/dist/stores/supplier.d.ts +1 -1
  132. package/dist/stores/warehouse.d.ts +1 -1
  133. package/dist/style.css +1 -1
  134. package/dist/{supplier-DnbLJ_cS.js → supplier-CDPdi2B5.js} +2 -2
  135. package/dist/{surcharge-C1uE3uQa.js → surcharge-XABFccMt.js} +1 -1
  136. package/dist/tsconfig.app.tsbuildinfo +1 -1
  137. package/dist/{uom-rules-DjfyrFHJ.js → uom-rules-BbNTM-Xw.js} +1 -1
  138. package/dist/{use-ingredient-select-dialog-7A7fWyEH.js → use-ingredient-select-dialog-CxrFXfoM.js} +2 -2
  139. package/dist/use-inventory-binding-dialog-BZpguHE1.js +113 -0
  140. package/dist/{use-template-enabled-locations-C-Hqqgzt.js → use-template-enabled-locations-B9n-uc36.js} +2 -2
  141. package/dist/{use-transfer-locations-CqsXvOI2.js → use-transfer-locations-z78M6XgR.js} +14 -14
  142. package/dist/{useHrmPermission-BzwD3Ctc.js → useHrmPermission-CfMWeFGZ.js} +1 -1
  143. package/dist/{useNavigationMenu-PrZg9HS7.js → useNavigationMenu-B6dCSflb.js} +111 -117
  144. package/dist/{useSseClient-FCyLWq8k.js → useSseClient-ICUObHUB.js} +1 -1
  145. package/dist/views/changelog/composables/use-snapshot-diff.d.ts +2 -2
  146. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +1 -1
  147. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
  148. package/dist/views/import/helper/submit-rows.d.ts +1 -1
  149. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -1
  150. package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +0 -1
  151. package/dist/views/ingredients/components/inventory-binding/recipe-amount-validation.spec.d.ts +1 -0
  152. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -1
  153. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -1
  154. package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +3 -1
  155. package/dist/views/{ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts → integration/IntegrationPlatformView.vue.d.ts} +11 -24
  156. package/dist/views/integration/components/Synergy/importFn.spec.d.ts +1 -0
  157. package/dist/views/integration/components/Xilnex/importFn.spec.d.ts +1 -0
  158. package/dist/views/integration/helper/opening-balance.d.ts +22 -0
  159. package/dist/views/integration/helper/opening-balance.spec.d.ts +1 -0
  160. package/dist/views/production-run/ProductionRunDetailPage.spec.d.ts +1 -0
  161. package/dist/views/{integration/components/IntegrationSyncLogTab.vue.d.ts → production-run/ProductionRunDetailPage.vue.d.ts} +2 -2
  162. package/dist/views/production-run/ProductionRunPage.vue.d.ts +2 -0
  163. package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +2 -2
  164. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +4 -4
  165. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +19 -9
  166. package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +4 -4
  167. package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +4 -4
  168. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +14 -14
  169. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +4 -4
  170. package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +4 -4
  171. package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +1 -1
  172. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +6 -6
  173. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -1
  174. package/dist/views/production-run/shared/model/production-run-list.d.ts +1 -1
  175. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +1 -1
  176. package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +1 -1
  177. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +2 -2
  178. package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +3 -3
  179. package/dist/views/receive-request/composables/netsuite-order-label.d.ts +11 -0
  180. package/dist/views/receive-request/composables/netsuite-order-label.spec.d.ts +1 -0
  181. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +1 -1
  182. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +9 -9
  183. package/dist/views/receive-request/composables/use-receive-request-form.spec.d.ts +1 -0
  184. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +7 -7
  185. package/dist/views/receive-request/import/export.spec.d.ts +1 -0
  186. package/dist/views/receive-request-bulk/BulkReceiveRequestPage.vue.d.ts +2 -0
  187. package/dist/views/receive-request-bulk/components/CreateTransferWizard.spec.d.ts +1 -0
  188. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +20 -20
  189. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.readiness.spec.d.ts +1 -0
  190. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +2 -2
  191. package/dist/views/recipe/components/recipe-bulk-editor/components/ModificationCard.spec.d.ts +1 -0
  192. package/dist/views/recipe/helper/bulk-edit-simulation.helper.d.ts +0 -1
  193. package/dist/views/recipe/helper/import-recipe.d.ts +32 -2
  194. package/dist/views/recipe/helper/import-recipe.spec.d.ts +1 -0
  195. package/dist/views/settings/PlanLicenseDisplay.spec.d.ts +1 -0
  196. package/dist/views/settings/PlanLicenseDisplay.vue.d.ts +2 -0
  197. package/dist/views/stock/components/StockRecordCard.spec.d.ts +1 -0
  198. package/dist/views/stock/components/StockRecordCard.vue.d.ts +19 -865
  199. package/dist/views/stock/components/dialog/AmendAdjustmentForm.spec.d.ts +1 -0
  200. package/dist/views/stock/components/dialog/BillInventoryInfoDialog.spec.d.ts +1 -0
  201. package/dist/views/stock/components/dialog/BillInventoryInfoDialog.vue.d.ts +36 -0
  202. package/dist/views/stock/components/dialog/ConvertSkuDialog.spec.d.ts +1 -0
  203. package/dist/views/stock/composables/use-last-closing-summary.d.ts +4 -0
  204. package/dist/views/stock/composables/use-last-closing-summary.spec.d.ts +1 -0
  205. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts +1 -0
  206. package/dist/views/transfer-template/helpers/template-item.error.helper.spec.d.ts +1 -0
  207. package/dist/views/unit/composables/use-unit-form.spec.d.ts +1 -0
  208. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -2
  209. package/dist/vue-DBxqzbt5.js +295 -0
  210. package/dist/{vue-i18n-C34f-Tph.js → vue-i18n-CdbY8MsR.js} +539 -539
  211. package/dist/{xlsx.util-X4amwe_k.js → xlsx.util-CD5NablT.js} +2 -2
  212. package/package.json +71 -66
  213. package/dist/App-DVHgBTHP.js +0 -1499
  214. package/dist/BulkReceiveRequestView-DxHWrfbi.js +0 -2656
  215. package/dist/ClosingHistoryView-kdpYGy1Y.js +0 -761
  216. package/dist/DeprecateSoonWarningDialog.vue_vue_type_script_setup_true_lang-5Cc08Svt.js +0 -58
  217. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C1C8aDA6.js +0 -61
  218. package/dist/FmMultiselectDialog-yVPY5aBV.js +0 -77
  219. package/dist/ImportView-DQrVMzxN.js +0 -1302
  220. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-7lT5UZc8.js +0 -51
  221. package/dist/IngredientGroupView-BMUnEaY7.js +0 -1000
  222. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CaBOK7NC.js +0 -563
  223. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DzzTPdyF.js +0 -72
  224. package/dist/ProductionRunDetailView-Cw-ecaey.js +0 -2312
  225. package/dist/ProductionRunView-C11eseXQ.js +0 -930
  226. package/dist/RecipeView-oHDWsT0P.js +0 -3624
  227. package/dist/SettingsView-QlUNwFhM.js +0 -983
  228. package/dist/StockView-a8LbVZ_7.js +0 -2614
  229. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
  230. package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CCCj4WVF.js +0 -299
  231. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CFNPXqt5.js +0 -4796
  232. package/dist/TransferTemplateView-CzwxOBMQ.js +0 -2326
  233. package/dist/menu-usage-module-BdjYEk3s.js +0 -57
  234. package/dist/number-gSLvxNqA.js +0 -138
  235. package/dist/portal-feature-catalog-yGIESKTc.js +0 -246
  236. package/dist/random-CSbEbElR.js +0 -10
  237. package/dist/rules-C1btu0Md.js +0 -98
  238. package/dist/stock-BF86TMW0.js +0 -75
  239. package/dist/use-inventory-binding-dialog-Cc1tjTfV.js +0 -152
  240. package/dist/usePromise-CbVUCxhj.js +0 -29
  241. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
  242. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -10
  243. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -21
  244. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
  245. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
  246. package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +0 -31
  247. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -77
  248. package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
@@ -0,0 +1,48 @@
1
+ import { resolveComponent as i, createElementBlock as m, openBlock as t, createVNode as u, createTextVNode as f, defineComponent as _, computed as c, createBlock as n, createCommentVNode as a } from "vue";
2
+ import { i as d } from "./vue-DBxqzbt5.js";
3
+ import { _ as g } from "./PlanTierBadge.vue_vue_type_script_setup_true_lang-CM3gtYZo.js";
4
+ import { _ as y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ const b = {}, x = { class: "inline-flex items-center gap-1 rounded-full border border-fm-color-state-warning-base bg-fm-color-state-warning-subtle px-2 py-0.5 text-xs font-medium text-fm-color-state-warning-base" };
6
+ function F(s, e) {
7
+ const o = i("FmIcon");
8
+ return t(), m("span", x, [
9
+ u(o, {
10
+ name: "warning",
11
+ size: "sm"
12
+ }),
13
+ e[0] || (e[0] = f(" Deprecate Soon "))
14
+ ]);
15
+ }
16
+ const k = /* @__PURE__ */ y(b, [["render", F]]), v = { class: "inline-flex items-center gap-1" }, S = /* @__PURE__ */ _({
17
+ __name: "FeatureCapabilityBadge",
18
+ props: {
19
+ tier: {},
20
+ category: {},
21
+ deprecateSoon: { type: Boolean },
22
+ featureKey: {},
23
+ informative: { type: Boolean }
24
+ },
25
+ setup(s) {
26
+ const e = s, o = c(() => d(e.featureKey)), l = c(
27
+ () => e.tier === "premium" && (e.informative || !o.value)
28
+ );
29
+ return (r, B) => {
30
+ const p = i("FmPill");
31
+ return t(), m("span", v, [
32
+ r.deprecateSoon ? (t(), n(k, { key: 0 })) : a("", !0),
33
+ r.category === "beta" ? (t(), n(p, {
34
+ key: 1,
35
+ variant: "beta"
36
+ })) : a("", !0),
37
+ l.value ? (t(), n(g, {
38
+ key: 2,
39
+ tier: r.tier
40
+ }, null, 8, ["tier"])) : a("", !0)
41
+ ]);
42
+ };
43
+ }
44
+ });
45
+ export {
46
+ k as D,
47
+ S as _
48
+ };
@@ -0,0 +1,82 @@
1
+ import { defineComponent as K, computed as c, ref as $, resolveComponent as v, createElementBlock as a, openBlock as n, normalizeClass as s, unref as t, createElementVNode as y, createCommentVNode as k, createVNode as u, renderSlot as b, withModifiers as B, toDisplayString as N } from "vue";
2
+ import { g as z, c as I } from "./vue-DBxqzbt5.js";
3
+ import { R as P } from "./app-DnOtng5V.js";
4
+ import { _ as S } from "./PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-0F-yOcPC.js";
5
+ import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const j = ["aria-hidden", "inert"], D = {
7
+ key: 2,
8
+ class: "min-h-32 rounded bg-fm-color-neutral-gray-200/60"
9
+ }, E = ["title"], G = { key: 0 }, L = /* @__PURE__ */ K({
10
+ __name: "FeatureCapabilityGate",
11
+ props: {
12
+ featureKey: {},
13
+ compact: { type: Boolean },
14
+ showLockedContent: { type: Boolean }
15
+ },
16
+ emits: ["locked"],
17
+ setup(g, { emit: _ }) {
18
+ const m = g, h = _, l = c(() => z(m.featureKey)), i = I(c(() => {
19
+ var e;
20
+ return ((e = l.value) == null ? void 0 : e.definition) ?? null;
21
+ })), o = i.disabled, r = $(!1), w = c(
22
+ () => {
23
+ var e;
24
+ return l.value ? {
25
+ route: P.STOCK,
26
+ module: l.value.label,
27
+ tier: ((e = l.value.definition) == null ? void 0 : e.minimumTier) ?? "standard",
28
+ description: l.value.controls,
29
+ featureKey: m.featureKey
30
+ } : null;
31
+ }
32
+ );
33
+ function C() {
34
+ h("locked", i.result.value), r.value = !0;
35
+ }
36
+ return (e, p) => {
37
+ var d, f;
38
+ const F = v("FmIcon"), V = v("FmPill");
39
+ return n(), a("div", {
40
+ class: s(["relative", t(o) && e.compact ? "w-[120px] max-w-full shrink-0" : void 0])
41
+ }, [
42
+ y("div", {
43
+ class: s(["flex flex-col gap-32", [
44
+ t(o) ? "costing-preview pointer-events-none select-none blur-sm" : void 0,
45
+ t(o) && e.compact ? "overflow-hidden" : void 0
46
+ ]]),
47
+ "aria-hidden": t(o),
48
+ inert: t(o)
49
+ }, [
50
+ t(o) && e.$slots.locked ? b(e.$slots, "locked", { key: 0 }, void 0, !0) : !t(o) || e.showLockedContent ? b(e.$slots, "default", { key: 1 }, void 0, !0) : (n(), a("div", D))
51
+ ], 10, j),
52
+ t(o) ? (n(), a("button", {
53
+ key: 0,
54
+ type: "button",
55
+ title: `Unlock ${((d = l.value) == null ? void 0 : d.label) ?? "feature"}`,
56
+ class: s(["absolute inset-0 flex w-full items-center justify-center bg-fm-color-neutral-white/70 text-center text-fm-color-typo-primary", e.compact ? "flex-row gap-2 px-1 py-0" : "flex-col gap-8 px-8 py-8"]),
57
+ onClick: B(C, ["stop"])
58
+ }, [
59
+ y("span", {
60
+ class: s(["flex items-center justify-center fm-typo-en-body-md-600", e.compact ? "gap-2" : "gap-8"])
61
+ }, [
62
+ u(F, {
63
+ name: "lock",
64
+ size: e.compact ? "sm" : "md"
65
+ }, null, 8, ["size"]),
66
+ e.compact ? k("", !0) : (n(), a("span", G, "Unlock " + N((f = l.value) == null ? void 0 : f.label), 1))
67
+ ], 2),
68
+ u(V, { variant: "premium" })
69
+ ], 10, E)) : k("", !0),
70
+ u(S, {
71
+ modelValue: r.value,
72
+ "onUpdate:modelValue": p[0] || (p[0] = (x) => r.value = x),
73
+ capability: w.value,
74
+ result: t(i).result.value
75
+ }, null, 8, ["modelValue", "capability", "result"])
76
+ ], 2);
77
+ };
78
+ }
79
+ }), O = /* @__PURE__ */ U(L, [["__scopeId", "data-v-4e00eb95"]]);
80
+ export {
81
+ O as F
82
+ };
@@ -0,0 +1,189 @@
1
+ import { defineComponent as P, computed as v, resolveComponent as _, createElementBlock as a, openBlock as t, normalizeClass as u, createElementVNode as l, createCommentVNode as p, createVNode as f, toDisplayString as m, renderSlot as h, ref as $, watch as V, createBlock as F, unref as n, withCtx as g, Fragment as C, createTextVNode as B } from "vue";
2
+ import { _ as j, F as z } from "./PremiumUpgradePage.vue_vue_type_script_setup_true_lang-DGAxPOEh.js";
3
+ import { b as A } from "./vue-DBxqzbt5.js";
4
+ const E = { class: "grid grow grid-cols-[auto_minmax(0,1fr)_auto] items-start gap-x-12 gap-y-12 px-16 py-12 xs:grid-cols-[auto_minmax(0,1fr)]" }, G = { class: "flex h-[18px] shrink-0 items-center" }, K = { class: "grow min-w-0" }, S = {
5
+ key: 0,
6
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-primary mt-4"
7
+ }, I = {
8
+ key: 1,
9
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-primary mt-8"
10
+ }, R = {
11
+ key: 0,
12
+ class: "col-start-3 row-span-2 row-start-1 flex shrink-0 items-center gap-8 self-center xs:col-span-2 xs:col-start-1 xs:row-span-1 xs:row-start-2 xs:justify-end"
13
+ }, D = /* @__PURE__ */ P({
14
+ __name: "ProductionRunBanner",
15
+ props: {
16
+ tone: {},
17
+ title: {},
18
+ message: { default: void 0 }
19
+ },
20
+ setup(d) {
21
+ const o = d, e = {
22
+ info: {
23
+ surface: "bg-fm-color-system-info-100",
24
+ typo: "text-fm-color-typo-info",
25
+ accent: "bg-fm-color-system-info-400",
26
+ icon: "info"
27
+ },
28
+ warn: {
29
+ surface: "bg-fm-color-system-warning-100",
30
+ typo: "text-fm-color-typo-warning",
31
+ accent: "bg-fm-color-system-warning-400",
32
+ icon: "warning"
33
+ },
34
+ critical: {
35
+ surface: "bg-fm-color-system-error-100",
36
+ typo: "text-fm-color-typo-error",
37
+ accent: "bg-fm-color-system-error-400",
38
+ icon: "error"
39
+ },
40
+ success: {
41
+ surface: "bg-fm-color-system-success-100",
42
+ typo: "text-fm-color-typo-success",
43
+ accent: "bg-fm-color-system-success-400",
44
+ icon: "check_circle"
45
+ },
46
+ neutral: {
47
+ surface: "bg-fm-color-neutral-gray-100",
48
+ typo: "text-fm-color-typo-secondary",
49
+ accent: "bg-fm-color-neutral-gray-400",
50
+ icon: "info"
51
+ }
52
+ }, s = v(() => e[o.tone]);
53
+ return (r, b) => {
54
+ const y = _("FmIcon");
55
+ return t(), a("div", {
56
+ class: u(["flex items-stretch overflow-hidden fm-corner-radius-md", s.value.surface]),
57
+ role: "status"
58
+ }, [
59
+ l("div", {
60
+ class: u(["w-4 shrink-0", s.value.accent])
61
+ }, null, 2),
62
+ l("div", E, [
63
+ l("div", G, [
64
+ f(y, {
65
+ name: s.value.icon,
66
+ size: "sm",
67
+ outline: "",
68
+ class: u([s.value.typo, "shrink-0"])
69
+ }, null, 8, ["name", "class"])
70
+ ]),
71
+ l("div", K, [
72
+ l("p", {
73
+ class: u(["fm-typo-en-body-md-600", s.value.typo])
74
+ }, m(o.title), 3),
75
+ o.message ? (t(), a("p", S, m(o.message), 1)) : p("", !0),
76
+ r.$slots.default ? (t(), a("div", I, [
77
+ h(r.$slots, "default")
78
+ ])) : p("", !0)
79
+ ]),
80
+ r.$slots.actions ? (t(), a("div", R, [
81
+ h(r.$slots, "actions")
82
+ ])) : p("", !0)
83
+ ])
84
+ ], 2);
85
+ };
86
+ }
87
+ }), O = {
88
+ key: 1,
89
+ "data-testid": "feature-page-gate-loading",
90
+ role: "status",
91
+ "aria-busy": "true",
92
+ class: "flex h-full w-full flex-col items-center justify-center gap-16 p-24"
93
+ }, W = {
94
+ key: 2,
95
+ "data-testid": "feature-page-gate-error",
96
+ role: "alert",
97
+ class: "w-full p-24"
98
+ }, q = { class: "inline-flex items-center justify-center gap-8" }, H = { key: 0 }, J = { key: 1 }, X = /* @__PURE__ */ P({
99
+ __name: "FeaturePageGate",
100
+ props: {
101
+ featureKey: {},
102
+ keepAcrossLocations: { type: Boolean }
103
+ },
104
+ setup(d) {
105
+ const o = d, e = A(() => o.featureKey), s = $(!1), r = $(!1);
106
+ V(
107
+ e.state,
108
+ (i) => {
109
+ i === "enabled" ? r.value = !0 : i !== "loading" && (r.value = !1);
110
+ },
111
+ { immediate: !0, flush: "sync" }
112
+ );
113
+ const b = v(
114
+ () => e.state.value === "enabled" || o.keepAcrossLocations && r.value && e.state.value === "loading"
115
+ ), y = v(
116
+ () => o.keepAcrossLocations ? "content" : e.dbName.value ?? ""
117
+ );
118
+ async function N() {
119
+ s.value = !0;
120
+ try {
121
+ await e.retry();
122
+ } finally {
123
+ s.value = !1;
124
+ }
125
+ }
126
+ return (i, k) => {
127
+ var x;
128
+ const T = _("FmCircularProgress"), L = _("FmButton");
129
+ return b.value ? (t(), a("div", {
130
+ key: y.value,
131
+ class: "contents",
132
+ "data-testid": "feature-page-gate-content"
133
+ }, [
134
+ h(i.$slots, "default")
135
+ ])) : n(e).state.value === "loading" ? (t(), a("div", O, [
136
+ f(T, { size: "lg" }),
137
+ k[0] || (k[0] = l("span", { class: "sr-only" }, "Checking feature availability", -1))
138
+ ])) : n(e).state.value === "error" ? (t(), a("div", W, [
139
+ f(D, {
140
+ tone: "critical",
141
+ title: `${((x = n(e).feature.value) == null ? void 0 : x.label) ?? "This feature"} couldn’t load`,
142
+ message: "We couldn’t confirm access for this outlet. Please try again."
143
+ }, {
144
+ actions: g(() => [
145
+ f(L, {
146
+ "data-testid": "feature-page-gate-retry",
147
+ variant: "secondary",
148
+ label: "Retry",
149
+ loading: s.value,
150
+ disabled: s.value,
151
+ onClick: N
152
+ }, null, 8, ["loading", "disabled"])
153
+ ]),
154
+ _: 1
155
+ }, 8, ["title"])
156
+ ])) : n(e).state.value === "upgrade" ? (t(), F(j, {
157
+ key: 3,
158
+ "data-testid": "feature-page-gate-upgrade"
159
+ })) : (t(), F(z, {
160
+ key: 4,
161
+ "data-testid": "feature-page-gate-unavailable"
162
+ }, {
163
+ title: g(() => {
164
+ var c, w;
165
+ return [
166
+ l("span", q, [
167
+ ((c = n(e).feature.value) == null ? void 0 : c.category) === "beta" ? (t(), a("span", H, "This feature isn't available")) : (t(), a("span", J, m(((w = n(e).feature.value) == null ? void 0 : w.label) ?? "This feature") + " is unavailable", 1))
168
+ ])
169
+ ];
170
+ }),
171
+ default: g(() => {
172
+ var c;
173
+ return [
174
+ ((c = n(e).feature.value) == null ? void 0 : c.category) === "beta" ? (t(), a(C, { key: 0 }, [
175
+ B(m(n(e).feature.value.label) + " is in beta and not available for the selected location yet. Please switch to another location. ", 1)
176
+ ], 64)) : (t(), a(C, { key: 1 }, [
177
+ B("This feature is not currently available for this location.")
178
+ ], 64))
179
+ ];
180
+ }),
181
+ _: 1
182
+ }));
183
+ };
184
+ }
185
+ });
186
+ export {
187
+ D as _,
188
+ X as a
189
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as g, ref as _, watch as d, computed as v, resolveComponent as l, createBlock as h, openBlock as y, withCtx as R, createElementVNode as i, createVNode as w, toDisplayString as x } from "vue";
2
- import { c } from "./date2-2XjepIqc.js";
2
+ import { c } from "./date2-Bzlk0lSj.js";
3
3
  function F() {
4
4
  const t = /* @__PURE__ */ new Date();
5
5
  return t.setDate(t.getDate() - 15), {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, mergeModels as I, useModel as z, computed as b, ref as _, resolveComponent as n, createElementBlock as h, openBlock as o, normalizeStyle as B, createElementVNode as f, createVNode as N, withCtx as E, createBlock as s, createCommentVNode as F, Fragment as S, renderList as R, unref as r } from "vue";
2
- import { z as u } from "./app-yvK__CBL.js";
3
- import { F as T } from "./FmMultiselectDialog-DCaRlBIy.js";
2
+ import { z as u } from "./app-DnOtng5V.js";
3
+ import { F as T } from "./FmMultiselectDialog-Bz8bNuK2.js";
4
4
  const q = { class: "overflow-y-auto h-full pb-8" }, L = /* @__PURE__ */ g({
5
5
  __name: "FmFilterableMenuOptions",
6
6
  props: /* @__PURE__ */ I({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as V, mergeModels as F, computed as M, useModel as f, resolveComponent as g, createElementBlock as s, openBlock as l, unref as n, renderSlot as R, createElementVNode as p, normalizeClass as b, createCommentVNode as r, createBlock as a, withCtx as C, createVNode as U, Fragment as A, renderList as L } from "vue";
2
2
  import { useI18n as T } from "@feedmepos/mf-common";
3
- import { _ as D } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CVekIoiN.js";
4
- import { _ as I } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Q8Mptiv3.js";
3
+ import { _ as D } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DpHYhOmI.js";
4
+ import { _ as I } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CgbvPK8u.js";
5
5
  import { useBreakpoints as N } from "@feedmepos/ui-library";
6
6
  import { u as Q } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
7
7
  import { D as k } from "./app-C39bYJmq.js";
@@ -3,8 +3,8 @@ var Pe = (F, i, l) => i in F ? He(F, i, { enumerable: !0, configurable: !0, writ
3
3
  var ve = (F, i, l) => Pe(F, typeof i != "symbol" ? i + "" : i, l);
4
4
  import { defineComponent as ye, computed as x, ref as $, watch as ge, createElementBlock as f, openBlock as d, normalizeStyle as z, Fragment as V, renderList as O, createCommentVNode as D, renderSlot as ke, useSlots as Oe, onMounted as Ue, onUnmounted as Ee, reactive as ee, resolveComponent as T, createElementVNode as B, createVNode as k, createTextVNode as Ke, toDisplayString as P, unref as L, createSlots as je, withCtx as w, createBlock as I, resolveDynamicComponent as pe, normalizeClass as fe, withModifiers as Ne, Transition as ze } from "vue";
5
5
  import { useDialogChild as Ge } from "@feedmepos/ui-library";
6
- import { z as he } from "./app-yvK__CBL.js";
7
- import { d as Je } from "./index-CIH9NCvs.js";
6
+ import { z as he } from "./app-DnOtng5V.js";
7
+ import { d as Je } from "./index-B-SVjo8N.js";
8
8
  /* empty css */
9
9
  import { useI18n as Re } from "@feedmepos/mf-common";
10
10
  import { P as We, J as be, D as Qe } from "./app-C39bYJmq.js";
@@ -0,0 +1,123 @@
1
+ import { defineComponent as b, createElementBlock as c, openBlock as m, createElementVNode as p, toDisplayString as a, unref as _, Fragment as B, renderList as P, h as A } from "vue";
2
+ import { a as d, h as C } from "./rules-rAD4INHX.js";
3
+ import { useI18n as h } from "@feedmepos/mf-common";
4
+ import { defineStore as k } from "pinia";
5
+ import { useDialog as w } from "@feedmepos/ui-library";
6
+ import { a as g } from "./FmMultiselectDialog-Bz8bNuK2.js";
7
+ const D = { class: "flex flex-col" }, I = { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, M = { class: "flex-1 py-8 px-16" }, $ = {
8
+ class: "flex-0 py-8 px-16",
9
+ style: { "flex-basis": "120px" }
10
+ }, F = { class: "flex-1 py-8 px-16" }, R = {
11
+ key: 0,
12
+ class: "flex-0 py-8 px-16",
13
+ style: { "flex-basis": "120px" }
14
+ }, j = {
15
+ key: 1,
16
+ class: "flex-0 py-8 px-16",
17
+ style: { "flex-basis": "120px" }
18
+ }, q = /* @__PURE__ */ b({
19
+ __name: "IngredientBindedItem",
20
+ props: {
21
+ name: {},
22
+ bindings: {}
23
+ },
24
+ setup(u) {
25
+ const { t: r } = h();
26
+ function v(t, o) {
27
+ var e;
28
+ if (t.measurement) {
29
+ const s = C(t.amount, t.measurement.conversion);
30
+ return `${d(s, !1)} ${(e = t.measurement) == null ? void 0 : e.abbrev}`;
31
+ }
32
+ return `${d(t.amount, !1)} ${o.abbrev}`;
33
+ }
34
+ function x(t) {
35
+ return t.unit !== void 0;
36
+ }
37
+ return (t, o) => (m(), c("div", D, [
38
+ p("div", I, [
39
+ p("div", M, a(t.name), 1),
40
+ p("div", $, a(_(r)("inventory.ingredient.bindedItems.amount")), 1)
41
+ ]),
42
+ (m(!0), c(B, null, P(t.bindings, (e) => (m(), c("div", {
43
+ key: e.id,
44
+ class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
45
+ }, [
46
+ p("div", F, a(e.name), 1),
47
+ x(e) ? (m(), c("div", R, a(v(e, e.unit)), 1)) : (m(), c("div", j, a(_(d)(e.amount, !1)), 1))
48
+ ]))), 128))
49
+ ]));
50
+ }
51
+ }), z = k("inventoryMultiSelectDialog", () => {
52
+ const u = w(), { t: r } = h();
53
+ return { multiSelect: async (o, e, s) => {
54
+ const l = s ?? ((n) => n), { promise: f, resolve: i } = Promise.withResolvers();
55
+ return u.open({
56
+ title: "Select items",
57
+ closeButton: !0,
58
+ contentComponent: g,
59
+ contentComponentProps: {
60
+ modelValue: e ?? [],
61
+ items: o,
62
+ virtualScroll: !0,
63
+ onClose: () => i(null)
64
+ },
65
+ primaryActions: {
66
+ text: r("common.confirm"),
67
+ close: !0
68
+ },
69
+ secondaryActions: {
70
+ text: r("common.close"),
71
+ close: !0,
72
+ variant: "tertiary"
73
+ }
74
+ }).onPrimary((n) => {
75
+ const y = n.map((S) => l(S));
76
+ i(y);
77
+ }), f;
78
+ }, singleSelect: async (o, e, s) => {
79
+ const l = s ?? ((n) => n), { promise: f, resolve: i } = Promise.withResolvers();
80
+ return u.open({
81
+ title: "Select items",
82
+ closeButton: !0,
83
+ contentComponent: g,
84
+ contentComponentProps: {
85
+ modelValue: e ? [e] : [],
86
+ items: o,
87
+ virtualScroll: !0,
88
+ onClose: () => i(void 0),
89
+ singleSelect: !0
90
+ },
91
+ primaryActions: {
92
+ text: r("common.confirm"),
93
+ close: !0
94
+ },
95
+ secondaryActions: {
96
+ text: r("common.close"),
97
+ close: !0,
98
+ variant: "tertiary"
99
+ }
100
+ }).onPrimary((n) => {
101
+ if (!n.length)
102
+ return i(null);
103
+ const y = l(n[0]);
104
+ i(y);
105
+ }), f;
106
+ }, alert: (o, e) => {
107
+ const { promise: s, resolve: l } = Promise.withResolvers();
108
+ return u.open({
109
+ title: o,
110
+ closeButton: !0,
111
+ contentComponent: typeof e == "string" ? A("div", e) : e,
112
+ secondaryActions: {
113
+ text: r("common.close"),
114
+ close: !0,
115
+ variant: "tertiary"
116
+ }
117
+ }).onSecondary(() => l()).onClose(() => l()), s;
118
+ } };
119
+ });
120
+ export {
121
+ q as _,
122
+ z as u
123
+ };