@feedmepos/mf-inventory-portal 1.0.5-dev → 1.0.5

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 (67) hide show
  1. package/dist/{App-HiQFjdJ-.js → App-BC040Les.js} +1 -1
  2. package/dist/{ApprovalView-CynLDEVc.js → ApprovalView-DCvl3a_5.js} +2 -2
  3. package/dist/{BindingsDialog-Bnp9wpfo.js → BindingsDialog-CrVuhZqk.js} +2 -2
  4. package/dist/{BindingsPicker-d0mYW8dg.js → BindingsPicker-lmFa-poh.js} +5 -5
  5. package/dist/{BindingsTable-DTqY2ksc.js → BindingsTable-CT_lSIYf.js} +5 -5
  6. package/dist/{ClosingDraftView-CWioP0pS.js → ClosingDraftView-DRc0FjAS.js} +2 -2
  7. package/dist/{ClosingTemplateView-BQrAl5fV.js → ClosingTemplateView-C_X0J-M4.js} +2 -2
  8. package/dist/{DeliveryOrderPrintPreview-BDF8lY7Y.js → DeliveryOrderPrintPreview-BneNiMcQ.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BN_xp-N6.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BJWjd3-f.js} +3 -3
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BWUrzPyM.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CAEBtWpw.js} +1 -1
  11. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-XhFhN0MD.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BhfVsV9p.js} +1 -1
  12. package/dist/{IngredientGroupView-CyjtkSE4.js → IngredientGroupView-NyW26_DP.js} +1 -1
  13. package/dist/{IngredientsView-DcTIYA5r.js → IngredientsView-BN1jydVe.js} +3 -3
  14. package/dist/IntegrationView-CVbR75fb.js +1197 -0
  15. package/dist/{InventoryBindingForm-dlNXDnnO.js → InventoryBindingForm-Bf52xXaz.js} +1 -1
  16. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BeUd7kC6.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BLCgDC82.js} +3 -3
  17. package/dist/{InventoryBindingSummary-BPvSql2a.js → InventoryBindingSummary-BM48Xk8j.js} +1 -1
  18. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DFofvMkD.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DYSoSSzj.js} +1 -1
  19. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CaBtx2ad.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DjtXgvRo.js} +1 -1
  20. package/dist/{PublishView-4Mh9EtfQ.js → PublishView-C_c9fd-9.js} +2 -2
  21. package/dist/{PurchaseOrderPrintPreview-DFNVxR7Q.js → PurchaseOrderPrintPreview-CmIP1Zpp.js} +1 -1
  22. package/dist/{ReceiveRequestView-DGfyfwbS.js → ReceiveRequestView-DJknUS-e.js} +507 -498
  23. package/dist/{RecipeView-D-M9rodW.js → RecipeView-nzgPP4xb.js} +3 -3
  24. package/dist/{StockView-Dmy2nTn9.js → StockView-DERznopJ.js} +6 -6
  25. package/dist/{SupplierView-dwayUuSs.js → SupplierView-B03zhGGq.js} +3 -3
  26. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DtrWgdXq.js → TransferDetails.vue_vue_type_script_setup_true_lang-D709Nkfi.js} +6 -6
  27. package/dist/{TransferTemplateView-zl-E8FWk.js → TransferTemplateView-HLrkeo9I.js} +6 -6
  28. package/dist/{UnitView-DlgkMRfA.js → UnitView-yMNF61nI.js} +3 -3
  29. package/dist/{WarehouseView-Cwm2w_Li.js → WarehouseView-Cl8O3zEO.js} +1 -1
  30. package/dist/api/closing.d.ts +1 -7
  31. package/dist/api/netsuite.d.ts +0 -82
  32. package/dist/api/stock.d.ts +12 -12
  33. package/dist/{app-7jcARtWe.js → app-ByZGP6to.js} +1993 -2053
  34. package/dist/app.js +1 -1
  35. package/dist/{decimal-Df15BvRp.js → decimal-C6ZIb15B.js} +1 -1
  36. package/dist/{format-unit-display-CEjqAYMQ.js → format-unit-display-Bixr5QQV.js} +2 -2
  37. package/dist/{index-D76OeHWL.js → index-3ud7W_2Y.js} +1 -1
  38. package/dist/index-CoqRZydm.js +84 -0
  39. package/dist/{stock-C2o7RYsv.js → stock-DpKjVgzG.js} +1 -1
  40. package/dist/stores/feature.d.ts +1 -4
  41. package/dist/stores/integration/index.d.ts +0 -1
  42. package/dist/stores/integration/netsuite.d.ts +0 -11
  43. package/dist/stores/inventory.d.ts +12 -12
  44. package/dist/stores/stock.d.ts +12 -12
  45. package/dist/{supplier-DX4BGHJ3.js → supplier-DfKwECUI.js} +1 -1
  46. package/dist/tsconfig.app.tsbuildinfo +1 -1
  47. package/dist/{use-ingredient-select-dialog-BQq-zLGA.js → use-ingredient-select-dialog-Cs5SmNLE.js} +1 -1
  48. package/dist/{use-inventory-binding-dialog-NM2fZkBw.js → use-inventory-binding-dialog-9RGXAtLh.js} +1 -1
  49. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +40 -40
  50. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +240 -240
  51. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +32 -32
  52. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +66 -66
  53. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +66 -66
  54. package/dist/{vue-i18n-BRmzzMWS.js → vue-i18n-DR_smMg1.js} +392 -392
  55. package/package.json +2 -3
  56. package/dist/IntegrationView-Jeh9aw2u.js +0 -2148
  57. package/dist/index-D1mi5w82.js +0 -125
  58. package/dist/stores/integration/xilnex.d.ts +0 -12
  59. package/dist/views/integration/XilnexView.vue.d.ts +0 -2
  60. package/dist/views/integration/components/Xilnex/XilnexOpeningImport.vue.d.ts +0 -2
  61. package/dist/views/integration/components/Xilnex/XilnexProps.d.ts +0 -7
  62. package/dist/views/integration/components/Xilnex/XilnexSideSheet.vue.d.ts +0 -24
  63. package/dist/views/integration/components/Xilnex/importFn.d.ts +0 -16
  64. package/dist/views/integration/components/netsuite/AddLocationDialog.vue.d.ts +0 -1334
  65. package/dist/views/integration/components/netsuite/LocationConfigurationDialog.vue.d.ts +0 -174
  66. package/dist/views/integration/components/netsuite/LocationConfigurationDialogProps.d.ts +0 -16
  67. package/dist/views/integration/components/netsuite/NetSuiteLocationField.vue.d.ts +0 -71
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { a$ as s, b0 as e, b1 as o, a_ as t, b2 as i, a as m } from "./app-7jcARtWe.js";
2
+ import { a_ as s, a$ as e, b0 as o, aZ as t, b1 as i, a as m } from "./app-ByZGP6to.js";
3
3
  export {
4
4
  s as FmApp,
5
5
  e as InventoryBindingForm,
@@ -1,4 +1,4 @@
1
- import "./app-7jcARtWe.js";
1
+ import "./app-ByZGP6to.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 { Y as Re, a as H, L as Ie, ab as P, s as Ae, ac as pe, v as fe, u as z, j as M, w as Ne, aD as oe, x as ye, b as J, t as j, Q as K, aC as De, av as Oe, W as Fe, y as Pe, z as Me, e as ae, f as Z, R as se, J as Ue, aa as Be, D as W, i as D, h as Le } from "./app-7jcARtWe.js";
1
+ import { Y as Re, a as H, L as Ie, ab as P, s as Ae, ac as pe, v as fe, u as z, j as M, w as Ne, aD as oe, x as ye, b as J, t as j, Q as K, aC as De, av as Oe, W as Fe, y as Pe, z as Me, e as ae, f as Z, R as se, J as Ue, aa as Be, D as W, i as D, h as Le } from "./app-ByZGP6to.js";
2
2
  import { useCoreStore as X, useI18n as ee } from "@feedmepos/mf-common";
3
3
  import { useDialogChild as Qe, useSnackbar as he, useDialog as He, FmButtonVariant as ie, components as le } from "@feedmepos/ui-library";
4
4
  import { defineStore as ve } from "pinia";
5
5
  import { defineComponent as ge, resolveComponent as B, openBlock as T, createElementBlock as w, createElementVNode as $, normalizeClass as L, createTextVNode as qe, toDisplayString as I, unref as R, createCommentVNode as Q, createVNode as O, withCtx as G, Fragment as U, renderList as V, ref as C, onMounted as Ve, computed as ce, watch as je, createSlots as ze, createBlock as q, h as Y } from "vue";
6
6
  import { useRouter as Ke } from "vue-router";
7
- import { u as te } from "./supplier-DX4BGHJ3.js";
7
+ import { u as te } from "./supplier-DfKwECUI.js";
8
8
  const be = Re((e, t) => {
9
9
  function s() {
10
10
  var n;
@@ -1,4 +1,4 @@
1
- import { aO as L, aU as U, aV as q, aW as Fe, aX as tl, aY as ar, aZ as Nt } from "./app-7jcARtWe.js";
1
+ import { aO as L, aT as U, aU as q, aV as Fe, aW as tl, aX as ar, aY as Nt } from "./app-ByZGP6to.js";
2
2
  function rl(t, e) {
3
3
  for (var r = 0; r < e.length; r++) {
4
4
  const n = e[r];
@@ -0,0 +1,84 @@
1
+ import { ref as l, computed as c } from "vue";
2
+ import { u as g, aP as d, b as m } from "./app-ByZGP6to.js";
3
+ import { useSnackbar as f } from "@feedmepos/ui-library";
4
+ function b() {
5
+ return {
6
+ setting: {
7
+ _id: "",
8
+ enable: !1,
9
+ bindings: [],
10
+ uniqueCode: "",
11
+ branchCode: "",
12
+ server: {
13
+ password: "",
14
+ host: "",
15
+ username: "",
16
+ port: "",
17
+ directory: ""
18
+ },
19
+ histories: [],
20
+ modifiers: [],
21
+ exportAsJson: !1
22
+ },
23
+ menu: [],
24
+ group: [],
25
+ variants: [],
26
+ categories: []
27
+ };
28
+ }
29
+ const e = l(b());
30
+ function p() {
31
+ return {
32
+ // state
33
+ get isEnabled() {
34
+ return e.value.setting.enable;
35
+ },
36
+ get isBusinessLocation() {
37
+ return g().businessLevel;
38
+ },
39
+ get state() {
40
+ return e.value;
41
+ },
42
+ async init() {
43
+ var a, o, i, t;
44
+ const r = d();
45
+ try {
46
+ const n = await r.readMenu();
47
+ e.value.menu = ((a = n.modules) == null ? void 0 : a.item) ?? [], e.value.group = ((o = n.modules) == null ? void 0 : o.group) ?? [], e.value.variants = ((i = n.modules) == null ? void 0 : i.variant) ?? [];
48
+ const u = (((t = n.modules) == null ? void 0 : t.category) ?? []).map((s) => ({
49
+ ...s,
50
+ _id: s._id === void 0 ? null : s._id
51
+ }));
52
+ e.value.categories = u, e.value.setting = await r.readSetting();
53
+ } catch (n) {
54
+ f().open({
55
+ title: "Something went wrong",
56
+ message: "Cannot fetch integration info. Please try again.",
57
+ type: "error"
58
+ }), console.error("Error at fetching integration info", n);
59
+ }
60
+ }
61
+ };
62
+ }
63
+ function y() {
64
+ const r = m(), a = p(), o = c(() => r.isEnabled), i = c(() => a.isEnabled);
65
+ return {
66
+ get enabledIntegrations() {
67
+ return [o.value, i.value].filter((t) => t).length;
68
+ },
69
+ get isNetSuiteEnabled() {
70
+ return o.value;
71
+ },
72
+ async fetchFoodMarketHubSetting() {
73
+ try {
74
+ await a.init();
75
+ } catch (t) {
76
+ console.error("Error fetching FoodMarketHub setting:", t);
77
+ }
78
+ }
79
+ };
80
+ }
81
+ export {
82
+ p as a,
83
+ y as u
84
+ };
@@ -1,4 +1,4 @@
1
- import { Y as m, u as B, a as l, ak as k, L as p } from "./app-7jcARtWe.js";
1
+ import { Y as m, u as B, a as l, ak as k, L as p } from "./app-ByZGP6to.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 S } from "vue";
@@ -15,8 +15,7 @@ export declare enum InventoryFeature {
15
15
  inventory_portal_xilnex_transfer_note = "inventory_portal_xilnex_transfer_note",
16
16
  inventory_portal_custom_attribute = "inventory_portal_custom_attribute",
17
17
  inventory_portal_purchase_order_v2 = "inventory_portal_purchase_order_v2",
18
- inventory_portal_accept_require_fulfillment = "inventory_portal_accept_require_fulfillment",
19
- inventory_xilnex_opening_migration = "inventory_xilnex_opening_migration"
18
+ inventory_portal_accept_require_fulfillment = "inventory_portal_accept_require_fulfillment"
20
19
  }
21
20
  export interface FeatureState {
22
21
  enableTotalCost: boolean;
@@ -37,7 +36,6 @@ export interface FeatureState {
37
36
  enableCustomAttribute: boolean;
38
37
  usePurchaseOrderV2: boolean;
39
38
  acceptRequireFulfillment?: boolean;
40
- inventory_xilnex_opening_migration: boolean;
41
39
  }
42
40
  export declare const useFeatureStore: () => {
43
41
  readonly businessDbName: string;
@@ -57,7 +55,6 @@ export declare const useFeatureStore: () => {
57
55
  readonly enableSupplierMasterList: boolean;
58
56
  readonly businessSupplierOnly: boolean;
59
57
  readonly enableXilnexTransferNote: boolean;
60
- readonly enabledXilnexOpeningMigration: boolean;
61
58
  readonly enableCustomAttribute: boolean;
62
59
  readonly usePurchaseOrderV2: boolean;
63
60
  readonly acceptRequireFulfillment: boolean | undefined;
@@ -6,5 +6,4 @@ export declare function useIntegrationStore(): {
6
6
  readonly enabledIntegrations: number;
7
7
  readonly isNetSuiteEnabled: boolean;
8
8
  fetchFoodMarketHubSetting(): Promise<void>;
9
- fetchNetSuiteSetting(): Promise<void>;
10
9
  };
@@ -159,7 +159,6 @@ export declare function useNetSuiteStore(): {
159
159
  precision: number;
160
160
  };
161
161
  } | undefined)[]]>;
162
- readonly isCurrentLocationBindedToNetSuite: boolean;
163
162
  getNetSuiteVendor(supplierId: string): FdoNetSuiteVendor | undefined;
164
163
  getNetSuiteLocation(locationId: string): FdoNetSuiteLocation | undefined;
165
164
  getSubsidiaryFullName(subsidiaryId?: string | null): {
@@ -189,20 +188,10 @@ export declare function useNetSuiteStore(): {
189
188
  getAvailableItems(subsidiaryId?: string | null): string[];
190
189
  getAvailableMeasurements(skuId: string, subsidiaryId?: string | null): string[];
191
190
  readSetting(): Promise<void>;
192
- updateLocationConfigs(payload: Record<string, {
193
- netsuiteId: string;
194
- name: string;
195
- }>): Promise<any>;
196
191
  getNetSuiteLocations(): Promise<any>;
197
192
  getVendorSubsidiaryName(supplierId: string): string;
198
193
  syncPurchaseOrder(poId: string): Promise<void>;
199
194
  getItemPKTCode(sku: FdoInventorySku, measurementId?: string | null): string | null;
200
- getNetSuiteLocationOptions(): Promise<{
201
- netsuiteId: string;
202
- name: string;
203
- subsidiaryName: string;
204
- }[]>;
205
- getItemAverageCosts(): Promise<Record<string, number>>;
206
195
  };
207
196
  export type FdoNetSuiteSubsidiaryWithChildren = FdoNetSuiteSubsidiary & {
208
197
  fullName?: string;
@@ -1970,6 +1970,18 @@ export declare function useInventoryStore(): {
1970
1970
  } | null | undefined;
1971
1971
  _id?: string | undefined;
1972
1972
  skus?: {
1973
+ costs?: {
1974
+ adjustmentId?: string | null | undefined;
1975
+ amount: {
1976
+ amount: number;
1977
+ precision: number;
1978
+ };
1979
+ cost: {
1980
+ 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";
1981
+ amount: number;
1982
+ precision: number;
1983
+ };
1984
+ }[] | null | undefined;
1973
1985
  closing?: {
1974
1986
  costBalances?: {
1975
1987
  adjustmentId?: string | null | undefined;
@@ -1990,18 +2002,6 @@ export declare function useInventoryStore(): {
1990
2002
  id: string;
1991
2003
  createdAt: string;
1992
2004
  } | null | undefined;
1993
- costs?: {
1994
- adjustmentId?: string | null | undefined;
1995
- amount: {
1996
- amount: number;
1997
- precision: number;
1998
- };
1999
- cost: {
2000
- 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";
2001
- amount: number;
2002
- precision: number;
2003
- };
2004
- }[] | null | undefined;
2005
2005
  weightedAverage?: {
2006
2006
  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";
2007
2007
  amount: number;
@@ -5,6 +5,18 @@ export interface StockStore {
5
5
  export declare const useStockStore: () => {
6
6
  stockBalance: {
7
7
  skus?: {
8
+ costs?: {
9
+ adjustmentId?: string | null | undefined;
10
+ amount: {
11
+ amount: number;
12
+ precision: number;
13
+ };
14
+ cost: {
15
+ 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";
16
+ amount: number;
17
+ precision: number;
18
+ };
19
+ }[] | null | undefined;
8
20
  closing?: {
9
21
  costBalances?: {
10
22
  adjustmentId?: string | null | undefined;
@@ -25,18 +37,6 @@ export declare const useStockStore: () => {
25
37
  id: string;
26
38
  createdAt: string;
27
39
  } | null | undefined;
28
- costs?: {
29
- adjustmentId?: string | null | undefined;
30
- amount: {
31
- amount: number;
32
- precision: number;
33
- };
34
- cost: {
35
- 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";
36
- amount: number;
37
- precision: number;
38
- };
39
- }[] | null | undefined;
40
40
  weightedAverage?: {
41
41
  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";
42
42
  amount: number;
@@ -1,4 +1,4 @@
1
- import { Y as m, u, w as y, al as b, am as w } from "./app-7jcARtWe.js";
1
+ import { Y as m, u, w as y, al as b, am as w } from "./app-ByZGP6to.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  import { defineStore as v } from "pinia";
4
4
  import { ref as l, computed as d } from "vue";