@feedmepos/mf-inventory-portal 1.5.2 → 1.5.4

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 (92) hide show
  1. package/dist/{App-DgTh51DD.js → App-BXITWL3j.js} +101 -99
  2. package/dist/{ApprovalView-Drbolw9l.js → ApprovalView-BFWpjmlL.js} +7 -7
  3. package/dist/{BindingsDialog-CEamuZUT.js → BindingsDialog-D3WrNHZF.js} +2 -2
  4. package/dist/{BindingsPicker-CXgdT_CN.js → BindingsPicker-BPlb7VmR.js} +2 -2
  5. package/dist/{BindingsTable-BRW2wubh.js → BindingsTable-TRWP5Gkw.js} +3 -3
  6. package/dist/{ClosingDraftView-DIgIG05y.js → ClosingDraftView-DnbdzVwG.js} +14 -14
  7. package/dist/{ClosingHistoryView-2V3PMTBj.js → ClosingHistoryView-Do2r2FZw.js} +5 -5
  8. package/dist/{ClosingTemplateView-s8tpVK70.js → ClosingTemplateView-yp6wByBK.js} +14 -14
  9. package/dist/{DefaultView-DtLbw1f-.js → DefaultView-D14HRbRH.js} +2 -2
  10. package/dist/{DeliveryOrderPrintPreview-pG1sNFnn.js → DeliveryOrderPrintPreview-CC2LqaMj.js} +2 -2
  11. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CHWkkV8S.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-GGdEkdps.js} +2 -2
  12. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DxRwuoSd.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CUuNL6-T.js} +2 -2
  13. package/dist/{FmMultiselectDialog-CvhfHinq.js → FmMultiselectDialog-CpOFvITs.js} +1 -1
  14. package/dist/{FmMultiselectDialog-2Qjto1gP.js → FmMultiselectDialog-RIrHS1wc.js} +2 -2
  15. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-B7irUmED.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BzEfM8cK.js} +4 -4
  16. package/dist/{ImportView-BR2huPWB.js → ImportView-BE3_EGzY.js} +6 -6
  17. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-93ArjluD.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-ekolAU_R.js} +1 -1
  18. package/dist/{IngredientGroupView-D8gpeFQl.js → IngredientGroupView-CVI30tZf.js} +5 -5
  19. package/dist/{IngredientsView-hd0ResCN.js → IngredientsView-DLqmGCh8.js} +429 -415
  20. package/dist/{IntegrationExplorerView-Cpjhk-b4.js → IntegrationExplorerView-d7aKkc8a.js} +5 -5
  21. package/dist/{IntegrationView-CHf2wRlq.js → IntegrationView-DFPwlcut.js} +13 -13
  22. package/dist/{InventoryBindingForm-W4lwdgDd.js → InventoryBindingForm-C8CabTAQ.js} +1 -1
  23. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-C-pmgLCe.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Cl_2oZQQ.js} +5 -5
  24. package/dist/{InventoryBindingSummary-BHN-4_Lz.js → InventoryBindingSummary-CyQi6K8O.js} +1 -1
  25. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cbm0yJoD.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B11BW5qT.js} +1 -1
  26. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BlUSDr3n.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BN8hY35z.js} +1 -1
  27. package/dist/{PublishView-D5i0eB2G.js → PublishView-Dbp0G_gq.js} +3 -3
  28. package/dist/{PurchaseOrderPrintPreview-XTsLYcXE.js → PurchaseOrderPrintPreview-B-IFRLC0.js} +2 -2
  29. package/dist/{ReceiveRequestView-w-aolpRr.js → ReceiveRequestView-ZTV4Gz2f.js} +25 -25
  30. package/dist/{RecipeView-CBMPbfhN.js → RecipeView-CXi77AAG.js} +511 -497
  31. package/dist/{SettingsView-Dsx8dzB7.js → SettingsView-CBjrQFhG.js} +4 -4
  32. package/dist/{StockView-DCjIJpMp.js → StockView-CO2dYJI2.js} +19 -19
  33. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-ChJyLXU-.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B0hzlYMq.js} +1 -1
  34. package/dist/{SupplierView-Dq88lsJc.js → SupplierView-DthDfij0.js} +12 -12
  35. package/dist/{SurchargeView-CkwezJuw.js → SurchargeView-BFXZ3bv_.js} +6 -6
  36. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BIQVvUFi.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Tp_h77wr.js} +2 -2
  37. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Co8HN3fK.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D3zDli3T.js} +1 -1
  38. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-pzJOTJE6.js → TransferDetails.vue_vue_type_script_setup_true_lang-tehNK4mW.js} +20 -20
  39. package/dist/{TransferTemplateView-LEw36JX7.js → TransferTemplateView-CpvZgs8Z.js} +18 -18
  40. package/dist/{UnitCostHistoryView-htq5j6Zn.js → UnitCostHistoryView-CU7AFA1B.js} +4 -4
  41. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-t5B3RyEw.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-zCMviKJn.js} +4 -4
  42. package/dist/{UnitView-B-83wHGF.js → UnitView-CaOj0hHe.js} +221 -211
  43. package/dist/{WarehouseView-CWXKpDqs.js → WarehouseView-Cvhber90.js} +5 -5
  44. package/dist/{WastageTemplateView-m2KN0ykq.js → WastageTemplateView-DGgJ4Kep.js} +14 -14
  45. package/dist/api/netsuite.d.ts +4 -0
  46. package/dist/{app-Dl-QzcQa.js → app-Du2LvCnA.js} +13477 -13164
  47. package/dist/app.d.ts +52 -0
  48. package/dist/app.js +1 -1
  49. package/dist/{closing-template-B1fDf4-G.js → closing-template-C1j2dQg_.js} +1 -1
  50. package/dist/{date2-D9F2wSJn.js → date2-DzVRDpJ6.js} +1 -1
  51. package/dist/{dayjs.min-C09ejrwV.js → dayjs.min-CJtR7FRn.js} +1 -1
  52. package/dist/{decimal-Bixy5KOW.js → decimal-B52sEAt9.js} +2 -2
  53. package/dist/{defineDeepModel-BtPuYZzc.js → defineDeepModel-CX2fxJtf.js} +1 -1
  54. package/dist/{duplicate-template-BCtwbDaJ.js → duplicate-template-B6rC1tTJ.js} +1 -1
  55. package/dist/{export-DoWkQBCX.js → export-CmuinZqZ.js} +2 -2
  56. package/dist/{feature-QcnF8Hac.js → feature-BZr7Tvll.js} +2 -2
  57. package/dist/{format-time-from-id-B2ZLK0hg.js → format-time-from-id-B8mR_PKD.js} +1 -1
  58. package/dist/{format-unit-display-Cy7KwJ4g.js → format-unit-display-C29AD2Nw.js} +11 -11
  59. package/dist/helper/menu-usage-module.d.ts +6 -0
  60. package/dist/{import-export.helper-Df90hAqq.js → import-export.helper-BeTYTsKu.js} +6 -6
  61. package/dist/{index-Dw3nMmF7.js → index-BN-11Ri3.js} +1 -1
  62. package/dist/{index-orAalMCW.js → index-XbksIJV8.js} +3 -3
  63. package/dist/{index-ClCh5oJz.js → index-h2r5OlkR.js} +1967 -1917
  64. package/dist/{inventory-core-dart.default-BlHIwzU4.js → inventory-core-dart.default-uyurg-_d.js} +3 -3
  65. package/dist/{lodash-Bdz34Lcx.js → lodash-BGSVb_Jz.js} +1 -1
  66. package/dist/{lz-string-BjezuvOi.js → lz-string-CoNZOzly.js} +1 -1
  67. package/dist/menu-usage-module-BiCPifRX.js +58 -0
  68. package/dist/{netsuite-C-XvVOVi.js → netsuite-BxcQ9yQm.js} +930 -841
  69. package/dist/{number-DpuiqPjX.js → number-C1o95Get.js} +3 -3
  70. package/dist/{predefined-templates-Bx0gx5dY.js → predefined-templates-C5xnznHD.js} +1 -1
  71. package/dist/{purchase-order-template-CL7Jkv0v.js → purchase-order-template-SVph2bZJ.js} +1 -1
  72. package/dist/{recalculationUtils-C12if63c.js → recalculationUtils-C1LbwL4y.js} +1 -1
  73. package/dist/{rules-B8fNxhNe.js → rules-BKiHY_FK.js} +2 -2
  74. package/dist/{stock-3noCFqP3.js → stock-B8V2ye3n.js} +1 -1
  75. package/dist/stores/integration/netsuite.d.ts +6 -0
  76. package/dist/{supplier-Clx97llz.js → supplier-U76hdXmk.js} +2 -2
  77. package/dist/{surcharge-BvTo0bVT.js → surcharge-D5a2C5Fc.js} +1 -1
  78. package/dist/tsconfig.app.tsbuildinfo +1 -1
  79. package/dist/{use-ingredient-select-dialog-B9e9jzqt.js → use-ingredient-select-dialog-lsLlPf-q.js} +2 -2
  80. package/dist/{use-inventory-binding-dialog-BHXeKoPW.js → use-inventory-binding-dialog-CN5z0Z43.js} +2 -2
  81. package/dist/{use-template-enabled-locations-D6NEw6yL.js → use-template-enabled-locations-DTuMMgoV.js} +2 -2
  82. package/dist/{use-transfer-locations-BVfAgoYe.js → use-transfer-locations-UI3dzOdh.js} +2 -2
  83. package/dist/{useHrmPermission-CM9g4l9_.js → useHrmPermission-CC66VhQv.js} +1 -1
  84. package/dist/{useNavigationMenu-Bg8uYzlc.js → useNavigationMenu-BJ7ruwLg.js} +2 -2
  85. package/dist/{useSseClient-Cqntr06O.js → useSseClient-CHNy1pUE.js} +3 -3
  86. package/dist/views/ingredients/components/cannot-delete/CannotDelete.vue.d.ts +4 -6
  87. package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +9 -2
  88. package/dist/{vue-i18n-D-pNCKKX.js → vue-i18n-x0y_3Hjt.js} +2 -2
  89. package/dist/{xlsx-CfgBBtx2.js → xlsx-q_OYyXAa.js} +184 -184
  90. package/dist/{xlsx.util-ByGhgFoQ.js → xlsx.util-DQN_7wku.js} +3 -3
  91. package/package.json +3 -3
  92. package/dist/is-linked-ingredient-error-fJ2TJb3z.js +0 -37
@@ -1,12 +1,12 @@
1
- import { ref as k, onUnmounted as H, computed as y, defineComponent as N, watch as P, onMounted as $, resolveComponent as h, openBlock as m, createElementBlock as g, unref as x, createVNode as _, createElementVNode as n, toDisplayString as b, createBlock as C, createCommentVNode as U, withCtx as R, withDirectives as O, vModelText as j, Fragment as q, renderList as z, createTextVNode as A } from "vue";
1
+ import { ref as k, onUnmounted as H, computed as y, defineComponent as P, watch as N, onMounted as $, resolveComponent as w, openBlock as m, createElementBlock as g, unref as x, createVNode as _, createElementVNode as o, toDisplayString as b, createBlock as L, createCommentVNode as U, withCtx as R, withDirectives as O, vModelText as j, Fragment as q, renderList as z, createTextVNode as B } from "vue";
2
2
  import { _ as K } from "./empty-placeholder-B0QU467o.js";
3
- import { u as Q, a as J, R as w, b as W } from "./app-Dl-QzcQa.js";
4
- import { useCoreStore as T, useI18n as X } from "@feedmepos/mf-common";
5
- import { useRouter as V, useRoute as Y } from "vue-router";
6
- import { u as Z, a as ee, I as te } from "./feature-QcnF8Hac.js";
7
- import { u as ne } from "./netsuite-C-XvVOVi.js";
8
- import { u as D } from "./useNavigationMenu-Bg8uYzlc.js";
9
- import { u as oe } from "./useTabStorage-BkIVScW_.js";
3
+ import { u as Q, a as J, R as S, b as W } from "./app-Du2LvCnA.js";
4
+ import { useCoreStore as C, useI18n as X } from "@feedmepos/mf-common";
5
+ import { useRouter as T, useRoute as Y } from "vue-router";
6
+ import { u as Z, a as ee, I as te } from "./feature-BZr7Tvll.js";
7
+ import { u as oe } from "./netsuite-BxcQ9yQm.js";
8
+ import { u as D } from "./useNavigationMenu-BJ7ruwLg.js";
9
+ import { u as ne } from "./useTabStorage-BkIVScW_.js";
10
10
  import { F as se } from "./FmAdminBadge-DjnBAgyv.js";
11
11
  import { u as re } from "./googlemap-BGi_aKUA.js";
12
12
  function ae() {
@@ -17,16 +17,16 @@ function ae() {
17
17
  }
18
18
  const F = k(ae());
19
19
  function le() {
20
- const p = V();
20
+ const p = T();
21
21
  if (!F.value.loadingHookInstalled) {
22
22
  F.value.loadingHookInstalled = !0;
23
23
  const t = p.beforeEach(() => {
24
24
  F.value.isLoading = !0;
25
- }), u = p.afterEach(() => {
25
+ }), c = p.afterEach(() => {
26
26
  F.value.isLoading = !1;
27
27
  });
28
28
  H(() => {
29
- F.value.loadingHookInstalled = !1, t(), u();
29
+ F.value.loadingHookInstalled = !1, t(), c();
30
30
  });
31
31
  }
32
32
  return {
@@ -48,73 +48,75 @@ const ue = {
48
48
  }, de = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[600px]" }, me = { class: "fm-typo-en-title-lg-600" }, pe = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, fe = {
49
49
  key: 2,
50
50
  class: "flex flex-col pt-[200px] gap-32 items-center"
51
- }, ve = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, ge = { class: "fm-typo-en-title-lg-600" }, _e = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ye = { class: "flex gap-16" }, xe = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, be = { href: "https://feedme.ai/form" }, he = /* @__PURE__ */ N({
51
+ }, ve = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, ge = { class: "fm-typo-en-title-lg-600" }, _e = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ye = { class: "flex gap-16" }, xe = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, be = { href: "https://feedme.ai/form" }, he = /* @__PURE__ */ P({
52
52
  __name: "InventoryView",
53
53
  setup(p) {
54
- const t = Q(), u = J(), i = ne(), r = T(), c = V(), a = le(), e = Z(), { t: l } = X(), { hasAnyAccessibleInventoryRoute: f } = ie();
55
- P(
54
+ const t = Q(), c = J(), i = oe(), r = C(), d = T(), a = le(), e = Z(), { t: l } = X(), { hasAnyAccessibleInventoryRoute: f } = ie();
55
+ N(
56
56
  [() => r.sessionUser.value, () => r.currentBusiness.value],
57
- ([v, d]) => {
58
- o(v, d);
57
+ ([v, u]) => {
58
+ n(v, u);
59
59
  }
60
60
  ), $(async () => {
61
61
  await e.init(), await r.readBusinesses();
62
- const v = r.sessionUser.value, d = r.currentBusiness.value;
63
- o(v, d);
62
+ const v = r.sessionUser.value, u = r.currentBusiness.value;
63
+ n(v, u);
64
64
  });
65
- function o(v, d) {
66
- !v || !d || s();
65
+ function n(v, u) {
66
+ !v || !u || s();
67
67
  }
68
68
  async function s() {
69
69
  return await t.init(), await i.readSetting().catch((v) => {
70
70
  console.error("[all] error on reading netsuite store", v);
71
- }), await u.init();
71
+ }), await c.init();
72
72
  }
73
- const E = y(() => c.currentRoute.value.name === w.TRANSFER_TEMPLATE ? e.enablePoTemplate : c.currentRoute.value.name === w.INGREDIENT_GROUP ? e.enableIngredientGroup : !0), B = y(
74
- () => c.currentRoute.value.matched.some((v) => {
73
+ const A = y(() => d.currentRoute.value.name === S.TRANSFER_TEMPLATE ? e.enablePoTemplate : d.currentRoute.value.name === S.INGREDIENT_GROUP ? e.enableIngredientGroup : !0), E = y(
74
+ () => d.currentRoute.value.matched.some((v) => {
75
75
  var I;
76
- const d = v.meta, S = d == null ? void 0 : d.validationManifest;
77
- return (((I = S == null ? void 0 : S.requiredCaslPermissions) == null ? void 0 : I.length) ?? 0) > 0;
76
+ const u = v.meta, h = u == null ? void 0 : u.validationManifest;
77
+ return (((I = h == null ? void 0 : h.requiredCaslPermissions) == null ? void 0 : I.length) ?? 0) > 0;
78
78
  })
79
79
  ), G = y(() => {
80
- if (!r.sessionUser.value || !e.isLoaded) return !1;
81
- const v = c.currentRoute.value.name === w.LOADING;
82
- return !f.value && (v || B.value);
80
+ if (!r.sessionUser.value) return !1;
81
+ if (t._locations !== null && t.locations.length === 0) return !0;
82
+ if (!e.isLoaded) return !1;
83
+ const h = d.currentRoute.value.name === S.LOADING;
84
+ return !f.value && (h || E.value);
83
85
  });
84
- return (v, d) => {
85
- const S = h("FmSpacer"), I = h("FmCircularProgress"), L = h("FmButton"), M = h("RouterView");
86
+ return (v, u) => {
87
+ const h = w("FmSpacer"), I = w("FmCircularProgress"), V = w("FmButton"), M = w("RouterView");
86
88
  return m(), g("div", null, [
87
89
  x(a).isLoading ? (m(), g("div", ue, [
88
- _(S),
89
- n("div", null, [
90
+ _(h),
91
+ o("div", null, [
90
92
  _(I, { size: "xl" })
91
93
  ]),
92
- d[0] || (d[0] = n("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
93
- _(S)
94
+ u[0] || (u[0] = o("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
95
+ _(h)
94
96
  ])) : G.value ? (m(), g("div", ce, [
95
- d[1] || (d[1] = n("img", {
97
+ u[1] || (u[1] = o("img", {
96
98
  src: K,
97
99
  alt: "No permission",
98
100
  class: "w-[200px] h-[200px]"
99
101
  }, null, -1)),
100
- n("div", de, [
101
- n("div", me, b(x(l)("inventory.common.noPermission.title")), 1),
102
- n("div", pe, b(x(l)("inventory.common.noPermission.description")), 1)
102
+ o("div", de, [
103
+ o("div", me, b(x(l)("inventory.common.noPermission.title")), 1),
104
+ o("div", pe, b(x(l)("inventory.common.noPermission.description")), 1)
103
105
  ])
104
- ])) : E.value ? x(r).sessionUser.value ? (m(), C(M, { key: 3 })) : U("", !0) : (m(), g("div", fe, [
105
- n("div", ve, [
106
- n("div", ge, b(x(l)("inventory.common.proPlan.title")), 1),
107
- n("div", _e, b(x(l)("inventory.common.proPlan.subtitle")), 1)
106
+ ])) : A.value ? x(r).sessionUser.value ? (m(), L(M, { key: 3 })) : U("", !0) : (m(), g("div", fe, [
107
+ o("div", ve, [
108
+ o("div", ge, b(x(l)("inventory.common.proPlan.title")), 1),
109
+ o("div", _e, b(x(l)("inventory.common.proPlan.subtitle")), 1)
108
110
  ]),
109
- n("div", ye, [
110
- n("a", xe, [
111
- _(L, {
111
+ o("div", ye, [
112
+ o("a", xe, [
113
+ _(V, {
112
114
  label: x(l)("inventory.common.proPlan.comparePlans"),
113
115
  variant: "secondary"
114
116
  }, null, 8, ["label"])
115
117
  ]),
116
- n("a", be, [
117
- _(L, {
118
+ o("a", be, [
119
+ _(V, {
118
120
  label: x(l)("inventory.common.proPlan.callUs"),
119
121
  "prepend-icon": "call"
120
122
  }, null, 8, ["label"])
@@ -127,19 +129,19 @@ const ue = {
127
129
  }), we = { class: "flex items-center gap-2" }, Se = { class: "text-xs text-gray-400 font-normal" }, Fe = { class: "flex flex-col gap-3" }, Re = { class: "max-h-[480px] flex flex-col gap-1" }, Ie = { class: "font-mono text-xs text-gray-700 break-all min-w-0" }, ke = {
128
130
  key: 0,
129
131
  class: "inline-flex items-center gap-1 text-xs font-medium text-green-700 bg-green-50 px-2 py-0.5 rounded-full"
130
- }, Pe = {
132
+ }, Ne = {
131
133
  key: 1,
132
134
  class: "inline-flex items-center gap-1 text-xs font-medium text-red-700 bg-red-50 px-2 py-0.5 rounded-full"
133
- }, Ne = {
135
+ }, Pe = {
134
136
  key: 2,
135
137
  class: "inline-flex items-center gap-1 text-xs font-medium text-gray-500 bg-gray-100 px-2 py-0.5 rounded-full"
136
- }, Ee = {
138
+ }, Ae = {
137
139
  key: 0,
138
140
  class: "text-center text-sm text-gray-400 py-4"
139
- }, Be = /* @__PURE__ */ N({
141
+ }, Ee = /* @__PURE__ */ P({
140
142
  __name: "FmFeatureFlagDialog",
141
143
  setup(p) {
142
- const t = k(!1), u = k(""), i = y(() => {
144
+ const t = k(!1), c = k(""), i = y(() => {
143
145
  const { getFlagValue: a } = ee();
144
146
  return Object.values(te).map((e) => {
145
147
  const l = a(e, (f) => f === "true");
@@ -149,15 +151,15 @@ const ue = {
149
151
  };
150
152
  });
151
153
  }), r = y(() => {
152
- const a = u.value.toLowerCase();
154
+ const a = c.value.toLowerCase();
153
155
  return a ? i.value.filter((e) => e.name.toLowerCase().includes(a)) : i.value;
154
- }), c = y(() => {
156
+ }), d = y(() => {
155
157
  const a = i.value.filter((f) => f.enabled === !0).length, e = i.value.filter((f) => f.enabled === !1).length, l = i.value.filter((f) => f.enabled === null).length;
156
158
  return { enabled: a, disabled: e, unknown: l, total: i.value.length };
157
159
  });
158
160
  return (a, e) => {
159
- const l = h("FmButton"), f = h("FmSpacer"), o = h("FmDialog");
160
- return m(), C(o, {
161
+ const l = w("FmButton"), f = w("FmSpacer"), n = w("FmDialog");
162
+ return m(), L(n, {
161
163
  modelValue: t.value,
162
164
  "onUpdate:modelValue": e[2] || (e[2] = (s) => t.value = s),
163
165
  overlay: !0
@@ -174,9 +176,9 @@ const ue = {
174
176
  })
175
177
  ]),
176
178
  "dialog-header": R(() => [
177
- n("div", we, [
178
- e[3] || (e[3] = n("span", null, "Feature Flags", -1)),
179
- n("span", Se, b(c.value.enabled) + " enabled · " + b(c.value.disabled) + " disabled · " + b(c.value.unknown) + " unknown ", 1)
179
+ o("div", we, [
180
+ e[3] || (e[3] = o("span", null, "Feature Flags", -1)),
181
+ o("span", Se, b(d.value.enabled) + " enabled · " + b(d.value.disabled) + " disabled · " + b(d.value.unknown) + " unknown ", 1)
180
182
  ])
181
183
  ]),
182
184
  "dialog-footer": R(() => [
@@ -190,33 +192,33 @@ const ue = {
190
192
  })
191
193
  ]),
192
194
  default: R(() => [
193
- n("div", Fe, [
194
- O(n("input", {
195
- "onUpdate:modelValue": e[0] || (e[0] = (s) => u.value = s),
195
+ o("div", Fe, [
196
+ O(o("input", {
197
+ "onUpdate:modelValue": e[0] || (e[0] = (s) => c.value = s),
196
198
  type: "text",
197
199
  placeholder: "Search flags...",
198
200
  class: "w-full px-3 py-2 text-sm border border-gray-300 rounded-md focus:outline-none focus:ring-1 focus:ring-blue-500"
199
201
  }, null, 512), [
200
- [j, u.value]
202
+ [j, c.value]
201
203
  ]),
202
- n("div", Re, [
204
+ o("div", Re, [
203
205
  (m(!0), g(q, null, z(r.value, (s) => (m(), g("div", {
204
206
  key: s.name,
205
207
  class: "flex items-start justify-between gap-2 px-3 py-2 rounded-md hover:bg-gray-50 text-sm"
206
208
  }, [
207
- n("span", Ie, b(s.name), 1),
209
+ o("span", Ie, b(s.name), 1),
208
210
  s.enabled === !0 ? (m(), g("span", ke, e[4] || (e[4] = [
209
- n("span", { class: "w-1.5 h-1.5 rounded-full bg-green-500" }, null, -1),
210
- A(" Enabled ")
211
- ]))) : s.enabled === !1 ? (m(), g("span", Pe, e[5] || (e[5] = [
212
- n("span", { class: "w-1.5 h-1.5 rounded-full bg-red-500" }, null, -1),
213
- A(" Disabled ")
214
- ]))) : (m(), g("span", Ne, e[6] || (e[6] = [
215
- n("span", { class: "w-1.5 h-1.5 rounded-full bg-gray-400" }, null, -1),
216
- A(" Unknown ")
211
+ o("span", { class: "w-1.5 h-1.5 rounded-full bg-green-500" }, null, -1),
212
+ B(" Enabled ")
213
+ ]))) : s.enabled === !1 ? (m(), g("span", Ne, e[5] || (e[5] = [
214
+ o("span", { class: "w-1.5 h-1.5 rounded-full bg-red-500" }, null, -1),
215
+ B(" Disabled ")
216
+ ]))) : (m(), g("span", Pe, e[6] || (e[6] = [
217
+ o("span", { class: "w-1.5 h-1.5 rounded-full bg-gray-400" }, null, -1),
218
+ B(" Unknown ")
217
219
  ])))
218
220
  ]))), 128)),
219
- r.value.length === 0 ? (m(), g("div", Ee, ' No flags matching "' + b(u.value) + '" ', 1)) : U("", !0)
221
+ r.value.length === 0 ? (m(), g("div", Ae, ' No flags matching "' + b(c.value) + '" ', 1)) : U("", !0)
220
222
  ])
221
223
  ])
222
224
  ]),
@@ -224,46 +226,46 @@ const ue = {
224
226
  }, 8, ["modelValue"]);
225
227
  };
226
228
  }
227
- }), Ae = { class: "h-full flex flex-col overflow-auto py-16 gap-2" }, Ce = /* @__PURE__ */ N({
229
+ }), Be = { class: "h-full flex flex-col overflow-auto py-16 gap-2" }, Le = /* @__PURE__ */ P({
228
230
  __name: "NavigationTab",
229
231
  setup(p) {
230
- const t = Y(), u = V(), i = T(), r = oe(), { menuItems: c } = D();
231
- P([() => i.currentBusiness.value, () => t.name], ([o, s]) => {
232
- (o == null ? void 0 : o.menuVersion) === "v3" && (s === w.INGREDIENTS || s === w.RECIPE || s === w.UNIT) && u.push({ name: w.STOCK });
232
+ const t = Y(), c = T(), i = C(), r = ne(), { menuItems: d } = D();
233
+ N([() => i.currentBusiness.value, () => t.name], ([n, s]) => {
234
+ (n == null ? void 0 : n.menuVersion) === "v3" && (s === S.INGREDIENTS || s === S.RECIPE || s === S.UNIT) && c.push({ name: S.STOCK });
233
235
  });
234
236
  const a = y({
235
237
  get() {
236
238
  if (t.name)
237
239
  return String(t.name);
238
240
  },
239
- set(o) {
240
- o && u.push({ name: o });
241
+ set(n) {
242
+ n && c.push({ name: n });
241
243
  }
242
244
  }), e = y(
243
245
  () => {
244
- var o;
245
- return `NavigationTab.${(o = i.currentBusiness.value) == null ? void 0 : o._id}`;
246
+ var n;
247
+ return `NavigationTab.${(n = i.currentBusiness.value) == null ? void 0 : n._id}`;
246
248
  }
247
249
  ), l = k(!1), f = y({
248
250
  get() {
249
251
  return l.value;
250
252
  },
251
- set(o) {
252
- l.value = o, o || r.setItem(e.value, "true");
253
+ set(n) {
254
+ l.value = n, n || r.setItem(e.value, "true");
253
255
  }
254
256
  });
255
- return P([() => e.value], () => {
257
+ return N([() => e.value], () => {
256
258
  l.value = !1, setTimeout(() => {
257
259
  f.value = !r.getItem(e.value);
258
260
  }, 2e3);
259
- }), (o, s) => {
260
- const E = h("FmCollapsibleTabs");
261
- return m(), g("div", Ae, [
262
- _(Be),
263
- _(E, {
261
+ }), (n, s) => {
262
+ const A = w("FmCollapsibleTabs");
263
+ return m(), g("div", Be, [
264
+ _(Ee),
265
+ _(A, {
264
266
  modelValue: a.value,
265
- "onUpdate:modelValue": s[0] || (s[0] = (B) => a.value = B),
266
- items: x(c)
267
+ "onUpdate:modelValue": s[0] || (s[0] = (E) => a.value = E),
268
+ items: x(d)
267
269
  }, null, 8, ["modelValue", "items"])
268
270
  ]);
269
271
  };
@@ -278,30 +280,30 @@ typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
278
280
  typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(p) {
279
281
  return await new Promise((t) => setTimeout(t, p)), Promise.resolve(this);
280
282
  });
281
- const qe = /* @__PURE__ */ N({
283
+ const qe = /* @__PURE__ */ P({
282
284
  __name: "App",
283
285
  setup(p) {
284
- const t = T(), u = re(), i = W();
286
+ const t = C(), c = re(), i = W();
285
287
  $(() => {
286
288
  if (window.location.href.includes("print-preview")) {
287
289
  t.setEmbedded(!0), document.body.classList.add("print-mode");
288
290
  return;
289
291
  }
290
- t.registerSidebarComponent(Ce), u.initGoogleMap(i.appApi.googleMap).catch(() => {
292
+ t.registerSidebarComponent(Le), c.initGoogleMap(i.appApi.googleMap).catch(() => {
291
293
  console.error("Google map cannot be loaded");
292
294
  });
293
- }), P([() => t.currentCountry.value], () => {
295
+ }), N([() => t.currentCountry.value], () => {
294
296
  r();
295
297
  });
296
298
  async function r() {
297
- var c;
299
+ var d;
298
300
  try {
299
- await t.readBusinesses(), t.currentBusiness.value = (c = t.businesses.value) == null ? void 0 : c.find((a) => a);
301
+ await t.readBusinesses(), t.currentBusiness.value = (d = t.businesses.value) == null ? void 0 : d.find((a) => a);
300
302
  } catch (a) {
301
303
  console.error("error when trying to reset businesses:", a);
302
304
  }
303
305
  }
304
- return (c, a) => (m(), C(he));
306
+ return (d, a) => (m(), L(he));
305
307
  }
306
308
  });
307
309
  export {
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as ce, ref as y, watch as de, computed as c, resolveComponent as fe, openBlock as x, createBlock as Z, unref as a, withCtx as T, createElementVNode as p, normalizeClass as ve, createVNode as u, normalizeStyle as he, toDisplayString as _e, createElementBlock as De, createCommentVNode as ge, Teleport as ye, mergeProps as be, isRef as Re } from "vue";
2
- import { u as Oe, V as b } from "./app-Dl-QzcQa.js";
3
- import { a as Se, _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DxRwuoSd.js";
4
- import { a as xe, P as w, b as Te, _ as we, c as ke } from "./TransferDetails.vue_vue_type_script_setup_true_lang-pzJOTJE6.js";
5
- import { b as I } from "./date2-D9F2wSJn.js";
2
+ import { u as Oe, V as b } from "./app-Du2LvCnA.js";
3
+ import { a as Se, _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CUuNL6-T.js";
4
+ import { a as xe, P as w, b as Te, _ as we, c as ke } from "./TransferDetails.vue_vue_type_script_setup_true_lang-tehNK4mW.js";
5
+ import { b as I } from "./date2-DzVRDpJ6.js";
6
6
  import { u as qe, _ as Ve } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-sUxHOj47.js";
7
7
  import { _ as Ce, F as R } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
8
8
  import { useBreakpoints as Ne } from "@feedmepos/ui-library";
9
9
  import { useI18n as Ae } from "@feedmepos/mf-common";
10
10
  import { P as Me, J as Fe } from "./app-DiX-EfV6.js";
11
- import { u as Le } from "./netsuite-C-XvVOVi.js";
12
- import { f as $e } from "./predefined-templates-Bx0gx5dY.js";
13
- import "./inventory-core-dart.default-BlHIwzU4.js";
11
+ import { u as Le } from "./netsuite-BxcQ9yQm.js";
12
+ import { f as $e } from "./predefined-templates-C5xnznHD.js";
13
+ import "./inventory-core-dart.default-uyurg-_d.js";
14
14
  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 = {
15
15
  key: 0,
16
16
  class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as C, ref as t, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as c, 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-C-pmgLCe.js";
3
- import { a as L, ao as S } from "./app-Dl-QzcQa.js";
2
+ import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-Cl_2oZQQ.js";
3
+ import { a as L, ao as S } from "./app-Du2LvCnA.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, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
2
- import { a as M } from "./FmMultiselectDialog-2Qjto1gP.js";
3
- import { a as x, ao as z } from "./app-Dl-QzcQa.js";
2
+ import { a as M } from "./FmMultiselectDialog-RIrHS1wc.js";
3
+ import { a as x, ao as z } from "./app-Du2LvCnA.js";
4
4
  const F = {
5
5
  key: 0,
6
6
  class: "flex flex-col gap-16"
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, openBlock as l, createElementBlock as u, 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, ao as R } from "./app-Dl-QzcQa.js";
3
- import "./dayjs.min-C09ejrwV.js";
2
+ import { F as b, a as P, ao as R } from "./app-Du2LvCnA.js";
3
+ import "./dayjs.min-CJtR7FRn.js";
4
4
  import "@feedmepos/ui-library";
5
5
  /* empty css */
6
6
  import "@feedmepos/mf-common";
7
7
  import "./app-DiX-EfV6.js";
8
- import "./lodash-Bdz34Lcx.js";
8
+ import "./lodash-BGSVb_Jz.js";
9
9
  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({
10
10
  __name: "binding-ui",
11
11
  props: {
@@ -2,25 +2,25 @@ import { defineComponent as je, ref as H, computed as V, onMounted as mt, resolv
2
2
  import { u as on, _ as sn } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-sUxHOj47.js";
3
3
  import { useCoreStore as Ut, useI18n as at } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as ze, useDialog as rn, components as _e, useProxiedModel as Pt, useBreakpoints as ln } from "@feedmepos/ui-library";
5
- import { m as cn, u as Oe, L as se, w as ee, q as Vt, s as Be, M as De, B as Te, c as un, a as pt, j as dn } from "./app-Dl-QzcQa.js";
5
+ import { m as cn, u as Oe, L as se, w as ee, q as Vt, s as Be, M as De, B as Te, c as un, a as pt, j as dn } from "./app-Du2LvCnA.js";
6
6
  import { defineStore as Mt, storeToRefs as mn } from "pinia";
7
- import { b as tt, e as Nt, f as fn, a as Ae } from "./date2-D9F2wSJn.js";
8
- import { R as pn } from "./rules-B8fNxhNe.js";
9
- import { e as vt, a as dt, t as Et, c as Le, l as Lt, m as zt, j as Ot, k as Ht, o as ne } from "./number-DpuiqPjX.js";
10
- import { b as vn, d as yn } from "./xlsx.util-ByGhgFoQ.js";
11
- import { u as gn, a as bn } from "./useSseClient-Cqntr06O.js";
12
- import { u as ot } from "./stock-3noCFqP3.js";
7
+ import { b as tt, e as Nt, f as fn, a as Ae } from "./date2-DzVRDpJ6.js";
8
+ import { R as pn } from "./rules-BKiHY_FK.js";
9
+ import { e as vt, a as dt, t as Et, c as Le, l as Lt, m as zt, j as Ot, k as Ht, o as ne } from "./number-C1o95Get.js";
10
+ import { b as vn, d as yn } from "./xlsx.util-DQN_7wku.js";
11
+ import { u as gn, a as bn } from "./useSseClient-CHNy1pUE.js";
12
+ import { u as ot } from "./stock-B8V2ye3n.js";
13
13
  import { D as Tt, R as Ve } from "./row-action.enum-DQ9bJ_uv.js";
14
14
  import { c as hn } from "./component-kqxARxvM.js";
15
- import { f as _n } from "./format-time-from-id-B2ZLK0hg.js";
16
- import { f as kn } from "./recalculationUtils-C12if63c.js";
17
- import { _ as wn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DxRwuoSd.js";
15
+ import { f as _n } from "./format-time-from-id-B8mR_PKD.js";
16
+ import { f as kn } from "./recalculationUtils-C1LbwL4y.js";
17
+ import { _ as wn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CUuNL6-T.js";
18
18
  import { _ as xn } from "./empty-placeholder-B0QU467o.js";
19
19
  import { F as ct } from "./FmAdminBadge-DjnBAgyv.js";
20
- import { u as Dn } from "./vue-i18n-D-pNCKKX.js";
21
- import { F as An } from "./decimal-Bixy5KOW.js";
22
- import { r as Cn, u as Xe, w as Sn } from "./xlsx-CfgBBtx2.js";
23
- import { d as $n } from "./dayjs.min-C09ejrwV.js";
20
+ import { u as Dn } from "./vue-i18n-x0y_3Hjt.js";
21
+ import { F as An } from "./decimal-B52sEAt9.js";
22
+ import { r as Cn, u as Xe, w as Sn } from "./xlsx-q_OYyXAa.js";
23
+ import { d as $n } from "./dayjs.min-CJtR7FRn.js";
24
24
  import { F as Fn } from "./FmDroppableField-J0xUsOTV.js";
25
25
  import { _ as In } from "./FmConfirmationButton.vue_vue_type_script_setup_true_lang-DLrMEGFR.js";
26
26
  import { _ as Bn, F as Je } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as ne, ref as g, computed as D, watch as de, resolveComponent as w, openBlock as n, createElementBlock as p, createBlock as M, withModifiers as ue, createCommentVNode as b, createVNode as _, withCtx as T, createElementVNode as o, toDisplayString as l, unref as i, Fragment as z, createTextVNode as Z, renderList as le, normalizeClass as me, h as X, Teleport as pe } from "vue";
2
2
  import { _ as ve } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-sUxHOj47.js";
3
3
  import { useI18n as se, useCoreStore as ge } from "@feedmepos/mf-common";
4
- import { E as ie, B as P, a as he, u as _e } from "./app-Dl-QzcQa.js";
4
+ import { E as ie, B as P, a as he, u as _e } from "./app-Du2LvCnA.js";
5
5
  import { F as re } from "./FmAdminBadge-DjnBAgyv.js";
6
- import { _ as be } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DxRwuoSd.js";
6
+ import { _ as be } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CUuNL6-T.js";
7
7
  import { useSnackbar as ce, useDialog as ke } from "@feedmepos/ui-library";
8
- import { u as fe } from "./stock-3noCFqP3.js";
9
- import { g as ye, f as xe } from "./recalculationUtils-C12if63c.js";
10
- import { _ as De } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-t5B3RyEw.js";
8
+ import { u as fe } from "./stock-B8V2ye3n.js";
9
+ import { g as ye, f as xe } from "./recalculationUtils-C1LbwL4y.js";
10
+ import { _ as De } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-zCMviKJn.js";
11
11
  const we = { class: "fm-typo-en-heading-lg-600" }, Se = { class: "flex flex-col gap-16" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ve = { class: "flex flex-col gap-8" }, $e = { class: "fm-typo-en-body-md-600" }, Ae = { class: "flex flex-col gap-8" }, Fe = { class: "fm-typo-en-body-md-600" }, Re = { class: "flex items-center gap-8 mb-8" }, Ie = {
12
12
  key: 2,
13
13
  class: "text-red-500 text-sm mt-2"
@@ -4,24 +4,24 @@ import { useI18n as W, useCoreStore as de } from "@feedmepos/mf-common";
4
4
  import { useDialog as pe, useDialogChild as Ze, useSnackbar as ce, FmButtonVariant as oe, components as Y, FmAdvancedSort as et, useProxiedModel as tt, useBreakpoints as nt } from "@feedmepos/ui-library";
5
5
  import { defineStore as Ve, storeToRefs as Ne } from "pinia";
6
6
  import { F as G } from "./form-mode.enum-BKiNVH6A.js";
7
- import { a as me } from "./closing-template-B1fDf4-G.js";
8
- import { u as fe, c as Ue, a as ve, l as ot } from "./app-Dl-QzcQa.js";
9
- import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-ByGhgFoQ.js";
7
+ import { a as me } from "./closing-template-C1j2dQg_.js";
8
+ import { u as fe, c as Ue, a as ve, l as ot } from "./app-Du2LvCnA.js";
9
+ import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-DQN_7wku.js";
10
10
  import { F as lt } from "./FmDroppableField-J0xUsOTV.js";
11
- import { f as Be, a as le } from "./date2-D9F2wSJn.js";
11
+ import { f as Be, a as le } from "./date2-DzVRDpJ6.js";
12
12
  import { D as se, R as z } from "./row-action.enum-DQ9bJ_uv.js";
13
13
  import { c as at } from "./component-kqxARxvM.js";
14
- import { f as rt } from "./format-time-from-id-B2ZLK0hg.js";
15
- import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Co8HN3fK.js";
16
- import { u as ct } from "./netsuite-C-XvVOVi.js";
17
- import { u as mt } from "./duplicate-template-BCtwbDaJ.js";
18
- import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DxRwuoSd.js";
19
- import { R as dt, A as pt } from "./rules-B8fNxhNe.js";
20
- import { u as ft } from "./use-ingredient-select-dialog-B9e9jzqt.js";
21
- import { d as vt } from "./defineDeepModel-BtPuYZzc.js";
14
+ import { f as rt } from "./format-time-from-id-B8mR_PKD.js";
15
+ import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D3zDli3T.js";
16
+ import { u as ct } from "./netsuite-BxcQ9yQm.js";
17
+ import { u as mt } from "./duplicate-template-B6rC1tTJ.js";
18
+ import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CUuNL6-T.js";
19
+ import { R as dt, A as pt } from "./rules-BKiHY_FK.js";
20
+ import { u as ft } from "./use-ingredient-select-dialog-lsLlPf-q.js";
21
+ import { d as vt } from "./defineDeepModel-CX2fxJtf.js";
22
22
  import { F as X, _ as ze } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
23
- import { u as gt } from "./use-template-enabled-locations-D6NEw6yL.js";
24
- import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-BIQVvUFi.js";
23
+ import { u as gt } from "./use-template-enabled-locations-DTuMMgoV.js";
24
+ import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-Tp_h77wr.js";
25
25
  import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
26
26
  const ue = Ve(
27
27
  "closingTemplateTable",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as p, computed as f, watchEffect as d, resolveComponent as n, openBlock as _, createElementBlock as v, createVNode as o, createElementVNode as c } from "vue";
2
2
  import { useRouter as g } from "vue-router";
3
3
  import { useCoreStore as x } from "@feedmepos/mf-common";
4
- import { u as S } from "./useNavigationMenu-Bg8uYzlc.js";
5
- import { u as y } from "./feature-QcnF8Hac.js";
4
+ import { u as S } from "./useNavigationMenu-BJ7ruwLg.js";
5
+ import { u as y } from "./feature-BZr7Tvll.js";
6
6
  const C = { class: "flex flex-col items-center w-full h-full gap-24" }, V = /* @__PURE__ */ p({
7
7
  __name: "DefaultView",
8
8
  setup(F) {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as x, computed as g, ref as h, onMounted as _, openBlock as i, createElementBlock as u, createElementVNode as t, createTextVNode as n, toDisplayString as l, createCommentVNode as d, Fragment as o, renderList as p, normalizeClass as c } from "vue";
2
2
  import { useRoute as w } from "vue-router";
3
- import { P as b } from "./app-Dl-QzcQa.js";
4
- import { L as k } from "./lz-string-BjezuvOi.js";
3
+ import { P as b } from "./app-Du2LvCnA.js";
4
+ import { L as k } from "./lz-string-CoNZOzly.js";
5
5
  import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const N = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "sub-header" }, C = ["src"], D = { style: { "padding-left": "10px" } }, O = { class: "address" }, R = { class: "text-right" }, S = {
7
7
  key: 0,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, mergeModels as I, useModel as z, computed as h, ref as _, resolveComponent as n, openBlock as t, createElementBlock as f, normalizeStyle as B, createElementVNode as F, createVNode as N, withCtx as E, createBlock as s, createCommentVNode as k, Fragment as S, renderList as R, unref as r } from "vue";
2
- import { z as u } from "./app-Dl-QzcQa.js";
3
- import { F as T } from "./FmMultiselectDialog-2Qjto1gP.js";
2
+ import { z as u } from "./app-Du2LvCnA.js";
3
+ import { F as T } from "./FmMultiselectDialog-RIrHS1wc.js";
4
4
  const q = { class: "overflow-y-auto h-full pb-8" }, L = /* @__PURE__ */ g({
5
5
  __name: "FmFilterableMenuOptions",
6
6
  props: /* @__PURE__ */ I({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as S, computed as w, ref as P, resolveComponent as h, openBlock as n, createElementBlock as p, createVNode as x, withCtx as $, createElementVNode as b, Fragment as V, createTextVNode as R, toDisplayString as D, unref as r, createBlock as v, createCommentVNode as k, renderList as N, watch as O, mergeModels as H, useModel as I, renderSlot as W, normalizeClass as A } from "vue";
2
2
  import { useCoreStore as q, useI18n as Q } from "@feedmepos/mf-common";
3
- import { u as G } from "./app-Dl-QzcQa.js";
4
- import { b as T } from "./date2-D9F2wSJn.js";
3
+ import { u as G } from "./app-Du2LvCnA.js";
4
+ import { b as T } from "./date2-DzVRDpJ6.js";
5
5
  import { useBreakpoints as J } from "@feedmepos/ui-library";
6
6
  import { u as K } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-sUxHOj47.js";
7
7
  import { D as z } from "./app-DiX-EfV6.js";
@@ -1,7 +1,7 @@
1
1
  import { defineStore as p } from "pinia";
2
2
  import { useDialog as y } from "@feedmepos/ui-library";
3
3
  import { useI18n as v } from "@feedmepos/mf-common";
4
- import { a } from "./FmMultiselectDialog-2Qjto1gP.js";
4
+ import { a } from "./FmMultiselectDialog-RIrHS1wc.js";
5
5
  import { h as S } from "vue";
6
6
  const w = p("inventoryMultiSelectDialog", () => {
7
7
  const l = y(), { t: n } = v();
@@ -3,8 +3,8 @@ var Pe = (F, i, l) => i in F ? He(F, i, { enumerable: !0, configurable: !0, writ
3
3
  var ve = (F, i, l) => Pe(F, typeof i != "symbol" ? i + "" : i, l);
4
4
  import { defineComponent as be, computed as x, ref as $, watch as ge, openBlock as d, createElementBlock as f, normalizeStyle as z, Fragment as V, renderList as O, renderSlot as ke, createCommentVNode as D, useSlots as Oe, onMounted as Ue, onUnmounted as Ee, reactive as ee, resolveComponent as T, createElementVNode as B, createVNode as k, createTextVNode as Ke, toDisplayString as P, unref as L, createSlots as je, withCtx as w, createBlock as I, resolveDynamicComponent as pe, normalizeClass as fe, withModifiers as Ne, Transition as ze } from "vue";
5
5
  import { useDialogChild as Ge } from "@feedmepos/ui-library";
6
- import { z as he } from "./app-Dl-QzcQa.js";
7
- import { d as Je } from "./index-Dw3nMmF7.js";
6
+ import { z as he } from "./app-Du2LvCnA.js";
7
+ import { d as Je } from "./index-BN-11Ri3.js";
8
8
  /* empty css */
9
9
  import { useI18n as Re } from "@feedmepos/mf-common";
10
10
  import { P as We, J as ye, D as Qe } from "./app-DiX-EfV6.js";
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as ie, mergeModels as W, useModel as le, computed as v, ref as B, watch as E, onBeforeUnmount as ae, inject as ue, resolveComponent as b, openBlock as d, createElementBlock as y, createElementVNode as u, createVNode as h, withCtx as F, renderSlot as G, normalizeClass as j, toDisplayString as _, withDirectives as re, vModelText as me, createCommentVNode as I, createTextVNode as ce, createBlock as U, Fragment as de, renderList as pe } from "vue";
2
- import { l as fe } from "./lodash-Bdz34Lcx.js";
3
- import { w as D } from "./app-Dl-QzcQa.js";
4
- import { g as O, c as ve, a as M, t as be, e as ye, m as he, b as Me, u as ge } from "./number-DpuiqPjX.js";
5
- import { I as R, a as xe } from "./rules-B8fNxhNe.js";
2
+ import { l as fe } from "./lodash-BGSVb_Jz.js";
3
+ import { w as D } from "./app-Du2LvCnA.js";
4
+ import { g as O, c as ve, a as M, t as be, e as ye, m as he, b as Me, u as ge } from "./number-C1o95Get.js";
5
+ import { I as R, a as xe } from "./rules-BKiHY_FK.js";
6
6
  import "@feedmepos/ui-library";
7
7
  function H() {
8
8
  return {