@feedmepos/mf-inventory-portal 1.8.0-dev.0 → 1.8.0-dev.10

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 (247) hide show
  1. package/dist/App-BjFIh5km.js +1466 -0
  2. package/dist/{ApprovalView-BK6E_3Cw.js → ApprovalView-CauRuf64.js} +26 -25
  3. package/dist/{BindingsDialog-BAVPQ_Eq.js → BindingsDialog-U-tzIfGX.js} +2 -2
  4. package/dist/{BindingsPicker-bAuDX7Af.js → BindingsPicker-CV_oghtz.js} +2 -2
  5. package/dist/{BindingsTable-LGlvV0lt.js → BindingsTable-TKSQxAxV.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-CQf7FYos.js → BulkReceiveRequestView-Cyeq26qc.js} +21 -21
  7. package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BpJhboKU.js +151 -0
  8. package/dist/{ClosingDraftView-DH7iYiE9.js → ClosingDraftView-UqeHsxyJ.js} +748 -746
  9. package/dist/ClosingHistoryView-Cr6cQq6j.js +769 -0
  10. package/dist/{ClosingTemplateView-D532GNTn.js → ClosingTemplateView-DZ0Mdc87.js} +303 -291
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CvqZGcvX.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-C-OsCTxZ.js} +1 -1
  12. package/dist/{DefaultView-DqqXJVba.js → DefaultView-DQKHG5Jl.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-DkHNDEKP.js → DeliveryOrderPrintPreview-Z_kBbMMO.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-Cyj3ka37.js → EmailDialog.vue_vue_type_script_setup_true_lang-Ce6Ly9pT.js} +6228 -6216
  15. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BUYI8koH.js +47 -0
  16. package/dist/FeatureCapabilityGate-DOn2IVJb.js +74 -0
  17. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BCuhx2cN.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BJuo4lEh.js} +1 -1
  18. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CDNqm_9N.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DZxz5hbo.js} +2 -2
  19. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CiBhz5sq.js +120 -0
  20. package/dist/FmMultiselectDialog-Bx9cLdYs.js +123 -0
  21. package/dist/{FmMultiselectDialog-eH3nO3P3.js → FmMultiselectDialog-DvaWLGY5.js} +2 -2
  22. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BCIkEl75.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D6f1M96D.js} +72 -73
  23. package/dist/ImportView-1-cjN7ay.js +1290 -0
  24. package/dist/{IngredientsView-DtDtzaMt.js → IngredientsView-JfKlUU2E.js} +656 -649
  25. package/dist/{IntegrationExplorerView-C4lYc_LH.js → IntegrationExplorerView-uElgWH8i.js} +602 -614
  26. package/dist/IntegrationPlatformView-g2dU5SG6.js +13061 -0
  27. package/dist/{IntegrationView-Bx5VdV5l.js → IntegrationView-B9g888K4.js} +2956 -2922
  28. package/dist/{InventoryBindingForm-DKa1DwYs.js → InventoryBindingForm-DfGOKZWg.js} +1 -1
  29. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CNjTdNL7.js +472 -0
  30. package/dist/{InventoryBindingSummary-CNqwcsrX.js → InventoryBindingSummary-CSii8B2X.js} +1 -1
  31. package/dist/JsonViewer.vue_vue_type_script_setup_true_lang-C_hg75l0.js +25 -0
  32. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D_Xk4SOH.js +79 -0
  33. package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-DJvfMOND.js +274 -0
  34. package/dist/PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-Bdjm0Y4w.js +79 -0
  35. package/dist/ProductionRunDetailView-HgH2Wp99.js +2312 -0
  36. package/dist/{production-run-prepare-sheet-aQOcxgaC.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-C88pjV2s.js} +11039 -3661
  37. package/dist/ProductionRunView-BkvQHeCP.js +931 -0
  38. package/dist/{PublishView-D0oSoJ5a.js → PublishView-CIei_T5e.js} +3 -3
  39. package/dist/{PurchaseOrderPrintPreview-CE-l4mvB.js → PurchaseOrderPrintPreview-Wmv7676h.js} +2 -2
  40. package/dist/{ReceiveRequestView-B2z8Ji0e.js → ReceiveRequestView-MqOIpIDB.js} +15 -15
  41. package/dist/RecipeView-WzXJX4JU.js +3440 -0
  42. package/dist/SettingsView-1YlgjyzB.js +1032 -0
  43. package/dist/StockView-C-dIRXPv.js +2651 -0
  44. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BTh5E4Tt.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CewKTZzy.js} +1 -1
  45. package/dist/{SupplierView-qqhUQ-SY.js → SupplierView-53rHhQ63.js} +577 -571
  46. package/dist/{SurchargeView-B0TYUfqY.js → SurchargeView-DuJb5EUn.js} +7 -7
  47. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-tfMHi9Yv.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-C_YmC-ZX.js} +2 -2
  48. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js +71 -0
  49. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Dxc-jNte.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CyQujMzv.js} +1 -1
  50. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BX36zWMb.js → TransferDetails.vue_vue_type_script_setup_true_lang-CMwqjlb0.js} +1722 -1672
  51. package/dist/TransferTemplateView-B6OGfKQr.js +2343 -0
  52. package/dist/{UnitCostHistoryView-xdRSkjD7.js → UnitCostHistoryView-BVlq4BNG.js} +4 -4
  53. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BT2v1gZv.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CULJEeCU.js} +4 -4
  54. package/dist/{UnitView-p-V_TMMo.js → UnitView-AuIJokVF.js} +84 -84
  55. package/dist/{WarehouseView-BOGYcUHH.js → WarehouseView-Cjv8S1ov.js} +194 -189
  56. package/dist/{WastageTemplateView-CiifZMq6.js → WastageTemplateView-mxSTzVSZ.js} +19 -18
  57. package/dist/api/bill.d.ts +144 -88
  58. package/dist/api/feature-flags.d.ts +12 -0
  59. package/dist/api/food-market-hub.d.ts +2 -2
  60. package/dist/api/integration-sync-log.d.ts +0 -13
  61. package/dist/api/inventory.d.ts +9 -9
  62. package/dist/api/license.d.ts +8 -0
  63. package/dist/{app-CGcDbrt8.js → app-OztWApio.js} +27841 -28064
  64. package/dist/app.d.ts +36 -150
  65. package/dist/app.js +1 -1
  66. package/dist/{closing-template-B4lQetjU.js → closing-template-DIxXDgZQ.js} +1 -1
  67. package/dist/components/ChangeLocationComponent.vue.d.ts +21 -14
  68. package/dist/components/DeprecateSoonWarningDialog.vue.d.ts +22 -0
  69. package/dist/components/FeatureCapabilityBadge.vue.d.ts +29 -0
  70. package/dist/components/FeatureCapabilityGate.vue.d.ts +29 -0
  71. package/dist/components/FmUnitInputRules.d.ts +1 -1
  72. package/dist/components/MultiLocationSelector.vue.d.ts +6 -6
  73. package/dist/components/{PreviewBadge.vue.d.ts → PlanTierBadge.vue.d.ts} +5 -13
  74. package/dist/components/PlanUpgradeDialog.vue.d.ts +30 -0
  75. package/dist/composable/useNavigationMenu.d.ts +2 -1
  76. package/dist/{date2-CHOcS7LX.js → date2-BTzYzk-x.js} +1 -1
  77. package/dist/{dayjs.min-DrqpmBJQ.js → dayjs.min-BIg6CfC4.js} +1 -1
  78. package/dist/{decimal-BJ-B2ZXz.js → decimal-B34w3X7O.js} +2 -2
  79. package/dist/{defineDeepModel-DLlTW3xL.js → defineDeepModel-CrZAv12u.js} +1 -1
  80. package/dist/{duplicate-template-Dyz7iXqd.js → duplicate-template-BKVPhi40.js} +1 -1
  81. package/dist/{inventory-core-dart.default-DGI40oFz.js → feature-BUVZ_ab3.js} +766 -398
  82. package/dist/feature-flags/core.d.ts +28 -0
  83. package/dist/feature-flags/navigation-capabilities.d.ts +23 -0
  84. package/dist/feature-flags/navigation-capabilities.spec.d.ts +1 -0
  85. package/dist/feature-flags/plan-tier.d.ts +6 -0
  86. package/dist/feature-flags/plan-tier.spec.d.ts +1 -0
  87. package/dist/feature-flags/portal-feature-catalog.d.ts +19 -0
  88. package/dist/feature-flags/portal-feature-catalog.spec.d.ts +1 -0
  89. package/dist/feature-flags/vue.d.ts +16 -0
  90. package/dist/feature-flags/vue.spec.d.ts +1 -0
  91. package/dist/{format-time-from-id-DBFdt14U.js → format-time-from-id-DGLxhRFH.js} +1 -1
  92. package/dist/{format-unit-display-BXCWhtXb.js → format-unit-display-BhudItCc.js} +118 -119
  93. package/dist/helper/menu-usage-module.d.ts +1 -1
  94. package/dist/helper/number.d.ts +5 -1
  95. package/dist/helper/rules.d.ts +1 -1
  96. package/dist/id-to-date-BfwadWDS.js +67 -0
  97. package/dist/{import-export.helper-BgaADwYQ.js → import-export.helper-BdQ_d-fT.js} +16 -17
  98. package/dist/{index-BT-a2SOP.js → index-BTNI4XZ2.js} +1 -1
  99. package/dist/{index-BS5wlvV_.js → index-B_hoeQNL.js} +3 -3
  100. package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
  101. package/dist/{index-CqgYx0tx.js → index-CCvxPS3E.js} +1 -1
  102. package/dist/index-eGvSlWMU.js +1892 -0
  103. package/dist/{lz-string-CRDgHWib.js → lz-string-CVEGZpSC.js} +1 -1
  104. package/dist/{netsuite-CaILEA4R.js → netsuite-DEhdSyBn.js} +9 -3
  105. package/dist/{predefined-templates-CTLn4dgR.js → predefined-templates-BTdQl7jj.js} +1 -1
  106. package/dist/{purchase-order-template-CE4_gQyK.js → purchase-order-template-DfMmpsrJ.js} +1 -1
  107. package/dist/{recalculationUtils-DoBJhZjA.js → recalculationUtils-Ds9Jcg0l.js} +1 -1
  108. package/dist/router/name.d.ts +2 -3
  109. package/dist/{row-action.enum-ncgDYAjP.js → row-action.enum-B2Y5YFbc.js} +2 -2
  110. package/dist/rules-D01xYhgI.js +238 -0
  111. package/dist/{stock-WxsPiRKa.js → stock-D3kBNq3e.js} +1 -1
  112. package/dist/stock-DyTC4Teu.js +74 -0
  113. package/dist/stores/feature.d.ts +20 -2
  114. package/dist/stores/integration/codemax.d.ts +2 -2
  115. package/dist/stores/integration/foodmarkethub.d.ts +2 -2
  116. package/dist/stores/integration/netsuite.d.ts +2 -2
  117. package/dist/stores/inventory.d.ts +0 -47
  118. package/dist/stores/inventory.no-location.spec.d.ts +1 -0
  119. package/dist/stores/location.d.ts +42 -42
  120. package/dist/stores/supplier.d.ts +49 -49
  121. package/dist/stores/warehouse.d.ts +3 -2
  122. package/dist/style.css +1 -1
  123. package/dist/{supplier-DbdPWPj7.js → supplier-DaidezrO.js} +2 -2
  124. package/dist/{surcharge-BsvY29nN.js → surcharge-C-PFvvlU.js} +1 -1
  125. package/dist/tsconfig.app.tsbuildinfo +1 -1
  126. package/dist/{uom-rules-dxyRNetA.js → uom-rules-Un5bhcrm.js} +1 -1
  127. package/dist/{use-ingredient-select-dialog-eYM-6q4s.js → use-ingredient-select-dialog-DV_hkAt9.js} +2 -2
  128. package/dist/use-inventory-binding-dialog-CTceyFrg.js +113 -0
  129. package/dist/{use-template-enabled-locations-C0o5r4_0.js → use-template-enabled-locations-DGqw8tvz.js} +2 -2
  130. package/dist/{use-transfer-locations-CC35SlyA.js → use-transfer-locations-DgtKajec.js} +2 -2
  131. package/dist/{useHrmPermission-DxzYJX4n.js → useHrmPermission-BMpZlah6.js} +1 -1
  132. package/dist/useNavigationMenu-D0NtXAnB.js +346 -0
  133. package/dist/{useSseClient-ml-_A-4u.js → useSseClient-CHZZxy7Z.js} +1 -1
  134. package/dist/views/adjustment-template/wastage-template/actions.d.ts +36 -36
  135. package/dist/views/adjustment-template/wastage-template/table.d.ts +36 -36
  136. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -6
  137. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +12 -12
  138. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +6 -6
  139. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +3 -3
  140. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +18 -18
  141. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +45 -45
  142. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
  143. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -1
  144. package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +0 -1
  145. package/dist/views/ingredients/components/inventory-binding/recipe-amount-validation.spec.d.ts +1 -0
  146. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -1
  147. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -1
  148. package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +1 -1
  149. package/dist/{components/PremiumBadge.vue.d.ts → views/integration/IntegrationPlatformView.vue.d.ts} +11 -13
  150. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +4 -4
  151. package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +4 -4
  152. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +4 -4
  153. package/dist/views/integration/components/CodemaxDialog.vue.d.ts +4 -4
  154. package/dist/views/integration/components/IntegrationCard.vue.d.ts +38 -0
  155. package/dist/views/integration/components/Synergy/importFn.spec.d.ts +1 -0
  156. package/dist/views/integration/components/Xilnex/importFn.spec.d.ts +1 -0
  157. package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +36 -36
  158. package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +24 -24
  159. package/dist/views/integration/helper/opening-balance.d.ts +22 -0
  160. package/dist/views/integration/helper/opening-balance.spec.d.ts +1 -0
  161. package/dist/views/production-run/features/detail/ProductionRunDetailTabs.spec.d.ts +1 -0
  162. package/dist/views/production-run/features/detail/{ProductionRunTabs.vue.d.ts → ProductionRunDetailTabs.vue.d.ts} +4 -8
  163. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +2 -2
  164. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +4 -4
  165. package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +2 -2
  166. package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +2 -2
  167. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +11 -11
  168. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +2 -2
  169. package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +2 -2
  170. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +3 -3
  171. package/dist/views/production-run/features/prepare/production-run-prepare-sheet.d.ts +0 -9
  172. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -2
  173. package/dist/views/production-run/shared/model/production-run-list.d.ts +0 -1
  174. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +10 -0
  175. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +5 -5
  176. package/dist/views/receive-request/composables/netsuite-order-label.d.ts +11 -0
  177. package/dist/views/receive-request/composables/netsuite-order-label.spec.d.ts +1 -0
  178. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +6 -6
  179. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +48 -48
  180. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -42
  181. package/dist/views/receive-request/import/export.spec.d.ts +1 -0
  182. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +42 -42
  183. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +8 -8
  184. package/dist/views/recipe/components/recipe-bulk-editor/components/ModificationCard.spec.d.ts +1 -0
  185. package/dist/views/recipe/helper/bulk-edit-simulation.helper.d.ts +0 -1
  186. package/dist/views/recipe/helper/import-recipe.d.ts +2 -2
  187. package/dist/views/recipe/helper/import-recipe.spec.d.ts +1 -0
  188. package/dist/views/settings/PlanLicenseDisplay.spec.d.ts +1 -0
  189. package/dist/views/{integration/components/IntegrationSyncLogTab.vue.d.ts → settings/PlanLicenseDisplay.vue.d.ts} +2 -2
  190. package/dist/views/stock/components/StockRecordCard.vue.d.ts +72 -44
  191. package/dist/views/stock/components/dialog/AmendAdjustmentForm.spec.d.ts +1 -0
  192. package/dist/views/stock/components/dialog/ConvertSkuDialog.spec.d.ts +1 -0
  193. package/dist/views/supplier/components/SupplierForm.vue.d.ts +4 -4
  194. package/dist/views/supplier/composables/use-supplier-table.d.ts +2 -2
  195. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -8
  196. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
  197. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts +1 -0
  198. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +24 -24
  199. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -48
  200. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -48
  201. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +6 -4
  202. package/dist/{vue-i18n-DYapak10.js → vue-i18n-mXrQUZTi.js} +235 -235
  203. package/dist/{xlsx.util-DrElrKDx.js → xlsx.util-CKx0NYTq.js} +2 -2
  204. package/package.json +72 -67
  205. package/dist/App-CBS1Tqpl.js +0 -1476
  206. package/dist/ClosingHistoryView-3z17ZJzK.js +0 -761
  207. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CB50Gqot.js +0 -243
  208. package/dist/FmMultiselectDialog-7xh6h5AX.js +0 -77
  209. package/dist/ImportView-C3Fc0e_X.js +0 -1302
  210. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-6naVJEke.js +0 -51
  211. package/dist/IngredientGroupView-DA1buE1C.js +0 -985
  212. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-tEKGPtHZ.js +0 -563
  213. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cbg0j7Jz.js +0 -72
  214. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-Btrg9HNc.js +0 -93
  215. package/dist/PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js +0 -29
  216. package/dist/ProductionRunDetailView-DYeSPsIY.js +0 -2284
  217. package/dist/ProductionRunPreparePrintView-DJOejqOC.js +0 -34
  218. package/dist/ProductionRunTabs.vue_vue_type_script_setup_true_lang-JKMI-vVw.js +0 -7543
  219. package/dist/ProductionRunView-Cg3aYOg9.js +0 -911
  220. package/dist/RecipeView-DC0p9RKL.js +0 -3625
  221. package/dist/SettingsView-DaKfCVY5.js +0 -698
  222. package/dist/StockView-DdweBRFv.js +0 -2612
  223. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
  224. package/dist/TransferTemplateView-CSXcAB3-.js +0 -2327
  225. package/dist/feature-DtpSrELx.js +0 -1136
  226. package/dist/number-DE6ovaTs.js +0 -138
  227. package/dist/random-CSbEbElR.js +0 -10
  228. package/dist/rules-CkaU7yFU.js +0 -98
  229. package/dist/stock-B3Q9e174.js +0 -75
  230. package/dist/use-inventory-binding-dialog-CCV1iieA.js +0 -152
  231. package/dist/useNavigationMenu-IKam6CEf.js +0 -172
  232. package/dist/usePromise-CbVUCxhj.js +0 -29
  233. package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +0 -3
  234. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
  235. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -10
  236. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -21
  237. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
  238. package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +0 -37
  239. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
  240. package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +0 -31
  241. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -77
  242. package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
  243. /package/dist/components/{FmFeatureFlagDialog.vue.d.ts → DeprecateSoonPill.vue.d.ts} +0 -0
  244. /package/dist/{views/production-run/ProductionRunPreparePrintView.spec.d.ts → components/FeatureCapabilityGate.spec.d.ts} +0 -0
  245. /package/dist/{views/production-run/features/detail/ProductionRunTabs.spec.d.ts → components/NumberPrecisionInput.spec.d.ts} +0 -0
  246. /package/dist/{views/production-run/features/prepare/production-run-prepare-sheet-cleanup.spec.d.ts → feature-flags/core.spec.d.ts} +0 -0
  247. /package/dist/views/{production-run/ProductionRunPreparePrintView.vue.d.ts → settings/FeatureFlagView.vue.d.ts} +0 -0
@@ -1,22 +1,23 @@
1
- import { defineComponent as ce, ref as y, watch as de, computed as c, resolveComponent as fe, createBlock as Z, openBlock as x, unref as a, withCtx as T, createElementVNode as p, normalizeClass as ve, createVNode as u, normalizeStyle as he, createElementBlock as _e, createCommentVNode as De, toDisplayString as ge, Teleport as ye, mergeProps as be, isRef as Re } from "vue";
2
- import { u as Oe, D as b } from "./app-CGcDbrt8.js";
3
- import { a as Se } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BCuhx2cN.js";
4
- import { u as Pe, P as w, a as xe, _ as Te } from "./TransferDetails.vue_vue_type_script_setup_true_lang-BX36zWMb.js";
5
- import { c as I } from "./date2-CHOcS7LX.js";
1
+ import { defineComponent as ce, ref as y, watch as de, computed as c, resolveComponent as fe, createBlock as Z, openBlock as x, unref as a, withCtx as T, createElementVNode as m, normalizeClass as ve, createVNode as u, normalizeStyle as he, createElementBlock as _e, createCommentVNode as De, toDisplayString as ge, Teleport as ye, mergeProps as be, isRef as Re } from "vue";
2
+ import { u as Oe, D as b } from "./app-OztWApio.js";
3
+ import { a as Se } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BJuo4lEh.js";
4
+ import { u as Pe, P as w, a as xe, _ as Te } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CMwqjlb0.js";
5
+ import { c as I } from "./date2-BTzYzk-x.js";
6
6
  import { u as we, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
7
- import { _ as qe, F as R } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
7
+ import { _ as qe } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js";
8
+ import { F as R } from "./index-eGvSlWMU.js";
8
9
  import { useBreakpoints as Ce } from "@feedmepos/ui-library";
9
- import { _ as Ne } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CB50Gqot.js";
10
+ import { _ as Ne } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CiBhz5sq.js";
10
11
  import { useI18n as Ve } from "@feedmepos/mf-common";
11
12
  import { P as Ae, J as Me } from "./app-C39bYJmq.js";
12
- import { u as Fe } from "./netsuite-CaILEA4R.js";
13
- import { f as Le } from "./predefined-templates-CTLn4dgR.js";
14
- import "./inventory-core-dart.default-DGI40oFz.js";
15
- import { _ as $e } from "./CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CvqZGcvX.js";
13
+ import { u as Fe } from "./netsuite-DEhdSyBn.js";
14
+ import { f as Le } from "./predefined-templates-BTdQl7jj.js";
15
+ import "./feature-BUVZ_ab3.js";
16
+ import { _ as $e } from "./CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-C-OsCTxZ.js";
16
17
  const ze = { class: "flex flex-col py-8" }, Ee = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ue = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, He = {
17
18
  key: 0,
18
19
  class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
19
- }, je = { class: "pt-8" }, ut = /* @__PURE__ */ ce({
20
+ }, je = { class: "pt-8" }, it = /* @__PURE__ */ ce({
20
21
  __name: "ApprovalView",
21
22
  setup(Je) {
22
23
  const s = Pe(w.APPROVAL), {
@@ -109,18 +110,18 @@ const ze = { class: "flex flex-col py-8" }, Ee = { class: "fm-typo-en-body-md-40
109
110
  }
110
111
  ];
111
112
  return [...i, ...se.isEnabled ? r : []];
112
- }), d = y(null), pe = c(() => {
113
+ }), d = y(null), me = c(() => {
113
114
  if (!d.value)
114
115
  return s.purchaseRequests.value;
115
116
  const i = Ae.build(d.value);
116
117
  return s.purchaseRequests.value.filter((r) => {
117
- var e, n, t, o, m;
118
+ var e, n, t, o, p;
118
119
  return Me(
119
120
  {
120
121
  netsuiteTransactionNumber: (n = (e = r.netSuite) == null ? void 0 : e.additionalInfo) == null ? void 0 : n.transactionnumber,
121
122
  netsuiteOrderNo: (t = r.netSuite) == null ? void 0 : t.refNo,
122
123
  netsuiteOrderId: (o = r.netSuite) == null ? void 0 : o.id,
123
- status: (m = r.purchaseOrder) == null ? void 0 : m.status
124
+ status: (p = r.purchaseOrder) == null ? void 0 : p.status
124
125
  },
125
126
  i
126
127
  );
@@ -136,7 +137,7 @@ const ze = { class: "flex flex-col py-8" }, Ee = { class: "fm-typo-en-body-md-40
136
137
  default: T(() => {
137
138
  var n;
138
139
  return [
139
- p("div", {
140
+ m("div", {
140
141
  class: ve([
141
142
  "flex flex-col gap-8 max-h-full",
142
143
  {
@@ -161,7 +162,7 @@ const ze = { class: "flex flex-col py-8" }, Ee = { class: "fm-typo-en-body-md-40
161
162
  u(e, {
162
163
  style: he(a(oe).tableHeight),
163
164
  "column-defs": a(B),
164
- "row-data": pe.value,
165
+ "row-data": me.value,
165
166
  "search-value": S.value,
166
167
  loading: !a(re)._currentLocation || a(s).loading.value,
167
168
  onRowClick: r[3] || (r[3] = (t) => a(s).promptShowTransferDetails(
@@ -176,29 +177,29 @@ const ze = { class: "flex flex-col py-8" }, Ee = { class: "fm-typo-en-body-md-40
176
177
  onRowClick: (o) => a(s).promptShowTransferDetails(o.purchaseOrder, o)
177
178
  }, {
178
179
  default: T((o) => {
179
- var m, N, V, f, A, M, F, L, v, $, z, h, E, _, U, Y, H, j, J, D, G, K, Q, W, g, X;
180
+ var p, N, V, f, A, M, F, L, v, $, z, h, E, _, U, Y, H, j, J, D, G, K, Q, W, g, X;
180
181
  return [
181
- p("div", ze, [
182
- p("div", Ee, [
182
+ m("div", ze, [
183
+ m("div", Ee, [
183
184
  u(a(R), {
184
- render: (V = (N = (m = o.purchaseOrder__id) == null ? void 0 : m.column) == null ? void 0 : N.columnDef) == null ? void 0 : V.cell,
185
+ render: (V = (N = (p = o.purchaseOrder__id) == null ? void 0 : p.column) == null ? void 0 : N.columnDef) == null ? void 0 : V.cell,
185
186
  props: (A = (f = o.purchaseOrder__id) == null ? void 0 : f.getContext) == null ? void 0 : A.call(f)
186
187
  }, null, 8, ["render", "props"])
187
188
  ]),
188
- p("div", Ue, [
189
+ m("div", Ue, [
189
190
  u(a(R), {
190
191
  render: (L = (F = (M = o.to_name) == null ? void 0 : M.column) == null ? void 0 : F.columnDef) == null ? void 0 : L.cell,
191
192
  props: ($ = (v = o.to_name) == null ? void 0 : v.getContext) == null ? void 0 : $.call(v)
192
193
  }, null, 8, ["render", "props"])
193
194
  ]),
194
- p("div", Ye, ge((U = (_ = (E = (h = (z = t.original.purchaseOrder) == null ? void 0 : z.items) == null ? void 0 : h.map) == null ? void 0 : E.call(h, (me) => `${me.name}`)) == null ? void 0 : _.join) == null ? void 0 : U.call(_, ", ")), 1),
195
+ m("div", Ye, ge((U = (_ = (E = (h = (z = t.original.purchaseOrder) == null ? void 0 : z.items) == null ? void 0 : h.map) == null ? void 0 : E.call(h, (pe) => `${pe.name}`)) == null ? void 0 : _.join) == null ? void 0 : U.call(_, ", ")), 1),
195
196
  (Y = t.original.purchaseOrder) != null && Y.ref ? (x(), _e("div", He, [
196
197
  u(a(R), {
197
198
  render: (J = (j = (H = o.purchaseOrder_ref) == null ? void 0 : H.column) == null ? void 0 : j.columnDef) == null ? void 0 : J.cell,
198
199
  props: (G = (D = o.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : G.call(D)
199
200
  }, null, 8, ["render", "props"])
200
201
  ])) : De("", !0),
201
- p("div", je, [
202
+ m("div", je, [
202
203
  u(a(R), {
203
204
  render: (W = (Q = (K = o.purchaseOrder_status) == null ? void 0 : K.column) == null ? void 0 : Q.columnDef) == null ? void 0 : W.cell,
204
205
  props: (X = (g = o.purchaseOrder_status) == null ? void 0 : g.getContext) == null ? void 0 : X.call(g)
@@ -239,5 +240,5 @@ const ze = { class: "flex flex-col py-8" }, Ee = { class: "fm-typo-en-body-md-40
239
240
  }
240
241
  });
241
242
  export {
242
- ut as default
243
+ it as default
243
244
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, createElementBlock as c, openBlock as i, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
2
- import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-tEKGPtHZ.js";
3
- import { a as L, av as S } from "./app-CGcDbrt8.js";
2
+ import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CNjTdNL7.js";
3
+ import { a as L, av as S } from "./app-OztWApio.js";
4
4
  const U = {
5
5
  key: 0,
6
6
  class: "flex justify-end gap-8 items-center"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, createElementBlock as p, openBlock as f, createVNode as u, createElementVNode as k } from "vue";
2
- import { a as M } from "./FmMultiselectDialog-eH3nO3P3.js";
3
- import { a as x, av as z } from "./app-CGcDbrt8.js";
2
+ import { a as M } from "./FmMultiselectDialog-DvaWLGY5.js";
3
+ import { a as x, av as z } from "./app-OztWApio.js";
4
4
  const F = {
5
5
  key: 0,
6
6
  class: "flex flex-col gap-16"
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, createElementBlock as u, openBlock as l, createStaticVNode as F, Fragment as L, renderList as I, createElementVNode as p, toDisplayString as v, createVNode as w, withModifiers as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
2
- import { F as b, a as P, av as R } from "./app-CGcDbrt8.js";
3
- import "./dayjs.min-DrqpmBJQ.js";
2
+ import { F as b, a as P, av as R } from "./app-OztWApio.js";
3
+ import "./dayjs.min-BIg6CfC4.js";
4
4
  import "@feedmepos/ui-library";
5
5
  /* empty css */
6
6
  import "@feedmepos/mf-common";
7
7
  import "./app-C39bYJmq.js";
8
- import "./netsuite-CaILEA4R.js";
9
- import "./inventory-core-dart.default-DGI40oFz.js";
8
+ import "./netsuite-DEhdSyBn.js";
9
+ import "./feature-BUVZ_ab3.js";
10
10
  const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
11
11
  __name: "binding-ui",
12
12
  props: {
@@ -1,33 +1,33 @@
1
1
  import { defineComponent as nt, ref as S, computed as L, watch as Ve, createElementBlock as h, openBlock as c, Fragment as we, createBlock as de, createVNode as N, Teleport as lt, Transition as $t, withCtx as Be, createCommentVNode as E, createElementVNode as e, toDisplayString as v, unref as t, normalizeClass as j, renderList as Ke, createTextVNode as ot, withModifiers as Ot, mergeModels as At, useModel as Bt, resolveComponent as $e, h as De, onMounted as Tt, onUnmounted as It, normalizeStyle as ft, watchEffect as Lt, isRef as ht, normalizeProps as gt, mergeProps as ct, guardReactiveProps as zt } from "vue";
2
- import { u as Mt, l as Ut } from "./netsuite-CaILEA4R.js";
3
- import { u as it, a as Vt, G as Jt, Z as _t, s as jt, _ as We, q as Wt, c as Yt, D as at, x as Qt } from "./app-CGcDbrt8.js";
4
- import { i as pt, _ as Ht } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BCuhx2cN.js";
5
- import { a as xt, d as Kt } from "./number-DE6ovaTs.js";
6
- import { b as Gt, d as Xt, c as Zt, e as en, f as tn, P as Rt, h as nn, a as sn, _ as on, g as an } from "./TransferDetails.vue_vue_type_script_setup_true_lang-BX36zWMb.js";
7
- import { i as rn } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-Btrg9HNc.js";
8
- import { d as Ye } from "./dayjs.min-DrqpmBJQ.js";
9
- import { e as ln } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-BT2v1gZv.js";
2
+ import { u as Mt, l as Ut } from "./netsuite-DEhdSyBn.js";
3
+ import { u as it, a as Vt, G as Jt, Z as _t, t as jt, _ as We, q as Wt, c as Yt, D as at, x as Qt } from "./app-OztWApio.js";
4
+ import { i as pt, _ as Ht } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BJuo4lEh.js";
5
+ import { a as xt, d as Kt } from "./rules-D01xYhgI.js";
6
+ import { b as Gt, d as Xt, c as Zt, e as en, f as tn, P as Rt, h as nn, a as sn, _ as on, g as an } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CMwqjlb0.js";
7
+ import { i as rn } from "./id-to-date-BfwadWDS.js";
8
+ import { d as Ye } from "./dayjs.min-BIg6CfC4.js";
9
+ import { e as ln } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-CULJEeCU.js";
10
10
  import { u as un } from "./useTabStorage-BkIVScW_.js";
11
11
  import { u as wt, _ as cn } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
12
12
  import { components as dn, useSnackbar as ut, useDialog as mn, useBreakpoints as fn } from "@feedmepos/ui-library";
13
- import { c as pn, u as vn, _ as yn, a as bn, b as hn } from "./EmailDialog.vue_vue_type_script_setup_true_lang-Cyj3ka37.js";
13
+ import { c as pn, u as vn, _ as yn, a as bn, b as hn } from "./EmailDialog.vue_vue_type_script_setup_true_lang-Ce6Ly9pT.js";
14
14
  import { useI18n as st, useCoreStore as Pt } from "@feedmepos/mf-common";
15
- import { u as Dt, a as gn } from "./supplier-DbdPWPj7.js";
16
- import { u as _n } from "./stock-WxsPiRKa.js";
17
- import { u as Ge } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-tfMHi9Yv.js";
18
- import { b as Et, a as xn } from "./format-unit-display-BXCWhtXb.js";
19
- import { P as wn } from "./inventory-core-dart.default-DGI40oFz.js";
20
- import { _ as kn, F as et } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
21
- import { u as qt } from "./feature-DtpSrELx.js";
15
+ import { u as Dt, a as gn } from "./supplier-DaidezrO.js";
16
+ import { u as _n } from "./stock-D3kBNq3e.js";
17
+ import { u as Ge } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-C_YmC-ZX.js";
18
+ import { b as Et, a as xn } from "./format-unit-display-BhudItCc.js";
19
+ import { P as wn, u as qt } from "./feature-BUVZ_ab3.js";
20
+ import { _ as kn } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js";
21
+ import { F as et } from "./index-eGvSlWMU.js";
22
22
  import { P as Cn, J as Fn, D as Sn } from "./app-C39bYJmq.js";
23
- import { a as Rn, t as Pn } from "./date2-CHOcS7LX.js";
23
+ import { a as Rn, t as Pn } from "./date2-BTzYzk-x.js";
24
24
  import { F as kt } from "./form-mode.enum-BKiNVH6A.js";
25
- import { p as Dn } from "./format-time-from-id-DBFdt14U.js";
25
+ import { p as Dn } from "./format-time-from-id-DGLxhRFH.js";
26
26
  import { defineStore as En } from "pinia";
27
- import { u as qn } from "./useSseClient-ml-_A-4u.js";
27
+ import { u as qn } from "./useSseClient-CHZZxy7Z.js";
28
28
  import { u as Nn } from "./use-row-action-Cvq6VO38.js";
29
- import { R as rt, D as $n } from "./row-action.enum-ncgDYAjP.js";
30
- import { u as On } from "./vue-i18n-DYapak10.js";
29
+ import { R as rt, D as $n } from "./row-action.enum-B2Y5YFbc.js";
30
+ import { u as On } from "./vue-i18n-mXrQUZTi.js";
31
31
  const An = {
32
32
  key: 0,
33
33
  class: "fixed inset-0 z-[200] bg-white flex flex-col overflow-hidden",
@@ -0,0 +1,151 @@
1
+ import { defineComponent as T, mergeModels as U, useModel as W, computed as i, ref as q, resolveComponent as k, createElementBlock as c, openBlock as t, createVNode as L, withCtx as D, createElementVNode as f, unref as s, createBlock as w, createCommentVNode as R, Fragment as d, renderList as z, createTextVNode as B, toDisplayString as m } from "vue";
2
+ import { u as A } from "./app-OztWApio.js";
3
+ import { useCoreStore as G, useI18n as H } from "@feedmepos/mf-common";
4
+ const J = { class: "inline-flex" }, K = {
5
+ "data-testid": "inventory-location-selector",
6
+ class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer text-fm-color-neutral-gray-400"
7
+ }, P = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, Q = { class: "relative" }, X = { class: "sticky top-0 py-8 bg-white translate-y-[-12px]" }, oe = /* @__PURE__ */ T({
8
+ __name: "ChangeLocationComponent",
9
+ props: /* @__PURE__ */ U({
10
+ showBusiness: { type: Boolean },
11
+ selectionOnly: { type: Boolean, default: !1 }
12
+ }, {
13
+ modelValue: { default: null },
14
+ modelModifiers: {}
15
+ }),
16
+ emits: ["update:modelValue"],
17
+ setup(g) {
18
+ const y = g, r = W(g, "modelValue"), l = A(), V = G(), N = i(() => {
19
+ var e;
20
+ return (e = V.currentBusiness.value) == null ? void 0 : e.name;
21
+ }), M = i(
22
+ () => {
23
+ var e;
24
+ return (e = V.currentBusiness.value) != null && e._id ? `business_${V.currentBusiness.value._id}` : null;
25
+ }
26
+ ), { t: C } = H(), h = q(""), a = i({
27
+ get() {
28
+ return y.selectionOnly ? r.value === M.value : l.businessLevel;
29
+ },
30
+ set(e) {
31
+ if (y.selectionOnly) {
32
+ r.value = e ? M.value : null;
33
+ return;
34
+ }
35
+ l.businessLevel = e;
36
+ }
37
+ }), S = i(
38
+ () => l.locations.map((e) => ({
39
+ label: e.name,
40
+ value: e.dbName,
41
+ type: e.type,
42
+ code: e.doc.profile.code ?? "--"
43
+ })).filter((e) => {
44
+ var v;
45
+ if (!h.value) return !0;
46
+ const n = h.value.toLocaleLowerCase();
47
+ return e.label.toLocaleLowerCase().includes(n) || ((v = e.code) == null ? void 0 : v.toLocaleLowerCase().includes(n));
48
+ })
49
+ ), F = i(
50
+ () => S.value.filter((e) => e.type === "restaurant")
51
+ ), I = i(
52
+ () => S.value.filter((e) => e.type === "warehouse")
53
+ );
54
+ function x({ value: e }) {
55
+ if (y.selectionOnly) {
56
+ r.value = e;
57
+ return;
58
+ }
59
+ a.value = !1, l.selectLocation(l.locations.find((n) => n.dbName === e));
60
+ }
61
+ function O(e) {
62
+ var n;
63
+ return y.selectionOnly ? !a.value && r.value === e.value : !a.value && ((n = l._currentLocation) == null ? void 0 : n.dbName) === e.value;
64
+ }
65
+ return (e, n) => {
66
+ const v = k("FmIcon"), E = k("FmSearch"), _ = k("FmMenuItem"), j = k("FmMenu");
67
+ return t(), c("div", J, [
68
+ L(j, { "close-on-click": !0 }, {
69
+ "menu-button": D(() => {
70
+ var o, u;
71
+ return [
72
+ f("div", K, [
73
+ L(v, {
74
+ name: e.showBusiness && a.value ? "store" : "storefront",
75
+ size: "sm"
76
+ }, null, 8, ["name"]),
77
+ f("div", P, [
78
+ e.showBusiness && a.value ? (t(), c(d, { key: 0 }, [
79
+ B(m(N.value), 1)
80
+ ], 64)) : e.selectionOnly && r.value ? (t(), c(d, { key: 1 }, [
81
+ B(m((o = s(l).locationByDbName[r.value]) == null ? void 0 : o.name) + " (" + m(((u = s(l).locationByDbName[r.value]) == null ? void 0 : u.doc.profile.code) ?? "--") + ") ", 1)
82
+ ], 64)) : s(l)._currentLocation ? (t(), c(d, { key: 2 }, [
83
+ B(m(s(l)._currentLocation.name) + " (" + m(s(l)._currentLocation.doc.profile.code ?? "--") + ") ", 1)
84
+ ], 64)) : (t(), c(d, { key: 3 }, [
85
+ B(m(s(C)("inventory.common.noLocationSelected")), 1)
86
+ ], 64))
87
+ ]),
88
+ L(v, {
89
+ name: "expand_more",
90
+ size: "sm"
91
+ })
92
+ ])
93
+ ];
94
+ }),
95
+ default: D(() => [
96
+ f("div", Q, [
97
+ f("div", X, [
98
+ L(E, {
99
+ "model-value": h.value,
100
+ "onUpdate:modelValue": n[0] || (n[0] = (o) => h.value = o),
101
+ placeholder: s(C)("inventory.common.table.toolbar.filterItems")
102
+ }, null, 8, ["model-value", "placeholder"])
103
+ ]),
104
+ f("div", null, [
105
+ e.showBusiness ? (t(), w(_, {
106
+ key: 0,
107
+ "data-testid": "inventory-business-selector",
108
+ "model-value": a.value,
109
+ label: N.value,
110
+ sublabel: "Business",
111
+ onClick: n[1] || (n[1] = (o) => a.value = !0)
112
+ }, null, 8, ["model-value", "label"])) : R("", !0),
113
+ (t(!0), c(d, null, z(F.value, (o) => (t(), w(_, {
114
+ key: o.value,
115
+ "model-value": O(o),
116
+ label: `${o.label} (${o.code})`,
117
+ sublabel: "Restaurant",
118
+ onClick: (u) => x(o),
119
+ onVnodeMounted: (u) => {
120
+ var p, b, $;
121
+ return !a.value && ((p = s(l)._currentLocation) == null ? void 0 : p.dbName) === o.value && ((b = u.el) == null || b.scrollIntoView({ behavior: "instant", block: "end" }), ($ = u.el) == null || $.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
122
+ }
123
+ }, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]))), 128)),
124
+ (t(!0), c(d, null, z(I.value, (o) => (t(), w(_, {
125
+ key: o.value,
126
+ "model-value": O(o),
127
+ label: o.label,
128
+ sublabel: "Warehouse",
129
+ onClick: (u) => x(o),
130
+ onVnodeMounted: (u) => {
131
+ var p, b;
132
+ return !a.value && ((p = s(l)._currentLocation) == null ? void 0 : p.dbName) === o.value && ((b = u.el) == null || b.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
133
+ }
134
+ }, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]))), 128)),
135
+ !e.showBusiness && !F.value.length && !I.value.length ? (t(), w(_, {
136
+ key: 1,
137
+ disabled: "",
138
+ label: s(C)("inventory.common.noResultFound")
139
+ }, null, 8, ["label"])) : R("", !0)
140
+ ])
141
+ ])
142
+ ]),
143
+ _: 1
144
+ })
145
+ ]);
146
+ };
147
+ }
148
+ });
149
+ export {
150
+ oe as _
151
+ };