@feedmepos/mf-settings 0.0.48-beta.1-ex → 0.0.49

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.
@@ -1,6 +1,7 @@
1
1
  import enUS from "./locales/en-US.json";
2
2
  export { routers } from "./router/shared";
3
- export declare const FmApp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3
+ export declare const FmApp: () => Promise<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
4
+ export declare function initSettings(): Promise<void>;
4
5
  export type AppMessagesSchema = typeof enUS;
5
6
  export declare const i18nMessages: {
6
7
  "en-US": {
@@ -41,8 +41,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
41
41
  required: true;
42
42
  };
43
43
  }>> & Readonly<{}>, {
44
- restaurantId: string;
45
44
  initialValue: RestaurantDialogData;
45
+ restaurantId: string;
46
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
47
47
  trigger?(_: {
48
48
  trigger: (restaurantId?: string | undefined, initialValue?: RestaurantDialogData | undefined) => void;
@@ -4,7 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
4
4
  type: PropType<{
5
5
  type: "string" | "number" | "boolean" | "date";
6
6
  key: string;
7
- entity: "restaurant" | "item";
7
+ entity: "item" | "restaurant";
8
8
  }>;
9
9
  default: undefined;
10
10
  };
@@ -16,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
16
16
  type: PropType<{
17
17
  type: "string" | "number" | "boolean" | "date";
18
18
  key: string;
19
- entity: "restaurant" | "item";
19
+ entity: "item" | "restaurant";
20
20
  }>;
21
21
  default: undefined;
22
22
  };
@@ -24,7 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
24
24
  initialValue: {
25
25
  type: "string" | "number" | "boolean" | "date";
26
26
  key: string;
27
- entity: "restaurant" | "item";
27
+ entity: "item" | "restaurant";
28
28
  };
29
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
30
30
  default?(_: {
@@ -3,25 +3,25 @@ export declare const useAttributeSettingsStore: import("pinia").StoreDefinition<
3
3
  customAttributes: import("vue").Ref<{
4
4
  type: "string" | "number" | "boolean" | "date";
5
5
  key: string;
6
- entity: "restaurant" | "item";
6
+ entity: "item" | "restaurant";
7
7
  }[], {
8
8
  type: "string" | "number" | "boolean" | "date";
9
9
  key: string;
10
- entity: "restaurant" | "item";
10
+ entity: "item" | "restaurant";
11
11
  }[] | {
12
12
  type: "string" | "number" | "boolean" | "date";
13
13
  key: string;
14
- entity: "restaurant" | "item";
14
+ entity: "item" | "restaurant";
15
15
  }[]>;
16
16
  restaurantAttributes: import("vue").ComputedRef<{
17
17
  type: "string" | "number" | "boolean" | "date";
18
18
  key: string;
19
- entity: "restaurant" | "item";
19
+ entity: "item" | "restaurant";
20
20
  }[]>;
21
21
  itemAttributes: import("vue").ComputedRef<{
22
22
  type: "string" | "number" | "boolean" | "date";
23
23
  key: string;
24
- entity: "restaurant" | "item";
24
+ entity: "item" | "restaurant";
25
25
  }[]>;
26
26
  readAttributeSettings: () => Promise<void>;
27
27
  addOrUpdateAttribute: (attribute: FdoCustomAttribute) => Promise<void>;
@@ -30,25 +30,25 @@ export declare const useAttributeSettingsStore: import("pinia").StoreDefinition<
30
30
  customAttributes: import("vue").Ref<{
31
31
  type: "string" | "number" | "boolean" | "date";
32
32
  key: string;
33
- entity: "restaurant" | "item";
33
+ entity: "item" | "restaurant";
34
34
  }[], {
35
35
  type: "string" | "number" | "boolean" | "date";
36
36
  key: string;
37
- entity: "restaurant" | "item";
37
+ entity: "item" | "restaurant";
38
38
  }[] | {
39
39
  type: "string" | "number" | "boolean" | "date";
40
40
  key: string;
41
- entity: "restaurant" | "item";
41
+ entity: "item" | "restaurant";
42
42
  }[]>;
43
43
  restaurantAttributes: import("vue").ComputedRef<{
44
44
  type: "string" | "number" | "boolean" | "date";
45
45
  key: string;
46
- entity: "restaurant" | "item";
46
+ entity: "item" | "restaurant";
47
47
  }[]>;
48
48
  itemAttributes: import("vue").ComputedRef<{
49
49
  type: "string" | "number" | "boolean" | "date";
50
50
  key: string;
51
- entity: "restaurant" | "item";
51
+ entity: "item" | "restaurant";
52
52
  }[]>;
53
53
  readAttributeSettings: () => Promise<void>;
54
54
  addOrUpdateAttribute: (attribute: FdoCustomAttribute) => Promise<void>;
@@ -57,25 +57,25 @@ export declare const useAttributeSettingsStore: import("pinia").StoreDefinition<
57
57
  customAttributes: import("vue").Ref<{
58
58
  type: "string" | "number" | "boolean" | "date";
59
59
  key: string;
60
- entity: "restaurant" | "item";
60
+ entity: "item" | "restaurant";
61
61
  }[], {
62
62
  type: "string" | "number" | "boolean" | "date";
63
63
  key: string;
64
- entity: "restaurant" | "item";
64
+ entity: "item" | "restaurant";
65
65
  }[] | {
66
66
  type: "string" | "number" | "boolean" | "date";
67
67
  key: string;
68
- entity: "restaurant" | "item";
68
+ entity: "item" | "restaurant";
69
69
  }[]>;
70
70
  restaurantAttributes: import("vue").ComputedRef<{
71
71
  type: "string" | "number" | "boolean" | "date";
72
72
  key: string;
73
- entity: "restaurant" | "item";
73
+ entity: "item" | "restaurant";
74
74
  }[]>;
75
75
  itemAttributes: import("vue").ComputedRef<{
76
76
  type: "string" | "number" | "boolean" | "date";
77
77
  key: string;
78
- entity: "restaurant" | "item";
78
+ entity: "item" | "restaurant";
79
79
  }[]>;
80
80
  readAttributeSettings: () => Promise<void>;
81
81
  addOrUpdateAttribute: (attribute: FdoCustomAttribute) => Promise<void>;