@feedmepos/mf-inventory-portal 0.0.23-dev.1 → 0.0.23-dev.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/{App-Y3Ez8Rjf.js → App-DDxwfi6I.js} +36 -31
  2. package/dist/{ApprovalView-BUU1G4Q2.js → ApprovalView-7rpIigm0.js} +4 -4
  3. package/dist/{BindingsDialog-8wc4Q0JQ.js → BindingsDialog-DbyzX6mw.js} +2 -2
  4. package/dist/{BindingsPicker-DGWN1LQc.js → BindingsPicker-FZfhZr5O.js} +2 -2
  5. package/dist/{BindingsTable-7NJP2jT6.js → BindingsTable-Bk2770OV.js} +6 -6
  6. package/dist/ClosingDraftView-D9CnCwak.js +772 -0
  7. package/dist/{ClosingTemplateView-9s7vmwaT.js → ClosingTemplateView-DkpHmTtx.js} +32 -31
  8. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DjBiov5r.js +283 -0
  9. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-5DINn0ZB.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CBC214tP.js} +2 -2
  10. package/dist/{FmMultiselectDialog-7hok9sJP.js → FmMultiselectDialog-CK6xwOeG.js} +128 -124
  11. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-IFTMUhET.js +329 -0
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-FQ0HjuL3.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-D0otwOX8.js} +1 -1
  13. package/dist/{IngredientGroupView-C3maHTCg.js → IngredientGroupView-D5XtVfIQ.js} +12 -11
  14. package/dist/IngredientsView-c7WnQiTv.js +1666 -0
  15. package/dist/{IntegrationView-gO4h89Wj.js → IntegrationView-CHkhMxVM.js} +50 -50
  16. package/dist/{InventoryBindingForm-dh3GeyG-.js → InventoryBindingForm-BUZ9MS5V.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CJuo3i7W.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-YIRre_Km.js} +13 -13
  18. package/dist/{InventoryBindingSummary-BPoPcEoe.js → InventoryBindingSummary-BUi0mjeC.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-olm8sZKt.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CpYtHPFH.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BezTV43V.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D8IH1X1o.js} +2 -2
  21. package/dist/{PurchaseOrderPrintPreview-Dix_fIoo.js → PurchaseOrderPrintPreview-BLuoVz5N.js} +1 -1
  22. package/dist/ReceiveRequestView-BNM5JdQO.js +4165 -0
  23. package/dist/{RecipeView-C4-a4IEW.js → RecipeView-DxRumcLY.js} +11 -10
  24. package/dist/{StockView-Du2txrIP.js → StockView-CZyeg3sX.js} +1356 -1457
  25. package/dist/{SupplierView-D_09FbQh.js → SupplierView-C2XLbf27.js} +2352 -783
  26. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BQG6UzUU.js +1229 -0
  27. package/dist/{TransferTemplateView-j3CRy6Lc.js → TransferTemplateView-BCxZCU0i.js} +307 -307
  28. package/dist/{UnitView-BXw2Vwq1.js → UnitView-uGpE4txg.js} +81 -80
  29. package/dist/{WarehouseView-CKamiETC.js → WarehouseView-DvQVmixr.js} +25 -24
  30. package/dist/api/bill.d.ts +2 -2
  31. package/dist/api/closing-draft.d.ts +6 -0
  32. package/dist/api/closing.d.ts +1 -0
  33. package/dist/api/netsuite.d.ts +70 -0
  34. package/dist/{app-GUbzqEtW.js → app-BaOENyRY.js} +3425 -3343
  35. package/dist/app.d.ts +3 -0
  36. package/dist/app.js +1 -1
  37. package/dist/components/FmMinMaxInputRules.d.ts +4 -1
  38. package/dist/components/row-action.enum.d.ts +1 -0
  39. package/dist/{date2-CLE9fB2R.js → date2-CfGU3sHq.js} +1 -1
  40. package/dist/{dayjs.min-CY1d38w7.js → dayjs.min-BMk-E1IO.js} +17 -17
  41. package/dist/{decimal-SIjO6Mjw.js → decimal-BkLhxOFS.js} +1 -1
  42. package/dist/{defineDeepModel-l40rX7kr.js → defineDeepModel-Cy-_HBnw.js} +1 -1
  43. package/dist/{feature-BXruKUhX.js → feature-GoxrdjJJ.js} +23 -9
  44. package/dist/form-mode.enum-BKiNVH6A.js +4 -0
  45. package/dist/{format-time-from-id-CcFsBXmk.js → format-time-from-id-96hwVl9P.js} +1 -1
  46. package/dist/format-unit-display-Cp0DBbM8.js +1217 -0
  47. package/dist/{fuzzy-CVOV9zJc.js → fuzzy-CBGiL1wK.js} +1 -1
  48. package/dist/index-0HEhOwKT.js +12087 -0
  49. package/dist/{index-BX5KZXhI.js → index-CoL8wxbn.js} +126 -122
  50. package/dist/{index-m9e9nYfl.js → index-S7yfliEo.js} +1 -1
  51. package/dist/netsuite-D3VPLW8O.js +225 -0
  52. package/dist/router/name.d.ts +1 -0
  53. package/dist/{row-action.enum-PMKMRrZR.js → row-action.enum-7rGLGZ5v.js} +10 -5
  54. package/dist/{rules-DlnN8IP3.js → rules-DxLLla7a.js} +40 -35
  55. package/dist/stock-BbFKtx1y.js +111 -0
  56. package/dist/stores/feature.d.ts +2 -0
  57. package/dist/stores/integration/netsuite.d.ts +81 -0
  58. package/dist/stores/inventory.d.ts +1 -4
  59. package/dist/style.css +1 -1
  60. package/dist/{supplier-B21WlSAM.js → supplier-gGovyyjr.js} +22 -22
  61. package/dist/tsconfig.app.tsbuildinfo +1 -1
  62. package/dist/{use-inventory-binding-dialog-D3x6xj2O.js → use-inventory-binding-dialog-DIBMf_9-.js} +2 -2
  63. package/dist/{use-template-enabled-locations-2-z-b-UXef.js → use-template-enabled-locations-2-Bof9JMYI.js} +2 -2
  64. package/dist/views/closing-draft/ClosingDraftView.vue.d.ts +2 -0
  65. package/dist/views/closing-draft/components/closing-draft-action/ClosingDraftAction.vue.d.ts +22 -0
  66. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +447 -0
  67. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +22 -0
  68. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +2601 -0
  69. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -0
  70. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +24 -192
  71. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +24 -192
  72. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -2
  73. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +40 -40
  74. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -0
  75. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +63 -63
  76. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +63 -63
  77. package/dist/views/receive-request/helper/check-netsuite-subsidiary.helper.d.ts +1 -0
  78. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
  79. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -8
  80. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -96
  81. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -96
  82. package/dist/{xlsx-6mM1eNiL.js → xlsx-DOnDmayp.js} +1 -1
  83. package/dist/{xlsx.util-BLftcF4q.js → xlsx.util-BqsQd9YP.js} +1 -1
  84. package/package.json +3 -3
  85. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B4DDh9-a.js +0 -267
  86. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-CxR1FCft.js +0 -326
  87. package/dist/IngredientsView-DCR3IBkR.js +0 -1613
  88. package/dist/ReceiveRequestView-DdPiYb2P.js +0 -4082
  89. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-C9MOos--.js +0 -1144
  90. package/dist/format-unit-display-DEKg8cJm.js +0 -1198
  91. package/dist/index-CVsyOEb1.js +0 -10545
  92. package/dist/netsuite-DAKRv7zr.js +0 -146
  93. package/dist/normalizeArguments-DP7Hrren.js +0 -1552
@@ -1,15 +1,16 @@
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 oe, h as ee, u as ce } from "./app-GUbzqEtW.js";
2
+ import { a as G, S as me, c as ne, h as ee, u as ce } from "./app-BaOENyRY.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, D as ne, R as N } from "./row-action.enum-PMKMRrZR.js";
5
+ import { F as U } from "./form-mode.enum-BKiNVH6A.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";
7
8
  import { c as xe, _ as _e, F as he } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
8
9
  import { useI18n as O } from "@feedmepos/mf-common";
9
- import { u as Ve, _ as Ue, a as we } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-5DINn0ZB.js";
10
- import { R as j, A as Ce, a as J, c as ke, d as Fe } from "./rules-DlnN8IP3.js";
11
- import { F as Se } from "./decimal-SIjO6Mjw.js";
12
- import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-olm8sZKt.js";
10
+ import { u as Ve, _ as Ue, a as we } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CBC214tP.js";
11
+ import { R as j, A as Ce, a as J, c as ke, d as Fe } from "./rules-DxLLla7a.js";
12
+ import { F as Se } from "./decimal-BkLhxOFS.js";
13
+ import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CpYtHPFH.js";
13
14
  const Ee = { class: "flex flex-col gap-8" }, Ie = {
14
15
  key: 0,
15
16
  class: "flex flex-col"
@@ -34,7 +35,7 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
34
35
  unit: {}
35
36
  },
36
37
  setup(k) {
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"));
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"));
38
39
  return (c, p) => (v(), w("div", Ee, [
39
40
  p[3] || (p[3] = l("div", { class: "fm-typo-en-body-md-400" }, "Sorry, this unit is used in the following modules:", -1)),
40
41
  r.value.length ? (v(), w("div", Ie, [
@@ -46,17 +47,17 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
46
47
  }, "Used in")
47
48
  ], -1)),
48
49
  (v(!0), w(q, null, H(r.value, (s) => {
49
- var n;
50
+ var o;
50
51
  return v(), w("div", {
51
52
  key: s.code,
52
53
  class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
53
54
  }, [
54
55
  l("div", De, V(s.code) + " " + V(s.name), 1),
55
- l("div", Ae, V((n = s.bindedIngredient) != null && n.length ? "Convert binding" : "Item unit"), 1)
56
+ l("div", Ae, V((o = s.bindedIngredient) != null && o.length ? "Convert binding" : "Item unit"), 1)
56
57
  ]);
57
58
  }), 128))
58
59
  ])) : Y("", !0),
59
- o.value.length ? (v(), w("div", Re, [
60
+ n.value.length ? (v(), w("div", Re, [
60
61
  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" }, [
61
62
  l("div", { class: "flex-1 py-8 px-16" }, "Recipe"),
62
63
  l("div", {
@@ -64,14 +65,14 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
64
65
  style: { "flex-basis": "240px" }
65
66
  }, "Used in")
66
67
  ], -1)),
67
- (v(!0), w(q, null, H(o.value, (s) => {
68
- var n, u, g;
68
+ (v(!0), w(q, null, H(n.value, (s) => {
69
+ var o, u, g;
69
70
  return v(), w("div", {
70
71
  key: s.code,
71
72
  class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
72
73
  }, [
73
74
  l("div", Me, V(s.code) + " " + V(s.name), 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)
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)
75
76
  ]);
76
77
  }), 128))
77
78
  ])) : Y("", !0),
@@ -84,48 +85,48 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
84
85
  }, "Used in")
85
86
  ], -1)),
86
87
  (v(!0), w(q, null, H(m.value, (s) => {
87
- var n, u, g;
88
+ var o, u, g;
88
89
  return v(), w("div", {
89
90
  key: s.code,
90
91
  class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
91
92
  }, [
92
93
  l("div", Be, V(s.code) + " " + V(s.name), 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)
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)
94
95
  ]);
95
96
  }), 128))
96
97
  ])) : Y("", !0)
97
98
  ]));
98
99
  }
99
100
  }), Q = be("unitForm", function() {
100
- const f = pe(), b = le(), i = G(), r = M(!1), o = M();
101
+ const f = pe(), b = le(), i = G(), r = M(!1), n = M();
101
102
  function m() {
102
- const n = {
103
+ const o = {
103
104
  unit: {},
104
105
  mode: U.CREATE,
105
106
  show: !0,
106
107
  "onUpdate:show"(u) {
107
- o.value.show = u;
108
+ n.value.show = u;
108
109
  }
109
110
  };
110
- o.value = n;
111
+ n.value = o;
111
112
  }
112
- async function c(n) {
113
+ async function c(o) {
113
114
  const u = {
114
- unit: n,
115
+ unit: o,
115
116
  mode: U.UPDATE,
116
117
  show: !0,
117
118
  "onUpdate:show"(g) {
118
- o.value.show = g;
119
+ n.value.show = g;
119
120
  }
120
121
  };
121
- o.value = u;
122
+ n.value = u;
122
123
  }
123
- async function p(n) {
124
+ async function p(o) {
124
125
  r.value = !0;
125
126
  try {
126
- await i.deleteUnit(n), b.open({
127
+ await i.deleteUnit(o), b.open({
127
128
  title: "Success",
128
- message: `Deleted ${n.name}`,
129
+ message: `Deleted ${o.name}`,
129
130
  type: "success"
130
131
  });
131
132
  } catch (u) {
@@ -133,7 +134,7 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
133
134
  title: "Cannot delete unit",
134
135
  contentComponent: ye,
135
136
  contentComponentProps: {
136
- subject: (n == null ? void 0 : n.name) ?? "",
137
+ subject: (o == null ? void 0 : o.name) ?? "",
137
138
  items: u.errorResponse.message
138
139
  },
139
140
  secondaryActions: {
@@ -141,7 +142,7 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
141
142
  close: !0
142
143
  }
143
144
  }) : console.log("unable to delete unit", u), b.open({
144
- title: `Cannot delete ${n.name}`,
145
+ title: `Cannot delete ${o.name}`,
145
146
  message: "Please try again.",
146
147
  type: "error"
147
148
  }), console.error("failed to delete unit", u);
@@ -149,16 +150,16 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
149
150
  r.value = !1;
150
151
  }
151
152
  }
152
- function s(n) {
153
- if (i.validateUnitUsage(n).length) {
153
+ function s(o) {
154
+ if (i.validateUnitUsage(o).length) {
154
155
  f.open({
155
- title: `Cannot delete ${(n == null ? void 0 : n.name) ?? "unit"}`,
156
+ title: `Cannot delete ${(o == null ? void 0 : o.name) ?? "unit"}`,
156
157
  overlay: !0,
157
158
  dismissAway: !0,
158
159
  closeButton: !0,
159
160
  contentComponent: Le,
160
161
  contentComponentProps: {
161
- unit: n
162
+ unit: o
162
163
  },
163
164
  primaryActions: {
164
165
  text: "Confirm",
@@ -168,7 +169,7 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
168
169
  return;
169
170
  }
170
171
  f.open({
171
- title: `Delete ${(n == null ? void 0 : n.name) ?? "unit"}?`,
172
+ title: `Delete ${(o == null ? void 0 : o.name) ?? "unit"}?`,
172
173
  closeButton: !1,
173
174
  message: "You may not be able to delete this unit if it is linked in any of the inventory modules.",
174
175
  primaryActions: {
@@ -180,25 +181,25 @@ const Ee = { class: "flex flex-col gap-8" }, Ie = {
180
181
  text: "Cancel",
181
182
  close: !0
182
183
  }
183
- }).onPrimary(() => p(n));
184
+ }).onPrimary(() => p(o));
184
185
  }
185
186
  return {
186
187
  createUnit: m,
187
188
  updateUnit: c,
188
189
  deleteUnit: s,
189
- unitDialogProps: o,
190
+ unitDialogProps: n,
190
191
  unitViewLoading: r
191
192
  };
192
193
  });
193
194
  function Ne() {
194
195
  const { updateUnit: k, deleteUnit: f } = Q(), { t: b } = O();
195
- async function i(o, m) {
196
- const c = oe(m);
197
- if (o === N.Edit) {
196
+ async function i(n, m) {
197
+ const c = ne(m);
198
+ if (n === N.Edit) {
198
199
  await k(c);
199
200
  return;
200
201
  }
201
- if (o === N.Delete) {
202
+ if (n === N.Delete) {
202
203
  await f(c);
203
204
  return;
204
205
  }
@@ -219,11 +220,11 @@ function Ne() {
219
220
  {
220
221
  id: "action",
221
222
  header: "",
222
- cell(o) {
223
+ cell(n) {
223
224
  return xe(
224
- [ne[N.Edit], ne[N.Delete]],
225
+ [oe[N.Edit], oe[N.Delete]],
225
226
  (m) => {
226
- i(m, o.row.original);
227
+ i(m, n.row.original);
227
228
  }
228
229
  );
229
230
  },
@@ -245,7 +246,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
245
246
  },
246
247
  emits: ["update:modelValue", "click:submit"],
247
248
  setup(k, { expose: f, emit: b }) {
248
- const i = k, r = b, { t: o } = O();
249
+ const i = k, r = b, { t: n } = O();
249
250
  function m() {
250
251
  r("click:submit");
251
252
  }
@@ -276,7 +277,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
276
277
  const t = i.modelValue ?? {};
277
278
  t.precision = e, r("update:modelValue", t);
278
279
  }
279
- }), n = _({
280
+ }), o = _({
280
281
  get() {
281
282
  var e;
282
283
  return ((e = i.modelValue) == null ? void 0 : e.measurements) ?? [];
@@ -335,7 +336,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
335
336
  l("div", He, [
336
337
  y(d, {
337
338
  disabled: e.disabled,
338
- label: a(o)("inventory.unit.name"),
339
+ label: a(n)("inventory.unit.name"),
339
340
  modelValue: c.value,
340
341
  "onUpdate:modelValue": t[0] || (t[0] = (C) => c.value = C),
341
342
  rules: [a(j)()],
@@ -345,7 +346,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
345
346
  l("div", Ke, [
346
347
  y(d, {
347
348
  disabled: e.disabled,
348
- label: a(o)("inventory.unit.symbol"),
349
+ label: a(n)("inventory.unit.symbol"),
349
350
  modelValue: p.value,
350
351
  "onUpdate:modelValue": t[1] || (t[1] = (C) => p.value = C),
351
352
  rules: [a(j)()],
@@ -357,7 +358,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
357
358
  y(D, {
358
359
  disabled: e.disabled,
359
360
  class: "col-span-3",
360
- label: a(o)("inventory.unit.precision"),
361
+ label: a(n)("inventory.unit.precision"),
361
362
  modelValue: s.value,
362
363
  "onUpdate:modelValue": t[2] || (t[2] = (C) => s.value = C),
363
364
  rules: [a(Ce)(0)]
@@ -369,7 +370,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
369
370
  disabled: e.disabled,
370
371
  type: "button",
371
372
  "prepend-icon": "add",
372
- label: a(o)("inventory.unit.measurement.addMeasurement"),
373
+ label: a(n)("inventory.unit.measurement.addMeasurement"),
373
374
  variant: "plain",
374
375
  onClick: u
375
376
  }, null, 8, ["disabled", "label"])
@@ -381,7 +382,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
381
382
  }, {
382
383
  default: R(() => [
383
384
  l("div", Oe, [
384
- l("div", Ye, V(a(o)("inventory.unit.measurement.measurementDefault", [h + 1])), 1),
385
+ l("div", Ye, V(a(n)("inventory.unit.measurement.measurementDefault", [h + 1])), 1),
385
386
  y(F, {
386
387
  disabled: e.disabled,
387
388
  variant: "tertiary",
@@ -395,7 +396,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
395
396
  y(d, {
396
397
  disabled: e.disabled,
397
398
  class: "col-span-2",
398
- label: a(o)("inventory.unit.measurement.name"),
399
+ label: a(n)("inventory.unit.measurement.name"),
399
400
  modelValue: e.modelValue.measurements[h].name,
400
401
  "onUpdate:modelValue": ($) => e.modelValue.measurements[h].name = $,
401
402
  rules: [a(j)()],
@@ -405,7 +406,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
405
406
  l("div", Xe, [
406
407
  y(d, {
407
408
  disabled: e.disabled,
408
- label: a(o)("inventory.unit.measurement.symbol"),
409
+ label: a(n)("inventory.unit.measurement.symbol"),
409
410
  modelValue: e.modelValue.measurements[h].abbrev,
410
411
  "onUpdate:modelValue": ($) => e.modelValue.measurements[h].abbrev = $,
411
412
  rules: [a(j)()],
@@ -416,9 +417,9 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
416
417
  y($e, {
417
418
  disabled: e.disabled,
418
419
  class: "col-span-3",
419
- label: a(o)("inventory.unit.measurement.conversion"),
420
+ label: a(n)("inventory.unit.measurement.conversion"),
420
421
  "model-value": +a(J)(e.modelValue.measurements[h].conversion),
421
- "onUpdate:modelValue": ($) => n.value = n.value.map(
422
+ "onUpdate:modelValue": ($) => o.value = o.value.map(
422
423
  (A, B) => B === h ? {
423
424
  ...A,
424
425
  conversion: a(Se).toPrecision(
@@ -429,7 +430,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
429
430
  ),
430
431
  rules: [a(Fe)(0)],
431
432
  step: +a(J)({ amount: 1, precision: s.value }),
432
- "helper-text": a(o)("inventory.unit.measurement.conversionHelper", {
433
+ "helper-text": a(n)("inventory.unit.measurement.conversionHelper", {
433
434
  measurementSymbol: e.modelValue.measurements[h].name || " measurement unit",
434
435
  conversion: +a(J)(e.modelValue.measurements[h].conversion),
435
436
  unitSymbol: p.value || "base unit"
@@ -454,7 +455,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
454
455
  },
455
456
  emits: ["update:show"],
456
457
  setup(k) {
457
- const f = k, b = G(), i = le(), { t: r } = O(), o = te(f, "show"), m = te(f, "unit"), c = _(() => {
458
+ const f = k, b = G(), i = le(), { t: r } = O(), n = te(f, "show"), m = te(f, "unit"), c = _(() => {
458
459
  switch (f.mode) {
459
460
  case U.READ:
460
461
  return "";
@@ -474,12 +475,12 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
474
475
  return r("common.add");
475
476
  }
476
477
  return "";
477
- }), s = M(), n = M(!1);
478
+ }), s = M(), o = M(!1);
478
479
  async function u() {
479
- n.value = !0;
480
+ o.value = !0;
480
481
  try {
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({
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({
483
484
  title: r("inventory.common.success"),
484
485
  message: r("inventory.unit.create.success", { name: m.value.name }),
485
486
  type: "success"
@@ -491,13 +492,13 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
491
492
  type: "error"
492
493
  });
493
494
  } finally {
494
- n.value = !1;
495
+ o.value = !1;
495
496
  }
496
497
  }
497
498
  async function g() {
498
- n.value = !0;
499
+ o.value = !0;
499
500
  try {
500
- await b.updateUnit(m.value), o.value = !1, i.open({
501
+ await b.updateUnit(m.value), n.value = !1, i.open({
501
502
  title: r("inventory.common.success"),
502
503
  message: r("inventory.unit.update.success", { name: m.value.name }),
503
504
  type: "success"
@@ -509,7 +510,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
509
510
  type: "error"
510
511
  });
511
512
  } finally {
512
- n.value = !1;
513
+ o.value = !1;
513
514
  }
514
515
  }
515
516
  function x() {
@@ -529,8 +530,8 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
529
530
  return (t, d) => {
530
531
  const D = I("FmButton"), F = I("FmSideSheet");
531
532
  return v(), T(F, {
532
- "model-value": a(o),
533
- "onUpdate:modelValue": d[3] || (d[3] = (S) => Z(o) ? o.value = S : null),
533
+ "model-value": a(n),
534
+ "onUpdate:modelValue": d[3] || (d[3] = (S) => Z(n) ? n.value = S : null),
534
535
  header: c.value,
535
536
  "close-button": "",
536
537
  "dismiss-away": "",
@@ -539,15 +540,15 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
539
540
  "side-sheet-footer": R(() => [
540
541
  l("div", et, [
541
542
  y(D, {
542
- loading: n.value,
543
+ loading: o.value,
543
544
  label: p.value,
544
545
  onClick: x
545
546
  }, null, 8, ["loading", "label"]),
546
547
  y(D, {
547
- disabled: n.value,
548
+ disabled: o.value,
548
549
  label: a(r)("common.close"),
549
550
  variant: "tertiary",
550
- onClick: d[2] || (d[2] = (S) => o.value = !1)
551
+ onClick: d[2] || (d[2] = (S) => n.value = !1)
551
552
  }, null, 8, ["disabled", "label"])
552
553
  ])
553
554
  ]),
@@ -559,7 +560,7 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
559
560
  modelValue: a(m),
560
561
  "onUpdate:modelValue": d[0] || (d[0] = (S) => Z(m) ? m.value = S : null),
561
562
  mode: t.mode,
562
- disabled: n.value,
563
+ disabled: o.value,
563
564
  "onClick:submit": d[1] || (d[1] = (S) => e())
564
565
  }, null, 8, ["modelValue", "mode", "disabled"])
565
566
  ]),
@@ -567,14 +568,14 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
567
568
  }, 8, ["model-value", "header"]);
568
569
  };
569
570
  }
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({
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({
571
572
  __name: "UnitView",
572
573
  setup(k) {
573
- const f = G(), b = ce(), i = _(() => f.units), { createUnit: r, updateUnit: o } = Q(), { unitDialogProps: m, unitViewLoading: c } = ge(Q()), { columnDefs: p } = Ne();
574
+ const f = G(), b = ce(), i = _(() => f.units), { createUnit: r, updateUnit: n } = Q(), { unitDialogProps: m, unitViewLoading: c } = ge(Q()), { columnDefs: p } = Ne();
574
575
  function s(D) {
575
576
  D === "add" && r();
576
577
  }
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();
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();
578
579
  return (D, F) => {
579
580
  const S = I("FmTable");
580
581
  return v(), T(Ue, {
@@ -596,28 +597,28 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
596
597
  }, [
597
598
  y(we, {
598
599
  searchable: "",
599
- search: n.value,
600
- "onUpdate:search": F[0] || (F[0] = (E) => n.value = E)
600
+ search: o.value,
601
+ "onUpdate:search": F[0] || (F[0] = (E) => o.value = E)
601
602
  }, null, 8, ["search"]),
602
603
  y(S, {
603
604
  style: re(a(t).tableHeight),
604
605
  "column-defs": a(p),
605
606
  "row-data": i.value,
606
- "search-value": n.value,
607
+ "search-value": o.value,
607
608
  loading: !a(b)._currentLocation || u.value,
608
- onRowClick: F[1] || (F[1] = (E) => a(o)(E.original)),
609
+ onRowClick: F[1] || (F[1] = (E) => a(n)(E.original)),
609
610
  "page-size": e.value
610
611
  }, {
611
612
  "list-row": R((E) => [
612
613
  y(_e, {
613
614
  row: E,
614
- onRowClick: a(o)
615
+ onRowClick: a(n)
615
616
  }, {
616
617
  default: R((P) => {
617
618
  var C, h, $, A, B, z, W, L, X;
618
619
  return [
619
- l("div", nt, [
620
- l("div", ot, [
620
+ l("div", ot, [
621
+ l("div", nt, [
621
622
  y(a(he), {
622
623
  render: ($ = (h = (C = P.name) == null ? void 0 : C.column) == null ? void 0 : h.columnDef) == null ? void 0 : $.cell,
623
624
  props: (B = (A = P.name) == null ? void 0 : A.getContext) == null ? void 0 : B.call(A)
@@ -643,5 +644,5 @@ const je = { class: "flex flex-col gap-24" }, qe = { class: "flex gap-24" }, He
643
644
  }
644
645
  });
645
646
  export {
646
- bt as default
647
+ gt as default
647
648
  };
@@ -1,13 +1,14 @@
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-GUbzqEtW.js";
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-BaOENyRY.js";
3
3
  import { useCoreStore as Le, useI18n as j } from "@feedmepos/mf-common";
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-5DINn0ZB.js";
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-CBC214tP.js";
7
+ import { F as T } from "./form-mode.enum-BKiNVH6A.js";
7
8
  import { useDialogChild as je, useDialog as Me, useSnackbar as ae, useProxiedModel as oe, useBreakpoints as Oe } from "@feedmepos/ui-library";
8
- import { R as E } from "./rules-DlnN8IP3.js";
9
+ import { R as E } from "./rules-DxLLla7a.js";
9
10
  import { c as le, u as se } from "./googlemap-Dm8ERVai.js";
10
- import { d as Ge } from "./index-m9e9nYfl.js";
11
+ import { d as Ge } from "./index-S7yfliEo.js";
11
12
  import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
13
  const X = Pe((m, h) => {
13
14
  const y = Le();
@@ -228,7 +229,7 @@ const Je = /* @__PURE__ */ I({
228
229
  const x = o(r).filter((D, G) => G !== f);
229
230
  n("polygon-change", { index: r, path: x });
230
231
  }
231
- function q(r, f) {
232
+ function B(r, f) {
232
233
  f.vertex !== void 0 ? t(r, f.vertex) : n("polygon-right-click", r);
233
234
  }
234
235
  function w(r) {
@@ -240,7 +241,7 @@ const Je = /* @__PURE__ */ I({
240
241
  fillOpacity: 0.5,
241
242
  editable: a.editable
242
243
  });
243
- return k(x, "contextmenu", (D) => q(b, D)), x.getPaths().forEach((D) => {
244
+ return k(x, "contextmenu", (D) => B(b, D)), x.getPaths().forEach((D) => {
244
245
  A(D, "insert_at", () => e(b)), A(D, "set_at", () => e(b));
245
246
  }), x;
246
247
  }), d(s.value);
@@ -265,7 +266,7 @@ const Je = /* @__PURE__ */ I({
265
266
  !p.value || !l || (P(), C(a.markers), w(a.polygons));
266
267
  }), Fe(() => {
267
268
  u.forEach((r) => r.remove());
268
- }), (r, f) => (S(), B("div", {
269
+ }), (r, f) => (S(), q("div", {
269
270
  ref_key: "mapRef",
270
271
  ref: p,
271
272
  class: "map app-map"
@@ -299,7 +300,7 @@ const Je = /* @__PURE__ */ I({
299
300
  l.lat = v.lat, l.lng = v.lng, y.emitData(O(l)), s();
300
301
  }
301
302
  const _ = W();
302
- return (v, M) => (S(), B("div", Qe, [
303
+ return (v, M) => (S(), q("div", Qe, [
303
304
  g("div", Xe, [
304
305
  g("div", null, [
305
306
  g("span", Ye, U(c(n)("inventory.formField.coordinate.address")) + ": ", 1),
@@ -398,7 +399,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
398
399
  }
399
400
  return (i, k) => {
400
401
  const A = L("FmField"), o = L("FmButton"), e = L("FmFormGroup");
401
- return S(), B("div", uo, [
402
+ return S(), q("div", uo, [
402
403
  V(e, {
403
404
  class: "flex-1",
404
405
  "model-value": c(s),
@@ -414,7 +415,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
414
415
  onClick: k[0] || (k[0] = (t) => C())
415
416
  }, $e({
416
417
  default: N(({ invalid: t }) => [
417
- i.modelValue && i.modelValue[0] && i.modelValue[1] ? (S(), B("div", io, [
418
+ i.modelValue && i.modelValue[0] && i.modelValue[1] ? (S(), q("div", io, [
418
419
  V(A, {
419
420
  invalid: t,
420
421
  class: "fm-typo-en-body-lg-400"
@@ -424,7 +425,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
424
425
  ]),
425
426
  _: 2
426
427
  }, 1032, ["invalid"])
427
- ])) : (S(), B("div", co, [
428
+ ])) : (S(), q("div", co, [
428
429
  V(o, {
429
430
  label: c(_)("inventory.formField.coordinate.addCoordinate"),
430
431
  "prepend-icon": "add",
@@ -580,7 +581,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
580
581
  (e = (o = A.value) == null ? void 0 : o.resetInputs) == null || e.call(o);
581
582
  }
582
583
  }), (o, e) => {
583
- const t = L("FmTextField"), q = L("FmPhoneNumber"), w = L("FmForm");
584
+ const t = L("FmTextField"), B = L("FmPhoneNumber"), w = L("FmForm");
584
585
  return S(), z(w, {
585
586
  ref_key: "formRef",
586
587
  ref: A,
@@ -671,7 +672,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
671
672
  g("div", wo, [
672
673
  g("div", Vo, U(c(l)("inventory.warehouse.contact.title")), 1),
673
674
  g("div", _o, [
674
- V(q, {
675
+ V(B, {
675
676
  disabled: o.disabled,
676
677
  rules: [c(E)()],
677
678
  "label-mark": "required",
@@ -806,8 +807,8 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
806
807
  }
807
808
  }
808
809
  return (o, e) => {
809
- const t = L("FmButton"), q = L("FmSideSheet");
810
- return S(), z(q, {
810
+ const t = L("FmButton"), B = L("FmSideSheet");
811
+ return S(), z(B, {
811
812
  header: _.value,
812
813
  modelValue: c($),
813
814
  "onUpdate:modelValue": e[1] || (e[1] = (w) => we($) ? $.value = w : null),
@@ -846,7 +847,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
846
847
  }), 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 = {
847
848
  key: 0,
848
849
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
849
- }, Wo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, zo = /* @__PURE__ */ I({
850
+ }, Wo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, Io = /* @__PURE__ */ I({
850
851
  __name: "WarehouseView",
851
852
  setup(m) {
852
853
  const h = Ce(), y = Ee(), a = F(() => h.warehouses), n = Me(), l = ae(), p = W(!1), { t: s } = j();
@@ -919,7 +920,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
919
920
  p.value = !1;
920
921
  }
921
922
  }
922
- const { breakpoints: o } = Oe(), e = F(() => o.value.xs || o.value.sm), t = F(() => e.value ? 10 : 20), q = Be();
923
+ const { breakpoints: o } = Oe(), e = F(() => o.value.xs || o.value.sm), t = F(() => e.value ? 10 : 20), B = qe();
923
924
  return (w, d) => {
924
925
  const Y = L("FmTable");
925
926
  return S(), z(ze, {
@@ -951,7 +952,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
951
952
  "onUpdate:search": d[0] || (d[0] = (P) => k.value = P)
952
953
  }, null, 8, ["search"]),
953
954
  (S(), z(Y, {
954
- style: Re(c(q).tableHeight),
955
+ style: Re(c(B).tableHeight),
955
956
  "column-defs": c(C),
956
957
  "row-data": c(R)(a.value),
957
958
  "search-value": k.value,
@@ -961,7 +962,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
961
962
  "page-size": t.value
962
963
  }, {
963
964
  "list-row": N((P) => [
964
- V(qe, {
965
+ V(Be, {
965
966
  row: P,
966
967
  onRowClick: (r) => v(r.original)
967
968
  }, {
@@ -981,7 +982,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
981
982
  props: (ie = (K = r.contact) == null ? void 0 : K.getContext) == null ? void 0 : ie.call(K)
982
983
  }, null, 8, ["render", "props"])
983
984
  ]),
984
- (de = P.original) != null && de.email ? (S(), B("div", $o, [
985
+ (de = P.original) != null && de.email ? (S(), q("div", $o, [
985
986
  V(c(Q), {
986
987
  render: (me = (pe = (ce = r.email) == null ? void 0 : ce.column) == null ? void 0 : pe.columnDef) == null ? void 0 : me.cell,
987
988
  props: (fe = (H = r.email) == null ? void 0 : H.getContext) == null ? void 0 : fe.call(H)
@@ -1016,5 +1017,5 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
1016
1017
  }
1017
1018
  });
1018
1019
  export {
1019
- zo as default
1020
+ Io as default
1020
1021
  };
@@ -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" | "BILLED" | "REFUNDED" | "COMPLETED" | "VOIDED" | "PREORDER";
332
+ status: "DRAFT" | "COMPLETED" | "BILLED" | "REFUNDED" | "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" | "BILLED" | "REFUNDED" | "COMPLETED" | "VOIDED" | "PREORDER";
1013
+ status: "DRAFT" | "COMPLETED" | "BILLED" | "REFUNDED" | "VOIDED" | "PREORDER";
1014
1014
  items: Record<string, {
1015
1015
  createdBy?: {
1016
1016
  id: string;