@feedmepos/mf-inventory-portal 1.2.64 → 1.2.66-dev.1

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 (142) hide show
  1. package/dist/{App-apJIvz1w.js → App-BUNonuLz.js} +82 -78
  2. package/dist/{ApprovalView-CnT6gEI8.js → ApprovalView-BlS1tfbh.js} +6 -6
  3. package/dist/{BindingsDialog-DLEGDbV2.js → BindingsDialog-tRpsVTm0.js} +5 -5
  4. package/dist/{BindingsPicker-1Xt1vCu9.js → BindingsPicker-CUvkqcAG.js} +3 -3
  5. package/dist/{BindingsTable-_0cOM0Kx.js → BindingsTable-B86pWYMk.js} +5 -5
  6. package/dist/{ClosingDraftView-DsVPsN87.js → ClosingDraftView-gMVnQcWw.js} +226 -224
  7. package/dist/ClosingHistoryView-DhbE1pEl.js +1147 -0
  8. package/dist/{ClosingTemplateView-DB3F1wul.js → ClosingTemplateView-Ywbdj05y.js} +15 -15
  9. package/dist/{DeliveryOrderPrintPreview-CglCMgHc.js → DeliveryOrderPrintPreview-BPhVNc_r.js} +7 -7
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-MMPTJodu.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BrPh_Nvx.js} +16 -16
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CCID5O2Y.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CkUwLhut.js} +3 -3
  12. package/dist/{FmMultiselectDialog-B8xFmCsH.js → FmMultiselectDialog-C6E_KMFO.js} +1 -1
  13. package/dist/{FmMultiselectDialog-lQM1qEEW.js → FmMultiselectDialog-DBXpkw5b.js} +16 -16
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BLDz8wwK.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D-ZqJ8sU.js} +23 -22
  15. package/dist/{ImportView-DeC-MPFn.js → ImportView-DV1e51qk.js} +7 -7
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BGDZlmsr.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DkQL7hK2.js} +1 -1
  17. package/dist/{IngredientGroupView-CuFwQ8Bo.js → IngredientGroupView-CdXGO34J.js} +6 -6
  18. package/dist/{IngredientsView-CfloqEqn.js → IngredientsView-D2qffNiJ.js} +26 -25
  19. package/dist/{IntegrationView-CFU0yG6C.js → IntegrationView-RFJIHXQv.js} +19 -18
  20. package/dist/{InventoryBindingForm-i7eNurS2.js → InventoryBindingForm-CPn-IXgg.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-zOo9YVJe.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-0Vrih8D5.js} +17 -16
  22. package/dist/{InventoryBindingSummary-BbHLCdjj.js → InventoryBindingSummary-B_WUQ6By.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-NEPqmkHR.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BmDuR4Yb.js} +5 -5
  24. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-DhIHSpzG.js +93 -0
  25. package/dist/{PublishView-CbwCLtph.js → PublishView-BtTSOUyL.js} +9 -9
  26. package/dist/{PurchaseOrderPrintPreview-DLhgjhHB.js → PurchaseOrderPrintPreview-CxhMPx5u.js} +11 -11
  27. package/dist/{ReceiveRequestView-CE2aQR-o.js → ReceiveRequestView-CsqEjf7r.js} +144 -142
  28. package/dist/RecipeView-DASoba97.js +1558 -0
  29. package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js +254 -0
  30. package/dist/StockView-B4Km4DgB.js +2395 -0
  31. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-D0BDdq4d.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cki-LAZR.js} +1 -1
  32. package/dist/{SupplierView-wSzWjZLY.js → SupplierView-CrzFvBIx.js} +21 -20
  33. package/dist/{SurchargeView-G8OyE60y.js → SurchargeView-BoNWpxFY.js} +7 -7
  34. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CROQL761.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dcp5vZPM.js} +3 -3
  35. package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-IAknr-ye.js +292 -0
  36. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-D1AGDeEP.js → TransferDetails.vue_vue_type_script_setup_true_lang-D9aNX0oM.js} +131 -130
  37. package/dist/{TransferTemplateView-CVfi8jsk.js → TransferTemplateView-DwIU0paO.js} +23 -22
  38. package/dist/UnitCostHistoryView-Bjs4RwyR.js +651 -0
  39. package/dist/UnitDisplayControl.vue_vue_type_script_setup_true_lang-BH0PxivU.js +137 -0
  40. package/dist/{UnitView-Dn3nuQHm.js → UnitView-BbQ0jOgS.js} +12 -10
  41. package/dist/{WarehouseView-GSxQ_Ev2.js → WarehouseView-DzPttKzE.js} +6 -6
  42. package/dist/WastageTemplateView-CxyZz5JC.js +2327 -0
  43. package/dist/api/adjustment-template.d.ts +1 -0
  44. package/dist/api/closing.d.ts +2 -0
  45. package/dist/api/inventory.d.ts +126 -36
  46. package/dist/api/netsuite.d.ts +8 -1
  47. package/dist/api/stock.d.ts +5 -1
  48. package/dist/api/unit-cost-history.d.ts +28 -0
  49. package/dist/{app-CYbiMVcX.js → app-EoCCjoRh.js} +9021 -7945
  50. package/dist/app.d.ts +236 -0
  51. package/dist/app.js +1 -1
  52. package/dist/{closing-template-Dq16W8vW.js → closing-template-O_hzhisU.js} +5 -1
  53. package/dist/components/TemplatePublishDialog.d.ts +1 -0
  54. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +37 -1
  55. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +14 -0
  56. package/dist/components/shell/inventory/binding-ui.vue.d.ts +16 -1
  57. package/dist/{date2-De3BHKh5.js → date2-CTHKdfXp.js} +1 -1
  58. package/dist/{dayjs.min-DxdfVXA-.js → dayjs.min-Ccv4NdEp.js} +16 -16
  59. package/dist/decimal-tRyklLh0.js +99 -0
  60. package/dist/{defineDeepModel-2n_afItE.js → defineDeepModel-rmOd66to.js} +1 -1
  61. package/dist/{duplicate-template-DM7YIgor.js → duplicate-template-k8Erwdzo.js} +1 -1
  62. package/dist/export-TmaGpV98.js +25 -0
  63. package/dist/{feature-_nNpSZuh.js → feature-D4-lt7R6.js} +94 -89
  64. package/dist/{format-time-from-id-D5HSMsS-.js → format-time-from-id-Cru7cG1h.js} +1 -1
  65. package/dist/{format-unit-display-CQUFDxVm.js → format-unit-display-DZDD796a.js} +16 -15
  66. package/dist/{import-export.helper-BoxczUsX.js → import-export.helper-BjzXGudc.js} +16 -15
  67. package/dist/{index-B6nDUCCe.js → index-BeEz64I1.js} +3 -3
  68. package/dist/{index-Cp_mpu5S.js → index-DKCY6354.js} +1471 -1412
  69. package/dist/{index-CdfF5GGW.js → index-gGbN4qbt.js} +1 -1
  70. package/dist/{lodash-2R7Rgorb.js → lodash-BSCFf0k7.js} +1 -1
  71. package/dist/{netsuite-Bss4fURp.js → netsuite-DwoCq3Mv.js} +92 -92
  72. package/dist/number-CEUoMyIk.js +138 -0
  73. package/dist/{purchase-order-template-CBSvv0b2.js → purchase-order-template-DWTdjo9l.js} +1 -1
  74. package/dist/router/name.d.ts +1 -0
  75. package/dist/rules-CyW1Bx31.js +98 -0
  76. package/dist/{stock-DMX_hH5c.js → stock-DYWJ4DZW.js} +28 -27
  77. package/dist/stock-Ds3GNgHG.js +75 -0
  78. package/dist/stores/feature.d.ts +2 -0
  79. package/dist/stores/integration/netsuite.d.ts +8 -1
  80. package/dist/stores/inventory.d.ts +120 -30
  81. package/dist/{supplier-Cf5HW15s.js → supplier-DwUb1oVo.js} +2 -2
  82. package/dist/{surcharge-CyReT8lG.js → surcharge-UTJFNBLN.js} +1 -1
  83. package/dist/tsconfig.app.tsbuildinfo +1 -1
  84. package/dist/{use-ingredient-select-dialog-BCyydlHR.js → use-ingredient-select-dialog-D8A3bPTe.js} +2 -2
  85. package/dist/{use-inventory-binding-dialog-WGQs-_2i.js → use-inventory-binding-dialog-DFmiAQ9d.js} +2 -2
  86. package/dist/{use-template-enabled-locations-2-B0nlqUjb.js → use-template-enabled-locations-2-snlITfW8.js} +2 -2
  87. package/dist/views/adjustment-template/wastage-template/table.d.ts +10 -1
  88. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +68 -12
  89. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +204 -36
  90. package/dist/views/closing-history/ClosingDetailDialog.vue.d.ts +23 -0
  91. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -1
  92. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +96 -12
  93. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +96 -12
  94. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +18 -18
  95. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +14 -0
  96. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -4
  97. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +28 -0
  98. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +169 -0
  99. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +43 -0
  100. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingRule.vue.d.ts +25 -0
  101. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +125 -0
  102. package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +129 -0
  103. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +30 -0
  104. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +4 -0
  105. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -1
  106. package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +16 -2
  107. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +33 -5
  108. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +16 -2
  109. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +32 -4
  110. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +8 -1
  111. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +41 -6
  112. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +246 -36
  113. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +287 -42
  114. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +16 -0
  115. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -0
  116. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +16 -2
  117. package/dist/views/stock/components/dialog/SnapshotRecalculationDialog.vue.d.ts +11 -0
  118. package/dist/views/stock/components/dialog/recalculationUtils.d.ts +16 -0
  119. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +16 -2
  120. package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +16 -2
  121. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +16 -2
  122. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -1
  123. package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +24 -3
  124. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -12
  125. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -12
  126. package/dist/views/unit-cost-history/UnitCostHistoryView.vue.d.ts +2 -0
  127. package/dist/views/unit-cost-history/components/UnitCostDetailsSideSheet.vue.d.ts +19 -0
  128. package/dist/views/unit-cost-history/components/UnitCostRecalculationDialog.vue.d.ts +11 -0
  129. package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +65 -0
  130. package/dist/{vue-i18n-DwS_fjo9.js → vue-i18n-CY4442Fb.js} +510 -510
  131. package/dist/{xlsx-9MOvXxhT.js → xlsx-Kc1XotGV.js} +1 -1
  132. package/dist/{xlsx.util-D1DdGA1N.js → xlsx.util-Dy4jmPyv.js} +1 -1
  133. package/package.json +1 -1
  134. package/dist/ClosingHistoryView-YrEVWvGu.js +0 -447
  135. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BDVHkTSE.js +0 -116
  136. package/dist/RecipeView-B-gmrXHR.js +0 -646
  137. package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js +0 -251
  138. package/dist/StockView-BNe2_5bA.js +0 -2520
  139. package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CwV2luel.js +0 -263
  140. package/dist/WastageTemplateView-BG-y48uc.js +0 -2388
  141. package/dist/rules-T-fs8_4_.js +0 -327
  142. package/dist/stock-CFWu5bRA.js +0 -75
@@ -1,22 +1,23 @@
1
1
  import { defineComponent as P, mergeModels as Ye, useModel as ke, onMounted as ie, ref as L, computed as O, resolveComponent as F, openBlock as x, createElementBlock as E, createElementVNode as l, toDisplayString as R, unref as V, createVNode as A, createBlock as H, withCtx as N, Fragment as Y, renderList as ee, normalizeClass as q, normalizeStyle as Qe, createSlots as oe, createCommentVNode as j, withModifiers as Je, reactive as Fe, watch as Ce, isRef as re, Teleport as pe, h as k, createTextVNode as K, watchEffect as Ke } from "vue";
2
2
  import { E as qe } from "./empty-placeholder-wf6-BWE8.js";
3
- import { y as Ge, z as Ze, c as ae, u as se, A as We, a as ce, N as ge, B as Ae, C as $, w as ne, D as Be, E as Ve, v as fe } from "./app-CYbiMVcX.js";
3
+ import { A as Ge, B as Ze, c as ae, u as se, C as We, a as ce, N as ge, D as Ae, E as $, y as ne, G as Be, H as Ve, v as fe } from "./app-EoCCjoRh.js";
4
4
  import { useDialogChild as $e, useDialog as be, useProxiedModel as ue, useSnackbar as G, useBreakpoints as _e, components as J } from "@feedmepos/ui-library";
5
- import { F as Ee, _ as et } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
5
+ import { F as Ee, _ as et } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js";
6
6
  import { useI18n as Z, useCoreStore as le } from "@feedmepos/mf-common";
7
- import { _ as tt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CCID5O2Y.js";
8
- import { u as nt, a as st, b as ot, c as at } from "./index-B6nDUCCe.js";
9
- import { u as te, a as me } from "./netsuite-Bss4fURp.js";
10
- import { b as lt, a as it } from "./FmMultiselectDialog-lQM1qEEW.js";
11
- import { R as rt, a as ut } from "./rules-T-fs8_4_.js";
7
+ import { _ as tt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CkUwLhut.js";
8
+ import { u as nt, a as st, b as ot, c as at } from "./index-BeEz64I1.js";
9
+ import { u as te, a as me } from "./netsuite-DwoCq3Mv.js";
10
+ import { b as lt, a as it } from "./FmMultiselectDialog-DBXpkw5b.js";
11
+ import { R as rt } from "./rules-CyW1Bx31.js";
12
12
  import { P as Ne, J as Le, D as De } from "./app-DiX-EfV6.js";
13
- import { u as dt } from "./supplier-Cf5HW15s.js";
14
- import { u as ve } from "./vue-i18n-DwS_fjo9.js";
15
- import { _ as ct, a as mt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BLDz8wwK.js";
16
- import { a as he, f as Te } from "./date2-De3BHKh5.js";
17
- import { u as Re } from "./feature-_nNpSZuh.js";
13
+ import { u as ut } from "./supplier-DwUb1oVo.js";
14
+ import { u as ve } from "./vue-i18n-CY4442Fb.js";
15
+ import { _ as dt, a as ct } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D-ZqJ8sU.js";
16
+ import { a as mt } from "./number-CEUoMyIk.js";
17
+ import { a as he, f as Te } from "./date2-CTHKdfXp.js";
18
+ import { u as Re } from "./feature-D4-lt7R6.js";
18
19
  import { F as Oe } from "./FmDroppableField-J0xUsOTV.js";
19
- import { r as Me, u as ze } from "./xlsx-9MOvXxhT.js";
20
+ import { r as Me, u as ze } from "./xlsx-Kc1XotGV.js";
20
21
  const ft = "data:image/svg+xml,%3csvg%20width='200'%20height='101'%20viewBox='0%200%20200%20101'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M98.9161%2038.4456V24.1772H108.527V27.1988H102.12V30.2202H107.347V32.7382H102.12V38.4456H98.9161Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.382%2031.2276C110.382%2027.5345%20113.249%2024.1772%20117.127%2024.1772C121.174%2024.1772%20123.872%2027.7024%20123.872%2031.3953C123.872%2035.0884%20121.005%2038.6133%20117.127%2038.6133C113.08%2038.4456%20110.382%2034.9204%20110.382%2031.2276ZM117.127%2035.5919C119.487%2035.5919%20120.499%2033.4096%20120.499%2031.2276C120.499%2029.0452%20119.319%2027.0309%20117.127%2027.0309C114.935%2027.0309%20113.754%2029.213%20113.754%2031.2276C113.754%2033.5776%20114.935%2035.5919%20117.127%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M126.232%2031.2276C126.232%2027.5345%20129.099%2024.1772%20132.977%2024.1772C137.024%2024.1772%20139.722%2027.7024%20139.722%2031.3953C139.722%2035.0884%20136.855%2038.6133%20132.977%2038.6133C128.93%2038.4456%20126.232%2034.9204%20126.232%2031.2276ZM132.977%2035.5919C135.337%2035.5919%20136.349%2033.4096%20136.349%2031.2276C136.349%2029.0452%20135.169%2027.0309%20132.977%2027.0309C130.785%2027.0309%20129.604%2029.213%20129.604%2031.2276C129.604%2033.5776%20130.785%2035.5919%20132.977%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M142.926%2038.4455V24.345H148.153C152.874%2024.345%20155.235%2027.5343%20155.235%2031.3952C155.235%2035.5918%20152.368%2038.4455%20148.153%2038.4455H142.926ZM148.153%2027.0308H146.129V35.4238H148.153C150.513%2035.4238%20151.862%2033.5775%20151.862%2031.2272C151.862%2028.8773%20150.513%2027.0308%20148.153%2027.0308Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.045%2057.5607V49.1676L107.009%2055.2107H105.324L102.12%2049.1676V57.5607H98.9161V43.4604H102.457L106.167%2050.8465L109.876%2043.4604H113.417V57.5607H110.045Z'%20fill='%235D5359'/%3e%3cpath%20d='M115.947%2057.5607L121.342%2043.4604H124.04L129.436%2057.5607H125.895L124.715%2054.3716H120.331L119.319%2057.5607H115.947ZM122.691%2046.9856L121.005%2052.1893H124.378L122.691%2046.9856Z'%20fill='%235D5359'/%3e%3cpath%20d='M131.965%2057.5607V43.4604H138.373C141.07%2043.4604%20142.925%2045.8105%20142.925%2048.1605C142.925%2049.8393%20142.082%2051.5179%20140.565%2052.1893L143.768%2057.393H140.059L137.192%2052.8607H135V57.393H131.965V57.5607ZM135.169%2050.175H138.204C139.047%2050.175%20139.553%2049.3356%20139.553%2048.1605C139.553%2046.9856%20138.71%2046.3142%20138.035%2046.3142H135.169V50.175Z'%20fill='%235D5359'/%3e%3cpath%20d='M146.635%2057.5607V43.4604H150.007V49.8393L155.403%2043.4604H158.776L153.548%2049.6713L159.281%2057.5607H155.74L151.693%2051.5179L150.007%2053.3642V57.5607H146.635Z'%20fill='%235D5359'/%3e%3cpath%20d='M171.422%2054.7073V57.5607H161.474V43.4604H171.253V46.3142H164.677V48.9999H170.242V51.6856H164.677V54.7073H171.422Z'%20fill='%235D5359'/%3e%3cpath%20d='M185.417%2046.3142H181.202V57.5607H177.829V46.3142H173.614V43.4604H185.417V46.3142Z'%20fill='%235D5359'/%3e%3cpath%20d='M111.057%2062.5967V76.6973H107.853V70.9898H102.12V76.6973H98.9161V62.5967H102.12V68.1361H107.853V62.5967H111.057Z'%20fill='%235D5359'/%3e%3cpath%20d='M124.04%2069.815V62.5967H127.244V69.815C127.244%2073.6758%20125.389%2076.865%20121.005%2076.865C116.453%2076.865%20114.766%2073.5078%20114.766%2069.815V62.5967H117.97V69.815C117.97%2071.997%20118.813%2074.0115%20121.005%2074.0115C123.366%2074.0115%20124.04%2071.997%20124.04%2069.815Z'%20fill='%235D5359'/%3e%3cpath%20d='M138.036%2076.6973H131.122V62.5967H139.047C141.071%2062.5967%20142.251%2064.4433%20142.251%2066.2898C142.251%2067.6327%20141.576%2068.9755%20140.228%2069.4793C141.914%2069.9827%20142.926%2071.1578%20142.926%2073.1721C142.757%2075.5221%20140.733%2076.6973%20138.036%2076.6973ZM134.326%2065.4504V68.3041H137.53C138.204%2068.3041%20138.879%2067.8004%20138.879%2066.7933C138.879%2065.7861%20138.373%2065.2827%20137.698%2065.2827H134.326V65.4504ZM138.204%2070.8221H134.494V73.8435H138.204C139.047%2073.8435%20139.722%2073.1721%20139.722%2072.3327C139.553%2071.6613%20138.879%2070.8221%20138.204%2070.8221Z'%20fill='%235D5359'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M73.4753%2051.4994C78.7281%2050.5396%2082.8911%2046.4891%2083.9954%2041.3137L84.1232%2040.7134L83.9445%2040.1256C80.5804%2029.066%2071.9945%2020.2704%2061.0373%2016.5726C57.4%2015.3451%2053.5046%2014.6804%2049.458%2014.6804C45.4112%2014.6804%2041.5158%2015.3451%2037.8784%2016.5726C26.9214%2020.2704%2018.3354%2029.066%2014.9712%2040.1256L14.7924%2040.7134L14.9206%2041.3137C16.0247%2046.4891%2020.1875%2050.5396%2025.4405%2051.4994V58.8839H14.4183C14.6758%2059.9557%2014.9818%2061.0088%2015.3337%2062.0411C20.1553%2076.1811%2033.6083%2086.3619%2049.458%2086.3619C65.3074%2086.3619%2078.7606%2076.1811%2083.5822%2062.0411C83.9342%2061.0088%2084.2399%2059.9557%2084.4974%2058.8839H73.4753V51.4994ZM41.0517%2020.5973V38.5742C41.0517%2043.1931%2044.8155%2046.9371%2049.458%2046.9371C54.1005%2046.9371%2057.8641%2043.1931%2057.8641%2038.5742V20.5973C55.1919%2019.856%2052.3732%2019.4592%2049.458%2019.4592C46.5428%2019.4592%2043.7241%2019.856%2041.0517%2020.5973ZM62.6675%2022.3673V38.5742C62.6675%2043.1931%2066.431%2046.9371%2071.0735%2046.9371C74.9051%2046.9371%2078.1425%2044.3848%2079.1528%2040.8942C76.4672%2032.6902%2070.4379%2025.9824%2062.6675%2022.3673ZM60.2658%2046.1322C57.8753%2049.5094%2053.9255%2051.7159%2049.458%2051.7159C44.9902%2051.7159%2041.0408%2049.5094%2038.65%2046.1322C36.6982%2048.8894%2033.7074%2050.8662%2030.2439%2051.4994V58.8839H68.6718V51.4994C65.2083%2050.8662%2062.2175%2048.8894%2060.2658%2046.1322ZM21.1583%2063.6628C26.1349%2074.2514%2036.9382%2081.5834%2049.458%2081.5834C61.9776%2081.5834%2072.781%2074.2514%2077.7574%2063.6628H21.1583ZM36.2482%2038.5742V22.3673C28.4779%2025.9824%2022.4486%2032.6902%2019.7631%2040.8942C20.7733%2044.3848%2024.0106%2046.9371%2027.8422%2046.9371C32.4847%2046.9371%2036.2482%2043.1931%2036.2482%2038.5742Z'%20fill='%23FFC35D'/%3e%3c/svg%3e";
21
22
  var je = { exports: {} };
22
23
  (function(_, h) {
@@ -1781,7 +1782,7 @@ const Mt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
1781
1782
  }, Un = /* @__PURE__ */ P({
1782
1783
  __name: "VendorsTab",
1783
1784
  setup(_) {
1784
- const h = dt(), o = te(), d = G(), s = L(""), i = L(!1), r = L([]), t = L(!1), p = L(null), S = L(null);
1785
+ const h = ut(), o = te(), d = G(), s = L(""), i = L(!1), r = L([]), t = L(!1), p = L(null), S = L(null);
1785
1786
  ie(async () => {
1786
1787
  if (h.suppliers.length === 0)
1787
1788
  try {
@@ -2361,7 +2362,7 @@ const Mt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
2361
2362
  minSize: 200,
2362
2363
  cell(s) {
2363
2364
  const i = s.row.original, r = s.row.index;
2364
- return k(ct, {
2365
+ return k(dt, {
2365
2366
  style: {
2366
2367
  flex: "1 1 0%"
2367
2368
  },
@@ -2384,7 +2385,7 @@ const Mt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
2384
2385
  ...o.value.slice(r + 1)
2385
2386
  ];
2386
2387
  },
2387
- rules: [mt(+ut({ amount: 1, precision: 0 }))],
2388
+ rules: [ct(+mt({ amount: 1, precision: 0 }))],
2388
2389
  applyDefaultRules: !0
2389
2390
  });
2390
2391
  },
@@ -4523,7 +4524,7 @@ const _o = { class: "flex flex-col gap-4" }, Eo = { class: "flex flex-col" }, No
4523
4524
  }, oa = {
4524
4525
  key: 2,
4525
4526
  class: "grid grid-cols-2 gap-5"
4526
- }, wa = /* @__PURE__ */ P({
4527
+ }, ka = /* @__PURE__ */ P({
4527
4528
  __name: "IntegrationView",
4528
4529
  setup(_) {
4529
4530
  const h = se(), o = L(!1), d = at(), { breakpoints: s } = _e(), i = O(() => s.value.xs || s.value.sm), { t: r } = Z();
@@ -4580,5 +4581,5 @@ const _o = { class: "flex flex-col gap-4" }, Eo = { class: "flex flex-col" }, No
4580
4581
  }
4581
4582
  });
4582
4583
  export {
4583
- wa as default
4584
+ ka as default
4584
4585
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-zOo9YVJe.js";
1
+ import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-0Vrih8D5.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,9 @@
1
1
  import { defineComponent as ne, computed as g, reactive as oe, resolveComponent as B, openBlock as a, createElementBlock as y, createVNode as m, withCtx as k, createElementVNode as n, toDisplayString as p, unref as i, createBlock as I, createCommentVNode as v, Fragment as E, renderList as C, nextTick as te } from "vue";
2
- import { a as le, H as ie, aj as se, F as de } from "./app-CYbiMVcX.js";
3
- import { a as h, s as D, h as G, d as re } from "./rules-T-fs8_4_.js";
4
- import { u as ae } from "./use-inventory-binding-dialog-WGQs-_2i.js";
5
- import { _ as ue, c as me, d as ce } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BLDz8wwK.js";
2
+ import { a as le, w as ie, x as se, F as de } from "./app-EoCCjoRh.js";
3
+ import { a as h, c as re } from "./number-CEUoMyIk.js";
4
+ import { u as ae } from "./use-inventory-binding-dialog-DFmiAQ9d.js";
5
+ import { b as D, c as G } from "./rules-CyW1Bx31.js";
6
+ import { _ as ue, c as me, d as ce } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D-ZqJ8sU.js";
6
7
  import { useI18n as pe } from "@feedmepos/mf-common";
7
8
  const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-16" }, ve = { class: "flex items-center" }, be = { class: "flex-1 fm-typo-en-title-sm-600" }, _e = { class: "flex flex-col" }, ge = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, xe = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, he = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, Ve = {
8
9
  class: "flex items-center",
@@ -25,13 +26,13 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
25
26
  }, Me = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, De = { class: "flex flex-col" }, Ke = { class: "w-[200px]" }, $e = {
26
27
  key: 0,
27
28
  class: "w-[52px]"
28
- }, ze = { class: "flex flex-col gap-16" }, je = { class: "flex items-center" }, Le = { class: "flex-1 fm-typo-en-title-sm-600" }, Oe = { class: "flex flex-col" }, Ye = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, He = { class: "flex-1 fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, We = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary w-[150px] px-16" }, qe = {
29
+ }, ze = { class: "flex flex-col gap-16" }, je = { class: "flex items-center" }, Le = { class: "flex-1 fm-typo-en-title-sm-600" }, Oe = { class: "flex flex-col" }, Ye = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, We = { class: "flex-1 fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, qe = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary w-[150px] px-16" }, He = {
29
30
  class: "flex items-center w-full",
30
31
  style: { "min-height": "48px" }
31
32
  }, Je = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Qe = { class: "line-clamp-1 w-full" }, Xe = { class: "w-[150px]" }, Ze = {
32
33
  key: 0,
33
34
  class: "w-[52px]"
34
- }, en = { class: "flex flex-col px-12 pb-4" }, rn = /* @__PURE__ */ ne({
35
+ }, en = { class: "flex flex-col px-12 pb-4" }, an = /* @__PURE__ */ ne({
35
36
  __name: "InventoryBindingForm",
36
37
  props: {
37
38
  id: {},
@@ -65,7 +66,7 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
65
66
  return (l = e.bindingPaths[0]) == null ? void 0 : l.id;
66
67
  }))
67
68
  ), j = g(() => s.modelValue.filter((e) => e.type === "RECIPE")), { promptIngredientsBinding: L, promptRecipesBinding: O, promptIngredientGroupsBinding: Y } = ae();
68
- async function H() {
69
+ async function W() {
69
70
  if (s.iframeMode) {
70
71
  b("click:pick-inventory-bindings", "RECIPE");
71
72
  return;
@@ -76,8 +77,8 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
76
77
  s.id ? [s.id] : []
77
78
  );
78
79
  }
79
- const W = g(() => s.modelValue.filter((e) => e.type === "SKU_GROUP"));
80
- async function q() {
80
+ const q = g(() => s.modelValue.filter((e) => e.type === "SKU_GROUP"));
81
+ async function H() {
81
82
  Y(
82
83
  s.modelValue,
83
84
  (e) => b("update:modelValue", e),
@@ -172,7 +173,7 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
172
173
  "border-color": "primary",
173
174
  label: i(u)("inventory.inventoryBindings.linkRecipe"),
174
175
  "prepend-icon": "link",
175
- onClick: H
176
+ onClick: W
176
177
  }, null, 8, ["label"]))
177
178
  ]),
178
179
  n("div", _e, [
@@ -255,7 +256,7 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
255
256
  "border-color": "primary",
256
257
  label: i(u)("inventory.inventoryBindings.linkIngredientGroup"),
257
258
  "prepend-icon": "link",
258
- onClick: q
259
+ onClick: H
259
260
  }, null, 8, ["label"]))
260
261
  ]),
261
262
  n("div", Ae, [
@@ -264,7 +265,7 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
264
265
  l[3] || (l[3] = n("div", { class: "w-[200px]" }, null, -1)),
265
266
  l[4] || (l[4] = n("div", { class: "w-[52px]" }, null, -1))
266
267
  ]),
267
- (a(!0), y(E, null, C(W.value, (t) => (a(), I(o, {
268
+ (a(!0), y(E, null, C(q.value, (t) => (a(), I(o, {
268
269
  key: t.id,
269
270
  disabled: e.disabled,
270
271
  modelValue: +i(h)(t.amount ?? { amount: 1, precision: 0 }),
@@ -328,8 +329,8 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
328
329
  ]),
329
330
  n("div", Oe, [
330
331
  n("div", Ye, [
331
- n("div", He, p(i(u)("inventory.inventoryBindings.ingredient")), 1),
332
- n("div", We, p(i(u)("inventory.inventoryBindings.amount")), 1),
332
+ n("div", We, p(i(u)("inventory.inventoryBindings.ingredient")), 1),
333
+ n("div", qe, p(i(u)("inventory.inventoryBindings.amount")), 1),
333
334
  l[5] || (l[5] = n("div", { class: "w-[52px]" }, null, -1))
334
335
  ]),
335
336
  (a(!0), y(E, null, C(S.value, (t, V) => {
@@ -338,7 +339,7 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
338
339
  key: t.id,
339
340
  class: "flex flex-col border-b border-fm-color-neutral-gray-100"
340
341
  }, [
341
- n("div", qe, [
342
+ n("div", He, [
342
343
  n("div", Je, [
343
344
  m(f, {
344
345
  zIndex: 51,
@@ -399,5 +400,5 @@ const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-1
399
400
  }
400
401
  });
401
402
  export {
402
- rn as _
403
+ an as _
403
404
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, resolveComponent as m, openBlock as c, createBlock as d, h as g } from "vue";
2
2
  import { useI18n as p } from "@feedmepos/mf-common";
3
3
  import { components as u } from "@feedmepos/ui-library";
4
- import { F as r } from "./app-CYbiMVcX.js";
4
+ import { F as r } from "./app-EoCCjoRh.js";
5
5
  const w = /* @__PURE__ */ l({
6
6
  __name: "InventoryBindingSummary",
7
7
  props: {
@@ -1,5 +1,5 @@
1
- import { defineComponent as V, computed as w, ref as h, watch as u, resolveComponent as d, openBlock as F, createBlock as g, withCtx as i, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
2
- import { d as s } from "./rules-T-fs8_4_.js";
1
+ import { defineComponent as V, computed as w, ref as h, watch as u, resolveComponent as i, openBlock as F, createBlock as g, withCtx as d, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
2
+ import { c as s } from "./number-CEUoMyIk.js";
3
3
  const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
4
4
  __name: "NumberPrecisionInput",
5
5
  props: {
@@ -35,7 +35,7 @@ const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
35
35
  t.value.length === 0 && (e.key === "-" || e.key === ".") || e.preventDefault();
36
36
  };
37
37
  return (e, t) => {
38
- const o = d("FmField"), a = d("FmFormGroup");
38
+ const o = i("FmField"), a = i("FmFormGroup");
39
39
  return F(), g(a, {
40
40
  disabled: e.disabled,
41
41
  modelValue: e.modelValue,
@@ -43,9 +43,9 @@ const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
43
43
  "helper-text": e.helperText,
44
44
  label: e.label
45
45
  }, {
46
- default: i(({ invalid: b }) => [
46
+ default: d(({ invalid: b }) => [
47
47
  A(o, { invalid: b }, {
48
- default: i(() => [
48
+ default: d(() => [
49
49
  k("input", {
50
50
  value: l.value,
51
51
  onInput: t[0] || (t[0] = (y) => l.value = y.target.value),
@@ -0,0 +1,93 @@
1
+ import { o as F, u as f } from "./app-EoCCjoRh.js";
2
+ import { useCoreStore as v } from "@feedmepos/mf-common";
3
+ import { ref as _, defineComponent as h, resolveComponent as l, openBlock as y, createElementBlock as g, renderSlot as k, createVNode as p, withCtx as S } from "vue";
4
+ const m = F((e, t) => {
5
+ const r = f(), o = v();
6
+ return {
7
+ async getInventoryForecast() {
8
+ var a;
9
+ const n = ((a = o.currentBusiness.value) == null ? void 0 : a._id) ?? "", s = r.currentLocationId ?? "", i = `${e.dataBackendUrl}/${n}/${s}/inventory-forecast`;
10
+ try {
11
+ return await t.get(i);
12
+ } catch {
13
+ return { skus: [] };
14
+ }
15
+ },
16
+ async getPurchaseOrderForecast(n, s) {
17
+ var d;
18
+ const i = ((d = o.currentBusiness.value) == null ? void 0 : d._id) ?? "", a = r.currentLocationId ?? "", u = `${e.dataBackendUrl}/${i}/${a}/purchase-order-forecast?days=${n}${s ? `&template_id=${s}` : ""}`;
19
+ try {
20
+ return await t.get(u);
21
+ } catch {
22
+ return { skus: [] };
23
+ }
24
+ }
25
+ };
26
+ });
27
+ function O() {
28
+ return {
29
+ inventoryForecast: { skus: [] },
30
+ purchaseOrderForecast: { skus: [] }
31
+ };
32
+ }
33
+ const c = _(O());
34
+ function b() {
35
+ return {
36
+ // state
37
+ get inventoryForecast() {
38
+ return c.value.inventoryForecast;
39
+ },
40
+ set inventoryForecast(e) {
41
+ c.value.inventoryForecast = e;
42
+ },
43
+ get purchaseOrderForecast() {
44
+ return c.value.purchaseOrderForecast;
45
+ },
46
+ set purchaseOrderForecast(e) {
47
+ c.value.purchaseOrderForecast = e;
48
+ },
49
+ // actions
50
+ async readStockEstimateBalance() {
51
+ const e = m();
52
+ this.inventoryForecast = await e.getInventoryForecast();
53
+ },
54
+ async readPurchaseOrder(e, t) {
55
+ const r = m();
56
+ this.purchaseOrderForecast = await r.getPurchaseOrderForecast(e, t);
57
+ }
58
+ };
59
+ }
60
+ function E(e) {
61
+ let t = e.substring(e.indexOf("_") + 1);
62
+ return t.includes("_") && (t = t.substring(0, t.lastIndexOf("_"))), Number.isNaN(Date.parse(t)) ? null : new Date(t).toISOString();
63
+ }
64
+ const I = { class: "flex items-center gap-8" }, $ = "Experience enhanced inventory features with premium plan.", z = /* @__PURE__ */ h({
65
+ __name: "PremiumBadge",
66
+ props: {
67
+ zIndex: {}
68
+ },
69
+ setup(e) {
70
+ return (t, r) => {
71
+ const o = l("FmPill"), n = l("FmTooltip");
72
+ return y(), g("div", I, [
73
+ k(t.$slots, "default"),
74
+ p(n, {
75
+ variant: "plain",
76
+ placement: "top",
77
+ content: $,
78
+ "z-index": t.zIndex
79
+ }, {
80
+ default: S(() => [
81
+ p(o, { variant: "premium" })
82
+ ]),
83
+ _: 1
84
+ }, 8, ["z-index"])
85
+ ]);
86
+ };
87
+ }
88
+ });
89
+ export {
90
+ z as _,
91
+ E as i,
92
+ b as u
93
+ };
@@ -1,13 +1,13 @@
1
- import { defineComponent as Q, ref as D, computed as c, watch as X, resolveComponent as l, openBlock as W, createBlock as z, unref as h, createSlots as Z, withCtx as u, createElementVNode as f, normalizeClass as ee, createVNode as a, normalizeStyle as te, Teleport as oe, h as g } from "vue";
2
- import { u as ne, a as ae, x as se } from "./app-CYbiMVcX.js";
3
- import { u as le, _ as ie } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
1
+ import { defineComponent as Q, ref as z, computed as c, watch as X, resolveComponent as l, openBlock as D, createBlock as W, unref as h, createSlots as Z, withCtx as u, createElementVNode as f, normalizeClass as ee, createVNode as a, normalizeStyle as te, Teleport as oe, h as g } from "vue";
2
+ import { u as ne, a as ae, z as se } from "./app-EoCCjoRh.js";
3
+ import { u as le, _ as ie } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js";
4
4
  import { useBreakpoints as re, useDialog as ce, useSnackbar as ue, components as B } from "@feedmepos/ui-library";
5
- import { u as me } from "./vue-i18n-DwS_fjo9.js";
6
- import { a as H } from "./date2-De3BHKh5.js";
5
+ import { u as me } from "./vue-i18n-CY4442Fb.js";
6
+ import { a as H } from "./date2-CTHKdfXp.js";
7
7
  const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ye = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, xe = /* @__PURE__ */ Q({
8
8
  __name: "PublishView",
9
9
  setup(ve) {
10
- const { t } = me(), { breakpoints: x } = re(), n = ne(), A = ae(), S = se(), i = D(!1), m = c(() => A.state.inventory.updatedAt ? A.state.inventory.updatedAt : null), R = le(), C = ce(), Y = ue(), N = c(() => n.locationsWithInventory), _ = c(() => x.value.xs || x.value.sm), $ = c(() => _.value ? 10 : 20);
10
+ const { t } = me(), { breakpoints: x } = re(), n = ne(), A = ae(), S = se(), i = z(!1), m = c(() => A.state.inventory.updatedAt ? A.state.inventory.updatedAt : null), R = le(), C = ce(), Y = ue(), N = c(() => n.locationsWithInventory), _ = c(() => x.value.xs || x.value.sm), $ = c(() => _.value ? 10 : 20);
11
11
  X(
12
12
  () => n._locations,
13
13
  async () => {
@@ -42,7 +42,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
42
42
  break;
43
43
  }
44
44
  }
45
- const w = D(!1), E = [
45
+ const w = z(!1), E = [
46
46
  {
47
47
  value: "publish",
48
48
  label: t("inventory.publish.actions.publishAll")
@@ -146,7 +146,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
146
146
  ];
147
147
  return (e, o) => {
148
148
  const s = l("FmChip"), p = l("FlexRender"), d = l("TableActionableRow"), G = l("FmTable"), J = l("FmCollapsibleTabs"), O = l("FmBottomSheet");
149
- return W(), z(ie, {
149
+ return D(), W(ie, {
150
150
  title: h(t)("inventory.publish.title"),
151
151
  actions: U.value,
152
152
  "onClick:action": q
@@ -196,7 +196,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
196
196
  _: 1
197
197
  }, 8, ["style", "row-data", "loading", "page-size"])
198
198
  ], 2),
199
- (W(), z(oe, { to: "body" }, [
199
+ (D(), W(oe, { to: "body" }, [
200
200
  a(O, {
201
201
  "dismiss-away": "",
202
202
  modelValue: w.value,
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as h, computed as m, ref as x, onMounted as f, openBlock as u, createElementBlock as n, createElementVNode as t, toDisplayString as e, normalizeStyle as g, createTextVNode as i, Fragment as o, createCommentVNode as v, renderList as p } from "vue";
2
2
  import { useRoute as k } from "vue-router";
3
- import { M as y } from "./app-CYbiMVcX.js";
3
+ import { O as y } from "./app-EoCCjoRh.js";
4
4
  import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- const N = { class: "purchase-box" }, A = { valign: "bottom" }, C = { class: "title" }, R = { class: "text-right" }, O = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = {
5
+ const N = { class: "purchase-box" }, A = { valign: "bottom" }, C = { class: "title" }, O = { class: "text-right" }, R = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = {
6
6
  key: 0,
7
7
  class: "sub-header"
8
- }, F = { class: "sub-header" }, q = { class: "address" }, L = { class: "purchase-body" }, M = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, B = { class: "text-right" }, H = { class: "text-right" }, I = { style: { "padding-top": "30px" } }, z = { valign: "bottom" }, J = { class: "header" }, Q = { class: "caption" }, j = {
8
+ }, F = { class: "sub-header" }, q = { class: "address" }, L = { class: "purchase-body" }, U = { class: "text-left" }, V = { class: "text-left" }, B = { class: "text-right" }, H = { class: "text-right" }, I = { class: "text-right" }, M = { style: { "padding-top": "30px" } }, z = { valign: "bottom" }, J = { class: "header" }, Q = { class: "caption" }, j = {
9
9
  class: "text-left",
10
10
  style: { width: "20%" }
11
11
  }, G = { class: "text-left" }, K = {
@@ -39,8 +39,8 @@ const N = { class: "purchase-box" }, A = { valign: "bottom" }, C = { class: "tit
39
39
  style: g({ color: c.value })
40
40
  }, e(s.value.status), 5)
41
41
  ]),
42
- t("td", R, [
43
- t("div", O, "ORD #" + e(s.value.orderNumber), 1),
42
+ t("td", O, [
43
+ t("div", R, "ORD #" + e(s.value.orderNumber), 1),
44
44
  t("div", null, e(s.value.createdAt), 1)
45
45
  ])
46
46
  ])
@@ -109,18 +109,18 @@ const N = { class: "purchase-box" }, A = { valign: "bottom" }, C = { class: "tit
109
109
  ], -1)),
110
110
  t("tbody", null, [
111
111
  (u(!0), n(o, null, p(s.value.items, (r, a) => (u(), n("tr", { key: a }, [
112
- t("td", M, e(r.code), 1),
113
- t("td", U, e(r.description), 1),
114
- t("td", V, e(r.quantity), 1),
115
- t("td", B, e(r.unit), 1),
116
- t("td", H, e(r.cost ? r.cost : "N/A"), 1)
112
+ t("td", U, e(r.code), 1),
113
+ t("td", V, e(r.description), 1),
114
+ t("td", B, e(r.quantity), 1),
115
+ t("td", H, e(r.unit), 1),
116
+ t("td", I, e(r.cost ? r.cost : "N/A"), 1)
117
117
  ]))), 128))
118
118
  ])
119
119
  ])
120
120
  ]),
121
121
  l[14] || (l[14] = t("hr", null, null, -1)),
122
122
  t("div", null, "Remark: " + e(s.value.remark), 1),
123
- t("div", I, [
123
+ t("div", M, [
124
124
  l[11] || (l[11] = t("hr", null, null, -1)),
125
125
  l[12] || (l[12] = i(" Delivery History: ")),
126
126
  (u(!0), n(o, null, p(s.value.deliveryOrders, (r, a) => (u(), n("div", {