@feedmepos/mf-brand-app-builder 0.5.19-dev.9 → 0.5.20-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.
- package/dist/{App-BsZVP9Ne.js → App-DVpDPwe2.js} +3 -3
- package/dist/{AssetsSettings-B5N-7DgR.js → AssetsSettings-SVbPHEuY.js} +22 -23
- package/dist/{BrandkitView-iQKQx-jZ.js → BrandkitView-D43eQoKb.js} +7 -8
- package/dist/{BuilderView-CL_Av8N0.js → BuilderView-BYf8ENsY.js} +2388 -3778
- package/dist/{ButtonGroup-8y-awxVR.js → ButtonGroup-D_HkX122.js} +7 -7
- package/dist/{ImageUpload-D9FzyqBT.js → ImageUpload-OYM3DrTY.js} +1 -1
- package/dist/{LinkButton-B2i7oizS.js → LinkButton-CCOqSbvd.js} +1 -1
- package/dist/{ListRepeater-DpR3hCtP.js → ListRepeater-D62MpH-Z.js} +1 -1
- package/dist/{ManagementSettings-C3NYHTVt.js → ManagementSettings-DrOm7SzA.js} +11 -12
- package/dist/{ProjectView-CAY-HXbK.js → ProjectView-Bwaj9BnH.js} +32 -33
- package/dist/{Select-B5RoVtWY.js → Select-BRYuMWoQ.js} +1 -1
- package/dist/{SettingsView-BkO_YiSG.js → SettingsView-DHA7hXUx.js} +4 -4
- package/dist/app-HZkesPhB.js +6314 -0
- package/dist/app.js +1 -1
- package/dist/{image-CK_VDqvl.js → image-86ZxEvt3.js} +1 -1
- package/dist/{index-CX9X8JGi.js → index-BnvFTlWg.js} +1 -1
- package/dist/{index-DSB1YXjA.js → index-CDqpTfz4.js} +1 -1
- package/dist/{index-ENNK0FzB.js → index-C_MuTimi.js} +1 -1
- package/dist/{index-DOUPRclC.js → index-DNaYV9RP.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/app-D0REl5eQ.js +0 -8693
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
const x = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as c, computed as n, resolveComponent as s, openBlock as m, createBlock as d } from "vue";
|
|
2
|
+
import { useI18n as i } from "@feedmepos/mf-common";
|
|
3
|
+
const x = /* @__PURE__ */ c({
|
|
4
4
|
__name: "ButtonGroup",
|
|
5
5
|
props: {
|
|
6
6
|
context: {}
|
|
@@ -11,13 +11,13 @@ const x = /* @__PURE__ */ s({
|
|
|
11
11
|
label: l(e.label)
|
|
12
12
|
}))), r = (e) => {
|
|
13
13
|
t.context.node.input(e.value);
|
|
14
|
-
},
|
|
14
|
+
}, p = n(() => o.value.find(
|
|
15
15
|
(e) => JSON.stringify(e.value) === JSON.stringify(t.context._value)
|
|
16
16
|
));
|
|
17
17
|
return (e, v) => {
|
|
18
|
-
const
|
|
19
|
-
return m(), d(
|
|
20
|
-
"model-value":
|
|
18
|
+
const a = s("FmButtonGroup");
|
|
19
|
+
return m(), d(a, {
|
|
20
|
+
"model-value": p.value,
|
|
21
21
|
"onUpdate:modelValue": r,
|
|
22
22
|
items: o.value
|
|
23
23
|
}, null, 8, ["model-value", "items"]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, ref as b, resolveComponent as w, openBlock as r, createElementBlock as s, createVNode as c, Fragment as C, createElementVNode as i, unref as u, createCommentVNode as f } from "vue";
|
|
2
|
-
import { r as g, I as h } from "./image-
|
|
2
|
+
import { r as g, I as h } from "./image-86ZxEvt3.js";
|
|
3
3
|
import { useCoreStore as I } from "@feedmepos/mf-common";
|
|
4
4
|
import "./main-DBrQC_KK.js";
|
|
5
5
|
import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as I, ref as f, computed as k, onBeforeMount as L, resolveComponent as c, openBlock as u, createBlock as v, withCtx as m, createElementBlock as x, createElementVNode as a, toDisplayString as P, createVNode as r, withModifiers as R, Fragment as M, renderList as F } from "vue";
|
|
2
2
|
import { B as y } from "./BaDivider-DWZv3fqi.js";
|
|
3
3
|
import { _ as W } from "./Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js";
|
|
4
|
-
import { u as $ } from "./index-
|
|
4
|
+
import { u as $ } from "./index-DNaYV9RP.js";
|
|
5
5
|
import "@feedmepos/mf-common";
|
|
6
6
|
const j = {
|
|
7
7
|
key: 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, resolveComponent as y, openBlock as c, createBlock as s, unref as u, withCtx as i, createElementBlock as m, Fragment as x, renderList as g, createElementVNode as p, createVNode as n, resolveDynamicComponent as F } from "vue";
|
|
2
|
-
import { F as f } from "./app-
|
|
2
|
+
import { F as f } from "./app-HZkesPhB.js";
|
|
3
3
|
const h = { class: "flex justify-end gap-4 items-center w-full py-16 px-12 border-b" }, z = { class: "flex flex-col gap-4 w-full p-12" }, I = /* @__PURE__ */ b({
|
|
4
4
|
__name: "ListRepeater",
|
|
5
5
|
props: {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { defineComponent as C, ref as y, computed as S, watch as $, resolveComponent as d, openBlock as g, createElementBlock as k, createElementVNode as o, toDisplayString as _, unref as i, createVNode as u, createBlock as F, withCtx as U } from "vue";
|
|
2
|
-
import { useCoreStore as P } from "@feedmepos/mf-common";
|
|
3
|
-
import { B as h } from "./index-
|
|
4
|
-
import { K as
|
|
5
|
-
import { r as
|
|
6
|
-
import { useSnackbar as
|
|
7
|
-
import { u as A } from "./app-D0REl5eQ.js";
|
|
2
|
+
import { useCoreStore as P, useI18n as V } from "@feedmepos/mf-common";
|
|
3
|
+
import { B as h } from "./index-BnvFTlWg.js";
|
|
4
|
+
import { K as q } from "./vue-sonner-PX6Req0V.js";
|
|
5
|
+
import { r as I, I as T } from "./image-86ZxEvt3.js";
|
|
6
|
+
import { useSnackbar as A } from "@feedmepos/ui-library";
|
|
8
7
|
const E = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), N = [
|
|
9
8
|
"brand",
|
|
10
9
|
"home",
|
|
@@ -503,10 +502,10 @@ const E = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), N = [
|
|
|
503
502
|
"za",
|
|
504
503
|
"zm",
|
|
505
504
|
"zw"
|
|
506
|
-
], D = { class: "w-full flex flex-col gap-40" }, K = { class: "flex flex-col gap-24" }, R = { class: "w-full flex items-center justify-between h-[36px]" }, L = { class: "fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, M = { class: "w-full flex gap-32" }, O = { class: "relative shrink-0 h-[100px] w-[100px]" }, G = ["src"], H = { class: "absolute -top-8 -right-8 rounded-full h-32 w-32 border border-fm-color-neutral-gray-100 bg-fm-color-neutral-white flex justify-center items-center" }, J = { class: "w-full flex flex-col gap-24 max-w-[400px]" }, Q = { class: "text-fm-color-typo-secondary" },
|
|
505
|
+
], D = { class: "w-full flex flex-col gap-40" }, K = { class: "flex flex-col gap-24" }, R = { class: "w-full flex items-center justify-between h-[36px]" }, L = { class: "fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, M = { class: "w-full flex gap-32" }, O = { class: "relative shrink-0 h-[100px] w-[100px]" }, G = ["src"], H = { class: "absolute -top-8 -right-8 rounded-full h-32 w-32 border border-fm-color-neutral-gray-100 bg-fm-color-neutral-white flex justify-center items-center" }, J = { class: "w-full flex flex-col gap-24 max-w-[400px]" }, Q = { class: "text-fm-color-typo-secondary" }, te = /* @__PURE__ */ C({
|
|
507
506
|
__name: "ManagementSettings",
|
|
508
507
|
setup(W) {
|
|
509
|
-
const s = P(), b =
|
|
508
|
+
const s = P(), b = A(), { t: n } = V(), p = y(!0), a = y({
|
|
510
509
|
name: "",
|
|
511
510
|
url: "",
|
|
512
511
|
thumbnail: ""
|
|
@@ -539,7 +538,7 @@ const E = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), N = [
|
|
|
539
538
|
});
|
|
540
539
|
}
|
|
541
540
|
function j() {
|
|
542
|
-
|
|
541
|
+
q.promise(
|
|
543
542
|
h.setShortUrl(
|
|
544
543
|
a.value.url,
|
|
545
544
|
s.currentBusiness.value.url ?? "",
|
|
@@ -567,7 +566,7 @@ const E = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), N = [
|
|
|
567
566
|
function z(t) {
|
|
568
567
|
var l, m;
|
|
569
568
|
const e = ((l = t.dataTransfer) == null ? void 0 : l.files[0]) ?? ((m = t.target) == null ? void 0 : m.files[0]);
|
|
570
|
-
|
|
569
|
+
T.uploadImage(
|
|
571
570
|
s.currentBusiness.value._id,
|
|
572
571
|
`thumbnail/${(/* @__PURE__ */ new Date()).toISOString()}.${e.name.split(".").pop()}`,
|
|
573
572
|
e
|
|
@@ -605,7 +604,7 @@ const E = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), N = [
|
|
|
605
604
|
a.value.thumbnail ? (g(), k("img", {
|
|
606
605
|
key: 0,
|
|
607
606
|
class: "h-full w-full rounded-full",
|
|
608
|
-
src: i(
|
|
607
|
+
src: i(I)(a.value.thumbnail)
|
|
609
608
|
}, null, 8, G)) : (g(), F(m, {
|
|
610
609
|
key: 1,
|
|
611
610
|
name: ((v = i(s).currentBusiness.value) == null ? void 0 : v.name) ?? "",
|
|
@@ -668,5 +667,5 @@ const E = new RegExp(/^[a-z0-9][a-z0-9\-]{4,}[a-z0-9]$/), N = [
|
|
|
668
667
|
}
|
|
669
668
|
});
|
|
670
669
|
export {
|
|
671
|
-
|
|
670
|
+
te as default
|
|
672
671
|
};
|