@feedmepos/mf-inventory-portal 1.3.6 → 1.3.7-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 (104) hide show
  1. package/dist/{App-Dpp0kp2e.js → App-CJwfIjMX.js} +3 -3
  2. package/dist/ApprovalView-DOq2oFvo.js +241 -0
  3. package/dist/{BindingsDialog-BPlkzrss.js → BindingsDialog-DCrRYbJJ.js} +5 -5
  4. package/dist/{BindingsPicker-AM4k3s9Z.js → BindingsPicker-B6gakVEN.js} +3 -3
  5. package/dist/{BindingsTable-C6-30brl.js → BindingsTable-IVHY6t4x.js} +5 -5
  6. package/dist/{ClosingDraftView-uRsqurau.js → ClosingDraftView-D1CJtcPl.js} +57 -57
  7. package/dist/{ClosingHistoryView-s2st44Dv.js → ClosingHistoryView-DMGhfS9R.js} +4 -4
  8. package/dist/{ClosingTemplateView-BMyeL_mh.js → ClosingTemplateView-Djo0juNV.js} +16 -16
  9. package/dist/{DeliveryOrderPrintPreview-BRlZ634c.js → DeliveryOrderPrintPreview-yIr0KaZ-.js} +17 -17
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CLSs6bA6.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CboUeuGd.js} +14 -14
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-bIMS8fQq.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang--Kdh7Lws.js} +2 -2
  12. package/dist/{FmMultiselectDialog-DVjVqJMs.js → FmMultiselectDialog-CmT3UKF6.js} +1 -1
  13. package/dist/{FmMultiselectDialog-CtNvTe13.js → FmMultiselectDialog-Dfd2CP8Q.js} +2 -2
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DpzpUafg.js → FmUnitInput.vue_vue_type_script_setup_true_lang-C0nfecTl.js} +4 -4
  15. package/dist/{ImportView-DFV9vZdP.js → ImportView-M6gfAQRh.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CQ1s9NEE.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cl1U0OoC.js} +1 -1
  17. package/dist/{IngredientGroupView-DA9vJ8fS.js → IngredientGroupView-C29gfI37.js} +7 -7
  18. package/dist/{IngredientsView-qiA89Spr.js → IngredientsView-DnM7eqv0.js} +17 -17
  19. package/dist/{IntegrationView-Cp9gVEKi.js → IntegrationView-CxXZ90Dg.js} +13 -13
  20. package/dist/{InventoryBindingForm-C7WQo9tq.js → InventoryBindingForm-FImVaTic.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BwbHMBzc.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bay13kwv.js} +5 -5
  22. package/dist/{InventoryBindingSummary-CSC8Oo2Z.js → InventoryBindingSummary-DwHKeLyV.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D6fd31Fx.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cViXSxPS.js} +1 -1
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BMmYypr7.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CCF4_Pyr.js} +1 -1
  25. package/dist/{PublishView-DiMBWtmR.js → PublishView-D8aVGgPP.js} +3 -3
  26. package/dist/{PurchaseOrderPrintPreview-BxsgNwIR.js → PurchaseOrderPrintPreview-CJSISF6B.js} +12 -12
  27. package/dist/ReceiveRequestView-DeOwJD3K.js +2817 -0
  28. package/dist/{RecipeView-h8oz6YWX.js → RecipeView-HugMCN1V.js} +22 -21
  29. package/dist/SettingsView-BqNC4kXc.js +695 -0
  30. package/dist/{StockView-BMLQhXUr.js → StockView-B3hLSoWp.js} +21 -20
  31. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9Ju9qNs.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CuFB8tHC.js} +1 -1
  32. package/dist/{SupplierView-tXBV72Jj.js → SupplierView-DK9liRuA.js} +14 -14
  33. package/dist/{SurchargeView-DDaFJWQd.js → SurchargeView-Cnz3QPAF.js} +8 -8
  34. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bb9YSuiv.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BsesD9UR.js} +2 -2
  35. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bfy6QZ5V.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DHvOhMtd.js} +1 -1
  36. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-xg5Ac0I2.js +3790 -0
  37. package/dist/{TransferTemplateView-vhdc3V8r.js → TransferTemplateView-hUBkM1Y0.js} +20 -19
  38. package/dist/{UnitCostHistoryView-C6axtlfa.js → UnitCostHistoryView-gHpyp4-l.js} +4 -4
  39. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DW8nVpeH.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DOC0W_-a.js} +4 -4
  40. package/dist/{UnitView-Dx030V3h.js → UnitView-Bt4EY0DU.js} +9 -9
  41. package/dist/{WarehouseView-Dvc063hP.js → WarehouseView-C7Aa5MQz.js} +7 -7
  42. package/dist/{WastageTemplateView-0cuBPiRM.js → WastageTemplateView-B59wFpmS.js} +16 -16
  43. package/dist/{app-LDTQJMhy.js → app-Bd2n830Y.js} +3267 -3181
  44. package/dist/app.d.ts +32 -0
  45. package/dist/app.js +2 -2
  46. package/dist/{closing-template-D0LdzwtB.js → closing-template-CbIMkUm-.js} +1 -1
  47. package/dist/{component-DpCUABT3.js → component-kqxARxvM.js} +30 -21
  48. package/dist/components/row-action.enum.d.ts +3 -0
  49. package/dist/{date2-DPXk7flq.js → date2-CH3V-Ucj.js} +1 -1
  50. package/dist/{dayjs.min-mBDQc-9G.js → dayjs.min-0pcsGWEW.js} +1 -1
  51. package/dist/{decimal-BToK0wBw.js → decimal-DqMF4lgE.js} +2 -2
  52. package/dist/defineDeepModel-nM-22Ofl.js +19 -0
  53. package/dist/{duplicate-template-CkTur22u.js → duplicate-template-VcCheWzy.js} +1 -1
  54. package/dist/{export-Nnabwt7T.js → export-DAK4eXwZ.js} +1 -1
  55. package/dist/feature-D9W_Z06D.js +1081 -0
  56. package/dist/{format-time-from-id-DoLZWDHr.js → format-time-from-id-C1atPaNT.js} +1 -1
  57. package/dist/{format-unit-display-DeUVS8Ka.js → format-unit-display-B4zjXa1i.js} +13 -13
  58. package/dist/{import-export.helper-CljIBGLZ.js → import-export.helper-DWUpF27a.js} +6 -6
  59. package/dist/{index-DP8htYK-.js → index-BFpquHWG.js} +3 -3
  60. package/dist/{index-C3rXHanm.js → index-Co-3wUpY.js} +1 -1
  61. package/dist/{index-D3fQ9TVX.js → index-DoyDKyP_.js} +1 -1
  62. package/dist/{feature-DU99Iib1.js → inventory-core-dart.default-BVmmW4IN.js} +322 -1395
  63. package/dist/{lodash-rgAcNpoP.js → lodash-BsMM-AaB.js} +1 -1
  64. package/dist/{lz-string-C9rYv8AB.js → lz-string-BfBty02S.js} +1 -1
  65. package/dist/modules/print-template/api/print-template.d.ts +29 -0
  66. package/dist/modules/print-template/components/BlockConfigPanel.vue.d.ts +19 -0
  67. package/dist/modules/print-template/components/CustomPrintTemplatePreview.vue.d.ts +25 -0
  68. package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +45 -0
  69. package/dist/modules/print-template/components/TemplatePreview.vue.d.ts +22 -0
  70. package/dist/modules/print-template/composables/print-po-with-template.d.ts +25 -0
  71. package/dist/modules/print-template/definitions/block-definitions.d.ts +88 -0
  72. package/dist/modules/print-template/definitions/predefined-templates.d.ts +22 -0
  73. package/dist/modules/print-template/definitions/template-renderer.d.ts +17 -0
  74. package/dist/modules/print-template/index.d.ts +11 -0
  75. package/dist/modules/print-template/store/print-template.d.ts +170 -0
  76. package/dist/modules/print-template/types/print-data.d.ts +52 -0
  77. package/dist/modules/print-template/utils/sanitize-html.d.ts +32 -0
  78. package/dist/{netsuite-BG6BPWro.js → netsuite-B86m9YM_.js} +3 -3
  79. package/dist/{number-SNScDKT8.js → number-Bu93lKcU.js} +3 -3
  80. package/dist/predefined-templates-swTNxWXc.js +4542 -0
  81. package/dist/{purchase-order-template-D8fAq-Zt.js → purchase-order-template-DDmIZDfJ.js} +1 -1
  82. package/dist/router/name.d.ts +1 -0
  83. package/dist/{row-action.enum-BcW_L_nE.js → row-action.enum-Co_O4qD9.js} +11 -3
  84. package/dist/{rules-UuB2i2KE.js → rules-BXeKMOa6.js} +2 -2
  85. package/dist/{stock-BUeSTOdB.js → stock-BkjUFSH-.js} +3 -3
  86. package/dist/{stock-Xag5QdmK.js → stock-D6A9nUUq.js} +1 -1
  87. package/dist/stores/feature.d.ts +2 -0
  88. package/dist/style.css +1 -1
  89. package/dist/{supplier-DSfyrBxJ.js → supplier-BEFK8KT8.js} +2 -2
  90. package/dist/{surcharge-Vp9urWiP.js → surcharge-BKuJQ1bw.js} +1 -1
  91. package/dist/tsconfig.app.tsbuildinfo +1 -1
  92. package/dist/{use-ingredient-select-dialog-D80a30rC.js → use-ingredient-select-dialog-CtkHGZVI.js} +2 -2
  93. package/dist/{use-inventory-binding-dialog-DFD6fQTw.js → use-inventory-binding-dialog-Df4UAdJI.js} +2 -2
  94. package/dist/{use-template-enabled-locations-2-gLYNdIUE.js → use-template-enabled-locations-2-CNT1brYI.js} +2 -2
  95. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +4 -0
  96. package/dist/views/settings/SettingsView.vue.d.ts +2 -0
  97. package/dist/{vue-i18n-u2llGfc9.js → vue-i18n-BaovYGY4.js} +438 -438
  98. package/dist/{xlsx-D-xEkyaF.js → xlsx-Dig-xBj4.js} +1 -1
  99. package/dist/{xlsx.util-CuJApaiU.js → xlsx.util-R4tPgyBp.js} +1 -1
  100. package/package.json +5 -2
  101. package/dist/ApprovalView-Br8e1L7F.js +0 -226
  102. package/dist/ReceiveRequestView-DioKLQuF.js +0 -2802
  103. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-bOAribrn.js +0 -3521
  104. package/dist/defineDeepModel-CKoG7koO.js +0 -19
@@ -2,15 +2,15 @@ import { defineComponent as De, ref as F, computed as J, watch as ze, resolveCom
2
2
  import { u as Ve, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CkPuJQWF.js";
3
3
  import { useCoreStore as Re, useI18n as je } from "@feedmepos/mf-common";
4
4
  import { useDialogChild as We, useSnackbar as Oe, useDialog as Le, useBreakpoints as Je } from "@feedmepos/ui-library";
5
- import { u as Xe } from "./feature-DU99Iib1.js";
6
- import { a as ie } from "./app-LDTQJMhy.js";
7
- import "./dayjs.min-mBDQc-9G.js";
5
+ import { u as Xe } from "./feature-D9W_Z06D.js";
6
+ import { a as ie } from "./app-Bd2n830Y.js";
7
+ import "./dayjs.min-0pcsGWEW.js";
8
8
  import "./app-DiX-EfV6.js";
9
9
  import "./FmAdminBadge-BOEV93D3.js";
10
- import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-CuJApaiU.js";
11
- import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-CljIBGLZ.js";
10
+ import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-R4tPgyBp.js";
11
+ import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-DWUpF27a.js";
12
12
  import { r as nt } from "./random-CSbEbElR.js";
13
- import { c as Ae, a as pe } from "./number-SNScDKT8.js";
13
+ import { c as Ae, a as pe } from "./number-Bu93lKcU.js";
14
14
  import { F as ot } from "./FmDroppableField-J0xUsOTV.js";
15
15
  function Ee() {
16
16
  return `measurement_${(/* @__PURE__ */ new Date()).toISOString()}_${nt()}`;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, openBlock as s, createElementBlock as n, createElementVNode as r, toDisplayString as o, unref as l, Fragment as d, renderList as x } from "vue";
2
- import { a, e as y } from "./number-SNScDKT8.js";
2
+ import { a, e as y } from "./number-Bu93lKcU.js";
3
3
  import { useI18n as _ } from "@feedmepos/mf-common";
4
4
  const v = { class: "flex flex-col" }, g = { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, h = { class: "flex-1 py-8 px-16" }, b = {
5
5
  class: "flex-0 py-8 px-16",
@@ -1,18 +1,18 @@
1
1
  import { ref as A, computed as G, h as C, defineComponent as j, watch as re, resolveComponent as R, openBlock as F, createElementBlock as B, createVNode as b, unref as i, createElementVNode as c, toDisplayString as $, createBlock as M, withCtx as T, Fragment as pe, renderList as ve, createTextVNode as ye, createCommentVNode as se, isRef as ge, normalizeClass as _e, normalizeStyle as be, createSlots as ke, Teleport as xe, normalizeProps as he, guardReactiveProps as we } from "vue";
2
- import { a as P, c as L, j as oe, u as Re } from "./app-LDTQJMhy.js";
2
+ import { a as P, c as L, j as oe, u as Re } from "./app-Bd2n830Y.js";
3
3
  import { useDialog as Ie, useSnackbar as Y, components as U, useProxiedModel as Se, useBreakpoints as Fe } from "@feedmepos/ui-library";
4
4
  import { F as S } from "./form-mode.enum-BKiNVH6A.js";
5
5
  import { useI18n as z, useCoreStore as Ge } from "@feedmepos/mf-common";
6
6
  import { defineStore as ue, storeToRefs as ae } from "pinia";
7
- import { D as ie, R as K } from "./row-action.enum-BcW_L_nE.js";
8
- import { c as Ve } from "./component-DpCUABT3.js";
7
+ import { D as ie, R as K } from "./row-action.enum-Co_O4qD9.js";
8
+ import { c as Ve } from "./component-kqxARxvM.js";
9
9
  import { u as Ce, _ as De } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CkPuJQWF.js";
10
10
  import { _ as Ae, F as le } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
11
- import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-bIMS8fQq.js";
12
- import { d as de } from "./defineDeepModel-CKoG7koO.js";
13
- import { I as Te, A as Ee, U as Me, R as ce } from "./rules-UuB2i2KE.js";
11
+ import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang--Kdh7Lws.js";
12
+ import { d as de } from "./defineDeepModel-nM-22Ofl.js";
13
+ import { I as Te, A as Ee, U as Me, R as ce } from "./rules-BXeKMOa6.js";
14
14
  import { L as Ue, P as Be, D as Le } from "./app-DiX-EfV6.js";
15
- import { u as Pe } from "./FmMultiselectDialog-DVjVqJMs.js";
15
+ import { u as Pe } from "./FmMultiselectDialog-CmT3UKF6.js";
16
16
  import { r as me } from "./random-CSbEbElR.js";
17
17
  import { u as ze, R as Ne } from "./usePromise-CbVUCxhj.js";
18
18
  const H = ue(
@@ -1,32 +1,32 @@
1
1
  import { ref as B, defineComponent as pe, computed as b, resolveComponent as C, openBlock as c, createElementBlock as T, Fragment as X, unref as l, createVNode as s, withModifiers as Bt, createCommentVNode as L, withCtx as g, createElementVNode as n, toDisplayString as F, normalizeClass as te, renderList as ue, createBlock as O, h as Q, renderSlot as xe, createSlots as He, createTextVNode as Ye, mergeModels as dt, onMounted as Dt, watch as Tt, useModel as Ot, isRef as ut, normalizeStyle as Nt, Teleport as ct, normalizeProps as zt, guardReactiveProps as Lt } from "vue";
2
- import { a as Ce, c as wt, S as jt, d as mt, e as pt, f as Wt, h as vt, i as ft, j as yt, k as gt, u as qt, l as Ht } from "./app-LDTQJMhy.js";
2
+ import { a as Ce, c as wt, S as jt, d as mt, e as pt, f as Wt, h as vt, i as ft, j as yt, k as gt, u as qt, l as Ht } from "./app-Bd2n830Y.js";
3
3
  import { useDialog as Ge, useSnackbar as Fe, components as Oe, useProxiedModel as bt, useDialogChild as Yt, useBreakpoints as Gt } from "@feedmepos/ui-library";
4
4
  import { i as Kt, _ as Jt } from "./is-linked-ingredient-error-fJ2TJb3z.js";
5
5
  import { F as q } from "./form-mode.enum-BKiNVH6A.js";
6
6
  import { useI18n as ve, useCoreStore as Ke } from "@feedmepos/mf-common";
7
7
  import { defineStore as Zt, storeToRefs as Qt } from "pinia";
8
- import { D as ht, R as Me } from "./row-action.enum-BcW_L_nE.js";
9
- import { c as Xt } from "./component-DpCUABT3.js";
10
- import { u as Ae, _ as en } from "./netsuite-BG6BPWro.js";
8
+ import { D as ht, R as Me } from "./row-action.enum-Co_O4qD9.js";
9
+ import { c as Xt } from "./component-kqxARxvM.js";
10
+ import { u as Ae, _ as en } from "./netsuite-B86m9YM_.js";
11
11
  import { F as Re } from "./FmAdminBadge-BOEV93D3.js";
12
12
  import { u as tn, _ as nn } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CkPuJQWF.js";
13
- import { A as Pe, R as Ne, U as on, M as ln } from "./rules-UuB2i2KE.js";
14
- import { g as an, _ as ze, S as Le, a as sn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9Ju9qNs.js";
15
- import { _ as rn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-BwbHMBzc.js";
16
- import { _ as je } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-CQ1s9NEE.js";
17
- import { u as Vt } from "./feature-DU99Iib1.js";
18
- import { a as dn, t as un, g as cn } from "./number-SNScDKT8.js";
13
+ import { A as Pe, R as Ne, U as on, M as ln } from "./rules-BXeKMOa6.js";
14
+ import { g as an, _ as ze, S as Le, a as sn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CuFB8tHC.js";
15
+ import { _ as rn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bay13kwv.js";
16
+ import { _ as je } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cl1U0OoC.js";
17
+ import { u as Vt } from "./feature-D9W_Z06D.js";
18
+ import { a as dn, t as un, g as cn } from "./number-Bu93lKcU.js";
19
19
  import { _ as he } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
20
- import { d as Ue, g as mn, e as pn, a as vn } from "./import-export.helper-CljIBGLZ.js";
20
+ import { d as Ue, g as mn, e as pn, a as vn } from "./import-export.helper-DWUpF27a.js";
21
21
  import { _ as fn } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
22
- import { F as yn, a as We } from "./FmMultiselectDialog-CtNvTe13.js";
23
- import { u as It } from "./purchase-order-template-D8fAq-Zt.js";
24
- import { u as St, a as Ct } from "./closing-template-D0LdzwtB.js";
22
+ import { F as yn, a as We } from "./FmMultiselectDialog-Dfd2CP8Q.js";
23
+ import { u as It } from "./purchase-order-template-DDmIZDfJ.js";
24
+ import { u as St, a as Ct } from "./closing-template-CbIMkUm-.js";
25
25
  import { _ as gn, F as _t } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
26
- import { r as bn } from "./xlsx.util-CuJApaiU.js";
26
+ import { r as bn } from "./xlsx.util-R4tPgyBp.js";
27
27
  import { F as hn } from "./FmDroppableField-J0xUsOTV.js";
28
- import { _ as _n } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-bIMS8fQq.js";
29
- import { u as xn } from "./FmMultiselectDialog-DVjVqJMs.js";
28
+ import { _ as _n } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang--Kdh7Lws.js";
29
+ import { u as xn } from "./FmMultiselectDialog-CmT3UKF6.js";
30
30
  import { P as kn, J as Tn } from "./app-DiX-EfV6.js";
31
31
  const qe = Zt("ingredientForm", function() {
32
32
  const r = Ge(), k = Fe(), d = Ce(), h = B(!1), { t: I } = ve(), E = B();
@@ -1,24 +1,24 @@
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 { 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-LDTQJMhy.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-Bd2n830Y.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
5
  import { _ as et } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CkPuJQWF.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-bIMS8fQq.js";
8
- import { u as nt, a as st, b as ot, c as at } from "./index-DP8htYK-.js";
9
- import { u as te, a as me } from "./netsuite-BG6BPWro.js";
10
- import { b as lt, a as it } from "./FmMultiselectDialog-CtNvTe13.js";
11
- import { R as rt } from "./rules-UuB2i2KE.js";
7
+ import { _ as tt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang--Kdh7Lws.js";
8
+ import { u as nt, a as st, b as ot, c as at } from "./index-BFpquHWG.js";
9
+ import { u as te, a as me } from "./netsuite-B86m9YM_.js";
10
+ import { b as lt, a as it } from "./FmMultiselectDialog-Dfd2CP8Q.js";
11
+ import { R as rt } from "./rules-BXeKMOa6.js";
12
12
  import { P as Ee, J as Ne, D as Le } from "./app-DiX-EfV6.js";
13
- import { u as ut } from "./supplier-DSfyrBxJ.js";
14
- import { u as ve } from "./vue-i18n-u2llGfc9.js";
15
- import { _ as dt, a as ct } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DpzpUafg.js";
16
- import { a as mt } from "./number-SNScDKT8.js";
17
- import { a as he, f as De } from "./date2-DPXk7flq.js";
13
+ import { u as ut } from "./supplier-BEFK8KT8.js";
14
+ import { u as ve } from "./vue-i18n-BaovYGY4.js";
15
+ import { _ as dt, a as ct } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-C0nfecTl.js";
16
+ import { a as mt } from "./number-Bu93lKcU.js";
17
+ import { a as he, f as De } from "./date2-CH3V-Ucj.js";
18
18
  import { F as Te } from "./FmAdminBadge-BOEV93D3.js";
19
- import { u as Re } from "./feature-DU99Iib1.js";
19
+ import { u as Re } from "./feature-D9W_Z06D.js";
20
20
  import { F as Oe } from "./FmDroppableField-J0xUsOTV.js";
21
- import { r as Me, u as ze } from "./xlsx-D-xEkyaF.js";
21
+ import { r as Me, u as ze } from "./xlsx-Dig-xBj4.js";
22
22
  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";
23
23
  var je = { exports: {} };
24
24
  (function(_, h) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-BwbHMBzc.js";
1
+ import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bay13kwv.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,9 +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, w as ie, x as se, F as de } from "./app-LDTQJMhy.js";
3
- import { a as h, c as re } from "./number-SNScDKT8.js";
4
- import { u as ae } from "./use-inventory-binding-dialog-DFD6fQTw.js";
5
- import { b as D, c as G } from "./rules-UuB2i2KE.js";
6
- import { _ as ue, c as me, d as ce } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DpzpUafg.js";
2
+ import { a as le, w as ie, x as se, F as de } from "./app-Bd2n830Y.js";
3
+ import { a as h, c as re } from "./number-Bu93lKcU.js";
4
+ import { u as ae } from "./use-inventory-binding-dialog-Df4UAdJI.js";
5
+ import { b as D, c as G } from "./rules-BXeKMOa6.js";
6
+ import { _ as ue, c as me, d as ce } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-C0nfecTl.js";
7
7
  import { useI18n as pe } from "@feedmepos/mf-common";
8
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 = {
9
9
  class: "flex items-center",
@@ -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-LDTQJMhy.js";
4
+ import { F as r } from "./app-Bd2n830Y.js";
5
5
  const w = /* @__PURE__ */ l({
6
6
  __name: "InventoryBindingSummary",
7
7
  props: {
@@ -1,5 +1,5 @@
1
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-SNScDKT8.js";
2
+ import { c as s } from "./number-Bu93lKcU.js";
3
3
  const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
4
4
  __name: "NumberPrecisionInput",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { o as F, u as f } from "./app-LDTQJMhy.js";
1
+ import { o as F, u as f } from "./app-Bd2n830Y.js";
2
2
  import { useCoreStore as v } from "@feedmepos/mf-common";
3
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
4
  const m = F((e, t) => {
@@ -1,9 +1,9 @@
1
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-LDTQJMhy.js";
2
+ import { u as ne, a as ae, z as se } from "./app-Bd2n830Y.js";
3
3
  import { u as le, _ as ie } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CkPuJQWF.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-u2llGfc9.js";
6
- import { a as H } from "./date2-DPXk7flq.js";
5
+ import { u as me } from "./vue-i18n-BaovYGY4.js";
6
+ import { a as H } from "./date2-CH3V-Ucj.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) {
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as b, computed as x, ref as f, onMounted as g, openBlock as n, createElementBlock as o, createElementVNode as t, toDisplayString as e, normalizeStyle as w, createTextVNode as u, Fragment as i, createCommentVNode as v, renderList as p } from "vue";
2
2
  import { useRoute as k } from "vue-router";
3
- import { O as y } from "./app-LDTQJMhy.js";
4
- import { L as C } from "./lz-string-C9rYv8AB.js";
3
+ import { Q as y } from "./app-Bd2n830Y.js";
4
+ import { L as C } from "./lz-string-BfBty02S.js";
5
5
  import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "title" }, O = { class: "text-right" }, P = { class: "header" }, D = { class: "sub-header" }, S = { class: "caption" }, F = { class: "address" }, T = { class: "text-right" }, L = {
6
+ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "title" }, P = { class: "text-right" }, D = { class: "header" }, O = { class: "sub-header" }, S = { class: "caption" }, F = { class: "address" }, T = { class: "text-right" }, L = {
7
7
  key: 0,
8
8
  class: "sub-header"
9
- }, U = { class: "sub-header" }, q = { class: "address" }, I = { class: "purchase-body" }, V = { class: "text-left" }, B = { class: "text-left" }, H = { class: "text-right" }, M = { class: "text-right" }, z = { class: "text-right" }, J = { style: { "padding-top": "30px" } }, Q = { valign: "bottom" }, Z = { class: "header" }, j = { class: "caption" }, G = {
9
+ }, U = { class: "sub-header" }, q = { class: "address" }, I = { class: "purchase-body" }, V = { class: "text-left" }, B = { class: "text-left" }, H = { class: "text-right" }, M = { class: "text-right" }, Q = { class: "text-right" }, z = { style: { "padding-top": "30px" } }, J = { valign: "bottom" }, Z = { class: "header" }, j = { class: "caption" }, G = {
10
10
  class: "text-left",
11
11
  style: { width: "20%" }
12
12
  }, K = { class: "text-left" }, W = {
@@ -31,7 +31,7 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
31
31
  if (!c)
32
32
  throw new Error("Failed to decompress print data. Please try printing again.");
33
33
  const s = f(JSON.parse(c));
34
- return g(() => {
34
+ return g(async () => {
35
35
  setTimeout(() => window.print(), 500);
36
36
  }), (et, l) => (n(), o("div", R, [
37
37
  t("table", null, [
@@ -43,8 +43,8 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
43
43
  style: w({ color: _.value })
44
44
  }, e(s.value.status), 5)
45
45
  ]),
46
- t("td", O, [
47
- t("div", P, "ORD #" + e(s.value.orderNumber), 1),
46
+ t("td", P, [
47
+ t("div", D, "ORD #" + e(s.value.orderNumber), 1),
48
48
  t("div", null, e(s.value.createdAt), 1)
49
49
  ])
50
50
  ])
@@ -54,7 +54,7 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
54
54
  t("tr", null, [
55
55
  t("td", null, [
56
56
  l[4] || (l[4] = t("div", { class: "header" }, "Supplier", -1)),
57
- t("div", D, e(s.value.supplier.name), 1),
57
+ t("div", O, e(s.value.supplier.name), 1),
58
58
  t("div", S, e(s.value.supplier.registrationNumber), 1),
59
59
  t("div", F, [
60
60
  u(e(s.value.supplier.line1), 1),
@@ -117,14 +117,14 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
117
117
  t("td", B, e(r.description), 1),
118
118
  t("td", H, e(r.quantity), 1),
119
119
  t("td", M, e(r.unit), 1),
120
- t("td", z, e(r.cost ? r.cost : "N/A"), 1)
120
+ t("td", Q, e(r.cost ? r.cost : "N/A"), 1)
121
121
  ]))), 128))
122
122
  ])
123
123
  ])
124
124
  ]),
125
125
  l[14] || (l[14] = t("hr", null, null, -1)),
126
126
  t("div", null, "Remark: " + e(s.value.remark), 1),
127
- t("div", J, [
127
+ t("div", z, [
128
128
  l[11] || (l[11] = t("hr", null, null, -1)),
129
129
  l[12] || (l[12] = u(" Delivery History: ")),
130
130
  (n(!0), o(i, null, p(s.value.deliveryOrders, (r, a) => (n(), o("div", {
@@ -132,7 +132,7 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
132
132
  style: { padding: "10px 30px" }
133
133
  }, [
134
134
  t("table", null, [
135
- t("tr", Q, [
135
+ t("tr", J, [
136
136
  t("td", null, [
137
137
  t("div", Z, "Ref: " + e(r.ref), 1),
138
138
  t("div", j, e(r.createdAt), 1),
@@ -156,7 +156,7 @@ const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "tit
156
156
  ])
157
157
  ]));
158
158
  }
159
- }), ut = /* @__PURE__ */ N(Y, [["__scopeId", "data-v-f8661275"]]);
159
+ }), ut = /* @__PURE__ */ N(Y, [["__scopeId", "data-v-e6ef7057"]]);
160
160
  export {
161
161
  ut as default
162
162
  };