@feedmepos/mf-brand-app-builder 0.5.12 → 0.5.14-alpha
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-Xo6sYLKN.js +107 -0
- package/dist/{AssetsSettings-BRmUNWzU.js → AssetsSettings-GYv5Lgbv.js} +86 -84
- package/dist/BaDivider-Cp9gfB4r.js +10 -0
- package/dist/BuilderView-DbmdbQY9.js +9346 -0
- package/dist/{ButtonGroup-B3ba45VA.js → ButtonGroup-CbW3Lnxj.js} +2 -2
- package/dist/{CircularProgress-h90pbjU3.js → CircularProgress-DdblYCtV.js} +4 -4
- package/dist/ColorPicker-CD7uePb_.js +590 -0
- package/dist/HomeView-3aPMgIRl.js +10 -0
- package/dist/{Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js → Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js} +2 -2
- package/dist/{ImageUpload-EpMFyZdg.js → ImageUpload-DbMJq_mi.js} +14 -14
- package/dist/{LinkButton-DENsxaU5.js → LinkButton-PteLpFYx.js} +44 -44
- package/dist/{ListRepeater-DLracrtI.js → ListRepeater-QEdnv9ML.js} +2 -2
- package/dist/{ManagementSettings-BM5Ln-Sx.js → ManagementSettings-A6ZjMlBQ.js} +6 -6
- package/dist/ProjectView-BWC0s0Bv.js +509 -0
- package/dist/{Select-CbQFoAzb.js → Select-C2r_c4vv.js} +2 -2
- package/dist/{SettingsView-DFAxZPug.js → SettingsView-BUGfoZhA.js} +2 -2
- package/dist/{StepperField-DrHM9EDn.js → StepperField-xVvcmxNx.js} +2 -2
- package/dist/{Switch-8mmNQUDo.js → Switch-uc_zN-mb.js} +2 -2
- package/dist/{TextAlign-BOC8ekaH.js → TextAlign-BSp1Xi7F.js} +2 -2
- package/dist/{TextDecorators-BJC4umDR.js → TextDecorators-1C54q7us.js} +4 -4
- package/dist/{TextField-BiVH5rLX.js → TextField-DfBJB6vQ.js} +2 -2
- package/dist/{TextStyleList-CuPE80Py.js → TextStyleList-Bef3irUx.js} +3 -3
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/{app-B1o1qlxh.js → app-DVFhgbmV.js} +42 -33
- package/dist/app.js +1 -1
- package/dist/components/src/components/BranchList.vue.d.ts +1 -1
- package/dist/components/src/components/ButtonList.vue.d.ts +1 -1
- package/dist/components/src/components/CountrySwitcher.vue.d.ts +1 -1
- package/dist/components/src/components/Homepage.vue.d.ts +5 -3
- package/dist/components/src/components/ImageCarousel.vue.d.ts +1 -1
- package/dist/components/src/components/ImageDisplay.vue.d.ts +1 -1
- package/dist/components/src/components/Member/MemberAchievements.vue.d.ts +33 -0
- package/dist/components/src/components/Member/MemberButtonList.vue.d.ts +21 -0
- package/dist/components/src/components/Member/MemberCards.vue.d.ts +19 -0
- package/dist/components/src/components/Member/MemberSummary.vue.d.ts +24 -0
- package/dist/components/src/components/Member/TransactionList.vue.d.ts +5 -0
- package/dist/components/src/components/MemberCard.vue.d.ts +1 -1
- package/dist/components/src/components/NavigationBar.vue.d.ts +17 -0
- package/dist/components/src/components/OrderHistoryCard.vue.d.ts +1 -1
- package/dist/components/src/components/OrderMethod.vue.d.ts +1 -1
- package/dist/components/src/components/TextDisplay.vue.d.ts +1 -1
- package/dist/components/src/components/atoms/Button.vue.d.ts +4 -4
- package/dist/components/src/components/atoms/CircularProgress.vue.d.ts +1 -1
- package/dist/components/src/components/atoms/Container.vue.d.ts +4 -3
- package/dist/components/src/components/atoms/Divider.vue.d.ts +1 -1
- package/dist/components/src/components/atoms/Icon.vue.d.ts +1 -1
- package/dist/components/src/components/atoms/LinkSlot.vue.d.ts +4 -4
- package/dist/components/src/main.d.ts +10 -1
- package/dist/components/src/utils/date.d.ts +22 -0
- package/dist/components/src/views/OrderDetails.vue.d.ts +1 -1
- package/dist/components/src/views/_Credit.vue.d.ts +20 -0
- package/dist/components/src/views/_MemberProfile.vue.d.ts +39 -0
- package/dist/components/src/views/_Point.vue.d.ts +20 -0
- package/dist/components/src/views/_Referral.vue.d.ts +31 -0
- package/dist/components/src/views/_ReferralTutorial.vue.d.ts +23 -0
- package/dist/{image-Dw_jz8xE.js → image-BTKrdsxd.js} +12 -12
- package/dist/index-CVTxYyKn.js +194 -0
- package/dist/{index-T23clKe0.js → index-DIGmVQHT.js} +52 -52
- package/dist/{index-Dw3CRqw2.js → index-H0Aroxdr.js} +1 -1
- package/dist/index-tAs8jqUd.js +1737 -0
- package/dist/main-DsKVTvvP.js +7980 -0
- package/dist/merchant/src/api/business/index.d.ts +1 -1
- package/dist/merchant/src/api/template/index.d.ts +2 -2
- package/dist/merchant/src/app.d.ts +1 -1
- package/dist/merchant/src/components/atoms/BaButtonGroup.vue.d.ts +1 -1
- package/dist/merchant/src/components/atoms/BaDivider.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/Editor.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/EditorFloatingToobar.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/toolbar/EditorToolbar.vue.d.ts +1 -1
- package/dist/merchant/src/components/element-sidebar/ElementSidebar.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/ColorPicker.vue.d.ts +2 -1
- package/dist/merchant/src/components/inputs/ImageUpload.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/TextAlign.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/TextDecorators.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/TextStyleList.vue.d.ts +1 -1
- package/dist/merchant/src/components/inspector/Inspector.vue.d.ts +1 -1
- package/dist/merchant/src/components/inspector/atoms/ConfigSection.vue.d.ts +3 -3
- package/dist/merchant/src/components/inspector/atoms/ConfigTab.vue.d.ts +3 -3
- package/dist/merchant/src/components/inspector/atoms/ConfigTabItem.vue.d.ts +3 -3
- package/dist/merchant/src/components/inspector/atoms/ConfigTabTitle.vue.d.ts +1 -1
- package/dist/merchant/src/components/navigation-sidebar/NavigationSidebar.vue.d.ts +1 -1
- package/dist/merchant/src/components/settings/AssetsSettings.vue.d.ts +1 -1
- package/dist/merchant/src/components/settings/ManagementSettings.vue.d.ts +1 -1
- package/dist/merchant/src/composables/useNode/index.d.ts +1 -1
- package/dist/merchant/src/node-configs/branch-list/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/button-list/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/carousel/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/container/props.d.ts +28 -0
- package/dist/merchant/src/node-configs/display-image/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/display-text/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/member-achievements/mock-data.d.ts +15 -0
- package/dist/merchant/src/node-configs/member-achievements/props.d.ts +40 -0
- package/dist/merchant/src/node-configs/member-achievements/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/member-button-list/props.d.ts +31 -0
- package/dist/merchant/src/node-configs/member-button-list/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/member-card/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/member-cards/mock-data.d.ts +3 -0
- package/dist/merchant/src/node-configs/member-cards/props.d.ts +24 -0
- package/dist/merchant/src/node-configs/member-cards/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/member-history/mock-data.d.ts +843 -0
- package/dist/merchant/src/node-configs/member-history/props.d.ts +1692 -0
- package/dist/merchant/src/node-configs/member-history/schema.d.ts +3 -0
- package/dist/merchant/src/node-configs/member-profile/props.d.ts +449 -0
- package/dist/merchant/src/node-configs/member-profile/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/member-referral/props.d.ts +98 -0
- package/dist/merchant/src/node-configs/member-referral/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/member-referral-tutorial/props.d.ts +8 -0
- package/dist/merchant/src/node-configs/member-referral-tutorial/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/member-summary/mock-data.d.ts +9 -0
- package/dist/merchant/src/node-configs/member-summary/props.d.ts +32 -0
- package/dist/merchant/src/node-configs/member-summary/schema.d.ts +2 -0
- package/dist/merchant/src/node-configs/mock-data.d.ts +5 -1
- package/dist/merchant/src/node-configs/order-history-card/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/order-method/props.d.ts +1 -0
- package/dist/merchant/src/node-configs/props.d.ts +9 -1
- package/dist/merchant/src/node-configs/schema.d.ts +9 -1
- package/dist/merchant/src/stores/editor/index.d.ts +1 -1
- package/dist/merchant/src/stores/template/index.d.ts +85 -6
- package/dist/merchant/src/views/BuilderView.vue.d.ts +1 -1
- package/dist/merchant/src/views/HomeView.vue.d.ts +1 -1
- package/dist/merchant/src/views/ProjectView.vue.d.ts +2 -0
- package/dist/merchant/src/views/SettingsView.vue.d.ts +1 -1
- package/dist/merchant/src/views/views.d.ts +11 -0
- package/dist/package.json +5 -2
- package/dist/style.css +1 -1
- package/dist/{v4-ANoOI1Qw.js → v4-CKwdnpQf.js} +8 -8
- package/dist/views-Dd4l-D61.js +89 -0
- package/package.json +5 -2
- package/dist/App-D-sh0my5.js +0 -99
- package/dist/BuilderView-DPoES6BN.js +0 -5498
- package/dist/ColorPicker-DAysa9fA.js +0 -22
- package/dist/index-BMPqWhXR.js +0 -188
- package/dist/index-BxQr98LR.js +0 -1729
- package/dist/main-CZCjdYQJ.js +0 -6726
|
@@ -5,37 +5,60 @@ export declare const useTemplateStore: import("pinia").StoreDefinition<"template
|
|
|
5
5
|
templateAlias: string;
|
|
6
6
|
templateId: string;
|
|
7
7
|
created?: string | undefined;
|
|
8
|
+
updatedAt?: string | undefined;
|
|
9
|
+
publishedAt?: string | undefined;
|
|
8
10
|
isPublished: boolean;
|
|
11
|
+
predefined?: boolean | undefined;
|
|
12
|
+
group?: string | null | undefined;
|
|
9
13
|
}[];
|
|
10
14
|
selectedTemplate: {
|
|
11
15
|
templateAlias: string;
|
|
12
16
|
templateId: string;
|
|
13
17
|
created?: string | undefined;
|
|
18
|
+
updatedAt?: string | undefined;
|
|
19
|
+
publishedAt?: string | undefined;
|
|
14
20
|
isPublished: boolean;
|
|
21
|
+
predefined?: boolean | undefined;
|
|
22
|
+
group?: string | null | undefined;
|
|
15
23
|
} | null;
|
|
16
24
|
activeTemplateId: string;
|
|
25
|
+
activeMemberTemplateId: string;
|
|
17
26
|
}, ITemplateStore | {
|
|
18
27
|
allTemplates: {
|
|
19
28
|
templateAlias: string;
|
|
20
29
|
templateId: string;
|
|
21
30
|
created?: string | undefined;
|
|
31
|
+
updatedAt?: string | undefined;
|
|
32
|
+
publishedAt?: string | undefined;
|
|
22
33
|
isPublished: boolean;
|
|
34
|
+
predefined?: boolean | undefined;
|
|
35
|
+
group?: string | null | undefined;
|
|
23
36
|
}[];
|
|
24
37
|
selectedTemplate: {
|
|
25
38
|
templateAlias: string;
|
|
26
39
|
templateId: string;
|
|
27
40
|
created?: string | undefined;
|
|
41
|
+
updatedAt?: string | undefined;
|
|
42
|
+
publishedAt?: string | undefined;
|
|
28
43
|
isPublished: boolean;
|
|
44
|
+
predefined?: boolean | undefined;
|
|
45
|
+
group?: string | null | undefined;
|
|
29
46
|
} | null;
|
|
30
47
|
activeTemplateId: string;
|
|
48
|
+
activeMemberTemplateId: string;
|
|
31
49
|
}>;
|
|
32
50
|
getAllTemplates: (businessId: string) => Promise<void>;
|
|
33
51
|
publishTemplate: (businessId: string, schema: INodeComponent[]) => Promise<void>;
|
|
34
52
|
getMainTemplateId: (businessId: string) => Promise<void>;
|
|
35
53
|
setSelectedTemplate: (templateId: ITemplateDetails['templateId']) => void;
|
|
36
54
|
saveTemplate: (businessId: string, schema: INodeComponent[]) => Promise<void>;
|
|
37
|
-
setMainPageTemplate: (businessId: string) => Promise<void>;
|
|
38
|
-
addNewTemplate: (
|
|
55
|
+
setMainPageTemplate: (businessId: string, type?: 'member') => Promise<void>;
|
|
56
|
+
addNewTemplate: (config?: {
|
|
57
|
+
id?: string;
|
|
58
|
+
name?: string;
|
|
59
|
+
predefined?: boolean;
|
|
60
|
+
group?: string;
|
|
61
|
+
}) => void;
|
|
39
62
|
renameTemplate: (businessId: string, templateId: string, alias: string) => Promise<void>;
|
|
40
63
|
deleteTemplate: (businessId: string, templateId: string) => Promise<void>;
|
|
41
64
|
unpublishTemplate: (businessId: string) => Promise<void>;
|
|
@@ -45,37 +68,60 @@ export declare const useTemplateStore: import("pinia").StoreDefinition<"template
|
|
|
45
68
|
templateAlias: string;
|
|
46
69
|
templateId: string;
|
|
47
70
|
created?: string | undefined;
|
|
71
|
+
updatedAt?: string | undefined;
|
|
72
|
+
publishedAt?: string | undefined;
|
|
48
73
|
isPublished: boolean;
|
|
74
|
+
predefined?: boolean | undefined;
|
|
75
|
+
group?: string | null | undefined;
|
|
49
76
|
}[];
|
|
50
77
|
selectedTemplate: {
|
|
51
78
|
templateAlias: string;
|
|
52
79
|
templateId: string;
|
|
53
80
|
created?: string | undefined;
|
|
81
|
+
updatedAt?: string | undefined;
|
|
82
|
+
publishedAt?: string | undefined;
|
|
54
83
|
isPublished: boolean;
|
|
84
|
+
predefined?: boolean | undefined;
|
|
85
|
+
group?: string | null | undefined;
|
|
55
86
|
} | null;
|
|
56
87
|
activeTemplateId: string;
|
|
88
|
+
activeMemberTemplateId: string;
|
|
57
89
|
}, ITemplateStore | {
|
|
58
90
|
allTemplates: {
|
|
59
91
|
templateAlias: string;
|
|
60
92
|
templateId: string;
|
|
61
93
|
created?: string | undefined;
|
|
94
|
+
updatedAt?: string | undefined;
|
|
95
|
+
publishedAt?: string | undefined;
|
|
62
96
|
isPublished: boolean;
|
|
97
|
+
predefined?: boolean | undefined;
|
|
98
|
+
group?: string | null | undefined;
|
|
63
99
|
}[];
|
|
64
100
|
selectedTemplate: {
|
|
65
101
|
templateAlias: string;
|
|
66
102
|
templateId: string;
|
|
67
103
|
created?: string | undefined;
|
|
104
|
+
updatedAt?: string | undefined;
|
|
105
|
+
publishedAt?: string | undefined;
|
|
68
106
|
isPublished: boolean;
|
|
107
|
+
predefined?: boolean | undefined;
|
|
108
|
+
group?: string | null | undefined;
|
|
69
109
|
} | null;
|
|
70
110
|
activeTemplateId: string;
|
|
111
|
+
activeMemberTemplateId: string;
|
|
71
112
|
}>;
|
|
72
113
|
getAllTemplates: (businessId: string) => Promise<void>;
|
|
73
114
|
publishTemplate: (businessId: string, schema: INodeComponent[]) => Promise<void>;
|
|
74
115
|
getMainTemplateId: (businessId: string) => Promise<void>;
|
|
75
116
|
setSelectedTemplate: (templateId: ITemplateDetails['templateId']) => void;
|
|
76
117
|
saveTemplate: (businessId: string, schema: INodeComponent[]) => Promise<void>;
|
|
77
|
-
setMainPageTemplate: (businessId: string) => Promise<void>;
|
|
78
|
-
addNewTemplate: (
|
|
118
|
+
setMainPageTemplate: (businessId: string, type?: 'member') => Promise<void>;
|
|
119
|
+
addNewTemplate: (config?: {
|
|
120
|
+
id?: string;
|
|
121
|
+
name?: string;
|
|
122
|
+
predefined?: boolean;
|
|
123
|
+
group?: string;
|
|
124
|
+
}) => void;
|
|
79
125
|
renameTemplate: (businessId: string, templateId: string, alias: string) => Promise<void>;
|
|
80
126
|
deleteTemplate: (businessId: string, templateId: string) => Promise<void>;
|
|
81
127
|
unpublishTemplate: (businessId: string) => Promise<void>;
|
|
@@ -85,37 +131,60 @@ export declare const useTemplateStore: import("pinia").StoreDefinition<"template
|
|
|
85
131
|
templateAlias: string;
|
|
86
132
|
templateId: string;
|
|
87
133
|
created?: string | undefined;
|
|
134
|
+
updatedAt?: string | undefined;
|
|
135
|
+
publishedAt?: string | undefined;
|
|
88
136
|
isPublished: boolean;
|
|
137
|
+
predefined?: boolean | undefined;
|
|
138
|
+
group?: string | null | undefined;
|
|
89
139
|
}[];
|
|
90
140
|
selectedTemplate: {
|
|
91
141
|
templateAlias: string;
|
|
92
142
|
templateId: string;
|
|
93
143
|
created?: string | undefined;
|
|
144
|
+
updatedAt?: string | undefined;
|
|
145
|
+
publishedAt?: string | undefined;
|
|
94
146
|
isPublished: boolean;
|
|
147
|
+
predefined?: boolean | undefined;
|
|
148
|
+
group?: string | null | undefined;
|
|
95
149
|
} | null;
|
|
96
150
|
activeTemplateId: string;
|
|
151
|
+
activeMemberTemplateId: string;
|
|
97
152
|
}, ITemplateStore | {
|
|
98
153
|
allTemplates: {
|
|
99
154
|
templateAlias: string;
|
|
100
155
|
templateId: string;
|
|
101
156
|
created?: string | undefined;
|
|
157
|
+
updatedAt?: string | undefined;
|
|
158
|
+
publishedAt?: string | undefined;
|
|
102
159
|
isPublished: boolean;
|
|
160
|
+
predefined?: boolean | undefined;
|
|
161
|
+
group?: string | null | undefined;
|
|
103
162
|
}[];
|
|
104
163
|
selectedTemplate: {
|
|
105
164
|
templateAlias: string;
|
|
106
165
|
templateId: string;
|
|
107
166
|
created?: string | undefined;
|
|
167
|
+
updatedAt?: string | undefined;
|
|
168
|
+
publishedAt?: string | undefined;
|
|
108
169
|
isPublished: boolean;
|
|
170
|
+
predefined?: boolean | undefined;
|
|
171
|
+
group?: string | null | undefined;
|
|
109
172
|
} | null;
|
|
110
173
|
activeTemplateId: string;
|
|
174
|
+
activeMemberTemplateId: string;
|
|
111
175
|
}>;
|
|
112
176
|
getAllTemplates: (businessId: string) => Promise<void>;
|
|
113
177
|
publishTemplate: (businessId: string, schema: INodeComponent[]) => Promise<void>;
|
|
114
178
|
getMainTemplateId: (businessId: string) => Promise<void>;
|
|
115
179
|
setSelectedTemplate: (templateId: ITemplateDetails['templateId']) => void;
|
|
116
180
|
saveTemplate: (businessId: string, schema: INodeComponent[]) => Promise<void>;
|
|
117
|
-
setMainPageTemplate: (businessId: string) => Promise<void>;
|
|
118
|
-
addNewTemplate: (
|
|
181
|
+
setMainPageTemplate: (businessId: string, type?: 'member') => Promise<void>;
|
|
182
|
+
addNewTemplate: (config?: {
|
|
183
|
+
id?: string;
|
|
184
|
+
name?: string;
|
|
185
|
+
predefined?: boolean;
|
|
186
|
+
group?: string;
|
|
187
|
+
}) => void;
|
|
119
188
|
renameTemplate: (businessId: string, templateId: string, alias: string) => Promise<void>;
|
|
120
189
|
deleteTemplate: (businessId: string, templateId: string) => Promise<void>;
|
|
121
190
|
unpublishTemplate: (businessId: string) => Promise<void>;
|
|
@@ -131,6 +200,8 @@ interface ITemplateStore {
|
|
|
131
200
|
selectedTemplate: ITemplateDetails | null;
|
|
132
201
|
/** Current business's mainpage */
|
|
133
202
|
activeTemplateId: string;
|
|
203
|
+
/** Current business's main member page template */
|
|
204
|
+
activeMemberTemplateId: string;
|
|
134
205
|
}
|
|
135
206
|
export interface ITemplateDetails {
|
|
136
207
|
/** User-defined template name */
|
|
@@ -139,7 +210,15 @@ export interface ITemplateDetails {
|
|
|
139
210
|
templateId: string;
|
|
140
211
|
/** Created date in `ISO-8601` string, generated by system */
|
|
141
212
|
created?: string;
|
|
213
|
+
/** Updated date in `ISO-8601` string, generated by system */
|
|
214
|
+
updatedAt?: string;
|
|
215
|
+
/** Published date in `ISO-8601` string, generated by system */
|
|
216
|
+
publishedAt?: string;
|
|
142
217
|
/** Whether template is published publicly */
|
|
143
218
|
isPublished: boolean;
|
|
219
|
+
/** Whether template is a predefined template */
|
|
220
|
+
predefined?: boolean;
|
|
221
|
+
/** Group of the template */
|
|
222
|
+
group?: string | null;
|
|
144
223
|
}
|
|
145
224
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-brand-app-builder",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.14-alpha",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -33,17 +33,20 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@feedmepos/mf-common": "^1.8.33",
|
|
36
|
-
"@feedmepos/ui-library": "
|
|
36
|
+
"@feedmepos/ui-library": "1.5.5",
|
|
37
37
|
"@formkit/core": "^1.6.7",
|
|
38
38
|
"@formkit/vue": "^1.6.7",
|
|
39
39
|
"axios": "^1.7.2",
|
|
40
|
+
"dayjs": "^1.11.13",
|
|
40
41
|
"dotenv": "^16.4.5",
|
|
41
42
|
"pinia": "^2.1.7",
|
|
42
43
|
"qrcode": "^1.5.4",
|
|
43
44
|
"uuid": "^9.0.1",
|
|
44
45
|
"vue": "^3.5.12",
|
|
46
|
+
"vue-accessible-color-picker": "^5.2.0",
|
|
45
47
|
"vue-router": "^4.3.2",
|
|
46
48
|
"vue-sonner": "^1.1.4",
|
|
49
|
+
"vue3-colorpicker": "^2.3.0",
|
|
47
50
|
"vuedraggable": "^4.1.0"
|
|
48
51
|
},
|
|
49
52
|
"devDependencies": {
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
@charset "UTF-8";.icon-rounded{font-variation-settings:"FILL" 0}.icon-filled{font-variation-settings:"FILL" 1}.spinner[data-v-3c8691e9]{animation:progress-circular-dash-3c8691e9 2s ease-in-out infinite,progress-circular-rotate-3c8691e9 2s linear infinite;transform-origin:center center}@keyframes progress-circular-dash-3c8691e9{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:100,200;stroke-dashoffset:-15px}to{stroke-dasharray:100,200;stroke-dashoffset:-48px}}@keyframes progress-circular-rotate-3c8691e9{to{transform:rotate(720deg)}}.ba-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.ba-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.ba-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}swiper-container::part(bullet-active){height:6px;width:18px;border-radius:6px;background-color:var(--fm-color-primary)}swiper-container::part(bullet){opacity:1;height:6px;width:6px;border-radius:9999;background-color:var(--fm-color-neutral-white)}.ba-grid-2[data-v-145ea6bc]{grid-template-columns:repeat(2,minmax(0,1fr))}.ba-grid-3[data-v-145ea6bc]{grid-template-columns:repeat(3,minmax(0,1fr))}.ba-grid-4[data-v-145ea6bc]{grid-template-columns:repeat(4,minmax(0,1fr))}.fm-stepper-field--input{text-align:end}.vacp-color-picker{max-width:var(--vacp-width-color-space, 300px);padding:var(--vacp-spacing, 6px);display:grid;grid-gap:var(--vacp-spacing, 6px);grid-template-columns:1fr min-content;font-size:var(--vacp-font-size, .8em);font-family:var(--vacp-font-family, -apple-system, BlinkMacSystemFont, Segoe UI, Arial, sans-serif);color:var(--vacp-color-text, currentColor);background-color:var(--vacp-color-background, #fff)}.vacp-color-picker,.vacp-color-picker *,.vacp-color-picker *:before,.vacp-color-picker *:after{box-sizing:border-box}.vacp-color-picker button::-moz-focus-inner{border:none;padding:0}.vacp-color-picker :focus{outline:2px solid var(--vacp-color-focus, #19f)}.vacp-color-space{grid-column:1/-1;overflow:hidden;aspect-ratio:1/.6}.vacp-color-space-thumb{--vacp-thumb-size: calc(var(--vacp-spacing, 6px) * 4);width:var(--vacp-thumb-size);height:var(--vacp-thumb-size);margin-left:calc(-1 * var(--vacp-thumb-size) / 2);margin-bottom:calc(-1 * var(--vacp-thumb-size) / 2);border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 var(--vacp-width-border, 1px) var(--vacp-color-border, #000);transform:rotate(0)}.vacp-color-space-thumb:focus{outline-color:transparent;box-shadow:0 0 0 var(--vacp-width-border, 1px) var(--vacp-color-border, #000),0 0 0 calc(var(--vacp-width-border, 1px) + 2px) var(--vacp-color-focus, #19f)}.vacp-range-input-label{--vacp-slider-track-height: calc(var(--vacp-spacing, 6px) * 3);--vacp-slider-thumb-size: calc(var(--vacp-spacing, 6px) * 4 - var(--vacp-width-border, 1px) * 2);display:block}.vacp-range-input-group{display:flex;flex-direction:column;justify-content:center}.vacp-range-input-group>:not(:first-child){margin-top:var(--vacp-spacing, 6px)}.vacp-range-input,.vacp-range-input::-webkit-slider-thumb{-webkit-appearance:none}.vacp-range-input{display:block;width:100%;height:var(--vacp-slider-track-height);margin-right:0;margin-left:0;margin-top:calc(var(--vacp-spacing, 6px) / 2 + 1px);margin-bottom:calc(var(--vacp-spacing, 6px) / 2 + 1px);padding:0;border:none;background:none}.vacp-range-input:focus{outline:none}.vacp-range-input::-moz-focus-outer{border:none}.vacp-range-input--alpha{background-color:#fff;background-image:linear-gradient(45deg,#eee 25%,transparent 25%,transparent 75%,#eee 75%,#eee),linear-gradient(45deg,#eee 25%,transparent 25%,transparent 75%,#eee 75%,#eee);background-size:calc(var(--vacp-spacing, 6px) * 2) calc(var(--vacp-spacing, 6px) * 2);background-position:0 0,var(--vacp-spacing, 6px) var(--vacp-spacing, 6px)}.vacp-range-input::-moz-range-track{box-sizing:border-box;width:100%;height:var(--vacp-slider-track-height);border:var(--vacp-width-border, 1px) solid var(--vacp-color-border, #000)}.vacp-range-input::-webkit-slider-runnable-track{box-sizing:border-box;width:100%;height:var(--vacp-slider-track-height);border:var(--vacp-width-border, 1px) solid var(--vacp-color-border, #000)}.vacp-range-input::-ms-track{box-sizing:border-box;width:100%;height:var(--vacp-slider-track-height);border:var(--vacp-width-border, 1px) solid var(--vacp-color-border, #000)}.vacp-range-input:focus::-moz-range-track{outline:2px solid var(--vacp-color-focus, #19f)}.vacp-range-input:focus::-webkit-slider-runnable-track{outline:2px solid var(--vacp-color-focus, #19f)}.vacp-range-input:focus::-ms-track{outline:2px solid var(--vacp-color-focus, #19f)}.vacp-range-input--alpha::-moz-range-track{background-image:linear-gradient(to right,transparent,var(--vacp-color))}.vacp-range-input--alpha::-webkit-slider-runnable-track{background-image:linear-gradient(to right,transparent,var(--vacp-color))}.vacp-range-input--alpha::-ms-track{background-image:linear-gradient(to right,transparent,var(--vacp-color))}.vacp-range-input--hue::-moz-range-track{background-image:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.vacp-range-input--hue::-webkit-slider-runnable-track{background-image:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.vacp-range-input--hue::-ms-track{background-image:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.vacp-range-input::-moz-range-thumb{box-sizing:border-box;width:var(--vacp-slider-thumb-size);height:var(--vacp-slider-thumb-size);border:3px solid #fff;border-radius:50%;background-color:transparent;box-shadow:0 0 0 var(--vacp-width-border, 1px) var(--vacp-color-border, #000);isolation:isolate}.vacp-range-input::-webkit-slider-thumb{box-sizing:border-box;width:var(--vacp-slider-thumb-size);height:var(--vacp-slider-thumb-size);margin-top:calc(-1 * var(--vacp-spacing, 6px) / 2);border:3px solid #fff;border-radius:50%;background-color:transparent;box-shadow:0 0 0 var(--vacp-width-border, 1px) var(--vacp-color-border, #000);isolation:isolate}.vacp-range-input::-ms-thumb{box-sizing:border-box;width:var(--vacp-slider-thumb-size);height:var(--vacp-slider-thumb-size);margin-top:calc(-1 * var(--vacp-spacing, 6px) / 2);border:3px solid #fff;border-radius:50%;background-color:transparent;box-shadow:0 0 0 var(--vacp-width-border, 1px) var(--vacp-color-border, #000);isolation:isolate}.vacp-copy-button{justify-self:center;align-self:center;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;width:calc(var(--vacp-spacing, 6px) * 6);height:calc(var(--vacp-spacing, 6px) * 6);border:var(--vacp-width-border, 1px) solid transparent;border-radius:50%;color:var(--vacp-color-text-input, currentColor);background-color:var(--vacp-color-background-input, #fff)}.vacp-copy-button:focus{outline:none;border-color:var(--vacp-color-border, #000);box-shadow:0 0 0 2px var(--vacp-color-focus, #19f)}.vacp-copy-button:enabled:hover{background-color:#0002}.vacp-color-inputs{grid-column:1/-1;display:flex;align-items:center}.vacp-color-inputs>:not(:first-child){margin-left:var(--vacp-spacing, 6px)}.vacp-color-input-group{flex-grow:1;display:grid;grid-auto-flow:column;-moz-column-gap:var(--vacp-spacing, 6px);column-gap:var(--vacp-spacing, 6px)}.vacp-color-input-label{text-align:center}.vacp-color-input{width:100%;margin:0;margin-top:calc(var(--vacp-spacing, 6px) / 2);padding:var(--vacp-spacing, 6px);border:var(--vacp-width-border, 1px) solid var(--vacp-color-border, #000);font:inherit;text-align:center;color:inherit;color:var(--vacp-color-text-input, currentColor);background-color:var(--vacp-color-background-input, #fff)}.vacp-format-switch-button{display:flex;justify-content:center;align-items:center;margin:0;padding:var(--vacp-spacing, 6px);border:var(--vacp-width-border, 1px) solid transparent;border-radius:50%;font:inherit;color:inherit;color:var(--vacp-color-text-input, currentColor);background-color:var(--vacp-color-background-input, #fff)}.vacp-format-switch-button:focus{border-color:var(--vacp-color-border, #000)}.vacp-format-switch-button:enabled:hover{background-color:#0002}.vacp-visually-hidden{position:absolute;overflow:hidden;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap}.bg-checkerboard{background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0px}
|
|
@@ -5,22 +5,22 @@ function i() {
|
|
|
5
5
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
6
6
|
return e(o);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const u = [];
|
|
9
9
|
for (let n = 0; n < 256; ++n)
|
|
10
|
-
|
|
10
|
+
u.push((n + 256).toString(16).slice(1));
|
|
11
11
|
function p(n, t = 0) {
|
|
12
|
-
return
|
|
12
|
+
return u[n[t + 0]] + u[n[t + 1]] + u[n[t + 2]] + u[n[t + 3]] + "-" + u[n[t + 4]] + u[n[t + 5]] + "-" + u[n[t + 6]] + u[n[t + 7]] + "-" + u[n[t + 8]] + u[n[t + 9]] + "-" + u[n[t + 10]] + u[n[t + 11]] + u[n[t + 12]] + u[n[t + 13]] + u[n[t + 14]] + u[n[t + 15]];
|
|
13
13
|
}
|
|
14
14
|
const y = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), c = {
|
|
15
15
|
randomUUID: y
|
|
16
16
|
};
|
|
17
|
-
function
|
|
18
|
-
if (c.randomUUID && !
|
|
17
|
+
function r(n, t, m) {
|
|
18
|
+
if (c.randomUUID && !n)
|
|
19
19
|
return c.randomUUID();
|
|
20
20
|
n = n || {};
|
|
21
|
-
const
|
|
22
|
-
return
|
|
21
|
+
const d = n.random || (n.rng || i)();
|
|
22
|
+
return d[6] = d[6] & 15 | 64, d[8] = d[8] & 63 | 128, p(d);
|
|
23
23
|
}
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
r as v
|
|
26
26
|
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
const t = [
|
|
2
|
+
{
|
|
3
|
+
templateAlias: "Profile",
|
|
4
|
+
templateId: "member-profile",
|
|
5
|
+
group: "member",
|
|
6
|
+
predefined: !0,
|
|
7
|
+
editable: !1,
|
|
8
|
+
type: "_MemberProfile"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
templateAlias: "Tier Benefits",
|
|
12
|
+
templateId: "member-tier",
|
|
13
|
+
group: "member",
|
|
14
|
+
predefined: !0,
|
|
15
|
+
editable: !1,
|
|
16
|
+
type: "_Tier"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
templateAlias: "Title Benefits",
|
|
20
|
+
templateId: "member-title",
|
|
21
|
+
group: "member",
|
|
22
|
+
predefined: !0,
|
|
23
|
+
editable: !1,
|
|
24
|
+
type: "_Title"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
templateAlias: "Voucher",
|
|
28
|
+
templateId: "member-voucher",
|
|
29
|
+
group: "member",
|
|
30
|
+
predefined: !0,
|
|
31
|
+
editable: !1,
|
|
32
|
+
type: "_Voucher"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
templateAlias: "Credit",
|
|
36
|
+
templateId: "member-credit",
|
|
37
|
+
group: "member",
|
|
38
|
+
predefined: !0,
|
|
39
|
+
editable: !1,
|
|
40
|
+
type: "_Credit"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
templateAlias: "Point",
|
|
44
|
+
templateId: "member-point",
|
|
45
|
+
group: "member",
|
|
46
|
+
predefined: !0,
|
|
47
|
+
editable: !1,
|
|
48
|
+
type: "_Point"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
templateAlias: "Member Store",
|
|
52
|
+
templateId: "member-store",
|
|
53
|
+
group: "member",
|
|
54
|
+
predefined: !0,
|
|
55
|
+
editable: !1,
|
|
56
|
+
type: "_Store"
|
|
57
|
+
}
|
|
58
|
+
].map((e) => ({ ...e, isPublished: !0, updatedAt: null, publishedAt: null })), r = [
|
|
59
|
+
{
|
|
60
|
+
templateAlias: "Invite friends",
|
|
61
|
+
templateId: "member-referral",
|
|
62
|
+
group: "referral",
|
|
63
|
+
predefined: !0,
|
|
64
|
+
editable: !0,
|
|
65
|
+
type: "_Referral"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
templateAlias: "Invite History",
|
|
69
|
+
templateId: "member-referral-history",
|
|
70
|
+
group: "referral",
|
|
71
|
+
predefined: !0,
|
|
72
|
+
editable: !1,
|
|
73
|
+
type: "_InviteHistory"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
templateAlias: "How It Works",
|
|
77
|
+
templateId: "member-referral-tutorial",
|
|
78
|
+
group: "referral",
|
|
79
|
+
predefined: !0,
|
|
80
|
+
editable: !0,
|
|
81
|
+
type: "_ReferralTutorial"
|
|
82
|
+
}
|
|
83
|
+
].map((e) => ({ ...e, isPublished: !0, updatedAt: null, publishedAt: null })), l = [
|
|
84
|
+
...t,
|
|
85
|
+
...r
|
|
86
|
+
];
|
|
87
|
+
export {
|
|
88
|
+
l as p
|
|
89
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-brand-app-builder",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.14-alpha",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -15,17 +15,20 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@feedmepos/mf-common": "^1.8.33",
|
|
18
|
-
"@feedmepos/ui-library": "
|
|
18
|
+
"@feedmepos/ui-library": "1.5.5",
|
|
19
19
|
"@formkit/core": "^1.6.7",
|
|
20
20
|
"@formkit/vue": "^1.6.7",
|
|
21
21
|
"axios": "^1.7.2",
|
|
22
|
+
"dayjs": "^1.11.13",
|
|
22
23
|
"dotenv": "^16.4.5",
|
|
23
24
|
"pinia": "^2.1.7",
|
|
24
25
|
"qrcode": "^1.5.4",
|
|
25
26
|
"uuid": "^9.0.1",
|
|
26
27
|
"vue": "^3.5.12",
|
|
28
|
+
"vue-accessible-color-picker": "^5.2.0",
|
|
27
29
|
"vue-router": "^4.3.2",
|
|
28
30
|
"vue-sonner": "^1.1.4",
|
|
31
|
+
"vue3-colorpicker": "^2.3.0",
|
|
29
32
|
"vuedraggable": "^4.1.0"
|
|
30
33
|
},
|
|
31
34
|
"devDependencies": {
|
package/dist/App-D-sh0my5.js
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { defineComponent as d, computed as v, resolveComponent as u, openBlock as l, createElementBlock as m, Fragment as f, renderList as x, createVNode as n, unref as p, withCtx as _, ref as b, onMounted as w, onBeforeMount as B, watch as y, createElementVNode as c, createBlock as k, createCommentVNode as S } from "vue";
|
|
2
|
-
import { useCoreStore as C } from "@feedmepos/mf-common";
|
|
3
|
-
import { V as F } from "./index-T23clKe0.js";
|
|
4
|
-
import { useRoute as R, RouterLink as V, RouterView as L } from "vue-router";
|
|
5
|
-
import { g as P } from "./index-BxQr98LR.js";
|
|
6
|
-
import { u as A } from "./index-Dw3CRqw2.js";
|
|
7
|
-
const N = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r border-fm-color-neutral-gray-100 p-[10px] flex flex-col gap-12" }, z = /* @__PURE__ */ d({
|
|
8
|
-
__name: "NavigationSidebar",
|
|
9
|
-
setup(g) {
|
|
10
|
-
const e = R(), i = [
|
|
11
|
-
// {
|
|
12
|
-
// name: 'home',
|
|
13
|
-
// icon: 'style',
|
|
14
|
-
// },
|
|
15
|
-
{
|
|
16
|
-
name: "builder",
|
|
17
|
-
icon: "build"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
name: "settings",
|
|
21
|
-
icon: "settings"
|
|
22
|
-
}
|
|
23
|
-
], t = v(
|
|
24
|
-
() => (s) => e.matched.map((o) => o.name).includes(s)
|
|
25
|
-
);
|
|
26
|
-
return (s, o) => {
|
|
27
|
-
const a = u("FmButton");
|
|
28
|
-
return l(), m("div", N, [
|
|
29
|
-
(l(), m(f, null, x(i, (r) => n(p(V), {
|
|
30
|
-
to: { name: r.name }
|
|
31
|
-
}, {
|
|
32
|
-
default: _(() => [
|
|
33
|
-
n(a, {
|
|
34
|
-
class: "w-[44px] !h-[44px]",
|
|
35
|
-
size: "lg",
|
|
36
|
-
icon: r.icon,
|
|
37
|
-
"icon-color": t.value(r.name) ? "primary" : "neutral-gray-400",
|
|
38
|
-
"bg-color": t.value(r.name) ? "system-warning-100" : "neutral-white"
|
|
39
|
-
}, null, 8, ["icon", "icon-color", "bg-color"])
|
|
40
|
-
]),
|
|
41
|
-
_: 2
|
|
42
|
-
}, 1032, ["to"])), 64))
|
|
43
|
-
]);
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
}), M = { class: "relative h-[calc(100vh-56px)] w-screen" }, $ = { class: "flex w-full h-full" }, j = /* @__PURE__ */ d({
|
|
47
|
-
__name: "App",
|
|
48
|
-
setup(g) {
|
|
49
|
-
const e = C(), i = A(), t = b(!0);
|
|
50
|
-
async function s() {
|
|
51
|
-
var o;
|
|
52
|
-
t.value = !0, (o = e.currentBusiness.value) != null && o._id && (await i.getPremiumStatus(e.currentBusiness.value._id), t.value = !1);
|
|
53
|
-
}
|
|
54
|
-
return w(() => {
|
|
55
|
-
console.log("Running v0.5.12"), e.hideSidebar.value = !0, P();
|
|
56
|
-
}), B(() => {
|
|
57
|
-
e.hideSidebar.value = !1;
|
|
58
|
-
}), y(
|
|
59
|
-
() => e.currentBusiness.value,
|
|
60
|
-
() => s(),
|
|
61
|
-
{ immediate: !0 }
|
|
62
|
-
), (o, a) => {
|
|
63
|
-
const r = u("FmCircularProgress"), h = u("FmOverlay");
|
|
64
|
-
return l(), m(f, null, [
|
|
65
|
-
a[0] || (a[0] = c("link", {
|
|
66
|
-
href: "https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0..1,0",
|
|
67
|
-
rel: "stylesheet"
|
|
68
|
-
}, null, -1)),
|
|
69
|
-
c("div", M, [
|
|
70
|
-
n(p(F), {
|
|
71
|
-
position: "top-right",
|
|
72
|
-
"rich-colors": "",
|
|
73
|
-
"close-button": "",
|
|
74
|
-
duration: 3e3
|
|
75
|
-
}),
|
|
76
|
-
t.value ? (l(), k(h, {
|
|
77
|
-
key: 0,
|
|
78
|
-
"dismiss-away": !1,
|
|
79
|
-
"prevent-backdrop-event": !1,
|
|
80
|
-
transparent: !1,
|
|
81
|
-
"center-content": ""
|
|
82
|
-
}, {
|
|
83
|
-
default: _(() => [
|
|
84
|
-
n(r, { size: "xxl" })
|
|
85
|
-
]),
|
|
86
|
-
_: 1
|
|
87
|
-
})) : S("", !0),
|
|
88
|
-
c("div", $, [
|
|
89
|
-
n(z),
|
|
90
|
-
n(p(L), { class: "flex-1" })
|
|
91
|
-
])
|
|
92
|
-
])
|
|
93
|
-
], 64);
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
export {
|
|
98
|
-
j as default
|
|
99
|
-
};
|