@feedmepos/mf-miniprogram-v2 0.2.9 → 0.2.10-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.
Files changed (23) hide show
  1. package/dist/{App-DDgjAONU.js → App-D-AO7es-.js} +3 -3
  2. package/dist/{BrandFontPicker-BVfiQBLP.js → BrandFontPicker-Czyeb-O7.js} +1 -1
  3. package/dist/{BrandKitView-BLH-bglF.js → BrandKitView-PvmuvcWH.js} +2 -2
  4. package/dist/{ControlPlaneView-B852gLmR.js → ControlPlaneView-CU5cQR2S.js} +16 -16
  5. package/dist/{EcosystemView-BY2B_LEL.js → EcosystemView-Dx278EJt.js} +4 -4
  6. package/dist/{LegacyWorkspaceEntry-DrL-C0xx.js → LegacyWorkspaceEntry-DBIDEJNj.js} +1 -1
  7. package/dist/{MobileProjectDialog-DsXmMUHH.js → MobileProjectDialog-BJT7F1aq.js} +1 -1
  8. package/dist/{MobileProjectsView-CMj0mnZh.js → MobileProjectsView-mI7VrPLi.js} +3 -3
  9. package/dist/{ModuleCenterView-DG7ea0p5.js → ModuleCenterView-CPvh_2yV.js} +1 -1
  10. package/dist/{ModuleDetailView-DweKadjB.js → ModuleDetailView-Cyt3Owxj.js} +1 -1
  11. package/dist/{PagesView-W8d-G5HZ.js → PagesView-DWKG50PT.js} +1 -1
  12. package/dist/{PortalSettingsView-DFsXYy48.js → PortalSettingsView-DWBFuVgS.js} +4 -4
  13. package/dist/{TemplateCenterView-BH3C5h50.js → TemplateCenterView-CF3ga3su.js} +1 -1
  14. package/dist/{WorkspaceEntryView-Dx8stquZ.js → WorkspaceEntryView-CPFFi_dV.js} +1 -1
  15. package/dist/app.js +11 -11
  16. package/dist/{controlPlane-CiuLVd7s.js → controlPlane-BolHy5EI.js} +11 -11
  17. package/dist/{localPreference-Cdti49bE.js → localPreference-DGZbSJ6w.js} +1 -1
  18. package/dist/package.json +1 -1
  19. package/dist/{portalContext-CCW6O5KF.js → portalContext-BKzVf74q.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useBrandKit-fmzepsFY.js → useBrandKit-DfO6zsSt.js} +2 -2
  22. package/dist/{useModuleCatalog-C7kO_Rjg.js → useModuleCatalog-Bg_Np4Ry.js} +1 -1
  23. package/package.json +1 -1
@@ -5,9 +5,9 @@ import { readonly as ee, ref as V, watch as we, defineComponent as Te, computed
5
5
  import { useCoreStore as oe } from "@feedmepos/mf-common";
6
6
  import { useRoute as Re, useRouter as Ke, RouterView as Ue } from "vue-router";
7
7
  import { P as St } from "./PortalIcon-DO0VrIoY.js";
8
- import { r as Ce, u as Me, w as _e } from "./localPreference-Cdti49bE.js";
8
+ import { r as Ce, u as Me, w as _e } from "./localPreference-DGZbSJ6w.js";
9
9
  import { c as Ot } from "./_commonjsHelpers-DaMA6jEr.js";
10
- import { p as De } from "./portalContext-CCW6O5KF.js";
10
+ import { p as De } from "./portalContext-BKzVf74q.js";
11
11
  import { e as Ge, p as dt } from "./portalNavigation-DLcC7Koh.js";
12
12
  import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  var re = { exports: {} };
@@ -944,7 +944,7 @@ const tn = {
944
944
  }
945
945
  }
946
946
  }), Xe(v.namespace.value);
947
- const I = Ze("fmmf:prod"), w = st(() => l.name === "miniprogram-v2-project"), W = st(() => ({
947
+ const I = Ze("fmmf:dev"), w = st(() => l.name === "miniprogram-v2-project"), W = st(() => ({
948
948
  ...dt(l.query),
949
949
  ...w.value ? { returnProjectId: String(l.params.projectId) } : {}
950
950
  })), E = st(() => I.loading.value || I.enabled.value), g = V(
@@ -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-fmzepsFY.js";
2
+ import { G as V, f as ne, b as p, l as se } from "./useBrandKit-DfO6zsSt.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+cL3KegfdzJjodD8vqXUQMjNqmBPDGAx4efsvDu8fIYJ2JRI0Jh+PUtegci55varBEGghJlv6dSTAhttCMcmeU2Bfw8lsOeXQULaTSBr7a4Iwa9KQCTvf7WPtCP9bt9BGLW4jXGfB4haIV0A1E4yaWTzcxr54hmYQK7Xp+L+PYMAImMAMFTxKYgbQzAD0I2RXAJbB+GCHdrol/pyO4rtEZ1T1OGuD3DhRx26MZdGR8WBygLkE6BQuxOuA7SyK4dL6F82cNp2FoMM+uGXjvEuWxvI+uvIUTrmba48AWkBIUxUCPa5d+qGDi/T4TS+tOPaaNySgtn3wjiwf+2oOUZ6G+MYK5s6NonRPBtYtjuPk8G4m4ZrGGnW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jghkuaocVWn/+wMTvtptqe0SAmGYJvL5Z6QQBbw0CZYcdY4efR8Lv5GGYaNhZUYJOcET9+EIf8+swLhvzIw+yBl37dBarVzarxw1k3J7LCufsYb3dQdXzZ1sMvMqtEXMQu6oDwvdWGZTuAHsQYAFaCmErbM9kKfnDZQGa4hi3jesZD1EaNrVzuqqJK/0r62gWL2vycGHT0GPX7TPwl90s7HuMMmB7MOMlwIPBlsCHHSOV1s0LWBcsMlE7QaFlQk/xrN9dxKFYjdqhyBJ4pqCzZyvXpMubNBMzKf61MPw2c9X10I4AW7k5Z0eMISxbg1gvhbh0gMOTdu/txV0E+sDKJCbDJvyc1tGMjz39NmtahnGfgNaPR2SLIiIEXHHJQydSk/vI81JSE8s4iMjTAkQYjZJxojNlqqE+HLAwzlN16D1SUELEY/c14crFE4jhYTbhdd2spEn3saQR2M2l5LqPuZwkQC8wyk/1SBr25dFRJiZ5REKWe/mszxq5qMtF0ZPyvtaVnCIaGAH335TEmhuTVfeIxmvGVPxXyycsgTd0GnibYbypU0R04inIlgmUPCMSqyzzfF7aZysrnwZm/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-BVfiQBLP.js";
2
+ import { _ as ee, B as te } from "./BrandFontPicker-Czyeb-O7.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-fmzepsFY.js";
5
+ import { a as re, C as N, t as $, F as le, u as ie, i as de } from "./useBrandKit-DfO6zsSt.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 st, ref as j, computed as B, resolveComponent as Ie,
5
5
  import { i as fs, M as ni, C as Sd, c as Td, a as Ed, b as Cd, d as ai, e as ec, D as ul, l as Is, T as dl } from "./index-BnE-gQP_.js";
6
6
  import { useI18n as Ua, useCoreStore as tc } from "@feedmepos/mf-common";
7
7
  import { useSnackbar as Ei, useDialog as ms } 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 nc, g as Ad, h as ac, i as Ci, j as pl, s as hl, k as ri, l as As, m as $d, o as Rd, a as Pd } from "./controlPlane-CiuLVd7s.js";
9
- import { s as si, a as ii, b as Ja, M as Od, r as li, p as fl, _ as Nd } from "./MobileProjectDialog-DsXmMUHH.js";
10
- import { _ as rc, B as Md } from "./BrandFontPicker-BVfiQBLP.js";
8
+ import { C as Da, c as nt, e as at, b as Aa, d as wa, f as Id, n as nc, g as Ad, h as ac, i as Ci, j as pl, s as hl, k as ri, l as As, m as $d, o as Rd, a as Pd } from "./controlPlane-BolHy5EI.js";
9
+ import { s as si, a as ii, b as Ja, M as Od, r as li, p as fl, _ as Nd } from "./MobileProjectDialog-BJT7F1aq.js";
10
+ import { _ as rc, B as Md } from "./BrandFontPicker-Czyeb-O7.js";
11
11
  import { g as Dd } from "./_commonjsHelpers-DaMA6jEr.js";
12
12
  import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- import { C as sc, F as Ii, u as Ai, i as qr, a as Ld, t as Bd } from "./useBrandKit-fmzepsFY.js";
13
+ import { C as sc, F as Ii, u as Ai, i as qr, a as Ld, t as Bd } from "./useBrandKit-DfO6zsSt.js";
14
14
  import { a as Ge } from "./routes-W8KfuhWL.js";
15
15
  import { _ as pn } from "./StatusBadge.vue_vue_type_script_setup_true_lang-DMm_s9ua.js";
16
16
  import { p as $i, w as ic, a as jd, b as Ud } from "./portalNavigation-DLcC7Koh.js";
17
17
  import { useRoute as Xr, useRouter as lc } from "vue-router";
18
- import { a as Fd, b as qd, u as zd, c as ml } from "./localPreference-Cdti49bE.js";
19
- import { u as Hd } from "./portalContext-CCW6O5KF.js";
18
+ import { a as Fd, b as qd, u as zd, c as ml } from "./localPreference-DGZbSJ6w.js";
19
+ import { u as Hd } from "./portalContext-BKzVf74q.js";
20
20
  function Vd(t) {
21
21
  if (!t) return null;
22
22
  try {
@@ -16441,7 +16441,7 @@ const sS = {
16441
16441
  let ie = await eS({
16442
16442
  businessId: b,
16443
16443
  business: pl(),
16444
- environment: ec("fmmf:prod"),
16444
+ environment: ec("fmmf:dev"),
16445
16445
  country: Ci() ?? "",
16446
16446
  authorization: await ac()
16447
16447
  });
@@ -18406,7 +18406,7 @@ const $E = { class: "releases-sheet releases-sheet__body" }, RE = { class: "rele
18406
18406
  id: "releases-sheet-fallback",
18407
18407
  class: "releases-sheet__name"
18408
18408
  }, "Fallback"),
18409
- u("p", { class: "releases-sheet__meta" }, "Restore mini program back to FeedMe default template.")
18409
+ u("p", { class: "releases-sheet__meta" }, "Stop serving this mini program and show the FeedMe default ordering app.")
18410
18410
  ], -1)),
18411
18411
  u("button", {
18412
18412
  type: "button",
@@ -18414,7 +18414,7 @@ const $E = { class: "releases-sheet releases-sheet__body" }, RE = { class: "rele
18414
18414
  disabled: t.busy,
18415
18415
  onClick: S[11] || (S[11] = (Q) => a("rollbackToV1"))
18416
18416
  }, [...S[33] || (S[33] = [
18417
- u("span", null, "Rollback to v1", -1)
18417
+ u("span", null, "Switch to default app", -1)
18418
18418
  ])], 8, MC)
18419
18419
  ])
18420
18420
  ])
@@ -18424,7 +18424,7 @@ const $E = { class: "releases-sheet releases-sheet__body" }, RE = { class: "rele
18424
18424
  });
18425
18425
  };
18426
18426
  }
18427
- }), LC = /* @__PURE__ */ mt(DC, [["__scopeId", "data-v-49011ec4"]]), BC = { class: "flex justify-end gap-8" }, jC = /* @__PURE__ */ st({
18427
+ }), LC = /* @__PURE__ */ mt(DC, [["__scopeId", "data-v-575cd0a8"]]), BC = { class: "flex justify-end gap-8" }, jC = /* @__PURE__ */ st({
18428
18428
  __name: "RenameSessionDialog",
18429
18429
  props: {
18430
18430
  initialTitle: {}
@@ -26896,7 +26896,7 @@ function D$(t, n) {
26896
26896
  async function me() {
26897
26897
  h.value = !0;
26898
26898
  try {
26899
- await nt(Ge.rollbackToV1(e.value, a.value), { method: "POST" }), f.value = "Rolled back to v1", await Promise.all([M(), ke()]);
26899
+ await nt(Ge.rollbackToV1(e.value, a.value), { method: "POST" }), f.value = "Switched to the FeedMe default app", await Promise.all([M(), ke()]);
26900
26900
  } finally {
26901
26901
  h.value = !1;
26902
26902
  }
@@ -27086,7 +27086,7 @@ const L$ = { class: "workspace__toolbar-start" }, B$ = ["title"], j$ = {
27086
27086
  ), Z = B(() => {
27087
27087
  var ye;
27088
27088
  const I = ri(), L = nc(((ye = s.project) == null ? void 0 : ye.country) ?? Ci());
27089
- return !I || !L ? null : Rd(ec("fmmf:prod"), L, I);
27089
+ return !I || !L ? null : Rd(ec("fmmf:dev"), L, I);
27090
27090
  }), Ee = B(
27091
27091
  () => K.value ? Ja(K.value) : "Workspace"
27092
27092
  ), he = B(() => {
@@ -27845,10 +27845,10 @@ const L$ = { class: "workspace__toolbar-start" }, B$ = ["title"], j$ = {
27845
27845
  }
27846
27846
  function bn() {
27847
27847
  i.open({
27848
- title: "Roll back to v1?",
27849
- message: "This restores the merchant to the current v1 miniprogram for all live traffic and stops serving the published v2 release. It takes effect immediately. Apps updated over the air keep their current version.",
27848
+ title: "Switch to the FeedMe default app?",
27849
+ message: "Customers stop getting the published mini program and get the FeedMe default ordering app instead. It takes effect immediately. Apps updated over the air keep their current version. Publishing a release switches back.",
27850
27850
  dismissAway: !0,
27851
- primaryActions: { close: !0, text: "Roll back to v1" },
27851
+ primaryActions: { close: !0, text: "Switch to default app" },
27852
27852
  secondaryActions: { close: !0, text: "Cancel" }
27853
27853
  }).onPrimary(() => {
27854
27854
  s.rollbackToV1();
@@ -28520,7 +28520,7 @@ ${Bn.value}`,
28520
28520
  ], 2);
28521
28521
  };
28522
28522
  }
28523
- }), RP = /* @__PURE__ */ mt(FR, [["__scopeId", "data-v-4e285807"]]);
28523
+ }), RP = /* @__PURE__ */ mt(FR, [["__scopeId", "data-v-a4bf810a"]]);
28524
28524
  export {
28525
28525
  RP as default
28526
28526
  };
@@ -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-BnE-gQP_.js";
5
- import { a as N, c as R, e as T } from "./controlPlane-CiuLVd7s.js";
6
- import { u as K } from "./portalContext-CCW6O5KF.js";
5
+ import { a as N, c as R, e as T } from "./controlPlane-BolHy5EI.js";
6
+ import { u as K } from "./portalContext-BKzVf74q.js";
7
7
  import { l as Y, p as y } from "./portalNavigation-DLcC7Koh.js";
8
- import { i as $, u as z } from "./useBrandKit-fmzepsFY.js";
8
+ import { i as $, u as z } from "./useBrandKit-DfO6zsSt.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:prod") === "dev" ? "https://portal.feedmedev.cc" : "https://portal.feedme.cc"
38
+ q("fmmf:dev") === "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:prod") === "dev" ? "https://portal.feedmedev.cc" : "https://portal.feedme.cc"}/miniprogram-v2/workspace${r.size ? `?${r}` : ""}`;
20
+ return `${v("fmmf:dev") === "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 D, openBlock as A, createElementBlock as l, normalizeClass as L, createCommentVNode as X, ref as m, watch as Q, resolveComponent as G, createElementVNode as v, createBlock as S, toDisplayString as j, Fragment as W, renderList as B, createVNode as F, onMounted as Y, withCtx as E } from "vue";
2
2
  import { m as _ } from "./index-BnE-gQP_.js";
3
- import { c as M, e as O, i as $ } from "./controlPlane-CiuLVd7s.js";
3
+ import { c as M, e as O, i as $ } from "./controlPlane-BolHy5EI.js";
4
4
  import { a as I } from "./routes-W8KfuhWL.js";
5
5
  import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const Z = ["miniprogram-vue"];
@@ -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-BnE-gQP_.js";
5
5
  import { a as O } from "./routes-W8KfuhWL.js";
6
- import { c as U, e as Y } from "./controlPlane-CiuLVd7s.js";
7
- import { u as G } from "./portalContext-CCW6O5KF.js";
6
+ import { c as U, e as Y } from "./controlPlane-BolHy5EI.js";
7
+ import { u as G } from "./portalContext-BKzVf74q.js";
8
8
  import { w as d } from "./portalNavigation-DLcC7Koh.js";
9
- import { p as H, M as J } from "./MobileProjectDialog-DsXmMUHH.js";
9
+ import { p as H, M as J } from "./MobileProjectDialog-BJT7F1aq.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-C7kO_Rjg.js";
3
+ import { i as ne, u as oe, f as se, s as z, g as le, _ as M, a as re } from "./useModuleCatalog-Bg_Np4Ry.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-C7kO_Rjg.js";
4
+ import { m as J, b as Q, u as W, _ as q } from "./useModuleCatalog-Bg_Np4Ry.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-CCW6O5KF.js";
3
+ import { u as g } from "./portalContext-BKzVf74q.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({
@@ -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 _, f as $ } from "./index-BnE-gQP_.js";
4
- import { j as B, e as E } from "./controlPlane-CiuLVd7s.js";
4
+ import { j as B, e as E } from "./controlPlane-BolHy5EI.js";
5
5
  import { useCoreStore as F } from "@feedmepos/mf-common";
6
- import { u as U } from "./portalContext-CCW6O5KF.js";
6
+ import { u as U } from "./portalContext-BKzVf74q.js";
7
7
  import { l as V } from "./portalNavigation-DLcC7Koh.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" }, j = ["href"], D = {
@@ -23,10 +23,10 @@ const L = { class: "portal-page" }, R = { class: "portal-page-inner settings-pag
23
23
  country: c.currentCountry.value ?? null,
24
24
  restaurantId: ((t = c.currentRestaurant.value) == null ? void 0 : t._id) ?? null
25
25
  }),
26
- _("fmmf:prod") === "dev" ? "https://portal.feedmedev.cc" : "https://portal.feedme.cc"
26
+ _("fmmf:dev") === "dev" ? "https://portal.feedmedev.cc" : "https://portal.feedme.cc"
27
27
  ).href;
28
28
  }
29
- ), m = l(null), g = l(!0), r = l(null), v = l(!1), f = $(_("fmmf:prod")).apiOrigin, C = p(() => `${f}/metadata/${a.businessId.value}/pwa-512x512.png`), b = p(() => {
29
+ ), m = l(null), g = l(!0), r = l(null), v = l(!1), f = $(_("fmmf:dev")).apiOrigin, C = p(() => `${f}/metadata/${a.businessId.value}/pwa-512x512.png`), b = p(() => {
30
30
  var t;
31
31
  return (t = B()) == null ? void 0 : t.thumbnail;
32
32
  }), i = new AbortController();
@@ -3,7 +3,7 @@ import "./index-BnE-gQP_.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-CiuLVd7s.js";
6
+ import { c as F, e as I } from "./controlPlane-BolHy5EI.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-CCW6O5KF.js";
3
+ import { u as l } from "./portalContext-BKzVf74q.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-CMj0mnZh.js")
7
+ component: () => import("./MobileProjectsView-mI7VrPLi.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-BY2B_LEL.js")
14
+ component: () => import("./EcosystemView-Dx278EJt.js")
15
15
  },
16
16
  {
17
17
  path: "/workspace",
18
18
  name: "miniprogram-v2-control",
19
- component: () => import("./WorkspaceEntryView-Dx8stquZ.js")
19
+ component: () => import("./WorkspaceEntryView-CPFFi_dV.js")
20
20
  },
21
21
  {
22
22
  path: "/p/:projectId/:view(workspace|releases|sessions)?",
23
23
  name: "miniprogram-v2-project",
24
- component: () => import("./ControlPlaneView-B852gLmR.js")
24
+ component: () => import("./ControlPlaneView-CU5cQR2S.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-BLH-bglF.js")
30
+ component: () => import("./BrandKitView-PvmuvcWH.js")
31
31
  },
32
32
  {
33
33
  path: "/pages",
34
34
  name: "miniprogram-v2-pages",
35
35
  meta: { title: "Pages" },
36
- component: () => import("./PagesView-W8d-G5HZ.js")
36
+ component: () => import("./PagesView-DWKG50PT.js")
37
37
  },
38
38
  {
39
39
  path: "/settings",
40
40
  name: "miniprogram-v2-settings",
41
41
  meta: { title: "Settings" },
42
- component: () => import("./PortalSettingsView-DFsXYy48.js")
42
+ component: () => import("./PortalSettingsView-DWBFuVgS.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-DG7ea0p5.js")
56
+ component: () => import("./ModuleCenterView-CPvh_2yV.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-DweKadjB.js")
64
+ component: () => import("./ModuleDetailView-Cyt3Owxj.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-BH3C5h50.js")
75
+ component: () => import("./TemplateCenterView-CF3ga3su.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-DDgjAONU.js")), n = t(() => import("./LegacyWorkspaceEntry-DrL-C0xx.js"));
81
+ ], r = {}, a = t(() => import("./App-D-AO7es-.js")), n = t(() => import("./LegacyWorkspaceEntry-DBIDEJNj.js"));
82
82
  export {
83
83
  a as FmApp,
84
84
  n as MiniprogramWorkspace,
@@ -1,5 +1,5 @@
1
- import { f, e as d, D as p } from "./index-BnE-gQP_.js";
2
- import { useCoreStore as a, FeedMeAuth as m } from "@feedmepos/mf-common";
1
+ import { f, e as d, D as m } from "./index-BnE-gQP_.js";
2
+ import { useCoreStore as a, FeedMeAuth as p } from "@feedmepos/mf-common";
3
3
  const h = [
4
4
  "AE",
5
5
  "AU",
@@ -42,11 +42,11 @@ function k(e, n, t) {
42
42
  function B(e) {
43
43
  return e.replace(/\/+$/, "");
44
44
  }
45
- function y() {
46
- return B("https://miniprogram-v2-api.feedme.vip");
45
+ function v() {
46
+ return B("https://miniprogram-v2-api.feedmedev.vip");
47
47
  }
48
- function v(e) {
49
- const n = y();
48
+ function y(e) {
49
+ const n = v();
50
50
  return n ? `${n}${e.startsWith("/") ? e : `/${e}`}` : e;
51
51
  }
52
52
  function i() {
@@ -54,7 +54,7 @@ function i() {
54
54
  }
55
55
  function u() {
56
56
  var e;
57
- return ((e = i()) == null ? void 0 : e._id) ?? p;
57
+ return ((e = i()) == null ? void 0 : e._id) ?? m;
58
58
  }
59
59
  function C() {
60
60
  var e;
@@ -69,7 +69,7 @@ function $() {
69
69
  }
70
70
  function x() {
71
71
  var r;
72
- const e = (r = C()) == null ? void 0 : r.trim().toLowerCase(), n = e && /^[a-z0-9-]+$/.test(e) ? e : u(), t = f(d("fmmf:prod")).liveDomain;
72
+ const e = (r = C()) == null ? void 0 : r.trim().toLowerCase(), n = e && /^[a-z0-9-]+$/.test(e) ? e : u(), t = f(d("fmmf:dev")).liveDomain;
73
73
  return `https://${n}.${t}`;
74
74
  }
75
75
  function S(e) {
@@ -85,7 +85,7 @@ class T extends Error {
85
85
  }
86
86
  function c() {
87
87
  var n;
88
- return ((n = a().sessionUser.value) == null ? void 0 : n.token) || m.token || "";
88
+ return ((n = a().sessionUser.value) == null ? void 0 : n.token) || p.token || "";
89
89
  }
90
90
  async function E() {
91
91
  let e = c();
@@ -105,7 +105,7 @@ async function l(e, n = {}) {
105
105
  n.body && !t.has("Content-Type") && t.set("Content-Type", "application/json");
106
106
  const r = new AbortController(), o = window.setTimeout(() => r.abort(), 15e3);
107
107
  try {
108
- const s = await P(v(e), {
108
+ const s = await P(y(e), {
109
109
  ...n,
110
110
  headers: t,
111
111
  signal: n.signal ?? r.signal
@@ -129,7 +129,7 @@ export {
129
129
  x as a,
130
130
  P as b,
131
131
  b as c,
132
- v as d,
132
+ y as d,
133
133
  F as e,
134
134
  I as f,
135
135
  U as g,
@@ -1,7 +1,7 @@
1
1
  import "./index-BnE-gQP_.js";
2
2
  import { a as u } from "./routes-W8KfuhWL.js";
3
3
  import { ref as o } from "vue";
4
- import { c as a } from "./controlPlane-CiuLVd7s.js";
4
+ import { c as a } from "./controlPlane-BolHy5EI.js";
5
5
  let r = null;
6
6
  function i() {
7
7
  return r || (r = a(u.adminWhoami()).catch(() => ({
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-miniprogram-v2",
3
- "version": "0.2.9",
3
+ "version": "0.2.10-dev.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -1,7 +1,7 @@
1
1
  import "./index-BnE-gQP_.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-CiuLVd7s.js";
4
+ import { c as g, e as h } from "./controlPlane-BolHy5EI.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(() => {