@feedmepos/mf-inventory-portal 0.0.22-dev.29 → 0.0.22-dev.30

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 (50) hide show
  1. package/dist/{ApprovalView-Ba-tUg0r.js → ApprovalView-BowcCo8d.js} +4 -4
  2. package/dist/{BindingsDialog-BzE7RozX.js → BindingsDialog-CmmLVQTN.js} +1 -1
  3. package/dist/{BindingsPicker-21frBXLS.js → BindingsPicker-BErHbcxb.js} +1 -1
  4. package/dist/{BindingsTable-b5C-I-cP.js → BindingsTable-hrfbN6tX.js} +1 -1
  5. package/dist/{ClosingTemplateView-DMBAODHP.js → ClosingTemplateView-BVefCGpC.js} +374 -370
  6. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DeX65Yyd.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CXHh_Bti.js} +1 -1
  7. package/dist/IngredientsView-BqnUckSv.js +1817 -0
  8. package/dist/{IntegrationView-BMrUQaFT.js → IntegrationView-BEdAKS1I.js} +120 -120
  9. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D0Yw7F_u.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-pr7Sb7Om.js} +1 -1
  10. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-IS1pDkV9.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DsYwNO5N.js} +1 -1
  11. package/dist/{PurchaseOrderPrintPreview-CdOwEm2W.js → PurchaseOrderPrintPreview-DzaS_c8R.js} +1 -1
  12. package/dist/{ReceiveRequestView-B86diRXc.js → ReceiveRequestView-CU-bhIjl.js} +6 -6
  13. package/dist/{RecipeView-7zB4lKdK.js → RecipeView-CmETsz5e.js} +3 -3
  14. package/dist/{StockView-zoWR3C4k.js → StockView-BgmjwPbh.js} +6 -6
  15. package/dist/{SupplierView-C-1jW5ON.js → SupplierView-CDm5q1th.js} +3 -3
  16. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BWItuAd0.js → TransferDetails.vue_vue_type_script_setup_true_lang-BZJyhJu4.js} +4 -4
  17. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-lybenWiw.js +1678 -0
  18. package/dist/TransferTemplateView-CSQ2XxFU.js +1232 -0
  19. package/dist/{UnitView-yFNEgTl_.js → UnitView-D7bcDkOX.js} +4 -4
  20. package/dist/{WarehouseView-CregM24b.js → WarehouseView-BJAKVdRs.js} +2 -2
  21. package/dist/api/inventory.d.ts +71 -82
  22. package/dist/{app-BsDFpmXX.js → app-A8ykBdGf.js} +12514 -12256
  23. package/dist/app.js +1 -1
  24. package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
  25. package/dist/{decimal-B4_Y3KEm.js → decimal-BC4EGBAX.js} +1 -1
  26. package/dist/{defineDeepModel-BYWYdjn7.js → defineDeepModel-Ckfkwau_.js} +3 -3
  27. package/dist/{format-time-from-id-xHkyagtQ.js → format-time-from-id-o1plVFRH.js} +3 -3
  28. package/dist/{id-to-date-BZG9rZhi.js → id-to-date-DyPIToei.js} +1 -1
  29. package/dist/{purchase-order-transaction-type-B2Vf-MS0.js → purchase-order-transaction-type-skN4AmEj.js} +3 -3
  30. package/dist/stores/inventory.d.ts +15 -0
  31. package/dist/stores/location.d.ts +420 -486
  32. package/dist/stores/netsuite.d.ts +1 -1
  33. package/dist/{supplier-B9WHfMl-.js → supplier-DV3Tg4TT.js} +1 -1
  34. package/dist/tsconfig.app.tsbuildinfo +1 -1
  35. package/dist/{use-template-enabled-locations-2-DMyd7rbX.js → use-template-enabled-locations-2-u_kejm-N.js} +1 -1
  36. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +852 -984
  37. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +852 -984
  38. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +996 -58
  39. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1511 -104
  40. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1417 -10
  41. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -82
  42. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1272 -2652
  43. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +399 -859
  44. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +108 -223
  45. package/dist/{xlsx-BFdyFL_3.js → xlsx-CrHTSBmd.js} +1 -1
  46. package/dist/{xlsx.util-UUCw3Kgc.js → xlsx.util-hjzkZFnf.js} +2 -2
  47. package/package.json +1 -1
  48. package/dist/IngredientsView-C6Lxkg-R.js +0 -1758
  49. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-5u4NM7G5.js +0 -1522
  50. package/dist/TransferTemplateView-DnKSCXki.js +0 -1210
@@ -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, m as pe, n as fe, e as ee, j as ve } from "./app-BsDFpmXX.js";
2
+ import { u as G, S as me, c as oe, R as j, A as ce, a as J, m as pe, n as fe, e as ee, j as ve } from "./app-A8ykBdGf.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-DeX65Yyd.js";
10
- import { F as Se } from "./decimal-B4_Y3KEm.js";
11
- import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D0Yw7F_u.js";
9
+ import { u as Ce, _ as ke, a as Fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CXHh_Bti.js";
10
+ import { F as Se } from "./decimal-BC4EGBAX.js";
11
+ import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-pr7Sb7Om.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 { o as Pe, V as Te, W as Ue, c as G, X as ae, Y as le, Z as Ee, i as Le, R as E, j as Ne } from "./app-BsDFpmXX.js";
2
+ import { o as Pe, V as Te, W as Ue, c as G, X as ae, Y as le, Z as Ee, i as Le, R as E, j as Ne } from "./app-A8ykBdGf.js";
3
3
  import { useCoreStore as Be, useI18n as q } from "@feedmepos/mf-common";
4
4
  import { D as Ve, R as Y, 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-DeX65Yyd.js";
6
+ import { u as Ie, _ as je, a as Oe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CXHh_Bti.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();
@@ -1,91 +1,18 @@
1
1
  import { type WithRev } from '@/api/type';
2
2
  export declare const useInventoryApi: () => {
3
- readInventoryLocations(): Promise<({
4
- doc?: any;
5
- type: "restaurant";
6
- name: string;
7
- acceptRequest: boolean;
8
- dbName: string;
9
- } | {
10
- type: "warehouse";
3
+ readInventoryLocations(): Promise<{
4
+ type: "restaurant" | "warehouse";
11
5
  name: string;
12
6
  acceptRequest: boolean;
13
7
  dbName: string;
14
8
  doc: {
15
- pf_business?: {
16
- internal?: boolean | null | undefined;
17
- url?: string | null | undefined;
18
- expiredAt?: string | null | undefined;
19
- agentId?: string | null | undefined;
20
- attributeSettings?: {
21
- type: "string" | "number" | "boolean" | "date";
22
- key: string;
23
- entity: "restaurant" | "item";
24
- }[] | null | undefined;
25
- pf_agent?: {
26
- clickupId?: string | null | undefined;
27
- members?: {
28
- pf_user?: {
29
- email?: string | null | undefined;
30
- phoneNumber?: string | null | undefined;
31
- birthday?: string | null | undefined;
32
- gender?: "MALE" | "FEMALE" | null | undefined;
33
- addresses?: {
34
- name: string;
35
- address: string;
36
- coordinates: number[];
37
- }[] | null | undefined;
38
- photoURL?: string | null | undefined;
39
- displayName?: string | null | undefined;
40
- imported?: {
41
- raw: Record<string, any>;
42
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
43
- } | null | undefined;
44
- _id: string;
45
- } | null | undefined;
46
- role: "ADMIN";
47
- userId: string;
48
- }[] | null | undefined;
49
- code: string;
50
- name: string;
51
- _id: string;
52
- isReseller: boolean;
53
- } | null | undefined;
54
- thumbnail?: string | null | undefined;
55
- billingInfos?: {
56
- _id?: string | null | undefined;
57
- name: string;
58
- address: {
59
- coordinates?: number[] | null | undefined;
60
- line2?: string | null | undefined;
61
- state: string;
62
- country: string;
63
- line1: string;
64
- city: string;
65
- postcode: string;
66
- };
67
- email: string;
68
- companyName: string;
69
- contact: string;
70
- }[] | null | undefined;
71
- customerDisplayImages?: {
72
- url: string;
73
- restaurantIds: string[];
74
- }[] | null | undefined;
75
- name: string;
76
- _id: string;
77
- ownerId: string;
78
- restaurantQuota: number;
79
- warehouseQuota: number;
80
- menuVersion: string;
81
- } | null | undefined;
82
9
  _id: string;
83
10
  businessId: string;
84
11
  profile: {
85
- email?: string | null | undefined;
86
- phoneNo?: string | null | undefined;
87
- name: string;
88
- address: {
12
+ code?: string | null | undefined;
13
+ _id?: string | null | undefined;
14
+ name?: string | undefined;
15
+ address?: {
89
16
  coordinates?: number[] | null | undefined;
90
17
  line2?: string | null | undefined;
91
18
  state: string;
@@ -93,11 +20,73 @@ export declare const useInventoryApi: () => {
93
20
  line1: string;
94
21
  city: string;
95
22
  postcode: string;
96
- };
97
- regNo: string;
23
+ } | undefined;
24
+ email?: string | undefined;
25
+ regNo?: string | undefined;
26
+ sstRegNo?: string | null | undefined;
27
+ phoneNo?: string | undefined;
28
+ legalName?: string | null | undefined;
29
+ discovery?: boolean | null | undefined;
30
+ coverPhoto?: string | null | undefined;
31
+ thumbnailPhoto?: string | null | undefined;
32
+ description?: string | null | undefined;
33
+ photos?: string[] | null | undefined;
34
+ operatingHours?: {
35
+ 0: {
36
+ hours: {
37
+ end: string;
38
+ start: string;
39
+ }[];
40
+ enable: boolean;
41
+ };
42
+ 2: {
43
+ hours: {
44
+ end: string;
45
+ start: string;
46
+ }[];
47
+ enable: boolean;
48
+ };
49
+ 1: {
50
+ hours: {
51
+ end: string;
52
+ start: string;
53
+ }[];
54
+ enable: boolean;
55
+ };
56
+ 3: {
57
+ hours: {
58
+ end: string;
59
+ start: string;
60
+ }[];
61
+ enable: boolean;
62
+ };
63
+ 4: {
64
+ hours: {
65
+ end: string;
66
+ start: string;
67
+ }[];
68
+ enable: boolean;
69
+ };
70
+ 5: {
71
+ hours: {
72
+ end: string;
73
+ start: string;
74
+ }[];
75
+ enable: boolean;
76
+ };
77
+ 6: {
78
+ hours: {
79
+ end: string;
80
+ start: string;
81
+ }[];
82
+ enable: boolean;
83
+ };
84
+ } | null | undefined;
85
+ tags?: string[] | null | undefined;
86
+ url?: string | null | undefined;
98
87
  };
99
88
  };
100
- })[]>;
89
+ }[]>;
101
90
  readInventory(): Promise<WithRev<{
102
91
  unit?: {
103
92
  _id: string;