@feedmepos/mf-miniprogram-v2 0.2.5-dev.2 → 0.2.6-dev.0
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-BCcQdudu.js → App-B8Qhgf0V.js} +2 -2
- package/dist/{BrandFontPicker-JHyoGusq.js → BrandFontPicker-BzsoYtYG.js} +1 -1
- package/dist/{BrandKitView-Dlt_ifI0.js → BrandKitView-HqIYrYNt.js} +2 -2
- package/dist/{ControlPlaneView-DUpgbU4h.js → ControlPlaneView-BGKGx1gE.js} +7436 -7242
- package/dist/{EcosystemView-WvdpEdkW.js → EcosystemView-BG3Gba74.js} +3 -3
- package/dist/MobileProjectDialog-mNUZfDy7.js +389 -0
- package/dist/MobileProjectsView-DW2BNTNc.js +224 -0
- package/dist/{ModuleCenterView-C6mCPATr.js → ModuleCenterView-BBaQu0Pm.js} +1 -1
- package/dist/{ModuleDetailView-CSfMF0Uo.js → ModuleDetailView-ChrsLmJa.js} +1 -1
- package/dist/{PagesView-B1uTuHsK.js → PagesView-CPYtQtsx.js} +1 -1
- package/dist/{PortalSettingsView-CUOL2tdF.js → PortalSettingsView-C60zqwk0.js} +2 -2
- package/dist/{TemplateCenterView-DqZLthqh.js → TemplateCenterView-Da9HzssA.js} +1 -1
- package/dist/{WorkspaceEntryView-BNl0REzn.js → WorkspaceEntryView-DE82gwZH.js} +1 -1
- package/dist/{adminAccess-oXC0xjvK.js → adminAccess-Cy0P9Hg-.js} +1 -1
- package/dist/app.js +11 -11
- package/dist/{controlPlane-sXaC6pAh.js → controlPlane-CDopeXyb.js} +7 -7
- package/dist/package.json +1 -1
- package/dist/{portalContext-DV-6uUwp.js → portalContext-IOgByqvZ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useBrandKit-CXLIXo5j.js → useBrandKit-C3CGmni1.js} +1 -1
- package/dist/{useModuleCatalog-Cep-pzWO.js → useModuleCatalog-B_6PWpER.js} +1 -1
- package/package.json +1 -1
- package/dist/AppTemplatePicker.vue_vue_type_script_setup_true_lang-LE_aKvfg.js +0 -198
- package/dist/MobileProjectsView-C9ryhzA8.js +0 -331
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { defineComponent as V, ref as w, computed as C, h as o, withModifiers as j, onMounted as q, onScopeDispose as B, resolveComponent as S, openBlock as r, createElementBlock as n, createElementVNode as a, createTextVNode as I, toDisplayString as M, createCommentVNode as P, createBlock as D, createVNode as _, unref as h } from "vue";
|
|
2
|
+
import { useRoute as R, useRouter as A } from "vue-router";
|
|
3
|
+
import { components as T, useDialog as $ } from "@feedmepos/ui-library";
|
|
4
|
+
import { a as E } from "./routes-CeuodIgg.js";
|
|
5
|
+
import { c as O, e as U } from "./controlPlane-CDopeXyb.js";
|
|
6
|
+
import { u as Y } from "./portalContext-IOgByqvZ.js";
|
|
7
|
+
import { w as u } from "./portalNavigation-DKCfwTH8.js";
|
|
8
|
+
import { p as G, M as H } from "./MobileProjectDialog-mNUZfDy7.js";
|
|
9
|
+
import { _ as k } from "./StatusBadge.vue_vue_type_script_setup_true_lang-CMgQ0bd_.js";
|
|
10
|
+
import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
const K = { class: "portal-page" }, Q = { class: "portal-page-inner" }, W = { class: "portal-page-heading" }, X = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "mobile-projects__count"
|
|
14
|
+
}, Z = {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "portal-error",
|
|
17
|
+
role: "alert"
|
|
18
|
+
}, ee = {
|
|
19
|
+
key: 1,
|
|
20
|
+
role: "status"
|
|
21
|
+
}, te = {
|
|
22
|
+
key: 2,
|
|
23
|
+
class: "portal-empty"
|
|
24
|
+
}, oe = {
|
|
25
|
+
key: 3,
|
|
26
|
+
class: "rounded-2xl border border-portal-border-default bg-portal-bg-default",
|
|
27
|
+
"aria-label": "Mobile projects"
|
|
28
|
+
}, re = /* @__PURE__ */ V({
|
|
29
|
+
__name: "MobileProjectsView",
|
|
30
|
+
setup(ae) {
|
|
31
|
+
const { FmButton: m } = T, x = Y(), s = R(), i = A(), v = $(), l = w([]), p = w(!0), c = w(""), f = new AbortController();
|
|
32
|
+
async function g() {
|
|
33
|
+
p.value = !0, c.value = "";
|
|
34
|
+
try {
|
|
35
|
+
const t = await O(E.projects(x.businessId.value), {
|
|
36
|
+
signal: f.signal
|
|
37
|
+
});
|
|
38
|
+
l.value = t.projects;
|
|
39
|
+
} catch (t) {
|
|
40
|
+
f.signal.aborted || (c.value = U(t));
|
|
41
|
+
} finally {
|
|
42
|
+
p.value = !1;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function d(t) {
|
|
46
|
+
v.open({
|
|
47
|
+
title: t ? "Project settings" : "New Mobile project",
|
|
48
|
+
dialogComponent: H,
|
|
49
|
+
dialogComponentProps: {
|
|
50
|
+
businessId: x.businessId.value,
|
|
51
|
+
projectId: t == null ? void 0 : t.projectId,
|
|
52
|
+
initialName: t == null ? void 0 : t.name,
|
|
53
|
+
onClose: () => v.close(),
|
|
54
|
+
onSaved: (e) => {
|
|
55
|
+
v.close(), t ? g() : i.push(u(e.projectId, "workspace", { ...s.query, setup: "1" }));
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function z(t) {
|
|
61
|
+
return new Intl.DateTimeFormat(void 0, { dateStyle: "medium", timeStyle: "short" }).format(new Date(t));
|
|
62
|
+
}
|
|
63
|
+
const N = C(() => [
|
|
64
|
+
{
|
|
65
|
+
id: "project",
|
|
66
|
+
header: () => "Project",
|
|
67
|
+
cell: (t) => {
|
|
68
|
+
const e = t.row.original;
|
|
69
|
+
return o("div", { class: "flex min-w-0 flex-col gap-2" }, [
|
|
70
|
+
o("span", { class: "truncate fm-typo-en-body-md-600 text-portal-text-primary" }, e.name),
|
|
71
|
+
o(
|
|
72
|
+
"span",
|
|
73
|
+
{ class: "fm-typo-en-body-sm-400 text-portal-text-muted", title: e.projectId },
|
|
74
|
+
`…${e.projectId.slice(-6)}`
|
|
75
|
+
)
|
|
76
|
+
]);
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: "setup",
|
|
81
|
+
header: () => "Setup",
|
|
82
|
+
size: 130,
|
|
83
|
+
enableSorting: !1,
|
|
84
|
+
cell: (t) => o(
|
|
85
|
+
k,
|
|
86
|
+
{ variant: t.row.original.provisioningStatus === "failed" ? "error" : "neutral", size: "sm" },
|
|
87
|
+
() => G(t.row.original.provisioningStatus)
|
|
88
|
+
)
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: "live",
|
|
92
|
+
header: () => "Live",
|
|
93
|
+
size: 200,
|
|
94
|
+
enableSorting: !1,
|
|
95
|
+
// Badges only. The muted sentence this replaces ("Unpublished release
|
|
96
|
+
// available") was the one thing in the row set in prose, and prose in a 200px
|
|
97
|
+
// column wraps — which is what made the cell look crowded. The state it
|
|
98
|
+
// carried is worth keeping, so it becomes a second tag rather than going away:
|
|
99
|
+
// it is the only place in this list that shows a merchant they have work built
|
|
100
|
+
// and waiting to go live.
|
|
101
|
+
//
|
|
102
|
+
// Nothing is rendered for a project with no pending release. That is the
|
|
103
|
+
// resting state of most rows, and a tag saying so would be back to filling the
|
|
104
|
+
// column with "nothing happened".
|
|
105
|
+
cell: (t) => {
|
|
106
|
+
const e = t.row.original;
|
|
107
|
+
return o("div", { class: "flex flex-wrap items-center gap-4" }, [
|
|
108
|
+
// "Live project" in a column headed Live said the word twice, and cost the
|
|
109
|
+
// width that made the line below it wrap.
|
|
110
|
+
o(
|
|
111
|
+
k,
|
|
112
|
+
{ variant: e.isLive ? "success" : "neutral", size: "sm" },
|
|
113
|
+
() => e.isLive ? "Live" : "Not live"
|
|
114
|
+
),
|
|
115
|
+
// `=== true` rather than truthiness: the field is optional in the contract,
|
|
116
|
+
// and an absent value means the state is unknown, not that it is false.
|
|
117
|
+
// This endpoint always sends a boolean, so that is a contract-level
|
|
118
|
+
// possibility rather than one a merchant meets.
|
|
119
|
+
e.hasUnpublishedRelease === !0 ? o(
|
|
120
|
+
k,
|
|
121
|
+
{ variant: "warning", size: "sm", title: "A release is built and waiting to be published" },
|
|
122
|
+
() => "Unpublished"
|
|
123
|
+
) : null
|
|
124
|
+
]);
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
id: "updatedAt",
|
|
129
|
+
header: () => "Last edited",
|
|
130
|
+
size: 170,
|
|
131
|
+
enableSorting: !1,
|
|
132
|
+
cell: (t) => o("span", { class: "fm-typo-en-body-sm-400 text-portal-text-muted" }, z(t.row.original.updatedAt))
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
id: "actions",
|
|
136
|
+
header: () => "",
|
|
137
|
+
size: 340,
|
|
138
|
+
enableSorting: !1,
|
|
139
|
+
cell: (t) => {
|
|
140
|
+
const e = t.row.original;
|
|
141
|
+
return o("div", { class: "flex flex-wrap items-center justify-end gap-4" }, [
|
|
142
|
+
e.provisioningStatus === "ready" ? o(m, {
|
|
143
|
+
icon: "deployed_code",
|
|
144
|
+
variant: "tertiary",
|
|
145
|
+
title: "View releases",
|
|
146
|
+
onClick: j(
|
|
147
|
+
() => i.push(u(e.projectId, "releases", s.query)),
|
|
148
|
+
["stop"]
|
|
149
|
+
)
|
|
150
|
+
}) : null,
|
|
151
|
+
o(m, {
|
|
152
|
+
label: "Rename",
|
|
153
|
+
variant: "tertiary",
|
|
154
|
+
onClick: j(() => d(e), ["stop"])
|
|
155
|
+
}),
|
|
156
|
+
o(m, {
|
|
157
|
+
label: e.provisioningStatus === "ready" ? "Open editor" : "Continue setup",
|
|
158
|
+
variant: "secondary",
|
|
159
|
+
onClick: j(
|
|
160
|
+
() => i.push(u(e.projectId, "workspace", s.query)),
|
|
161
|
+
["stop"]
|
|
162
|
+
)
|
|
163
|
+
})
|
|
164
|
+
]);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
]), F = C(() => !p.value && l.value.length > 0);
|
|
168
|
+
return q(() => {
|
|
169
|
+
if (g(), s.query.create === "1") {
|
|
170
|
+
const { create: t, ...e } = s.query;
|
|
171
|
+
i.replace({ query: e }), d();
|
|
172
|
+
}
|
|
173
|
+
}), B(() => f.abort()), (t, e) => {
|
|
174
|
+
const b = S("FmButton"), L = S("FmTable");
|
|
175
|
+
return r(), n("div", K, [
|
|
176
|
+
a("div", Q, [
|
|
177
|
+
a("header", W, [
|
|
178
|
+
a("div", null, [
|
|
179
|
+
e[4] || (e[4] = a("p", { class: "portal-eyebrow" }, "Mobile Ordering", -1)),
|
|
180
|
+
a("h1", null, [
|
|
181
|
+
e[3] || (e[3] = I("Projects ", -1)),
|
|
182
|
+
p.value ? P("", !0) : (r(), n("span", X, M(l.value.length), 1))
|
|
183
|
+
])
|
|
184
|
+
]),
|
|
185
|
+
F.value ? (r(), D(b, {
|
|
186
|
+
key: 0,
|
|
187
|
+
label: "New project",
|
|
188
|
+
icon: "add",
|
|
189
|
+
onClick: e[0] || (e[0] = (y) => d())
|
|
190
|
+
})) : P("", !0)
|
|
191
|
+
]),
|
|
192
|
+
c.value ? (r(), n("p", Z, [
|
|
193
|
+
I(M(c.value) + " ", 1),
|
|
194
|
+
_(b, {
|
|
195
|
+
label: "Retry",
|
|
196
|
+
variant: "tertiary",
|
|
197
|
+
onClick: g
|
|
198
|
+
})
|
|
199
|
+
])) : p.value ? (r(), n("p", ee, "Loading projects…")) : l.value.length ? (r(), n("section", oe, [
|
|
200
|
+
_(L, {
|
|
201
|
+
"column-defs": N.value,
|
|
202
|
+
"row-data": l.value,
|
|
203
|
+
"page-size": l.value.length,
|
|
204
|
+
"hide-footer": "",
|
|
205
|
+
"pin-header-row": "",
|
|
206
|
+
onRowClick: e[2] || (e[2] = (y) => h(i).push(h(u)(y.original.projectId, "workspace", h(s).query)))
|
|
207
|
+
}, null, 8, ["column-defs", "row-data", "page-size"])
|
|
208
|
+
])) : (r(), n("section", te, [
|
|
209
|
+
e[5] || (e[5] = a("h2", null, "Your first Mobile project", -1)),
|
|
210
|
+
e[6] || (e[6] = a("p", null, "Create an app from a template to start editing.", -1)),
|
|
211
|
+
_(b, {
|
|
212
|
+
label: "New project",
|
|
213
|
+
icon: "add",
|
|
214
|
+
onClick: e[1] || (e[1] = (y) => d())
|
|
215
|
+
})
|
|
216
|
+
]))
|
|
217
|
+
])
|
|
218
|
+
]);
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
}), fe = /* @__PURE__ */ J(re, [["__scopeId", "data-v-cda36ac2"]]);
|
|
222
|
+
export {
|
|
223
|
+
fe as default
|
|
224
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as F, openBlock as e, createElementBlock as n, createElementVNode as o, toDisplayString as d, createCommentVNode as k, ref as w, computed as m, onMounted as q, resolveComponent as f, createVNode as p, unref as i, Fragment as v, renderList as b, normalizeClass as A, createBlock as y, withCtx as R } from "vue";
|
|
2
2
|
import { useRoute as z } from "vue-router";
|
|
3
3
|
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
import { u as D, c as G, f as K, _ as h, t as O } from "./useModuleCatalog-
|
|
4
|
+
import { u as D, c as G, f as K, _ as h, t as O } from "./useModuleCatalog-B_6PWpER.js";
|
|
5
5
|
const P = { class: "card" }, U = { class: "card__head" }, j = { class: "card__name fm-typo-en-body-md-600 text-portal-text-primary" }, H = { class: "card__version fm-typo-en-body-sm-400 text-portal-text-muted" }, J = { class: "card__description fm-typo-en-body-sm-400 text-portal-text-muted" }, Q = { class: "card__tags" }, W = { class: "card__tag card__tag--tier fm-typo-en-body-sm-600" }, X = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "card__tag card__tag--slot fm-typo-en-body-sm-400"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, ref as M, computed as u, watch as T, resolveComponent as g, openBlock as n, createElementBlock as l, createElementVNode as e, toDisplayString as i, createCommentVNode as _, Fragment as I, renderList as S, createVNode as k, onMounted as B, unref as d, withCtx as L, createBlock as v } from "vue";
|
|
2
2
|
import { useRoute as N, useRouter as P } from "vue-router";
|
|
3
|
-
import { m as q, i as A, u as F, _ as w } from "./useModuleCatalog-
|
|
3
|
+
import { m as q, i as A, u as F, _ as w } from "./useModuleCatalog-B_6PWpER.js";
|
|
4
4
|
import { useDialog as V } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const R = { class: "detail" }, j = { class: "detail__head" }, z = { class: "detail__name fm-typo-en-title-sm-600 text-portal-text-primary" }, K = { class: "detail__version fm-typo-en-body-md-400 text-portal-text-muted" }, O = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, resolveComponent as i, openBlock as l, createElementBlock as m, createElementVNode as o, createVNode as r, unref as t, withCtx as u, createTextVNode as c } from "vue";
|
|
2
2
|
import { useRoute as d } from "vue-router";
|
|
3
|
-
import { u as g } from "./portalContext-
|
|
3
|
+
import { u as g } from "./portalContext-IOgByqvZ.js";
|
|
4
4
|
import { w as f } from "./portalNavigation-DKCfwTH8.js";
|
|
5
5
|
import { P as k } from "./PortalIcon-DO0VrIoY.js";
|
|
6
6
|
const w = { class: "portal-page" }, y = { class: "portal-page-inner" }, b = { class: "portal-section portal-empty" }, E = /* @__PURE__ */ p({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as k, computed as p, ref as l, onMounted as P, onScopeDispose as S, resolveComponent as x, openBlock as o, createElementBlock as n, createElementVNode as s, toDisplayString as d, createCommentVNode as h, Fragment as I, createVNode as A, unref as M } from "vue";
|
|
2
2
|
import { useRoute as N } from "vue-router";
|
|
3
3
|
import { e as _, a as $ } from "./index-CIJWcl_6.js";
|
|
4
|
-
import { l as B, e as E } from "./controlPlane-
|
|
4
|
+
import { l as B, e as E } from "./controlPlane-CDopeXyb.js";
|
|
5
5
|
import { useCoreStore as F } from "@feedmepos/mf-common";
|
|
6
|
-
import { u as U } from "./portalContext-
|
|
6
|
+
import { u as U } from "./portalContext-IOgByqvZ.js";
|
|
7
7
|
import { l as V } from "./portalNavigation-DKCfwTH8.js";
|
|
8
8
|
import { _ as q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const L = { class: "portal-page" }, R = { class: "portal-page-inner settings-page" }, T = { class: "portal-page-heading" }, D = ["href"], H = {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as B, ref as o, computed as K, resolveComponent as F, o
|
|
|
2
2
|
import { a as k } from "./routes-CeuodIgg.js";
|
|
3
3
|
import { useDialog as Z } from "@feedmepos/ui-library";
|
|
4
4
|
import { useRouter as ee } from "vue-router";
|
|
5
|
-
import { c as C, e as T } from "./controlPlane-
|
|
5
|
+
import { c as C, e as T } from "./controlPlane-CDopeXyb.js";
|
|
6
6
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const te = ["href"], ae = {
|
|
8
8
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, watchEffect as a, openBlock as n, createElementBlock as p } from "vue";
|
|
2
2
|
import { useRoute as u, useRouter as i } from "vue-router";
|
|
3
|
-
import { u as l } from "./portalContext-
|
|
3
|
+
import { u as l } from "./portalContext-IOgByqvZ.js";
|
|
4
4
|
import { w as m, a as f } from "./portalNavigation-DKCfwTH8.js";
|
|
5
5
|
const _ = {
|
|
6
6
|
class: "portal-loading",
|
package/dist/app.js
CHANGED
|
@@ -4,42 +4,42 @@ const o = [
|
|
|
4
4
|
path: "/platforms/mobile",
|
|
5
5
|
name: "miniprogram-v2-mobile-projects",
|
|
6
6
|
meta: { title: "Mobile" },
|
|
7
|
-
component: () => import("./MobileProjectsView-
|
|
7
|
+
component: () => import("./MobileProjectsView-DW2BNTNc.js")
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
path: "/",
|
|
11
11
|
name: "miniprogram-v2-ecosystem",
|
|
12
12
|
meta: { title: "Ecosystem" },
|
|
13
13
|
beforeEnter: (e) => ["workspace", "releases", "sessions"].includes(String(e.query.view)) ? { name: "miniprogram-v2-control", query: e.query } : !0,
|
|
14
|
-
component: () => import("./EcosystemView-
|
|
14
|
+
component: () => import("./EcosystemView-BG3Gba74.js")
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
path: "/workspace",
|
|
18
18
|
name: "miniprogram-v2-control",
|
|
19
|
-
component: () => import("./WorkspaceEntryView-
|
|
19
|
+
component: () => import("./WorkspaceEntryView-DE82gwZH.js")
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
path: "/p/:projectId/:view(workspace|releases|sessions)?",
|
|
23
23
|
name: "miniprogram-v2-project",
|
|
24
|
-
component: () => import("./ControlPlaneView-
|
|
24
|
+
component: () => import("./ControlPlaneView-BGKGx1gE.js")
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
path: "/brand-kit",
|
|
28
28
|
name: "miniprogram-v2-brand-kit",
|
|
29
29
|
meta: { title: "Brand Kit" },
|
|
30
|
-
component: () => import("./BrandKitView-
|
|
30
|
+
component: () => import("./BrandKitView-HqIYrYNt.js")
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
path: "/pages",
|
|
34
34
|
name: "miniprogram-v2-pages",
|
|
35
35
|
meta: { title: "Pages" },
|
|
36
|
-
component: () => import("./PagesView-
|
|
36
|
+
component: () => import("./PagesView-CPYtQtsx.js")
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
path: "/settings",
|
|
40
40
|
name: "miniprogram-v2-settings",
|
|
41
41
|
meta: { title: "Settings" },
|
|
42
|
-
component: () => import("./PortalSettingsView-
|
|
42
|
+
component: () => import("./PortalSettingsView-C60zqwk0.js")
|
|
43
43
|
},
|
|
44
44
|
...["tablet", "kiosk"].map((e) => ({
|
|
45
45
|
path: `/platforms/${e}`,
|
|
@@ -53,7 +53,7 @@ const o = [
|
|
|
53
53
|
path: "/modules",
|
|
54
54
|
name: "miniprogram-v2-module-center",
|
|
55
55
|
meta: { title: "Module library" },
|
|
56
|
-
component: () => import("./ModuleCenterView-
|
|
56
|
+
component: () => import("./ModuleCenterView-BBaQu0Pm.js")
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
// Keyed by the module's directory name, which is what the catalog, the
|
|
@@ -61,7 +61,7 @@ const o = [
|
|
|
61
61
|
path: "/modules/:name",
|
|
62
62
|
name: "miniprogram-v2-module-detail",
|
|
63
63
|
meta: { title: "Module library" },
|
|
64
|
-
component: () => import("./ModuleDetailView-
|
|
64
|
+
component: () => import("./ModuleDetailView-ChrsLmJa.js")
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
// Internal-only: linked from the main nav (App.vue), but only once
|
|
@@ -72,13 +72,13 @@ const o = [
|
|
|
72
72
|
path: "/internal/template-center",
|
|
73
73
|
name: "miniprogram-v2-template-center",
|
|
74
74
|
meta: { title: "Template library", requiresAdmin: !0 },
|
|
75
|
-
component: () => import("./TemplateCenterView-
|
|
75
|
+
component: () => import("./TemplateCenterView-Da9HzssA.js")
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
path: "/:pathMatch(.*)*",
|
|
79
79
|
redirect: (e) => ({ name: "miniprogram-v2-ecosystem", query: e.query, params: {} })
|
|
80
80
|
}
|
|
81
|
-
], r = {}, a = t(() => import("./App-
|
|
81
|
+
], r = {}, a = t(() => import("./App-B8Qhgf0V.js")), i = t(() => import("./LegacyWorkspaceEntry-lEMtmdIe.js"));
|
|
82
82
|
export {
|
|
83
83
|
a as FmApp,
|
|
84
84
|
i as MiniprogramWorkspace,
|
|
@@ -126,15 +126,15 @@ async function I(e, n = {}) {
|
|
|
126
126
|
}
|
|
127
127
|
export {
|
|
128
128
|
T as C,
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
x as a,
|
|
130
|
+
P as b,
|
|
131
131
|
b as c,
|
|
132
|
-
|
|
132
|
+
y as d,
|
|
133
133
|
F as e,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
E as f,
|
|
135
|
+
u as g,
|
|
136
|
+
C as h,
|
|
137
|
+
$ as i,
|
|
138
138
|
D as j,
|
|
139
139
|
k,
|
|
140
140
|
i as l,
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as b } from "./routes-CeuodIgg.js";
|
|
2
2
|
import { useCoreStore as d } from "@feedmepos/mf-common";
|
|
3
|
-
import { c as g, e as h } from "./controlPlane-
|
|
3
|
+
import { c as g, e as h } from "./controlPlane-CDopeXyb.js";
|
|
4
4
|
import { provide as y, computed as f, ref as c, watch as C, onScopeDispose as w, inject as x } from "vue";
|
|
5
5
|
function P() {
|
|
6
6
|
const e = d(), r = f(() => {
|