@feedmepos/mf-miniprogram-v2 0.2.10 → 0.2.11-dev.2
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-B0BXsVum.js +235 -0
- package/dist/{BrandFontPicker-BVfiQBLP.js → BrandFontPicker-D_MntcD2.js} +1 -1
- package/dist/{BrandKitView-BLH-bglF.js → BrandKitView-DHV0PUus.js} +2 -2
- package/dist/{ControlPlaneView-C3wvdkj9.js → ControlPlaneView-CPGMj9dc.js} +8269 -8167
- package/dist/{EcosystemView-BY2B_LEL.js → EcosystemView-Blo9u-dq.js} +5 -5
- package/dist/{LegacyWorkspaceEntry-DrL-C0xx.js → LegacyWorkspaceEntry-IRMa-8U4.js} +2 -2
- package/dist/{MobileProjectDialog-DsXmMUHH.js → MobileProjectDialog-QfVNJfyE.js} +2 -2
- package/dist/{MobileProjectsView-CMj0mnZh.js → MobileProjectsView-DVjw5R18.js} +4 -4
- package/dist/{ModuleCenterView-DG7ea0p5.js → ModuleCenterView-D_5TWuln.js} +1 -1
- package/dist/{ModuleDetailView-DweKadjB.js → ModuleDetailView-U8M_-5qs.js} +1 -1
- package/dist/{PagesView-W8d-G5HZ.js → PagesView-Bz5aN_A-.js} +1 -1
- package/dist/PortalSettingsView-C-5ahh8D.js +1847 -0
- package/dist/{TemplateCenterView-BH3C5h50.js → TemplateCenterView-Bd5haOtu.js} +2 -2
- package/dist/{WorkspaceEntryView-Dx8stquZ.js → WorkspaceEntryView-V-Tu9Iiy.js} +1 -1
- package/dist/app.js +11 -11
- package/dist/controlPlane-Bn-uDXG_.js +145 -0
- package/dist/index-DB33ug2V.js +125 -0
- package/dist/localPreference-CaizsY6G.js +972 -0
- package/dist/package.json +2 -1
- package/dist/{portalContext-CCW6O5KF.js → portalContext-FZ8_SePb.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/useBrandKit-Dl8N-9UZ.js +1110 -0
- package/dist/{useModuleCatalog-C7kO_Rjg.js → useModuleCatalog-CNvI4aSK.js} +2 -2
- package/package.json +2 -1
- package/dist/App-DDgjAONU.js +0 -1129
- package/dist/PortalSettingsView-DFsXYy48.js +0 -123
- package/dist/controlPlane-CiuLVd7s.js +0 -145
- package/dist/index-BnE-gQP_.js +0 -81
- package/dist/localPreference-Cdti49bE.js +0 -62
- package/dist/useBrandKit-fmzepsFY.js +0 -1096
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import { defineComponent as D, ref as w, watch as Q, computed as u, onMounted as G, onBeforeUnmount as U, resolveComponent as C, openBlock as r, createElementBlock as p, Fragment as M, createElementVNode as a, normalizeClass as q, createVNode as n, renderList as h, unref as t, withCtx as d, toDisplayString as c, createBlock as B, createCommentVNode as x } from "vue";
|
|
2
|
+
import { useCoreStore as Y } from "@feedmepos/mf-common";
|
|
3
|
+
import { useRoute as H, useRouter as J, RouterView as W } from "vue-router";
|
|
4
|
+
import { P as g } from "./PortalIcon-DO0VrIoY.js";
|
|
5
|
+
import { i as X, u as Z, r as F, a as ee, w as T } from "./localPreference-CaizsY6G.js";
|
|
6
|
+
import { p as ae } from "./portalContext-FZ8_SePb.js";
|
|
7
|
+
import { e as te, p as v } from "./portalNavigation-DLcC7Koh.js";
|
|
8
|
+
import { _ as le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
+
const oe = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "portal-sidebar",
|
|
12
|
+
"aria-label": "Mini Program navigation"
|
|
13
|
+
}, ne = ["aria-expanded", "aria-label"], re = {
|
|
14
|
+
id: "miniprogram-navigation",
|
|
15
|
+
class: "portal-nav"
|
|
16
|
+
}, se = { class: "portal-nav-label" }, ie = { class: "portal-nav-label" }, pe = { class: "portal-main" }, me = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "portal-breadcrumb",
|
|
19
|
+
"aria-label": "Breadcrumb"
|
|
20
|
+
}, ue = {
|
|
21
|
+
id: "miniprogram-content",
|
|
22
|
+
class: "portal-content",
|
|
23
|
+
tabindex: "-1"
|
|
24
|
+
}, de = {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: "portal-empty"
|
|
27
|
+
}, ce = {
|
|
28
|
+
key: 1,
|
|
29
|
+
class: "portal-loading",
|
|
30
|
+
role: "status"
|
|
31
|
+
}, ve = {
|
|
32
|
+
key: 2,
|
|
33
|
+
class: "portal-empty"
|
|
34
|
+
}, be = {
|
|
35
|
+
key: 3,
|
|
36
|
+
class: "portal-empty",
|
|
37
|
+
role: "alert"
|
|
38
|
+
}, ge = /* @__PURE__ */ D({
|
|
39
|
+
__name: "App",
|
|
40
|
+
setup(ye) {
|
|
41
|
+
const l = H(), A = J(), y = Y(), s = ae(), S = w(!1);
|
|
42
|
+
Q(s.businessId, async (b, e) => {
|
|
43
|
+
const i = te(l, e, b);
|
|
44
|
+
if (i) {
|
|
45
|
+
S.value = !0;
|
|
46
|
+
try {
|
|
47
|
+
await A.replace(i);
|
|
48
|
+
} finally {
|
|
49
|
+
S.value = !1;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}), X(y.namespace.value);
|
|
53
|
+
const f = Z("fmmf:dev"), m = u(() => l.name === "miniprogram-v2-project"), R = u(() => ({
|
|
54
|
+
...v(l.query),
|
|
55
|
+
...m.value ? { returnProjectId: String(l.params.projectId) } : {}
|
|
56
|
+
})), j = u(() => f.loading.value || f.enabled.value), k = w(
|
|
57
|
+
F(
|
|
58
|
+
"mpv2:portal-collapsed",
|
|
59
|
+
typeof window < "u" && window.matchMedia("(max-width: 1000px)").matches
|
|
60
|
+
)
|
|
61
|
+
), _ = w(F("mpv2:editor-collapsed", !0)), P = u(() => m.value ? _.value : k.value), z = u(
|
|
62
|
+
() => {
|
|
63
|
+
var b;
|
|
64
|
+
return m.value ? (b = s.context.value) == null ? void 0 : b.project.name : String(l.meta.title ?? "Ecosystem");
|
|
65
|
+
}
|
|
66
|
+
), E = [
|
|
67
|
+
{ name: "miniprogram-v2-ecosystem", label: "Ecosystem", icon: "ecosystem" },
|
|
68
|
+
{ name: "miniprogram-v2-brand-kit", label: "Brand Kit", icon: "brand" },
|
|
69
|
+
{ name: "miniprogram-v2-pages", label: "Pages", icon: "pages" }
|
|
70
|
+
], V = u(() => ({ name: "miniprogram-v2-mobile-projects", query: v(l.query) })), N = ee();
|
|
71
|
+
let I = !1;
|
|
72
|
+
G(() => {
|
|
73
|
+
I = y.hideSidebar.value, y.hideSidebar.value = !0;
|
|
74
|
+
}), U(() => {
|
|
75
|
+
y.hideSidebar.value = I;
|
|
76
|
+
});
|
|
77
|
+
function K() {
|
|
78
|
+
m.value ? (_.value = !_.value, T("mpv2:editor-collapsed", _.value)) : (k.value = !k.value, T("mpv2:portal-collapsed", k.value));
|
|
79
|
+
}
|
|
80
|
+
return (b, e) => {
|
|
81
|
+
const i = C("RouterLink"), L = C("FmIcon"), $ = C("FmCircularProgress"), O = C("FmButton");
|
|
82
|
+
return r(), p(M, null, [
|
|
83
|
+
e[14] || (e[14] = a("link", {
|
|
84
|
+
href: "https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0..1,0",
|
|
85
|
+
rel: "stylesheet"
|
|
86
|
+
}, null, -1)),
|
|
87
|
+
a("div", {
|
|
88
|
+
class: q(["mpv2-app portal-shell", { "portal-shell--collapsed": P.value }])
|
|
89
|
+
}, [
|
|
90
|
+
e[13] || (e[13] = a("a", {
|
|
91
|
+
class: "portal-skip",
|
|
92
|
+
href: "#miniprogram-content"
|
|
93
|
+
}, "Skip to content", -1)),
|
|
94
|
+
j.value ? (r(), p("aside", oe, [
|
|
95
|
+
a("button", {
|
|
96
|
+
class: "portal-sidebar-toggle",
|
|
97
|
+
type: "button",
|
|
98
|
+
"aria-expanded": !P.value,
|
|
99
|
+
"aria-controls": "miniprogram-navigation",
|
|
100
|
+
"aria-label": P.value ? "Expand navigation" : "Collapse navigation",
|
|
101
|
+
onClick: K
|
|
102
|
+
}, [
|
|
103
|
+
n(g, { name: "collapse" }),
|
|
104
|
+
e[0] || (e[0] = a("span", { class: "portal-nav-label" }, "Mini Program", -1))
|
|
105
|
+
], 8, ne),
|
|
106
|
+
a("nav", re, [
|
|
107
|
+
(r(), p(M, null, h(E, (o) => n(i, {
|
|
108
|
+
key: o.name,
|
|
109
|
+
to: { name: o.name, query: t(v)(t(l).query) },
|
|
110
|
+
class: "portal-nav-item",
|
|
111
|
+
title: o.label,
|
|
112
|
+
"aria-label": o.label,
|
|
113
|
+
"aria-current": t(l).name === o.name ? "page" : void 0
|
|
114
|
+
}, {
|
|
115
|
+
default: d(() => [
|
|
116
|
+
n(g, {
|
|
117
|
+
name: o.icon
|
|
118
|
+
}, null, 8, ["name"]),
|
|
119
|
+
a("span", se, c(o.label), 1)
|
|
120
|
+
]),
|
|
121
|
+
_: 2
|
|
122
|
+
}, 1032, ["to", "title", "aria-label", "aria-current"])), 64)),
|
|
123
|
+
e[4] || (e[4] = a("p", { class: "portal-nav-caption" }, "Platforms", -1)),
|
|
124
|
+
n(i, {
|
|
125
|
+
to: V.value,
|
|
126
|
+
class: q(["portal-nav-item", { "router-link-active": m.value }]),
|
|
127
|
+
title: "Mobile Ordering",
|
|
128
|
+
"aria-label": "Mobile Ordering",
|
|
129
|
+
"aria-current": m.value ? "page" : void 0
|
|
130
|
+
}, {
|
|
131
|
+
default: d(() => [
|
|
132
|
+
n(g, { name: "mobile" }),
|
|
133
|
+
e[1] || (e[1] = a("span", { class: "portal-nav-label" }, "Mobile Ordering", -1))
|
|
134
|
+
]),
|
|
135
|
+
_: 1
|
|
136
|
+
}, 8, ["to", "class", "aria-current"]),
|
|
137
|
+
(r(), p(M, null, h(["tablet", "kiosk"], (o) => n(i, {
|
|
138
|
+
key: o,
|
|
139
|
+
to: { name: `miniprogram-v2-${o}`, query: t(v)(t(l).query) },
|
|
140
|
+
class: "portal-nav-item",
|
|
141
|
+
title: o === "tablet" ? "Tablet" : "Kiosk",
|
|
142
|
+
"aria-label": o === "tablet" ? "Tablet" : "Kiosk"
|
|
143
|
+
}, {
|
|
144
|
+
default: d(() => [
|
|
145
|
+
n(g, { name: o }, null, 8, ["name"]),
|
|
146
|
+
a("span", ie, c(o === "tablet" ? "Tablet" : "Kiosk"), 1)
|
|
147
|
+
]),
|
|
148
|
+
_: 2
|
|
149
|
+
}, 1032, ["to", "title", "aria-label"])), 64)),
|
|
150
|
+
e[5] || (e[5] = a("div", { class: "portal-nav-divider" }, null, -1)),
|
|
151
|
+
n(i, {
|
|
152
|
+
to: { name: "miniprogram-v2-module-center", query: R.value },
|
|
153
|
+
class: q(["portal-nav-item", { "router-link-active": t(l).name === "miniprogram-v2-module-detail" }]),
|
|
154
|
+
title: "Component Library",
|
|
155
|
+
"aria-label": "Component Library"
|
|
156
|
+
}, {
|
|
157
|
+
default: d(() => [
|
|
158
|
+
n(L, {
|
|
159
|
+
name: "widgets",
|
|
160
|
+
size: "md"
|
|
161
|
+
}),
|
|
162
|
+
e[2] || (e[2] = a("span", { class: "portal-nav-label" }, "Component Library", -1))
|
|
163
|
+
]),
|
|
164
|
+
_: 1
|
|
165
|
+
}, 8, ["to", "class"]),
|
|
166
|
+
t(N) ? (r(), B(i, {
|
|
167
|
+
key: 0,
|
|
168
|
+
to: { name: "miniprogram-v2-template-center", query: t(v)(t(l).query) },
|
|
169
|
+
class: "portal-nav-item",
|
|
170
|
+
title: "Template library",
|
|
171
|
+
"aria-label": "Template library"
|
|
172
|
+
}, {
|
|
173
|
+
default: d(() => [
|
|
174
|
+
n(L, {
|
|
175
|
+
name: "dashboard_customize",
|
|
176
|
+
size: "md"
|
|
177
|
+
}),
|
|
178
|
+
e[3] || (e[3] = a("span", { class: "portal-nav-label" }, "Template library", -1))
|
|
179
|
+
]),
|
|
180
|
+
_: 1
|
|
181
|
+
}, 8, ["to"])) : x("", !0)
|
|
182
|
+
]),
|
|
183
|
+
n(i, {
|
|
184
|
+
to: { name: "miniprogram-v2-settings", query: t(v)(t(l).query) },
|
|
185
|
+
class: "portal-nav-item portal-settings-link",
|
|
186
|
+
title: "Settings",
|
|
187
|
+
"aria-label": "Settings"
|
|
188
|
+
}, {
|
|
189
|
+
default: d(() => [
|
|
190
|
+
n(g, { name: "settings" }),
|
|
191
|
+
e[6] || (e[6] = a("span", { class: "portal-nav-label" }, "Settings", -1))
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
}, 8, ["to"])
|
|
195
|
+
])) : x("", !0),
|
|
196
|
+
a("div", pe, [
|
|
197
|
+
m.value ? x("", !0) : (r(), p("header", me, [
|
|
198
|
+
a("span", null, c(t(s).businessName.value), 1),
|
|
199
|
+
e[7] || (e[7] = a("span", { "aria-hidden": "true" }, "/", -1)),
|
|
200
|
+
a("span", null, c(z.value), 1),
|
|
201
|
+
e[8] || (e[8] = a("div", {
|
|
202
|
+
id: "portal-page-actions",
|
|
203
|
+
class: "portal-page-actions"
|
|
204
|
+
}, null, -1))
|
|
205
|
+
])),
|
|
206
|
+
a("div", ue, [
|
|
207
|
+
t(s).businessId.value ? t(s).loading.value || t(f).loading.value || S.value ? (r(), p("div", ce, [
|
|
208
|
+
n($, { size: "xl" }),
|
|
209
|
+
e[10] || (e[10] = a("span", null, "Loading your Mini Program…", -1))
|
|
210
|
+
])) : t(f).enabled.value ? t(s).error.value ? (r(), p("section", be, [
|
|
211
|
+
e[12] || (e[12] = a("h1", null, "Could not open this Mini Program", -1)),
|
|
212
|
+
a("p", null, c(t(s).error.value), 1),
|
|
213
|
+
n(O, {
|
|
214
|
+
label: "Try again",
|
|
215
|
+
onClick: t(s).refresh
|
|
216
|
+
}, null, 8, ["onClick"])
|
|
217
|
+
])) : (r(), B(t(W), {
|
|
218
|
+
key: `${t(s).businessId.value}:${t(l).params.projectId ?? String(t(l).name)}:${t(l).query.tpl === "1"}`
|
|
219
|
+
})) : (r(), p("section", ve, [
|
|
220
|
+
e[11] || (e[11] = a("h1", null, "Mini Program is not available for this business", -1)),
|
|
221
|
+
a("p", null, " It is still rolling out. Your FeedMe contact can enable it for " + c(t(s).businessName.value) + ". ", 1)
|
|
222
|
+
])) : (r(), p("section", de, [...e[9] || (e[9] = [
|
|
223
|
+
a("h1", null, "Select a business", -1),
|
|
224
|
+
a("p", null, "Choose a business in the Portal header to open its Mini Program.", -1)
|
|
225
|
+
])]))
|
|
226
|
+
])
|
|
227
|
+
])
|
|
228
|
+
], 2)
|
|
229
|
+
], 64);
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
}), qe = /* @__PURE__ */ le(ge, [["__scopeId", "data-v-53801e3e"]]);
|
|
233
|
+
export {
|
|
234
|
+
qe as default
|
|
235
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as te, ref as n, computed as F, watch as G, resolveComponent as I, openBlock as s, createElementBlock as u, withKeys as L, withModifiers as N, createElementVNode as a, toDisplayString as k, createVNode as P, withCtx as J, normalizeStyle as E, withDirectives as K, vModelText as q, Fragment as S, renderList as oe, createCommentVNode as v, unref as T, createBlock as ae, createTextVNode as W, nextTick as le } from "vue";
|
|
2
|
-
import { G as V, f as ne, b as p, l as se } from "./useBrandKit-
|
|
2
|
+
import { G as V, f as ne, b as p, l as se } from "./useBrandKit-Dl8N-9UZ.js";
|
|
3
3
|
import { _ as re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const xe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAADbZJREFUeAHtW2lsXNUV/t4yi5cZO4mdxUlsEmiBkI2dCkJBAloQSEBaCUoKkahUCYLUqjRFbVVVqlS6qAKVlqpIVBRRlqjwg1KKQNCUJIWELEBQQkgIcZzEThzimfF4PDNv63fufTNeMuN4TSXgSMd3ljfvve9+55577nefjVwuH+BzZCY+Z/YF4M+62fg/W8YB+sRdwA9MOlkwNRNR/qmxAz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aGAH335TEmhuTVfeIxmvGVPxXyycsgTd0GnibYbypU0R04inIlgmUPCMSqyzzfF7aZysrnwZm/JsWWVh1eQxXLpr8rdiSGafj33h2M2F1ZAK1PdOTF52K7HJXUuZgFlJYOsdA6/TJZbKaGV/839Jn3L4A/Fm3/wGRTH3CBVOXMAAAAABJRU5ErkJggg==", ue = ["onKeydown"], ie = { class: "font-picker__label" }, de = ["disabled", "aria-label", "aria-expanded"], ce = ["onKeydown", "aria-label"], ve = {
|
|
5
5
|
key: 0,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as J, ref as M, computed as q, onMounted as E, onScopeDispose as T, resolveComponent as k, openBlock as r, createElementBlock as l, createElementVNode as t, createTextVNode as v, createBlock as _, Teleport as Q, unref as a, toDisplayString as m, createCommentVNode as u, createVNode as b, withCtx as B, normalizeStyle as C, normalizeClass as X, Fragment as y, renderList as w, withDirectives as R, vModelText as P, watch as W } from "vue";
|
|
2
|
-
import { _ as ee, B as te } from "./BrandFontPicker-
|
|
2
|
+
import { _ as ee, B as te } from "./BrandFontPicker-D_MntcD2.js";
|
|
3
3
|
import { useRouter as ae, onBeforeRouteLeave as se } from "vue-router";
|
|
4
4
|
import { useDialog as oe, useSnackbar as ne } from "@feedmepos/ui-library";
|
|
5
|
-
import { a as re, C as N, t as $, F as le, u as ie, i as de } from "./useBrandKit-
|
|
5
|
+
import { a as re, C as N, t as $, F as le, u as ie, i as de } from "./useBrandKit-Dl8N-9UZ.js";
|
|
6
6
|
import { detectLocale as ue } from "@feedmepos/mf-common";
|
|
7
7
|
import { _ as pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const U = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14.9999'%20height='13.75'%20viewBox='0%200%2014.9999%2013.75'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%201197147821'%3e%3cpath%20id='Ellipse%201329'%20d='M12.5%206.875C12.5%203.42322%209.84169%200.625%206.5625%200.625C3.28331%200.625%200.625%203.42322%200.625%206.875C0.625%2010.3268%203.28331%2013.125%206.5625%2013.125'%20stroke='%23B2B3B6'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cg%20id='Group%201197147762'%3e%3cpath%20id='Line%20297'%20d='M10.4952%206.53566C10.2511%206.2916%2010.2511%205.89592%2010.4953%205.65189C10.7394%205.40785%2011.1352%205.40787%2011.3793%205.65193L10.9372%206.0938L10.4952%206.53566ZM13.0982%207.37064C13.3423%207.6147%2013.3423%208.01038%2013.0982%208.25441C12.854%208.49845%2012.4583%208.49843%2012.2142%208.25437L12.6562%207.8125L13.0982%207.37064ZM10.9372%206.0938L11.3793%205.65193L13.0982%207.37064L12.6562%207.8125L12.2142%208.25437L10.4952%206.53566L10.9372%206.0938Z'%20fill='%23B2B3B6'/%3e%3cpath%20id='Line%20298'%20d='M13.0982%208.25433C12.8542%208.49841%2012.4584%208.49846%2012.2143%208.25444C11.9701%208.01042%2011.9701%207.61475%2012.2141%207.37067L12.6562%207.8125L13.0982%208.25433ZM13.9328%205.65201C14.1769%205.40793%2014.5727%205.40788%2014.8168%205.6519C15.0609%205.89592%2015.061%206.29159%2014.8169%206.53567L14.3749%206.09384L13.9328%205.65201ZM12.6562%207.8125L12.2141%207.37067L13.9328%205.65201L14.3749%206.09384L14.8169%206.53567L13.0982%208.25433L12.6562%207.8125Z'%20fill='%23B2B3B6'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", ce = "@feedmepos/mf-remy-panel", L = {
|