@feedmepos/mf-miniprogram-v2 0.2.2-dev.1 → 0.2.2-dev.3

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.
@@ -2,7 +2,7 @@ import { defineComponent as p, resolveComponent as i, openBlock as l, createElem
2
2
  import { useRoute as d } from "vue-router";
3
3
  import { u as g } from "./portalContext-CTVzkJV7.js";
4
4
  import { w as f } from "./portalNavigation-DKCfwTH8.js";
5
- import { P as k } from "./PortalIcon-D1RqQMzD.js";
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({
7
7
  __name: "PagesView",
8
8
  setup(v) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, computed as p, resolveComponent as m, openBlock as c, createElementBlock as u, createElementVNode as e, toDisplayString as a, unref as n, createVNode as r, withCtx as d, createTextVNode as _ } from "vue";
2
2
  import { useRoute as g } from "vue-router";
3
- import { P as f } from "./PortalIcon-D1RqQMzD.js";
3
+ import { P as f } from "./PortalIcon-DO0VrIoY.js";
4
4
  import { p as k } from "./portalNavigation-DKCfwTH8.js";
5
5
  const y = { class: "portal-page" }, b = { class: "portal-page-inner" }, v = { class: "portal-page-heading" }, h = { class: "portal-section portal-empty" }, P = /* @__PURE__ */ i({
6
6
  __name: "PlatformUnavailableView",
@@ -0,0 +1,28 @@
1
+ import { defineComponent as l, openBlock as o, createElementBlock as t, createElementVNode as i, Fragment as c, renderList as n, normalizeStyle as d, normalizeClass as a } from "vue";
2
+ import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const p = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%201197147779'%3e%3cpath%20id='Rectangle%2034624630'%20d='M4.5%200.75H6V17.25H4.5C2.42893%2017.25%200.75%2015.5711%200.75%2013.5V4.5C0.75%202.42893%202.42893%200.75%204.5%200.75Z'%20stroke='%236B6C70'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Rectangle%2034624631'%20d='M13.5%200.75C15.571%200.750015%2017.25%202.42897%2017.25%204.5V13.5C17.25%2015.5711%2015.5711%2017.25%2013.5%2017.25H6V0.75H13.5Z'%20stroke='%236B6C70'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector%20177'%20d='M13.5%206L9.64188%208.8059C9.5101%208.90175%209.5101%209.09825%209.64188%209.1941L13.5%2012'%20stroke='%236B6C70'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e", g = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%201197147825'%3e%3cpath%20id='Ellipse%201330'%20d='M9.00195%200.75C12.9283%200.75%2016.216%203.49224%2017.0498%207.16602C17.147%207.59434%2017.209%208.04273%2017.2354%208.49805C17.2893%209.42907%2016.4336%2010.25%2015.2197%2010.25H14.333C11.6195%2010.25%209.58394%2012.7328%2010.1162%2015.3936L10.1416%2015.5205C10.3386%2016.5059%209.72231%2017.25%209.00195%2017.25C4.44436%2017.25%200.75%2013.5562%200.75%209C0.75%204.44384%204.44436%200.750048%209.00195%200.75Z'%20stroke='%236B6C70'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3ccircle%20id='Ellipse%201331'%20cx='5.25'%20cy='12.2495'%20r='1.25'%20fill='%236B6C70'/%3e%3ccircle%20id='Ellipse%201332'%20cx='4.25'%20cy='7.25'%20r='1.25'%20fill='%236B6C70'/%3e%3ccircle%20id='Ellipse%201333'%20cx='8.25'%20cy='4.25'%20r='1.25'%20fill='%236B6C70'/%3e%3ccircle%20id='Ellipse%201334'%20cx='13.25'%20cy='6.24951'%20r='1.25'%20fill='%236B6C70'/%3e%3c/g%3e%3c/svg%3e", k = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Format/folder'%3e%3cpath%20id='Vector'%20d='M2%208C2%207.46957%202.21071%206.96086%202.58579%206.58579C2.96086%206.21071%203.46957%206%204%206H9L11%208.5H20C20.5304%208.5%2021.0391%208.71071%2021.4142%209.08579C21.7893%209.46086%2022%209.96957%2022%2010.5V18C22%2018.5304%2021.7893%2019.0391%2021.4142%2019.4142C21.0391%2019.7893%2020.5304%2020%2020%2020H4C3.46957%2020%202.96086%2019.7893%202.58579%2019.4142C2.21071%2019.0391%202%2018.5304%202%2018V8Z'%20stroke='%236B6C70'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e", w = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Devices/mobile'%3e%3cpath%20id='Vector'%20d='M14.5%202H9.5C8.11929%202%207%203.11929%207%204.5V19.5C7%2020.8807%208.11929%2022%209.5%2022H14.5C15.8807%2022%2017%2020.8807%2017%2019.5V4.5C17%203.11929%2015.8807%202%2014.5%202Z'%20stroke='%236B6C70'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M9.75%2019H14.25'%20stroke='%236B6C70'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", h = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Devices/tablet'%3e%3cpath%20id='Vector'%20d='M17%202H7C5.89543%202%205%202.89543%205%204V20C5%2021.1046%205.89543%2022%207%2022H17C18.1046%2022%2019%2021.1046%2019%2020V4C19%202.89543%2018.1046%202%2017%202Z'%20stroke='%236B6C70'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M11.9996%2020.3996C12.4967%2020.3996%2012.8996%2019.9967%2012.8996%2019.4996C12.8996%2019.0026%2012.4967%2018.5996%2011.9996%2018.5996C11.5026%2018.5996%2011.0996%2019.0026%2011.0996%2019.4996C11.0996%2019.9967%2011.5026%2020.3996%2011.9996%2020.3996Z'%20fill='%236B6C70'/%3e%3c/g%3e%3c/svg%3e", v = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Devices/kiosk'%3e%3cpath%20id='Vector'%20d='M16%202H8C6.89543%202%206%202.89543%206%204V15C6%2016.1046%206.89543%2017%208%2017H16C17.1046%2017%2018%2016.1046%2018%2015V4C18%202.89543%2017.1046%202%2016%202Z'%20stroke='%236B6C70'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M12%2017V21'%20stroke='%236B6C70'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector_3'%20d='M8%2021H16'%20stroke='%236B6C70'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", m = "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16.25'%20height='15'%20viewBox='0%200%2016.25%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%201197147545'%3e%3cpath%20id='Vector'%20d='M14.9213%209.40635C15.3272%209.30438%2015.6126%208.94183%2015.6152%208.52478L15.625%206.93007C15.6275%206.525%2015.3623%206.16651%2014.9732%206.04892L14.1005%205.7852C13.8798%205.7185%2013.6924%205.57154%2013.5755%205.37352L12.8573%204.15727C12.739%203.95681%2012.7017%203.71897%2012.753%203.4921L12.9621%202.56859C13.0506%202.17784%2012.8737%201.7752%2012.5254%201.57492L11.0869%200.7476C10.7376%200.546665%2010.2975%200.596351%2010.0021%200.870075L9.3115%201.51008C9.13962%201.66936%208.91304%201.75704%208.67829%201.7551L7.2638%201.74343C7.03325%201.74153%206.81184%201.65331%206.64356%201.49631L5.97804%200.875398C5.68116%200.598427%205.23678%200.548947%204.88585%200.753787L3.49363%201.56643C3.13075%201.77825%202.9585%202.20851%203.07698%202.61051C3.1228%202.76597%203.17048%202.92701%203.21292%203.06898C3.28703%203.3169%203.25766%203.58529%203.12806%203.80945L2.42614%205.02358C2.29837%205.24458%202.08426%205.40375%201.83578%205.46516C1.68469%205.5025%201.50914%205.54613%201.34035%205.58818C0.93629%205.68883%200.651389%206.04815%200.645934%206.46301L0.62508%208.04887C0.61974%208.45496%200.883759%208.81595%201.27343%208.93536L2.17309%209.21105C2.39202%209.27813%202.57789%209.42429%202.69423%209.62084L3.41482%2010.8382C3.53378%2011.0392%203.57117%2011.2779%203.51934%2011.5054L3.30791%2012.4336C3.21883%2012.8247%203.39575%2013.2279%203.74437%2013.4284L5.17704%2014.2524C5.52563%2014.4529%205.96465%2014.4039%206.26008%2014.1316L6.96142%2013.4851C7.13328%2013.3267%207.35938%2013.2396%207.59352%2013.2417L9.01023%2013.2545C9.2404%2013.2566%209.4614%2013.3446%209.62948%2013.5013L10.2936%2014.1203C10.591%2014.3976%2011.0363%2014.4465%2011.3872%2014.2406L12.7622%2013.4339C13.1297%2013.2183%2013.3034%2012.778%2013.1882%2012.3689C13.1406%2012.1999%2013.0926%2012.0281%2013.0523%2011.8833C12.9866%2011.6471%2013.0193%2011.3949%2013.1425%2011.1827L13.8525%209.96047C13.9767%209.74663%2014.1824%209.59192%2014.4229%209.53151L14.9213%209.40635Z'%20stroke='%236B6C70'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Ellipse%201274'%20d='M8.19692%204.53055C9.88304%204.53055%2011.2457%205.89191%2011.2457%207.56571C11.2455%209.23933%209.88291%2010.5999%208.19692%2010.5999C6.51095%2010.5999%205.14829%209.23931%205.14809%207.56571C5.14809%205.89193%206.51082%204.53058%208.19692%204.53055Z'%20stroke='%236B6C70'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e", u = {
4
+ key: 0,
5
+ class: "portal-icon portal-icon-app",
6
+ "aria-hidden": "true"
7
+ }, x = { class: "portal-icon-dots" }, B = /* @__PURE__ */ l({
8
+ __name: "PortalIcon",
9
+ props: {
10
+ name: {}
11
+ },
12
+ setup(e) {
13
+ const s = { collapse: p, brand: g, pages: k, mobile: w, tablet: h, kiosk: v, settings: m };
14
+ return (f, L) => e.name === "ecosystem" ? (o(), t("span", u, [
15
+ i("span", x, [
16
+ (o(), t(c, null, n(9, (r) => i("span", { key: r })), 64))
17
+ ])
18
+ ])) : (o(), t("span", {
19
+ key: 1,
20
+ class: a(["portal-icon portal-icon-mask", `portal-icon-${e.name}`]),
21
+ style: d({ maskImage: `url(${JSON.stringify(s[e.name])})` }),
22
+ "aria-hidden": "true"
23
+ }, null, 6));
24
+ }
25
+ }), b = /* @__PURE__ */ C(B, [["__scopeId", "data-v-6d17c5ee"]]);
26
+ export {
27
+ b as P
28
+ };
package/dist/app.js CHANGED
@@ -15,7 +15,7 @@ const o = [
15
15
  {
16
16
  path: "/p/:projectId/:view(workspace|releases|sessions)?",
17
17
  name: "miniprogram-v2-project",
18
- component: () => import("./ControlPlaneView-DmhLvgWt.js")
18
+ component: () => import("./ControlPlaneView-jmtP3sml.js")
19
19
  },
20
20
  {
21
21
  path: "/brand-kit",
@@ -27,7 +27,7 @@ const o = [
27
27
  path: "/pages",
28
28
  name: "miniprogram-v2-pages",
29
29
  meta: { title: "Pages" },
30
- component: () => import("./PagesView-CrVOYOT9.js")
30
+ component: () => import("./PagesView-BHo_fnWa.js")
31
31
  },
32
32
  {
33
33
  path: "/settings",
@@ -39,7 +39,7 @@ const o = [
39
39
  path: `/platforms/${e}`,
40
40
  name: `miniprogram-v2-${e}`,
41
41
  meta: { title: e === "tablet" ? "Tablet" : "Kiosk", kind: e },
42
- component: () => import("./PlatformUnavailableView-Cdy-1zpi.js")
42
+ component: () => import("./PlatformUnavailableView-C1RltAIw.js")
43
43
  })),
44
44
  {
45
45
  // The shared component library, not this merchant's workspace — which is
@@ -61,7 +61,7 @@ const o = [
61
61
  path: "/:pathMatch(.*)*",
62
62
  redirect: (e) => ({ name: "miniprogram-v2-ecosystem", query: e.query, params: {} })
63
63
  }
64
- ], r = {}, a = t(() => import("./App-C-7evg9W.js")), n = t(() => import("./LegacyWorkspaceEntry-7DvIosoj.js"));
64
+ ], r = {}, a = t(() => import("./App-D7vZDj-a.js")), n = t(() => import("./LegacyWorkspaceEntry-7DvIosoj.js"));
65
65
  export {
66
66
  a as FmApp,
67
67
  n as MiniprogramWorkspace,
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-miniprogram-v2",
3
- "version": "0.2.2-dev.1",
3
+ "version": "0.2.2-dev.3",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",