@feedmepos/mf-inventory-portal 1.8.0-dev.1 → 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 (219) hide show
  1. package/dist/App-BjFIh5km.js +1466 -0
  2. package/dist/{ApprovalView-C8_ax05b.js → ApprovalView-CauRuf64.js} +26 -25
  3. package/dist/{BindingsDialog-t0ZY9eh5.js → BindingsDialog-U-tzIfGX.js} +2 -2
  4. package/dist/{BindingsPicker-C0Qblmml.js → BindingsPicker-CV_oghtz.js} +2 -2
  5. package/dist/{BindingsTable-CsqUBbRA.js → BindingsTable-TKSQxAxV.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-DAG-TMox.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-CdKp4Ny6.js → ClosingDraftView-UqeHsxyJ.js} +748 -746
  9. package/dist/ClosingHistoryView-Cr6cQq6j.js +769 -0
  10. package/dist/{ClosingTemplateView-C326DL4q.js → ClosingTemplateView-DZ0Mdc87.js} +303 -291
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CXjubRbj.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-C-OsCTxZ.js} +1 -1
  12. package/dist/{DefaultView-CsIMmQAY.js → DefaultView-DQKHG5Jl.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-eTrMvJzA.js → DeliveryOrderPrintPreview-Z_kBbMMO.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-B7nBbxMo.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-CI2KTzDs.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BJuo4lEh.js} +1 -1
  18. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Db_FiSRe.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-CYUxtxnS.js → FmMultiselectDialog-DvaWLGY5.js} +2 -2
  22. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DOkV11NN.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-CZ6E7cXf.js → IngredientsView-JfKlUU2E.js} +656 -649
  25. package/dist/{IntegrationExplorerView-B15ND4Fg.js → IntegrationExplorerView-uElgWH8i.js} +602 -614
  26. package/dist/IntegrationPlatformView-g2dU5SG6.js +13061 -0
  27. package/dist/{IntegrationView-hkNhsqx2.js → IntegrationView-B9g888K4.js} +2956 -2922
  28. package/dist/{InventoryBindingForm-SfuUF0_O.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-DUcukkyJ.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-BwgRX-14.js → ProductionRunDetailView-HgH2Wp99.js} +4 -4
  36. package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BbNXNhpr.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-C88pjV2s.js} +9 -9
  37. package/dist/{ProductionRunView-CZU7LY9-.js → ProductionRunView-BkvQHeCP.js} +16 -15
  38. package/dist/{PublishView-DS2FZ66p.js → PublishView-CIei_T5e.js} +3 -3
  39. package/dist/{PurchaseOrderPrintPreview-CZa0MVAs.js → PurchaseOrderPrintPreview-Wmv7676h.js} +2 -2
  40. package/dist/{ReceiveRequestView-Bk5b3nVB.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-DdZg9T4n.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CewKTZzy.js} +1 -1
  45. package/dist/{SupplierView-D8q6siZW.js → SupplierView-53rHhQ63.js} +577 -571
  46. package/dist/{SurchargeView-Db_5YFoR.js → SurchargeView-DuJb5EUn.js} +7 -7
  47. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-WOVs4Fr1.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-BtoP4XgE.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CyQujMzv.js} +1 -1
  50. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Bljc4Vuy.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-BqDiQ4IE.js → UnitCostHistoryView-BVlq4BNG.js} +4 -4
  53. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BjSmg5LX.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CULJEeCU.js} +4 -4
  54. package/dist/{UnitView-CM695-VI.js → UnitView-AuIJokVF.js} +84 -84
  55. package/dist/{WarehouseView-BdidU4p6.js → WarehouseView-Cjv8S1ov.js} +194 -189
  56. package/dist/{WastageTemplateView-DdhwdXT6.js → WastageTemplateView-mxSTzVSZ.js} +19 -18
  57. package/dist/api/feature-flags.d.ts +12 -0
  58. package/dist/api/integration-sync-log.d.ts +0 -13
  59. package/dist/api/inventory.d.ts +9 -9
  60. package/dist/api/license.d.ts +8 -0
  61. package/dist/{app-Cb5s4jMu.js → app-OztWApio.js} +6085 -6053
  62. package/dist/app.d.ts +36 -150
  63. package/dist/app.js +1 -1
  64. package/dist/{closing-template-DnqnpXxn.js → closing-template-DIxXDgZQ.js} +1 -1
  65. package/dist/components/ChangeLocationComponent.vue.d.ts +21 -14
  66. package/dist/components/DeprecateSoonWarningDialog.vue.d.ts +22 -0
  67. package/dist/components/FeatureCapabilityBadge.vue.d.ts +29 -0
  68. package/dist/components/FeatureCapabilityGate.spec.d.ts +1 -0
  69. package/dist/components/FeatureCapabilityGate.vue.d.ts +29 -0
  70. package/dist/components/FmUnitInputRules.d.ts +1 -1
  71. package/dist/components/MultiLocationSelector.vue.d.ts +6 -6
  72. package/dist/components/NumberPrecisionInput.spec.d.ts +1 -0
  73. package/dist/components/{PremiumBadge.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-BPhD_1Of.js → date2-BTzYzk-x.js} +1 -1
  77. package/dist/{dayjs.min-Zbd6-uVD.js → dayjs.min-BIg6CfC4.js} +1 -1
  78. package/dist/{decimal-Df6a50Ld.js → decimal-B34w3X7O.js} +2 -2
  79. package/dist/{defineDeepModel-Brbsikbi.js → defineDeepModel-CrZAv12u.js} +1 -1
  80. package/dist/{duplicate-template-B9kuShaF.js → duplicate-template-BKVPhi40.js} +1 -1
  81. package/dist/{inventory-core-dart.default-DDRxXXnt.js → feature-BUVZ_ab3.js} +766 -398
  82. package/dist/feature-flags/core.d.ts +28 -0
  83. package/dist/feature-flags/core.spec.d.ts +1 -0
  84. package/dist/feature-flags/navigation-capabilities.d.ts +23 -0
  85. package/dist/feature-flags/navigation-capabilities.spec.d.ts +1 -0
  86. package/dist/feature-flags/plan-tier.d.ts +6 -0
  87. package/dist/feature-flags/plan-tier.spec.d.ts +1 -0
  88. package/dist/feature-flags/portal-feature-catalog.d.ts +19 -0
  89. package/dist/feature-flags/portal-feature-catalog.spec.d.ts +1 -0
  90. package/dist/feature-flags/vue.d.ts +16 -0
  91. package/dist/feature-flags/vue.spec.d.ts +1 -0
  92. package/dist/{format-time-from-id-DmUjUcVj.js → format-time-from-id-DGLxhRFH.js} +1 -1
  93. package/dist/{format-unit-display-CsQA0SQd.js → format-unit-display-BhudItCc.js} +118 -119
  94. package/dist/helper/menu-usage-module.d.ts +1 -1
  95. package/dist/helper/number.d.ts +5 -1
  96. package/dist/helper/rules.d.ts +1 -1
  97. package/dist/id-to-date-BfwadWDS.js +67 -0
  98. package/dist/{import-export.helper-DCQ6oX9s.js → import-export.helper-BdQ_d-fT.js} +16 -17
  99. package/dist/{index-UmM6gHJ1.js → index-BTNI4XZ2.js} +1 -1
  100. package/dist/{index-C-mazZwS.js → index-B_hoeQNL.js} +3 -3
  101. package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
  102. package/dist/{index-BXaIMGnI.js → index-CCvxPS3E.js} +1 -1
  103. package/dist/index-eGvSlWMU.js +1892 -0
  104. package/dist/{lz-string-Bibw5D_6.js → lz-string-CVEGZpSC.js} +1 -1
  105. package/dist/{netsuite-Bev0OtQT.js → netsuite-DEhdSyBn.js} +9 -3
  106. package/dist/{predefined-templates-BHvUnTk_.js → predefined-templates-BTdQl7jj.js} +1 -1
  107. package/dist/{purchase-order-template-DgOKEzhS.js → purchase-order-template-DfMmpsrJ.js} +1 -1
  108. package/dist/{recalculationUtils-Dv__DzZh.js → recalculationUtils-Ds9Jcg0l.js} +1 -1
  109. package/dist/router/name.d.ts +2 -2
  110. package/dist/{row-action.enum-ncgDYAjP.js → row-action.enum-B2Y5YFbc.js} +2 -2
  111. package/dist/rules-D01xYhgI.js +238 -0
  112. package/dist/{stock-CxCRZo_D.js → stock-D3kBNq3e.js} +1 -1
  113. package/dist/stock-DyTC4Teu.js +74 -0
  114. package/dist/stores/feature.d.ts +20 -2
  115. package/dist/stores/integration/netsuite.d.ts +2 -2
  116. package/dist/stores/inventory.d.ts +0 -47
  117. package/dist/stores/inventory.no-location.spec.d.ts +1 -0
  118. package/dist/stores/location.d.ts +42 -42
  119. package/dist/stores/supplier.d.ts +49 -49
  120. package/dist/stores/warehouse.d.ts +1 -1
  121. package/dist/style.css +1 -1
  122. package/dist/{supplier-CkZdeMcl.js → supplier-DaidezrO.js} +2 -2
  123. package/dist/{surcharge-FRSFqjGl.js → surcharge-C-PFvvlU.js} +1 -1
  124. package/dist/tsconfig.app.tsbuildinfo +1 -1
  125. package/dist/{uom-rules-Cm1styDr.js → uom-rules-Un5bhcrm.js} +1 -1
  126. package/dist/{use-ingredient-select-dialog-ntAqHX04.js → use-ingredient-select-dialog-DV_hkAt9.js} +2 -2
  127. package/dist/use-inventory-binding-dialog-CTceyFrg.js +113 -0
  128. package/dist/{use-template-enabled-locations-CIZqw-Z8.js → use-template-enabled-locations-DGqw8tvz.js} +2 -2
  129. package/dist/{use-transfer-locations-CM5vNttA.js → use-transfer-locations-DgtKajec.js} +2 -2
  130. package/dist/{useHrmPermission-CslLuBoP.js → useHrmPermission-BMpZlah6.js} +1 -1
  131. package/dist/useNavigationMenu-D0NtXAnB.js +346 -0
  132. package/dist/{useSseClient-CCV4mPzD.js → useSseClient-CHZZxy7Z.js} +1 -1
  133. package/dist/views/adjustment-template/wastage-template/actions.d.ts +36 -36
  134. package/dist/views/adjustment-template/wastage-template/table.d.ts +36 -36
  135. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -6
  136. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +12 -12
  137. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +6 -6
  138. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +3 -3
  139. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +18 -18
  140. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +45 -45
  141. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
  142. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -1
  143. package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +0 -1
  144. package/dist/views/ingredients/components/inventory-binding/recipe-amount-validation.spec.d.ts +1 -0
  145. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -1
  146. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -1
  147. package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +1 -1
  148. package/dist/{components/PreviewBadge.vue.d.ts → views/integration/IntegrationPlatformView.vue.d.ts} +11 -13
  149. package/dist/views/integration/components/IntegrationCard.vue.d.ts +38 -0
  150. package/dist/views/integration/components/Synergy/importFn.spec.d.ts +1 -0
  151. package/dist/views/integration/components/Xilnex/importFn.spec.d.ts +1 -0
  152. package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +36 -36
  153. package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +24 -24
  154. package/dist/views/integration/helper/opening-balance.d.ts +22 -0
  155. package/dist/views/integration/helper/opening-balance.spec.d.ts +1 -0
  156. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +5 -5
  157. package/dist/views/receive-request/composables/netsuite-order-label.d.ts +11 -0
  158. package/dist/views/receive-request/composables/netsuite-order-label.spec.d.ts +1 -0
  159. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +5 -5
  160. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +39 -39
  161. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +35 -35
  162. package/dist/views/receive-request/import/export.spec.d.ts +1 -0
  163. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +34 -34
  164. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +6 -6
  165. package/dist/views/recipe/components/recipe-bulk-editor/components/ModificationCard.spec.d.ts +1 -0
  166. package/dist/views/recipe/helper/bulk-edit-simulation.helper.d.ts +0 -1
  167. package/dist/views/recipe/helper/import-recipe.d.ts +2 -2
  168. package/dist/views/recipe/helper/import-recipe.spec.d.ts +1 -0
  169. package/dist/views/{ingredient-group/IngredientGroupView.vue.d.ts → settings/FeatureFlagView.vue.d.ts} +0 -1
  170. package/dist/views/settings/PlanLicenseDisplay.spec.d.ts +1 -0
  171. package/dist/views/{integration/components/IntegrationSyncLogTab.vue.d.ts → settings/PlanLicenseDisplay.vue.d.ts} +2 -2
  172. package/dist/views/stock/components/dialog/AmendAdjustmentForm.spec.d.ts +1 -0
  173. package/dist/views/stock/components/dialog/ConvertSkuDialog.spec.d.ts +1 -0
  174. package/dist/views/supplier/components/SupplierForm.vue.d.ts +4 -4
  175. package/dist/views/supplier/composables/use-supplier-table.d.ts +2 -2
  176. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -8
  177. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
  178. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts +1 -0
  179. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +24 -24
  180. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -48
  181. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -48
  182. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -2
  183. package/dist/{vue-i18n-C5j4EQhi.js → vue-i18n-mXrQUZTi.js} +519 -519
  184. package/dist/{xlsx.util-B50OvX4z.js → xlsx.util-CKx0NYTq.js} +2 -2
  185. package/package.json +71 -66
  186. package/dist/App-BXgpGzGR.js +0 -1476
  187. package/dist/ClosingHistoryView-Blyq9-BS.js +0 -761
  188. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-zcEv1Swg.js +0 -243
  189. package/dist/FmMultiselectDialog-BAw-gp5K.js +0 -77
  190. package/dist/ImportView-BmotFC-3.js +0 -1302
  191. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-DVCCpvS4.js +0 -51
  192. package/dist/IngredientGroupView-qrR9ksEn.js +0 -985
  193. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-Zq81p_MF.js +0 -563
  194. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BmfROiLM.js +0 -72
  195. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-3e3kDsbN.js +0 -93
  196. package/dist/PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js +0 -29
  197. package/dist/RecipeView-DvI6X-uN.js +0 -3625
  198. package/dist/SettingsView-sThYErMz.js +0 -698
  199. package/dist/StockView-Z9wGihT7.js +0 -2612
  200. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
  201. package/dist/TransferTemplateView-DtsJzmUr.js +0 -2327
  202. package/dist/feature-Ckn5ra3z.js +0 -1136
  203. package/dist/number-y_W4pn_d.js +0 -138
  204. package/dist/random-CSbEbElR.js +0 -10
  205. package/dist/rules-CZTBvenw.js +0 -98
  206. package/dist/stock-XINW8JOM.js +0 -75
  207. package/dist/use-inventory-binding-dialog-DVIJO8Cl.js +0 -152
  208. package/dist/useNavigationMenu-CSinmNCY.js +0 -172
  209. package/dist/usePromise-CbVUCxhj.js +0 -29
  210. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
  211. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -10
  212. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -21
  213. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
  214. package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +0 -37
  215. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
  216. package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +0 -31
  217. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -77
  218. package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
  219. /package/dist/components/{FmFeatureFlagDialog.vue.d.ts → DeprecateSoonPill.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-Cb5s4jMu.js";
3
- import { a as Se } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CI2KTzDs.js";
4
- import { u as Pe, P as w, a as xe, _ as Te } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Bljc4Vuy.js";
5
- import { c as I } from "./date2-BPhD_1Of.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-zcEv1Swg.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-Bev0OtQT.js";
13
- import { f as Le } from "./predefined-templates-BHvUnTk_.js";
14
- import "./inventory-core-dart.default-DDRxXXnt.js";
15
- import { _ as $e } from "./CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CXjubRbj.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-Zq81p_MF.js";
3
- import { a as L, av as S } from "./app-Cb5s4jMu.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-CYUxtxnS.js";
3
- import { a as x, av as z } from "./app-Cb5s4jMu.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-Cb5s4jMu.js";
3
- import "./dayjs.min-Zbd6-uVD.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-Bev0OtQT.js";
9
- import "./inventory-core-dart.default-DDRxXXnt.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-Bev0OtQT.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-Cb5s4jMu.js";
4
- import { i as pt, _ as Ht } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CI2KTzDs.js";
5
- import { a as xt, d as Kt } from "./number-y_W4pn_d.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-Bljc4Vuy.js";
7
- import { i as rn } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-3e3kDsbN.js";
8
- import { d as Ye } from "./dayjs.min-Zbd6-uVD.js";
9
- import { e as ln } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-BjSmg5LX.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-B7nBbxMo.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-CkZdeMcl.js";
16
- import { u as _n } from "./stock-CxCRZo_D.js";
17
- import { u as Ge } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-WOVs4Fr1.js";
18
- import { b as Et, a as xn } from "./format-unit-display-CsQA0SQd.js";
19
- import { P as wn } from "./inventory-core-dart.default-DDRxXXnt.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-Ckn5ra3z.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-BPhD_1Of.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-DmUjUcVj.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-CCV4mPzD.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-C5j4EQhi.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
+ };