@feedmepos/mf-brand-app-builder 0.5.18 → 0.5.19-dev.4

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 (37) hide show
  1. package/README.md +37 -18
  2. package/dist/{App-CKxXz-yv.js → App-DVLHiNG9.js} +7 -7
  3. package/dist/{AssetsSettings-D7stEXBP.js → AssetsSettings-BvM-SP-0.js} +141 -139
  4. package/dist/{BrandkitView-CGFsc8gN.js → BrandkitView-CblefL8X.js} +2614 -1739
  5. package/dist/{BuilderView-h-AD0K_z.js → BuilderView--q-5hMi3.js} +4043 -2393
  6. package/dist/ButtonGroup-Bj4keKPr.js +29 -0
  7. package/dist/{ColorPicker-BsSFgHSF.js → ColorPicker-I6CkNIxt.js} +50 -47
  8. package/dist/{ImageUpload-Bu1QY9Tu.js → ImageUpload-BjpONdvQ.js} +8 -8
  9. package/dist/{LinkButton-DS5DH9B8.js → LinkButton-DKtZH2cU.js} +1 -1
  10. package/dist/{ListRepeater-Bjq_VTKB.js → ListRepeater-D4MyXNOt.js} +1 -1
  11. package/dist/{ManagementSettings-DWh1pA_2.js → ManagementSettings-DPBoHGLa.js} +76 -75
  12. package/dist/{ProjectView-BweZwCAj.js → ProjectView-Crd-APxa.js} +393 -367
  13. package/dist/Select-DnIKki3a.js +95 -0
  14. package/dist/SettingsView-Cm0hTMsz.js +34 -0
  15. package/dist/app-BfAfuAYv.js +8693 -0
  16. package/dist/app.js +5 -4
  17. package/dist/client/components/src/views/_Credit.vue.d.ts +4 -0
  18. package/dist/client/components/src/views/_MemberProfile.vue.d.ts +5 -17
  19. package/dist/client/components/src/views/_Point.vue.d.ts +4 -0
  20. package/dist/client/merchant/src/api/index.d.ts +2 -0
  21. package/dist/client/merchant/src/app.d.ts +1544 -1
  22. package/dist/client/merchant/src/components/element-sidebar/ElementSidebar.vue.d.ts +1 -1
  23. package/dist/client/merchant/src/plugin/formkit-i18n.d.ts +2 -0
  24. package/dist/client/merchant/src/plugin/i18n.d.ts +2 -0
  25. package/dist/{image-BYlGZH0E.js → image-CBUD2SnK.js} +15 -14
  26. package/dist/{index-BvuwuHni.js → index-B029PiqU.js} +1 -1
  27. package/dist/{index-DDahVJiF.js → index-BNtn5C9X.js} +185 -184
  28. package/dist/{index-DBOAICnu.js → index-Bzf4Ev8B.js} +15 -15
  29. package/dist/{index-bSKZrhdP.js → index-CHLideqw.js} +19 -19
  30. package/dist/{main-pKSbpQEA.js → main-DBrQC_KK.js} +968 -939
  31. package/dist/package.json +4 -2
  32. package/dist/style.css +1 -1
  33. package/package.json +4 -2
  34. package/dist/ButtonGroup-B3ba45VA.js +0 -25
  35. package/dist/Select-DQrjO2Su.js +0 -91
  36. package/dist/SettingsView-DFAxZPug.js +0 -33
  37. package/dist/app-DKN3IiyF.js +0 -4757
@@ -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, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
2
2
  export default _default;
@@ -0,0 +1,2 @@
1
+ import type { FormKitNode } from '@formkit/core';
2
+ export declare function formkitI18nPlugin(node: FormKitNode): void;
@@ -0,0 +1,2 @@
1
+ declare const i18n: import("@feedmepos/mf-common").I18n<{}, {}, {}, string, boolean>;
2
+ export default i18n;
@@ -1,8 +1,9 @@
1
- import { H as r } from "./index-DDahVJiF.js";
2
- async function p(e, t, a) {
1
+ import { H as r, b as p } from "./index-BNtn5C9X.js";
2
+ const i = () => p().PWA_ICON_SERVICE_BACKEND;
3
+ async function d(e, t, a) {
3
4
  const n = new FormData();
4
5
  return n.append("file", a), (await r.Put(
5
- "https://api.feedme.vip",
6
+ "https://api.feedmedev.vip",
6
7
  `/image/${e}/${t}`,
7
8
  {
8
9
  headers: {
@@ -12,30 +13,30 @@ async function p(e, t, a) {
12
13
  }
13
14
  )).data;
14
15
  }
15
- async function i(e, t) {
16
+ async function s(e, t) {
16
17
  return (await r.Delete(
17
- "https://api.feedme.vip",
18
+ "https://api.feedmedev.vip",
18
19
  `/image/${e}/${t}`
19
20
  )).data;
20
21
  }
21
- async function s(e, t) {
22
+ async function o(e, t) {
22
23
  const a = new FormData();
23
- return a.append("file", t), a.append("businessId", e), (await r.Put("https://pwa-icon-service.feedmeapi.com", "", {
24
+ return a.append("file", t), a.append("businessId", e), (await r.Put(i(), "", {
24
25
  headers: {
25
26
  "Content-Type": "multipart/form-data"
26
27
  },
27
28
  data: a
28
29
  })).data;
29
30
  }
30
- const o = {
31
- uploadImage: p,
32
- deleteImage: i,
33
- uploadAppIcon: s
31
+ const f = {
32
+ uploadImage: d,
33
+ deleteImage: s,
34
+ uploadAppIcon: o
34
35
  };
35
- function c(e) {
36
+ function u(e) {
36
37
  return e.replace("images.feedme-dev.workers.dev", "image.feedmedev.vip").replace("image.feedmedev.cc", "image.feedmedev.vip");
37
38
  }
38
39
  export {
39
- o as I,
40
- c as r
40
+ f as I,
41
+ u as r
41
42
  };
@@ -1,4 +1,4 @@
1
- import { B as u } from "./index-bSKZrhdP.js";
1
+ import { B as u } from "./index-CHLideqw.js";
2
2
  import { defineStore as a } from "pinia";
3
3
  import { ref as r } from "vue";
4
4
  const c = a("business", () => {