@feedmepos/mf-brand-app-builder 0.5.28-prod → 0.5.30-dev.0

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 (28) hide show
  1. package/dist/{App-BjzhfhpF.js → App-a34dXdKR.js} +7 -7
  2. package/dist/{AssetsSettings-DJOCXmyp.js → AssetsSettings-DhprCc4v.js} +18 -18
  3. package/dist/BrandkitView-DyMY_wX_.js +10773 -0
  4. package/dist/{BuilderView-CeBhUmEZ.js → BuilderView-ByQ3ibzf.js} +8 -8
  5. package/dist/{ImageUpload-odamvjyc.js → ImageUpload-C1GXh8yx.js} +8 -8
  6. package/dist/{LinkButton-DNXBKGCn.js → LinkButton-De-YNclu.js} +1 -1
  7. package/dist/{ListRepeater-Cwbdyrr4.js → ListRepeater-DN84BgE2.js} +1 -1
  8. package/dist/{ManagementSettings-DHh2g_XJ.js → ManagementSettings-CueLn4v_.js} +6 -6
  9. package/dist/{ProjectView-DKXRpIC6.js → ProjectView-ByxaVBFb.js} +1 -1
  10. package/dist/{app-Bh_S4QSD.js → app-Box0RGix.js} +19 -25
  11. package/dist/app.js +1 -1
  12. package/dist/brand-core/src/brandkit.d.ts +2 -2
  13. package/dist/brand-core/src/entity.d.ts +50 -0
  14. package/dist/brandkit-CyhkM7H0.js +127 -0
  15. package/dist/client/merchant/src/app.d.ts +10 -16
  16. package/dist/client/merchant/src/stores/business/index.d.ts +318 -0
  17. package/dist/{image-S7-2rbQS.js → image-D_Djf1PS.js} +7 -7
  18. package/dist/{index-CPs0rWCO.js → index-Bk6TOZrx.js} +15 -15
  19. package/dist/{index-CawZ03Z8.js → index-C1rSMuKA.js} +1 -1
  20. package/dist/index-C4vwWvn_.js +112 -0
  21. package/dist/{index-C6_vWPi0.js → index-D0LOMBBD.js} +27 -27
  22. package/dist/{main-TiuQoOa_.js → main-LSAkXdRX.js} +218 -226
  23. package/dist/package.json +3 -3
  24. package/dist/style.css +1 -1
  25. package/package.json +2 -2
  26. package/dist/BrandkitView-DoW1oGaQ.js +0 -9996
  27. package/dist/brandkit-OeLZ05mv.js +0 -101
  28. package/dist/index-BUEKCOG0.js +0 -112
@@ -154,6 +154,59 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
154
154
  currentVersion?: number | undefined;
155
155
  } | undefined;
156
156
  } | undefined;
157
+ ods?: {
158
+ brandkitOverride?: {
159
+ colors?: {
160
+ primary?: string | undefined;
161
+ secondary?: string | undefined;
162
+ accent?: string | undefined;
163
+ background?: {
164
+ base?: string | undefined;
165
+ elevated?: string | undefined;
166
+ } | undefined;
167
+ neutral?: {
168
+ light?: string | undefined;
169
+ mid?: string | undefined;
170
+ dark?: string | undefined;
171
+ } | undefined;
172
+ status?: {
173
+ success?: string | undefined;
174
+ warning?: string | undefined;
175
+ error?: string | undefined;
176
+ info?: string | undefined;
177
+ } | undefined;
178
+ text?: {
179
+ onPrimary?: string | undefined;
180
+ primary?: string | undefined;
181
+ secondary?: string | undefined;
182
+ tertiary?: string | undefined;
183
+ } | undefined;
184
+ } | undefined;
185
+ } | undefined;
186
+ layout?: {
187
+ background?: {
188
+ url: string;
189
+ size?: string | undefined;
190
+ position?: string | undefined;
191
+ } | null | undefined;
192
+ sidePanel?: {
193
+ url: string;
194
+ position: "left" | "right";
195
+ widthPercent: number;
196
+ objectFit?: string | undefined;
197
+ } | null | undefined;
198
+ boardWidthPercent?: number | undefined;
199
+ boardAlign?: "left" | "right" | "center" | undefined;
200
+ } | undefined;
201
+ display?: {
202
+ groupBy: import("../../../../../brand-core/src/entity").OrderGroupingMode;
203
+ statusLayout: import("../../../../../brand-core/src/entity").OrderStatusBoardLayout;
204
+ statusSlidingPeriod: number;
205
+ showProgressBar: boolean;
206
+ statusColumnCount: number;
207
+ showDeliveryIcons: boolean;
208
+ } | undefined;
209
+ } | undefined;
157
210
  } | null;
158
211
  }, IState | {
159
212
  multiCountrySlug: {
@@ -309,6 +362,59 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
309
362
  currentVersion?: number | undefined;
310
363
  } | undefined;
311
364
  } | undefined;
365
+ ods?: {
366
+ brandkitOverride?: {
367
+ colors?: {
368
+ primary?: string | undefined;
369
+ secondary?: string | undefined;
370
+ accent?: string | undefined;
371
+ background?: {
372
+ base?: string | undefined;
373
+ elevated?: string | undefined;
374
+ } | undefined;
375
+ neutral?: {
376
+ light?: string | undefined;
377
+ mid?: string | undefined;
378
+ dark?: string | undefined;
379
+ } | undefined;
380
+ status?: {
381
+ success?: string | undefined;
382
+ warning?: string | undefined;
383
+ error?: string | undefined;
384
+ info?: string | undefined;
385
+ } | undefined;
386
+ text?: {
387
+ onPrimary?: string | undefined;
388
+ primary?: string | undefined;
389
+ secondary?: string | undefined;
390
+ tertiary?: string | undefined;
391
+ } | undefined;
392
+ } | undefined;
393
+ } | undefined;
394
+ layout?: {
395
+ background?: {
396
+ url: string;
397
+ size?: string | undefined;
398
+ position?: string | undefined;
399
+ } | null | undefined;
400
+ sidePanel?: {
401
+ url: string;
402
+ position: "left" | "right";
403
+ widthPercent: number;
404
+ objectFit?: string | undefined;
405
+ } | null | undefined;
406
+ boardWidthPercent?: number | undefined;
407
+ boardAlign?: "left" | "right" | "center" | undefined;
408
+ } | undefined;
409
+ display?: {
410
+ groupBy: import("../../../../../brand-core/src/entity").OrderGroupingMode;
411
+ statusLayout: import("../../../../../brand-core/src/entity").OrderStatusBoardLayout;
412
+ statusSlidingPeriod: number;
413
+ showProgressBar: boolean;
414
+ statusColumnCount: number;
415
+ showDeliveryIcons: boolean;
416
+ } | undefined;
417
+ } | undefined;
312
418
  } | null;
313
419
  }>;
314
420
  getGlobalSlug: (slug: string) => Promise<void>;
@@ -469,6 +575,59 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
469
575
  currentVersion?: number | undefined;
470
576
  } | undefined;
471
577
  } | undefined;
578
+ ods?: {
579
+ brandkitOverride?: {
580
+ colors?: {
581
+ primary?: string | undefined;
582
+ secondary?: string | undefined;
583
+ accent?: string | undefined;
584
+ background?: {
585
+ base?: string | undefined;
586
+ elevated?: string | undefined;
587
+ } | undefined;
588
+ neutral?: {
589
+ light?: string | undefined;
590
+ mid?: string | undefined;
591
+ dark?: string | undefined;
592
+ } | undefined;
593
+ status?: {
594
+ success?: string | undefined;
595
+ warning?: string | undefined;
596
+ error?: string | undefined;
597
+ info?: string | undefined;
598
+ } | undefined;
599
+ text?: {
600
+ onPrimary?: string | undefined;
601
+ primary?: string | undefined;
602
+ secondary?: string | undefined;
603
+ tertiary?: string | undefined;
604
+ } | undefined;
605
+ } | undefined;
606
+ } | undefined;
607
+ layout?: {
608
+ background?: {
609
+ url: string;
610
+ size?: string | undefined;
611
+ position?: string | undefined;
612
+ } | null | undefined;
613
+ sidePanel?: {
614
+ url: string;
615
+ position: "left" | "right";
616
+ widthPercent: number;
617
+ objectFit?: string | undefined;
618
+ } | null | undefined;
619
+ boardWidthPercent?: number | undefined;
620
+ boardAlign?: "left" | "right" | "center" | undefined;
621
+ } | undefined;
622
+ display?: {
623
+ groupBy: import("../../../../../brand-core/src/entity").OrderGroupingMode;
624
+ statusLayout: import("../../../../../brand-core/src/entity").OrderStatusBoardLayout;
625
+ statusSlidingPeriod: number;
626
+ showProgressBar: boolean;
627
+ statusColumnCount: number;
628
+ showDeliveryIcons: boolean;
629
+ } | undefined;
630
+ } | undefined;
472
631
  } | null;
473
632
  }, IState | {
474
633
  multiCountrySlug: {
@@ -624,6 +783,59 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
624
783
  currentVersion?: number | undefined;
625
784
  } | undefined;
626
785
  } | undefined;
786
+ ods?: {
787
+ brandkitOverride?: {
788
+ colors?: {
789
+ primary?: string | undefined;
790
+ secondary?: string | undefined;
791
+ accent?: string | undefined;
792
+ background?: {
793
+ base?: string | undefined;
794
+ elevated?: string | undefined;
795
+ } | undefined;
796
+ neutral?: {
797
+ light?: string | undefined;
798
+ mid?: string | undefined;
799
+ dark?: string | undefined;
800
+ } | undefined;
801
+ status?: {
802
+ success?: string | undefined;
803
+ warning?: string | undefined;
804
+ error?: string | undefined;
805
+ info?: string | undefined;
806
+ } | undefined;
807
+ text?: {
808
+ onPrimary?: string | undefined;
809
+ primary?: string | undefined;
810
+ secondary?: string | undefined;
811
+ tertiary?: string | undefined;
812
+ } | undefined;
813
+ } | undefined;
814
+ } | undefined;
815
+ layout?: {
816
+ background?: {
817
+ url: string;
818
+ size?: string | undefined;
819
+ position?: string | undefined;
820
+ } | null | undefined;
821
+ sidePanel?: {
822
+ url: string;
823
+ position: "left" | "right";
824
+ widthPercent: number;
825
+ objectFit?: string | undefined;
826
+ } | null | undefined;
827
+ boardWidthPercent?: number | undefined;
828
+ boardAlign?: "left" | "right" | "center" | undefined;
829
+ } | undefined;
830
+ display?: {
831
+ groupBy: import("../../../../../brand-core/src/entity").OrderGroupingMode;
832
+ statusLayout: import("../../../../../brand-core/src/entity").OrderStatusBoardLayout;
833
+ statusSlidingPeriod: number;
834
+ showProgressBar: boolean;
835
+ statusColumnCount: number;
836
+ showDeliveryIcons: boolean;
837
+ } | undefined;
838
+ } | undefined;
627
839
  } | null;
628
840
  }>;
629
841
  getGlobalSlug: (slug: string) => Promise<void>;
@@ -784,6 +996,59 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
784
996
  currentVersion?: number | undefined;
785
997
  } | undefined;
786
998
  } | undefined;
999
+ ods?: {
1000
+ brandkitOverride?: {
1001
+ colors?: {
1002
+ primary?: string | undefined;
1003
+ secondary?: string | undefined;
1004
+ accent?: string | undefined;
1005
+ background?: {
1006
+ base?: string | undefined;
1007
+ elevated?: string | undefined;
1008
+ } | undefined;
1009
+ neutral?: {
1010
+ light?: string | undefined;
1011
+ mid?: string | undefined;
1012
+ dark?: string | undefined;
1013
+ } | undefined;
1014
+ status?: {
1015
+ success?: string | undefined;
1016
+ warning?: string | undefined;
1017
+ error?: string | undefined;
1018
+ info?: string | undefined;
1019
+ } | undefined;
1020
+ text?: {
1021
+ onPrimary?: string | undefined;
1022
+ primary?: string | undefined;
1023
+ secondary?: string | undefined;
1024
+ tertiary?: string | undefined;
1025
+ } | undefined;
1026
+ } | undefined;
1027
+ } | undefined;
1028
+ layout?: {
1029
+ background?: {
1030
+ url: string;
1031
+ size?: string | undefined;
1032
+ position?: string | undefined;
1033
+ } | null | undefined;
1034
+ sidePanel?: {
1035
+ url: string;
1036
+ position: "left" | "right";
1037
+ widthPercent: number;
1038
+ objectFit?: string | undefined;
1039
+ } | null | undefined;
1040
+ boardWidthPercent?: number | undefined;
1041
+ boardAlign?: "left" | "right" | "center" | undefined;
1042
+ } | undefined;
1043
+ display?: {
1044
+ groupBy: import("../../../../../brand-core/src/entity").OrderGroupingMode;
1045
+ statusLayout: import("../../../../../brand-core/src/entity").OrderStatusBoardLayout;
1046
+ statusSlidingPeriod: number;
1047
+ showProgressBar: boolean;
1048
+ statusColumnCount: number;
1049
+ showDeliveryIcons: boolean;
1050
+ } | undefined;
1051
+ } | undefined;
787
1052
  } | null;
788
1053
  }, IState | {
789
1054
  multiCountrySlug: {
@@ -939,6 +1204,59 @@ export declare const useBusinessStore: import("pinia").StoreDefinition<"business
939
1204
  currentVersion?: number | undefined;
940
1205
  } | undefined;
941
1206
  } | undefined;
1207
+ ods?: {
1208
+ brandkitOverride?: {
1209
+ colors?: {
1210
+ primary?: string | undefined;
1211
+ secondary?: string | undefined;
1212
+ accent?: string | undefined;
1213
+ background?: {
1214
+ base?: string | undefined;
1215
+ elevated?: string | undefined;
1216
+ } | undefined;
1217
+ neutral?: {
1218
+ light?: string | undefined;
1219
+ mid?: string | undefined;
1220
+ dark?: string | undefined;
1221
+ } | undefined;
1222
+ status?: {
1223
+ success?: string | undefined;
1224
+ warning?: string | undefined;
1225
+ error?: string | undefined;
1226
+ info?: string | undefined;
1227
+ } | undefined;
1228
+ text?: {
1229
+ onPrimary?: string | undefined;
1230
+ primary?: string | undefined;
1231
+ secondary?: string | undefined;
1232
+ tertiary?: string | undefined;
1233
+ } | undefined;
1234
+ } | undefined;
1235
+ } | undefined;
1236
+ layout?: {
1237
+ background?: {
1238
+ url: string;
1239
+ size?: string | undefined;
1240
+ position?: string | undefined;
1241
+ } | null | undefined;
1242
+ sidePanel?: {
1243
+ url: string;
1244
+ position: "left" | "right";
1245
+ widthPercent: number;
1246
+ objectFit?: string | undefined;
1247
+ } | null | undefined;
1248
+ boardWidthPercent?: number | undefined;
1249
+ boardAlign?: "left" | "right" | "center" | undefined;
1250
+ } | undefined;
1251
+ display?: {
1252
+ groupBy: import("../../../../../brand-core/src/entity").OrderGroupingMode;
1253
+ statusLayout: import("../../../../../brand-core/src/entity").OrderStatusBoardLayout;
1254
+ statusSlidingPeriod: number;
1255
+ showProgressBar: boolean;
1256
+ statusColumnCount: number;
1257
+ showDeliveryIcons: boolean;
1258
+ } | undefined;
1259
+ } | undefined;
942
1260
  } | null;
943
1261
  }>;
944
1262
  getGlobalSlug: (slug: string) => Promise<void>;
@@ -1,9 +1,9 @@
1
- import { H as r, a as p } from "./index-C6_vWPi0.js";
1
+ import { H as r, a as p } from "./index-D0LOMBBD.js";
2
2
  const i = () => p().PWA_ICON_SERVICE_BACKEND;
3
- async function s(e, t, a) {
3
+ async function d(e, t, a) {
4
4
  const n = new FormData();
5
5
  return n.append("file", a), (await r.Put(
6
- "https://api.feedme.vip",
6
+ "https://api.feedmedev.vip",
7
7
  `/image/${e}/${t}`,
8
8
  {
9
9
  headers: {
@@ -13,9 +13,9 @@ async function s(e, t, a) {
13
13
  }
14
14
  )).data;
15
15
  }
16
- async function d(e, t) {
16
+ async function s(e, t) {
17
17
  return (await r.Delete(
18
- "https://api.feedme.vip",
18
+ "https://api.feedmedev.vip",
19
19
  `/image/${e}/${t}`
20
20
  )).data;
21
21
  }
@@ -29,8 +29,8 @@ async function o(e, t) {
29
29
  })).data;
30
30
  }
31
31
  const f = {
32
- uploadImage: s,
33
- deleteImage: d,
32
+ uploadImage: d,
33
+ deleteImage: s,
34
34
  uploadAppIcon: o
35
35
  };
36
36
  function u(e) {
@@ -1,22 +1,22 @@
1
- import { H as d } from "./index-C6_vWPi0.js";
1
+ import { H as d } from "./index-D0LOMBBD.js";
2
2
  import { defineStore as w } from "pinia";
3
3
  import { ref as y } from "vue";
4
4
  import { v as I } from "./v4-CKwdnpQf.js";
5
5
  async function g(e) {
6
6
  return (await d.Get(
7
- "https://api.feedme.vip",
7
+ "https://api.feedmedev.vip",
8
8
  `/template/${e}`
9
9
  )).data;
10
10
  }
11
11
  async function A(e, l, p) {
12
12
  return (await d.Get(
13
- "https://api.feedme.vip",
13
+ "https://api.feedmedev.vip",
14
14
  `/template/${e}/${l}/${p}`
15
15
  )).data;
16
16
  }
17
17
  async function P(e, l, p, m) {
18
18
  return (await d.Put(
19
- "https://api.feedme.vip",
19
+ "https://api.feedmedev.vip",
20
20
  `/template/${e}/${l}/${p.templateId}`,
21
21
  {
22
22
  data: {
@@ -29,7 +29,7 @@ async function P(e, l, p, m) {
29
29
  }
30
30
  async function M(e, l, p) {
31
31
  return (await d.Put(
32
- "https://api.feedme.vip",
32
+ "https://api.feedmedev.vip",
33
33
  `/template/${e}/active${p ? `/${p}` : ""}`,
34
34
  {
35
35
  data: {
@@ -40,19 +40,19 @@ async function M(e, l, p) {
40
40
  }
41
41
  async function b(e, l) {
42
42
  return (await d.Get(
43
- "https://api.feedme.vip",
43
+ "https://api.feedmedev.vip",
44
44
  `/template/${e}/active${l ? `/${l}` : ""}`
45
45
  )).data;
46
46
  }
47
47
  async function U(e, l, p) {
48
48
  return await d.Head(
49
- "https://api.feedme.vip",
49
+ "https://api.feedmedev.vip",
50
50
  `/template/${e}/${l}/${p}`
51
51
  ).then((c) => c.status === 200).catch(() => !1);
52
52
  }
53
53
  async function B(e, l, p) {
54
54
  return (await d.Post(
55
- "https://api.feedme.vip",
55
+ "https://api.feedmedev.vip",
56
56
  `/template/${e}/${l}/rename`,
57
57
  {
58
58
  data: {
@@ -63,7 +63,7 @@ async function B(e, l, p) {
63
63
  }
64
64
  async function x(e, l, p) {
65
65
  return (await d.Delete(
66
- "https://api.feedme.vip",
66
+ "https://api.feedmedev.vip",
67
67
  `/template/${e}/${l}/${p}`
68
68
  )).data;
69
69
  }
@@ -120,7 +120,7 @@ const i = {
120
120
  t
121
121
  );
122
122
  }
123
- async function o(a, t) {
123
+ async function v(a, t) {
124
124
  i.setMainPageTemplateId(
125
125
  a,
126
126
  e.value.selectedTemplate.templateId,
@@ -129,7 +129,7 @@ const i = {
129
129
  e.value.activeTemplateId = e.value.selectedTemplate.templateId;
130
130
  });
131
131
  }
132
- function f(a = {}) {
132
+ function o(a = {}) {
133
133
  let t = "Untitled", s = 2;
134
134
  e.value.allTemplates.forEach((r) => {
135
135
  if (!r.templateAlias.startsWith("Untitled")) return;
@@ -145,7 +145,7 @@ const i = {
145
145
  };
146
146
  e.value.allTemplates.push(n), e.value.selectedTemplate = n;
147
147
  }
148
- async function v(a, t, s) {
148
+ async function f(a, t, s) {
149
149
  await i.renameTemplate(a, t, s).then(() => {
150
150
  var n;
151
151
  e.value.allTemplates = e.value.allTemplates.map((r) => r.templateId === t ? {
@@ -185,9 +185,9 @@ const i = {
185
185
  getMainTemplateId: m,
186
186
  setSelectedTemplate: c,
187
187
  saveTemplate: T,
188
- setMainPageTemplate: o,
189
- addNewTemplate: f,
190
- renameTemplate: v,
188
+ setMainPageTemplate: v,
189
+ addNewTemplate: o,
190
+ renameTemplate: f,
191
191
  deleteTemplate: h,
192
192
  unpublishTemplate: $
193
193
  };
@@ -1,4 +1,4 @@
1
- import { B as u } from "./index-BUEKCOG0.js";
1
+ import { B as u } from "./index-C4vwWvn_.js";
2
2
  import { defineStore as a } from "pinia";
3
3
  import { ref as r } from "vue";
4
4
  const c = a("business", () => {
@@ -0,0 +1,112 @@
1
+ import { H as a, a as i } from "./index-D0LOMBBD.js";
2
+ const o = () => i().PORTAL_V2_BACKEND, d = () => i().LICENSE_BACKEND;
3
+ async function p(t) {
4
+ return (await a.Get(
5
+ "https://api.feedmedev.vip",
6
+ `/short-url/${t}`
7
+ )).data;
8
+ }
9
+ async function c(t, e, s) {
10
+ return await a.Post(
11
+ "https://api.feedmedev.vip",
12
+ "/short-url",
13
+ {
14
+ data: {
15
+ slug: t,
16
+ oldSlug: e,
17
+ type: "BUSINESS",
18
+ businessId: s
19
+ }
20
+ }
21
+ ).then((n) => n.data).catch((n) => {
22
+ var r;
23
+ throw (r = n.response) == null ? void 0 : r.data;
24
+ });
25
+ }
26
+ async function u(t) {
27
+ return (await a.Get(
28
+ "https://api.feedmedev.vip",
29
+ `/metadata/${t}/config`
30
+ )).data;
31
+ }
32
+ async function f(t, e, s) {
33
+ return (await a.Post(
34
+ "https://api.feedmedev.vip",
35
+ `/metadata/${t}/config`,
36
+ {
37
+ data: {
38
+ name: e,
39
+ backgroundColor: "#ffffff",
40
+ country: s
41
+ }
42
+ }
43
+ )).data;
44
+ }
45
+ async function m(t) {
46
+ return (await a.Get(
47
+ "https://api.feedmedev.vip",
48
+ `/metadata/${t}/brandkit`
49
+ )).data;
50
+ }
51
+ async function h(t, e) {
52
+ return (await a.Post(
53
+ "https://api.feedmedev.vip",
54
+ `/metadata/${t}/brandkit`,
55
+ {
56
+ data: e
57
+ }
58
+ )).data;
59
+ }
60
+ async function l(t, e) {
61
+ return (await a.Get(
62
+ "https://api.feedmedev.vip",
63
+ `/metadata/${t}/brandkit/template-history/${e}`
64
+ )).data;
65
+ }
66
+ async function v(t, e, s) {
67
+ return (await a.Post(
68
+ "https://api.feedmedev.vip",
69
+ `/metadata/${t}/brandkit/template-restore/${e}/${s}`,
70
+ {}
71
+ )).data;
72
+ }
73
+ async function y(t, e) {
74
+ return (await a.Delete(
75
+ "https://api.feedmedev.vip",
76
+ `/metadata/${t}/brandkit/template-history/${e}`
77
+ )).data;
78
+ }
79
+ async function $(t, e) {
80
+ return await a.Put(
81
+ o(),
82
+ `businesses/${t}/profile`,
83
+ {
84
+ data: e
85
+ }
86
+ ).catch((n) => {
87
+ var r;
88
+ throw (r = n.response) == null ? void 0 : r.data;
89
+ });
90
+ }
91
+ async function w(t) {
92
+ return await a.Get(
93
+ d(),
94
+ `api/business/${t}/feature/miniprogram`
95
+ ).then((e) => e.data).catch(() => !1);
96
+ }
97
+ const g = {
98
+ getGlobalSlug: p,
99
+ setShortUrl: c,
100
+ getBusinessMetadata: u,
101
+ setBusinessMetadata: f,
102
+ getBusinessBrandkit: m,
103
+ setBusinessBrandkit: h,
104
+ getTemplateHistory: l,
105
+ restoreTemplateVersion: v,
106
+ clearTemplateHistory: y,
107
+ updateBusinessProfile: $,
108
+ getBusinessPremiumStatus: w
109
+ };
110
+ export {
111
+ g as B
112
+ };