@feedmepos/mf-brand-app-builder 0.5.13-alpha → 0.5.13
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-Dx-zim3o.js → App-DF03mf4C.js} +27 -25
- package/dist/{AssetsSettings-BrFOHUWK.js → AssetsSettings-CLNsRfkn.js} +84 -86
- package/dist/{BuilderView-qdOop6ed.js → BuilderView-C-zYam5O.js} +10 -10
- package/dist/{ButtonGroup-B3ba45VA.js → ButtonGroup-CbW3Lnxj.js} +2 -2
- package/dist/{CircularProgress-h90pbjU3.js → CircularProgress-DdblYCtV.js} +4 -4
- package/dist/{ColorPicker-DAysa9fA.js → ColorPicker-Bz8yOMlS.js} +2 -2
- package/dist/{Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js → Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js} +2 -2
- package/dist/{ImageUpload-DxE1yPGA.js → ImageUpload-Cpkzp4iS.js} +14 -14
- package/dist/{LinkButton-Cbch02ih.js → LinkButton-D0MS93kZ.js} +3 -3
- package/dist/{ListRepeater-Btngd8M3.js → ListRepeater-DDJL956f.js} +2 -2
- package/dist/{ManagementSettings-de-TEfbe.js → ManagementSettings-BQuJDFla.js} +6 -6
- package/dist/{Select-CbQFoAzb.js → Select-C2r_c4vv.js} +2 -2
- package/dist/{SettingsView-DFAxZPug.js → SettingsView-BUGfoZhA.js} +2 -2
- package/dist/{StepperField-DrHM9EDn.js → StepperField-xVvcmxNx.js} +2 -2
- package/dist/{Switch-8mmNQUDo.js → Switch-uc_zN-mb.js} +2 -2
- package/dist/{TextAlign-BOC8ekaH.js → TextAlign-BSp1Xi7F.js} +2 -2
- package/dist/{TextDecorators-BJC4umDR.js → TextDecorators-1C54q7us.js} +4 -4
- package/dist/{TextField-BiVH5rLX.js → TextField-DfBJB6vQ.js} +2 -2
- package/dist/{TextStyleList-CuPE80Py.js → TextStyleList-Bef3irUx.js} +3 -3
- package/dist/{app-s4CdT1Jt.js → app-DXnRpFqq.js} +27 -27
- package/dist/app.js +1 -1
- package/dist/components/src/components/BranchList.vue.d.ts +1 -1
- package/dist/components/src/components/ButtonList.vue.d.ts +1 -1
- package/dist/components/src/components/CountrySwitcher.vue.d.ts +1 -1
- package/dist/components/src/components/Homepage.vue.d.ts +3 -3
- package/dist/components/src/components/ImageCarousel.vue.d.ts +1 -1
- package/dist/components/src/components/ImageDisplay.vue.d.ts +1 -1
- package/dist/components/src/components/MemberCard.vue.d.ts +2 -1
- package/dist/components/src/components/OrderHistoryCard.vue.d.ts +1 -1
- package/dist/components/src/components/OrderMethod.vue.d.ts +1 -1
- package/dist/components/src/components/TextDisplay.vue.d.ts +1 -1
- package/dist/components/src/components/atoms/Button.vue.d.ts +4 -4
- package/dist/components/src/components/atoms/CircularProgress.vue.d.ts +1 -1
- package/dist/components/src/components/atoms/Container.vue.d.ts +3 -3
- package/dist/components/src/components/atoms/Divider.vue.d.ts +1 -1
- package/dist/components/src/components/atoms/Icon.vue.d.ts +1 -1
- package/dist/components/src/components/atoms/LinkSlot.vue.d.ts +4 -4
- package/dist/components/src/views/OrderDetails.vue.d.ts +1 -1
- package/dist/{image-C-MNSOjE.js → image-Dm7AsBZX.js} +8 -8
- package/dist/index-B0O5NxWl.js +1741 -0
- package/dist/{index-D2kxtvYi.js → index-BZ63ygCw.js} +1 -1
- package/dist/{index-C4WOObjm.js → index-CAfpg2Eg.js} +205 -201
- package/dist/{index-WtAjKyig.js → index-CJXFGv-u.js} +21 -21
- package/dist/{main-CZCjdYQJ.js → main-BnnUrWK-.js} +265 -266
- package/dist/merchant/src/api/business/index.d.ts +1 -1
- package/dist/merchant/src/api/index.d.ts +21 -1
- package/dist/merchant/src/components/atoms/BaButtonGroup.vue.d.ts +1 -1
- package/dist/merchant/src/components/atoms/BaDivider.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/Editor.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/EditorFloatingToobar.vue.d.ts +1 -1
- package/dist/merchant/src/components/editor/toolbar/EditorToolbar.vue.d.ts +1 -1
- package/dist/merchant/src/components/element-sidebar/ElementSidebar.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/ColorPicker.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/ImageUpload.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/TextAlign.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/TextDecorators.vue.d.ts +1 -1
- package/dist/merchant/src/components/inputs/TextStyleList.vue.d.ts +1 -1
- package/dist/merchant/src/components/inspector/Inspector.vue.d.ts +1 -1
- package/dist/merchant/src/components/inspector/atoms/ConfigSection.vue.d.ts +3 -3
- package/dist/merchant/src/components/inspector/atoms/ConfigTab.vue.d.ts +3 -3
- package/dist/merchant/src/components/inspector/atoms/ConfigTabItem.vue.d.ts +3 -3
- package/dist/merchant/src/components/inspector/atoms/ConfigTabTitle.vue.d.ts +1 -1
- package/dist/merchant/src/components/navigation-sidebar/NavigationSidebar.vue.d.ts +1 -1
- package/dist/merchant/src/components/settings/AssetsSettings.vue.d.ts +1 -1
- package/dist/merchant/src/components/settings/ManagementSettings.vue.d.ts +1 -1
- package/dist/merchant/src/views/BuilderView.vue.d.ts +1 -1
- package/dist/merchant/src/views/HomeView.vue.d.ts +1 -1
- package/dist/merchant/src/views/SettingsView.vue.d.ts +1 -1
- package/dist/package.json +1 -1
- package/dist/{v4-ANoOI1Qw.js → v4-CKwdnpQf.js} +8 -8
- package/package.json +1 -1
- package/dist/index-C1ZVL1AH.js +0 -1729
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as d, computed as v, resolveComponent as u,
|
|
1
|
+
import { defineComponent as d, computed as v, resolveComponent as u, createElementBlock as m, openBlock as l, Fragment as f, renderList as w, createVNode as r, unref as p, withCtx as _, ref as x, onMounted as b, onBeforeMount as y, watch as B, createElementVNode as c, createBlock as k, createCommentVNode as S } from "vue";
|
|
2
2
|
import { useCoreStore as C } from "@feedmepos/mf-common";
|
|
3
|
-
import { V as F } from "./index-
|
|
3
|
+
import { V as F } from "./index-CAfpg2Eg.js";
|
|
4
4
|
import { useRoute as R, RouterLink as V, RouterView as L } from "vue-router";
|
|
5
|
-
import { g as P } from "./index-
|
|
6
|
-
import { u as A } from "./index-
|
|
7
|
-
const N = { 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" },
|
|
5
|
+
import { g as P } from "./index-B0O5NxWl.js";
|
|
6
|
+
import { u as A } from "./index-BZ63ygCw.js";
|
|
7
|
+
const N = { 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" }, $ = /* @__PURE__ */ d({
|
|
8
8
|
__name: "NavigationSidebar",
|
|
9
9
|
setup(g) {
|
|
10
10
|
const e = R(), i = [
|
|
@@ -26,16 +26,16 @@ const N = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
|
|
|
26
26
|
return (s, o) => {
|
|
27
27
|
const a = u("FmButton");
|
|
28
28
|
return l(), m("div", N, [
|
|
29
|
-
(l(), m(f, null,
|
|
30
|
-
to: { name:
|
|
29
|
+
(l(), m(f, null, w(i, (n) => r(p(V), {
|
|
30
|
+
to: { name: n.name }
|
|
31
31
|
}, {
|
|
32
32
|
default: _(() => [
|
|
33
|
-
|
|
33
|
+
r(a, {
|
|
34
34
|
class: "w-[44px] !h-[44px]",
|
|
35
35
|
size: "lg",
|
|
36
|
-
icon:
|
|
37
|
-
"icon-color": t.value(
|
|
38
|
-
"bg-color": t.value(
|
|
36
|
+
icon: n.icon,
|
|
37
|
+
"icon-color": t.value(n.name) ? "primary" : "neutral-gray-400",
|
|
38
|
+
"bg-color": t.value(n.name) ? "system-warning-100" : "neutral-white"
|
|
39
39
|
}, null, 8, ["icon", "icon-color", "bg-color"])
|
|
40
40
|
]),
|
|
41
41
|
_: 2
|
|
@@ -43,31 +43,33 @@ const N = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
|
|
|
43
43
|
]);
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
}),
|
|
46
|
+
}), z = { class: "relative h-[calc(100vh-56px)] w-screen" }, M = { class: "flex w-full h-full" }, j = /* @__PURE__ */ d({
|
|
47
47
|
__name: "App",
|
|
48
48
|
setup(g) {
|
|
49
|
-
const e = C(), i = A(), t =
|
|
49
|
+
const e = C(), i = A(), t = x(!0);
|
|
50
50
|
async function s() {
|
|
51
51
|
var o;
|
|
52
|
-
t.value = !0, (o = e.currentBusiness.value) != null && o._id && (await i.getPremiumStatus(e.currentBusiness.value._id), t.value = !1);
|
|
52
|
+
t.value = !0, (o = e.currentBusiness.value) != null && o._id && (await P(), await i.getPremiumStatus(e.currentBusiness.value._id), t.value = !1);
|
|
53
53
|
}
|
|
54
|
-
return
|
|
55
|
-
console.log(
|
|
56
|
-
|
|
54
|
+
return b(async () => {
|
|
55
|
+
console.log(
|
|
56
|
+
`Running v0.5.13 on ${e.namespace.value}`
|
|
57
|
+
), e.hideSidebar.value = !0;
|
|
58
|
+
}), y(() => {
|
|
57
59
|
e.hideSidebar.value = !1;
|
|
58
|
-
}),
|
|
60
|
+
}), B(
|
|
59
61
|
() => e.currentBusiness.value,
|
|
60
62
|
() => s(),
|
|
61
63
|
{ immediate: !0 }
|
|
62
64
|
), (o, a) => {
|
|
63
|
-
const
|
|
65
|
+
const n = u("FmCircularProgress"), h = u("FmOverlay");
|
|
64
66
|
return l(), m(f, null, [
|
|
65
67
|
a[0] || (a[0] = c("link", {
|
|
66
68
|
href: "https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0..1,0",
|
|
67
69
|
rel: "stylesheet"
|
|
68
70
|
}, null, -1)),
|
|
69
|
-
c("div",
|
|
70
|
-
|
|
71
|
+
c("div", z, [
|
|
72
|
+
r(p(F), {
|
|
71
73
|
position: "top-right",
|
|
72
74
|
"rich-colors": "",
|
|
73
75
|
"close-button": "",
|
|
@@ -81,13 +83,13 @@ const N = { class: "shrink-0 w-64 h-full bg-fm-color-neutral-white border-r bord
|
|
|
81
83
|
"center-content": ""
|
|
82
84
|
}, {
|
|
83
85
|
default: _(() => [
|
|
84
|
-
n
|
|
86
|
+
r(n, { size: "xxl" })
|
|
85
87
|
]),
|
|
86
88
|
_: 1
|
|
87
89
|
})) : S("", !0),
|
|
88
|
-
c("div",
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
c("div", M, [
|
|
91
|
+
r($),
|
|
92
|
+
r(p(L), { class: "flex-1" })
|
|
91
93
|
])
|
|
92
94
|
])
|
|
93
95
|
], 64);
|