@feedmepos/mf-inventory-portal 1.0.20 → 1.0.21

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 (57) hide show
  1. package/dist/{App-HCucbXT5.js → App-Dm1dub7v.js} +2 -2
  2. package/dist/{ApprovalView-CR8Ievmh.js → ApprovalView-DZK5guKS.js} +2 -2
  3. package/dist/{BindingsDialog-BsbaWyqP.js → BindingsDialog-BL2jOxN4.js} +2 -2
  4. package/dist/{BindingsPicker-ByFOp6B3.js → BindingsPicker-G1SdBXsq.js} +1 -1
  5. package/dist/{BindingsTable-BhGnyUQH.js → BindingsTable-Coy6_ryj.js} +1 -1
  6. package/dist/{ClosingDraftView-5Eem33MA.js → ClosingDraftView-RTjmn1uK.js} +2 -2
  7. package/dist/{ClosingTemplateView-CydMQc2L.js → ClosingTemplateView-DkX8edyP.js} +2 -2
  8. package/dist/{DeliveryOrderPrintPreview-Csbca_v0.js → DeliveryOrderPrintPreview-j-DgrDiv.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-LV2wLWWk.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BL8MG9yR.js} +3 -3
  10. package/dist/{FmMultiselectDialog-DISDKgZY.js → FmMultiselectDialog-C2FfQXZp.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-TSO_zgPu.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D4dnq4rA.js} +1 -1
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cg8vkF_r.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DXbFhLpK.js} +1 -1
  13. package/dist/{IngredientGroupView-BONl2HNV.js → IngredientGroupView-DHbQCRy_.js} +2 -2
  14. package/dist/{IngredientsView-b-ztsnrh.js → IngredientsView-CF-wb-6-.js} +5 -5
  15. package/dist/IntegrationView-X5yvur-x.js +6007 -0
  16. package/dist/{InventoryBindingForm-BJvKlpQv.js → InventoryBindingForm-CeJZHDY0.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Cw_LyQCc.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-9hirHThb.js} +3 -3
  18. package/dist/{InventoryBindingSummary-o1qzcGiz.js → InventoryBindingSummary-CBg7KhPi.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-8ne5kKtT.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BSVs7T4a.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-D60Y07cG.js → PremiumBadge.vue_vue_type_script_setup_true_lang-ChZwsyJM.js} +1 -1
  21. package/dist/{PublishView-BAzw6iNq.js → PublishView-BjvKb7f-.js} +2 -2
  22. package/dist/{PurchaseOrderPrintPreview-DBaLVHMs.js → PurchaseOrderPrintPreview-CbAMXMPU.js} +1 -1
  23. package/dist/{ReceiveRequestView-CHwB-N1X.js → ReceiveRequestView-ihHtocTf.js} +10 -10
  24. package/dist/{RecipeView-CTNJ1Alw.js → RecipeView-BoR36rGq.js} +4 -4
  25. package/dist/{StockView-Dd0FpkBz.js → StockView-DcHopPZO.js} +7 -7
  26. package/dist/{SupplierView-C5tHBFjz.js → SupplierView-V67QXaLX.js} +482 -480
  27. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-eeL8-QuF.js +2181 -0
  28. package/dist/TransferTemplateView-DKDeo49Q.js +1432 -0
  29. package/dist/{UnitView-DIqdD9rK.js → UnitView-BRVRLheN.js} +3 -3
  30. package/dist/WarehouseView-tRg5Hn4L.js +1034 -0
  31. package/dist/api/netsuite.d.ts +1 -0
  32. package/dist/{app-D6VUced2.js → app-82JEull2.js} +43642 -39723
  33. package/dist/app.js +4 -4
  34. package/dist/{decimal-B-F4KR7a.js → decimal-D-zH_vXe.js} +1 -1
  35. package/dist/{feature-BXo8MNXq.js → feature-UG6T1t8f.js} +394 -387
  36. package/dist/{format-unit-display-CKfsmYU1.js → format-unit-display-CIPAWL-6.js} +2 -2
  37. package/dist/{index-Bx9GXnw-.js → index-B7w4ky-g.js} +2 -2
  38. package/dist/{index-DWWzKqnk.js → index-BDC93VCL.js} +1 -1
  39. package/dist/{stock-CKqcI427.js → stock-Bq9xHemt.js} +1 -1
  40. package/dist/stores/integration/netsuite.d.ts +31 -0
  41. package/dist/{supplier-DsBIy15T.js → supplier-BrZdgPMN.js} +2 -2
  42. package/dist/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/{use-ingredient-select-dialog-DVBnJIlK.js → use-ingredient-select-dialog-Dzy7PO1j.js} +1 -1
  44. package/dist/{use-inventory-binding-dialog-DgbGDAWk.js → use-inventory-binding-dialog-DT4t22Eb.js} +1 -1
  45. package/dist/views/receive-request/components/netsuite/NetSuiteLatestInfo.vue.d.ts +17 -0
  46. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +497 -12
  47. package/dist/views/transfer-template/components/transfer-template-form/TransferTemplateForm.vue.d.ts +5 -1
  48. package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +172 -0
  49. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +2 -0
  50. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +3 -2
  51. package/dist/{vue-i18n-g4GUXOuk.js → vue-i18n-D5ETg5F3.js} +300 -300
  52. package/package.json +5 -3
  53. package/dist/IntegrationView-oRHoLLjT.js +0 -9671
  54. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CpngWNmz.js +0 -2095
  55. package/dist/TransferTemplateView-CP24Mv9n.js +0 -1421
  56. package/dist/WarehouseView-DCtBNHvx.js +0 -1032
  57. package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +0 -305
@@ -1,10 +1,10 @@
1
- import { a2 as Re, a as H, Q as Ie, af as P, r as Ne, ag as pe, s as fe, u as z, i as M, v as Ae, aH as oe, w as ye, b as X, t as j, X as K, aG as Oe, az as De, $ as Fe, x as Pe, y as Me, d as ae, e as Z, R as se, a1 as Ue, ae as Be, D as Y, h as O, f as Le } from "./app-D6VUced2.js";
1
+ import { a2 as Re, a as H, Q as Ie, af as P, r as Ne, ag as pe, s as fe, u as z, i as M, v as Ae, aH as oe, w as ye, b as X, t as j, X as K, aG as Oe, az as De, $ as Fe, x as Pe, y as Me, d as ae, e as Z, R as se, a1 as Ue, ae as Be, D as Y, h as O, f as Le } from "./app-82JEull2.js";
2
2
  import { useCoreStore as J, 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 D, 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 W } from "vue";
6
6
  import { useRouter as Ke } from "vue-router";
7
- import { u as te } from "./supplier-DsBIy15T.js";
7
+ import { u as te } from "./supplier-BrZdgPMN.js";
8
8
  const be = Re((e, t) => {
9
9
  function s() {
10
10
  var n;
@@ -1,8 +1,8 @@
1
1
  import { ref as f, computed as l } from "vue";
2
- import { u as g, aU as b, aN as v, b as p } from "./app-D6VUced2.js";
2
+ import { u as g, aU as b, aN as v, b as p } from "./app-82JEull2.js";
3
3
  import { useSnackbar as S } from "@feedmepos/ui-library";
4
4
  import "@feedmepos/mf-common";
5
- import { u as d } from "./feature-BXo8MNXq.js";
5
+ import { u as d } from "./feature-UG6T1t8f.js";
6
6
  function h() {
7
7
  return {
8
8
  setting: {
@@ -1,4 +1,4 @@
1
- import { aT as x, be as V, bf as q, bg as Re, bh as ul, aV as or, bi as Dt } from "./app-D6VUced2.js";
1
+ import { aT as x, bf as V, bg as q, bh as Re, bi as ul, bb as or, bj as Dt } from "./app-82JEull2.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, ap as B, Q as p } from "./app-D6VUced2.js";
1
+ import { a2 as m, u as k, a as l, ap as B, Q as p } from "./app-82JEull2.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";
@@ -1,9 +1,37 @@
1
+ import type { ColumnDef } from '@tanstack/vue-table';
2
+ export declare const customFieldsByBusiness: Record<string, {
3
+ code: string;
4
+ name: string;
5
+ }>;
6
+ interface NetsuiteCustomOptionType {
7
+ code: string;
8
+ name: string;
9
+ fmMeasurementId?: string;
10
+ fmMeasurementAbbrev?: string;
11
+ }
12
+ interface NetSuiteSettingOption {
13
+ item: FdoNetSuiteItem;
14
+ childItems: FdoNetSuiteChildItem[];
15
+ unit: FdoNetSuiteUnitType;
16
+ }
1
17
  export interface NetSuiteState {
2
18
  setting: Omit<FdoNetSuiteSetting, 'realm' | 'accessToken'>;
3
19
  vendorSubsidiary: Record<string, string>;
4
20
  isReady: boolean;
21
+ skuOptions: Record<string, NetSuiteSettingOption>;
5
22
  }
6
23
  export declare function useNetSuiteStore(): {
24
+ readonly customFieldOptions: Record<string, {
25
+ label: string;
26
+ value: NetsuiteCustomOptionType;
27
+ }[]>;
28
+ checkCustomFieldCodes(args: {
29
+ beforeStart?: () => Promise<void>;
30
+ templateItems: FdoPurchaseOrderTemplateItem[];
31
+ }): Promise<Record<number, string>>;
32
+ transferTemplateColumnDefs(args: {
33
+ onUpdate: (index: number, sku: FdoInventorySku, code: string, measurement?: FdoUnitMeasurement) => void;
34
+ }): Record<number, ColumnDef<FdoPurchaseOrderTemplateItem>>;
7
35
  readonly isReady: boolean;
8
36
  readonly isEnabled: boolean;
9
37
  readonly isBusinessLocation: boolean;
@@ -81,6 +109,7 @@ export declare function useNetSuiteStore(): {
81
109
  };
82
110
  vendorSubsidiary: Record<string, string>;
83
111
  isReady: boolean;
112
+ skuOptions: Record<string, NetSuiteSettingOption>;
84
113
  };
85
114
  readonly netSuiteItemIdToSkuId: Map<unknown, [string, ...string[]]>;
86
115
  readonly netSuiteMeasurementIdToMeasurementId: Map<unknown, [string, ...string[]]>;
@@ -230,3 +259,5 @@ export declare function buildSubsidiaryTree(data: FdoNetSuiteSubsidiary[], subsi
230
259
  flat: FdoNetSuiteSubsidiaryWithChildren[];
231
260
  flatMapping: Record<string, string[]>;
232
261
  };
262
+ export declare const netsuiteCustomFields: Record<string, (item?: FdoNetSuiteItem, itemChild?: FdoNetSuiteChildItem) => string>;
263
+ export {};
@@ -1,5 +1,5 @@
1
- import { a2 as y, u, v as b, aq as v, ar as w } from "./app-D6VUced2.js";
2
- import { u as $ } from "./feature-BXo8MNXq.js";
1
+ import { a2 as y, u, v as b, aq as v, ar as w } from "./app-82JEull2.js";
2
+ import { u as $ } from "./feature-UG6T1t8f.js";
3
3
  import { useCoreStore as c } from "@feedmepos/mf-common";
4
4
  import { defineStore as f } from "pinia";
5
5
  import { ref as l, computed as d } from "vue";