@feedmepos/mf-inventory-portal 1.0.36-dev.6 → 1.0.36

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 (86) hide show
  1. package/dist/{App-p0OfVvta.js → App-BM-ivBnF.js} +46 -47
  2. package/dist/{ApprovalView-DPBSTlsb.js → ApprovalView-C4hE43Zp.js} +8 -8
  3. package/dist/{BindingsDialog-ADhnq8rd.js → BindingsDialog-BqjiXxGY.js} +8 -8
  4. package/dist/{BindingsPicker-C27I8rla.js → BindingsPicker-DqCR7P5k.js} +1 -1
  5. package/dist/{BindingsTable-BCrjUyRA.js → BindingsTable-DD_mVBtS.js} +1 -1
  6. package/dist/{ClosingDraftView-CAeA34YR.js → ClosingDraftView-CL09Xu9q.js} +49 -49
  7. package/dist/ClosingTemplateView-CDWMdZOk.js +1804 -0
  8. package/dist/{DeliveryOrderPrintPreview-BHaatock.js → DeliveryOrderPrintPreview-CNPUHnpX.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-n7mTgY-4.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DB6m8oSF.js} +3 -3
  10. package/dist/{FmMultiselectDialog-D3hCA4Hk.js → FmMultiselectDialog-DJ5cyN7G.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-GRMblS9k.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CPAnSCWa.js} +17 -17
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BMTgY6ZR.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CauBVtK9.js} +1 -1
  13. package/dist/{IngredientGroupView-CoQ5jJq-.js → IngredientGroupView-D0U1ivRz.js} +21 -21
  14. package/dist/IngredientsView-pgJWthql.js +1838 -0
  15. package/dist/IntegrationView-hERgFYsT.js +3303 -0
  16. package/dist/{InventoryBindingForm-rBxn4aQn.js → InventoryBindingForm-vO00BnZP.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DeAbgkjo.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bku7tdc-.js} +37 -37
  18. package/dist/{InventoryBindingSummary-DRnfFnXw.js → InventoryBindingSummary-DWOniuG6.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CFimf-EA.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C4_atZsW.js} +4 -4
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CkLC3e7r.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DUdI1WOL.js} +1 -1
  21. package/dist/{PublishView-CWPu6VU5.js → PublishView-enVS6QHQ.js} +8 -8
  22. package/dist/{PurchaseOrderPrintPreview-BB-UHWyM.js → PurchaseOrderPrintPreview-Z769Yvkh.js} +1 -1
  23. package/dist/{ReceiveRequestView-DzE2O14-.js → ReceiveRequestView-BYYWrgNX.js} +773 -789
  24. package/dist/{RecipeView-CdFqHWFg.js → RecipeView-CU9pkFiv.js} +38 -39
  25. package/dist/{StockView-2QkNXA2I.js → StockView-iqR-h1Mg.js} +68 -69
  26. package/dist/{SupplierView-BmIvZtRX.js → SupplierView-DFzgQ53O.js} +11 -12
  27. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-KakO6jI_.js → TransferDetails.vue_vue_type_script_setup_true_lang-BEVlutvf.js} +67 -68
  28. package/dist/{TransferTemplateView-CiwTECtX.js → TransferTemplateView-EZ_z14kY.js} +107 -108
  29. package/dist/{UnitView-xcRT1636.js → UnitView-gYD75UdW.js} +19 -19
  30. package/dist/{WarehouseView-DFUkzdn3.js → WarehouseView-COLgYw-j.js} +14 -14
  31. package/dist/api/inventory.d.ts +0 -4
  32. package/dist/api/netsuite.d.ts +2 -7
  33. package/dist/app-DMbkakEB.js +124324 -0
  34. package/dist/app.d.ts +0 -9
  35. package/dist/app.js +6 -6
  36. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +0 -1
  37. package/dist/components/row-action.enum.d.ts +1 -2
  38. package/dist/components/shell/inventory/binding-ui.vue.d.ts +0 -1
  39. package/dist/{decimal-tvbOiScu.js → decimal-BLjZMddB.js} +1 -1
  40. package/dist/format-unit-display-BkXJg2Ux.js +1230 -0
  41. package/dist/{index-5P4r_6vv.js → index-Bj0hlHvy.js} +3 -4
  42. package/dist/{index-DunD6flC.js → index-C5rv3Yu2.js} +1 -1
  43. package/dist/{stock-D4Q1lqHe.js → stock-DjOpPBxG.js} +1 -1
  44. package/dist/stores/feature.d.ts +2 -0
  45. package/dist/stores/integration/netsuite.d.ts +2 -7
  46. package/dist/stores/inventory.d.ts +0 -9
  47. package/dist/{supplier-nyMBwI1e.js → supplier-BRKfl2V3.js} +25 -26
  48. package/dist/tsconfig.app.tsbuildinfo +1 -1
  49. package/dist/{use-ingredient-select-dialog-CucQZ-Oc.js → use-ingredient-select-dialog-DRIWNN3P.js} +1 -1
  50. package/dist/{use-inventory-binding-dialog-ZF-LeZNi.js → use-inventory-binding-dialog-DLnKkFpe.js} +1 -1
  51. package/dist/views/adjustment-template/wastage-template/actions.d.ts +1 -4
  52. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +0 -8
  53. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +0 -24
  54. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +0 -1
  55. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1 -16
  56. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +0 -12
  57. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +0 -2
  58. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +0 -1
  59. package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +0 -2
  60. package/dist/views/integration/components/netsuite/InventoryTransferOutTable.vue.d.ts +2 -0
  61. package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +0 -4
  62. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +0 -17
  63. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +0 -2
  64. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +0 -4
  65. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +0 -1
  66. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +0 -4
  67. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +0 -24
  68. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +0 -24
  69. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +0 -2
  70. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +0 -2
  71. package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +0 -2
  72. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +0 -2
  73. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +0 -1
  74. package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +0 -3
  75. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1 -16
  76. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +0 -12
  77. package/dist/vue-i18n-x8-PdKzv.js +2365 -0
  78. package/package.json +1 -1
  79. package/dist/ClosingTemplateView-DdtZPTyt.js +0 -1849
  80. package/dist/IngredientsView-B0n-ed2z.js +0 -1885
  81. package/dist/IntegrationView-CUacWvt2.js +0 -6531
  82. package/dist/api/duplicate-template.d.ts +0 -5
  83. package/dist/app-D8WIbWK8.js +0 -102338
  84. package/dist/feature-CXf7RRWE.js +0 -19100
  85. package/dist/format-unit-display-C42DxO2e.js +0 -1275
  86. package/dist/vue-i18n-BmNDS6W5.js +0 -2365
@@ -1,7 +1,6 @@
1
1
  import { ref as b, computed as u } from "vue";
2
- import { u as d, aV as p, aO as v, b as h } from "./app-D8WIbWK8.js";
2
+ import { u as d, aX as p, aO as v, c as m, b as h } from "./app-DMbkakEB.js";
3
3
  import { useSnackbar as E } from "@feedmepos/ui-library";
4
- import { u as m } from "./feature-CXf7RRWE.js";
5
4
  function I() {
6
5
  return {
7
6
  setting: {
@@ -125,7 +124,7 @@ function x() {
125
124
  }
126
125
  };
127
126
  }
128
- function M() {
127
+ function N() {
129
128
  const o = h(), n = C(), e = w(), t = x(), a = u(() => o.isEnabled), s = u(() => n.isEnabled), f = u(() => e.isEnabled), c = u(() => t.isEnabled);
130
129
  return {
131
130
  get enabledIntegrations() {
@@ -159,5 +158,5 @@ export {
159
158
  C as a,
160
159
  w as b,
161
160
  x as c,
162
- M as u
161
+ N as u
163
162
  };
@@ -1,4 +1,4 @@
1
- import { aU as x, bh as V, bi as q, bj as Re, bk as ul, bc as or, bl as Dt } from "./app-D8WIbWK8.js";
1
+ import { aW as x, b1 as V, b2 as q, b3 as Re, b4 as ul, b5 as or, b6 as Dt } from "./app-DMbkakEB.js";
2
2
  function sl(t, e) {
3
3
  for (var r = 0; r < e.length; r++) {
4
4
  const n = e[r];
@@ -1,4 +1,4 @@
1
- import { a2 as m, u as k, a as l, aq as B, Q as p } from "./app-D8WIbWK8.js";
1
+ import { a3 as m, u as k, a as l, aq as B, T as p } from "./app-DMbkakEB.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";
@@ -21,6 +21,7 @@ export interface FeatureState {
21
21
  useOperatePurchaseOrderV2: boolean;
22
22
  inventory_xilnex_opening_migration: boolean;
23
23
  inventory_synergy_opening_migration: boolean;
24
+ inventory_netsuite_inventory_transfer_out: boolean;
24
25
  }
25
26
  export declare const useFeatureStore: () => {
26
27
  readonly businessDbName: string;
@@ -46,6 +47,7 @@ export declare const useFeatureStore: () => {
46
47
  readonly usePurchaseOrderV2: boolean;
47
48
  readonly acceptRequireFulfillment: boolean | undefined;
48
49
  readonly useOperatePurchaseOrderV2: boolean;
50
+ readonly isNetSuiteInventoryTransferOutEnabled: boolean;
49
51
  init(): Promise<void>;
50
52
  awaitFeatureLoaded(callback: () => boolean): Promise<boolean>;
51
53
  };
@@ -6,8 +6,6 @@ export declare const customFieldsByBusiness: Record<string, {
6
6
  interface NetsuiteCustomOptionType {
7
7
  code: string;
8
8
  name: string;
9
- childName: string;
10
- externalId: string;
11
9
  fmMeasurementId?: string;
12
10
  fmMeasurementAbbrev?: string;
13
11
  remark?: string;
@@ -36,6 +34,7 @@ export declare function useNetSuiteStore(): {
36
34
  transferTemplateColumnDefs(args: {
37
35
  onUpdate: (index: number, sku: FdoInventorySku, code: string, measurement?: FdoUnitMeasurement) => void;
38
36
  }): Record<number, ColumnDef<FdoPurchaseOrderTemplateItem>>;
37
+ readonly inventoryTransferOutEnabled: boolean;
39
38
  readonly isReady: boolean;
40
39
  readonly isEnabled: boolean;
41
40
  readonly isBusinessLocation: boolean;
@@ -44,7 +43,6 @@ export declare function useNetSuiteStore(): {
44
43
  _id: string;
45
44
  enable: boolean;
46
45
  items: {
47
- name?: string | null | undefined;
48
46
  externalId?: string | null | undefined;
49
47
  cogsAccount?: {
50
48
  id: string;
@@ -73,7 +71,6 @@ export declare function useNetSuiteStore(): {
73
71
  subsidiaryId: string;
74
72
  }[];
75
73
  childItems: {
76
- name?: string | null | undefined;
77
74
  externalId?: string | null | undefined;
78
75
  cogsAccount?: {
79
76
  id: string;
@@ -120,7 +117,6 @@ export declare function useNetSuiteStore(): {
120
117
  readonly netSuiteItemIdToSkuId: Map<unknown, [string, ...string[]]>;
121
118
  readonly netSuiteMeasurementIdToMeasurementId: Map<unknown, [string, ...string[]]>;
122
119
  readonly netSuiteItemBySkuId: Map<unknown, [{
123
- name?: string | null | undefined;
124
120
  externalId?: string | null | undefined;
125
121
  cogsAccount?: {
126
122
  id: string;
@@ -135,7 +131,6 @@ export declare function useNetSuiteStore(): {
135
131
  subsidiaryIds: string[];
136
132
  includeChildren: boolean;
137
133
  }, ...{
138
- name?: string | null | undefined;
139
134
  externalId?: string | null | undefined;
140
135
  cogsAccount?: {
141
136
  id: string;
@@ -247,7 +242,7 @@ export declare function useNetSuiteStore(): {
247
242
  getNetSuiteLocations(): Promise<any>;
248
243
  getVendorSubsidiaryName(supplierId: string): string;
249
244
  syncPurchaseOrder(poId: string, locationDb?: string): Promise<void>;
250
- getItemCustomCode(sku: FdoInventorySku, measurementId?: string | null): string | null;
245
+ getItemPKTCode(sku: FdoInventorySku, measurementId?: string | null): string | null;
251
246
  getNetSuiteLocationOptions(): Promise<{
252
247
  netsuiteId: string;
253
248
  name: string;
@@ -73,7 +73,6 @@ export declare function useInventoryStore(): {
73
73
  }[];
74
74
  }[] | null | undefined;
75
75
  sku?: {
76
- isInactive?: boolean | null | undefined;
77
76
  trackingMeasurement?: string | null | undefined;
78
77
  convert?: {
79
78
  measurement?: string | null | undefined;
@@ -876,7 +875,6 @@ export declare function useInventoryStore(): {
876
875
  }[];
877
876
  }[] | null | undefined;
878
877
  sku?: {
879
- isInactive?: boolean | null | undefined;
880
878
  trackingMeasurement?: string | null | undefined;
881
879
  convert?: {
882
880
  measurement?: string | null | undefined;
@@ -2188,7 +2186,6 @@ export declare function useInventoryStore(): {
2188
2186
  }[];
2189
2187
  }>;
2190
2188
  readonly skus: {
2191
- isInactive?: boolean | null | undefined;
2192
2189
  trackingMeasurement?: string | null | undefined;
2193
2190
  convert?: {
2194
2191
  measurement?: string | null | undefined;
@@ -2253,7 +2250,6 @@ export declare function useInventoryStore(): {
2253
2250
  };
2254
2251
  }[];
2255
2252
  readonly skuById: Record<string, {
2256
- isInactive?: boolean | null | undefined;
2257
2253
  trackingMeasurement?: string | null | undefined;
2258
2254
  convert?: {
2259
2255
  measurement?: string | null | undefined;
@@ -2318,7 +2314,6 @@ export declare function useInventoryStore(): {
2318
2314
  };
2319
2315
  }>;
2320
2316
  readonly skuByCode: Record<string, {
2321
- isInactive?: boolean | null | undefined;
2322
2317
  trackingMeasurement?: string | null | undefined;
2323
2318
  convert?: {
2324
2319
  measurement?: string | null | undefined;
@@ -2429,7 +2424,6 @@ export declare function useInventoryStore(): {
2429
2424
  name: string;
2430
2425
  }>;
2431
2426
  readonly skuTags: Map<unknown, [{
2432
- isInactive?: boolean | null | undefined;
2433
2427
  trackingMeasurement?: string | null | undefined;
2434
2428
  convert?: {
2435
2429
  measurement?: string | null | undefined;
@@ -2493,7 +2487,6 @@ export declare function useInventoryStore(): {
2493
2487
  }[];
2494
2488
  };
2495
2489
  }, ...{
2496
- isInactive?: boolean | null | undefined;
2497
2490
  trackingMeasurement?: string | null | undefined;
2498
2491
  convert?: {
2499
2492
  measurement?: string | null | undefined;
@@ -3282,7 +3275,6 @@ export declare function useInventoryStore(): {
3282
3275
  }[];
3283
3276
  }[] | null | undefined;
3284
3277
  sku?: {
3285
- isInactive?: boolean | null | undefined;
3286
3278
  trackingMeasurement?: string | null | undefined;
3287
3279
  convert?: {
3288
3280
  measurement?: string | null | undefined;
@@ -3375,7 +3367,6 @@ export declare function useInventoryStore(): {
3375
3367
  errors: {
3376
3368
  error?: any;
3377
3369
  data: {
3378
- isInactive?: boolean | null | undefined;
3379
3370
  trackingMeasurement?: string | null | undefined;
3380
3371
  convert?: {
3381
3372
  measurement?: string | null | undefined;
@@ -1,51 +1,50 @@
1
- import { a2 as y, u, v as b, ar as v, as as w } from "./app-D8WIbWK8.js";
2
- import { u as $ } from "./feature-CXf7RRWE.js";
1
+ import { a3 as m, u, c as b, w, ar as v, as as $ } from "./app-DMbkakEB.js";
3
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
4
- import { defineStore as f } from "pinia";
3
+ import { defineStore as A } from "pinia";
5
4
  import { ref as l, computed as d } from "vue";
6
- const i = y((s, p) => {
7
- function a() {
5
+ const i = m((s, a) => {
6
+ function p() {
8
7
  var o;
9
- const t = c(), e = u(), n = $().businessSupplierOnly, S = `business_${((o = t.currentBusiness.value) == null ? void 0 : o._id) ?? ""}`, m = e.currentLocation.dbName;
10
- return n ? S : m;
8
+ const t = c(), e = u(), n = b().businessSupplierOnly, S = `business_${((o = t.currentBusiness.value) == null ? void 0 : o._id) ?? ""}`, y = e.currentLocation.dbName;
9
+ return n ? S : y;
11
10
  }
12
11
  return {
13
12
  async readSuppliers() {
14
- const t = a(), e = `${s.inventoryBackendUrl}/${t}/supplier`;
15
- return await p.get(e);
13
+ const t = p(), e = `${s.inventoryBackendUrl}/${t}/supplier`;
14
+ return await a.get(e);
16
15
  },
17
16
  async readLocationSuppliers() {
18
17
  const e = u().currentLocation.dbName, r = `${s.inventoryBackendUrl}/${e}/supplier`;
19
- return await p.get(r);
18
+ return await a.get(r);
20
19
  },
21
20
  async readBusinessSuppliers() {
22
21
  var n;
23
22
  const e = `business_${((n = c().currentBusiness.value) == null ? void 0 : n._id) ?? ""}`, r = `${s.inventoryBackendUrl}/${e}/supplier`;
24
- return await p.get(r);
23
+ return await a.get(r);
25
24
  },
26
25
  async createSupplier(t) {
27
- const e = a(), r = `${s.inventoryBackendUrl}/${e}/supplier`;
28
- return await p.post(r, t);
26
+ const e = p(), r = `${s.inventoryBackendUrl}/${e}/supplier`;
27
+ return await a.post(r, t);
29
28
  },
30
29
  async importSuppliers(t) {
31
- const e = a(), r = `${s.inventoryBackendUrl}/${e}/supplier/import`;
32
- return await p.post(r, t);
30
+ const e = p(), r = `${s.inventoryBackendUrl}/${e}/supplier/import`;
31
+ return await a.post(r, t);
33
32
  },
34
33
  async updateSupplier(t) {
35
- const e = a(), r = `${s.inventoryBackendUrl}/${e}/supplier`;
36
- return await p.put(r, t);
34
+ const e = p(), r = `${s.inventoryBackendUrl}/${e}/supplier`;
35
+ return await a.put(r, t);
37
36
  },
38
37
  async deleteSupplier(t) {
39
- const e = a(), r = `${s.inventoryBackendUrl}/${e}/supplier`;
40
- return await p.delete(r, t);
38
+ const e = p(), r = `${s.inventoryBackendUrl}/${e}/supplier`;
39
+ return await a.delete(r, t);
41
40
  }
42
41
  };
43
- }), L = f("supplier", () => {
44
- const s = l(new Array()), p = l(new Array()), a = d(() => [...s.value, ...p.value]), t = d(() => b(a.value, "_id"));
42
+ }), k = A("supplier", () => {
43
+ const s = l(new Array()), a = l(new Array()), p = d(() => [...s.value, ...a.value]), t = d(() => w(p.value, "_id"));
45
44
  return {
46
45
  async readSuppliers() {
47
46
  const e = i();
48
- s.value = await e.readLocationSuppliers(), p.value = await e.readBusinessSuppliers();
47
+ s.value = await e.readLocationSuppliers(), a.value = await e.readBusinessSuppliers();
49
48
  },
50
49
  async createSupplier(e) {
51
50
  await i().createSupplier(e);
@@ -64,15 +63,15 @@ const i = y((s, p) => {
64
63
  try {
65
64
  await this.readSuppliers();
66
65
  } catch (r) {
67
- throw r instanceof w || e.error("Error at reading suppliers"), r;
66
+ throw r instanceof $ || e.error("Error at reading suppliers"), r;
68
67
  }
69
68
  },
70
- suppliers: a,
69
+ suppliers: p,
71
70
  locationSuppliers: s,
72
- businessSuppliers: p,
71
+ businessSuppliers: a,
73
72
  supplierById: t
74
73
  };
75
74
  });
76
75
  export {
77
- L as u
76
+ k as u
78
77
  };