@feedmepos/mf-brand-app-builder 0.5.43-dev.1 → 0.5.44-dev.1
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-C1Sg6gD6.js → App-DY1AkQFu.js} +17 -13
- package/dist/{BrandkitView-CKCJs4dU.js → BrandkitView-D_3YT4yb.js} +2120 -2140
- package/dist/{BuilderView-Cdj86CAt.js → BuilderView-CXXB-aGb.js} +3 -3
- package/dist/{ImageUpload-czx5o-j6.js → ImageUpload-D7tYgB2W.js} +1 -1
- package/dist/{ListRepeater-DBkUbAFA.js → ListRepeater-Ctyg0gxi.js} +1 -1
- package/dist/{ProjectView-DtxPapNI.js → ProjectView-Cjnu_QQM.js} +2 -2
- package/dist/{app-BlFm1Tkh.js → app-C6EcGmN2.js} +1135 -1156
- package/dist/app.js +1 -1
- package/dist/brand-core/src/brandkit.d.ts +34 -0
- package/dist/brand-core/src/entity.d.ts +0 -1
- package/dist/brandkit-Jwi77VnL.js +144 -0
- package/dist/client/merchant/src/app.d.ts +0 -28
- package/dist/client/merchant/src/main.d.ts +1 -0
- package/dist/client/merchant/src/stores/business/index.d.ts +0 -6
- package/dist/{dayjs.min-Bdy6lFTt.js → dayjs.min-DfVNJdR_.js} +1 -1
- package/dist/{main-CozSePSS.js → main-BmUTzySz.js} +2 -2
- package/dist/package.json +2 -1
- package/dist/style.css +1 -1
- package/dist/{useBusinessFeatureFlag-2_0Z_IYf.js → useBusinessFeatureFlag-ChIH2Edq.js} +1 -1
- package/package.json +2 -1
- package/dist/brandkit-1Te5zV_c.js +0 -127
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as d, computed as h, resolveComponent as u, createElementBlock as m, openBlock as
|
|
1
|
+
import { defineComponent as d, computed as h, resolveComponent as u, createElementBlock as m, openBlock as l, Fragment as f, renderList as w, createElementVNode as i, createVNode as a, unref as p, withCtx as _, ref as b, onMounted as x, onBeforeMount as y, watch as B, createBlock as F, createCommentVNode as k } from "vue";
|
|
2
2
|
import { useCoreStore as S } from "@feedmepos/mf-common";
|
|
3
3
|
import { V as C } from "./vue-sonner-CBFYmm8_.js";
|
|
4
4
|
import { useRoute as R, useRouter as V, RouterLink as L, RouterView as P } from "vue-router";
|
|
5
5
|
import { g as A } from "./index-D0LOMBBD.js";
|
|
6
6
|
import { u as N } from "./index-BA2J-Ffh.js";
|
|
7
|
-
import { i as $ } from "./useBusinessFeatureFlag-
|
|
7
|
+
import { i as $ } from "./useBusinessFeatureFlag-ChIH2Edq.js";
|
|
8
8
|
const z = { 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" }, M = /* @__PURE__ */ d({
|
|
9
9
|
__name: "NavigationSidebar",
|
|
10
|
-
setup(
|
|
10
|
+
setup(g) {
|
|
11
11
|
const e = R();
|
|
12
12
|
V();
|
|
13
13
|
const c = [
|
|
@@ -23,6 +23,10 @@ const z = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
|
|
|
23
23
|
name: "builder",
|
|
24
24
|
icon: "build"
|
|
25
25
|
},
|
|
26
|
+
{
|
|
27
|
+
name: "miniprogram-workspace",
|
|
28
|
+
icon: "auto_awesome"
|
|
29
|
+
},
|
|
26
30
|
{
|
|
27
31
|
name: "settings",
|
|
28
32
|
icon: "settings"
|
|
@@ -32,8 +36,8 @@ const z = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
|
|
|
32
36
|
);
|
|
33
37
|
return (s, t) => {
|
|
34
38
|
const n = u("FmButton");
|
|
35
|
-
return
|
|
36
|
-
(
|
|
39
|
+
return l(), m("div", z, [
|
|
40
|
+
(l(), m(f, null, w(c, (r) => i("div", null, [
|
|
37
41
|
a(p(L), {
|
|
38
42
|
to: { name: r.name }
|
|
39
43
|
}, {
|
|
@@ -54,7 +58,7 @@ const z = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
|
|
|
54
58
|
}
|
|
55
59
|
}), E = { class: "relative h-[calc(100vh-56px)] w-screen" }, O = { class: "flex w-full h-full" }, J = /* @__PURE__ */ d({
|
|
56
60
|
__name: "App",
|
|
57
|
-
setup(
|
|
61
|
+
setup(g) {
|
|
58
62
|
const e = S(), c = N(), o = b(!0);
|
|
59
63
|
async function s() {
|
|
60
64
|
var t;
|
|
@@ -62,7 +66,7 @@ const z = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
|
|
|
62
66
|
}
|
|
63
67
|
return x(async () => {
|
|
64
68
|
console.log(
|
|
65
|
-
`Running v0.5.
|
|
69
|
+
`Running v0.5.44-dev.1 on ${e.namespace.value}`
|
|
66
70
|
), e.hideSidebar.value = !0;
|
|
67
71
|
const t = e.namespace.value === "prod" ? "prod" : "dev";
|
|
68
72
|
$(t).catch(
|
|
@@ -75,20 +79,20 @@ const z = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
|
|
|
75
79
|
() => s(),
|
|
76
80
|
{ immediate: !0 }
|
|
77
81
|
), (t, n) => {
|
|
78
|
-
const r = u("FmCircularProgress"),
|
|
79
|
-
return
|
|
80
|
-
n[0] || (n[0] =
|
|
82
|
+
const r = u("FmCircularProgress"), v = u("FmOverlay");
|
|
83
|
+
return l(), m(f, null, [
|
|
84
|
+
n[0] || (n[0] = i("link", {
|
|
81
85
|
href: "https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0..1,0",
|
|
82
86
|
rel: "stylesheet"
|
|
83
87
|
}, null, -1)),
|
|
84
|
-
|
|
88
|
+
i("div", E, [
|
|
85
89
|
a(p(C), {
|
|
86
90
|
position: "top-right",
|
|
87
91
|
"rich-colors": "",
|
|
88
92
|
"close-button": "",
|
|
89
93
|
duration: 3e3
|
|
90
94
|
}),
|
|
91
|
-
o.value ? (
|
|
95
|
+
o.value ? (l(), F(v, {
|
|
92
96
|
key: 0,
|
|
93
97
|
"dismiss-away": !1,
|
|
94
98
|
"prevent-backdrop-event": !1,
|
|
@@ -100,7 +104,7 @@ const z = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
|
|
|
100
104
|
]),
|
|
101
105
|
_: 1
|
|
102
106
|
})) : k("", !0),
|
|
103
|
-
|
|
107
|
+
i("div", O, [
|
|
104
108
|
a(M),
|
|
105
109
|
a(p(P), { class: "flex-1" })
|
|
106
110
|
])
|