@feedmepos/mf-inventory-portal 0.0.23-dev.18 → 0.0.23-dev.2

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 (95) hide show
  1. package/dist/{App-Dfryh3pQ.js → App-DRE3c1lJ.js} +31 -36
  2. package/dist/{ApprovalView-CRrJeRCQ.js → ApprovalView-B4ZYcS3B.js} +4 -4
  3. package/dist/{BindingsDialog-Zh8FzTSI.js → BindingsDialog-Df1yrWHU.js} +2 -2
  4. package/dist/{BindingsPicker-BXChBNxv.js → BindingsPicker-BERMWh4w.js} +2 -2
  5. package/dist/{BindingsTable-BXB-X1N3.js → BindingsTable-DRIapOWW.js} +6 -6
  6. package/dist/{ClosingTemplateView-Bj6SiRlA.js → ClosingTemplateView-CbFn3Sdy.js} +31 -32
  7. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-7JYNssTm.js +267 -0
  8. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B8RhFmN_.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-KbYSywk2.js} +2 -2
  9. package/dist/{FmMultiselectDialog-DWMt9hvV.js → FmMultiselectDialog-Da9JMCYa.js} +15 -15
  10. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-BHSGZyJL.js +326 -0
  11. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Be_B1iME.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DH5IQchQ.js} +1 -1
  12. package/dist/{IngredientGroupView-DCOz2AOB.js → IngredientGroupView-DoETcEvV.js} +11 -12
  13. package/dist/IngredientsView-DHAhj9pV.js +1613 -0
  14. package/dist/{IntegrationView-BfoCYVHZ.js → IntegrationView-D1HeBiGF.js} +50 -50
  15. package/dist/{InventoryBindingForm-2Gs2vUtC.js → InventoryBindingForm-Dmz9BQ37.js} +1 -1
  16. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-D9Of6ewh.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DoyqVBOd.js} +13 -13
  17. package/dist/{InventoryBindingSummary-IUJt469w.js → InventoryBindingSummary-DrpwiRGZ.js} +1 -1
  18. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BtdmfQRZ.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-yNEswIEI.js} +1 -1
  19. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C97vZfAO.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Br4_VUza.js} +2 -2
  20. package/dist/{PurchaseOrderPrintPreview-BRVCfgd3.js → PurchaseOrderPrintPreview-cp671yWE.js} +1 -1
  21. package/dist/ReceiveRequestView-C1WBlpho.js +4082 -0
  22. package/dist/{RecipeView-Br8u4xZZ.js → RecipeView-CD_dAWLo.js} +10 -11
  23. package/dist/{StockView-B2vBQLJf.js → StockView-DfUzFC1b.js} +1457 -1356
  24. package/dist/{SupplierView-S_qigSL4.js → SupplierView-DB-zrNxh.js} +783 -2352
  25. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-2mzqFGCz.js +1144 -0
  26. package/dist/TransferTemplateView-CaAJrqU6.js +1262 -0
  27. package/dist/{UnitView-CR019bWO.js → UnitView-BlC9-WOA.js} +80 -81
  28. package/dist/{WarehouseView-BX7K073o.js → WarehouseView-CgEY87Lo.js} +24 -25
  29. package/dist/api/bill.d.ts +2 -2
  30. package/dist/api/closing.d.ts +0 -1
  31. package/dist/api/netsuite.d.ts +0 -69
  32. package/dist/{app-BY6TZxqB.js → app-CAyFhmAz.js} +3343 -3426
  33. package/dist/app.d.ts +0 -5
  34. package/dist/app.js +1 -1
  35. package/dist/components/FmMinMaxInputRules.d.ts +1 -4
  36. package/dist/components/row-action.enum.d.ts +0 -1
  37. package/dist/{date2-C385gf6_.js → date2-D9i5izMt.js} +1 -1
  38. package/dist/{dayjs.min-CuXsxyJ4.js → dayjs.min-SJKP9zBL.js} +17 -17
  39. package/dist/{decimal-DmIrlkyN.js → decimal-D7BCubZO.js} +1 -1
  40. package/dist/{defineDeepModel-CJEdL37p.js → defineDeepModel-DS4Shctf.js} +1 -1
  41. package/dist/{feature-DM4scjOG.js → feature-BR-MsGYt.js} +9 -23
  42. package/dist/{format-time-from-id-DmDFxNOY.js → format-time-from-id-CUby60uW.js} +1 -1
  43. package/dist/format-unit-display-D25Al2JZ.js +1198 -0
  44. package/dist/{fuzzy-D2QbaWQl.js → fuzzy-BryBtMz_.js} +1 -1
  45. package/dist/{index-UtLEzrzf.js → index-ByJbUSIQ.js} +1 -1
  46. package/dist/index-CFA_VFyX.js +10545 -0
  47. package/dist/{index-BgM27D6z.js → index-CTvgBOum.js} +25 -28
  48. package/dist/netsuite-D0G4B60k.js +146 -0
  49. package/dist/normalizeArguments-DP7Hrren.js +1552 -0
  50. package/dist/router/name.d.ts +0 -1
  51. package/dist/{row-action.enum-7rGLGZ5v.js → row-action.enum-PMKMRrZR.js} +5 -10
  52. package/dist/{rules-WXcRCM31.js → rules-DxVY0b7F.js} +35 -40
  53. package/dist/stores/feature.d.ts +0 -2
  54. package/dist/stores/integration/netsuite.d.ts +0 -81
  55. package/dist/stores/inventory.d.ts +4 -1
  56. package/dist/style.css +1 -1
  57. package/dist/{supplier-Cg0hV-1Z.js → supplier-aBuwVukl.js} +22 -22
  58. package/dist/tsconfig.app.tsbuildinfo +1 -1
  59. package/dist/{use-inventory-binding-dialog-C4A0C-q4.js → use-inventory-binding-dialog-CLQ0LUmW.js} +2 -2
  60. package/dist/{use-template-enabled-locations-2-ClTvBbS6.js → use-template-enabled-locations-2-BgTiwy_3.js} +2 -2
  61. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +192 -24
  62. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +192 -24
  63. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +34 -34
  64. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +0 -1
  65. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +54 -54
  66. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +54 -54
  67. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
  68. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -8
  69. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -96
  70. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -96
  71. package/dist/{xlsx-jlUdZfql.js → xlsx-BbtURTDy.js} +1 -1
  72. package/dist/{xlsx.util-C4YF_j8p.js → xlsx.util-zYS4OJFi.js} +1 -1
  73. package/package.json +3 -3
  74. package/dist/ClosingDraftView-ZKdMqDrV.js +0 -1122
  75. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CZ1NPD07.js +0 -283
  76. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-C--mzLIB.js +0 -329
  77. package/dist/IngredientsView-D3ptwZy1.js +0 -1666
  78. package/dist/ReceiveRequestView-Brh9jtUz.js +0 -4195
  79. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang--DGNx2VJ.js +0 -1235
  80. package/dist/TransferTemplateView-B0_EXehN.js +0 -1275
  81. package/dist/api/closing-draft.d.ts +0 -6
  82. package/dist/form-mode.enum-BKiNVH6A.js +0 -4
  83. package/dist/format-unit-display-DnZmCO-i.js +0 -1217
  84. package/dist/index-CKCFZ2N2.js +0 -12087
  85. package/dist/netsuite-CxzWHfIf.js +0 -251
  86. package/dist/stock-BVyJ8TZF.js +0 -111
  87. package/dist/views/closing-draft/ClosingDraftView.vue.d.ts +0 -2
  88. package/dist/views/closing-draft/components/closing-draft-action/ClosingDraftAction.vue.d.ts +0 -22
  89. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +0 -451
  90. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +0 -25
  91. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +0 -2601
  92. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +0 -1
  93. package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +0 -19
  94. package/dist/views/closing-draft/helpers/get-calculated-total.helper.d.ts +0 -4
  95. package/dist/views/receive-request/helper/check-netsuite-subsidiary.helper.d.ts +0 -1
@@ -1,16 +1,15 @@
1
1
  import { defineComponent as K, computed as _, openBlock as v, createElementBlock as w, createElementVNode as l, Fragment as q, renderList as H, toDisplayString as V, createCommentVNode as Y, ref as M, resolveComponent as I, createBlock as T, withCtx as R, createVNode as y, unref as a, isRef as Z, normalizeClass as ae, normalizeStyle as re, Teleport as ie, normalizeProps as ue, guardReactiveProps as de } from "vue";
2
- import { a as G, S as me, c as ne, h as ee, u as ce } from "./app-BY6TZxqB.js";
2
+ import { a as G, S as me, c as oe, h as ee, u as ce } from "./app-CAyFhmAz.js";
3
3
  import { useDialog as pe, useSnackbar as le, useProxiedModel as te, useBreakpoints as fe } from "@feedmepos/ui-library";
4
4
  import { i as ve, _ as ye } from "./is-linked-ingredient-error-fJ2TJb3z.js";
5
- import { F as U } from "./form-mode.enum-BKiNVH6A.js";
5
+ import { F as U, D as ne, R as N } from "./row-action.enum-PMKMRrZR.js";
6
6
  import { defineStore as be, storeToRefs as ge } from "pinia";
7
- import { D as oe, R as N } from "./row-action.enum-7rGLGZ5v.js";
8
7
  import { c as xe, _ as _e, F as he } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
9
8
  import { useI18n as O } from "@feedmepos/mf-common";
10
- import { u as Ve, _ as Ue, a as we } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B8RhFmN_.js";
11
- import { R as j, A as Ce, a as J, c as ke, d as Fe } from "./rules-WXcRCM31.js";
12
- import { F as Se } from "./decimal-DmIrlkyN.js";
13
- import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BtdmfQRZ.js";
9
+ import { u as Ve, _ as Ue, a as we } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-KbYSywk2.js";
10
+ import { R as j, A as Ce, a as J, c as ke, d as Fe } from "./rules-DxVY0b7F.js";
11
+ import { F as Se } from "./decimal-D7BCubZO.js";
12
+ import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-yNEswIEI.js";
14
13
  const Ee = { class: "flex flex-col gap-8" }, Ie = {
15
14
  key: 0,
16
15
  class: "flex flex-col"
@@ -35,7 +34,7 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
35
34
  unit: {}
36
35
  },
37
36
  setup(k) {
38
- const f = k, b = G(), i = _(() => b.validateUnitUsage(f.unit)), r = _(() => i.value.filter((c) => c.from === "INGREDIENT")), n = _(() => i.value.filter((c) => c.from === "RECIPE")), m = _(() => i.value.filter((c) => c.from === "MENU"));
37
+ const f = k, b = G(), i = _(() => b.validateUnitUsage(f.unit)), r = _(() => i.value.filter((c) => c.from === "INGREDIENT")), o = _(() => i.value.filter((c) => c.from === "RECIPE")), m = _(() => i.value.filter((c) => c.from === "MENU"));
39
38
  return (c, p) => (v(), w("div", Ee, [
40
39
  p[3] || (p[3] = l("div", { class: "fm-typo-en-body-md-400" }, "Sorry, this unit is used in the following modules:", -1)),
41
40
  r.value.length ? (v(), w("div", Ie, [
@@ -47,17 +46,17 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
47
46
  }, "Used in")
48
47
  ], -1)),
49
48
  (v(!0), w(q, null, H(r.value, (s) => {
50
- var o;
49
+ var n;
51
50
  return v(), w("div", {
52
51
  key: s.code,
53
52
  class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
54
53
  }, [
55
54
  l("div", De, V(s.code) + " " + V(s.name), 1),
56
- l("div", Ae, V((o = s.bindedIngredient) != null && o.length ? "Convert binding" : "Item unit"), 1)
55
+ l("div", Ae, V((n = s.bindedIngredient) != null && n.length ? "Convert binding" : "Item unit"), 1)
57
56
  ]);
58
57
  }), 128))
59
58
  ])) : Y("", !0),
60
- n.value.length ? (v(), w("div", Re, [
59
+ o.value.length ? (v(), w("div", Re, [
61
60
  p[1] || (p[1] = l("div", { 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" }, [
62
61
  l("div", { class: "flex-1 py-8 px-16" }, "Recipe"),
63
62
  l("div", {
@@ -65,14 +64,14 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
65
64
  style: { "flex-basis": "240px" }
66
65
  }, "Used in")
67
66
  ], -1)),
68
- (v(!0), w(q, null, H(n.value, (s) => {
69
- var o, u, g;
67
+ (v(!0), w(q, null, H(o.value, (s) => {
68
+ var n, u, g;
70
69
  return v(), w("div", {
71
70
  key: s.code,
72
71
  class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
73
72
  }, [
74
73
  l("div", Me, V(s.code) + " " + V(s.name), 1),
75
- l("div", Pe, V((o = s.bindedIngredient) == null ? void 0 : o.slice(0, 3).map((x) => x.code).join(", ")) + " " + V(s.bindedIngredient && ((u = s.bindedIngredient) == null ? void 0 : u.length) > 3 ? `and ${((g = s.bindedIngredient) == null ? void 0 : g.length) - 3} more` : ""), 1)
74
+ l("div", Pe, V((n = s.bindedIngredient) == null ? void 0 : n.slice(0, 3).map((x) => x.code).join(", ")) + " " + V(s.bindedIngredient && ((u = s.bindedIngredient) == null ? void 0 : u.length) > 3 ? `and ${((g = s.bindedIngredient) == null ? void 0 : g.length) - 3} more` : ""), 1)
76
75
  ]);
77
76
  }), 128))
78
77
  ])) : Y("", !0),
@@ -85,48 +84,48 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
85
84
  }, "Used in")
86
85
  ], -1)),
87
86
  (v(!0), w(q, null, H(m.value, (s) => {
88
- var o, u, g;
87
+ var n, u, g;
89
88
  return v(), w("div", {
90
89
  key: s.code,
91
90
  class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
92
91
  }, [
93
92
  l("div", Be, V(s.code) + " " + V(s.name), 1),
94
- l("div", ze, V((o = s.bindedIngredient) == null ? void 0 : o.slice(0, 3).map((x) => x.code).join(", ")) + " " + V(s.bindedIngredient && ((u = s.bindedIngredient) == null ? void 0 : u.length) > 3 ? `and ${((g = s.bindedIngredient) == null ? void 0 : g.length) - 3} more` : ""), 1)
93
+ l("div", ze, V((n = s.bindedIngredient) == null ? void 0 : n.slice(0, 3).map((x) => x.code).join(", ")) + " " + V(s.bindedIngredient && ((u = s.bindedIngredient) == null ? void 0 : u.length) > 3 ? `and ${((g = s.bindedIngredient) == null ? void 0 : g.length) - 3} more` : ""), 1)
95
94
  ]);
96
95
  }), 128))
97
96
  ])) : Y("", !0)
98
97
  ]));
99
98
  }
100
99
  }), Q = be("unitForm", function() {
101
- const f = pe(), b = le(), i = G(), r = M(!1), n = M();
100
+ const f = pe(), b = le(), i = G(), r = M(!1), o = M();
102
101
  function m() {
103
- const o = {
102
+ const n = {
104
103
  unit: {},
105
104
  mode: U.CREATE,
106
105
  show: !0,
107
106
  "onUpdate:show"(u) {
108
- n.value.show = u;
107
+ o.value.show = u;
109
108
  }
110
109
  };
111
- n.value = o;
110
+ o.value = n;
112
111
  }
113
- async function c(o) {
112
+ async function c(n) {
114
113
  const u = {
115
- unit: o,
114
+ unit: n,
116
115
  mode: U.UPDATE,
117
116
  show: !0,
118
117
  "onUpdate:show"(g) {
119
- n.value.show = g;
118
+ o.value.show = g;
120
119
  }
121
120
  };
122
- n.value = u;
121
+ o.value = u;
123
122
  }
124
- async function p(o) {
123
+ async function p(n) {
125
124
  r.value = !0;
126
125
  try {
127
- await i.deleteUnit(o), b.open({
126
+ await i.deleteUnit(n), b.open({
128
127
  title: "Success",
129
- message: `Deleted ${o.name}`,
128
+ message: `Deleted ${n.name}`,
130
129
  type: "success"
131
130
  });
132
131
  } catch (u) {
@@ -134,7 +133,7 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
134
133
  title: "Cannot delete unit",
135
134
  contentComponent: ye,
136
135
  contentComponentProps: {
137
- subject: (o == null ? void 0 : o.name) ?? "",
136
+ subject: (n == null ? void 0 : n.name) ?? "",
138
137
  items: u.errorResponse.message
139
138
  },
140
139
  secondaryActions: {
@@ -142,7 +141,7 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
142
141
  close: !0
143
142
  }
144
143
  }) : console.log("unable to delete unit", u), b.open({
145
- title: `Cannot delete ${o.name}`,
144
+ title: `Cannot delete ${n.name}`,
146
145
  message: "Please try again.",
147
146
  type: "error"
148
147
  }), console.error("failed to delete unit", u);
@@ -150,16 +149,16 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
150
149
  r.value = !1;
151
150
  }
152
151
  }
153
- function s(o) {
154
- if (i.validateUnitUsage(o).length) {
152
+ function s(n) {
153
+ if (i.validateUnitUsage(n).length) {
155
154
  f.open({
156
- title: `Cannot delete ${(o == null ? void 0 : o.name) ?? "unit"}`,
155
+ title: `Cannot delete ${(n == null ? void 0 : n.name) ?? "unit"}`,
157
156
  overlay: !0,
158
157
  dismissAway: !0,
159
158
  closeButton: !0,
160
159
  contentComponent: Le,
161
160
  contentComponentProps: {
162
- unit: o
161
+ unit: n
163
162
  },
164
163
  primaryActions: {
165
164
  text: "Confirm",
@@ -169,7 +168,7 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
169
168
  return;
170
169
  }
171
170
  f.open({
172
- title: `Delete ${(o == null ? void 0 : o.name) ?? "unit"}?`,
171
+ title: `Delete ${(n == null ? void 0 : n.name) ?? "unit"}?`,
173
172
  closeButton: !1,
174
173
  message: "You may not be able to delete this unit if it is linked in any of the inventory modules.",
175
174
  primaryActions: {
@@ -181,25 +180,25 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
181
180
  text: "Cancel",
182
181
  close: !0
183
182
  }
184
- }).onPrimary(() => p(o));
183
+ }).onPrimary(() => p(n));
185
184
  }
186
185
  return {
187
186
  createUnit: m,
188
187
  updateUnit: c,
189
188
  deleteUnit: s,
190
- unitDialogProps: n,
189
+ unitDialogProps: o,
191
190
  unitViewLoading: r
192
191
  };
193
192
  });
194
193
  function Ne() {
195
194
  const { updateUnit: k, deleteUnit: f } = Q(), { t: b } = O();
196
- async function i(n, m) {
197
- const c = ne(m);
198
- if (n === N.Edit) {
195
+ async function i(o, m) {
196
+ const c = oe(m);
197
+ if (o === N.Edit) {
199
198
  await k(c);
200
199
  return;
201
200
  }
202
- if (n === N.Delete) {
201
+ if (o === N.Delete) {
203
202
  await f(c);
204
203
  return;
205
204
  }
@@ -220,11 +219,11 @@ function Ne() {
220
219
  {
221
220
  id: "action",
222
221
  header: "",
223
- cell(n) {
222
+ cell(o) {
224
223
  return xe(
225
- [oe[N.Edit], oe[N.Delete]],
224
+ [ne[N.Edit], ne[N.Delete]],
226
225
  (m) => {
227
- i(m, n.row.original);
226
+ i(m, o.row.original);
228
227
  }
229
228
  );
230
229
  },
@@ -246,7 +245,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
246
245
  },
247
246
  emits: ["update:modelValue", "click:submit"],
248
247
  setup(k, { expose: f, emit: b }) {
249
- const i = k, r = b, { t: n } = O();
248
+ const i = k, r = b, { t: o } = O();
250
249
  function m() {
251
250
  r("click:submit");
252
251
  }
@@ -277,7 +276,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
277
276
  const t = i.modelValue ?? {};
278
277
  t.precision = e, r("update:modelValue", t);
279
278
  }
280
- }), o = _({
279
+ }), n = _({
281
280
  get() {
282
281
  var e;
283
282
  return ((e = i.modelValue) == null ? void 0 : e.measurements) ?? [];
@@ -336,7 +335,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
336
335
  l("div", He, [
337
336
  y(d, {
338
337
  disabled: e.disabled,
339
- label: a(n)("inventory.unit.name"),
338
+ label: a(o)("inventory.unit.name"),
340
339
  modelValue: c.value,
341
340
  "onUpdate:modelValue": t[0] || (t[0] = (C) => c.value = C),
342
341
  rules: [a(j)()],
@@ -346,7 +345,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
346
345
  l("div", Ke, [
347
346
  y(d, {
348
347
  disabled: e.disabled,
349
- label: a(n)("inventory.unit.symbol"),
348
+ label: a(o)("inventory.unit.symbol"),
350
349
  modelValue: p.value,
351
350
  "onUpdate:modelValue": t[1] || (t[1] = (C) => p.value = C),
352
351
  rules: [a(j)()],
@@ -358,7 +357,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
358
357
  y(D, {
359
358
  disabled: e.disabled,
360
359
  class: "col-span-3",
361
- label: a(n)("inventory.unit.precision"),
360
+ label: a(o)("inventory.unit.precision"),
362
361
  modelValue: s.value,
363
362
  "onUpdate:modelValue": t[2] || (t[2] = (C) => s.value = C),
364
363
  rules: [a(Ce)(0)]
@@ -370,7 +369,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
370
369
  disabled: e.disabled,
371
370
  type: "button",
372
371
  "prepend-icon": "add",
373
- label: a(n)("inventory.unit.measurement.addMeasurement"),
372
+ label: a(o)("inventory.unit.measurement.addMeasurement"),
374
373
  variant: "plain",
375
374
  onClick: u
376
375
  }, null, 8, ["disabled", "label"])
@@ -382,7 +381,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
382
381
  }, {
383
382
  default: R(() => [
384
383
  l("div", Oe, [
385
- l("div", Ye, V(a(n)("inventory.unit.measurement.measurementDefault", [h + 1])), 1),
384
+ l("div", Ye, V(a(o)("inventory.unit.measurement.measurementDefault", [h + 1])), 1),
386
385
  y(F, {
387
386
  disabled: e.disabled,
388
387
  variant: "tertiary",
@@ -396,7 +395,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
396
395
  y(d, {
397
396
  disabled: e.disabled,
398
397
  class: "col-span-2",
399
- label: a(n)("inventory.unit.measurement.name"),
398
+ label: a(o)("inventory.unit.measurement.name"),
400
399
  modelValue: e.modelValue.measurements[h].name,
401
400
  "onUpdate:modelValue": ($) => e.modelValue.measurements[h].name = $,
402
401
  rules: [a(j)()],
@@ -406,7 +405,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
406
405
  l("div", Xe, [
407
406
  y(d, {
408
407
  disabled: e.disabled,
409
- label: a(n)("inventory.unit.measurement.symbol"),
408
+ label: a(o)("inventory.unit.measurement.symbol"),
410
409
  modelValue: e.modelValue.measurements[h].abbrev,
411
410
  "onUpdate:modelValue": ($) => e.modelValue.measurements[h].abbrev = $,
412
411
  rules: [a(j)()],
@@ -417,9 +416,9 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
417
416
  y($e, {
418
417
  disabled: e.disabled,
419
418
  class: "col-span-3",
420
- label: a(n)("inventory.unit.measurement.conversion"),
419
+ label: a(o)("inventory.unit.measurement.conversion"),
421
420
  "model-value": +a(J)(e.modelValue.measurements[h].conversion),
422
- "onUpdate:modelValue": ($) => o.value = o.value.map(
421
+ "onUpdate:modelValue": ($) => n.value = n.value.map(
423
422
  (A, B) => B === h ? {
424
423
  ...A,
425
424
  conversion: a(Se).toPrecision(
@@ -430,7 +429,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
430
429
  ),
431
430
  rules: [a(Fe)(0)],
432
431
  step: +a(J)({ amount: 1, precision: s.value }),
433
- "helper-text": a(n)("inventory.unit.measurement.conversionHelper", {
432
+ "helper-text": a(o)("inventory.unit.measurement.conversionHelper", {
434
433
  measurementSymbol: e.modelValue.measurements[h].name || " measurement unit",
435
434
  conversion: +a(J)(e.modelValue.measurements[h].conversion),
436
435
  unitSymbol: p.value || "base unit"
@@ -455,7 +454,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
455
454
  },
456
455
  emits: ["update:show"],
457
456
  setup(k) {
458
- const f = k, b = G(), i = le(), { t: r } = O(), n = te(f, "show"), m = te(f, "unit"), c = _(() => {
457
+ const f = k, b = G(), i = le(), { t: r } = O(), o = te(f, "show"), m = te(f, "unit"), c = _(() => {
459
458
  switch (f.mode) {
460
459
  case U.READ:
461
460
  return "";
@@ -475,12 +474,12 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
475
474
  return r("common.add");
476
475
  }
477
476
  return "";
478
- }), s = M(), o = M(!1);
477
+ }), s = M(), n = M(!1);
479
478
  async function u() {
480
- o.value = !0;
479
+ n.value = !0;
481
480
  try {
482
- const t = ne(m.value);
483
- t.precision ?? (t.precision = 0), t.measurements ?? (t.measurements = []), await b.createUnit(t), n.value = !1, i.open({
481
+ const t = oe(m.value);
482
+ t.precision ?? (t.precision = 0), t.measurements ?? (t.measurements = []), await b.createUnit(t), o.value = !1, i.open({
484
483
  title: r("inventory.common.success"),
485
484
  message: r("inventory.unit.create.success", { name: m.value.name }),
486
485
  type: "success"
@@ -492,13 +491,13 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
492
491
  type: "error"
493
492
  });
494
493
  } finally {
495
- o.value = !1;
494
+ n.value = !1;
496
495
  }
497
496
  }
498
497
  async function g() {
499
- o.value = !0;
498
+ n.value = !0;
500
499
  try {
501
- await b.updateUnit(m.value), n.value = !1, i.open({
500
+ await b.updateUnit(m.value), o.value = !1, i.open({
502
501
  title: r("inventory.common.success"),
503
502
  message: r("inventory.unit.update.success", { name: m.value.name }),
504
503
  type: "success"
@@ -510,7 +509,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
510
509
  type: "error"
511
510
  });
512
511
  } finally {
513
- o.value = !1;
512
+ n.value = !1;
514
513
  }
515
514
  }
516
515
  function x() {
@@ -530,8 +529,8 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
530
529
  return (t, d) => {
531
530
  const D = I("FmButton"), F = I("FmSideSheet");
532
531
  return v(), T(F, {
533
- "model-value": a(n),
534
- "onUpdate:modelValue": d[3] || (d[3] = (S) => Z(n) ? n.value = S : null),
532
+ "model-value": a(o),
533
+ "onUpdate:modelValue": d[3] || (d[3] = (S) => Z(o) ? o.value = S : null),
535
534
  header: c.value,
536
535
  "close-button": "",
537
536
  "dismiss-away": "",
@@ -540,15 +539,15 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
540
539
  "side-sheet-footer": R(() => [
541
540
  l("div", et, [
542
541
  y(D, {
543
- loading: o.value,
542
+ loading: n.value,
544
543
  label: p.value,
545
544
  onClick: x
546
545
  }, null, 8, ["loading", "label"]),
547
546
  y(D, {
548
- disabled: o.value,
547
+ disabled: n.value,
549
548
  label: a(r)("common.close"),
550
549
  variant: "tertiary",
551
- onClick: d[2] || (d[2] = (S) => n.value = !1)
550
+ onClick: d[2] || (d[2] = (S) => o.value = !1)
552
551
  }, null, 8, ["disabled", "label"])
553
552
  ])
554
553
  ]),
@@ -560,7 +559,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
560
559
  modelValue: a(m),
561
560
  "onUpdate:modelValue": d[0] || (d[0] = (S) => Z(m) ? m.value = S : null),
562
561
  mode: t.mode,
563
- disabled: o.value,
562
+ disabled: n.value,
564
563
  "onClick:submit": d[1] || (d[1] = (S) => e())
565
564
  }, null, 8, ["modelValue", "mode", "disabled"])
566
565
  ]),
@@ -568,14 +567,14 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
568
567
  }, 8, ["model-value", "header"]);
569
568
  };
570
569
  }
571
- }), ot = { class: "flex flex-col py-8" }, nt = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, lt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, gt = /* @__PURE__ */ K({
570
+ }), nt = { class: "flex flex-col py-8" }, ot = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, lt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, bt = /* @__PURE__ */ K({
572
571
  __name: "UnitView",
573
572
  setup(k) {
574
- const f = G(), b = ce(), i = _(() => f.units), { createUnit: r, updateUnit: n } = Q(), { unitDialogProps: m, unitViewLoading: c } = ge(Q()), { columnDefs: p } = Ne();
573
+ const f = G(), b = ce(), i = _(() => f.units), { createUnit: r, updateUnit: o } = Q(), { unitDialogProps: m, unitViewLoading: c } = ge(Q()), { columnDefs: p } = Ne();
575
574
  function s(D) {
576
575
  D === "add" && r();
577
576
  }
578
- const o = M(""), u = _(() => c.value), { breakpoints: g } = fe(), x = _(() => g.value.xs || g.value.sm), e = _(() => x.value ? 10 : 20), t = Ve(), { t: d } = O();
577
+ const n = M(""), u = _(() => c.value), { breakpoints: g } = fe(), x = _(() => g.value.xs || g.value.sm), e = _(() => x.value ? 10 : 20), t = Ve(), { t: d } = O();
579
578
  return (D, F) => {
580
579
  const S = I("FmTable");
581
580
  return v(), T(Ue, {
@@ -597,28 +596,28 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
597
596
  }, [
598
597
  y(we, {
599
598
  searchable: "",
600
- search: o.value,
601
- "onUpdate:search": F[0] || (F[0] = (E) => o.value = E)
599
+ search: n.value,
600
+ "onUpdate:search": F[0] || (F[0] = (E) => n.value = E)
602
601
  }, null, 8, ["search"]),
603
602
  y(S, {
604
603
  style: re(a(t).tableHeight),
605
604
  "column-defs": a(p),
606
605
  "row-data": i.value,
607
- "search-value": o.value,
606
+ "search-value": n.value,
608
607
  loading: !a(b)._currentLocation || u.value,
609
- onRowClick: F[1] || (F[1] = (E) => a(n)(E.original)),
608
+ onRowClick: F[1] || (F[1] = (E) => a(o)(E.original)),
610
609
  "page-size": e.value
611
610
  }, {
612
611
  "list-row": R((E) => [
613
612
  y(_e, {
614
613
  row: E,
615
- onRowClick: a(n)
614
+ onRowClick: a(o)
616
615
  }, {
617
616
  default: R((P) => {
618
617
  var C, h, $, A, B, z, W, L, X;
619
618
  return [
620
- l("div", ot, [
621
- l("div", nt, [
619
+ l("div", nt, [
620
+ l("div", ot, [
622
621
  y(a(he), {
623
622
  render: ($ = (h = (C = P.name) == null ? void 0 : C.column) == null ? void 0 : h.columnDef) == null ? void 0 : $.cell,
624
623
  props: (B = (A = P.name) == null ? void 0 : A.getContext) == null ? void 0 : B.call(A)
@@ -644,5 +643,5 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
644
643
  }
645
644
  });
646
645
  export {
647
- gt as default
646
+ bt as default
648
647
  };
@@ -1,14 +1,13 @@
1
- import { ref as W, defineComponent as I, watch as ee, onMounted as te, onUnmounted as Fe, openBlock as S, createElementBlock as q, toRaw as be, reactive as xe, createElementVNode as g, toDisplayString as U, unref as c, createVNode as V, resolveComponent as L, createSlots as $e, withCtx as N, createTextVNode as We, renderSlot as De, createBlock as z, createCommentVNode as Ae, computed as F, isRef as we, normalizeClass as Se, normalizeStyle as Re } from "vue";
2
- import { k as Pe, t as Te, v as Ue, c as O, u as Ee } from "./app-BY6TZxqB.js";
1
+ import { ref as W, defineComponent as I, watch as ee, onMounted as te, onUnmounted as Fe, openBlock as S, createElementBlock as B, toRaw as be, reactive as xe, createElementVNode as g, toDisplayString as U, unref as c, createVNode as V, resolveComponent as L, createSlots as $e, withCtx as N, createTextVNode as We, renderSlot as De, createBlock as z, createCommentVNode as Ae, computed as F, isRef as we, normalizeClass as Se, normalizeStyle as Re } from "vue";
2
+ import { j as Pe, p as Te, q as Ue, c as O, u as Ee } from "./app-CAyFhmAz.js";
3
3
  import { useCoreStore as Le, useI18n as j } from "@feedmepos/mf-common";
4
- import { D as Ve, R as J } from "./row-action.enum-7rGLGZ5v.js";
5
- import { c as Ne, _ as Be, F as Q } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
6
- import { u as qe, _ as ze, a as Ie } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B8RhFmN_.js";
7
- import { F as T } from "./form-mode.enum-BKiNVH6A.js";
4
+ import { D as Ve, R as J, F as T } from "./row-action.enum-PMKMRrZR.js";
5
+ import { c as Ne, _ as qe, F as Q } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
6
+ import { u as Be, _ as ze, a as Ie } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-KbYSywk2.js";
8
7
  import { useDialogChild as je, useDialog as Me, useSnackbar as ae, useProxiedModel as oe, useBreakpoints as Oe } from "@feedmepos/ui-library";
9
- import { R as E } from "./rules-WXcRCM31.js";
8
+ import { R as E } from "./rules-DxVY0b7F.js";
10
9
  import { c as le, u as se } from "./googlemap-Dm8ERVai.js";
11
- import { d as Ge } from "./index-UtLEzrzf.js";
10
+ import { d as Ge } from "./index-ByJbUSIQ.js";
12
11
  import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
12
  const X = Pe((m, h) => {
14
13
  const y = Le();
@@ -229,7 +228,7 @@ const Je = /* @__PURE__ */ I({
229
228
  const x = o(r).filter((D, G) => G !== f);
230
229
  n("polygon-change", { index: r, path: x });
231
230
  }
232
- function B(r, f) {
231
+ function q(r, f) {
233
232
  f.vertex !== void 0 ? t(r, f.vertex) : n("polygon-right-click", r);
234
233
  }
235
234
  function w(r) {
@@ -241,7 +240,7 @@ const Je = /* @__PURE__ */ I({
241
240
  fillOpacity: 0.5,
242
241
  editable: a.editable
243
242
  });
244
- return k(x, "contextmenu", (D) => B(b, D)), x.getPaths().forEach((D) => {
243
+ return k(x, "contextmenu", (D) => q(b, D)), x.getPaths().forEach((D) => {
245
244
  A(D, "insert_at", () => e(b)), A(D, "set_at", () => e(b));
246
245
  }), x;
247
246
  }), d(s.value);
@@ -266,7 +265,7 @@ const Je = /* @__PURE__ */ I({
266
265
  !p.value || !l || (P(), C(a.markers), w(a.polygons));
267
266
  }), Fe(() => {
268
267
  u.forEach((r) => r.remove());
269
- }), (r, f) => (S(), q("div", {
268
+ }), (r, f) => (S(), B("div", {
270
269
  ref_key: "mapRef",
271
270
  ref: p,
272
271
  class: "map app-map"
@@ -300,7 +299,7 @@ const Je = /* @__PURE__ */ I({
300
299
  l.lat = v.lat, l.lng = v.lng, y.emitData(O(l)), s();
301
300
  }
302
301
  const _ = W();
303
- return (v, M) => (S(), q("div", Qe, [
302
+ return (v, M) => (S(), B("div", Qe, [
304
303
  g("div", Xe, [
305
304
  g("div", null, [
306
305
  g("span", Ye, U(c(n)("inventory.formField.coordinate.address")) + ": ", 1),
@@ -399,7 +398,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
399
398
  }
400
399
  return (i, k) => {
401
400
  const A = L("FmField"), o = L("FmButton"), e = L("FmFormGroup");
402
- return S(), q("div", uo, [
401
+ return S(), B("div", uo, [
403
402
  V(e, {
404
403
  class: "flex-1",
405
404
  "model-value": c(s),
@@ -415,7 +414,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
415
414
  onClick: k[0] || (k[0] = (t) => C())
416
415
  }, $e({
417
416
  default: N(({ invalid: t }) => [
418
- i.modelValue && i.modelValue[0] && i.modelValue[1] ? (S(), q("div", io, [
417
+ i.modelValue && i.modelValue[0] && i.modelValue[1] ? (S(), B("div", io, [
419
418
  V(A, {
420
419
  invalid: t,
421
420
  class: "fm-typo-en-body-lg-400"
@@ -425,7 +424,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
425
424
  ]),
426
425
  _: 2
427
426
  }, 1032, ["invalid"])
428
- ])) : (S(), q("div", co, [
427
+ ])) : (S(), B("div", co, [
429
428
  V(o, {
430
429
  label: c(_)("inventory.formField.coordinate.addCoordinate"),
431
430
  "prepend-icon": "add",
@@ -581,7 +580,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
581
580
  (e = (o = A.value) == null ? void 0 : o.resetInputs) == null || e.call(o);
582
581
  }
583
582
  }), (o, e) => {
584
- const t = L("FmTextField"), B = L("FmPhoneNumber"), w = L("FmForm");
583
+ const t = L("FmTextField"), q = L("FmPhoneNumber"), w = L("FmForm");
585
584
  return S(), z(w, {
586
585
  ref_key: "formRef",
587
586
  ref: A,
@@ -672,7 +671,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
672
671
  g("div", wo, [
673
672
  g("div", Vo, U(c(l)("inventory.warehouse.contact.title")), 1),
674
673
  g("div", _o, [
675
- V(B, {
674
+ V(q, {
676
675
  disabled: o.disabled,
677
676
  rules: [c(E)()],
678
677
  "label-mark": "required",
@@ -807,8 +806,8 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
807
806
  }
808
807
  }
809
808
  return (o, e) => {
810
- const t = L("FmButton"), B = L("FmSideSheet");
811
- return S(), z(B, {
809
+ const t = L("FmButton"), q = L("FmSideSheet");
810
+ return S(), z(q, {
812
811
  header: _.value,
813
812
  modelValue: c($),
814
813
  "onUpdate:modelValue": e[1] || (e[1] = (w) => we($) ? $.value = w : null),
@@ -847,7 +846,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
847
846
  }), Co = { class: "flex flex-col py-8" }, Fo = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, xo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, $o = {
848
847
  key: 0,
849
848
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
850
- }, Wo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, Io = /* @__PURE__ */ I({
849
+ }, Wo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, zo = /* @__PURE__ */ I({
851
850
  __name: "WarehouseView",
852
851
  setup(m) {
853
852
  const h = Ce(), y = Ee(), a = F(() => h.warehouses), n = Me(), l = ae(), p = W(!1), { t: s } = j();
@@ -920,7 +919,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
920
919
  p.value = !1;
921
920
  }
922
921
  }
923
- const { breakpoints: o } = Oe(), e = F(() => o.value.xs || o.value.sm), t = F(() => e.value ? 10 : 20), B = qe();
922
+ const { breakpoints: o } = Oe(), e = F(() => o.value.xs || o.value.sm), t = F(() => e.value ? 10 : 20), q = Be();
924
923
  return (w, d) => {
925
924
  const Y = L("FmTable");
926
925
  return S(), z(ze, {
@@ -952,7 +951,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
952
951
  "onUpdate:search": d[0] || (d[0] = (P) => k.value = P)
953
952
  }, null, 8, ["search"]),
954
953
  (S(), z(Y, {
955
- style: Re(c(B).tableHeight),
954
+ style: Re(c(q).tableHeight),
956
955
  "column-defs": c(C),
957
956
  "row-data": c(R)(a.value),
958
957
  "search-value": k.value,
@@ -962,7 +961,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
962
961
  "page-size": t.value
963
962
  }, {
964
963
  "list-row": N((P) => [
965
- V(Be, {
964
+ V(qe, {
966
965
  row: P,
967
966
  onRowClick: (r) => v(r.original)
968
967
  }, {
@@ -982,7 +981,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
982
981
  props: (ie = (K = r.contact) == null ? void 0 : K.getContext) == null ? void 0 : ie.call(K)
983
982
  }, null, 8, ["render", "props"])
984
983
  ]),
985
- (de = P.original) != null && de.email ? (S(), q("div", $o, [
984
+ (de = P.original) != null && de.email ? (S(), B("div", $o, [
986
985
  V(c(Q), {
987
986
  render: (me = (pe = (ce = r.email) == null ? void 0 : ce.column) == null ? void 0 : pe.columnDef) == null ? void 0 : me.cell,
988
987
  props: (fe = (H = r.email) == null ? void 0 : H.getContext) == null ? void 0 : fe.call(H)
@@ -1017,5 +1016,5 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
1017
1016
  }
1018
1017
  });
1019
1018
  export {
1020
- Io as default
1019
+ zo as default
1021
1020
  };
@@ -329,7 +329,7 @@ export declare const useBillApi: () => {
329
329
  } | null | undefined;
330
330
  calculatorVersion?: number | null | undefined;
331
331
  slot: string;
332
- status: "DRAFT" | "COMPLETED" | "BILLED" | "REFUNDED" | "VOIDED" | "PREORDER";
332
+ status: "DRAFT" | "BILLED" | "REFUNDED" | "COMPLETED" | "VOIDED" | "PREORDER";
333
333
  items: Record<string, {
334
334
  createdBy?: {
335
335
  id: string;
@@ -1010,7 +1010,7 @@ export declare const useBillApi: () => {
1010
1010
  } | null | undefined;
1011
1011
  calculatorVersion?: number | null | undefined;
1012
1012
  slot: string;
1013
- status: "DRAFT" | "COMPLETED" | "BILLED" | "REFUNDED" | "VOIDED" | "PREORDER";
1013
+ status: "DRAFT" | "BILLED" | "REFUNDED" | "COMPLETED" | "VOIDED" | "PREORDER";
1014
1014
  items: Record<string, {
1015
1015
  createdBy?: {
1016
1016
  id: string;
@@ -1,4 +1,3 @@
1
1
  export declare const useClosingApi: () => {
2
2
  readLastClosing(idOnly?: boolean): Promise<Partial<FdoClosing> | null>;
3
- getClosingById(id: string): Promise<FdoClosing | null>;
4
3
  };