@feedmepos/mf-brand-app-builder 0.5.21-dev.0 → 0.5.22-dev.1

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 (35) hide show
  1. package/dist/{App-CouqATvY.js → App-D5eO5srB.js} +3 -3
  2. package/dist/{AssetsSettings-VrTm7fqj.js → AssetsSettings-D_E8q7eK.js} +3 -3
  3. package/dist/{BrandkitView-BWayOWSf.js → BrandkitView-BlJhBYi6.js} +2603 -1984
  4. package/dist/{BuilderView-BfGBA-IQ.js → BuilderView-Dfl1VhES.js} +2718 -2162
  5. package/dist/{ImageUpload-CFXqs0JU.js → ImageUpload-FyvXrDKK.js} +2 -2
  6. package/dist/{LinkButton-DSq0KYll.js → LinkButton-C9OU3Rcs.js} +1 -1
  7. package/dist/{ListRepeater-Cob4tslX.js → ListRepeater-BnVoFhhm.js} +1 -1
  8. package/dist/{ManagementSettings-Dvz3GmOR.js → ManagementSettings-CtvF5d9C.js} +2 -2
  9. package/dist/{ProjectView-BQGLwc0w.js → ProjectView-Bq0vBJ3V.js} +36 -36
  10. package/dist/{app-lMq3BVlx.js → app-CJ2VgCHp.js} +439 -352
  11. package/dist/app.js +1 -1
  12. package/dist/brand-core/src/entity.d.ts +20 -0
  13. package/dist/client/components/src/components/Member/MemberCards.vue.d.ts +1 -0
  14. package/dist/client/components/src/components/MemberCard.vue.d.ts +6 -0
  15. package/dist/client/components/src/components/OrderHistoryCard.vue.d.ts +6 -1
  16. package/dist/client/merchant/src/api/business/index.d.ts +1 -1
  17. package/dist/client/merchant/src/app.d.ts +91 -4
  18. package/dist/client/merchant/src/components/modals/TemplateSelectionModal.vue.d.ts +18 -0
  19. package/dist/client/merchant/src/components/order-template/LayoutTemplateSection.vue.d.ts +14 -0
  20. package/dist/client/merchant/src/components/order-template/OrderTemplateEditorButton.vue.d.ts +10 -0
  21. package/dist/client/merchant/src/components/order-template/OrderTemplateEditorForm.vue.d.ts +14 -0
  22. package/dist/client/merchant/src/composables/useNode/index.d.ts +1 -0
  23. package/dist/client/merchant/src/config/defaultTemplateConfig.d.ts +18 -0
  24. package/dist/client/merchant/src/node-configs/member-card/mock-data.d.ts +1 -0
  25. package/dist/client/merchant/src/node-configs/member-card/props.d.ts +1 -0
  26. package/dist/client/merchant/src/stores/business/index.d.ts +109 -1
  27. package/dist/{image-Dpri5FX2.js → image-BtHlnsmY.js} +1 -1
  28. package/dist/{index-CeGUgOHl.js → index-5BRydZO9.js} +1 -1
  29. package/dist/{index-BveesOeC.js → index-BEAkOquM.js} +1 -1
  30. package/dist/{index-B9eW8FKP.js → index-BXwbQwb-.js} +133 -133
  31. package/dist/{index-G68bUkCy.js → index-ChMgx2Hq.js} +1 -1
  32. package/dist/{main-2c5dYrrl.js → main-8cObQmGm.js} +2686 -2604
  33. package/dist/package.json +4 -2
  34. package/dist/style.css +1 -1
  35. package/package.json +4 -2
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { c as i, d as o, i as e, r as m } from "./app-lMq3BVlx.js";
2
+ import { c as i, d as o, i as e, r as m } from "./app-CJ2VgCHp.js";
3
3
  export {
4
4
  i as FmApp,
5
5
  o as FormKitPlugin,
@@ -1,3 +1,4 @@
1
+ import { type TemplateNode } from "@feedmepos/ordering-ui";
1
2
  export type BrandFont = {
2
3
  name: string;
3
4
  source: 'google' | 'custom';
@@ -38,16 +39,35 @@ export type BrandKit = {
38
39
  heading?: string;
39
40
  body?: string;
40
41
  };
42
+ fontFamilies?: {
43
+ stylesheet: string;
44
+ }[];
41
45
  ordering?: {
42
46
  app: {
43
47
  category: 'HORIZONTAL' | 'VERTICAL';
44
48
  items: 'LIST' | 'GRID';
49
+ singleCategory: boolean;
45
50
  };
46
51
  kiosk: {
47
52
  category: 'HORIZONTAL' | 'VERTICAL';
48
53
  };
49
54
  };
55
+ layout?: {
56
+ app?: {
57
+ template?: {
58
+ mainView?: Record<string, unknown>;
59
+ cartView?: Record<string, unknown>;
60
+ };
61
+ };
62
+ kiosk?: {
63
+ template?: {
64
+ mainView?: Record<string, unknown>;
65
+ cartView?: Record<string, unknown>;
66
+ };
67
+ };
68
+ };
50
69
  };
70
+ export { type TemplateNode };
51
71
  export type FdoMetadata = {
52
72
  type: 'BUSINESS' | 'RESTAURANT';
53
73
  country: string;
@@ -10,6 +10,7 @@ interface IMemberCardsProps {
10
10
  data: IMembershipCardData | null;
11
11
  authLoading: boolean;
12
12
  signedIn: boolean;
13
+ primaryColor?: string;
13
14
  }
14
15
  declare const _default: import("vue").DefineComponent<IMemberCardsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
15
16
  linkClick: (link: ILink) => any;
@@ -22,6 +22,9 @@ interface IMembershipCardProps {
22
22
  signedIn?: boolean;
23
23
  designStyle: number;
24
24
  showMemberQr: boolean;
25
+ primaryColor?: string;
26
+ accentColor?: string;
27
+ textOnPrimaryColor?: string;
25
28
  }
26
29
  declare const _default: import("vue").DefineComponent<IMembershipCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
27
30
  linkClick: (linkTo: ILink) => any;
@@ -35,5 +38,8 @@ declare const _default: import("vue").DefineComponent<IMembershipCardProps, {},
35
38
  onOpenMemberQr?: (() => any) | undefined;
36
39
  }>, {
37
40
  showMemberQr: boolean;
41
+ primaryColor: string;
42
+ accentColor: string;
43
+ textOnPrimaryColor: string;
38
44
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
39
45
  export default _default;
@@ -11,6 +11,8 @@ interface IOrderHistoryCardProps {
11
11
  data: IOrderHistoryData[];
12
12
  signedIn: boolean;
13
13
  authLoading?: boolean;
14
+ primaryColor?: string;
15
+ textOnPrimaryColor?: string;
14
16
  }
15
17
  declare const _default: import("vue").DefineComponent<IOrderHistoryCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
18
  signIn: () => any;
@@ -18,5 +20,8 @@ declare const _default: import("vue").DefineComponent<IOrderHistoryCardProps, {}
18
20
  }, string, import("vue").PublicProps, Readonly<IOrderHistoryCardProps> & Readonly<{
19
21
  onSignIn?: (() => any) | undefined;
20
22
  onOrderClicked?: ((orderId: string) => any) | undefined;
21
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
23
+ }>, {
24
+ primaryColor: string;
25
+ textOnPrimaryColor: string;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
22
27
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { type IBaResponse } from '..';
2
- import type { BrandKit } from '../../../../../brand-core/src/entity';
2
+ import type { BrandKit } from '@feedmepos/brand-core';
3
3
  /**
4
4
  * Get all business and country info from top-level slug
5
5
  * @param slug
@@ -98,6 +98,7 @@ export declare const i18nMessages: {
98
98
  showMemberQr: string;
99
99
  memberTier: string;
100
100
  collectMoreExperience: string;
101
+ noTier: string;
101
102
  maxTier: string;
102
103
  unlockLevel: string;
103
104
  congratulations: string;
@@ -385,6 +386,8 @@ export declare const i18nMessages: {
385
386
  transferVoucher: string;
386
387
  transferExpire: string;
387
388
  notOwner: string;
389
+ claimSuccess: string;
390
+ claimFailed: string;
388
391
  };
389
392
  card: {
390
393
  bindCard: {
@@ -751,6 +754,18 @@ export declare const i18nMessages: {
751
754
  addNewTemplate: string;
752
755
  addMemberTemplate: string;
753
756
  };
757
+ selection: {
758
+ title: string;
759
+ description: string;
760
+ defaultTitle: string;
761
+ defaultDescription: string;
762
+ defaultPreview: string;
763
+ blankTitle: string;
764
+ blankDescription: string;
765
+ blankPreview: string;
766
+ cancel: string;
767
+ create: string;
768
+ };
754
769
  nodeConfig: {
755
770
  pageSetting: string;
756
771
  style: string;
@@ -968,7 +983,6 @@ export declare const i18nMessages: {
968
983
  landingPageDesign: string;
969
984
  memberFeaturesPages: string;
970
985
  memberReferral: string;
971
- ordering: string;
972
986
  };
973
987
  dialog: {
974
988
  renameTemplate: {
@@ -1143,6 +1157,7 @@ export declare const i18nMessages: {
1143
1157
  showMemberQr: string;
1144
1158
  memberTier: string;
1145
1159
  collectMoreExperience: string;
1160
+ noTier: string;
1146
1161
  maxTier: string;
1147
1162
  unlockLevel: string;
1148
1163
  congratulations: string;
@@ -1422,6 +1437,8 @@ export declare const i18nMessages: {
1422
1437
  transferVoucher: string;
1423
1438
  transferExpire: string;
1424
1439
  notOwner: string;
1440
+ claimSuccess: string;
1441
+ claimFailed: string;
1425
1442
  };
1426
1443
  card: {
1427
1444
  bindCard: {
@@ -1820,6 +1837,18 @@ export declare const i18nMessages: {
1820
1837
  addNewTemplate: string;
1821
1838
  addMemberTemplate: string;
1822
1839
  };
1840
+ selection: {
1841
+ title: string;
1842
+ description: string;
1843
+ defaultTitle: string;
1844
+ defaultDescription: string;
1845
+ defaultPreview: string;
1846
+ blankTitle: string;
1847
+ blankDescription: string;
1848
+ blankPreview: string;
1849
+ cancel: string;
1850
+ create: string;
1851
+ };
1823
1852
  nodeConfig: {
1824
1853
  pageSetting: string;
1825
1854
  style: string;
@@ -2037,7 +2066,6 @@ export declare const i18nMessages: {
2037
2066
  landingPageDesign: string;
2038
2067
  memberFeaturesPages: string;
2039
2068
  memberReferral: string;
2040
- ordering: string;
2041
2069
  };
2042
2070
  dialog: {
2043
2071
  renameTemplate: {
@@ -2104,8 +2132,13 @@ export declare const i18nMessages: {
2104
2132
  currentSelection: string;
2105
2133
  saveSettings: string;
2106
2134
  settingsSaved: string;
2135
+ movedToBrandkit: string;
2136
+ goToBrandkit: string;
2107
2137
  };
2108
2138
  };
2139
+ app: {
2140
+ runningVersion: string;
2141
+ };
2109
2142
  };
2110
2143
  };
2111
2144
  'zh-TW': {
@@ -2207,6 +2240,7 @@ export declare const i18nMessages: {
2207
2240
  showMemberQr: string;
2208
2241
  memberTier: string;
2209
2242
  collectMoreExperience: string;
2243
+ noTier: string;
2210
2244
  maxTier: string;
2211
2245
  unlockLevel: string;
2212
2246
  congratulations: string;
@@ -2484,6 +2518,8 @@ export declare const i18nMessages: {
2484
2518
  transferVoucher: string;
2485
2519
  transferExpire: string;
2486
2520
  notOwner: string;
2521
+ claimSuccess: string;
2522
+ claimFailed: string;
2487
2523
  };
2488
2524
  card: {
2489
2525
  bindCard: {
@@ -2859,6 +2895,18 @@ export declare const i18nMessages: {
2859
2895
  addNewTemplate: string;
2860
2896
  addMemberTemplate: string;
2861
2897
  };
2898
+ selection: {
2899
+ title: string;
2900
+ description: string;
2901
+ defaultTitle: string;
2902
+ defaultDescription: string;
2903
+ defaultPreview: string;
2904
+ blankTitle: string;
2905
+ blankDescription: string;
2906
+ blankPreview: string;
2907
+ cancel: string;
2908
+ create: string;
2909
+ };
2862
2910
  nodeConfig: {
2863
2911
  pageSetting: string;
2864
2912
  style: string;
@@ -3076,7 +3124,6 @@ export declare const i18nMessages: {
3076
3124
  landingPageDesign: string;
3077
3125
  memberFeaturesPages: string;
3078
3126
  memberReferral: string;
3079
- ordering: string;
3080
3127
  };
3081
3128
  dialog: {
3082
3129
  renameTemplate: {
@@ -3143,8 +3190,13 @@ export declare const i18nMessages: {
3143
3190
  currentSelection: string;
3144
3191
  saveSettings: string;
3145
3192
  settingsSaved: string;
3193
+ movedToBrandkit: string;
3194
+ goToBrandkit: string;
3146
3195
  };
3147
3196
  };
3197
+ app: {
3198
+ runningVersion: string;
3199
+ };
3148
3200
  };
3149
3201
  };
3150
3202
  'th-TH': {
@@ -3246,6 +3298,7 @@ export declare const i18nMessages: {
3246
3298
  showMemberQr: string;
3247
3299
  memberTier: string;
3248
3300
  collectMoreExperience: string;
3301
+ noTier: string;
3249
3302
  maxTier: string;
3250
3303
  unlockLevel: string;
3251
3304
  congratulations: string;
@@ -3525,6 +3578,8 @@ export declare const i18nMessages: {
3525
3578
  transferVoucher: string;
3526
3579
  transferExpire: string;
3527
3580
  notOwner: string;
3581
+ claimSuccess: string;
3582
+ claimFailed: string;
3528
3583
  };
3529
3584
  card: {
3530
3585
  bindCard: {
@@ -3854,6 +3909,18 @@ export declare const i18nMessages: {
3854
3909
  addNewTemplate: string;
3855
3910
  addMemberTemplate: string;
3856
3911
  };
3912
+ selection: {
3913
+ title: string;
3914
+ description: string;
3915
+ defaultTitle: string;
3916
+ defaultDescription: string;
3917
+ defaultPreview: string;
3918
+ blankTitle: string;
3919
+ blankDescription: string;
3920
+ blankPreview: string;
3921
+ cancel: string;
3922
+ create: string;
3923
+ };
3857
3924
  nodeConfig: {
3858
3925
  pageSetting: string;
3859
3926
  style: string;
@@ -4071,7 +4138,6 @@ export declare const i18nMessages: {
4071
4138
  landingPageDesign: string;
4072
4139
  memberFeaturesPages: string;
4073
4140
  memberReferral: string;
4074
- ordering: string;
4075
4141
  };
4076
4142
  dialog: {
4077
4143
  renameTemplate: {
@@ -4120,6 +4186,27 @@ export declare const i18nMessages: {
4120
4186
  delete: string;
4121
4187
  unpublish: string;
4122
4188
  };
4189
+ ordering: {
4190
+ title: string;
4191
+ subtitle: string;
4192
+ kioskSettings: string;
4193
+ kioskSettingsDescription: string;
4194
+ orderAppSettings: string;
4195
+ orderAppDescription: string;
4196
+ categoryLayout: string;
4197
+ categoryLayoutDescription: string;
4198
+ horizontal: string;
4199
+ vertical: string;
4200
+ menuLayout: string;
4201
+ menuLayoutDescription: string;
4202
+ grid: string;
4203
+ list: string;
4204
+ currentSelection: string;
4205
+ saveSettings: string;
4206
+ settingsSaved: string;
4207
+ movedToBrandkit: string;
4208
+ goToBrandkit: string;
4209
+ };
4123
4210
  };
4124
4211
  settings: {
4125
4212
  title: string;
@@ -0,0 +1,18 @@
1
+ export interface TemplateTypeOption {
2
+ type: 'default' | 'blank';
3
+ title: string;
4
+ description: string;
5
+ previewImage?: string;
6
+ }
7
+ interface Props {
8
+ show: boolean;
9
+ templateOptions: TemplateTypeOption[];
10
+ }
11
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ close: () => any;
13
+ select: (templateType: "default" | "blank") => any;
14
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
15
+ onClose?: (() => any) | undefined;
16
+ onSelect?: ((templateType: "default" | "blank") => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ export default _default;
@@ -0,0 +1,14 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ description: string;
4
+ warning?: string;
5
+ };
6
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>, {
7
+ default?(_: {}): any;
8
+ }>;
9
+ export default _default;
10
+ type __VLS_WithTemplateSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ switchLabel?: string;
3
+ template: any;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ update: (template: any) => any;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ onUpdate?: ((template: any) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ export default _default;
@@ -0,0 +1,14 @@
1
+ interface OrderTemplate {
2
+ [key: string]: any;
3
+ }
4
+ interface Props {
5
+ template: OrderTemplate | null;
6
+ }
7
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ error: (error: string) => any;
9
+ update: (template: OrderTemplate) => any;
10
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
11
+ onError?: ((error: string) => any) | undefined;
12
+ onUpdate?: ((template: OrderTemplate) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ export default _default;
@@ -4,6 +4,7 @@
4
4
  */
5
5
  export declare function useNodeManager(): {
6
6
  buildNewNode: (nodeType: string, data: any, props?: any) => INodeComponent;
7
+ generateId: () => string;
7
8
  copyNode: (node: INodeComponent) => void;
8
9
  pasteNode: () => void;
9
10
  };
@@ -0,0 +1,18 @@
1
+ import { type INodeComponent } from '../composables/useNode';
2
+ /**
3
+ * Default template configuration extracted from DefaultTemplate.vue
4
+ * This provides a starting point for new templates with pre-built components
5
+ */
6
+ export declare const defaultTemplateConfig: INodeComponent[];
7
+ /**
8
+ * Default member template configuration extracted from DefaultMemberTemplate.vue
9
+ * This provides member-specific components for member templates
10
+ */
11
+ export declare const defaultMemberTemplateConfig: INodeComponent[];
12
+ /**
13
+ * Creates a default homepage node with pre-configured components
14
+ * @param nodeManager - Node manager instance to create nodes
15
+ * @param isMemberTemplate - Whether this is a member template
16
+ * @returns Configured homepage node
17
+ */
18
+ export declare function createDefaultTemplate(nodeManager: any, isMemberTemplate?: boolean): INodeComponent;
@@ -4,6 +4,7 @@ export declare const MemberCard: {
4
4
  memberTierName: string;
5
5
  memberCredit: number;
6
6
  memberPoints: number;
7
+ memberCoins: number;
7
8
  memberTitles: string[];
8
9
  memberCurrentTierTotal: number;
9
10
  memberPointToNextTier: number;
@@ -5,6 +5,7 @@ export declare const MemberCard: {
5
5
  memberTierName: string;
6
6
  memberCredit: number;
7
7
  memberPoints: number;
8
+ memberCoins: number;
8
9
  memberTitles: string[];
9
10
  memberCurrentTierTotal: number;
10
11
  memberPointToNextTier: number;
@@ -1,4 +1,4 @@
1
- import type { BrandKit } from '../../../../../brand-core/src/entity';
1
+ import type { BrandKit } from '@feedmepos/brand-core';
2
2
  export declare const useBusinessStore: import("pinia").StoreDefinition<"business", Pick<{
3
3
  state: import("vue").Ref<{
4
4
  multiCountrySlug: {
@@ -37,15 +37,33 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
37
37
  heading?: string | undefined;
38
38
  body?: string | undefined;
39
39
  };
40
+ fontFamilies?: {
41
+ stylesheet: string;
42
+ }[] | undefined;
40
43
  ordering?: {
41
44
  app: {
42
45
  category: "HORIZONTAL" | "VERTICAL";
43
46
  items: "LIST" | "GRID";
47
+ singleCategory: boolean;
44
48
  };
45
49
  kiosk: {
46
50
  category: "HORIZONTAL" | "VERTICAL";
47
51
  };
48
52
  } | undefined;
53
+ layout?: {
54
+ app?: {
55
+ template?: {
56
+ mainView?: Record<string, unknown> | undefined;
57
+ cartView?: Record<string, unknown> | undefined;
58
+ } | undefined;
59
+ } | undefined;
60
+ kiosk?: {
61
+ template?: {
62
+ mainView?: Record<string, unknown> | undefined;
63
+ cartView?: Record<string, unknown> | undefined;
64
+ } | undefined;
65
+ } | undefined;
66
+ } | undefined;
49
67
  } | null;
50
68
  }, IState | {
51
69
  multiCountrySlug: {
@@ -84,15 +102,33 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
84
102
  heading?: string | undefined;
85
103
  body?: string | undefined;
86
104
  };
105
+ fontFamilies?: {
106
+ stylesheet: string;
107
+ }[] | undefined;
87
108
  ordering?: {
88
109
  app: {
89
110
  category: "HORIZONTAL" | "VERTICAL";
90
111
  items: "LIST" | "GRID";
112
+ singleCategory: boolean;
91
113
  };
92
114
  kiosk: {
93
115
  category: "HORIZONTAL" | "VERTICAL";
94
116
  };
95
117
  } | undefined;
118
+ layout?: {
119
+ app?: {
120
+ template?: {
121
+ mainView?: Record<string, unknown> | undefined;
122
+ cartView?: Record<string, unknown> | undefined;
123
+ } | undefined;
124
+ } | undefined;
125
+ kiosk?: {
126
+ template?: {
127
+ mainView?: Record<string, unknown> | undefined;
128
+ cartView?: Record<string, unknown> | undefined;
129
+ } | undefined;
130
+ } | undefined;
131
+ } | undefined;
96
132
  } | null;
97
133
  }>;
98
134
  getGlobalSlug: (slug: string) => Promise<void>;
@@ -136,15 +172,33 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
136
172
  heading?: string | undefined;
137
173
  body?: string | undefined;
138
174
  };
175
+ fontFamilies?: {
176
+ stylesheet: string;
177
+ }[] | undefined;
139
178
  ordering?: {
140
179
  app: {
141
180
  category: "HORIZONTAL" | "VERTICAL";
142
181
  items: "LIST" | "GRID";
182
+ singleCategory: boolean;
143
183
  };
144
184
  kiosk: {
145
185
  category: "HORIZONTAL" | "VERTICAL";
146
186
  };
147
187
  } | undefined;
188
+ layout?: {
189
+ app?: {
190
+ template?: {
191
+ mainView?: Record<string, unknown> | undefined;
192
+ cartView?: Record<string, unknown> | undefined;
193
+ } | undefined;
194
+ } | undefined;
195
+ kiosk?: {
196
+ template?: {
197
+ mainView?: Record<string, unknown> | undefined;
198
+ cartView?: Record<string, unknown> | undefined;
199
+ } | undefined;
200
+ } | undefined;
201
+ } | undefined;
148
202
  } | null;
149
203
  }, IState | {
150
204
  multiCountrySlug: {
@@ -183,15 +237,33 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
183
237
  heading?: string | undefined;
184
238
  body?: string | undefined;
185
239
  };
240
+ fontFamilies?: {
241
+ stylesheet: string;
242
+ }[] | undefined;
186
243
  ordering?: {
187
244
  app: {
188
245
  category: "HORIZONTAL" | "VERTICAL";
189
246
  items: "LIST" | "GRID";
247
+ singleCategory: boolean;
190
248
  };
191
249
  kiosk: {
192
250
  category: "HORIZONTAL" | "VERTICAL";
193
251
  };
194
252
  } | undefined;
253
+ layout?: {
254
+ app?: {
255
+ template?: {
256
+ mainView?: Record<string, unknown> | undefined;
257
+ cartView?: Record<string, unknown> | undefined;
258
+ } | undefined;
259
+ } | undefined;
260
+ kiosk?: {
261
+ template?: {
262
+ mainView?: Record<string, unknown> | undefined;
263
+ cartView?: Record<string, unknown> | undefined;
264
+ } | undefined;
265
+ } | undefined;
266
+ } | undefined;
195
267
  } | null;
196
268
  }>;
197
269
  getGlobalSlug: (slug: string) => Promise<void>;
@@ -235,15 +307,33 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
235
307
  heading?: string | undefined;
236
308
  body?: string | undefined;
237
309
  };
310
+ fontFamilies?: {
311
+ stylesheet: string;
312
+ }[] | undefined;
238
313
  ordering?: {
239
314
  app: {
240
315
  category: "HORIZONTAL" | "VERTICAL";
241
316
  items: "LIST" | "GRID";
317
+ singleCategory: boolean;
242
318
  };
243
319
  kiosk: {
244
320
  category: "HORIZONTAL" | "VERTICAL";
245
321
  };
246
322
  } | undefined;
323
+ layout?: {
324
+ app?: {
325
+ template?: {
326
+ mainView?: Record<string, unknown> | undefined;
327
+ cartView?: Record<string, unknown> | undefined;
328
+ } | undefined;
329
+ } | undefined;
330
+ kiosk?: {
331
+ template?: {
332
+ mainView?: Record<string, unknown> | undefined;
333
+ cartView?: Record<string, unknown> | undefined;
334
+ } | undefined;
335
+ } | undefined;
336
+ } | undefined;
247
337
  } | null;
248
338
  }, IState | {
249
339
  multiCountrySlug: {
@@ -282,15 +372,33 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
282
372
  heading?: string | undefined;
283
373
  body?: string | undefined;
284
374
  };
375
+ fontFamilies?: {
376
+ stylesheet: string;
377
+ }[] | undefined;
285
378
  ordering?: {
286
379
  app: {
287
380
  category: "HORIZONTAL" | "VERTICAL";
288
381
  items: "LIST" | "GRID";
382
+ singleCategory: boolean;
289
383
  };
290
384
  kiosk: {
291
385
  category: "HORIZONTAL" | "VERTICAL";
292
386
  };
293
387
  } | undefined;
388
+ layout?: {
389
+ app?: {
390
+ template?: {
391
+ mainView?: Record<string, unknown> | undefined;
392
+ cartView?: Record<string, unknown> | undefined;
393
+ } | undefined;
394
+ } | undefined;
395
+ kiosk?: {
396
+ template?: {
397
+ mainView?: Record<string, unknown> | undefined;
398
+ cartView?: Record<string, unknown> | undefined;
399
+ } | undefined;
400
+ } | undefined;
401
+ } | undefined;
294
402
  } | null;
295
403
  }>;
296
404
  getGlobalSlug: (slug: string) => Promise<void>;
@@ -1,4 +1,4 @@
1
- import { H as r, b as p } from "./index-B9eW8FKP.js";
1
+ import { H as r, b as p } from "./index-BXwbQwb-.js";
2
2
  const i = () => p().PWA_ICON_SERVICE_BACKEND;
3
3
  async function d(e, t, a) {
4
4
  const n = new FormData();
@@ -1,4 +1,4 @@
1
- import { B as u } from "./index-BveesOeC.js";
1
+ import { B as u } from "./index-BEAkOquM.js";
2
2
  import { defineStore as a } from "pinia";
3
3
  import { ref as r } from "vue";
4
4
  const c = a("business", () => {
@@ -1,4 +1,4 @@
1
- import { H as e, b as r } from "./index-B9eW8FKP.js";
1
+ import { H as e, b as r } from "./index-BXwbQwb-.js";
2
2
  const o = () => r().PORTAL_V2_BACKEND, d = () => r().LICENSE_BACKEND;
3
3
  async function c(t) {
4
4
  return (await e.Get(