@feedmepos/mf-miniprogram-v2 0.2.1-dev.8 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -125,7 +125,7 @@ function R(e) {
125
125
  return e.replace(/\/+$/, "");
126
126
  }
127
127
  function D() {
128
- return R("https://miniprogram-v2-api.feedmedev.vip");
128
+ return R("https://miniprogram-v2-api.feedme.vip");
129
129
  }
130
130
  function x(e) {
131
131
  const s = D();
@@ -151,7 +151,7 @@ function j() {
151
151
  }
152
152
  function Q() {
153
153
  var n;
154
- const e = (n = A()) == null ? void 0 : n.trim().toLowerCase(), s = e && /^[a-z0-9-]+$/.test(e) ? e : p(), r = M(_("fmmf:dev")).liveDomain;
154
+ const e = (n = A()) == null ? void 0 : n.trim().toLowerCase(), s = e && /^[a-z0-9-]+$/.test(e) ? e : p(), r = M(_("fmmf:prod")).liveDomain;
155
155
  return `https://${s}.${r}`;
156
156
  }
157
157
  function I(e) {
@@ -2,7 +2,7 @@ var Gc = Object.defineProperty;
2
2
  var Kc = (n, t, e) => t in n ? Gc(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var K = (n, t, e) => Kc(n, typeof t != "symbol" ? t + "" : t, e);
4
4
  import { defineComponent as ct, computed as B, openBlock as h, createElementBlock as k, createStaticVNode as qa, createCommentVNode as U, createElementVNode as f, Fragment as Pe, renderList as je, normalizeClass as Re, toDisplayString as $, createVNode as X, ref as ee, resolveComponent as Me, createTextVNode as Ke, watch as pt, createBlock as xe, normalizeStyle as We, reactive as da, withCtx as tt, unref as C, onScopeDispose as Ml, resolveDirective as Ll, withDirectives as Fn, withModifiers as Zn, useModel as Jc, mergeModels as Yc, withKeys as Bl, vModelText as $r, nextTick as Qn, onBeforeUnmount as _a, renderSlot as ql, onMounted as Or } from "vue";
5
- import { c as mr, e as ot, a as Zc, b as Ul, d as Gn, f as Bn, g as at, h as bt, i as Qc, s as ii, C as cs, D as li, j as Ua, k as jl, l as Xc, n as eu, m as tu, o as nu, _ as ru } from "./AppTabs.vue_vue_type_script_setup_true_lang-C-UOi7TE.js";
5
+ import { c as mr, e as ot, a as Zc, b as Ul, d as Gn, f as Bn, g as at, h as bt, i as Qc, s as ii, C as cs, D as li, j as Ua, k as jl, l as Xc, n as eu, m as tu, o as nu, _ as ru } from "./AppTabs.vue_vue_type_script_setup_true_lang-BGhFS69-.js";
6
6
  import { useI18n as rr, useCoreStore as Fl } from "@feedmepos/mf-common";
7
7
  import { useDialog as Ss } from "@feedmepos/ui-library";
8
8
  import { _ as rn } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -7020,7 +7020,7 @@ function uh(n) {
7020
7020
  return `#${e}${e}${r}${r}${a}${a}`;
7021
7021
  }
7022
7022
  function dh() {
7023
- return Zc(Ul("fmmf:dev")).apiOrigin;
7023
+ return Zc(Ul("fmmf:prod")).apiOrigin;
7024
7024
  }
7025
7025
  function js(n) {
7026
7026
  return `${dh()}/metadata/${n}/brandkit`;
@@ -23157,7 +23157,7 @@ const wS = ["title"], xS = { class: "w-[220px] py-4" }, _S = {
23157
23157
  ), J = B(() => {
23158
23158
  var et;
23159
23159
  const R = mr(), Q = eu(((et = r.project) == null ? void 0 : et.country) ?? jl());
23160
- return !R || !Q ? null : tu(Ul("fmmf:dev"), Q, R);
23160
+ return !R || !Q ? null : tu(Ul("fmmf:prod"), Q, R);
23161
23161
  });
23162
23162
  function q() {
23163
23163
  const R = J.value;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as w, openBlock as e, createElementBlock as n, createElementVNode as o, toDisplayString as i, createCommentVNode as k, ref as M, computed as y, onMounted as I, resolveComponent as h, createVNode as m, unref as u, Fragment as v, renderList as b, normalizeClass as A, createBlock as p, withCtx as z } from "vue";
2
- import { _ as D } from "./AppTabs.vue_vue_type_script_setup_true_lang-C-UOi7TE.js";
2
+ import { _ as D } from "./AppTabs.vue_vue_type_script_setup_true_lang-BGhFS69-.js";
3
3
  import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- import { u as G, c as R, f as q, _ as f, t as K } from "./useModuleCatalog-CYsxGYLA.js";
4
+ import { u as G, c as R, f as q, _ as f, t as K } from "./useModuleCatalog-C1Mk1Cdu.js";
5
5
  const O = { class: "card" }, P = { class: "card__head" }, U = { class: "card__name fm-typo-en-body-md-600 text-fm-color-typo-primary" }, j = { class: "card__version fm-typo-en-body-sm-400 text-fm-color-typo-tertiary" }, H = { class: "card__description fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, J = { class: "card__tags" }, Q = { class: "card__tag card__tag--tier fm-typo-en-body-sm-600" }, W = {
6
6
  key: 0,
7
7
  class: "card__tag card__tag--slot fm-typo-en-body-sm-400"
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, ref as M, computed as u, watch as T, resolveComponent as k, openBlock as n, createElementBlock as l, createElementVNode as e, toDisplayString as i, createCommentVNode as _, Fragment as I, renderList as S, createVNode as f, onMounted as B, withCtx as L, unref as d, createBlock as v } from "vue";
2
2
  import { useRoute as N, useRouter as P } from "vue-router";
3
- import { m as A, i as F, u as V, _ as g } from "./useModuleCatalog-CYsxGYLA.js";
4
- import { _ as R } from "./AppTabs.vue_vue_type_script_setup_true_lang-C-UOi7TE.js";
3
+ import { m as A, i as F, u as V, _ as g } from "./useModuleCatalog-C1Mk1Cdu.js";
4
+ import { _ as R } from "./AppTabs.vue_vue_type_script_setup_true_lang-BGhFS69-.js";
5
5
  import { useDialog as j } from "@feedmepos/ui-library";
6
6
  import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const z = { class: "detail" }, q = { class: "detail__head" }, K = { class: "detail__name fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, O = { class: "detail__version fm-typo-en-body-md-400 text-fm-color-typo-tertiary" }, Y = {
package/dist/app.js CHANGED
@@ -3,27 +3,27 @@ const n = [
3
3
  {
4
4
  path: "/",
5
5
  name: "miniprogram-v2-control",
6
- component: () => import("./ControlPlaneView-CUD6naF1.js")
6
+ component: () => import("./ControlPlaneView-6H0B_TRn.js")
7
7
  },
8
8
  {
9
9
  // The shared component library, not this merchant's workspace — which is
10
10
  // why it sits beside the control view rather than inside it.
11
11
  path: "/modules",
12
12
  name: "miniprogram-v2-module-center",
13
- component: () => import("./ModuleCenterView-CYZJ97HU.js")
13
+ component: () => import("./ModuleCenterView-DTCi7hm2.js")
14
14
  },
15
15
  {
16
16
  // Keyed by the module's directory name, which is what the catalog, the
17
17
  // delivered library directory and the block-swap skill all already use.
18
18
  path: "/modules/:name",
19
19
  name: "miniprogram-v2-module-detail",
20
- component: () => import("./ModuleDetailView-CZ_2C-zj.js")
20
+ component: () => import("./ModuleDetailView-Ux0RKyv9.js")
21
21
  },
22
22
  {
23
23
  path: "/:pathMatch(.*)*",
24
24
  redirect: { name: "miniprogram-v2-control" }
25
25
  }
26
- ], t = {}, e = o(() => import("./App-CaNGbhK8.js")), r = o(() => import("./ControlPlaneView-CUD6naF1.js"));
26
+ ], t = {}, e = o(() => import("./App-CaNGbhK8.js")), r = o(() => import("./ControlPlaneView-6H0B_TRn.js"));
27
27
  export {
28
28
  e as FmApp,
29
29
  r as MiniprogramWorkspace,
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-miniprogram-v2",
3
- "version": "0.2.1-dev.8",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as x, resolveComponent as p, openBlock as u, createElementBlock as h, createVNode as E, createElementVNode as P, normalizeClass as F, toDisplayString as v, createCommentVNode as g, createBlock as L, shallowReadonly as r, ref as s } from "vue";
2
- import { h as M, g as w, e as y, p as $ } from "./AppTabs.vue_vue_type_script_setup_true_lang-C-UOi7TE.js";
2
+ import { h as M, g as w, e as y, p as $ } from "./AppTabs.vue_vue_type_script_setup_true_lang-BGhFS69-.js";
3
3
  const I = { class: "flex min-h-0 flex-1 flex-col items-center justify-center gap-8 p-24 text-center" }, T = {
4
4
  key: 0,
5
5
  class: "m-0 max-w-[46ch] fm-typo-en-body-sm-400 text-fm-color-typo-tertiary"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-miniprogram-v2",
3
- "version": "0.2.1-dev.8",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",