@feedmepos/mf-brand-app-builder 0.5.43-dev.1 → 0.5.44-dev.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.
@@ -1,13 +1,13 @@
1
- import { defineComponent as d, computed as h, resolveComponent as u, createElementBlock as m, openBlock as i, Fragment as f, renderList as w, createElementVNode as l, createVNode as a, unref as p, withCtx as _, ref as b, onMounted as x, onBeforeMount as y, watch as B, createBlock as F, createCommentVNode as k } from "vue";
1
+ import { defineComponent as d, computed as h, resolveComponent as u, createElementBlock as m, openBlock as l, Fragment as f, renderList as w, createElementVNode as i, createVNode as a, unref as p, withCtx as _, ref as b, onMounted as x, onBeforeMount as y, watch as B, createBlock as F, createCommentVNode as k } from "vue";
2
2
  import { useCoreStore as S } from "@feedmepos/mf-common";
3
3
  import { V as C } from "./vue-sonner-CBFYmm8_.js";
4
4
  import { useRoute as R, useRouter as V, RouterLink as L, RouterView as P } from "vue-router";
5
5
  import { g as A } from "./index-D0LOMBBD.js";
6
6
  import { u as N } from "./index-BA2J-Ffh.js";
7
- import { i as $ } from "./useBusinessFeatureFlag-2_0Z_IYf.js";
7
+ import { i as $ } from "./useBusinessFeatureFlag-ChIH2Edq.js";
8
8
  const z = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r border-fm-color-neutral-gray-100 p-[10px] flex flex-col gap-12" }, M = /* @__PURE__ */ d({
9
9
  __name: "NavigationSidebar",
10
- setup(v) {
10
+ setup(g) {
11
11
  const e = R();
12
12
  V();
13
13
  const c = [
@@ -23,6 +23,10 @@ const z = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
23
23
  name: "builder",
24
24
  icon: "build"
25
25
  },
26
+ {
27
+ name: "miniprogram-workspace",
28
+ icon: "auto_awesome"
29
+ },
26
30
  {
27
31
  name: "settings",
28
32
  icon: "settings"
@@ -32,8 +36,8 @@ const z = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
32
36
  );
33
37
  return (s, t) => {
34
38
  const n = u("FmButton");
35
- return i(), m("div", z, [
36
- (i(), m(f, null, w(c, (r) => l("div", null, [
39
+ return l(), m("div", z, [
40
+ (l(), m(f, null, w(c, (r) => i("div", null, [
37
41
  a(p(L), {
38
42
  to: { name: r.name }
39
43
  }, {
@@ -54,7 +58,7 @@ const z = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
54
58
  }
55
59
  }), E = { class: "relative h-[calc(100vh-56px)] w-screen" }, O = { class: "flex w-full h-full" }, J = /* @__PURE__ */ d({
56
60
  __name: "App",
57
- setup(v) {
61
+ setup(g) {
58
62
  const e = S(), c = N(), o = b(!0);
59
63
  async function s() {
60
64
  var t;
@@ -62,7 +66,7 @@ const z = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
62
66
  }
63
67
  return x(async () => {
64
68
  console.log(
65
- `Running v0.5.43-dev.1 on ${e.namespace.value}`
69
+ `Running v0.5.44-dev.1 on ${e.namespace.value}`
66
70
  ), e.hideSidebar.value = !0;
67
71
  const t = e.namespace.value === "prod" ? "prod" : "dev";
68
72
  $(t).catch(
@@ -75,20 +79,20 @@ const z = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
75
79
  () => s(),
76
80
  { immediate: !0 }
77
81
  ), (t, n) => {
78
- const r = u("FmCircularProgress"), g = u("FmOverlay");
79
- return i(), m(f, null, [
80
- n[0] || (n[0] = l("link", {
82
+ const r = u("FmCircularProgress"), v = u("FmOverlay");
83
+ return l(), m(f, null, [
84
+ n[0] || (n[0] = i("link", {
81
85
  href: "https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0..1,0",
82
86
  rel: "stylesheet"
83
87
  }, null, -1)),
84
- l("div", E, [
88
+ i("div", E, [
85
89
  a(p(C), {
86
90
  position: "top-right",
87
91
  "rich-colors": "",
88
92
  "close-button": "",
89
93
  duration: 3e3
90
94
  }),
91
- o.value ? (i(), F(g, {
95
+ o.value ? (l(), F(v, {
92
96
  key: 0,
93
97
  "dismiss-away": !1,
94
98
  "prevent-backdrop-event": !1,
@@ -100,7 +104,7 @@ const z = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
100
104
  ]),
101
105
  _: 1
102
106
  })) : k("", !0),
103
- l("div", O, [
107
+ i("div", O, [
104
108
  a(M),
105
109
  a(p(P), { class: "flex-1" })
106
110
  ])