@feedmepos/mf-inventory-portal 1.2.1 → 1.2.2-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 (59) hide show
  1. package/dist/{App-BqaRC0Sb.js → App-C9TQqCtE.js} +1 -1
  2. package/dist/{ApprovalView-DwRrbVDo.js → ApprovalView-OL-N9Lyf.js} +2 -2
  3. package/dist/{BindingsDialog-DUVKv10-.js → BindingsDialog-DlvRHQ4W.js} +2 -2
  4. package/dist/{BindingsPicker-Daib_iq4.js → BindingsPicker-ZEHzsYDE.js} +1 -1
  5. package/dist/{BindingsTable-Bv9UmcJP.js → BindingsTable-eY65pcGW.js} +1 -1
  6. package/dist/{ClosingDraftView-sJ_zRPeo.js → ClosingDraftView-BV-SKPZK.js} +2 -2
  7. package/dist/{ClosingTemplateView-cNgXHq1r.js → ClosingTemplateView-CxYHau8j.js} +2 -2
  8. package/dist/{DeliveryOrderPrintPreview-DZPcRAja.js → DeliveryOrderPrintPreview-DO_JtmNp.js} +1 -1
  9. package/dist/FmAdminBadge-D_pFyjwZ.js +44 -0
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BKR8C4p_.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DQwdMQMt.js} +3 -3
  11. package/dist/{FmMultiselectDialog-CZmwOkrb.js → FmMultiselectDialog-DDgUnxWD.js} +1 -1
  12. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C-2V2bGc.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BhVX95vU.js} +1 -1
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BGnoF1Zz.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-MPczEiEk.js} +1 -1
  14. package/dist/{IngredientGroupView-CAVYpEj3.js → IngredientGroupView-DDAcRJv1.js} +2 -2
  15. package/dist/{IngredientsView-CHHeAJH_.js → IngredientsView-DRYfq7TU.js} +4 -4
  16. package/dist/{IntegrationView-DdLFyZ4H.js → IntegrationView-CKWn92hD.js} +1282 -1267
  17. package/dist/{InventoryBindingForm-C7BdEDtM.js → InventoryBindingForm-B1bg6NVe.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-B7DND2dQ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DTLYIrAV.js} +3 -3
  19. package/dist/{InventoryBindingSummary-IZ7F-Lti.js → InventoryBindingSummary-CuaThApt.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-sgqVSlUB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-akYkxlTE.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DeF32bHu.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DOuAb0-X.js} +1 -1
  22. package/dist/{PublishView-DkgfYneI.js → PublishView-BgVkOnNK.js} +8 -8
  23. package/dist/{PurchaseOrderPrintPreview-CltLC4o4.js → PurchaseOrderPrintPreview-BILM7Pv3.js} +1 -1
  24. package/dist/{ReceiveRequestView-Dj7ji0DY.js → ReceiveRequestView-C2G7xiIh.js} +8 -8
  25. package/dist/{RecipeView-BukmKdVG.js → RecipeView-PdFQpnGR.js} +3 -3
  26. package/dist/{StockView-wxRCw_w-.js → StockView-CjAukNPs.js} +837 -838
  27. package/dist/{SupplierView-DE_M_9kd.js → SupplierView-BmFoSql1.js} +3 -3
  28. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DRODPm3S.js +2494 -0
  29. package/dist/{TransferTemplateView-gWGBCF3u.js → TransferTemplateView-Iei3Az_r.js} +6 -6
  30. package/dist/{UnitView-BgwDmGZo.js → UnitView-BOI2un-8.js} +3 -3
  31. package/dist/{WarehouseView-BdccenhO.js → WarehouseView-DuD7XGOl.js} +1 -1
  32. package/dist/api/bill.d.ts +140 -2
  33. package/dist/api/netsuite.d.ts +2 -1
  34. package/dist/app-BbMejD6B.js +153770 -0
  35. package/dist/app.js +1 -1
  36. package/dist/components/FmAdminBadge.vue.d.ts +1 -4
  37. package/dist/composable/useIframe.d.ts +2 -2
  38. package/dist/{decimal-izbvCC1j.js → decimal-DNKR1AZD.js} +1 -1
  39. package/dist/{format-unit-display-4SAdfyZB.js → format-unit-display-4IRjiRIx.js} +2 -2
  40. package/dist/helper/core/country/utils.d.ts +3 -4
  41. package/dist/helper/country.d.ts +6 -255
  42. package/dist/{index-CnQloOEo.js → index-CgrUsU7I.js} +1 -1
  43. package/dist/{index-B6GGthLw.js → index-DMPT96NZ.js} +1 -1
  44. package/dist/{stock-BJP5BB5b.js → stock-BUOpCvC9.js} +1 -1
  45. package/dist/style.css +1 -1
  46. package/dist/{supplier-CTVE1lHO.js → supplier-BRRCoi_n.js} +1 -1
  47. package/dist/tsconfig.app.tsbuildinfo +1 -1
  48. package/dist/{use-ingredient-select-dialog-CM80TfX0.js → use-ingredient-select-dialog-BhwfrMyK.js} +1 -1
  49. package/dist/{use-inventory-binding-dialog-D_omdhgn.js → use-inventory-binding-dialog-BK_VNgfc.js} +1 -1
  50. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +356 -0
  51. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +89 -0
  52. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +544 -10
  53. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +633 -10
  54. package/dist/views/stock/components/StockRecordCard.vue.d.ts +70 -1
  55. package/package.json +3 -3
  56. package/dist/FmAdminBadge-oCnz8SW6.js +0 -34
  57. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-eqUOnJoM.js +0 -2336
  58. package/dist/app-CruHLH1e.js +0 -129134
  59. package/dist/helper/core/country/codes.d.ts +0 -255
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { bg as a, bh as e, bi as o, bf as i, bj as t, a as m } from "./app-CruHLH1e.js";
2
+ import { bh as a, bi as e, bj as o, bg as i, bk as t, a as m } from "./app-BbMejD6B.js";
3
3
  export {
4
4
  a as FmApp,
5
5
  e as InventoryBindingForm,
@@ -1,18 +1,15 @@
1
1
  export interface FmAdminBadgeProps {
2
- value?: string | null;
3
2
  class?: string;
4
3
  }
5
4
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmAdminBadgeProps>, {
6
- value: string;
7
5
  class: undefined;
8
6
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FmAdminBadgeProps>, {
9
- value: string;
10
7
  class: undefined;
11
8
  }>>> & Readonly<{}>, {
12
- value: string | null;
13
9
  class: string;
14
10
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
15
11
  default?(_: {}): any;
12
+ "non-admin"?(_: {}): any;
16
13
  }>;
17
14
  export default _default;
18
15
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,4 +1,4 @@
1
- import type { CountryCode } from '@/helper/core/country/codes';
1
+ import type { F_COUNTRY } from '@feedmepos/core/entity';
2
2
  import type { FmpBusiness } from 'node_modules/@feedmepos/mf-common/dist/store';
3
3
  export interface IframeMessage {
4
4
  event: string;
@@ -27,7 +27,7 @@ export declare function initIframeMode({ businesses, user, token, country }: {
27
27
  businesses: FmpBusiness[];
28
28
  user: FeedMeUser;
29
29
  token: string;
30
- country?: CountryCode;
30
+ country?: F_COUNTRY;
31
31
  }): void;
32
32
  export declare const iframeMode: import("vue").Ref<boolean, boolean>;
33
33
  export declare function useIframeMode(): {
@@ -1,4 +1,4 @@
1
- import "./app-CruHLH1e.js";
1
+ import "./app-BbMejD6B.js";
2
2
  function m(a) {
3
3
  function t(o, n = !0) {
4
4
  const e = Math.round(Math.log10(o));
@@ -1,10 +1,10 @@
1
- import { a3 as Ae, a as q, T as Ie, ak as M, s as De, al as he, v as ve, u as Z, j as B, w as Oe, aN as ce, x as ge, b as te, t as G, Y as J, aM as Fe, aE as Pe, a0 as Ue, y as Me, z as Be, am as Le, e as me, f as re, R as ue, a2 as Qe, ai as He, D as j, i as I, h as Ve } from "./app-CruHLH1e.js";
1
+ import { a3 as Ae, a as q, T as Ie, ak as M, s as De, al as he, v as ve, u as Z, j as B, w as Oe, aN as ce, x as ge, b as te, t as G, Y as J, aM as Fe, aE as Pe, a0 as Ue, y as Me, z as Be, am as Le, e as me, f as re, R as ue, a2 as Qe, ai as He, D as j, i as I, h as Ve } from "./app-BbMejD6B.js";
2
2
  import { useCoreStore as ne, useI18n as oe } from "@feedmepos/mf-common";
3
3
  import { useDialogChild as qe, useSnackbar as be, useDialog as je, FmButtonVariant as z, components as X } from "@feedmepos/ui-library";
4
4
  import { defineStore as xe } from "pinia";
5
5
  import { defineComponent as ae, resolveComponent as Q, openBlock as _, createElementBlock as k, createElementVNode as C, normalizeClass as H, createTextVNode as ze, toDisplayString as D, unref as A, createCommentVNode as V, createVNode as P, withCtx as ee, Fragment as L, renderList as K, ref as N, onMounted as Ye, computed as de, watch as Ke, createSlots as We, createBlock as Y, h as W } from "vue";
6
6
  import { useRouter as Ge } from "vue-router";
7
- import { u as se } from "./supplier-CTVE1lHO.js";
7
+ import { u as se } from "./supplier-BRRCoi_n.js";
8
8
  const Te = Ae((e, t) => {
9
9
  function s() {
10
10
  var o;
@@ -1,8 +1,7 @@
1
- import type { FdoDinero } from '@feedmepos/core/entity';
2
- import { CountryCode } from './codes';
1
+ import type { F_COUNTRY, FdoDinero } from '@feedmepos/core/entity';
3
2
  export type CountryInfo = {
4
- code: CountryCode;
3
+ code: F_COUNTRY;
5
4
  name: string;
6
5
  currency: FdoDinero['currency'];
7
6
  };
8
- export declare function getCodeAndName(country: CountryCode): CountryInfo | null;
7
+ export declare function getCodeAndName(country: F_COUNTRY): CountryInfo | null;
@@ -1,263 +1,14 @@
1
- import type { FdoDinero } from '@feedmepos/core/entity';
2
- import { CountryCode } from './core/country/codes';
1
+ import { F_COUNTRY, FdoDinero } from '@feedmepos/core/entity';
3
2
  export interface Country {
4
3
  name: string;
5
- code: CountryCode;
4
+ code: F_COUNTRY;
6
5
  currency: FdoDinero['currency'];
7
6
  }
8
- export declare const supportedCountries: {
9
- AF?: Country | undefined;
10
- AX?: Country | undefined;
11
- AL?: Country | undefined;
12
- DZ?: Country | undefined;
13
- AS?: Country | undefined;
14
- AD?: Country | undefined;
15
- AO?: Country | undefined;
16
- AI?: Country | undefined;
17
- AQ?: Country | undefined;
18
- AG?: Country | undefined;
19
- AR?: Country | undefined;
20
- AM?: Country | undefined;
21
- AW?: Country | undefined;
22
- AU?: Country | undefined;
23
- AT?: Country | undefined;
24
- AZ?: Country | undefined;
25
- BS?: Country | undefined;
26
- BH?: Country | undefined;
27
- BD?: Country | undefined;
28
- BB?: Country | undefined;
29
- BY?: Country | undefined;
30
- BE?: Country | undefined;
31
- BZ?: Country | undefined;
32
- BJ?: Country | undefined;
33
- BM?: Country | undefined;
34
- BT?: Country | undefined;
35
- BO?: Country | undefined;
36
- BQ?: Country | undefined;
37
- BA?: Country | undefined;
38
- BW?: Country | undefined;
39
- BV?: Country | undefined;
40
- BR?: Country | undefined;
41
- IO?: Country | undefined;
42
- BN?: Country | undefined;
43
- BG?: Country | undefined;
44
- BF?: Country | undefined;
45
- BI?: Country | undefined;
46
- KH?: Country | undefined;
47
- CM?: Country | undefined;
48
- CA?: Country | undefined;
49
- CV?: Country | undefined;
50
- KY?: Country | undefined;
51
- CF?: Country | undefined;
52
- TD?: Country | undefined;
53
- CL?: Country | undefined;
54
- CN?: Country | undefined;
55
- CX?: Country | undefined;
56
- CC?: Country | undefined;
57
- CO?: Country | undefined;
58
- KM?: Country | undefined;
59
- CG?: Country | undefined;
60
- CD?: Country | undefined;
61
- CK?: Country | undefined;
62
- CR?: Country | undefined;
63
- CI?: Country | undefined;
64
- HR?: Country | undefined;
65
- CU?: Country | undefined;
66
- CW?: Country | undefined;
67
- CY?: Country | undefined;
68
- CZ?: Country | undefined;
69
- DK?: Country | undefined;
70
- DJ?: Country | undefined;
71
- DM?: Country | undefined;
72
- DO?: Country | undefined;
73
- EC?: Country | undefined;
74
- EG?: Country | undefined;
75
- SV?: Country | undefined;
76
- GQ?: Country | undefined;
77
- ER?: Country | undefined;
78
- EE?: Country | undefined;
79
- ET?: Country | undefined;
80
- FK?: Country | undefined;
81
- FO?: Country | undefined;
82
- FJ?: Country | undefined;
83
- FI?: Country | undefined;
84
- FR?: Country | undefined;
85
- GF?: Country | undefined;
86
- PF?: Country | undefined;
87
- TF?: Country | undefined;
88
- GA?: Country | undefined;
89
- GM?: Country | undefined;
90
- GE?: Country | undefined;
91
- DE?: Country | undefined;
92
- GH?: Country | undefined;
93
- GI?: Country | undefined;
94
- GR?: Country | undefined;
95
- GL?: Country | undefined;
96
- GD?: Country | undefined;
97
- GP?: Country | undefined;
98
- GU?: Country | undefined;
99
- GT?: Country | undefined;
100
- GG?: Country | undefined;
101
- GN?: Country | undefined;
102
- GW?: Country | undefined;
103
- GY?: Country | undefined;
104
- HT?: Country | undefined;
105
- HM?: Country | undefined;
106
- VA?: Country | undefined;
107
- HN?: Country | undefined;
108
- HK?: Country | undefined;
109
- HU?: Country | undefined;
110
- IS?: Country | undefined;
111
- IN?: Country | undefined;
112
- ID?: Country | undefined;
113
- IR?: Country | undefined;
114
- IQ?: Country | undefined;
115
- IE?: Country | undefined;
116
- IM?: Country | undefined;
117
- IL?: Country | undefined;
118
- IT?: Country | undefined;
119
- JM?: Country | undefined;
120
- JP?: Country | undefined;
121
- JE?: Country | undefined;
122
- JO?: Country | undefined;
123
- KZ?: Country | undefined;
124
- KE?: Country | undefined;
125
- KI?: Country | undefined;
126
- KR?: Country | undefined;
127
- KP?: Country | undefined;
128
- KW?: Country | undefined;
129
- KG?: Country | undefined;
130
- LA?: Country | undefined;
131
- LV?: Country | undefined;
132
- LB?: Country | undefined;
133
- LS?: Country | undefined;
134
- LR?: Country | undefined;
135
- LY?: Country | undefined;
136
- LI?: Country | undefined;
137
- LT?: Country | undefined;
138
- LU?: Country | undefined;
139
- MO?: Country | undefined;
140
- MK?: Country | undefined;
141
- MG?: Country | undefined;
142
- MW?: Country | undefined;
143
- MY?: Country | undefined;
144
- MV?: Country | undefined;
145
- ML?: Country | undefined;
146
- MT?: Country | undefined;
147
- MH?: Country | undefined;
148
- MQ?: Country | undefined;
149
- MR?: Country | undefined;
150
- MU?: Country | undefined;
151
- YT?: Country | undefined;
152
- MX?: Country | undefined;
153
- FM?: Country | undefined;
154
- MD?: Country | undefined;
155
- MC?: Country | undefined;
156
- MN?: Country | undefined;
157
- ME?: Country | undefined;
158
- MS?: Country | undefined;
159
- MA?: Country | undefined;
160
- MZ?: Country | undefined;
161
- MM?: Country | undefined;
162
- NA?: Country | undefined;
163
- NR?: Country | undefined;
164
- NP?: Country | undefined;
165
- NL?: Country | undefined;
166
- NC?: Country | undefined;
167
- NZ?: Country | undefined;
168
- NI?: Country | undefined;
169
- NE?: Country | undefined;
170
- NG?: Country | undefined;
171
- NU?: Country | undefined;
172
- NF?: Country | undefined;
173
- MP?: Country | undefined;
174
- NO?: Country | undefined;
175
- OM?: Country | undefined;
176
- PK?: Country | undefined;
177
- PW?: Country | undefined;
178
- PS?: Country | undefined;
179
- PA?: Country | undefined;
180
- PG?: Country | undefined;
181
- PY?: Country | undefined;
182
- PE?: Country | undefined;
183
- PH?: Country | undefined;
184
- PN?: Country | undefined;
185
- PL?: Country | undefined;
186
- PT?: Country | undefined;
187
- PR?: Country | undefined;
188
- QA?: Country | undefined;
189
- RE?: Country | undefined;
190
- RO?: Country | undefined;
191
- RU?: Country | undefined;
192
- RW?: Country | undefined;
193
- BL?: Country | undefined;
194
- SH?: Country | undefined;
195
- KN?: Country | undefined;
196
- LC?: Country | undefined;
197
- MF?: Country | undefined;
198
- PM?: Country | undefined;
199
- VC?: Country | undefined;
200
- WS?: Country | undefined;
201
- SM?: Country | undefined;
202
- ST?: Country | undefined;
203
- SA?: Country | undefined;
204
- SN?: Country | undefined;
205
- RS?: Country | undefined;
206
- SC?: Country | undefined;
207
- SL?: Country | undefined;
208
- SG?: Country | undefined;
209
- SX?: Country | undefined;
210
- SK?: Country | undefined;
211
- SI?: Country | undefined;
212
- SB?: Country | undefined;
213
- SO?: Country | undefined;
214
- ZA?: Country | undefined;
215
- GS?: Country | undefined;
216
- SS?: Country | undefined;
217
- ES?: Country | undefined;
218
- LK?: Country | undefined;
219
- SD?: Country | undefined;
220
- SR?: Country | undefined;
221
- SJ?: Country | undefined;
222
- SZ?: Country | undefined;
223
- SE?: Country | undefined;
224
- CH?: Country | undefined;
225
- SY?: Country | undefined;
226
- TW?: Country | undefined;
227
- TJ?: Country | undefined;
228
- TZ?: Country | undefined;
229
- TH?: Country | undefined;
230
- TL?: Country | undefined;
231
- TG?: Country | undefined;
232
- TK?: Country | undefined;
233
- TO?: Country | undefined;
234
- TT?: Country | undefined;
235
- TN?: Country | undefined;
236
- TR?: Country | undefined;
237
- TM?: Country | undefined;
238
- TC?: Country | undefined;
239
- TV?: Country | undefined;
240
- UG?: Country | undefined;
241
- UA?: Country | undefined;
242
- AE?: Country | undefined;
243
- GB?: Country | undefined;
244
- US?: Country | undefined;
245
- UM?: Country | undefined;
246
- UY?: Country | undefined;
247
- UZ?: Country | undefined;
248
- VU?: Country | undefined;
249
- VE?: Country | undefined;
250
- VN?: Country | undefined;
251
- VG?: Country | undefined;
252
- VI?: Country | undefined;
253
- WF?: Country | undefined;
254
- EH?: Country | undefined;
255
- YE?: Country | undefined;
256
- ZM?: Country | undefined;
257
- ZW?: Country | undefined;
7
+ export declare function getSupportedCountries(): {
8
+ [x: string]: Country;
258
9
  };
259
10
  export declare function getCurrencyByCountry(country?: string): "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";
260
- export declare function getCountryByCode(code?: CountryCode): Country;
261
- export declare const defaultCountry = CountryCode.MY;
11
+ export declare function getCountryByCode(code?: F_COUNTRY): Country;
12
+ export declare const defaultCountry: string;
262
13
  export declare function getCurrency(): "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";
263
14
  export declare function getFormattedCurrency(): "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" | "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" | "RM";
@@ -1,5 +1,5 @@
1
1
  import { ref as b, computed as u } from "vue";
2
- import { u as d, b1 as p, aU as v, c as m, b as h } from "./app-CruHLH1e.js";
2
+ import { u as d, b2 as p, aU as v, c as m, b as h } from "./app-BbMejD6B.js";
3
3
  import { useSnackbar as E } from "@feedmepos/ui-library";
4
4
  function I() {
5
5
  return {
@@ -1,4 +1,4 @@
1
- import { b0 as x, b7 as V, b8 as q, b9 as Re, ba as cl, bb as sr, bc as Lt, bd as fl, be as $l } from "./app-CruHLH1e.js";
1
+ import { b1 as x, b8 as V, b9 as q, ba as Re, bb as cl, bc as sr, bd as Lt, be as fl, bf as $l } from "./app-BbMejD6B.js";
2
2
  function vl(t, e) {
3
3
  for (var r = 0; r < e.length; r++) {
4
4
  const n = e[r];
@@ -1,4 +1,4 @@
1
- import { a3 as m, u as k, a as l, au as B, T as p } from "./app-CruHLH1e.js";
1
+ import { a3 as m, u as k, a as l, au as B, T as p } from "./app-BbMejD6B.js";
2
2
  import { useCoreStore as v } from "@feedmepos/mf-common";
3
3
  import { useSnackbar as $ } from "@feedmepos/ui-library";
4
4
  import { ref as y, computed as b } from "vue";
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .fm-droppable-field[data-v-2937afd0]{display:flex;flex-direction:column;gap:4px}.fm-droppable-field__container[data-v-2937afd0]{position:relative;background-color:var(--fm-color-neutral-white);padding:12px;border-radius:8px;border-width:2px;border-style:dashed;border-color:var(--fm-color-neutral-gray-300);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.fm-droppable-field__container--disabled[data-v-2937afd0]{cursor:not-allowed;color:var(--fm-color-neutral-gray-200);border-color:var(--fm-color-neutral-gray-200)}.fm-droppable-field__container--dragging[data-v-2937afd0]{border-color:var(--fm-color-primary)}.fm-droppable-field__container--invalid[data-v-2937afd0]{border-color:var(--fm-color-system-red-300)}.fm-droppable-field__container[data-v-2937afd0]:hover:not(.fm-droppable-field__container--disabled){border-color:var(--fm-color-neutral-gray-400)}.fm-droppable-field__input[data-v-2937afd0]{cursor:pointer;opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.fm-droppable-field__input[data-v-2937afd0]:disabled{display:none;cursor:not-allowed}.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-enter-active[data-v-cff1dd22],.fade-leave-active[data-v-cff1dd22]{transition:opacity .25s ease}.fade-enter[data-v-cff1dd22],.fade-leave-to[data-v-cff1dd22]{opacity:0}.fm-forecast-notification-low{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-forecast-notification-mid{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-forecast-notification-high{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-forecast-notification-indicator{display:inline-block;height:12px;width:12px;border-radius:9999px}.fm-forecast-notification-indicator-low{background-color:var(--fm-color-system-red-400)}.fm-forecast-notification-indicator-mid{background-color:var(--fm-color-system-orange-400)}.fm-forecast-notification-indicator-high{background-color:var(--fm-color-system-green-400)}.fm-admin-badge[data-v-a87b0da7]{pointer-events:none;opacity:.8;display:flex;align-items:center;justify-content:center;border-radius:360px;background-color:var(--fm-color-system-red-300);color:var(--fm-color-neutral-white)}.map-button[data-v-272f5e8b]{border-top-width:1px;border-top-color:var(--fm-color-neutral-gray-200);color:var(--fm-color-neutral-gray-400);padding:.2rem 1rem;border-radius:8px}table[data-v-3cb85541]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-3cb85541],table th[data-v-3cb85541]{padding:3px 5px;vertical-align:top}hr[data-v-3cb85541]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-3cb85541]{text-align:left}.text-right[data-v-3cb85541]{text-align:right}.purchase-box[data-v-3cb85541]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-3cb85541]{padding-bottom:0;font-size:30px;color:#333}.header[data-v-3cb85541]{font-weight:600;color:#333}.sub-header[data-v-3cb85541]{font-size:18px;color:#333}.caption[data-v-3cb85541]{font-size:14px;color:#666}.address[data-v-3cb85541]{font-size:16px;line-height:1.2;color:#666}.purchase-body[data-v-3cb85541]{margin-top:30px}.item-header[data-v-3cb85541]{border:0px;background:#ccc;color:#444}table[data-v-805a706a]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-805a706a],table th[data-v-805a706a]{padding:3px 5px;vertical-align:top}hr[data-v-805a706a]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-805a706a]{text-align:left}.text-right[data-v-805a706a]{text-align:right}.purchase-box[data-v-805a706a]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-805a706a]{padding-bottom:0;font-size:32px;color:#333}.subtitle[data-v-805a706a]{padding-bottom:0;font-size:25px;color:#333}.header[data-v-805a706a]{font-weight:600;color:#333}.sub-header[data-v-805a706a]{font-size:18px;color:#333}.caption[data-v-805a706a]{font-size:14px;color:#666}.address[data-v-805a706a]{font-size:14px;line-height:1.2;color:#666}.purchase-body[data-v-805a706a]{margin-top:30px}.item-header[data-v-805a706a]{border:0px;background:#ccc;color:#444}.logo[data-v-805a706a]{max-width:100%;height:100px;-o-object-fit:contain;object-fit:contain}img[data-v-805a706a]{width:100px;height:100px;-o-object-fit:contain;object-fit:contain}.fm-status-badge{font-size:.875rem;font-weight:600;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;border-radius:8px;display:flex;align-items:center;padding-left:8px;padding-right:8px;min-height:24px}.fm-status-badge-draft{background-color:var(--fm-color-neutral-gray-100);color:var(--fm-color-neutral-gray-500)}.fm-status-badge-receiving,.fm-status-badge-partial_received{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-cancel{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-status-badge-close,.fm-status-badge-complete{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-processing,.fm-status-badge-requesting{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-status-badge-transfer-info,.fm-status-badge-info-secondary{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-success-secondary{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-error{border-width:2px;--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}@media print{.print-mode .overflow-auto{overflow:visible!important}}
1
+ .fm-droppable-field[data-v-2937afd0]{display:flex;flex-direction:column;gap:4px}.fm-droppable-field__container[data-v-2937afd0]{position:relative;background-color:var(--fm-color-neutral-white);padding:12px;border-radius:8px;border-width:2px;border-style:dashed;border-color:var(--fm-color-neutral-gray-300);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.fm-droppable-field__container--disabled[data-v-2937afd0]{cursor:not-allowed;color:var(--fm-color-neutral-gray-200);border-color:var(--fm-color-neutral-gray-200)}.fm-droppable-field__container--dragging[data-v-2937afd0]{border-color:var(--fm-color-primary)}.fm-droppable-field__container--invalid[data-v-2937afd0]{border-color:var(--fm-color-system-red-300)}.fm-droppable-field__container[data-v-2937afd0]:hover:not(.fm-droppable-field__container--disabled){border-color:var(--fm-color-neutral-gray-400)}.fm-droppable-field__input[data-v-2937afd0]{cursor:pointer;opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.fm-droppable-field__input[data-v-2937afd0]:disabled{display:none;cursor:not-allowed}.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-enter-active[data-v-cff1dd22],.fade-leave-active[data-v-cff1dd22]{transition:opacity .25s ease}.fade-enter[data-v-cff1dd22],.fade-leave-to[data-v-cff1dd22]{opacity:0}.fm-forecast-notification-low{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-forecast-notification-mid{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-forecast-notification-high{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-forecast-notification-indicator{display:inline-block;height:12px;width:12px;border-radius:9999px}.fm-forecast-notification-indicator-low{background-color:var(--fm-color-system-red-400)}.fm-forecast-notification-indicator-mid{background-color:var(--fm-color-system-orange-400)}.fm-forecast-notification-indicator-high{background-color:var(--fm-color-system-green-400)}.fm-admin-badge[data-v-6c7eab6a]{pointer-events:none;opacity:.9;display:flex;align-items:center;justify-content:center;border-radius:360px;--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.map-button[data-v-272f5e8b]{border-top-width:1px;border-top-color:var(--fm-color-neutral-gray-200);color:var(--fm-color-neutral-gray-400);padding:.2rem 1rem;border-radius:8px}table[data-v-3cb85541]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-3cb85541],table th[data-v-3cb85541]{padding:3px 5px;vertical-align:top}hr[data-v-3cb85541]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-3cb85541]{text-align:left}.text-right[data-v-3cb85541]{text-align:right}.purchase-box[data-v-3cb85541]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-3cb85541]{padding-bottom:0;font-size:30px;color:#333}.header[data-v-3cb85541]{font-weight:600;color:#333}.sub-header[data-v-3cb85541]{font-size:18px;color:#333}.caption[data-v-3cb85541]{font-size:14px;color:#666}.address[data-v-3cb85541]{font-size:16px;line-height:1.2;color:#666}.purchase-body[data-v-3cb85541]{margin-top:30px}.item-header[data-v-3cb85541]{border:0px;background:#ccc;color:#444}table[data-v-805a706a]{width:100%;border-spacing:unset;line-height:inherit}table td[data-v-805a706a],table th[data-v-805a706a]{padding:3px 5px;vertical-align:top}hr[data-v-805a706a]{border-collapse:unset;background:#888;height:2px;border:0px}.text-left[data-v-805a706a]{text-align:left}.text-right[data-v-805a706a]{text-align:right}.purchase-box[data-v-805a706a]{max-width:800px;margin:auto;padding:30px;border:1px solid #eee;box-shadow:0 0 10px #00000026;font-size:16px;line-height:1.5;font-family:Helvetica Neue,Helvetica,Helvetica,Arial,sans-serif;color:#555}.title[data-v-805a706a]{padding-bottom:0;font-size:32px;color:#333}.subtitle[data-v-805a706a]{padding-bottom:0;font-size:25px;color:#333}.header[data-v-805a706a]{font-weight:600;color:#333}.sub-header[data-v-805a706a]{font-size:18px;color:#333}.caption[data-v-805a706a]{font-size:14px;color:#666}.address[data-v-805a706a]{font-size:14px;line-height:1.2;color:#666}.purchase-body[data-v-805a706a]{margin-top:30px}.item-header[data-v-805a706a]{border:0px;background:#ccc;color:#444}.logo[data-v-805a706a]{max-width:100%;height:100px;-o-object-fit:contain;object-fit:contain}img[data-v-805a706a]{width:100px;height:100px;-o-object-fit:contain;object-fit:contain}.fm-status-badge{font-size:.875rem;font-weight:600;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;border-radius:8px;display:flex;align-items:center;padding-left:8px;padding-right:8px;min-height:24px}.fm-status-badge-draft{background-color:var(--fm-color-neutral-gray-100);color:var(--fm-color-neutral-gray-500)}.fm-status-badge-receiving,.fm-status-badge-partial_received{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-cancel{background-color:var(--fm-color-system-red-100);color:var(--fm-color-system-red-400)}.fm-status-badge-close,.fm-status-badge-complete{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-processing,.fm-status-badge-requesting{background-color:var(--fm-color-system-orange-100);color:var(--fm-color-system-orange-400)}.fm-status-badge-transfer-info,.fm-status-badge-info-secondary{background-color:var(--fm-color-system-blue-100);color:var(--fm-color-system-blue-400)}.fm-status-badge-success-secondary{background-color:var(--fm-color-system-green-100);color:var(--fm-color-system-green-400)}.fm-status-badge-error{border-width:2px;--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}@media print{.print-mode .overflow-auto{overflow:visible!important}}
@@ -1,4 +1,4 @@
1
- import { a3 as m, u, c as b, w, av as v, aw as $ } from "./app-CruHLH1e.js";
1
+ import { a3 as m, u, c as b, w, av as v, aw as $ } from "./app-BbMejD6B.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  import { defineStore as A } from "pinia";
4
4
  import { ref as l, computed as d } from "vue";