@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,5 +1,5 @@
1
- import { F as y } from "./FmMultiselectDialog-7hok9sJP.js";
2
- import { a as g } from "./app-GUbzqEtW.js";
1
+ import { F as y } from "./FmMultiselectDialog-CK6xwOeG.js";
2
+ import { a as g } from "./app-BaOENyRY.js";
3
3
  import { useDialog as C } from "@feedmepos/ui-library";
4
4
  function E() {
5
5
  const c = g(), u = C();
@@ -1,5 +1,5 @@
1
- import { F as p } from "./FmMultiselectDialog-7hok9sJP.js";
2
- import { u as d } from "./app-GUbzqEtW.js";
1
+ import { F as p } from "./FmMultiselectDialog-CK6xwOeG.js";
2
+ import { u as d } from "./app-BaOENyRY.js";
3
3
  import { useI18n as f } from "@feedmepos/mf-common";
4
4
  import { useDialog as h } from "@feedmepos/ui-library";
5
5
  import { computed as r } from "vue";
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import { F_CLOSING_DRAFT_ACTION } from '@feedmepos/zod-inventory';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ draft: FdoClosingDraft;
4
+ action: F_CLOSING_DRAFT_ACTION;
5
+ onCancel: () => void;
6
+ onFinished: () => void;
7
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ draft: FdoClosingDraft;
9
+ action: F_CLOSING_DRAFT_ACTION;
10
+ onCancel: () => void;
11
+ onFinished: () => void;
12
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
@@ -0,0 +1,447 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ show: boolean;
3
+ draft?: {
4
+ remark?: string | null | undefined;
5
+ _rev?: string | null | undefined;
6
+ effectiveAt?: string | null | undefined;
7
+ approvedAt?: string | null | undefined;
8
+ approvedBy?: {
9
+ name: string;
10
+ id: string;
11
+ } | null | undefined;
12
+ approveRemark?: string | null | undefined;
13
+ rejectionHistory?: {
14
+ rejectedAt: string;
15
+ rejectedBy: {
16
+ name: string;
17
+ id: string;
18
+ };
19
+ rejectRemark: string;
20
+ }[] | null | undefined;
21
+ closingAdjustmentId?: string | null | undefined;
22
+ closingId?: string | null | undefined;
23
+ status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
24
+ _id: string;
25
+ items: {
26
+ remark?: string | null | undefined;
27
+ sku: {
28
+ trackingMeasurement?: string | null | undefined;
29
+ convert?: {
30
+ measurement?: string | null | undefined;
31
+ inventoryBindings?: {
32
+ measurement?: {
33
+ id: string;
34
+ name: string;
35
+ abbrev: string;
36
+ conversion: {
37
+ amount: number;
38
+ precision: number;
39
+ };
40
+ } | null | undefined;
41
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
42
+ amount: {
43
+ amount: number;
44
+ precision: number;
45
+ };
46
+ id: string;
47
+ }[] | null | undefined;
48
+ } | null | undefined;
49
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
50
+ defaultCost?: {
51
+ measurement?: {
52
+ id: string;
53
+ name: string;
54
+ abbrev: string;
55
+ conversion: {
56
+ amount: number;
57
+ precision: number;
58
+ };
59
+ } | null | undefined;
60
+ costPerUnit: {
61
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
62
+ amount: number;
63
+ precision: number;
64
+ };
65
+ } | null | undefined;
66
+ thresholds?: {
67
+ low: number;
68
+ mid: number;
69
+ } | null | undefined;
70
+ operationalGroup?: string | null | undefined;
71
+ unit: {
72
+ _id: string;
73
+ name: string;
74
+ abbrev: string;
75
+ precision: number;
76
+ measurements: {
77
+ id: string;
78
+ name: string;
79
+ abbrev: string;
80
+ conversion: {
81
+ amount: number;
82
+ precision: number;
83
+ };
84
+ }[];
85
+ };
86
+ code: string;
87
+ _id: string;
88
+ name: string;
89
+ };
90
+ baseAmount: {
91
+ amount: number;
92
+ precision: number;
93
+ };
94
+ measurementsAmounts: {
95
+ amount: {
96
+ amount: number;
97
+ precision: number;
98
+ };
99
+ measurement: {
100
+ id: string;
101
+ name: string;
102
+ abbrev: string;
103
+ conversion: {
104
+ amount: number;
105
+ precision: number;
106
+ };
107
+ };
108
+ }[];
109
+ }[];
110
+ createdBy: {
111
+ name: string;
112
+ id: string;
113
+ };
114
+ createdAt: string;
115
+ updatedAt: string;
116
+ updatedBy: {
117
+ name: string;
118
+ id: string;
119
+ };
120
+ usingTemplates: {
121
+ ref?: string | null | undefined;
122
+ _rev?: string | null | undefined;
123
+ updatedAt?: Date | null | undefined;
124
+ locations?: {
125
+ type: "restaurant" | "warehouse";
126
+ name: string;
127
+ acceptRequest: boolean;
128
+ dbName: string;
129
+ doc: {
130
+ _id: string;
131
+ businessId: string;
132
+ profile: {
133
+ code?: string | null | undefined;
134
+ _id?: string | null | undefined;
135
+ name?: string | undefined;
136
+ address?: {
137
+ coordinates?: number[] | null | undefined;
138
+ line2?: string | null | undefined;
139
+ state: string;
140
+ country: string;
141
+ line1: string;
142
+ city: string;
143
+ postcode: string;
144
+ } | undefined;
145
+ email?: string | undefined;
146
+ regNo?: string | undefined;
147
+ sstRegNo?: string | null | undefined;
148
+ phoneNo?: string | undefined;
149
+ legalName?: string | null | undefined;
150
+ discovery?: boolean | null | undefined;
151
+ coverPhoto?: string | null | undefined;
152
+ thumbnailPhoto?: string | null | undefined;
153
+ description?: string | null | undefined;
154
+ photos?: string[] | null | undefined;
155
+ operatingHours?: {
156
+ 0: {
157
+ hours: {
158
+ end: string;
159
+ start: string;
160
+ }[];
161
+ enable: boolean;
162
+ };
163
+ 2: {
164
+ hours: {
165
+ end: string;
166
+ start: string;
167
+ }[];
168
+ enable: boolean;
169
+ };
170
+ 1: {
171
+ hours: {
172
+ end: string;
173
+ start: string;
174
+ }[];
175
+ enable: boolean;
176
+ };
177
+ 3: {
178
+ hours: {
179
+ end: string;
180
+ start: string;
181
+ }[];
182
+ enable: boolean;
183
+ };
184
+ 4: {
185
+ hours: {
186
+ end: string;
187
+ start: string;
188
+ }[];
189
+ enable: boolean;
190
+ };
191
+ 5: {
192
+ hours: {
193
+ end: string;
194
+ start: string;
195
+ }[];
196
+ enable: boolean;
197
+ };
198
+ 6: {
199
+ hours: {
200
+ end: string;
201
+ start: string;
202
+ }[];
203
+ enable: boolean;
204
+ };
205
+ } | null | undefined;
206
+ tags?: string[] | null | undefined;
207
+ url?: string | null | undefined;
208
+ };
209
+ };
210
+ }[] | null | undefined;
211
+ updatedBy?: {
212
+ name: string;
213
+ id: string;
214
+ } | null | undefined;
215
+ _id: string;
216
+ name: string;
217
+ }[];
218
+ } | undefined;
219
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
220
+ show: boolean;
221
+ draft?: {
222
+ remark?: string | null | undefined;
223
+ _rev?: string | null | undefined;
224
+ effectiveAt?: string | null | undefined;
225
+ approvedAt?: string | null | undefined;
226
+ approvedBy?: {
227
+ name: string;
228
+ id: string;
229
+ } | null | undefined;
230
+ approveRemark?: string | null | undefined;
231
+ rejectionHistory?: {
232
+ rejectedAt: string;
233
+ rejectedBy: {
234
+ name: string;
235
+ id: string;
236
+ };
237
+ rejectRemark: string;
238
+ }[] | null | undefined;
239
+ closingAdjustmentId?: string | null | undefined;
240
+ closingId?: string | null | undefined;
241
+ status: "DRAFT" | "PROCESSING" | "FAILED" | "COMPLETED";
242
+ _id: string;
243
+ items: {
244
+ remark?: string | null | undefined;
245
+ sku: {
246
+ trackingMeasurement?: string | null | undefined;
247
+ convert?: {
248
+ measurement?: string | null | undefined;
249
+ inventoryBindings?: {
250
+ measurement?: {
251
+ id: string;
252
+ name: string;
253
+ abbrev: string;
254
+ conversion: {
255
+ amount: number;
256
+ precision: number;
257
+ };
258
+ } | null | undefined;
259
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
260
+ amount: {
261
+ amount: number;
262
+ precision: number;
263
+ };
264
+ id: string;
265
+ }[] | null | undefined;
266
+ } | null | undefined;
267
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
268
+ defaultCost?: {
269
+ measurement?: {
270
+ id: string;
271
+ name: string;
272
+ abbrev: string;
273
+ conversion: {
274
+ amount: number;
275
+ precision: number;
276
+ };
277
+ } | null | undefined;
278
+ costPerUnit: {
279
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
280
+ amount: number;
281
+ precision: number;
282
+ };
283
+ } | null | undefined;
284
+ thresholds?: {
285
+ low: number;
286
+ mid: number;
287
+ } | null | undefined;
288
+ operationalGroup?: string | null | undefined;
289
+ unit: {
290
+ _id: string;
291
+ name: string;
292
+ abbrev: string;
293
+ precision: number;
294
+ measurements: {
295
+ id: string;
296
+ name: string;
297
+ abbrev: string;
298
+ conversion: {
299
+ amount: number;
300
+ precision: number;
301
+ };
302
+ }[];
303
+ };
304
+ code: string;
305
+ _id: string;
306
+ name: string;
307
+ };
308
+ baseAmount: {
309
+ amount: number;
310
+ precision: number;
311
+ };
312
+ measurementsAmounts: {
313
+ amount: {
314
+ amount: number;
315
+ precision: number;
316
+ };
317
+ measurement: {
318
+ id: string;
319
+ name: string;
320
+ abbrev: string;
321
+ conversion: {
322
+ amount: number;
323
+ precision: number;
324
+ };
325
+ };
326
+ }[];
327
+ }[];
328
+ createdBy: {
329
+ name: string;
330
+ id: string;
331
+ };
332
+ createdAt: string;
333
+ updatedAt: string;
334
+ updatedBy: {
335
+ name: string;
336
+ id: string;
337
+ };
338
+ usingTemplates: {
339
+ ref?: string | null | undefined;
340
+ _rev?: string | null | undefined;
341
+ updatedAt?: Date | null | undefined;
342
+ locations?: {
343
+ type: "restaurant" | "warehouse";
344
+ name: string;
345
+ acceptRequest: boolean;
346
+ dbName: string;
347
+ doc: {
348
+ _id: string;
349
+ businessId: string;
350
+ profile: {
351
+ code?: string | null | undefined;
352
+ _id?: string | null | undefined;
353
+ name?: string | undefined;
354
+ address?: {
355
+ coordinates?: number[] | null | undefined;
356
+ line2?: string | null | undefined;
357
+ state: string;
358
+ country: string;
359
+ line1: string;
360
+ city: string;
361
+ postcode: string;
362
+ } | undefined;
363
+ email?: string | undefined;
364
+ regNo?: string | undefined;
365
+ sstRegNo?: string | null | undefined;
366
+ phoneNo?: string | undefined;
367
+ legalName?: string | null | undefined;
368
+ discovery?: boolean | null | undefined;
369
+ coverPhoto?: string | null | undefined;
370
+ thumbnailPhoto?: string | null | undefined;
371
+ description?: string | null | undefined;
372
+ photos?: string[] | null | undefined;
373
+ operatingHours?: {
374
+ 0: {
375
+ hours: {
376
+ end: string;
377
+ start: string;
378
+ }[];
379
+ enable: boolean;
380
+ };
381
+ 2: {
382
+ hours: {
383
+ end: string;
384
+ start: string;
385
+ }[];
386
+ enable: boolean;
387
+ };
388
+ 1: {
389
+ hours: {
390
+ end: string;
391
+ start: string;
392
+ }[];
393
+ enable: boolean;
394
+ };
395
+ 3: {
396
+ hours: {
397
+ end: string;
398
+ start: string;
399
+ }[];
400
+ enable: boolean;
401
+ };
402
+ 4: {
403
+ hours: {
404
+ end: string;
405
+ start: string;
406
+ }[];
407
+ enable: boolean;
408
+ };
409
+ 5: {
410
+ hours: {
411
+ end: string;
412
+ start: string;
413
+ }[];
414
+ enable: boolean;
415
+ };
416
+ 6: {
417
+ hours: {
418
+ end: string;
419
+ start: string;
420
+ }[];
421
+ enable: boolean;
422
+ };
423
+ } | null | undefined;
424
+ tags?: string[] | null | undefined;
425
+ url?: string | null | undefined;
426
+ };
427
+ };
428
+ }[] | null | undefined;
429
+ updatedBy?: {
430
+ name: string;
431
+ id: string;
432
+ } | null | undefined;
433
+ _id: string;
434
+ name: string;
435
+ }[];
436
+ } | undefined;
437
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
438
+ export default _default;
439
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
440
+ type __VLS_TypePropsToRuntimeProps<T> = {
441
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
442
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
443
+ } : {
444
+ type: import('vue').PropType<T[K]>;
445
+ required: true;
446
+ };
447
+ };
@@ -0,0 +1,22 @@
1
+ export declare const useClosingDraftActions: import("pinia").StoreDefinition<"closingDraftActions", import("pinia")._UnwrapAll<Pick<{
2
+ viewDraft: (draft: FdoClosingDraft) => void;
3
+ approveDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
4
+ rejectDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
5
+ exportDraft: (draft: FdoClosingDraft) => void;
6
+ viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
7
+ viewClosingDraftProps: import("vue").Ref<any, any>;
8
+ }, "viewClosingDraftShow" | "viewClosingDraftProps">>, Pick<{
9
+ viewDraft: (draft: FdoClosingDraft) => void;
10
+ approveDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
11
+ rejectDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
12
+ exportDraft: (draft: FdoClosingDraft) => void;
13
+ viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
14
+ viewClosingDraftProps: import("vue").Ref<any, any>;
15
+ }, never>, Pick<{
16
+ viewDraft: (draft: FdoClosingDraft) => void;
17
+ approveDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
18
+ rejectDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
19
+ exportDraft: (draft: FdoClosingDraft) => void;
20
+ viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
21
+ viewClosingDraftProps: import("vue").Ref<any, any>;
22
+ }, "approveDraft" | "rejectDraft" | "viewDraft" | "exportDraft">>;