@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
package/README.md CHANGED
@@ -1,39 +1,58 @@
1
- # brand-app
1
+ # FeedMe Brand App - Merchant
2
2
 
3
- This template should help get you started developing with Vue 3 in Vite.
3
+ This project is a Vue 3-based application for merchants to manage their business mini-programs.
4
4
 
5
5
  ## Recommended IDE Setup
6
6
 
7
- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
8
-
9
- ## Type Support for `.vue` Imports in TS
10
-
11
- TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
12
-
13
- ## Customize configuration
14
-
15
- See [Vite Configuration Reference](https://vitejs.dev/config/).
7
+ [VSCode](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) + [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
16
8
 
17
9
  ## Project Setup
18
10
 
11
+ Install dependencies:
12
+
19
13
  ```sh
20
14
  pnpm install
21
15
  ```
22
16
 
23
- ### Compile and Hot-Reload for Development
17
+ ### Serve the Application
24
18
 
25
- ```sh
26
- pnpm dev
19
+ To serve the application locally, use one of the following commands:
20
+
21
+ - **Development Mode**:
22
+
23
+ ```sh
24
+ pnpm dev
25
+ ```
26
+
27
+ This will start the app in development mode.
28
+
29
+ - **Production Mode (Local Debug)**:
30
+ ```sh
31
+ pnpm prod
32
+ ```
33
+ This will start the app in a local production-like environment.
34
+
35
+ ### Access the Application
36
+
37
+ After serving the application, navigate to:
38
+
39
+ ```
40
+ http://localhost:4000
27
41
  ```
28
42
 
29
- ### Type-Check, Compile and Minify for Production
43
+ ### Type-Check, Compile, and Minify for Production
30
44
 
31
45
  ```sh
32
46
  pnpm build
33
47
  ```
34
48
 
35
- ### Lint with [ESLint](https://eslint.org/)
49
+ ## Recommended Editor Settings
36
50
 
37
- ```sh
38
- pnpm lint
51
+ To ensure consistent formatting, add the following settings to your editor configuration:
52
+
53
+ ```json
54
+ {
55
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
56
+ "editor.formatOnSave": true
57
+ }
39
58
  ```
@@ -2,11 +2,11 @@ import { defineComponent as d, computed as h, resolveComponent as u, openBlock a
2
2
  import { useCoreStore as C } from "@feedmepos/mf-common";
3
3
  import { V as F } from "./vue-sonner-PX6Req0V.js";
4
4
  import { useRoute as R, useRouter as V, RouterLink as L, RouterView as P } from "vue-router";
5
- import { g as A } from "./index-DDahVJiF.js";
6
- import { u as N } from "./index-BvuwuHni.js";
5
+ import { g as A } from "./index-BNtn5C9X.js";
6
+ import { u as N } from "./index-B029PiqU.js";
7
7
  const $ = { 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
8
  __name: "NavigationSidebar",
9
- setup(g) {
9
+ setup(v) {
10
10
  const e = R();
11
11
  V();
12
12
  const c = [
@@ -53,7 +53,7 @@ const $ = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
53
53
  }
54
54
  }), M = { class: "relative h-[calc(100vh-56px)] w-screen" }, E = { class: "flex w-full h-full" }, q = /* @__PURE__ */ d({
55
55
  __name: "App",
56
- setup(g) {
56
+ setup(v) {
57
57
  const e = C(), c = N(), t = w(!0);
58
58
  async function s() {
59
59
  var o;
@@ -61,7 +61,7 @@ const $ = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
61
61
  }
62
62
  return x(async () => {
63
63
  console.log(
64
- `Running v0.5.18 on ${e.namespace.value}`
64
+ `Running v0.5.19-dev.4 on ${e.namespace.value}`
65
65
  ), e.hideSidebar.value = !0;
66
66
  }), y(() => {
67
67
  e.hideSidebar.value = !1;
@@ -70,7 +70,7 @@ const $ = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
70
70
  () => s(),
71
71
  { immediate: !0 }
72
72
  ), (o, a) => {
73
- const n = u("FmCircularProgress"), v = u("FmOverlay");
73
+ const n = u("FmCircularProgress"), g = u("FmOverlay");
74
74
  return i(), m(f, null, [
75
75
  a[0] || (a[0] = l("link", {
76
76
  href: "https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0..1,0",
@@ -83,7 +83,7 @@ const $ = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
83
83
  "close-button": "",
84
84
  duration: 3e3
85
85
  }),
86
- t.value ? (i(), k(v, {
86
+ t.value ? (i(), k(g, {
87
87
  key: 0,
88
88
  "dismiss-away": !1,
89
89
  "prevent-backdrop-event": !1,