@feedmepos/mf-miniprogram-v2 0.2.11-dev.4 → 0.2.11
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 → App-DfA0ddUO.js} +30 -30
- package/dist/{BrandFontPicker-D_MntcD2.js → BrandFontPicker-d1bRoXRp.js} +1 -1
- package/dist/{BrandKitView-DHV0PUus.js → BrandKitView-CUUJOv_Q.js} +2 -2
- package/dist/{ControlPlaneView-fqkfezTv.js → ControlPlaneView-C9Li1prK.js} +8 -8
- package/dist/{EcosystemView-Blo9u-dq.js → EcosystemView-BY0bYRoD.js} +4 -4
- package/dist/{LegacyWorkspaceEntry-IRMa-8U4.js → LegacyWorkspaceEntry-DaHiQCt9.js} +1 -1
- package/dist/{MobileProjectDialog-CgAIDCT8.js → MobileProjectDialog-CumMWQCK.js} +1 -1
- package/dist/{MobileProjectsView--u1GnKXK.js → MobileProjectsView-B7XEvRa6.js} +3 -3
- package/dist/{ModuleCenterView-D_5TWuln.js → ModuleCenterView-B4c8sjpy.js} +1 -1
- package/dist/{ModuleDetailView-U8M_-5qs.js → ModuleDetailView-BBpyX8YP.js} +1 -1
- package/dist/{PagesView-Bz5aN_A-.js → PagesView-CmuO0BFr.js} +1 -1
- package/dist/{PortalSettingsView-C-5ahh8D.js → PortalSettingsView-DTy67nb7.js} +8 -8
- package/dist/{TemplateCenterView-D8AHHZWs.js → TemplateCenterView-SRp-lJvM.js} +1 -1
- package/dist/{WorkspaceEntryView-V-Tu9Iiy.js → WorkspaceEntryView-CIoaVB8r.js} +1 -1
- package/dist/app.js +11 -11
- package/dist/{controlPlane-Bn-uDXG_.js → controlPlane-CtVzG6KV.js} +5 -5
- package/dist/{localPreference-CaizsY6G.js → localPreference-B91MO16i.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{portalContext-FZ8_SePb.js → portalContext-Bwf6bHOw.js} +1 -1
- package/dist/{useBrandKit-Dl8N-9UZ.js → useBrandKit-mXU0pgs0.js} +2 -2
- package/dist/{useModuleCatalog-CNvI4aSK.js → useModuleCatalog-DgazX8Nz.js} +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
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
|
|
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 n, createElementBlock as p, Fragment as M, createElementVNode as a, normalizeClass as q, createVNode as r, renderList as h, unref as t, withCtx as d, toDisplayString as c, createBlock as B, createCommentVNode as x } from "vue";
|
|
2
2
|
import { useCoreStore as Y } from "@feedmepos/mf-common";
|
|
3
3
|
import { useRoute as H, useRouter as J, RouterView as W } from "vue-router";
|
|
4
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-
|
|
6
|
-
import { p as ae } from "./portalContext-
|
|
5
|
+
import { i as X, u as Z, r as F, a as ee, w as T } from "./localPreference-B91MO16i.js";
|
|
6
|
+
import { p as ae } from "./portalContext-Bwf6bHOw.js";
|
|
7
7
|
import { e as te, p as v } from "./portalNavigation-DLcC7Koh.js";
|
|
8
8
|
import { _ as le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const oe = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "portal-sidebar",
|
|
12
12
|
"aria-label": "Mini Program navigation"
|
|
13
|
-
},
|
|
13
|
+
}, re = ["aria-expanded", "aria-label"], ne = {
|
|
14
14
|
id: "miniprogram-navigation",
|
|
15
15
|
class: "portal-nav"
|
|
16
16
|
}, se = { class: "portal-nav-label" }, ie = { class: "portal-nav-label" }, pe = { class: "portal-main" }, me = {
|
|
@@ -50,7 +50,7 @@ const oe = {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}), X(y.namespace.value);
|
|
53
|
-
const f = Z("fmmf:
|
|
53
|
+
const f = Z("fmmf:prod"), m = u(() => l.name === "miniprogram-v2-project"), R = u(() => ({
|
|
54
54
|
...v(l.query),
|
|
55
55
|
...m.value ? { returnProjectId: String(l.params.projectId) } : {}
|
|
56
56
|
})), j = u(() => f.loading.value || f.enabled.value), k = w(
|
|
@@ -79,7 +79,7 @@ const oe = {
|
|
|
79
79
|
}
|
|
80
80
|
return (b, e) => {
|
|
81
81
|
const i = C("RouterLink"), L = C("FmIcon"), $ = C("FmCircularProgress"), O = C("FmButton");
|
|
82
|
-
return
|
|
82
|
+
return n(), p(M, null, [
|
|
83
83
|
e[14] || (e[14] = a("link", {
|
|
84
84
|
href: "https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0..1,0",
|
|
85
85
|
rel: "stylesheet"
|
|
@@ -91,7 +91,7 @@ const oe = {
|
|
|
91
91
|
class: "portal-skip",
|
|
92
92
|
href: "#miniprogram-content"
|
|
93
93
|
}, "Skip to content", -1)),
|
|
94
|
-
j.value ? (
|
|
94
|
+
j.value ? (n(), p("aside", oe, [
|
|
95
95
|
a("button", {
|
|
96
96
|
class: "portal-sidebar-toggle",
|
|
97
97
|
type: "button",
|
|
@@ -100,11 +100,11 @@ const oe = {
|
|
|
100
100
|
"aria-label": P.value ? "Expand navigation" : "Collapse navigation",
|
|
101
101
|
onClick: K
|
|
102
102
|
}, [
|
|
103
|
-
|
|
103
|
+
r(g, { name: "collapse" }),
|
|
104
104
|
e[0] || (e[0] = a("span", { class: "portal-nav-label" }, "Mini Program", -1))
|
|
105
|
-
], 8,
|
|
106
|
-
a("nav",
|
|
107
|
-
(
|
|
105
|
+
], 8, re),
|
|
106
|
+
a("nav", ne, [
|
|
107
|
+
(n(), p(M, null, h(E, (o) => r(i, {
|
|
108
108
|
key: o.name,
|
|
109
109
|
to: { name: o.name, query: t(v)(t(l).query) },
|
|
110
110
|
class: "portal-nav-item",
|
|
@@ -113,7 +113,7 @@ const oe = {
|
|
|
113
113
|
"aria-current": t(l).name === o.name ? "page" : void 0
|
|
114
114
|
}, {
|
|
115
115
|
default: d(() => [
|
|
116
|
-
|
|
116
|
+
r(g, {
|
|
117
117
|
name: o.icon
|
|
118
118
|
}, null, 8, ["name"]),
|
|
119
119
|
a("span", se, c(o.label), 1)
|
|
@@ -121,7 +121,7 @@ const oe = {
|
|
|
121
121
|
_: 2
|
|
122
122
|
}, 1032, ["to", "title", "aria-label", "aria-current"])), 64)),
|
|
123
123
|
e[4] || (e[4] = a("p", { class: "portal-nav-caption" }, "Platforms", -1)),
|
|
124
|
-
|
|
124
|
+
r(i, {
|
|
125
125
|
to: V.value,
|
|
126
126
|
class: q(["portal-nav-item", { "router-link-active": m.value }]),
|
|
127
127
|
title: "Mobile Ordering",
|
|
@@ -129,12 +129,12 @@ const oe = {
|
|
|
129
129
|
"aria-current": m.value ? "page" : void 0
|
|
130
130
|
}, {
|
|
131
131
|
default: d(() => [
|
|
132
|
-
|
|
132
|
+
r(g, { name: "mobile" }),
|
|
133
133
|
e[1] || (e[1] = a("span", { class: "portal-nav-label" }, "Mobile Ordering", -1))
|
|
134
134
|
]),
|
|
135
135
|
_: 1
|
|
136
136
|
}, 8, ["to", "class", "aria-current"]),
|
|
137
|
-
(
|
|
137
|
+
(n(), p(M, null, h(["tablet", "kiosk"], (o) => r(i, {
|
|
138
138
|
key: o,
|
|
139
139
|
to: { name: `miniprogram-v2-${o}`, query: t(v)(t(l).query) },
|
|
140
140
|
class: "portal-nav-item",
|
|
@@ -142,20 +142,20 @@ const oe = {
|
|
|
142
142
|
"aria-label": o === "tablet" ? "Tablet" : "Kiosk"
|
|
143
143
|
}, {
|
|
144
144
|
default: d(() => [
|
|
145
|
-
|
|
145
|
+
r(g, { name: o }, null, 8, ["name"]),
|
|
146
146
|
a("span", ie, c(o === "tablet" ? "Tablet" : "Kiosk"), 1)
|
|
147
147
|
]),
|
|
148
148
|
_: 2
|
|
149
149
|
}, 1032, ["to", "title", "aria-label"])), 64)),
|
|
150
150
|
e[5] || (e[5] = a("div", { class: "portal-nav-divider" }, null, -1)),
|
|
151
|
-
|
|
151
|
+
r(i, {
|
|
152
152
|
to: { name: "miniprogram-v2-module-center", query: R.value },
|
|
153
153
|
class: q(["portal-nav-item", { "router-link-active": t(l).name === "miniprogram-v2-module-detail" }]),
|
|
154
154
|
title: "Component Library",
|
|
155
155
|
"aria-label": "Component Library"
|
|
156
156
|
}, {
|
|
157
157
|
default: d(() => [
|
|
158
|
-
|
|
158
|
+
r(L, {
|
|
159
159
|
name: "widgets",
|
|
160
160
|
size: "md"
|
|
161
161
|
}),
|
|
@@ -163,7 +163,7 @@ const oe = {
|
|
|
163
163
|
]),
|
|
164
164
|
_: 1
|
|
165
165
|
}, 8, ["to", "class"]),
|
|
166
|
-
t(N) ? (
|
|
166
|
+
t(N) ? (n(), B(i, {
|
|
167
167
|
key: 0,
|
|
168
168
|
to: { name: "miniprogram-v2-template-center", query: t(v)(t(l).query) },
|
|
169
169
|
class: "portal-nav-item",
|
|
@@ -171,7 +171,7 @@ const oe = {
|
|
|
171
171
|
"aria-label": "Template library"
|
|
172
172
|
}, {
|
|
173
173
|
default: d(() => [
|
|
174
|
-
|
|
174
|
+
r(L, {
|
|
175
175
|
name: "dashboard_customize",
|
|
176
176
|
size: "md"
|
|
177
177
|
}),
|
|
@@ -180,21 +180,21 @@ const oe = {
|
|
|
180
180
|
_: 1
|
|
181
181
|
}, 8, ["to"])) : x("", !0)
|
|
182
182
|
]),
|
|
183
|
-
|
|
183
|
+
r(i, {
|
|
184
184
|
to: { name: "miniprogram-v2-settings", query: t(v)(t(l).query) },
|
|
185
185
|
class: "portal-nav-item portal-settings-link",
|
|
186
186
|
title: "Settings",
|
|
187
187
|
"aria-label": "Settings"
|
|
188
188
|
}, {
|
|
189
189
|
default: d(() => [
|
|
190
|
-
|
|
190
|
+
r(g, { name: "settings" }),
|
|
191
191
|
e[6] || (e[6] = a("span", { class: "portal-nav-label" }, "Settings", -1))
|
|
192
192
|
]),
|
|
193
193
|
_: 1
|
|
194
194
|
}, 8, ["to"])
|
|
195
195
|
])) : x("", !0),
|
|
196
196
|
a("div", pe, [
|
|
197
|
-
m.value ? x("", !0) : (
|
|
197
|
+
m.value ? x("", !0) : (n(), p("header", me, [
|
|
198
198
|
a("span", null, c(t(s).businessName.value), 1),
|
|
199
199
|
e[7] || (e[7] = a("span", { "aria-hidden": "true" }, "/", -1)),
|
|
200
200
|
a("span", null, c(z.value), 1),
|
|
@@ -204,22 +204,22 @@ const oe = {
|
|
|
204
204
|
}, null, -1))
|
|
205
205
|
])),
|
|
206
206
|
a("div", ue, [
|
|
207
|
-
t(s).businessId.value ? t(s).loading.value || t(f).loading.value || S.value ? (
|
|
208
|
-
|
|
207
|
+
t(s).businessId.value ? t(s).loading.value || t(f).loading.value || S.value ? (n(), p("div", ce, [
|
|
208
|
+
r($, { size: "xl" }),
|
|
209
209
|
e[10] || (e[10] = a("span", null, "Loading your Mini Program…", -1))
|
|
210
|
-
])) : t(f).enabled.value ? t(s).error.value ? (
|
|
210
|
+
])) : t(f).enabled.value ? t(s).error.value ? (n(), p("section", be, [
|
|
211
211
|
e[12] || (e[12] = a("h1", null, "Could not open this Mini Program", -1)),
|
|
212
212
|
a("p", null, c(t(s).error.value), 1),
|
|
213
|
-
|
|
213
|
+
r(O, {
|
|
214
214
|
label: "Try again",
|
|
215
215
|
onClick: t(s).refresh
|
|
216
216
|
}, null, 8, ["onClick"])
|
|
217
|
-
])) : (
|
|
217
|
+
])) : (n(), B(t(W), {
|
|
218
218
|
key: `${t(s).businessId.value}:${t(l).params.projectId ?? String(t(l).name)}:${t(l).query.tpl === "1"}`
|
|
219
|
-
})) : (
|
|
219
|
+
})) : (n(), p("section", ve, [
|
|
220
220
|
e[11] || (e[11] = a("h1", null, "Mini Program is not available for this business", -1)),
|
|
221
221
|
a("p", null, " It is still rolling out. Your FeedMe contact can enable it for " + c(t(s).businessName.value) + ". ", 1)
|
|
222
|
-
])) : (
|
|
222
|
+
])) : (n(), p("section", de, [...e[9] || (e[9] = [
|
|
223
223
|
a("h1", null, "Select a business", -1),
|
|
224
224
|
a("p", null, "Choose a business in the Portal header to open its Mini Program.", -1)
|
|
225
225
|
])]))
|
|
@@ -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-mXU0pgs0.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/qmxAzpQb09OqjntgD9KA139wMcZIOWYsAwoQFHTQJxtjK1NoDY/l9Y0TDoQ4ev6SIDmuIeWuI/x2mkBvI8gt3YDrx8W9gzURYBaeh2vXhOBYlUsCF3MMIaew+EXJxwDx10b+zmxLCDwueMAPqWANx/28fhOYE/GQH0tGYobSEQBj98FgW7FqgaroT0IW1+cL3KegfdzJjodD8vq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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-d1bRoXRp.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-mXU0pgs0.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 = {
|
|
@@ -5,18 +5,18 @@ import { defineComponent as rt, ref as F, computed as L, resolveComponent as Te,
|
|
|
5
5
|
import { i as ms, M as ai, C as Sd, c as Td, a as Cd, b as Ed, d as ri, e as tc, D as dl, l as As, T as pl } from "./index-DB33ug2V.js";
|
|
6
6
|
import { useI18n as Ua, useCoreStore as nc } from "@feedmepos/mf-common";
|
|
7
7
|
import { useSnackbar as Ei, useDialog as gs } from "@feedmepos/ui-library";
|
|
8
|
-
import { C as Da, c as nt, e as at, b as Aa, d as wa, f as Id, n as ac, g as Ad, h as rc, i as Ii, j as hl, s as fl, k as si, l as $s, m as $d, o as Rd, a as Pd } from "./controlPlane-
|
|
9
|
-
import { s as ii, a as li, b as Qa, M as Od, r as oi, L as Nd, p as ml, _ as Md } from "./MobileProjectDialog-
|
|
10
|
-
import { _ as sc, B as Dd } from "./BrandFontPicker-
|
|
8
|
+
import { C as Da, c as nt, e as at, b as Aa, d as wa, f as Id, n as ac, g as Ad, h as rc, i as Ii, j as hl, s as fl, k as si, l as $s, m as $d, o as Rd, a as Pd } from "./controlPlane-CtVzG6KV.js";
|
|
9
|
+
import { s as ii, a as li, b as Qa, M as Od, r as oi, L as Nd, p as ml, _ as Md } from "./MobileProjectDialog-CumMWQCK.js";
|
|
10
|
+
import { _ as sc, B as Dd } from "./BrandFontPicker-d1bRoXRp.js";
|
|
11
11
|
import { g as Ld } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
12
12
|
import { _ as ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
import { C as ic, F as Ai, u as $i, i as zr, a as Bd, t as jd } from "./useBrandKit-
|
|
13
|
+
import { C as ic, F as Ai, u as $i, i as zr, a as Bd, t as jd } from "./useBrandKit-mXU0pgs0.js";
|
|
14
14
|
import { a as Ye } from "./routes-W8KfuhWL.js";
|
|
15
15
|
import { _ as dn } from "./StatusBadge.vue_vue_type_script_setup_true_lang-DMm_s9ua.js";
|
|
16
16
|
import { p as Ri, w as lc, a as Ud, b as Fd } from "./portalNavigation-DLcC7Koh.js";
|
|
17
17
|
import { useRoute as es, useRouter as oc } from "vue-router";
|
|
18
|
-
import { b as qd, c as zd, d as Hd, a as Vd, e as gl } from "./localPreference-
|
|
19
|
-
import { u as Gd } from "./portalContext-
|
|
18
|
+
import { b as qd, c as zd, d as Hd, a as Vd, e as gl } from "./localPreference-B91MO16i.js";
|
|
19
|
+
import { u as Gd } from "./portalContext-Bwf6bHOw.js";
|
|
20
20
|
function Wd(t) {
|
|
21
21
|
if (!t) return null;
|
|
22
22
|
try {
|
|
@@ -16501,7 +16501,7 @@ const hS = {
|
|
|
16501
16501
|
let se = await oS({
|
|
16502
16502
|
businessId: g,
|
|
16503
16503
|
business: hl(),
|
|
16504
|
-
environment: tc("fmmf:
|
|
16504
|
+
environment: tc("fmmf:prod"),
|
|
16505
16505
|
country: Ii() ?? "",
|
|
16506
16506
|
authorization: await rc()
|
|
16507
16507
|
});
|
|
@@ -27185,7 +27185,7 @@ const G$ = { class: "workspace__toolbar-start" }, W$ = ["title"], K$ = {
|
|
|
27185
27185
|
), oe = L(() => {
|
|
27186
27186
|
var be;
|
|
27187
27187
|
const I = si(), U = ac(((be = s.project) == null ? void 0 : be.country) ?? Ii());
|
|
27188
|
-
return !I || !U ? null : Rd(tc("fmmf:
|
|
27188
|
+
return !I || !U ? null : Rd(tc("fmmf:prod"), U, I);
|
|
27189
27189
|
}), Be = L(
|
|
27190
27190
|
() => ue.value ? Qa(ue.value) : "Workspace"
|
|
27191
27191
|
), Ae = L(() => {
|
|
@@ -2,10 +2,10 @@ import { defineComponent as A, computed as n, ref as u, onMounted as B, onScopeD
|
|
|
2
2
|
import { useRoute as j } from "vue-router";
|
|
3
3
|
import { useCoreStore as I } from "@feedmepos/mf-common";
|
|
4
4
|
import { e as q } from "./index-DB33ug2V.js";
|
|
5
|
-
import { a as N, c as R, e as T } from "./controlPlane-
|
|
6
|
-
import { u as K } from "./portalContext-
|
|
5
|
+
import { a as N, c as R, e as T } from "./controlPlane-CtVzG6KV.js";
|
|
6
|
+
import { u as K } from "./portalContext-Bwf6bHOw.js";
|
|
7
7
|
import { l as Y, p as y } from "./portalNavigation-DLcC7Koh.js";
|
|
8
|
-
import { i as $, u as z } from "./useBrandKit-
|
|
8
|
+
import { i as $, u as z } from "./useBrandKit-mXU0pgs0.js";
|
|
9
9
|
import { _ as Q } from "./StatusBadge.vue_vue_type_script_setup_true_lang-DMm_s9ua.js";
|
|
10
10
|
import { a as J } from "./routes-W8KfuhWL.js";
|
|
11
11
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -35,7 +35,7 @@ const X = "data:image/svg+xml,%3csvg%20width='342'%20height='186'%20viewBox='0%2
|
|
|
35
35
|
},
|
|
36
36
|
"brandkit"
|
|
37
37
|
),
|
|
38
|
-
q("fmmf:
|
|
38
|
+
q("fmmf:prod") === "dev" ? "https://portal.feedmedev.cc" : "https://portal.feedme.cc"
|
|
39
39
|
).href;
|
|
40
40
|
}
|
|
41
41
|
), s = u([]), d = u(!0), h = u(null), _ = new AbortController(), M = n(
|
|
@@ -17,7 +17,7 @@ const _ = { class: "portal-empty" }, k = ["href"], M = /* @__PURE__ */ p({
|
|
|
17
17
|
const r = new URLSearchParams();
|
|
18
18
|
for (const [m, u] of Object.entries(a.value))
|
|
19
19
|
typeof u == "string" && r.set(m, u);
|
|
20
|
-
return `${v("fmmf:
|
|
20
|
+
return `${v("fmmf:prod") === "dev" ? "https://portal.feedmedev.cc" : "https://portal.feedme.cc"}/miniprogram-v2/workspace${r.size ? `?${r}` : ""}`;
|
|
21
21
|
});
|
|
22
22
|
return l(() => {
|
|
23
23
|
s.hasRoute("miniprogram-v2-control") && s.replace({ name: "miniprogram-v2-control", query: a.value });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as U, computed as k, openBlock as e, createElementBlock as n, normalizeClass as q, createCommentVNode as o, resolveComponent as W, createElementVNode as j, createBlock as z, toDisplayString as p, Fragment as b, renderList as N, ref as K, onMounted as O, withCtx as J, createVNode as u } from "vue";
|
|
2
2
|
import { m as h } from "./index-DB33ug2V.js";
|
|
3
|
-
import { c as E, e as m, i as M } from "./controlPlane-
|
|
3
|
+
import { c as E, e as m, i as M } from "./controlPlane-CtVzG6KV.js";
|
|
4
4
|
import { a as D } from "./routes-W8KfuhWL.js";
|
|
5
5
|
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const T = [
|
|
@@ -3,10 +3,10 @@ import { useRoute as A, useRouter as T } from "vue-router";
|
|
|
3
3
|
import { components as $, useDialog as E } from "@feedmepos/ui-library";
|
|
4
4
|
import "./index-DB33ug2V.js";
|
|
5
5
|
import { a as O } from "./routes-W8KfuhWL.js";
|
|
6
|
-
import { c as U, e as Y } from "./controlPlane-
|
|
7
|
-
import { u as G } from "./portalContext-
|
|
6
|
+
import { c as U, e as Y } from "./controlPlane-CtVzG6KV.js";
|
|
7
|
+
import { u as G } from "./portalContext-Bwf6bHOw.js";
|
|
8
8
|
import { w as d } from "./portalNavigation-DLcC7Koh.js";
|
|
9
|
-
import { p as H, M as J } from "./MobileProjectDialog-
|
|
9
|
+
import { p as H, M as J } from "./MobileProjectDialog-CumMWQCK.js";
|
|
10
10
|
import { _ as x } from "./StatusBadge.vue_vue_type_script_setup_true_lang-DMm_s9ua.js";
|
|
11
11
|
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const Q = { class: "portal-page" }, W = { class: "portal-page-inner" }, X = { class: "portal-page-heading" }, Z = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as H, ref as S, computed as f, onMounted as W, onUnmounted as J, openBlock as s, createElementBlock as l, createElementVNode as o, toDisplayString as a, createCommentVNode as A, Fragment as k, renderList as x, normalizeStyle as X, watch as Z, resolveComponent as O, createVNode as ee, unref as i, normalizeClass as g, createBlock as w, createTextVNode as C } from "vue";
|
|
2
2
|
import { useRouter as j, useRoute as te } from "vue-router";
|
|
3
|
-
import { i as ne, u as oe, f as se, s as z, g as le, _ as M, a as re } from "./useModuleCatalog-
|
|
3
|
+
import { i as ne, u as oe, f as se, s as z, g as le, _ as M, a as re } from "./useModuleCatalog-DgazX8Nz.js";
|
|
4
4
|
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const ae = { class: "row" }, ie = { class: "row__head" }, ue = { class: "row__label fm-typo-en-body-md-600 text-portal-text-primary" }, ce = {
|
|
6
6
|
key: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as j, computed as _, ref as F, watch as Y, resolveComponent as h, openBlock as n, createElementBlock as s, createElementVNode as e, toDisplayString as a, createVNode as c, createCommentVNode as u, createTextVNode as M, Fragment as N, renderList as P, unref as m, normalizeClass as V, withCtx as B, onMounted as G, createBlock as C } from "vue";
|
|
2
2
|
import { useRoute as R, useRouter as A } from "vue-router";
|
|
3
3
|
import { useDialog as H } from "@feedmepos/ui-library";
|
|
4
|
-
import { m as J, b as Q, u as W, _ as q } from "./useModuleCatalog-
|
|
4
|
+
import { m as J, b as Q, u as W, _ as q } from "./useModuleCatalog-DgazX8Nz.js";
|
|
5
5
|
import { w as X } from "./portalNavigation-DLcC7Koh.js";
|
|
6
6
|
import { _ as O } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const Z = { class: "detail" }, ee = { class: "detail__head" }, te = { class: "detail__name fm-typo-en-title-sm-600 text-portal-text-primary" }, oe = { class: "detail__version fm-typo-en-body-md-400 text-portal-text-muted" }, ne = {
|
|
@@ -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-Bwf6bHOw.js";
|
|
4
4
|
import { w as f } from "./portalNavigation-DLcC7Koh.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({
|
|
@@ -3,8 +3,8 @@ import { useRoute as de, useRouter as fe } from "vue-router";
|
|
|
3
3
|
import { useCoreStore as $t } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as ge, useSnackbar as he } from "@feedmepos/ui-library";
|
|
5
5
|
import { f as st, e as J, g as me, h as gt, j as pe } from "./index-DB33ug2V.js";
|
|
6
|
-
import { n as we, i as ye, h as ve, g as Ce, c as be, e as zt, j as Ee } from "./controlPlane-
|
|
7
|
-
import { u as Vt } from "./portalContext-
|
|
6
|
+
import { n as we, i as ye, h as ve, g as Ce, c as be, e as zt, j as Ee } from "./controlPlane-CtVzG6KV.js";
|
|
7
|
+
import { u as Vt } from "./portalContext-Bwf6bHOw.js";
|
|
8
8
|
import { a as Be } from "./routes-W8KfuhWL.js";
|
|
9
9
|
import { _ as Ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { l as Se } from "./portalNavigation-DLcC7Koh.js";
|
|
@@ -1459,7 +1459,7 @@ Z.toString = It.bind(null, function(e, t, i) {
|
|
|
1459
1459
|
});
|
|
1460
1460
|
const kt = 15e3;
|
|
1461
1461
|
function gn() {
|
|
1462
|
-
return Ce(J("fmmf:
|
|
1462
|
+
return Ce(J("fmmf:prod"), re()).portalApiBaseUrl;
|
|
1463
1463
|
}
|
|
1464
1464
|
async function Rt(e, t) {
|
|
1465
1465
|
const i = await e.json().catch(() => null);
|
|
@@ -1488,7 +1488,7 @@ async function hn(e, t, i) {
|
|
|
1488
1488
|
})
|
|
1489
1489
|
});
|
|
1490
1490
|
if (!l.ok) throw await Rt(l, "Could not save the business link");
|
|
1491
|
-
const a = st(J("fmmf:
|
|
1491
|
+
const a = st(J("fmmf:prod")).apiOrigin;
|
|
1492
1492
|
return await fetch(`${a}/short-url`, {
|
|
1493
1493
|
method: "POST",
|
|
1494
1494
|
headers: { "Content-Type": "application/json" },
|
|
@@ -1497,7 +1497,7 @@ async function hn(e, t, i) {
|
|
|
1497
1497
|
}).catch((c) => console.warn("short-url cache warm failed; it will self-heal", c)), s;
|
|
1498
1498
|
}
|
|
1499
1499
|
async function mn(e, t) {
|
|
1500
|
-
const i = st(J("fmmf:
|
|
1500
|
+
const i = st(J("fmmf:prod")).apiOrigin, o = await fetch(`${i}/short-url/${encodeURIComponent(e)}`, {
|
|
1501
1501
|
signal: AbortSignal.any([t, AbortSignal.timeout(kt)])
|
|
1502
1502
|
});
|
|
1503
1503
|
if (o.status === 404) return null;
|
|
@@ -1517,7 +1517,7 @@ const pn = { class: "portal-section" }, wn = { class: "link-row" }, yn = { class
|
|
|
1517
1517
|
}, _n = ["href", "download"], In = /* @__PURE__ */ Ut({
|
|
1518
1518
|
__name: "BusinessLinkSection",
|
|
1519
1519
|
setup(e) {
|
|
1520
|
-
const t = Vt(), i = $t(), o = ge(), n = he(), r = st(J("fmmf:
|
|
1520
|
+
const t = Vt(), i = $t(), o = ge(), n = he(), r = st(J("fmmf:prod")).liveDomain, s = I(() => t.businessId.value ?? ""), l = I(() => {
|
|
1521
1521
|
var b, L;
|
|
1522
1522
|
const y = ((L = (b = i.currentBusiness.value) == null ? void 0 : b.url) == null ? void 0 : L.trim().toLowerCase()) ?? "";
|
|
1523
1523
|
return y === s.value ? "" : y;
|
|
@@ -1736,10 +1736,10 @@ const pn = { class: "portal-section" }, wn = { class: "link-row" }, yn = { class
|
|
|
1736
1736
|
country: n.currentCountry.value ?? null,
|
|
1737
1737
|
restaurantId: ((f = n.currentRestaurant.value) == null ? void 0 : f._id) ?? null
|
|
1738
1738
|
}),
|
|
1739
|
-
J("fmmf:
|
|
1739
|
+
J("fmmf:prod") === "dev" ? "https://portal.feedmedev.cc" : "https://portal.feedme.cc"
|
|
1740
1740
|
).href;
|
|
1741
1741
|
}
|
|
1742
|
-
), c = F(null), d = F(!0), E = F(null), m = F(!1), h = st(J("fmmf:
|
|
1742
|
+
), c = F(null), d = F(!0), E = F(null), m = F(!1), h = st(J("fmmf:prod")).apiOrigin, C = I(() => `${h}/metadata/${t.businessId.value}/pwa-512x512.png`), w = I(() => {
|
|
1743
1743
|
var f;
|
|
1744
1744
|
return (f = Ee()) == null ? void 0 : f.thumbnail;
|
|
1745
1745
|
}), A = new AbortController();
|
|
@@ -3,7 +3,7 @@ import "./index-DB33ug2V.js";
|
|
|
3
3
|
import { a as T } from "./routes-W8KfuhWL.js";
|
|
4
4
|
import { useDialog as ee } from "@feedmepos/ui-library";
|
|
5
5
|
import { useRouter as te } from "vue-router";
|
|
6
|
-
import { c as F, e as I } from "./controlPlane-
|
|
6
|
+
import { c as F, e as I } from "./controlPlane-CtVzG6KV.js";
|
|
7
7
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
import { w as ae } from "./portalNavigation-DLcC7Koh.js";
|
|
9
9
|
const le = {
|
|
@@ -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-Bwf6bHOw.js";
|
|
4
4
|
import { w as m, a as f } from "./portalNavigation-DLcC7Koh.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-B7XEvRa6.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-BY0bYRoD.js")
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
path: "/workspace",
|
|
18
18
|
name: "miniprogram-v2-control",
|
|
19
|
-
component: () => import("./WorkspaceEntryView-
|
|
19
|
+
component: () => import("./WorkspaceEntryView-CIoaVB8r.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-C9Li1prK.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-CUUJOv_Q.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-CmuO0BFr.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-DTy67nb7.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: "Component Library" },
|
|
56
|
-
component: () => import("./ModuleCenterView-
|
|
56
|
+
component: () => import("./ModuleCenterView-B4c8sjpy.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: "Component Library" },
|
|
64
|
-
component: () => import("./ModuleDetailView-
|
|
64
|
+
component: () => import("./ModuleDetailView-BBpyX8YP.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-SRp-lJvM.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-DfA0ddUO.js")), n = t(() => import("./LegacyWorkspaceEntry-DaHiQCt9.js"));
|
|
82
82
|
export {
|
|
83
83
|
a as FmApp,
|
|
84
84
|
n as MiniprogramWorkspace,
|
|
@@ -40,14 +40,14 @@ function D(e, n, t) {
|
|
|
40
40
|
const r = new URL(y(e, n).usageUrl);
|
|
41
41
|
return r.searchParams.set("businessId", t), r.searchParams.set("country", n), r.toString();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function B(e) {
|
|
44
44
|
return e.replace(/\/+$/, "");
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function v() {
|
|
47
|
+
return B("https://miniprogram-v2-api.feedme.vip");
|
|
48
48
|
}
|
|
49
49
|
function C(e) {
|
|
50
|
-
const n =
|
|
50
|
+
const n = v();
|
|
51
51
|
return n ? `${n}${e.startsWith("/") ? e : `/${e}`}` : e;
|
|
52
52
|
}
|
|
53
53
|
function a() {
|
|
@@ -69,7 +69,7 @@ function E() {
|
|
|
69
69
|
return i().currentCountry.value;
|
|
70
70
|
}
|
|
71
71
|
function x() {
|
|
72
|
-
const e = f(d("fmmf:
|
|
72
|
+
const e = f(d("fmmf:prod")).liveDomain;
|
|
73
73
|
return m(c(), T(), e);
|
|
74
74
|
}
|
|
75
75
|
function P(e) {
|
|
@@ -4,7 +4,7 @@ var lt = (c, o, d) => ye(c, typeof o != "symbol" ? o + "" : o, d);
|
|
|
4
4
|
import "./index-DB33ug2V.js";
|
|
5
5
|
import { a as me } from "./routes-W8KfuhWL.js";
|
|
6
6
|
import { ref as J, readonly as Ut, watch as Se } from "vue";
|
|
7
|
-
import { c as Ce } from "./controlPlane-
|
|
7
|
+
import { c as Ce } from "./controlPlane-CtVzG6KV.js";
|
|
8
8
|
import { c as ut } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
9
9
|
import { useCoreStore as oe } from "@feedmepos/mf-common";
|
|
10
10
|
let Kt = null;
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./index-DB33ug2V.js";
|
|
2
2
|
import { a as b } from "./routes-W8KfuhWL.js";
|
|
3
3
|
import { useCoreStore as d } from "@feedmepos/mf-common";
|
|
4
|
-
import { c as g, e as h } from "./controlPlane-
|
|
4
|
+
import { c as g, e as h } from "./controlPlane-CtVzG6KV.js";
|
|
5
5
|
import { provide as y, computed as f, ref as c, watch as C, onScopeDispose as w, inject as x } from "vue";
|
|
6
6
|
function P() {
|
|
7
7
|
const e = d(), n = f(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as Ne, e as Me } from "./index-DB33ug2V.js";
|
|
2
2
|
import { computed as B, reactive as ke } from "vue";
|
|
3
|
-
import { k as _, e as ue, h as De } from "./controlPlane-
|
|
3
|
+
import { k as _, e as ue, h as De } from "./controlPlane-CtVzG6KV.js";
|
|
4
4
|
import { useCoreStore as Be } from "@feedmepos/mf-common";
|
|
5
5
|
import { g as Ue, c as Ke } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
6
6
|
const le = [
|
|
@@ -838,7 +838,7 @@ function be(e) {
|
|
|
838
838
|
return `#${s}${s}${t}${t}${n}${n}`;
|
|
839
839
|
}
|
|
840
840
|
function mt() {
|
|
841
|
-
return Ne(Me("fmmf:
|
|
841
|
+
return Ne(Me("fmmf:prod")).apiOrigin;
|
|
842
842
|
}
|
|
843
843
|
function ce(e) {
|
|
844
844
|
return `${mt()}/metadata/${e}/brandkit`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as E, resolveComponent as g, openBlock as p, createElementBlock as v, createVNode as M, createElementVNode as x, normalizeClass as P, toDisplayString as w, createCommentVNode as b, createBlock as _, shallowReadonly as c, ref as m } from "vue";
|
|
2
2
|
import "./index-DB33ug2V.js";
|
|
3
3
|
import { a as C } from "./routes-W8KfuhWL.js";
|
|
4
|
-
import { c as F, e as $, f as L } from "./controlPlane-
|
|
4
|
+
import { c as F, e as $, f as L } from "./controlPlane-CtVzG6KV.js";
|
|
5
5
|
function U(e, t) {
|
|
6
6
|
const n = t.trim().toLowerCase();
|
|
7
7
|
return e.filter((r) => n ? [r.name, r.description ?? "", r.slot ?? "", ...r.labels ?? []].join(" ").toLowerCase().includes(n) : !0);
|