@feedmepos/mf-inventory-portal 1.2.0 → 1.2.2-dev.1

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 (107) hide show
  1. package/dist/{App-Bs0pR0sL.js → App-C9XQOsrP.js} +1 -1
  2. package/dist/{ApprovalView-Dr-qd_Ai.js → ApprovalView-1GBi8VK8.js} +2 -2
  3. package/dist/{BindingsDialog-Chh00-83.js → BindingsDialog-D1jgrgHp.js} +2 -2
  4. package/dist/{BindingsPicker-DCTGJ8eM.js → BindingsPicker-BWpkVmRH.js} +1 -1
  5. package/dist/{BindingsTable-BsDs5d0V.js → BindingsTable-C3a5rQsU.js} +1 -1
  6. package/dist/{ClosingDraftView-Dyr4hrHk.js → ClosingDraftView-M1VZ7Ubp.js} +2 -2
  7. package/dist/{ClosingTemplateView-Dw0Lld6E.js → ClosingTemplateView-ubVOShkx.js} +2 -2
  8. package/dist/{DeliveryOrderPrintPreview-CrH9UVdW.js → DeliveryOrderPrintPreview-D8k7olwU.js} +1 -1
  9. package/dist/{FmAdminBadge-BUJh40aj.js → FmAdminBadge-BFDkedmh.js} +1 -1
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B-p9ffPK.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BzWLBxUC.js} +3 -3
  11. package/dist/{FmMultiselectDialog-ypgaHejh.js → FmMultiselectDialog-DZlmvlH-.js} +1 -1
  12. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DJctVhvZ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-qJ57T17v.js} +1 -1
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-D59M4Bl1.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BmWJSWWs.js} +1 -1
  14. package/dist/{IngredientGroupView-Cf9ePE7_.js → IngredientGroupView-Lc4juIpn.js} +2 -2
  15. package/dist/{IngredientsView-61WfWyGy.js → IngredientsView-B7ilCUo1.js} +4 -4
  16. package/dist/{IntegrationView-DEDn2mc5.js → IntegrationView-CBbQi9eX.js} +3 -3
  17. package/dist/{InventoryBindingForm-AB8rum4-.js → InventoryBindingForm-BYDnLY-B.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BgZt_9h1.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DB_91rQK.js} +3 -3
  19. package/dist/{InventoryBindingSummary-CWOG5DIz.js → InventoryBindingSummary-CLk6_myJ.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CmN30iEZ.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-TERMQx9m.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C1cUDp0u.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DMS_1RZd.js} +1 -1
  22. package/dist/{PublishView-FHyjjevA.js → PublishView-BzYVIzVH.js} +1 -1
  23. package/dist/{PurchaseOrderPrintPreview-BPvvkjkR.js → PurchaseOrderPrintPreview-DkhYCWlU.js} +1 -1
  24. package/dist/{ReceiveRequestView-CoWU2g0R.js → ReceiveRequestView-DYfMcV1P.js} +8 -8
  25. package/dist/{RecipeView-CznjQMrS.js → RecipeView-0v-PiaZL.js} +3 -3
  26. package/dist/{StockView-N-84Q5Ih.js → StockView-DmVv6yZd.js} +214 -213
  27. package/dist/{SupplierView-CJG2Idbl.js → SupplierView-EFvZjuXh.js} +3 -3
  28. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BmU-VLNN.js → TransferDetails.vue_vue_type_script_setup_true_lang-B7Y2vAlL.js} +6 -6
  29. package/dist/{TransferTemplateView-DZnPt5b5.js → TransferTemplateView-B6dh3lAb.js} +6 -6
  30. package/dist/{UnitView-BrLjAWNq.js → UnitView-Dwg-DzVw.js} +3 -3
  31. package/dist/{WarehouseView-CI-RuaPq.js → WarehouseView-DL0AMn3R.js} +1 -1
  32. package/dist/api/bill.d.ts +140 -2
  33. package/dist/api/food-market-hub.d.ts +1 -1
  34. package/dist/api/inventory.d.ts +18 -18
  35. package/dist/api/netsuite.d.ts +17 -17
  36. package/dist/{app-B6mXF-3v.js → app-D6kqZa_9.js} +58812 -57829
  37. package/dist/app.d.ts +11 -8
  38. package/dist/app.js +1 -1
  39. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +7 -7
  40. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
  41. package/dist/components/shell/inventory/binding-ui.vue.d.ts +4 -4
  42. package/dist/composable/useIframe.d.ts +2 -2
  43. package/dist/{decimal-DErYDfEJ.js → decimal-eRlOd74V.js} +1 -1
  44. package/dist/{format-unit-display-BtjJtmQp.js → format-unit-display-CYusbGmI.js} +2 -2
  45. package/dist/helper/core/country/utils.d.ts +3 -4
  46. package/dist/helper/country.d.ts +6 -255
  47. package/dist/{index-CvfUsVdt.js → index-BxmvJ-ui.js} +1 -1
  48. package/dist/{index-lj4ClRIU.js → index-khYeCDt1.js} +1 -1
  49. package/dist/{stock-CIpuon0m.js → stock-B0suhBSW.js} +1 -1
  50. package/dist/stores/integration/foodmarkethub.d.ts +1 -1
  51. package/dist/stores/integration/netsuite.d.ts +9 -9
  52. package/dist/stores/inventory.d.ts +37 -37
  53. package/dist/stores/supplier.d.ts +24 -24
  54. package/dist/stores/warehouse.d.ts +2 -1
  55. package/dist/{supplier-D_2yzArc.js → supplier-JDcv1lRx.js} +1 -1
  56. package/dist/tsconfig.app.tsbuildinfo +1 -1
  57. package/dist/{use-ingredient-select-dialog-C9iEMCVA.js → use-ingredient-select-dialog-w6dHX9B4.js} +1 -1
  58. package/dist/{use-inventory-binding-dialog-CavX3SFd.js → use-inventory-binding-dialog--7QT5_-Q.js} +1 -1
  59. package/dist/views/adjustment-template/wastage-template/actions.d.ts +12 -12
  60. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +2 -2
  61. package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +1 -1
  62. package/dist/views/adjustment-template/wastage-template/table.d.ts +12 -12
  63. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +32 -32
  64. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +96 -96
  65. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +3 -3
  66. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +36 -36
  67. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
  68. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
  69. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +6 -6
  70. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +4 -4
  71. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +3 -3
  72. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
  73. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
  74. package/dist/views/integration/components/netsuite/InventoryTransfer.vue.d.ts +2 -2
  75. package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +10 -10
  76. package/dist/views/integration/components/netsuite/PurchaseOrder.vue.d.ts +2 -2
  77. package/dist/views/integration/components/netsuite/TransferOrder.vue.d.ts +2 -2
  78. package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +6 -6
  79. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -2
  80. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +94 -94
  81. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +10 -10
  82. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +20 -20
  83. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +5 -5
  84. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +22 -22
  85. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +135 -135
  86. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +157 -157
  87. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
  88. package/dist/views/stock/components/StockRecordCard.vue.d.ts +70 -1
  89. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +10 -10
  90. package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +4 -4
  91. package/dist/views/supplier/components/SupplierForm.vue.d.ts +2 -2
  92. package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +2 -2
  93. package/dist/views/supplier/composables/use-supplier-table.d.ts +1 -1
  94. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +12 -12
  95. package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +8 -8
  96. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +10 -10
  97. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
  98. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +5 -5
  99. package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +15 -15
  100. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +72 -72
  101. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +72 -72
  102. package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +2 -2
  103. package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +2 -2
  104. package/dist/views/unit/composables/use-unit-table.d.ts +1 -1
  105. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +4 -2
  106. package/package.json +3 -3
  107. package/dist/helper/core/country/codes.d.ts +0 -255
package/dist/app.d.ts CHANGED
@@ -97,6 +97,7 @@ export declare const i18nMessages: {
97
97
  stock_balance: {
98
98
  title: string;
99
99
  refreshBalance: string;
100
+ refreshBalanceDescription: string;
100
101
  };
101
102
  title: string;
102
103
  code: string;
@@ -978,6 +979,7 @@ export declare const i18nMessages: {
978
979
  stock_balance: {
979
980
  title: string;
980
981
  refreshBalance: string;
982
+ refreshBalanceDescription: string;
981
983
  };
982
984
  title: string;
983
985
  code: string;
@@ -1954,6 +1956,7 @@ export declare const i18nMessages: {
1954
1956
  stock_balance: {
1955
1957
  title: string;
1956
1958
  refreshBalance: string;
1959
+ refreshBalanceDescription: string;
1957
1960
  };
1958
1961
  title: string;
1959
1962
  code: string;
@@ -3371,8 +3374,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
3371
3374
  rules: {
3372
3375
  type: import("vue").PropType<(import("@feedmepos/ui-library").ValidationResult | ((bindings: {
3373
3376
  measurement?: {
3374
- id: string;
3375
3377
  name: string;
3378
+ id: string;
3376
3379
  abbrev: string;
3377
3380
  conversion: {
3378
3381
  amount: number;
@@ -3397,8 +3400,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
3397
3400
  modelValue: {
3398
3401
  type: import("vue").PropType<{
3399
3402
  measurement?: {
3400
- id: string;
3401
3403
  name: string;
3404
+ id: string;
3402
3405
  abbrev: string;
3403
3406
  conversion: {
3404
3407
  amount: number;
@@ -3426,8 +3429,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
3426
3429
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3427
3430
  "update:modelValue": (bindings: {
3428
3431
  measurement?: {
3429
- id: string;
3430
3432
  name: string;
3433
+ id: string;
3431
3434
  abbrev: string;
3432
3435
  conversion: {
3433
3436
  amount: number;
@@ -3449,8 +3452,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
3449
3452
  rules: {
3450
3453
  type: import("vue").PropType<(import("@feedmepos/ui-library").ValidationResult | ((bindings: {
3451
3454
  measurement?: {
3452
- id: string;
3453
3455
  name: string;
3456
+ id: string;
3454
3457
  abbrev: string;
3455
3458
  conversion: {
3456
3459
  amount: number;
@@ -3475,8 +3478,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
3475
3478
  modelValue: {
3476
3479
  type: import("vue").PropType<{
3477
3480
  measurement?: {
3478
- id: string;
3479
3481
  name: string;
3482
+ id: string;
3480
3483
  abbrev: string;
3481
3484
  conversion: {
3482
3485
  amount: number;
@@ -3504,8 +3507,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
3504
3507
  }>> & Readonly<{
3505
3508
  "onUpdate:modelValue"?: ((bindings: {
3506
3509
  measurement?: {
3507
- id: string;
3508
3510
  name: string;
3511
+ id: string;
3509
3512
  abbrev: string;
3510
3513
  conversion: {
3511
3514
  amount: number;
@@ -3523,8 +3526,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
3523
3526
  }>, {
3524
3527
  rules: (import("@feedmepos/ui-library").ValidationResult | ((bindings: {
3525
3528
  measurement?: {
3526
- id: string;
3527
3529
  name: string;
3530
+ id: string;
3528
3531
  abbrev: string;
3529
3532
  conversion: {
3530
3533
  amount: number;
@@ -3540,8 +3543,8 @@ export declare const InventoryBindingForm: import("vue").DefineComponent<import(
3540
3543
  }[]) => import("@feedmepos/ui-library").ValidationResult))[];
3541
3544
  modelValue: {
3542
3545
  measurement?: {
3543
- id: string;
3544
3546
  name: string;
3547
+ id: string;
3545
3548
  abbrev: string;
3546
3549
  conversion: {
3547
3550
  amount: number;
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-B6mXF-3v.js";
2
+ import { bg as a, bh as e, bi as o, bf as i, bj as t, a as m } from "./app-D6kqZa_9.js";
3
3
  export {
4
4
  a as FmApp,
5
5
  e as InventoryBindingForm,
@@ -6,8 +6,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
6
6
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  "update:modelValue": (modelValue: {
8
8
  measurement?: {
9
- id: string;
10
9
  name: string;
10
+ id: string;
11
11
  abbrev: string;
12
12
  conversion: {
13
13
  amount: number;
@@ -28,8 +28,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
28
28
  }>>> & Readonly<{
29
29
  "onUpdate:modelValue"?: ((modelValue: {
30
30
  measurement?: {
31
- id: string;
32
31
  name: string;
32
+ id: string;
33
33
  abbrev: string;
34
34
  conversion: {
35
35
  amount: number;
@@ -51,8 +51,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
51
51
  measurement?: string | null | undefined;
52
52
  inventoryBindings?: {
53
53
  measurement?: {
54
- id: string;
55
54
  name: string;
55
+ id: string;
56
56
  abbrev: string;
57
57
  conversion: {
58
58
  amount: number;
@@ -70,8 +70,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
70
70
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
71
71
  defaultCost?: {
72
72
  measurement?: {
73
- id: string;
74
73
  name: string;
74
+ id: string;
75
75
  abbrev: string;
76
76
  conversion: {
77
77
  amount: number;
@@ -99,8 +99,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
99
99
  abbrev: string;
100
100
  precision: number;
101
101
  measurements: {
102
- id: string;
103
102
  name: string;
103
+ id: string;
104
104
  abbrev: string;
105
105
  conversion: {
106
106
  amount: number;
@@ -111,8 +111,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
111
111
  }[];
112
112
  modelValue: {
113
113
  measurement?: {
114
- id: string;
115
114
  name: string;
115
+ id: string;
116
116
  abbrev: string;
117
117
  conversion: {
118
118
  amount: number;
@@ -132,8 +132,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
132
132
  name: string;
133
133
  contains: {
134
134
  measurement?: {
135
- id: string;
136
135
  name: string;
136
+ id: string;
137
137
  abbrev: string;
138
138
  conversion: {
139
139
  amount: number;
@@ -14,8 +14,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
14
14
  initialValue: {
15
15
  type: PropType<{
16
16
  measurement?: {
17
- id: string;
18
17
  name: string;
18
+ id: string;
19
19
  abbrev: string;
20
20
  conversion: {
21
21
  amount: number;
@@ -51,8 +51,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
51
51
  initialValue: {
52
52
  type: PropType<{
53
53
  measurement?: {
54
- id: string;
55
54
  name: string;
55
+ id: string;
56
56
  abbrev: string;
57
57
  conversion: {
58
58
  amount: number;
@@ -31,8 +31,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
31
31
  measurement?: string | null | undefined;
32
32
  inventoryBindings?: {
33
33
  measurement?: {
34
- id: string;
35
34
  name: string;
35
+ id: string;
36
36
  abbrev: string;
37
37
  conversion: {
38
38
  amount: number;
@@ -50,8 +50,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
50
50
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
51
51
  defaultCost?: {
52
52
  measurement?: {
53
- id: string;
54
53
  name: string;
54
+ id: string;
55
55
  abbrev: string;
56
56
  conversion: {
57
57
  amount: number;
@@ -79,8 +79,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
79
79
  abbrev: string;
80
80
  precision: number;
81
81
  measurements: {
82
- id: string;
83
82
  name: string;
83
+ id: string;
84
84
  abbrev: string;
85
85
  conversion: {
86
86
  amount: number;
@@ -97,8 +97,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
97
97
  name: string;
98
98
  contains: {
99
99
  measurement?: {
100
- id: string;
101
100
  name: string;
101
+ id: string;
102
102
  abbrev: string;
103
103
  conversion: {
104
104
  amount: number;
@@ -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-B6mXF-3v.js";
1
+ import "./app-D6kqZa_9.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-B6mXF-3v.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-D6kqZa_9.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-D_2yzArc.js";
7
+ import { u as se } from "./supplier-JDcv1lRx.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-B6mXF-3v.js";
2
+ import { u as d, b1 as p, aU as v, c as m, b as h } from "./app-D6kqZa_9.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-B6mXF-3v.js";
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-D6kqZa_9.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-B6mXF-3v.js";
1
+ import { a3 as m, u as k, a as l, au as B, T as p } from "./app-D6kqZa_9.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";
@@ -14,6 +14,7 @@ export declare function useFMHStore(): {
14
14
  readonly state: {
15
15
  setting: {
16
16
  _id: string;
17
+ branchCode: string;
17
18
  enable: boolean;
18
19
  bindings: {
19
20
  combinationKey?: string | null | undefined;
@@ -27,7 +28,6 @@ export declare function useFMHStore(): {
27
28
  }[];
28
29
  exportAsJson: boolean;
29
30
  uniqueCode: string;
30
- branchCode: string;
31
31
  server: {
32
32
  host: string;
33
33
  username: string;