@feedmepos/mf-inventory-portal 0.0.22-dev.7 → 0.0.22-dev.8

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 (53) hide show
  1. package/dist/{ApprovalView-B9s4exkr.js → ApprovalView-BNeTV3TV.js} +4 -4
  2. package/dist/{BindingsDialog-uksEDFFX.js → BindingsDialog-pBelBtiH.js} +1 -1
  3. package/dist/{BindingsPicker-B2rQ9kJH.js → BindingsPicker-VHr76FFM.js} +19 -19
  4. package/dist/{BindingsTable-BLN_bAjO.js → BindingsTable-CgIp6DKB.js} +1 -1
  5. package/dist/{ClosingTemplateView-Bi06Gxzo.js → ClosingTemplateView-FleQasJi.js} +34 -34
  6. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CeBoTYGq.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BYfojQsH.js} +1 -1
  7. package/dist/{IngredientsView-DY6yY-Fk.js → IngredientsView-BEW8_MJ0.js} +3 -3
  8. package/dist/{IntegrationView-C74CJ4PS.js → IntegrationView-NnpJ8nYO.js} +2 -2
  9. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BmsbeAvi.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CJMb1aR1.js} +1 -1
  10. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-RoZStI7P.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DWSq3JsJ.js} +1 -1
  11. package/dist/{PurchaseOrderPrintPreview-Dn5CQDnd.js → PurchaseOrderPrintPreview-BZ5uhyRy.js} +1 -1
  12. package/dist/{ReceiveRequestView-BC61WMFL.js → ReceiveRequestView-DN9u5HLn.js} +6 -6
  13. package/dist/{RecipeView-DYbuUEFK.js → RecipeView-DM20cOk3.js} +3 -3
  14. package/dist/{StockView-D_ZzX7yp.js → StockView-LppKR-nM.js} +6 -6
  15. package/dist/{SupplierView-ChewCZKN.js → SupplierView-DHh6MhoI.js} +37 -37
  16. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-KHwccWdi.js +754 -0
  17. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-2QZK3Iu5.js +1485 -0
  18. package/dist/TransferTemplateView-CUQSQR8U.js +1278 -0
  19. package/dist/{UnitView-Cx1xe3Wg.js → UnitView-D8XJca7H.js} +4 -4
  20. package/dist/{WarehouseView-CQQf0YFc.js → WarehouseView-DTnx3-Fi.js} +2 -2
  21. package/dist/api/inventory.d.ts +1 -0
  22. package/dist/api/netsuite.d.ts +40 -0
  23. package/dist/api/purchase-order-template.d.ts +0 -4
  24. package/dist/{app-emo4vLKK.js → app-Cn0UYdAW.js} +8192 -7963
  25. package/dist/app.d.ts +6 -0
  26. package/dist/app.js +3 -3
  27. package/dist/{decimal-BO9I7LUt.js → decimal-BiLgcnqq.js} +1 -1
  28. package/dist/{defineDeepModel-D06lO_R2.js → defineDeepModel-CXCb8GcR.js} +4 -4
  29. package/dist/{format-time-from-id-HTOA-soi.js → format-time-from-id-5QzQNKlI.js} +1 -1
  30. package/dist/{id-to-date-DAnKDcfC.js → id-to-date-C-LYuoim.js} +1 -1
  31. package/dist/purchase-order-transaction-type-BV80Rx9h.js +676 -0
  32. package/dist/stores/api.d.ts +1 -0
  33. package/dist/stores/helper/core-store-proxy.d.ts +27 -0
  34. package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
  35. package/dist/stores/netsuite.d.ts +49 -0
  36. package/dist/style.css +1 -1
  37. package/dist/{supplier-CBf_J6D6.js → supplier-Bg9MjX_y.js} +1 -1
  38. package/dist/tsconfig.app.tsbuildinfo +1 -1
  39. package/dist/{use-template-enabled-locations-2-Bo3g55rA.js → use-template-enabled-locations-2-CzY-UFrc.js} +1 -1
  40. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +14 -0
  41. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +42 -0
  42. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -0
  43. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +2 -2
  44. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +84 -0
  45. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +28 -986
  46. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +7 -0
  47. package/dist/{xlsx-DX8dk9eD.js → xlsx-BsdfXPiA.js} +1 -1
  48. package/dist/{xlsx.util-BaeMOrlY.js → xlsx.util-B_ynXZ3Q.js} +2 -2
  49. package/package.json +5 -5
  50. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CXmk2PYd.js +0 -740
  51. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-D9XERa2u.js +0 -1409
  52. package/dist/TransferTemplateView-BIsn4jRY.js +0 -1238
  53. package/dist/purchase-order-transaction-type-73S8OLUt.js +0 -702
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as K, computed as _, openBlock as v, createElementBlock as w, createElementVNode as l, Fragment as q, renderList as H, toDisplayString as V, createCommentVNode as Y, ref as M, resolveComponent as I, createBlock as T, withCtx as R, createVNode as y, unref as a, isRef as Z, normalizeClass as ae, normalizeStyle as re, Teleport as ie, normalizeProps as ue, guardReactiveProps as de } from "vue";
2
- import { u as G, S as me, c as oe, R as j, A as ce, a as J, l as pe, m as fe, e as ee, j as ve } from "./app-emo4vLKK.js";
2
+ import { u as G, S as me, c as oe, R as j, A as ce, a as J, l as pe, m as fe, e as ee, j as ve } from "./app-Cn0UYdAW.js";
3
3
  import { useDialog as ye, useSnackbar as le, useProxiedModel as te, useBreakpoints as be } from "@feedmepos/ui-library";
4
4
  import { i as ge, _ as xe } from "./is-linked-ingredient-error-fJ2TJb3z.js";
5
5
  import { F as U, D as ne, R as N } from "./row-action.enum-PMKMRrZR.js";
6
6
  import { defineStore as _e, storeToRefs as he } from "pinia";
7
7
  import { c as Ve, _ as Ue, F as we } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
8
8
  import { useI18n as O } from "@feedmepos/mf-common";
9
- import { u as Ce, _ as ke, a as Fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CeBoTYGq.js";
10
- import { F as Se } from "./decimal-BO9I7LUt.js";
11
- import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BmsbeAvi.js";
9
+ import { u as Ce, _ as ke, a as Fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BYfojQsH.js";
10
+ import { F as Se } from "./decimal-BiLgcnqq.js";
11
+ import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CJMb1aR1.js";
12
12
  const Ee = { class: "flex flex-col gap-8" }, Ie = {
13
13
  key: 0,
14
14
  class: "flex flex-col"
@@ -1,9 +1,9 @@
1
1
  import { ref as W, defineComponent as j, watch as ee, onMounted as te, onUnmounted as Fe, openBlock as S, createElementBlock as z, toRaw as be, reactive as xe, createElementVNode as g, toDisplayString as U, unref as c, createVNode as V, resolveComponent as L, createSlots as $e, withCtx as N, createTextVNode as We, renderSlot as De, createBlock as I, createCommentVNode as Ae, computed as F, isRef as we, normalizeClass as Se, normalizeStyle as Re } from "vue";
2
- import { n as Pe, T as Te, V as Ue, c as G, W as ae, X as le, Y as Ee, i as Le, R as E, j as Ne } from "./app-emo4vLKK.js";
2
+ import { n as Pe, T as Te, V as Ue, c as G, W as ae, X as le, Y as Ee, i as Le, R as E, j as Ne } from "./app-Cn0UYdAW.js";
3
3
  import { useCoreStore as Be, useI18n as q } from "@feedmepos/mf-common";
4
4
  import { D as Ve, R as Z, F as T } from "./row-action.enum-PMKMRrZR.js";
5
5
  import { c as qe, _ as ze, F as J } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
6
- import { u as Ie, _ as je, a as Oe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CeBoTYGq.js";
6
+ import { u as Ie, _ as je, a as Oe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BYfojQsH.js";
7
7
  import { useDialogChild as Ge, useDialog as Me, useSnackbar as se, useProxiedModel as oe, useBreakpoints as Ke } from "@feedmepos/ui-library";
8
8
  const Q = Pe((m, h) => {
9
9
  const y = Be();
@@ -412,6 +412,7 @@ export declare const useInventoryApi: () => {
412
412
  }>>;
413
413
  urls: {
414
414
  portalBackendUrl: string;
415
+ netSuiteBackendUrl: string;
415
416
  businessesBackendUrl: string;
416
417
  inventoryBackendUrl: string;
417
418
  foodMarketHubUrl: string;
@@ -0,0 +1,40 @@
1
+ export declare const useNetSuiteApi: () => {
2
+ readSetting(): Promise<{
3
+ accessToken?: string | null | undefined;
4
+ syncedAt?: string | null | undefined;
5
+ _id: string;
6
+ items: {
7
+ id: string;
8
+ netSuiteId: string;
9
+ unitTypeId: string;
10
+ unitOfMeasureId: string;
11
+ subsidiaryIds: string[];
12
+ }[];
13
+ enable: boolean;
14
+ locations: {
15
+ type: "restaurant" | "warehouse";
16
+ id: string;
17
+ name: string;
18
+ netSuiteId: string;
19
+ }[];
20
+ units: {
21
+ id: string;
22
+ measurements: {
23
+ id: string;
24
+ netSuiteId: string;
25
+ }[];
26
+ netSuiteId: string;
27
+ }[];
28
+ realm: string;
29
+ }>;
30
+ readSubsidiaries(): Promise<import("@feedmepos/zod-inventory").INetSuiteSubsidiaryDto[]>;
31
+ urls: {
32
+ portalBackendUrl: string;
33
+ netSuiteBackendUrl: string;
34
+ businessesBackendUrl: string;
35
+ inventoryBackendUrl: string;
36
+ foodMarketHubUrl: string;
37
+ menuV4BackendUrl: string;
38
+ dataBackendUrl: string;
39
+ };
40
+ };
@@ -1,10 +1,6 @@
1
1
  export declare const usePurchaseOrderTemplateApi: () => {
2
2
  getTemplate(id: string): Promise<FdoPurchaseOrderTemplate>;
3
- getLocationTemplate(id: string): Promise<FdoPurchaseOrderTemplate>;
4
- getBusinessTemplate(id: string): Promise<FdoPurchaseOrderTemplate>;
5
3
  readTemplates(): Promise<FdoPurchaseOrderTemplate[]>;
6
- readLocationTemplates(): Promise<FdoPurchaseOrderTemplate[]>;
7
- readBusinessTemplates(): Promise<FdoPurchaseOrderTemplate[]>;
8
4
  createTemplate(template: Omit<FdoPurchaseOrderTemplate, '_id'>): Promise<FdoPurchaseOrderTemplate>;
9
5
  updateTemplate(template: FdoPurchaseOrderTemplate): Promise<FdoPurchaseOrderTemplate>;
10
6
  deleteTemplate(template: FdoPurchaseOrderTemplate): Promise<any>;