@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.
- package/README.md +37 -18
- package/dist/{App-CKxXz-yv.js → App-DVLHiNG9.js} +7 -7
- package/dist/{AssetsSettings-D7stEXBP.js → AssetsSettings-BvM-SP-0.js} +141 -139
- package/dist/{BrandkitView-CGFsc8gN.js → BrandkitView-CblefL8X.js} +2614 -1739
- package/dist/{BuilderView-h-AD0K_z.js → BuilderView--q-5hMi3.js} +4043 -2393
- package/dist/ButtonGroup-Bj4keKPr.js +29 -0
- package/dist/{ColorPicker-BsSFgHSF.js → ColorPicker-I6CkNIxt.js} +50 -47
- package/dist/{ImageUpload-Bu1QY9Tu.js → ImageUpload-BjpONdvQ.js} +8 -8
- package/dist/{LinkButton-DS5DH9B8.js → LinkButton-DKtZH2cU.js} +1 -1
- package/dist/{ListRepeater-Bjq_VTKB.js → ListRepeater-D4MyXNOt.js} +1 -1
- package/dist/{ManagementSettings-DWh1pA_2.js → ManagementSettings-DPBoHGLa.js} +76 -75
- package/dist/{ProjectView-BweZwCAj.js → ProjectView-Crd-APxa.js} +393 -367
- package/dist/Select-DnIKki3a.js +95 -0
- package/dist/SettingsView-Cm0hTMsz.js +34 -0
- package/dist/app-BfAfuAYv.js +8693 -0
- package/dist/app.js +5 -4
- package/dist/client/components/src/views/_Credit.vue.d.ts +4 -0
- package/dist/client/components/src/views/_MemberProfile.vue.d.ts +5 -17
- package/dist/client/components/src/views/_Point.vue.d.ts +4 -0
- package/dist/client/merchant/src/api/index.d.ts +2 -0
- package/dist/client/merchant/src/app.d.ts +1544 -1
- package/dist/client/merchant/src/components/element-sidebar/ElementSidebar.vue.d.ts +1 -1
- package/dist/client/merchant/src/plugin/formkit-i18n.d.ts +2 -0
- package/dist/client/merchant/src/plugin/i18n.d.ts +2 -0
- package/dist/{image-BYlGZH0E.js → image-CBUD2SnK.js} +15 -14
- package/dist/{index-BvuwuHni.js → index-B029PiqU.js} +1 -1
- package/dist/{index-DDahVJiF.js → index-BNtn5C9X.js} +185 -184
- package/dist/{index-DBOAICnu.js → index-Bzf4Ev8B.js} +15 -15
- package/dist/{index-bSKZrhdP.js → index-CHLideqw.js} +19 -19
- package/dist/{main-pKSbpQEA.js → main-DBrQC_KK.js} +968 -939
- package/dist/package.json +4 -2
- package/dist/style.css +1 -1
- package/package.json +4 -2
- package/dist/ButtonGroup-B3ba45VA.js +0 -25
- package/dist/Select-DQrjO2Su.js +0 -91
- package/dist/SettingsView-DFAxZPug.js +0 -33
- package/dist/app-DKN3IiyF.js +0 -4757
package/README.md
CHANGED
|
@@ -1,39 +1,58 @@
|
|
|
1
|
-
#
|
|
1
|
+
# FeedMe Brand App - Merchant
|
|
2
2
|
|
|
3
|
-
This
|
|
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/) + [
|
|
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
|
-
###
|
|
17
|
+
### Serve the Application
|
|
24
18
|
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
49
|
+
## Recommended Editor Settings
|
|
36
50
|
|
|
37
|
-
|
|
38
|
-
|
|
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-
|
|
6
|
-
import { u as N } from "./index-
|
|
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(
|
|
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(
|
|
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.
|
|
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"),
|
|
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(
|
|
86
|
+
t.value ? (i(), k(g, {
|
|
87
87
|
key: 0,
|
|
88
88
|
"dismiss-away": !1,
|
|
89
89
|
"prevent-backdrop-event": !1,
|