@feedmepos/mf-common 1.29.20 → 1.29.22

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.
package/dist/app.js CHANGED
@@ -1,46 +1,47 @@
1
- import { p as s } from "./app-aa0cbc0c.js";
2
- import { C as u, E as m, r as M, J as E, K as P, F as S, A as p, h as d, I as c, P as g, _ as C, R as _, g as h, L as F, D as R, m as A, x as y, B as O, k as I, i as L, n as Q, N as T, w as b, s as G, v as N, o as U, M as f, G as v, Q as w, u as x, j as B, q as D, t as Y, H as z, z as V, y as W } from "./app-aa0cbc0c.js";
1
+ import { f as s } from "./app-aa2ad1cf.js";
2
+ import { G as u, C as m, E as M, r as E, K as P, L as S, F as p, A as d, j as _, I as c, P as C, _ as g, R as h, h as A, M as L, D as O, n as F, x as R, B as y, m as I, i as T, p as N, Q, w as b, s as f, v as G, o as U, N as v, H as w, S as x, u as B, k as D, q as Y, t as z, J as V, z as W, y as j } from "./app-aa2ad1cf.js";
3
3
  import "pinia";
4
4
  import "vue";
5
5
  import "vue-router";
6
6
  import "@feedmepos/ui-library";
7
7
  const r = s.Dinero;
8
8
  export {
9
- u as CustomAttributesForm,
9
+ u as ALL_LOCALE_OPTIONS,
10
+ m as CustomAttributesForm,
10
11
  r as Dinero,
11
- m as EMPTY_MONGO_QUERY,
12
- M as EMPTY_RULE,
13
- E as FM_POST_MESSAGE_REQUEST,
14
- P as FM_POST_MESSAGE_RESPONSE,
15
- S as FeedMeAuth,
16
- p as FmNavBar,
17
- d as FmpUser,
12
+ M as EMPTY_MONGO_QUERY,
13
+ E as EMPTY_RULE,
14
+ P as FM_POST_MESSAGE_REQUEST,
15
+ S as FM_POST_MESSAGE_RESPONSE,
16
+ p as FeedMeAuth,
17
+ d as FmNavBar,
18
+ _ as FmpUser,
18
19
  c as ItemSelector,
19
- g as Permission,
20
- C as PermissionWrapper,
21
- _ as RestaurantSelector,
22
- h as baseClientInstance,
23
- F as callMethodOnWindow,
24
- R as createFeedMeI18n,
25
- A as detectLocale,
26
- y as fullPermission,
27
- O as i18nMessages,
20
+ C as Permission,
21
+ g as PermissionWrapper,
22
+ h as RestaurantSelector,
23
+ A as baseClientInstance,
24
+ L as callMethodOnWindow,
25
+ O as createFeedMeI18n,
26
+ F as detectLocale,
27
+ R as fullPermission,
28
+ y as i18nMessages,
28
29
  I as initVueClientMonitoring,
29
- L as initialize,
30
- Q as installBusinessQueryStatePlugin,
31
- T as installPostMessageMethodCall,
30
+ T as initialize,
31
+ N as installBusinessQueryStatePlugin,
32
+ Q as installPostMessageMethodCall,
32
33
  b as installRouteValidation,
33
- G as isEmptyMongoQuery,
34
- N as isEmptyRule,
34
+ f as isEmptyMongoQuery,
35
+ G as isEmptyRule,
35
36
  U as onAuthStateChanged,
36
- f as registerPostMessageMethod,
37
- v as setEnabledLocales,
38
- w as uninstallPostMessageMethodCall,
39
- x as useCoreStore,
40
- B as useCountry,
41
- D as useCustomAttributes,
42
- Y as useI18n,
43
- z as useLocale,
44
- V as validatePermission,
45
- W as withPermission
37
+ v as registerPostMessageMethod,
38
+ w as setEnabledLocales,
39
+ x as uninstallPostMessageMethodCall,
40
+ B as useCoreStore,
41
+ D as useCountry,
42
+ Y as useCustomAttributes,
43
+ z as useI18n,
44
+ V as useLocale,
45
+ W as validatePermission,
46
+ j as withPermission
46
47
  };
@@ -27,11 +27,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
27
27
  variants: {
28
28
  default?: boolean | null | undefined;
29
29
  rateByTime?: {
30
+ startDate: string;
30
31
  rate: {
31
32
  amount: number;
32
33
  precision: number;
33
34
  };
34
- startDate: string;
35
35
  }[] | null | undefined;
36
36
  code: string;
37
37
  name: string;
@@ -66,11 +66,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
66
  variants: {
67
67
  default?: boolean | null | undefined;
68
68
  rateByTime?: {
69
+ startDate: string;
69
70
  rate: {
70
71
  amount: number;
71
72
  precision: number;
72
73
  };
73
- startDate: string;
74
74
  }[] | null | undefined;
75
75
  code: string;
76
76
  name: string;
@@ -1,7 +1,7 @@
1
1
  export { default as FmNavBar } from "./App.vue";
2
2
  export declare const CustomAttributesForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  entity: {
4
- type: import("vue").PropType<"restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse">;
4
+ type: import("vue").PropType<"restaurant" | "item" | "group" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse">;
5
5
  required: true;
6
6
  };
7
7
  modelValue: {
@@ -17,7 +17,7 @@ export declare const CustomAttributesForm: import("vue").DefineComponent<import(
17
17
  "update:modelValue": (value: import("./components/attribute/CustomAttributesForm.vue").CustomAttributes) => void;
18
18
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
19
  entity: {
20
- type: import("vue").PropType<"restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse">;
20
+ type: import("vue").PropType<"restaurant" | "item" | "group" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse">;
21
21
  required: true;
22
22
  };
23
23
  modelValue: {
@@ -11,9 +11,10 @@ export declare function usePaginatedBusinesses(): {
11
11
  agentId?: string | null | undefined;
12
12
  attributeSettings?: {
13
13
  options?: any[] | null | undefined;
14
+ readonly?: boolean | null | undefined;
14
15
  type: "string" | "number" | "boolean" | "date";
15
16
  key: string;
16
- entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
17
+ entity: "restaurant" | "item" | "group" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
17
18
  }[] | null | undefined;
18
19
  pf_agent?: {
19
20
  clickupId?: string | null | undefined;
@@ -62,6 +63,14 @@ export declare function usePaginatedBusinesses(): {
62
63
  contact: string;
63
64
  }[] | null | undefined;
64
65
  customerDisplayImages?: {
66
+ schedule?: {
67
+ endTime?: string | null | undefined;
68
+ startTime?: string | null | undefined;
69
+ startDate?: string | null | undefined;
70
+ endDate?: string | null | undefined;
71
+ repeatDays?: string[] | null | undefined;
72
+ enabled: boolean;
73
+ } | null | undefined;
65
74
  url: string;
66
75
  restaurantIds: string[];
67
76
  }[] | null | undefined;
@@ -79,9 +88,10 @@ export declare function usePaginatedBusinesses(): {
79
88
  agentId?: string | null | undefined;
80
89
  attributeSettings?: {
81
90
  options?: any[] | null | undefined;
91
+ readonly?: boolean | null | undefined;
82
92
  type: "string" | "number" | "boolean" | "date";
83
93
  key: string;
84
- entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
94
+ entity: "restaurant" | "item" | "group" | "inventoryPurchaseOrder" | "inventoryRecipe" | "inventorySku" | "warehouse";
85
95
  }[] | null | undefined;
86
96
  pf_agent?: {
87
97
  clickupId?: string | null | undefined;
@@ -130,6 +140,14 @@ export declare function usePaginatedBusinesses(): {
130
140
  contact: string;
131
141
  }[] | null | undefined;
132
142
  customerDisplayImages?: {
143
+ schedule?: {
144
+ endTime?: string | null | undefined;
145
+ startTime?: string | null | undefined;
146
+ startDate?: string | null | undefined;
147
+ endDate?: string | null | undefined;
148
+ repeatDays?: string[] | null | undefined;
149
+ enabled: boolean;
150
+ } | null | undefined;
133
151
  url: string;
134
152
  restaurantIds: string[];
135
153
  }[] | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"usePaginatedBusinesses.d.ts","sourceRoot":"","sources":["../../../src/composables/usePaginatedBusinesses.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C,wBAAgB,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA0DL,KAAK;EAiBrC"}
1
+ {"version":3,"file":"usePaginatedBusinesses.d.ts","sourceRoot":"","sources":["../../../src/composables/usePaginatedBusinesses.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C,wBAAgB,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA0DL,KAAK;EAiBrC"}
package/dist/i18n.d.ts CHANGED
@@ -2,8 +2,7 @@ import type { FeedMeI18nOptions } from "@feedmepos/i18n";
2
2
  import { useI18n } from "@feedmepos/i18n";
3
3
  import portalShellEnUS from "./locales/portalshell/en-US.json";
4
4
  export { useI18n };
5
- export { setEnabledLocales } from "./composables/useLocale";
6
- export { useLocale } from "./composables/useLocale";
5
+ export { ALL_LOCALE_OPTIONS, setEnabledLocales, useLocale } from "./composables/useLocale";
7
6
  export type { FeedMeI18nOptions, I18n, DefineLocaleMessage } from "@feedmepos/i18n";
8
7
  export { type CommonMessagesSchema } from "./locales/common/types";
9
8
  export type PortalShellI18nSchema = typeof portalShellEnUS;
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EAAyC,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAUhF,OAAO,eAAe,MAAM,kCAAkC,CAAA;AAQ9D,OAAO,EAAE,OAAO,EAAE,CAAA;AAClB,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACnD,YAAY,EAAE,iBAAiB,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,iBAA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