@feedmepos/mf-brand-app-builder 0.5.24-dev.0 → 0.5.26-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-CoIlf_Tr.js → App-B5LHJKf9.js} +1 -1
- package/dist/{BrandkitView-BHBErfbu.js → BrandkitView-XPYJZ_X2.js} +3312 -3119
- package/dist/{BuilderView-DY_Clqms.js → BuilderView-DMQ2N3j3.js} +357 -405
- package/dist/{ImageUpload-B8OINKSx.js → ImageUpload-CaB-xg3u.js} +1 -1
- package/dist/{ListRepeater-rkz-trRq.js → ListRepeater-DdcHuX_X.js} +1 -1
- package/dist/{ManagementSettings-Cz4HkNm1.js → ManagementSettings-CueLn4v_.js} +13 -13
- package/dist/{app-pY4HD-TA.js → app-DTF3XZIk.js} +115 -73
- package/dist/app.js +1 -1
- package/dist/brand-core/src/brandkit.d.ts +44 -1
- package/dist/brand-core/src/entity.d.ts +6 -0
- package/dist/brandkit-Wenx9H5J.js +100 -0
- package/dist/client/merchant/src/app.d.ts +42 -0
- package/dist/client/merchant/src/stores/business/index.d.ts +66 -0
- package/dist/{main-CKhW2ogv.js → main-BDOGYedt.js} +2 -2
- package/dist/package.json +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-DzaJbB6y.js +0 -40
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { resolveComponent as V, TransitionGroup as
|
|
2
|
-
import { T as
|
|
3
|
-
import { defineStore as
|
|
4
|
-
import { p as
|
|
5
|
-
import { A as
|
|
1
|
+
import { resolveComponent as V, TransitionGroup as qn, defineComponent as se, nextTick as rn, h as ma, isRef as Qn, isReactive as eo, isProxy as to, toRaw as ao, ref as q, computed as ie, createElementBlock as Z, openBlock as N, Fragment as Le, renderList as vt, createElementVNode as I, createVNode as w, createBlock as ae, createCommentVNode as Q, toDisplayString as j, unref as v, withCtx as M, normalizeClass as ye, watch as tt, withDirectives as Gt, withModifiers as ba, vShow as Xt, createTextVNode as no, onMounted as ln, resolveDynamicComponent as Ma, mergeProps as oo, normalizeProps as ro, guardReactiveProps as io, normalizeStyle as lo, renderSlot as wa, provide as so, inject as co, markRaw as uo } from "vue";
|
|
2
|
+
import { T as po, u as Ge } from "./index-Bk6TOZrx.js";
|
|
3
|
+
import { defineStore as mo, storeToRefs as bo } from "pinia";
|
|
4
|
+
import { p as fo } from "./views-BDWw3w14.js";
|
|
5
|
+
import { A as go } from "./index-D0LOMBBD.js";
|
|
6
6
|
import { v as Ra } from "./v4-CKwdnpQf.js";
|
|
7
|
-
import { _ as
|
|
8
|
-
import { B as
|
|
7
|
+
import { _ as ho } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
8
|
+
import { B as sn } from "./BaDivider-Cp9gfB4r.js";
|
|
9
9
|
import { useI18n as Ze, useCoreStore as We } from "@feedmepos/mf-common";
|
|
10
|
-
import { C as $a, _ as
|
|
11
|
-
import { useDialog as
|
|
12
|
-
import { useRouter as
|
|
13
|
-
import { u as Ia } from "./
|
|
10
|
+
import { C as $a, _ as yo, a as vo } from "./main-BDOGYedt.js";
|
|
11
|
+
import { useDialog as To, components as xo, useSnackbar as Co } from "@feedmepos/ui-library";
|
|
12
|
+
import { useRouter as dn } from "vue-router";
|
|
13
|
+
import { u as Ia, a as _o, b as wo } from "./brandkit-Wenx9H5J.js";
|
|
14
14
|
import { u as Ea } from "./index-C1rSMuKA.js";
|
|
15
15
|
import { K as Io, V as Eo } from "./vue-sonner-CBFYmm8_.js";
|
|
16
|
-
import { F as So, a as Ao } from "./app-
|
|
16
|
+
import { F as So, a as Ao } from "./app-DTF3XZIk.js";
|
|
17
17
|
/**!
|
|
18
18
|
* Sortable 1.14.0
|
|
19
19
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -89,17 +89,17 @@ function ke(t) {
|
|
|
89
89
|
if (typeof window < "u" && window.navigator)
|
|
90
90
|
return !!/* @__PURE__ */ navigator.userAgent.match(t);
|
|
91
91
|
}
|
|
92
|
-
var
|
|
92
|
+
var Ne = ke(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Tt = ke(/Edge/i), Ua = ke(/firefox/i), pt = ke(/safari/i) && !ke(/chrome/i) && !ke(/android/i), cn = ke(/iP(ad|od|hone)/i), No = ke(/chrome/i) && ke(/android/i), un = {
|
|
93
93
|
capture: !1,
|
|
94
94
|
passive: !1
|
|
95
95
|
};
|
|
96
96
|
function R(t, e, a) {
|
|
97
|
-
t.addEventListener(e, a, !
|
|
97
|
+
t.addEventListener(e, a, !Ne && un);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
100
|
-
t.removeEventListener(e, a, !
|
|
99
|
+
function P(t, e, a) {
|
|
100
|
+
t.removeEventListener(e, a, !Ne && un);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Pt(t, e) {
|
|
103
103
|
if (e) {
|
|
104
104
|
if (e[0] === ">" && (e = e.substring(1)), t)
|
|
105
105
|
try {
|
|
@@ -115,17 +115,17 @@ function Ot(t, e) {
|
|
|
115
115
|
return !1;
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Fo(t) {
|
|
119
119
|
return t.host && t !== document && t.host.nodeType ? t.host : t.parentNode;
|
|
120
120
|
}
|
|
121
121
|
function Ce(t, e, a, n) {
|
|
122
122
|
if (t) {
|
|
123
123
|
a = a || document;
|
|
124
124
|
do {
|
|
125
|
-
if (e != null && (e[0] === ">" ? t.parentNode === a &&
|
|
125
|
+
if (e != null && (e[0] === ">" ? t.parentNode === a && Pt(t, e) : Pt(t, e)) || n && t === a)
|
|
126
126
|
return t;
|
|
127
127
|
if (t === a) break;
|
|
128
|
-
} while (t =
|
|
128
|
+
} while (t = Fo(t));
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
@@ -159,7 +159,7 @@ function et(t, e) {
|
|
|
159
159
|
var o = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
160
160
|
return o && new o(a);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function pn(t, e, a) {
|
|
163
163
|
if (t) {
|
|
164
164
|
var n = t.getElementsByTagName(e), o = 0, r = n.length;
|
|
165
165
|
if (a)
|
|
@@ -176,7 +176,7 @@ function we() {
|
|
|
176
176
|
function J(t, e, a, n, o) {
|
|
177
177
|
if (!(!t.getBoundingClientRect && t !== window)) {
|
|
178
178
|
var r, l, i, s, d, c, p;
|
|
179
|
-
if (t !== window && t.parentNode && t !== we() ? (r = t.getBoundingClientRect(), l = r.top, i = r.left, s = r.bottom, d = r.right, c = r.height, p = r.width) : (l = 0, i = 0, s = window.innerHeight, d = window.innerWidth, c = window.innerHeight, p = window.innerWidth), (e || a) && t !== window && (o = o || t.parentNode, !
|
|
179
|
+
if (t !== window && t.parentNode && t !== we() ? (r = t.getBoundingClientRect(), l = r.top, i = r.left, s = r.bottom, d = r.right, c = r.height, p = r.width) : (l = 0, i = 0, s = window.innerHeight, d = window.innerWidth, c = window.innerHeight, p = window.innerWidth), (e || a) && t !== window && (o = o || t.parentNode, !Ne))
|
|
180
180
|
do
|
|
181
181
|
if (o && o.getBoundingClientRect && (E(o, "transform") !== "none" || a && E(o, "position") !== "static")) {
|
|
182
182
|
var m = o.getBoundingClientRect();
|
|
@@ -219,7 +219,7 @@ function at(t, e, a, n) {
|
|
|
219
219
|
return null;
|
|
220
220
|
}
|
|
221
221
|
function Sa(t, e) {
|
|
222
|
-
for (var a = t.lastElementChild; a && (a === S.ghost || E(a, "display") === "none" || e && !
|
|
222
|
+
for (var a = t.lastElementChild; a && (a === S.ghost || E(a, "display") === "none" || e && !Pt(a, e)); )
|
|
223
223
|
a = a.previousElementSibling;
|
|
224
224
|
return a || null;
|
|
225
225
|
}
|
|
@@ -228,7 +228,7 @@ function he(t, e) {
|
|
|
228
228
|
if (!t || !t.parentNode)
|
|
229
229
|
return -1;
|
|
230
230
|
for (; t = t.previousElementSibling; )
|
|
231
|
-
t.nodeName.toUpperCase() !== "TEMPLATE" && t !== S.clone && (!e ||
|
|
231
|
+
t.nodeName.toUpperCase() !== "TEMPLATE" && t !== S.clone && (!e || Pt(t, e)) && a++;
|
|
232
232
|
return a;
|
|
233
233
|
}
|
|
234
234
|
function Ya(t) {
|
|
@@ -240,7 +240,7 @@ function Ya(t) {
|
|
|
240
240
|
} while (t !== n && (t = t.parentNode));
|
|
241
241
|
return [e, a];
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function Oo(t, e) {
|
|
244
244
|
for (var a in t)
|
|
245
245
|
if (t.hasOwnProperty(a)) {
|
|
246
246
|
for (var n in e)
|
|
@@ -263,7 +263,7 @@ function Re(t, e) {
|
|
|
263
263
|
while (a = a.parentNode);
|
|
264
264
|
return we();
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function Po(t, e) {
|
|
267
267
|
if (t && e)
|
|
268
268
|
for (var a in e)
|
|
269
269
|
e.hasOwnProperty(a) && (t[a] = e[a]);
|
|
@@ -273,7 +273,7 @@ function Jt(t, e) {
|
|
|
273
273
|
return Math.round(t.top) === Math.round(e.top) && Math.round(t.left) === Math.round(e.left) && Math.round(t.height) === Math.round(e.height) && Math.round(t.width) === Math.round(e.width);
|
|
274
274
|
}
|
|
275
275
|
var mt;
|
|
276
|
-
function
|
|
276
|
+
function mn(t, e) {
|
|
277
277
|
return function() {
|
|
278
278
|
if (!mt) {
|
|
279
279
|
var a = arguments, n = this;
|
|
@@ -286,10 +286,10 @@ function bn(t, e) {
|
|
|
286
286
|
function Mo() {
|
|
287
287
|
clearTimeout(mt), mt = void 0;
|
|
288
288
|
}
|
|
289
|
-
function
|
|
289
|
+
function bn(t, e, a) {
|
|
290
290
|
t.scrollLeft += e, t.scrollTop += a;
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function fn(t) {
|
|
293
293
|
var e = window.Polymer, a = window.jQuery || window.Zepto;
|
|
294
294
|
return e && e.dom ? e.dom(t).cloneNode(!0) : a ? a(t).clone(!0)[0] : t.cloneNode(!0);
|
|
295
295
|
}
|
|
@@ -320,7 +320,7 @@ function Ro() {
|
|
|
320
320
|
t.push(n);
|
|
321
321
|
},
|
|
322
322
|
removeAnimationState: function(n) {
|
|
323
|
-
t.splice(
|
|
323
|
+
t.splice(Oo(t, {
|
|
324
324
|
target: n
|
|
325
325
|
}), 1);
|
|
326
326
|
},
|
|
@@ -414,7 +414,7 @@ function Uo(t) {
|
|
|
414
414
|
var e = t.sortable, a = t.rootEl, n = t.name, o = t.targetEl, r = t.cloneEl, l = t.toEl, i = t.fromEl, s = t.oldIndex, d = t.newIndex, c = t.oldDraggableIndex, p = t.newDraggableIndex, m = t.originalEvent, u = t.putSortable, b = t.extraEventProperties;
|
|
415
415
|
if (e = e || a && a[pe], !!e) {
|
|
416
416
|
var g, B = e.options, f = "on" + n.charAt(0).toUpperCase() + n.substr(1);
|
|
417
|
-
window.CustomEvent && !
|
|
417
|
+
window.CustomEvent && !Ne && !Tt ? g = new CustomEvent(n, {
|
|
418
418
|
bubbles: !0,
|
|
419
419
|
cancelable: !0
|
|
420
420
|
}) : (g = document.createEvent("Event"), g.initEvent(n, !0, !0)), g.to = l || a, g.from = i || a, g.item = o || a, g.clone = r, g.oldIndex = s, g.newIndex = d, g.oldDraggableIndex = c, g.newDraggableIndex = p, g.originalEvent = m, g.pullMode = u ? u.lastPutMode : void 0;
|
|
@@ -442,9 +442,9 @@ var Vo = ["evt"], le = function(e, a) {
|
|
|
442
442
|
oldIndex: Qe,
|
|
443
443
|
oldDraggableIndex: bt,
|
|
444
444
|
newIndex: ue,
|
|
445
|
-
newDraggableIndex:
|
|
446
|
-
hideGhostForTarget:
|
|
447
|
-
unhideGhostForTarget:
|
|
445
|
+
newDraggableIndex: Pe,
|
|
446
|
+
hideGhostForTarget: vn,
|
|
447
|
+
unhideGhostForTarget: Tn,
|
|
448
448
|
cloneNowHidden: function() {
|
|
449
449
|
Me = !0;
|
|
450
450
|
},
|
|
@@ -469,17 +469,17 @@ function re(t) {
|
|
|
469
469
|
oldIndex: Qe,
|
|
470
470
|
oldDraggableIndex: bt,
|
|
471
471
|
newIndex: ue,
|
|
472
|
-
newDraggableIndex:
|
|
472
|
+
newDraggableIndex: Pe
|
|
473
473
|
}, t));
|
|
474
474
|
}
|
|
475
|
-
var h, H, k, $, je, Dt, Y, Me, Qe, ue, bt,
|
|
475
|
+
var h, H, k, $, je, Dt, Y, Me, Qe, ue, bt, Pe, It, ee, qe = !1, Mt = !1, Rt = [], Ye, ve, qt, Qt, za, ja, dt, Je, ft, gt = !1, Et = !1, Nt, te, ea = [], fa = !1, $t = [], Ht = typeof document < "u", St = cn, Wa = Tt || Ne ? "cssFloat" : "float", Ho = Ht && !No && !cn && "draggable" in document.createElement("div"), gn = function() {
|
|
476
476
|
if (Ht) {
|
|
477
|
-
if (
|
|
477
|
+
if (Ne)
|
|
478
478
|
return !1;
|
|
479
479
|
var t = document.createElement("x");
|
|
480
480
|
return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
|
|
481
481
|
}
|
|
482
|
-
}(),
|
|
482
|
+
}(), hn = function(e, a) {
|
|
483
483
|
var n = E(e), o = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), r = at(e, 0, a), l = at(e, 1, a), i = r && E(r), s = l && E(l), d = i && parseInt(i.marginLeft) + parseInt(i.marginRight) + J(r).width, c = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + J(l).width;
|
|
484
484
|
if (n.display === "flex")
|
|
485
485
|
return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
@@ -503,7 +503,7 @@ var h, H, k, $, je, Dt, Y, Me, Qe, ue, bt, Oe, It, ee, qe = !1, Mt = !1, Rt = []
|
|
|
503
503
|
return n = o;
|
|
504
504
|
}
|
|
505
505
|
}), n;
|
|
506
|
-
},
|
|
506
|
+
}, yn = function(e) {
|
|
507
507
|
function a(r, l) {
|
|
508
508
|
return function(i, s, d, c) {
|
|
509
509
|
var p = i.options.group.name && s.options.group.name && i.options.group.name === s.options.group.name;
|
|
@@ -523,10 +523,10 @@ var h, H, k, $, je, Dt, Y, Me, Qe, ue, bt, Oe, It, ee, qe = !1, Mt = !1, Rt = []
|
|
|
523
523
|
(!o || kt(o) != "object") && (o = {
|
|
524
524
|
name: o
|
|
525
525
|
}), n.name = o.name, n.checkPull = a(o.pull, !0), n.checkPut = a(o.put), n.revertClone = o.revertClone, e.group = n;
|
|
526
|
+
}, vn = function() {
|
|
527
|
+
!gn && k && E(k, "display", "none");
|
|
526
528
|
}, Tn = function() {
|
|
527
|
-
!
|
|
528
|
-
}, xn = function() {
|
|
529
|
-
!hn && k && E(k, "display", "");
|
|
529
|
+
!gn && k && E(k, "display", "");
|
|
530
530
|
};
|
|
531
531
|
Ht && document.addEventListener("click", function(t) {
|
|
532
532
|
if (Mt)
|
|
@@ -565,7 +565,7 @@ function S(t, e) {
|
|
|
565
565
|
// will be set to same as swapThreshold if default
|
|
566
566
|
removeCloneOnHide: !0,
|
|
567
567
|
direction: function() {
|
|
568
|
-
return
|
|
568
|
+
return hn(t, this.options);
|
|
569
569
|
},
|
|
570
570
|
ghostClass: "sortable-ghost",
|
|
571
571
|
chosenClass: "sortable-chosen",
|
|
@@ -598,7 +598,7 @@ function S(t, e) {
|
|
|
598
598
|
xt.initializePlugins(this, t, a);
|
|
599
599
|
for (var n in a)
|
|
600
600
|
!(n in e) && (e[n] = a[n]);
|
|
601
|
-
|
|
601
|
+
yn(e);
|
|
602
602
|
for (var o in this)
|
|
603
603
|
o.charAt(0) === "_" && typeof this[o] == "function" && (this[o] = this[o].bind(this));
|
|
604
604
|
this.nativeDraggable = e.forceFallback ? !1 : Ho, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? R(t, "pointerdown", this._onTapStart) : (R(t, "mousedown", this._onTapStart), R(t, "touchstart", this._onTapStart)), this.nativeDraggable && (R(t, "dragover", this), R(t, "dragenter", this)), Rt.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), De(this, Ro());
|
|
@@ -671,10 +671,10 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
671
671
|
originalEvent: e
|
|
672
672
|
}), ce(h, l.chosenClass, !0);
|
|
673
673
|
}, l.ignore.split(",").forEach(function(c) {
|
|
674
|
-
|
|
674
|
+
pn(h, c.trim(), ta);
|
|
675
675
|
}), R(i, "dragover", ze), R(i, "mousemove", ze), R(i, "touchmove", ze), R(i, "mouseup", o._onDrop), R(i, "touchend", o._onDrop), R(i, "touchcancel", o._onDrop), Ua && this.nativeDraggable && (this.options.touchStartThreshold = 4, h.draggable = !0), le("delayStart", this, {
|
|
676
676
|
evt: e
|
|
677
|
-
}), l.delay && (!l.delayOnTouchOnly || a) && (!this.nativeDraggable || !(Tt ||
|
|
677
|
+
}), l.delay && (!l.delayOnTouchOnly || a) && (!this.nativeDraggable || !(Tt || Ne))) {
|
|
678
678
|
if (S.eventCanceled) {
|
|
679
679
|
this._onDrop();
|
|
680
680
|
return;
|
|
@@ -693,12 +693,12 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
693
693
|
},
|
|
694
694
|
_disableDelayedDragEvents: function() {
|
|
695
695
|
var e = this.el.ownerDocument;
|
|
696
|
-
|
|
696
|
+
P(e, "mouseup", this._disableDelayedDrag), P(e, "touchend", this._disableDelayedDrag), P(e, "touchcancel", this._disableDelayedDrag), P(e, "mousemove", this._delayedDragTouchMoveHandler), P(e, "touchmove", this._delayedDragTouchMoveHandler), P(e, "pointermove", this._delayedDragTouchMoveHandler);
|
|
697
697
|
},
|
|
698
698
|
_triggerDragStart: function(e, a) {
|
|
699
699
|
a = a || e.pointerType == "touch" && e, !this.nativeDraggable || a ? this.options.supportPointer ? R(document, "pointermove", this._onTouchMove) : a ? R(document, "touchmove", this._onTouchMove) : R(document, "mousemove", this._onTouchMove) : (R(h, "dragend", this), R($, "dragstart", this._onDragStart));
|
|
700
700
|
try {
|
|
701
|
-
document.selection ?
|
|
701
|
+
document.selection ? Ft(function() {
|
|
702
702
|
document.selection.empty();
|
|
703
703
|
}) : window.getSelection().removeAllRanges();
|
|
704
704
|
} catch {
|
|
@@ -720,7 +720,7 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
720
720
|
},
|
|
721
721
|
_emulateDragOver: function() {
|
|
722
722
|
if (ve) {
|
|
723
|
-
this._lastX = ve.clientX, this._lastY = ve.clientY,
|
|
723
|
+
this._lastX = ve.clientX, this._lastY = ve.clientY, vn();
|
|
724
724
|
for (var e = document.elementFromPoint(ve.clientX, ve.clientY), a = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(ve.clientX, ve.clientY), e !== a); )
|
|
725
725
|
a = e;
|
|
726
726
|
if (h.parentNode[pe]._isOutsideThisEl(e), a)
|
|
@@ -737,7 +737,7 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
737
737
|
}
|
|
738
738
|
e = a;
|
|
739
739
|
} while (a = a.parentNode);
|
|
740
|
-
|
|
740
|
+
Tn();
|
|
741
741
|
}
|
|
742
742
|
},
|
|
743
743
|
_onTouchMove: function(e) {
|
|
@@ -782,19 +782,19 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
782
782
|
this._onDrop();
|
|
783
783
|
return;
|
|
784
784
|
}
|
|
785
|
-
le("setupClone", this), S.eventCanceled || (Y =
|
|
785
|
+
le("setupClone", this), S.eventCanceled || (Y = fn(h), Y.draggable = !1, Y.style["will-change"] = "", this._hideClone(), ce(Y, this.options.chosenClass, !1), S.clone = Y), n.cloneId = Ft(function() {
|
|
786
786
|
le("clone", n), !S.eventCanceled && (n.options.removeCloneOnHide || $.insertBefore(Y, h), n._hideClone(), re({
|
|
787
787
|
sortable: n,
|
|
788
788
|
name: "clone"
|
|
789
789
|
}));
|
|
790
|
-
}), !a && ce(h, r.dragClass, !0), a ? (Mt = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (
|
|
790
|
+
}), !a && ce(h, r.dragClass, !0), a ? (Mt = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (P(document, "mouseup", n._onDrop), P(document, "touchend", n._onDrop), P(document, "touchcancel", n._onDrop), o && (o.effectAllowed = "move", r.setData && r.setData.call(n, o, h)), R(document, "drop", n), E(h, "transform", "translateZ(0)")), qe = !0, n._dragStartId = Ft(n._dragStarted.bind(n, a, e)), R(document, "selectstart", n), dt = !0, pt && E(document.body, "user-select", "none");
|
|
791
791
|
},
|
|
792
792
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
793
793
|
_onDragOver: function(e) {
|
|
794
794
|
var a = this.el, n = e.target, o, r, l, i = this.options, s = i.group, d = S.active, c = It === s, p = i.sort, m = ee || d, u, b = this, g = !1;
|
|
795
795
|
if (fa) return;
|
|
796
|
-
function B(
|
|
797
|
-
le(
|
|
796
|
+
function B(Fe, lt) {
|
|
797
|
+
le(Fe, b, Ie({
|
|
798
798
|
evt: e,
|
|
799
799
|
isOwner: c,
|
|
800
800
|
axis: u ? "vertical" : "horizontal",
|
|
@@ -805,8 +805,8 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
805
805
|
fromSortable: m,
|
|
806
806
|
target: n,
|
|
807
807
|
completed: y,
|
|
808
|
-
onMove: function(
|
|
809
|
-
return At($, a, h, o,
|
|
808
|
+
onMove: function(Pa, Kn) {
|
|
809
|
+
return At($, a, h, o, Pa, J(Pa), e, Kn);
|
|
810
810
|
},
|
|
811
811
|
changed: T
|
|
812
812
|
}, lt));
|
|
@@ -814,20 +814,20 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
814
814
|
function f() {
|
|
815
815
|
B("dragOverAnimationCapture"), b.captureAnimationState(), b !== m && m.captureAnimationState();
|
|
816
816
|
}
|
|
817
|
-
function y(
|
|
817
|
+
function y(Fe) {
|
|
818
818
|
return B("dragOverCompleted", {
|
|
819
|
-
insertion:
|
|
820
|
-
}),
|
|
819
|
+
insertion: Fe
|
|
820
|
+
}), Fe && (c ? d._hideClone() : d._showClone(b), b !== m && (ce(h, ee ? ee.options.ghostClass : d.options.ghostClass, !1), ce(h, i.ghostClass, !0)), ee !== b && b !== S.active ? ee = b : b === S.active && ee && (ee = null), m === b && (b._ignoreWhileAnimating = n), b.animateAll(function() {
|
|
821
821
|
B("dragOverAnimationComplete"), b._ignoreWhileAnimating = null;
|
|
822
|
-
}), b !== m && (m.animateAll(), m._ignoreWhileAnimating = null)), (n === h && !h.animated || n === a && !n.animated) && (Je = null), !i.dragoverBubble && !e.rootEl && n !== document && (h.parentNode[pe]._isOutsideThisEl(e.target), !
|
|
822
|
+
}), b !== m && (m.animateAll(), m._ignoreWhileAnimating = null)), (n === h && !h.animated || n === a && !n.animated) && (Je = null), !i.dragoverBubble && !e.rootEl && n !== document && (h.parentNode[pe]._isOutsideThisEl(e.target), !Fe && ze(e)), !i.dragoverBubble && e.stopPropagation && e.stopPropagation(), g = !0;
|
|
823
823
|
}
|
|
824
824
|
function T() {
|
|
825
|
-
ue = he(h),
|
|
825
|
+
ue = he(h), Pe = he(h, i.draggable), re({
|
|
826
826
|
sortable: b,
|
|
827
827
|
name: "change",
|
|
828
828
|
toEl: a,
|
|
829
829
|
newIndex: ue,
|
|
830
|
-
newDraggableIndex:
|
|
830
|
+
newDraggableIndex: Pe,
|
|
831
831
|
originalEvent: e
|
|
832
832
|
});
|
|
833
833
|
}
|
|
@@ -852,8 +852,8 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
852
852
|
return f(), a.insertBefore(h, L), H = a, T(), y(!0);
|
|
853
853
|
} else if (n.parentNode === a) {
|
|
854
854
|
r = J(n);
|
|
855
|
-
var D = 0,
|
|
856
|
-
Je !== n && (
|
|
855
|
+
var D = 0, F, C = h.parentNode !== a, _ = !Yo(h.animated && h.toRect || o, n.animated && n.toRect || r, u), A = u ? "top" : "left", U = Ha(n, "top", "top") || Ha(h, "top", "top"), ne = U ? U.scrollTop : void 0;
|
|
856
|
+
Je !== n && (F = r[A], gt = !1, Et = !_ && i.invertSwap || C), D = Ko(e, n, r, u, _ ? 1 : i.swapThreshold, i.invertedSwapThreshold == null ? i.swapThreshold : i.invertedSwapThreshold, Et, Je === n);
|
|
857
857
|
var z;
|
|
858
858
|
if (D !== 0) {
|
|
859
859
|
var fe = he(h);
|
|
@@ -864,11 +864,11 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
864
864
|
if (D === 0 || z === n)
|
|
865
865
|
return y(!1);
|
|
866
866
|
Je = n, ft = D;
|
|
867
|
-
var He = n.nextElementSibling,
|
|
868
|
-
|
|
869
|
-
var Se = At($, a, h, o, n, r, e,
|
|
867
|
+
var He = n.nextElementSibling, O = !1;
|
|
868
|
+
O = D === 1;
|
|
869
|
+
var Se = At($, a, h, o, n, r, e, O);
|
|
870
870
|
if (Se !== !1)
|
|
871
|
-
return (Se === 1 || Se === -1) && (
|
|
871
|
+
return (Se === 1 || Se === -1) && (O = Se === 1), fa = !0, setTimeout(Go, 30), f(), O && !He ? a.appendChild(h) : n.parentNode.insertBefore(h, O ? He : n), U && bn(U, 0, ne - U.scrollTop), H = h.parentNode, F !== void 0 && !Et && (Nt = Math.abs(F - J(n)[A])), T(), y(!0);
|
|
872
872
|
}
|
|
873
873
|
if (a.contains(h))
|
|
874
874
|
return y(!1);
|
|
@@ -877,21 +877,21 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
877
877
|
},
|
|
878
878
|
_ignoreWhileAnimating: null,
|
|
879
879
|
_offMoveEvents: function() {
|
|
880
|
-
|
|
880
|
+
P(document, "mousemove", this._onTouchMove), P(document, "touchmove", this._onTouchMove), P(document, "pointermove", this._onTouchMove), P(document, "dragover", ze), P(document, "mousemove", ze), P(document, "touchmove", ze);
|
|
881
881
|
},
|
|
882
882
|
_offUpEvents: function() {
|
|
883
883
|
var e = this.el.ownerDocument;
|
|
884
|
-
|
|
884
|
+
P(e, "mouseup", this._onDrop), P(e, "touchend", this._onDrop), P(e, "pointerup", this._onDrop), P(e, "touchcancel", this._onDrop), P(document, "selectstart", this);
|
|
885
885
|
},
|
|
886
886
|
_onDrop: function(e) {
|
|
887
887
|
var a = this.el, n = this.options;
|
|
888
|
-
if (ue = he(h),
|
|
888
|
+
if (ue = he(h), Pe = he(h, n.draggable), le("drop", this, {
|
|
889
889
|
evt: e
|
|
890
|
-
}), H = h && h.parentNode, ue = he(h),
|
|
890
|
+
}), H = h && h.parentNode, ue = he(h), Pe = he(h, n.draggable), S.eventCanceled) {
|
|
891
891
|
this._nulling();
|
|
892
892
|
return;
|
|
893
893
|
}
|
|
894
|
-
qe = !1, Et = !1, gt = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ga(this.cloneId), ga(this._dragStartId), this.nativeDraggable && (
|
|
894
|
+
qe = !1, Et = !1, gt = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ga(this.cloneId), ga(this._dragStartId), this.nativeDraggable && (P(document, "drop", this), P(a, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), pt && E(document.body, "user-select", ""), E(h, "transform", ""), e && (dt && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), k && k.parentNode && k.parentNode.removeChild(k), ($ === H || ee && ee.lastPutMode !== "clone") && Y && Y.parentNode && Y.parentNode.removeChild(Y), h && (this.nativeDraggable && P(h, "dragend", this), ta(h), h.style["will-change"] = "", dt && !qe && ce(h, ee ? ee.options.ghostClass : this.options.ghostClass, !1), ce(h, this.options.chosenClass, !1), re({
|
|
895
895
|
sortable: this,
|
|
896
896
|
name: "unchoose",
|
|
897
897
|
toEl: H,
|
|
@@ -930,7 +930,7 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
930
930
|
name: "sort",
|
|
931
931
|
toEl: H,
|
|
932
932
|
originalEvent: e
|
|
933
|
-
})), S.active && ((ue == null || ue === -1) && (ue = Qe,
|
|
933
|
+
})), S.active && ((ue == null || ue === -1) && (ue = Qe, Pe = bt), re({
|
|
934
934
|
sortable: this,
|
|
935
935
|
name: "end",
|
|
936
936
|
toEl: H,
|
|
@@ -938,7 +938,7 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
938
938
|
}), this.save()))), this._nulling();
|
|
939
939
|
},
|
|
940
940
|
_nulling: function() {
|
|
941
|
-
le("nulling", this), $ = h = H = k = je = Y = Dt = Me = Ye = ve = dt = ue =
|
|
941
|
+
le("nulling", this), $ = h = H = k = je = Y = Dt = Me = Ye = ve = dt = ue = Pe = Qe = bt = Je = ft = ee = It = S.dragged = S.ghost = S.clone = S.active = null, $t.forEach(function(e) {
|
|
942
942
|
e.checked = !0;
|
|
943
943
|
}), $t.length = qt = Qt = 0;
|
|
944
944
|
},
|
|
@@ -1006,7 +1006,7 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
1006
1006
|
if (a === void 0)
|
|
1007
1007
|
return n[e];
|
|
1008
1008
|
var o = xt.modifyOption(this, e, a);
|
|
1009
|
-
typeof o < "u" ? n[e] = o : n[e] = a, e === "group" &&
|
|
1009
|
+
typeof o < "u" ? n[e] = o : n[e] = a, e === "group" && yn(n);
|
|
1010
1010
|
},
|
|
1011
1011
|
/**
|
|
1012
1012
|
* Destroy
|
|
@@ -1014,7 +1014,7 @@ S.prototype = /** @lends Sortable.prototype */
|
|
|
1014
1014
|
destroy: function() {
|
|
1015
1015
|
le("destroy", this);
|
|
1016
1016
|
var e = this.el;
|
|
1017
|
-
e[pe] = null,
|
|
1017
|
+
e[pe] = null, P(e, "mousedown", this._onTapStart), P(e, "touchstart", this._onTapStart), P(e, "pointerdown", this._onTapStart), this.nativeDraggable && (P(e, "dragover", this), P(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(a) {
|
|
1018
1018
|
a.removeAttribute("draggable");
|
|
1019
1019
|
}), this._onDrop(), this._disableDelayedDragEvents(), Rt.splice(Rt.indexOf(this.el), 1), this.el = e = null;
|
|
1020
1020
|
},
|
|
@@ -1040,7 +1040,7 @@ function Wo(t) {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
function At(t, e, a, n, o, r, l, i) {
|
|
1042
1042
|
var s, d = t[pe], c = d.options.onMove, p;
|
|
1043
|
-
return window.CustomEvent && !
|
|
1043
|
+
return window.CustomEvent && !Ne && !Tt ? s = new CustomEvent("move", {
|
|
1044
1044
|
bubbles: !0,
|
|
1045
1045
|
cancelable: !0
|
|
1046
1046
|
}) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = t, s.dragged = a, s.draggedRect = n, s.related = o || e, s.relatedRect = r || J(e), s.willInsertAfter = i, s.originalEvent = l, t.dispatchEvent(s), c && (p = c.call(d, s, l)), p;
|
|
@@ -1062,10 +1062,10 @@ function Jo(t, e, a) {
|
|
|
1062
1062
|
function Ko(t, e, a, n, o, r, l, i) {
|
|
1063
1063
|
var s = n ? t.clientY : t.clientX, d = n ? a.height : a.width, c = n ? a.top : a.left, p = n ? a.bottom : a.right, m = !1;
|
|
1064
1064
|
if (!l) {
|
|
1065
|
-
if (i &&
|
|
1065
|
+
if (i && Nt < d * o) {
|
|
1066
1066
|
if (!gt && (ft === 1 ? s > c + d * r / 2 : s < p - d * r / 2) && (gt = !0), gt)
|
|
1067
1067
|
m = !0;
|
|
1068
|
-
else if (ft === 1 ? s < c +
|
|
1068
|
+
else if (ft === 1 ? s < c + Nt : s > p - Nt)
|
|
1069
1069
|
return -ft;
|
|
1070
1070
|
} else if (s > c + d * (1 - o) / 2 && s < p - d * (1 - o) / 2)
|
|
1071
1071
|
return qo(e);
|
|
@@ -1087,7 +1087,7 @@ function er(t) {
|
|
|
1087
1087
|
n.checked && $t.push(n);
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
|
-
function
|
|
1090
|
+
function Ft(t) {
|
|
1091
1091
|
return setTimeout(t, 0);
|
|
1092
1092
|
}
|
|
1093
1093
|
function ga(t) {
|
|
@@ -1098,21 +1098,21 @@ Ht && R(document, "touchmove", function(t) {
|
|
|
1098
1098
|
});
|
|
1099
1099
|
S.utils = {
|
|
1100
1100
|
on: R,
|
|
1101
|
-
off:
|
|
1101
|
+
off: P,
|
|
1102
1102
|
css: E,
|
|
1103
|
-
find:
|
|
1103
|
+
find: pn,
|
|
1104
1104
|
is: function(e, a) {
|
|
1105
1105
|
return !!Ce(e, a, e, !1);
|
|
1106
1106
|
},
|
|
1107
|
-
extend:
|
|
1108
|
-
throttle:
|
|
1107
|
+
extend: Po,
|
|
1108
|
+
throttle: mn,
|
|
1109
1109
|
closest: Ce,
|
|
1110
1110
|
toggleClass: ce,
|
|
1111
|
-
clone:
|
|
1111
|
+
clone: fn,
|
|
1112
1112
|
index: he,
|
|
1113
|
-
nextTick:
|
|
1113
|
+
nextTick: Ft,
|
|
1114
1114
|
cancelNextTick: ga,
|
|
1115
|
-
detectDirection:
|
|
1115
|
+
detectDirection: hn,
|
|
1116
1116
|
getChild: at
|
|
1117
1117
|
};
|
|
1118
1118
|
S.get = function(t) {
|
|
@@ -1154,7 +1154,7 @@ function tr() {
|
|
|
1154
1154
|
!this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
|
|
1155
1155
|
},
|
|
1156
1156
|
drop: function() {
|
|
1157
|
-
this.sortable.nativeDraggable ?
|
|
1157
|
+
this.sortable.nativeDraggable ? P(document, "dragover", this._handleAutoScroll) : (P(document, "pointermove", this._handleFallbackAutoScroll), P(document, "touchmove", this._handleFallbackAutoScroll), P(document, "mousemove", this._handleFallbackAutoScroll)), Ga(), Ot(), Mo();
|
|
1158
1158
|
},
|
|
1159
1159
|
nulling: function() {
|
|
1160
1160
|
Zt = ha = ct = ya = ut = aa = na = null, X.length = 0;
|
|
@@ -1164,16 +1164,16 @@ function tr() {
|
|
|
1164
1164
|
},
|
|
1165
1165
|
_handleAutoScroll: function(a, n) {
|
|
1166
1166
|
var o = this, r = (a.touches ? a.touches[0] : a).clientX, l = (a.touches ? a.touches[0] : a).clientY, i = document.elementFromPoint(r, l);
|
|
1167
|
-
if (Zt = a, n || this.options.forceAutoScrollFallback || Tt ||
|
|
1167
|
+
if (Zt = a, n || this.options.forceAutoScrollFallback || Tt || Ne || pt) {
|
|
1168
1168
|
oa(a, this.options, i, n);
|
|
1169
1169
|
var s = Re(i, !0);
|
|
1170
1170
|
ya && (!ut || r !== aa || l !== na) && (ut && Ga(), ut = setInterval(function() {
|
|
1171
1171
|
var d = Re(document.elementFromPoint(r, l), !0);
|
|
1172
|
-
d !== s && (s = d,
|
|
1172
|
+
d !== s && (s = d, Ot()), oa(a, o.options, d, n);
|
|
1173
1173
|
}, 10), aa = r, na = l);
|
|
1174
1174
|
} else {
|
|
1175
1175
|
if (!this.options.bubbleScroll || Re(i, !0) === we()) {
|
|
1176
|
-
|
|
1176
|
+
Ot();
|
|
1177
1177
|
return;
|
|
1178
1178
|
}
|
|
1179
1179
|
oa(a, this.options, Re(i, !1), !1);
|
|
@@ -1184,7 +1184,7 @@ function tr() {
|
|
|
1184
1184
|
initializeByDefault: !0
|
|
1185
1185
|
});
|
|
1186
1186
|
}
|
|
1187
|
-
function
|
|
1187
|
+
function Ot() {
|
|
1188
1188
|
X.forEach(function(t) {
|
|
1189
1189
|
clearInterval(t.pid);
|
|
1190
1190
|
}), X = [];
|
|
@@ -1192,29 +1192,29 @@ function Pt() {
|
|
|
1192
1192
|
function Ga() {
|
|
1193
1193
|
clearInterval(ut);
|
|
1194
1194
|
}
|
|
1195
|
-
var oa =
|
|
1195
|
+
var oa = mn(function(t, e, a, n) {
|
|
1196
1196
|
if (e.scroll) {
|
|
1197
1197
|
var o = (t.touches ? t.touches[0] : t).clientX, r = (t.touches ? t.touches[0] : t).clientY, l = e.scrollSensitivity, i = e.scrollSpeed, s = we(), d = !1, c;
|
|
1198
|
-
ha !== a && (ha = a,
|
|
1198
|
+
ha !== a && (ha = a, Ot(), ct = e.scroll, c = e.scrollFn, ct === !0 && (ct = Re(a, !0)));
|
|
1199
1199
|
var p = 0, m = ct;
|
|
1200
1200
|
do {
|
|
1201
|
-
var u = m, b = J(u), g = b.top, B = b.bottom, f = b.left, y = b.right, T = b.width, x = b.height, L = void 0, D = void 0,
|
|
1202
|
-
u === s ? (L = T <
|
|
1203
|
-
var ne = L && (Math.abs(y - o) <= l && A + T <
|
|
1201
|
+
var u = m, b = J(u), g = b.top, B = b.bottom, f = b.left, y = b.right, T = b.width, x = b.height, L = void 0, D = void 0, F = u.scrollWidth, C = u.scrollHeight, _ = E(u), A = u.scrollLeft, U = u.scrollTop;
|
|
1202
|
+
u === s ? (L = T < F && (_.overflowX === "auto" || _.overflowX === "scroll" || _.overflowX === "visible"), D = x < C && (_.overflowY === "auto" || _.overflowY === "scroll" || _.overflowY === "visible")) : (L = T < F && (_.overflowX === "auto" || _.overflowX === "scroll"), D = x < C && (_.overflowY === "auto" || _.overflowY === "scroll"));
|
|
1203
|
+
var ne = L && (Math.abs(y - o) <= l && A + T < F) - (Math.abs(f - o) <= l && !!A), z = D && (Math.abs(B - r) <= l && U + x < C) - (Math.abs(g - r) <= l && !!U);
|
|
1204
1204
|
if (!X[p])
|
|
1205
1205
|
for (var fe = 0; fe <= p; fe++)
|
|
1206
1206
|
X[fe] || (X[fe] = {});
|
|
1207
1207
|
(X[p].vx != ne || X[p].vy != z || X[p].el !== u) && (X[p].el = u, X[p].vx = ne, X[p].vy = z, clearInterval(X[p].pid), (ne != 0 || z != 0) && (d = !0, X[p].pid = setInterval((function() {
|
|
1208
1208
|
n && this.layer === 0 && S.active._onTouchMove(Zt);
|
|
1209
|
-
var He = X[this.layer].vy ? X[this.layer].vy * i : 0,
|
|
1210
|
-
typeof c == "function" && c.call(S.dragged.parentNode[pe],
|
|
1209
|
+
var He = X[this.layer].vy ? X[this.layer].vy * i : 0, O = X[this.layer].vx ? X[this.layer].vx * i : 0;
|
|
1210
|
+
typeof c == "function" && c.call(S.dragged.parentNode[pe], O, He, t, Zt, X[this.layer].el) !== "continue" || bn(X[this.layer].el, O, He);
|
|
1211
1211
|
}).bind({
|
|
1212
1212
|
layer: p
|
|
1213
1213
|
}), 24))), p++;
|
|
1214
1214
|
} while (e.bubbleScroll && m !== s && (m = Re(m, !1)));
|
|
1215
1215
|
ya = d;
|
|
1216
1216
|
}
|
|
1217
|
-
}, 30),
|
|
1217
|
+
}, 30), xn = function(e) {
|
|
1218
1218
|
var a = e.originalEvent, n = e.putSortable, o = e.dragEl, r = e.activeSortable, l = e.dispatchSortableEvent, i = e.hideGhostForTarget, s = e.unhideGhostForTarget;
|
|
1219
1219
|
if (a) {
|
|
1220
1220
|
var d = n || r;
|
|
@@ -1240,7 +1240,7 @@ Aa.prototype = {
|
|
|
1240
1240
|
var o = at(this.sortable.el, this.startIndex, this.options);
|
|
1241
1241
|
o ? this.sortable.el.insertBefore(a, o) : this.sortable.el.appendChild(a), this.sortable.animateAll(), n && n.animateAll();
|
|
1242
1242
|
},
|
|
1243
|
-
drop:
|
|
1243
|
+
drop: xn
|
|
1244
1244
|
};
|
|
1245
1245
|
De(Aa, {
|
|
1246
1246
|
pluginName: "revertOnSpill"
|
|
@@ -1252,7 +1252,7 @@ Ba.prototype = {
|
|
|
1252
1252
|
var a = e.dragEl, n = e.putSortable, o = n || this.sortable;
|
|
1253
1253
|
o.captureAnimationState(), a.parentNode && a.parentNode.removeChild(a), o.animateAll();
|
|
1254
1254
|
},
|
|
1255
|
-
drop:
|
|
1255
|
+
drop: xn
|
|
1256
1256
|
};
|
|
1257
1257
|
De(Ba, {
|
|
1258
1258
|
pluginName: "removeOnSpill"
|
|
@@ -1276,10 +1276,10 @@ function or(t) {
|
|
|
1276
1276
|
return e[n] || (e[n] = t(n));
|
|
1277
1277
|
};
|
|
1278
1278
|
}
|
|
1279
|
-
const rr = /-(\w)/g, ir = or((t) => t.replace(rr, (e, a) => a.toUpperCase())),
|
|
1280
|
-
manage:
|
|
1281
|
-
manageAndEmit:
|
|
1282
|
-
emit:
|
|
1279
|
+
const rr = /-(\w)/g, ir = or((t) => t.replace(rr, (e, a) => a.toUpperCase())), Cn = ["Start", "Add", "Remove", "Update", "End"], _n = ["Choose", "Unchoose", "Sort", "Filter", "Clone"], wn = ["Move"], lr = [wn, Cn, _n].flatMap((t) => t).map((t) => `on${t}`), va = {
|
|
1280
|
+
manage: wn,
|
|
1281
|
+
manageAndEmit: Cn,
|
|
1282
|
+
emit: _n
|
|
1283
1283
|
};
|
|
1284
1284
|
function sr(t) {
|
|
1285
1285
|
return lr.indexOf(t) !== -1;
|
|
@@ -1409,22 +1409,22 @@ function cr(t) {
|
|
|
1409
1409
|
function ur(t) {
|
|
1410
1410
|
return ["transition-group", "TransitionGroup"].includes(t);
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function In(t) {
|
|
1413
1413
|
return ["id", "class", "role", "style"].includes(t) || t.startsWith("data-") || t.startsWith("aria-") || t.startsWith("on");
|
|
1414
1414
|
}
|
|
1415
|
-
function
|
|
1415
|
+
function En(t) {
|
|
1416
1416
|
return t.reduce((e, [a, n]) => (e[a] = n, e), {});
|
|
1417
1417
|
}
|
|
1418
1418
|
function pr({ $attrs: t, componentData: e = {} }) {
|
|
1419
1419
|
return {
|
|
1420
|
-
...
|
|
1421
|
-
Object.entries(t).filter(([n, o]) =>
|
|
1420
|
+
...En(
|
|
1421
|
+
Object.entries(t).filter(([n, o]) => In(n))
|
|
1422
1422
|
),
|
|
1423
1423
|
...e
|
|
1424
1424
|
};
|
|
1425
1425
|
}
|
|
1426
1426
|
function mr({ $attrs: t, callBackBuilder: e }) {
|
|
1427
|
-
const a = Sn(
|
|
1427
|
+
const a = En(Sn(t));
|
|
1428
1428
|
Object.entries(e).forEach(([o, r]) => {
|
|
1429
1429
|
va[o].forEach((l) => {
|
|
1430
1430
|
a[`on${l}`] = r(l);
|
|
@@ -1436,8 +1436,8 @@ function mr({ $attrs: t, callBackBuilder: e }) {
|
|
|
1436
1436
|
draggable: n
|
|
1437
1437
|
};
|
|
1438
1438
|
}
|
|
1439
|
-
function
|
|
1440
|
-
return Object.entries(t).filter(([e, a]) => !
|
|
1439
|
+
function Sn(t) {
|
|
1440
|
+
return Object.entries(t).filter(([e, a]) => !In(e)).map(([e, a]) => [ir(e), a]).filter(([e, a]) => !sr(e));
|
|
1441
1441
|
}
|
|
1442
1442
|
const Ja = ({ el: t }) => t, br = (t, e) => t.__draggable_context = e, Ka = (t) => t.__draggable_context;
|
|
1443
1443
|
class fr {
|
|
@@ -1508,26 +1508,26 @@ function yr(t) {
|
|
|
1508
1508
|
return {
|
|
1509
1509
|
transition: e,
|
|
1510
1510
|
externalComponent: a,
|
|
1511
|
-
tag: a ? V(t) : e ?
|
|
1511
|
+
tag: a ? V(t) : e ? qn : t
|
|
1512
1512
|
};
|
|
1513
1513
|
}
|
|
1514
1514
|
function vr({ $slots: t, tag: e, realList: a, getKey: n }) {
|
|
1515
1515
|
const o = hr({ $slots: t, realList: a, getKey: n }), r = yr(e);
|
|
1516
1516
|
return new fr({ nodes: o, root: r, realList: a });
|
|
1517
1517
|
}
|
|
1518
|
-
function
|
|
1519
|
-
|
|
1518
|
+
function An(t, e) {
|
|
1519
|
+
rn(() => this.$emit(t.toLowerCase(), e));
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function Bn(t) {
|
|
1522
1522
|
return (e, a) => {
|
|
1523
1523
|
if (this.realList !== null)
|
|
1524
1524
|
return this[`onDrag${t}`](e, a);
|
|
1525
1525
|
};
|
|
1526
1526
|
}
|
|
1527
1527
|
function Tr(t) {
|
|
1528
|
-
const e =
|
|
1528
|
+
const e = Bn.call(this, t);
|
|
1529
1529
|
return (a, n) => {
|
|
1530
|
-
e.call(this, a, n),
|
|
1530
|
+
e.call(this, a, n), An.call(this, t, a);
|
|
1531
1531
|
};
|
|
1532
1532
|
}
|
|
1533
1533
|
let ia = null;
|
|
@@ -1567,7 +1567,7 @@ const xr = {
|
|
|
1567
1567
|
"update:modelValue",
|
|
1568
1568
|
"change",
|
|
1569
1569
|
...[...va.manageAndEmit, ...va.emit].map((t) => t.toLowerCase())
|
|
1570
|
-
],
|
|
1570
|
+
], Ln = se({
|
|
1571
1571
|
name: "draggable",
|
|
1572
1572
|
inheritAttrs: !1,
|
|
1573
1573
|
props: xr,
|
|
@@ -1607,8 +1607,8 @@ const xr = {
|
|
|
1607
1607
|
$attrs: t,
|
|
1608
1608
|
callBackBuilder: {
|
|
1609
1609
|
manageAndEmit: (r) => Tr.call(this, r),
|
|
1610
|
-
emit: (r) =>
|
|
1611
|
-
manage: (r) =>
|
|
1610
|
+
emit: (r) => An.bind(this, r),
|
|
1611
|
+
manage: (r) => Bn.call(this, r)
|
|
1612
1612
|
}
|
|
1613
1613
|
}), o = e.nodeType === 1 ? e : e.parentElement;
|
|
1614
1614
|
this._sortable = new S(o, n), this.targetDomElement = o, o.__draggable_component__ = this;
|
|
@@ -1633,7 +1633,7 @@ const xr = {
|
|
|
1633
1633
|
$attrs: {
|
|
1634
1634
|
handler(t) {
|
|
1635
1635
|
const { _sortable: e } = this;
|
|
1636
|
-
e &&
|
|
1636
|
+
e && Sn(t).forEach(([a, n]) => {
|
|
1637
1637
|
e.option(a, n);
|
|
1638
1638
|
});
|
|
1639
1639
|
},
|
|
@@ -1648,7 +1648,7 @@ const xr = {
|
|
|
1648
1648
|
return t.__draggable_component__;
|
|
1649
1649
|
},
|
|
1650
1650
|
emitChanges(t) {
|
|
1651
|
-
|
|
1651
|
+
rn(() => this.$emit("change", t));
|
|
1652
1652
|
},
|
|
1653
1653
|
alterList(t) {
|
|
1654
1654
|
if (this.list) {
|
|
@@ -2005,7 +2005,7 @@ const xr = {
|
|
|
2005
2005
|
autoRotation: !0,
|
|
2006
2006
|
rotationInterval: "3s",
|
|
2007
2007
|
objectFit: "cover"
|
|
2008
|
-
},
|
|
2008
|
+
}, kn = {
|
|
2009
2009
|
memberImage: "",
|
|
2010
2010
|
memberName: "Member",
|
|
2011
2011
|
memberTierName: "Tier 1",
|
|
@@ -2026,7 +2026,7 @@ const xr = {
|
|
|
2026
2026
|
borderRadius: "12px",
|
|
2027
2027
|
boxShadow: "0px 4px 8px 0px rgba(199, 199, 204, 0.24), 0px 4px 8px 0px color(display-p3 0.7804 0.7804 0.8 / 0.24)"
|
|
2028
2028
|
}),
|
|
2029
|
-
data:
|
|
2029
|
+
data: kn,
|
|
2030
2030
|
showCredit: !0,
|
|
2031
2031
|
showPoints: !0,
|
|
2032
2032
|
showTier: !0,
|
|
@@ -2073,7 +2073,7 @@ const xr = {
|
|
|
2073
2073
|
iconColor: "#FF7823",
|
|
2074
2074
|
labelColor: "#1C1C1E",
|
|
2075
2075
|
sublabelColor: "#6B6B6B"
|
|
2076
|
-
},
|
|
2076
|
+
}, Dn = [
|
|
2077
2077
|
{
|
|
2078
2078
|
thumbnailPhoto: "",
|
|
2079
2079
|
restaurantName: "Coffee Restaurant",
|
|
@@ -2103,9 +2103,9 @@ const xr = {
|
|
|
2103
2103
|
borderRadius: "12px",
|
|
2104
2104
|
boxShadow: "0px 4px 8px 0px rgba(199, 199, 204, 0.24), 0px 4px 8px 0px color(display-p3 0.7804 0.7804 0.8 / 0.24)"
|
|
2105
2105
|
}),
|
|
2106
|
-
data:
|
|
2106
|
+
data: Dn,
|
|
2107
2107
|
signedIn: !0
|
|
2108
|
-
},
|
|
2108
|
+
}, Nr = {
|
|
2109
2109
|
memberImage: "",
|
|
2110
2110
|
memberName: "Member",
|
|
2111
2111
|
memberTierName: "Tier 1",
|
|
@@ -2119,7 +2119,7 @@ const xr = {
|
|
|
2119
2119
|
tiers: ["Tier 1", "Tier 2", "Tier 3", "Tier 4"],
|
|
2120
2120
|
titles: ["Title 1", "Title 2", "Title 3", "Title 4", "Title 5"]
|
|
2121
2121
|
}
|
|
2122
|
-
},
|
|
2122
|
+
}, Fr = {
|
|
2123
2123
|
...xe({
|
|
2124
2124
|
marginLeft: "12px",
|
|
2125
2125
|
marginRight: "12px",
|
|
@@ -2130,16 +2130,16 @@ const xr = {
|
|
|
2130
2130
|
borderRadius: "12px",
|
|
2131
2131
|
boxShadow: "0px 4px 8px 0px rgba(199, 199, 204, 0.24), 0px 4px 8px 0px color(display-p3 0.7804 0.7804 0.8 / 0.24)"
|
|
2132
2132
|
}),
|
|
2133
|
-
data:
|
|
2133
|
+
data: Nr,
|
|
2134
2134
|
showTier: !0,
|
|
2135
2135
|
showTitle: !0,
|
|
2136
2136
|
tierColor: "#1F7735",
|
|
2137
2137
|
titleColor: "#FF7823",
|
|
2138
2138
|
buttonTextColor: "#6b6b6b",
|
|
2139
2139
|
buttonFillColor: "#f2f2f7"
|
|
2140
|
-
}, Pr = {
|
|
2141
|
-
cards: []
|
|
2142
2140
|
}, Or = {
|
|
2141
|
+
cards: []
|
|
2142
|
+
}, Pr = {
|
|
2143
2143
|
...xe({
|
|
2144
2144
|
marginLeft: "12px",
|
|
2145
2145
|
marginRight: "12px",
|
|
@@ -2150,7 +2150,7 @@ const xr = {
|
|
|
2150
2150
|
borderRadius: "12px",
|
|
2151
2151
|
boxShadow: "0px 4px 8px 0px rgba(199, 199, 204, 0.24), 0px 4px 8px 0px color(display-p3 0.7804 0.7804 0.8 / 0.24)"
|
|
2152
2152
|
}),
|
|
2153
|
-
data:
|
|
2153
|
+
data: Or,
|
|
2154
2154
|
cardFillColor: "#F2F2F7",
|
|
2155
2155
|
cardTextColor: "#6B6B6B"
|
|
2156
2156
|
}, Mr = {
|
|
@@ -5268,9 +5268,9 @@ const xr = {
|
|
|
5268
5268
|
Homepage: _r,
|
|
5269
5269
|
ImageCarousel: Ar,
|
|
5270
5270
|
ImageDisplay: Sr,
|
|
5271
|
-
MemberAchievements:
|
|
5271
|
+
MemberAchievements: Fr,
|
|
5272
5272
|
MemberCard: Br,
|
|
5273
|
-
MemberCards:
|
|
5273
|
+
MemberCards: Pr,
|
|
5274
5274
|
MemberSummary: Rr,
|
|
5275
5275
|
OrderHistoryCard: Dr,
|
|
5276
5276
|
OrderMethod: Lr,
|
|
@@ -5282,10 +5282,10 @@ const xr = {
|
|
|
5282
5282
|
_ReferralTutorial: Vr
|
|
5283
5283
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5284
5284
|
function Yr(t) {
|
|
5285
|
-
const e = (a) => Array.isArray(a) ? a.map((n) => e(n)) :
|
|
5285
|
+
const e = (a) => Array.isArray(a) ? a.map((n) => e(n)) : Qn(a) || eo(a) || to(a) ? e(ao(a)) : a && typeof a == "object" ? Object.keys(a).reduce((n, o) => (n[o] = e(a[o]), n), {}) : a;
|
|
5286
5286
|
return e(t);
|
|
5287
5287
|
}
|
|
5288
|
-
const Ue =
|
|
5288
|
+
const Ue = mo("editor", () => {
|
|
5289
5289
|
const t = q({
|
|
5290
5290
|
node: [],
|
|
5291
5291
|
selectedNode: null,
|
|
@@ -5299,13 +5299,13 @@ const Ue = fo("editor", () => {
|
|
|
5299
5299
|
t.value.firstFetchedData = JSON.stringify(d), t.value.node = [d];
|
|
5300
5300
|
}
|
|
5301
5301
|
async function n(d, c) {
|
|
5302
|
-
await
|
|
5302
|
+
await po.getTemplateById(d, "drafts", c).then((p) => {
|
|
5303
5303
|
p && (a(p[0]), o(p[0]));
|
|
5304
5304
|
}).catch(async (p) => {
|
|
5305
5305
|
var b;
|
|
5306
5306
|
const m = Ct(), u = Ge();
|
|
5307
|
-
if (p instanceof
|
|
5308
|
-
const g =
|
|
5307
|
+
if (p instanceof go && ((b = p.response) == null ? void 0 : b.data) == "Template not found") {
|
|
5308
|
+
const g = fo.find(
|
|
5309
5309
|
(B) => B.templateId == c
|
|
5310
5310
|
);
|
|
5311
5311
|
if (g) {
|
|
@@ -5416,10 +5416,10 @@ const zr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
|
|
|
5416
5416
|
const l = ie(() => qa.filter(
|
|
5417
5417
|
(i) => i.group == o.value || i.group == "all"
|
|
5418
5418
|
));
|
|
5419
|
-
return (i, s) => (
|
|
5420
|
-
(
|
|
5419
|
+
return (i, s) => (N(), Z("div", zr, [
|
|
5420
|
+
(N(!0), Z(Le, null, vt(l.value, (d, c) => (N(), Z("section", jr, [
|
|
5421
5421
|
I("div", Wr, j(v(n)(d.title)), 1),
|
|
5422
|
-
w(v(
|
|
5422
|
+
w(v(Ln), {
|
|
5423
5423
|
list: d.children,
|
|
5424
5424
|
group: { name: "components", pull: "clone", put: !1 },
|
|
5425
5425
|
sort: !1,
|
|
@@ -5429,7 +5429,7 @@ const zr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
|
|
|
5429
5429
|
}, {
|
|
5430
5430
|
item: M(({ element: p }) => [
|
|
5431
5431
|
I("div", Gr, [
|
|
5432
|
-
w(
|
|
5432
|
+
w(ho, {
|
|
5433
5433
|
class: "text-[24px] text-fm-color-typo-secondary",
|
|
5434
5434
|
name: p.icon
|
|
5435
5435
|
}, null, 8, ["name"]),
|
|
@@ -5438,7 +5438,7 @@ const zr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
|
|
|
5438
5438
|
]),
|
|
5439
5439
|
_: 2
|
|
5440
5440
|
}, 1032, ["list"]),
|
|
5441
|
-
c !== v(qa).length - 1 ? (
|
|
5441
|
+
c !== v(qa).length - 1 ? (N(), ae(sn, {
|
|
5442
5442
|
key: 0,
|
|
5443
5443
|
class: "mt-12"
|
|
5444
5444
|
})) : Q("", !0)
|
|
@@ -5448,7 +5448,7 @@ const zr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
|
|
|
5448
5448
|
}), Kr = { class: "absolute z-10 flex items-center gap-8 bottom-24 left-1/2 transform -translate-x-1/2 bg-fm-color-neutral-white border border-fm-color-neutral-gray-100 rounded-lg p-8 shadow-light-600" }, qr = /* @__PURE__ */ se({
|
|
5449
5449
|
__name: "EditorFloatingToobar",
|
|
5450
5450
|
setup(t) {
|
|
5451
|
-
const e = Ue(), { state: a } =
|
|
5451
|
+
const e = Ue(), { state: a } = bo(e), n = Ct(), o = ie(
|
|
5452
5452
|
() => a.value.selectedNode && a.value.node.length > 0
|
|
5453
5453
|
), r = [
|
|
5454
5454
|
// {
|
|
@@ -5490,8 +5490,8 @@ const zr = { class: "flex flex-col gap-24 h-full flex-shrink-0 w-[320px] bg-fm-c
|
|
|
5490
5490
|
];
|
|
5491
5491
|
return (l, i) => {
|
|
5492
5492
|
const s = V("FmButton");
|
|
5493
|
-
return
|
|
5494
|
-
(
|
|
5493
|
+
return N(), Z("div", Kr, [
|
|
5494
|
+
(N(), Z(Le, null, vt(r, (d) => w(s, {
|
|
5495
5495
|
size: "md",
|
|
5496
5496
|
"prepend-icon": d.icon,
|
|
5497
5497
|
onClick: d.action,
|
|
@@ -5952,7 +5952,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
5952
5952
|
const l = e;
|
|
5953
5953
|
return (i, s) => {
|
|
5954
5954
|
const d = V("FmIcon"), c = V("FmButton"), p = V("FmDialog");
|
|
5955
|
-
return
|
|
5955
|
+
return N(), ae(p, {
|
|
5956
5956
|
"model-value": i.show,
|
|
5957
5957
|
"close-button": !1
|
|
5958
5958
|
}, {
|
|
@@ -6036,7 +6036,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6036
6036
|
}), Ti = { class: "flex items-center gap-8 select-none px-8 py-8 rounded-md active:bg-fm-color-opacity-md transition-all duration-500 cursor-pointer" }, xi = { class: "bg-fm-color-neutral-white px-8 py-8 border border-fm-color-opacity-sm rounded-sm" }, Ci = { class: "py-8 px-12 w-full flex items-center justify-between gap-8 transition-all duration-500" }, _i = { class: "flex items-center gap-8" }, wi = { class: "fm-typo-en-body-md-600 text-fm-color-typo-primary" }, Ii = { class: "flex items-center gap-8" }, Ei = { class: "overflow-y-auto" }, Si = { class: "flex items-center gap-8" }, Ai = { class: "fm-typo-en-body-md-400 text-fm-color-primary" }, Bi = { class: "fm-typo-en-body-md-400 text-fm-color-primary" }, Li = /* @__PURE__ */ se({
|
|
6037
6037
|
__name: "TemplatePicker",
|
|
6038
6038
|
setup(t) {
|
|
6039
|
-
const e = q(!1), a = q(""), n = q(""), o = q(!1), r = q("default"), l = We(), i = Ge(), s = Ue(), d = Ct(), c =
|
|
6039
|
+
const e = q(!1), a = q(""), n = q(""), o = q(!1), r = q("default"), l = We(), i = Ge(), s = Ue(), d = Ct(), c = dn(), p = To(), m = Ia(), { t: u } = Ze(), b = ie(
|
|
6040
6040
|
() => i.state.allTemplates.filter(
|
|
6041
6041
|
(C) => {
|
|
6042
6042
|
var _;
|
|
@@ -6162,7 +6162,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6162
6162
|
isLoading: A
|
|
6163
6163
|
},
|
|
6164
6164
|
secondaryActions: { text: u("brand.template.picker.cancel"), close: !0 },
|
|
6165
|
-
contentComponent: ma(
|
|
6165
|
+
contentComponent: ma(xo.FmTextField, {
|
|
6166
6166
|
modelValue: _,
|
|
6167
6167
|
"onUpdate:modelValue": (ne) => _.value = ne
|
|
6168
6168
|
})
|
|
@@ -6183,7 +6183,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6183
6183
|
);
|
|
6184
6184
|
});
|
|
6185
6185
|
}
|
|
6186
|
-
function
|
|
6186
|
+
function F(C) {
|
|
6187
6187
|
e.value = !1;
|
|
6188
6188
|
const _ = q(!1);
|
|
6189
6189
|
p.open({
|
|
@@ -6229,21 +6229,21 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6229
6229
|
}
|
|
6230
6230
|
), (C, _) => {
|
|
6231
6231
|
const A = V("FmIcon"), U = V("FmChip"), ne = V("FmMenuDivider"), z = V("FmSearch"), fe = V("FmMenuItem"), He = V("FmPopover");
|
|
6232
|
-
return
|
|
6232
|
+
return N(), Z(Le, null, [
|
|
6233
6233
|
w(He, {
|
|
6234
6234
|
width: 300,
|
|
6235
6235
|
"max-height": 400,
|
|
6236
|
-
onPopoverChanged: _[4] || (_[4] = (
|
|
6236
|
+
onPopoverChanged: _[4] || (_[4] = (O) => e.value = O),
|
|
6237
6237
|
"show-popover": e.value
|
|
6238
6238
|
}, {
|
|
6239
6239
|
"popover-button": M(() => {
|
|
6240
|
-
var
|
|
6240
|
+
var O, Se;
|
|
6241
6241
|
return [
|
|
6242
6242
|
I("div", Ti, [
|
|
6243
|
-
(
|
|
6243
|
+
(O = v(i).state.selectedTemplate) != null && O.isPublished && ![
|
|
6244
6244
|
v(i).state.activeTemplateId,
|
|
6245
6245
|
v(i).state.activeMemberTemplateId
|
|
6246
|
-
].includes(v(i).state.selectedTemplate.templateId) ? (
|
|
6246
|
+
].includes(v(i).state.selectedTemplate.templateId) ? (N(), ae(U, {
|
|
6247
6247
|
key: 0,
|
|
6248
6248
|
class: "bg-fm-color-system-success-100",
|
|
6249
6249
|
compact: ""
|
|
@@ -6260,7 +6260,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6260
6260
|
v(i).state.selectedTemplate && [
|
|
6261
6261
|
v(i).state.activeTemplateId,
|
|
6262
6262
|
v(i).state.activeMemberTemplateId
|
|
6263
|
-
].includes(v(i).state.selectedTemplate.templateId) ? (
|
|
6263
|
+
].includes(v(i).state.selectedTemplate.templateId) ? (N(), ae(U, {
|
|
6264
6264
|
key: 1,
|
|
6265
6265
|
class: ye([{
|
|
6266
6266
|
grayscale: !v(i).state.selectedTemplate.isPublished
|
|
@@ -6290,13 +6290,13 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6290
6290
|
}),
|
|
6291
6291
|
default: M(() => [
|
|
6292
6292
|
I("div", xi, [
|
|
6293
|
-
v(i).state.selectedTemplate ? (
|
|
6293
|
+
v(i).state.selectedTemplate ? (N(), Z(Le, { key: 0 }, [
|
|
6294
6294
|
I("div", Ci, [
|
|
6295
6295
|
I("div", _i, [
|
|
6296
6296
|
v(i).state.selectedTemplate.isPublished && ![
|
|
6297
6297
|
v(i).state.activeTemplateId,
|
|
6298
6298
|
v(i).state.activeMemberTemplateId
|
|
6299
|
-
].includes(v(i).state.selectedTemplate.templateId) ? (
|
|
6299
|
+
].includes(v(i).state.selectedTemplate.templateId) ? (N(), ae(U, {
|
|
6300
6300
|
key: 0,
|
|
6301
6301
|
class: "bg-fm-color-system-success-100",
|
|
6302
6302
|
compact: ""
|
|
@@ -6313,7 +6313,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6313
6313
|
[
|
|
6314
6314
|
v(i).state.activeTemplateId,
|
|
6315
6315
|
v(i).state.activeMemberTemplateId
|
|
6316
|
-
].includes(v(i).state.selectedTemplate.templateId) ? (
|
|
6316
|
+
].includes(v(i).state.selectedTemplate.templateId) ? (N(), ae(U, {
|
|
6317
6317
|
key: 1,
|
|
6318
6318
|
class: ye([{
|
|
6319
6319
|
grayscale: !v(i).state.selectedTemplate.isPublished
|
|
@@ -6337,13 +6337,13 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6337
6337
|
name: "edit",
|
|
6338
6338
|
outline: "",
|
|
6339
6339
|
class: "text-fm-color-neutral-black cursor-pointer",
|
|
6340
|
-
onClick: _[0] || (_[0] = (
|
|
6340
|
+
onClick: _[0] || (_[0] = (O) => D(v(i).state.selectedTemplate))
|
|
6341
6341
|
}),
|
|
6342
6342
|
w(A, {
|
|
6343
6343
|
outline: "",
|
|
6344
6344
|
name: "delete",
|
|
6345
6345
|
class: "text-fm-color-system-error-300 cursor-pointer",
|
|
6346
|
-
onClick: _[1] || (_[1] = (
|
|
6346
|
+
onClick: _[1] || (_[1] = (O) => F(v(i).state.selectedTemplate))
|
|
6347
6347
|
})
|
|
6348
6348
|
])
|
|
6349
6349
|
]),
|
|
@@ -6351,29 +6351,29 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6351
6351
|
], 64)) : Q("", !0),
|
|
6352
6352
|
w(z, {
|
|
6353
6353
|
"model-value": a.value,
|
|
6354
|
-
"onUpdate:modelValue": _[2] || (_[2] = (
|
|
6354
|
+
"onUpdate:modelValue": _[2] || (_[2] = (O) => a.value = O),
|
|
6355
6355
|
class: "p-4",
|
|
6356
6356
|
placeholder: v(u)("brand.template.picker.search")
|
|
6357
6357
|
}, null, 8, ["model-value", "placeholder"]),
|
|
6358
6358
|
I("div", Ei, [
|
|
6359
|
-
(
|
|
6360
|
-
var
|
|
6361
|
-
return
|
|
6362
|
-
key:
|
|
6359
|
+
(N(!0), Z(Le, null, vt(b.value, (O, Se) => {
|
|
6360
|
+
var Fe;
|
|
6361
|
+
return N(), Z(Le, {
|
|
6362
|
+
key: O.templateId
|
|
6363
6363
|
}, [
|
|
6364
6364
|
w(fe, {
|
|
6365
|
-
label:
|
|
6366
|
-
"model-value":
|
|
6367
|
-
onClick: (lt) => T(
|
|
6368
|
-
onMouseover: (lt) => x(
|
|
6365
|
+
label: O.templateAlias,
|
|
6366
|
+
"model-value": O.templateId === ((Fe = v(i).state.selectedTemplate) == null ? void 0 : Fe.templateId),
|
|
6367
|
+
onClick: (lt) => T(O),
|
|
6368
|
+
onMouseover: (lt) => x(O.templateId),
|
|
6369
6369
|
onMouseout: L,
|
|
6370
6370
|
class: "[&>div]:h-40"
|
|
6371
6371
|
}, {
|
|
6372
6372
|
prepend: M(() => [
|
|
6373
|
-
|
|
6373
|
+
O.isPublished && ![
|
|
6374
6374
|
v(i).state.activeTemplateId,
|
|
6375
6375
|
v(i).state.activeMemberTemplateId
|
|
6376
|
-
].includes(
|
|
6376
|
+
].includes(O.templateId) ? (N(), ae(U, {
|
|
6377
6377
|
key: 0,
|
|
6378
6378
|
class: "bg-fm-color-system-success-100",
|
|
6379
6379
|
compact: ""
|
|
@@ -6391,10 +6391,10 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6391
6391
|
[
|
|
6392
6392
|
v(i).state.activeTemplateId,
|
|
6393
6393
|
v(i).state.activeMemberTemplateId
|
|
6394
|
-
].includes(
|
|
6394
|
+
].includes(O.templateId) ? (N(), ae(U, {
|
|
6395
6395
|
key: 1,
|
|
6396
6396
|
class: ye(["bg-fm-color-system-warning-100", {
|
|
6397
|
-
grayscale: !
|
|
6397
|
+
grayscale: !O.isPublished
|
|
6398
6398
|
}]),
|
|
6399
6399
|
compact: ""
|
|
6400
6400
|
}, {
|
|
@@ -6402,7 +6402,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6402
6402
|
w(A, {
|
|
6403
6403
|
color: "primary",
|
|
6404
6404
|
class: "text-fm-color-primary",
|
|
6405
|
-
name:
|
|
6405
|
+
name: O.templateId == v(i).state.activeTemplateId ? "home" : "account_circle",
|
|
6406
6406
|
size: "sm",
|
|
6407
6407
|
outline: ""
|
|
6408
6408
|
}, null, 8, ["name"])
|
|
@@ -6416,21 +6416,21 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6416
6416
|
outline: "",
|
|
6417
6417
|
name: "edit",
|
|
6418
6418
|
class: "text-fm-color-neutral-black",
|
|
6419
|
-
onClick: ba((lt) => D(
|
|
6419
|
+
onClick: ba((lt) => D(O), ["stop"])
|
|
6420
6420
|
}, null, 8, ["onClick"]),
|
|
6421
6421
|
Gt(w(A, {
|
|
6422
6422
|
outline: "",
|
|
6423
6423
|
name: "delete",
|
|
6424
6424
|
class: "text-fm-color-system-error-300",
|
|
6425
|
-
onClick: ba((lt) =>
|
|
6425
|
+
onClick: ba((lt) => F(O), ["stop"])
|
|
6426
6426
|
}, null, 8, ["onClick"]), [
|
|
6427
6427
|
[
|
|
6428
6428
|
Xt,
|
|
6429
|
-
b.value.length > 1 &&
|
|
6429
|
+
b.value.length > 1 && O.templateId !== v(i).state.activeTemplateId
|
|
6430
6430
|
]
|
|
6431
6431
|
])
|
|
6432
6432
|
], 512), [
|
|
6433
|
-
[Xt, n.value ===
|
|
6433
|
+
[Xt, n.value === O.templateId]
|
|
6434
6434
|
])
|
|
6435
6435
|
]),
|
|
6436
6436
|
_: 2
|
|
@@ -6462,7 +6462,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6462
6462
|
_: 1
|
|
6463
6463
|
}),
|
|
6464
6464
|
w(fe, {
|
|
6465
|
-
onClick: _[3] || (_[3] = (
|
|
6465
|
+
onClick: _[3] || (_[3] = (O) => B("member"))
|
|
6466
6466
|
}, {
|
|
6467
6467
|
prepend: M(() => [
|
|
6468
6468
|
w(A, {
|
|
@@ -6488,7 +6488,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6488
6488
|
], 64);
|
|
6489
6489
|
};
|
|
6490
6490
|
}
|
|
6491
|
-
}), ki = { class: "w-[280px]" }, Di = { class: "fm-typo-en-body-sm-600 text-fm-color-typo-secondary py-4 px-8" },
|
|
6491
|
+
}), ki = { class: "w-[280px]" }, Di = { class: "fm-typo-en-body-sm-600 text-fm-color-typo-secondary py-4 px-8" }, Ni = /* @__PURE__ */ se({
|
|
6492
6492
|
__name: "TemplateShareMenu",
|
|
6493
6493
|
setup(t) {
|
|
6494
6494
|
const e = q(!1), a = Ue(), n = Ea(), o = Ge(), r = We(), l = Ia(), { t: i } = Ze(), { namespace: s } = We(), d = [
|
|
@@ -6536,7 +6536,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6536
6536
|
return f.isPublished ? o.state.activeMemberTemplateId === f.templateId ? i("brand.template.shareMenu.thisTemplateSetAsMemberHomepage") : "" : i("brand.template.shareMenu.templateNotPublished");
|
|
6537
6537
|
}
|
|
6538
6538
|
const u = ie(() => {
|
|
6539
|
-
var f, y, T, x, L, D,
|
|
6539
|
+
var f, y, T, x, L, D, F, C;
|
|
6540
6540
|
return [
|
|
6541
6541
|
{
|
|
6542
6542
|
label: i("brand.template.shareMenu.saveAndPublish"),
|
|
@@ -6589,7 +6589,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6589
6589
|
action: () => {
|
|
6590
6590
|
g();
|
|
6591
6591
|
},
|
|
6592
|
-
disabled: !((
|
|
6592
|
+
disabled: !((F = o.state.selectedTemplate) != null && F.isPublished) || !((C = o.state.selectedTemplate) != null && C.templateId.startsWith("member-"))
|
|
6593
6593
|
}
|
|
6594
6594
|
];
|
|
6595
6595
|
});
|
|
@@ -6638,9 +6638,9 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6638
6638
|
}
|
|
6639
6639
|
return (f, y) => {
|
|
6640
6640
|
const T = V("FmButton"), x = V("FmMenuDivider"), L = V("FmMenuItem"), D = V("FmMenu");
|
|
6641
|
-
return
|
|
6641
|
+
return N(), ae(D, {
|
|
6642
6642
|
placement: "bottom-end",
|
|
6643
|
-
onMenuChanged: y[0] || (y[0] = (
|
|
6643
|
+
onMenuChanged: y[0] || (y[0] = (F) => e.value = F)
|
|
6644
6644
|
}, {
|
|
6645
6645
|
"menu-button": M(() => [
|
|
6646
6646
|
w(T, {
|
|
@@ -6650,11 +6650,11 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6650
6650
|
}, null, 8, ["append-icon", "label"])
|
|
6651
6651
|
]),
|
|
6652
6652
|
default: M(() => {
|
|
6653
|
-
var
|
|
6653
|
+
var F;
|
|
6654
6654
|
return [
|
|
6655
6655
|
I("div", ki, [
|
|
6656
6656
|
I("div", Di, j(v(i)("brand.template.shareMenu.publishThisTemplate")), 1),
|
|
6657
|
-
(
|
|
6657
|
+
(N(!0), Z(Le, null, vt(u.value, (C) => (N(), Z(Le, null, [
|
|
6658
6658
|
w(x, {
|
|
6659
6659
|
inset: "",
|
|
6660
6660
|
class: "!mx-4 hidden [&:nth-last-child(2)]:block"
|
|
@@ -6674,7 +6674,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6674
6674
|
C.disabled ? "text-fm-color-typo-disabled" : "text-fm-color-typo-primary"
|
|
6675
6675
|
])
|
|
6676
6676
|
}, j(C.label), 3),
|
|
6677
|
-
C.sublabel ? (
|
|
6677
|
+
C.sublabel ? (N(), Z("div", {
|
|
6678
6678
|
key: 0,
|
|
6679
6679
|
class: ye([
|
|
6680
6680
|
"fm-typo-en-body-sm-400",
|
|
@@ -6695,7 +6695,7 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6695
6695
|
class: "!mx-4"
|
|
6696
6696
|
}),
|
|
6697
6697
|
w(L, {
|
|
6698
|
-
disabled: !((
|
|
6698
|
+
disabled: !((F = v(o).state.selectedTemplate) != null && F.isPublished),
|
|
6699
6699
|
onClick: B
|
|
6700
6700
|
}, {
|
|
6701
6701
|
label: M(() => {
|
|
@@ -6719,11 +6719,11 @@ const ai = { class: "mb-24" }, ni = { class: "fm-typo-en-title-lg-700 text-fm-co
|
|
|
6719
6719
|
};
|
|
6720
6720
|
}
|
|
6721
6721
|
});
|
|
6722
|
-
var _t = {},
|
|
6722
|
+
var _t = {}, Fi = function() {
|
|
6723
6723
|
return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
|
|
6724
|
-
},
|
|
6724
|
+
}, Fn = {}, me = {};
|
|
6725
6725
|
let ka;
|
|
6726
|
-
const
|
|
6726
|
+
const Oi = [
|
|
6727
6727
|
0,
|
|
6728
6728
|
// Not used
|
|
6729
6729
|
26,
|
|
@@ -6773,7 +6773,7 @@ me.getSymbolSize = function(e) {
|
|
|
6773
6773
|
return e * 4 + 17;
|
|
6774
6774
|
};
|
|
6775
6775
|
me.getSymbolTotalCodewords = function(e) {
|
|
6776
|
-
return
|
|
6776
|
+
return Oi[e];
|
|
6777
6777
|
};
|
|
6778
6778
|
me.getBCHDigit = function(t) {
|
|
6779
6779
|
let e = 0;
|
|
@@ -6847,7 +6847,7 @@ On.prototype = {
|
|
|
6847
6847
|
this.buffer.length <= e && this.buffer.push(0), t && (this.buffer[e] |= 128 >>> this.length % 8), this.length++;
|
|
6848
6848
|
}
|
|
6849
6849
|
};
|
|
6850
|
-
var
|
|
6850
|
+
var Pi = On;
|
|
6851
6851
|
function wt(t) {
|
|
6852
6852
|
if (!t || t < 1)
|
|
6853
6853
|
throw new Error("BitMatrix size must be defined and greater than 0");
|
|
@@ -6866,7 +6866,7 @@ wt.prototype.xor = function(t, e, a) {
|
|
|
6866
6866
|
wt.prototype.isReserved = function(t, e) {
|
|
6867
6867
|
return this.reservedBit[t * this.size + e];
|
|
6868
6868
|
};
|
|
6869
|
-
var Mi = wt,
|
|
6869
|
+
var Mi = wt, Pn = {};
|
|
6870
6870
|
(function(t) {
|
|
6871
6871
|
const e = me.getSymbolSize;
|
|
6872
6872
|
t.getRowColCoords = function(n) {
|
|
@@ -6884,10 +6884,10 @@ var Mi = wt, Mn = {};
|
|
|
6884
6884
|
i === l - 1 && s === 0 || o.push([r[i], r[s]]);
|
|
6885
6885
|
return o;
|
|
6886
6886
|
};
|
|
6887
|
-
})(
|
|
6888
|
-
var
|
|
6887
|
+
})(Pn);
|
|
6888
|
+
var Mn = {};
|
|
6889
6889
|
const Ri = me.getSymbolSize, en = 7;
|
|
6890
|
-
|
|
6890
|
+
Mn.getPositions = function(e) {
|
|
6891
6891
|
const a = Ri(e);
|
|
6892
6892
|
return [
|
|
6893
6893
|
// top-left
|
|
@@ -6898,7 +6898,7 @@ Rn.getPositions = function(e) {
|
|
|
6898
6898
|
[0, a - en]
|
|
6899
6899
|
];
|
|
6900
6900
|
};
|
|
6901
|
-
var
|
|
6901
|
+
var Rn = {};
|
|
6902
6902
|
(function(t) {
|
|
6903
6903
|
t.Patterns = {
|
|
6904
6904
|
PATTERN000: 0,
|
|
@@ -6993,7 +6993,7 @@ var $n = {};
|
|
|
6993
6993
|
}
|
|
6994
6994
|
return i;
|
|
6995
6995
|
};
|
|
6996
|
-
})(
|
|
6996
|
+
})(Rn);
|
|
6997
6997
|
var zt = {};
|
|
6998
6998
|
const $e = Yt, Bt = [
|
|
6999
6999
|
// L M Q H
|
|
@@ -7348,7 +7348,7 @@ zt.getTotalCodewordsCount = function(e, a) {
|
|
|
7348
7348
|
return;
|
|
7349
7349
|
}
|
|
7350
7350
|
};
|
|
7351
|
-
var
|
|
7351
|
+
var $n = {}, jt = {};
|
|
7352
7352
|
const ht = new Uint8Array(512), Ut = new Uint8Array(256);
|
|
7353
7353
|
(function() {
|
|
7354
7354
|
let e = 1;
|
|
@@ -7392,32 +7392,32 @@ jt.mul = function(e, a) {
|
|
|
7392
7392
|
o = t.mul(o, new Uint8Array([1, e.exp(r)]));
|
|
7393
7393
|
return o;
|
|
7394
7394
|
};
|
|
7395
|
-
})(
|
|
7396
|
-
const
|
|
7395
|
+
})($n);
|
|
7396
|
+
const Zn = $n;
|
|
7397
7397
|
function Da(t) {
|
|
7398
7398
|
this.genPoly = void 0, this.degree = t, this.degree && this.initialize(this.degree);
|
|
7399
7399
|
}
|
|
7400
7400
|
Da.prototype.initialize = function(e) {
|
|
7401
|
-
this.degree = e, this.genPoly =
|
|
7401
|
+
this.degree = e, this.genPoly = Zn.generateECPolynomial(this.degree);
|
|
7402
7402
|
};
|
|
7403
7403
|
Da.prototype.encode = function(e) {
|
|
7404
7404
|
if (!this.genPoly)
|
|
7405
7405
|
throw new Error("Encoder not initialized");
|
|
7406
7406
|
const a = new Uint8Array(e.length + this.degree);
|
|
7407
7407
|
a.set(e);
|
|
7408
|
-
const n =
|
|
7408
|
+
const n = Zn.mod(a, this.genPoly), o = this.degree - n.length;
|
|
7409
7409
|
if (o > 0) {
|
|
7410
7410
|
const r = new Uint8Array(this.degree);
|
|
7411
7411
|
return r.set(n, o), r;
|
|
7412
7412
|
}
|
|
7413
7413
|
return n;
|
|
7414
7414
|
};
|
|
7415
|
-
var $i = Da,
|
|
7416
|
-
|
|
7415
|
+
var $i = Da, Un = {}, Ve = {}, Na = {};
|
|
7416
|
+
Na.isValid = function(e) {
|
|
7417
7417
|
return !isNaN(e) && e >= 1 && e <= 40;
|
|
7418
7418
|
};
|
|
7419
7419
|
var Ee = {};
|
|
7420
|
-
const
|
|
7420
|
+
const Vn = "[0-9]+", Zi = "[A-Z $%*+\\-./:]+";
|
|
7421
7421
|
let yt = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
|
|
7422
7422
|
yt = yt.replace(/u/g, "\\u");
|
|
7423
7423
|
const Ui = "(?:(?![A-Z0-9 $%*+\\-./:]|" + yt + `)(?:.|[\r
|
|
@@ -7425,9 +7425,9 @@ const Ui = "(?:(?![A-Z0-9 $%*+\\-./:]|" + yt + `)(?:.|[\r
|
|
|
7425
7425
|
Ee.KANJI = new RegExp(yt, "g");
|
|
7426
7426
|
Ee.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
|
|
7427
7427
|
Ee.BYTE = new RegExp(Ui, "g");
|
|
7428
|
-
Ee.NUMERIC = new RegExp(
|
|
7428
|
+
Ee.NUMERIC = new RegExp(Vn, "g");
|
|
7429
7429
|
Ee.ALPHANUMERIC = new RegExp(Zi, "g");
|
|
7430
|
-
const Vi = new RegExp("^" + yt + "$"), Hi = new RegExp("^" +
|
|
7430
|
+
const Vi = new RegExp("^" + yt + "$"), Hi = new RegExp("^" + Vn + "$"), Yi = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
|
|
7431
7431
|
Ee.testKanji = function(e) {
|
|
7432
7432
|
return Vi.test(e);
|
|
7433
7433
|
};
|
|
@@ -7438,7 +7438,7 @@ Ee.testAlphanumeric = function(e) {
|
|
|
7438
7438
|
return Yi.test(e);
|
|
7439
7439
|
};
|
|
7440
7440
|
(function(t) {
|
|
7441
|
-
const e =
|
|
7441
|
+
const e = Na, a = Ee;
|
|
7442
7442
|
t.NUMERIC = {
|
|
7443
7443
|
id: "Numeric",
|
|
7444
7444
|
bit: 1,
|
|
@@ -7497,7 +7497,7 @@ Ee.testAlphanumeric = function(e) {
|
|
|
7497
7497
|
};
|
|
7498
7498
|
})(Ve);
|
|
7499
7499
|
(function(t) {
|
|
7500
|
-
const e = me, a = zt, n = Yt, o = Ve, r =
|
|
7500
|
+
const e = me, a = zt, n = Yt, o = Ve, r = Na, l = 7973, i = e.getBCHDigit(l);
|
|
7501
7501
|
function s(m, u, b) {
|
|
7502
7502
|
for (let g = 1; g <= 40; g++)
|
|
7503
7503
|
if (u <= t.getCapacity(g, b, m))
|
|
@@ -7558,17 +7558,17 @@ Ee.testAlphanumeric = function(e) {
|
|
|
7558
7558
|
b ^= l << e.getBCHDigit(b) - i;
|
|
7559
7559
|
return u << 12 | b;
|
|
7560
7560
|
};
|
|
7561
|
-
})(
|
|
7562
|
-
var
|
|
7563
|
-
const Ta = me,
|
|
7564
|
-
|
|
7561
|
+
})(Un);
|
|
7562
|
+
var Hn = {};
|
|
7563
|
+
const Ta = me, Yn = 1335, zi = 21522, tn = Ta.getBCHDigit(Yn);
|
|
7564
|
+
Hn.getEncodedBits = function(e, a) {
|
|
7565
7565
|
const n = e.bit << 3 | a;
|
|
7566
7566
|
let o = n << 10;
|
|
7567
7567
|
for (; Ta.getBCHDigit(o) - tn >= 0; )
|
|
7568
|
-
o ^=
|
|
7568
|
+
o ^= Yn << Ta.getBCHDigit(o) - tn;
|
|
7569
7569
|
return (n << 10 | o) ^ zi;
|
|
7570
7570
|
};
|
|
7571
|
-
var
|
|
7571
|
+
var zn = {};
|
|
7572
7572
|
const ji = Ve;
|
|
7573
7573
|
function nt(t) {
|
|
7574
7574
|
this.mode = ji.NUMERIC, this.data = t.toString();
|
|
@@ -7705,7 +7705,7 @@ Make sure your charset is UTF-8`
|
|
|
7705
7705
|
a = (a >>> 8 & 255) * 192 + (a & 255), t.put(a, 13);
|
|
7706
7706
|
}
|
|
7707
7707
|
};
|
|
7708
|
-
var el = it,
|
|
7708
|
+
var el = it, jn = { exports: {} };
|
|
7709
7709
|
(function(t) {
|
|
7710
7710
|
var e = {
|
|
7711
7711
|
single_source_shortest_paths: function(a, n, o) {
|
|
@@ -7770,8 +7770,8 @@ var el = it, Wn = { exports: {} };
|
|
|
7770
7770
|
}
|
|
7771
7771
|
};
|
|
7772
7772
|
t.exports = e;
|
|
7773
|
-
})(
|
|
7774
|
-
var tl =
|
|
7773
|
+
})(jn);
|
|
7774
|
+
var tl = jn.exports;
|
|
7775
7775
|
(function(t) {
|
|
7776
7776
|
const e = Ve, a = Wi, n = Xi, o = Ki, r = el, l = Ee, i = me, s = tl;
|
|
7777
7777
|
function d(f) {
|
|
@@ -7792,13 +7792,13 @@ var tl = Wn.exports;
|
|
|
7792
7792
|
function p(f) {
|
|
7793
7793
|
const y = c(l.NUMERIC, e.NUMERIC, f), T = c(l.ALPHANUMERIC, e.ALPHANUMERIC, f);
|
|
7794
7794
|
let x, L;
|
|
7795
|
-
return i.isKanjiModeEnabled() ? (x = c(l.BYTE, e.BYTE, f), L = c(l.KANJI, e.KANJI, f)) : (x = c(l.BYTE_KANJI, e.BYTE, f), L = []), y.concat(T, x, L).sort(function(
|
|
7796
|
-
return
|
|
7797
|
-
}).map(function(
|
|
7795
|
+
return i.isKanjiModeEnabled() ? (x = c(l.BYTE, e.BYTE, f), L = c(l.KANJI, e.KANJI, f)) : (x = c(l.BYTE_KANJI, e.BYTE, f), L = []), y.concat(T, x, L).sort(function(F, C) {
|
|
7796
|
+
return F.index - C.index;
|
|
7797
|
+
}).map(function(F) {
|
|
7798
7798
|
return {
|
|
7799
|
-
data:
|
|
7800
|
-
mode:
|
|
7801
|
-
length:
|
|
7799
|
+
data: F.data,
|
|
7800
|
+
mode: F.mode,
|
|
7801
|
+
length: F.length
|
|
7802
7802
|
};
|
|
7803
7803
|
});
|
|
7804
7804
|
}
|
|
@@ -7856,9 +7856,9 @@ var tl = Wn.exports;
|
|
|
7856
7856
|
const T = {}, x = { start: {} };
|
|
7857
7857
|
let L = ["start"];
|
|
7858
7858
|
for (let D = 0; D < f.length; D++) {
|
|
7859
|
-
const
|
|
7860
|
-
for (let _ = 0; _ <
|
|
7861
|
-
const A =
|
|
7859
|
+
const F = f[D], C = [];
|
|
7860
|
+
for (let _ = 0; _ < F.length; _++) {
|
|
7861
|
+
const A = F[_], U = "" + D + _;
|
|
7862
7862
|
C.push(U), T[U] = { node: A, lastCount: 0 }, x[U] = {};
|
|
7863
7863
|
for (let ne = 0; ne < L.length; ne++) {
|
|
7864
7864
|
const z = L[ne];
|
|
@@ -7893,17 +7893,17 @@ var tl = Wn.exports;
|
|
|
7893
7893
|
return typeof x == "string" ? T.push(B(x, null)) : x.data && T.push(B(x.data, x.mode)), T;
|
|
7894
7894
|
}, []);
|
|
7895
7895
|
}, t.fromString = function(y, T) {
|
|
7896
|
-
const x = p(y, i.isKanjiModeEnabled()), L = b(x), D = g(L, T),
|
|
7897
|
-
for (let _ = 1; _ <
|
|
7898
|
-
C.push(D.table[
|
|
7896
|
+
const x = p(y, i.isKanjiModeEnabled()), L = b(x), D = g(L, T), F = s.find_path(D.map, "start", "end"), C = [];
|
|
7897
|
+
for (let _ = 1; _ < F.length - 1; _++)
|
|
7898
|
+
C.push(D.table[F[_]].node);
|
|
7899
7899
|
return t.fromArray(u(C));
|
|
7900
7900
|
}, t.rawSplit = function(y) {
|
|
7901
7901
|
return t.fromArray(
|
|
7902
7902
|
p(y, i.isKanjiModeEnabled())
|
|
7903
7903
|
);
|
|
7904
7904
|
};
|
|
7905
|
-
})(
|
|
7906
|
-
const Wt = me, sa = Yt, al =
|
|
7905
|
+
})(zn);
|
|
7906
|
+
const Wt = me, sa = Yt, al = Pi, nl = Mi, ol = Pn, rl = Mn, xa = Rn, Ca = zt, il = $i, Vt = Un, ll = Hn, sl = Ve, da = zn;
|
|
7907
7907
|
function dl(t, e) {
|
|
7908
7908
|
const a = t.size, n = rl.getPositions(e);
|
|
7909
7909
|
for (let o = 0; o < n.length; o++) {
|
|
@@ -7978,9 +7978,9 @@ function fl(t, e, a) {
|
|
|
7978
7978
|
const g = new Array(l), B = new Array(l);
|
|
7979
7979
|
let f = 0;
|
|
7980
7980
|
const y = new Uint8Array(t.buffer);
|
|
7981
|
-
for (let
|
|
7982
|
-
const C =
|
|
7983
|
-
g[
|
|
7981
|
+
for (let F = 0; F < l; F++) {
|
|
7982
|
+
const C = F < s ? c : p;
|
|
7983
|
+
g[F] = y.slice(b, b + C), B[F] = u.encode(g[F]), b += C, f = Math.max(f, C);
|
|
7984
7984
|
}
|
|
7985
7985
|
const T = new Uint8Array(n);
|
|
7986
7986
|
let x = 0, L, D;
|
|
@@ -8029,13 +8029,13 @@ Minimum version required to store current data is: ` + r + `.
|
|
|
8029
8029
|
segments: o
|
|
8030
8030
|
};
|
|
8031
8031
|
}
|
|
8032
|
-
|
|
8032
|
+
Fn.create = function(e, a) {
|
|
8033
8033
|
if (typeof e > "u" || e === "")
|
|
8034
8034
|
throw new Error("No input text");
|
|
8035
8035
|
let n = sa.M, o, r;
|
|
8036
8036
|
return typeof a < "u" && (n = sa.from(a.errorCorrectionLevel, sa.M), o = Vt.from(a.version), r = xa.from(a.maskPattern), a.toSJISFunc && Wt.setToSJISFunction(a.toSJISFunc)), gl(e, o, n, r);
|
|
8037
8037
|
};
|
|
8038
|
-
var
|
|
8038
|
+
var Wn = {}, Fa = {};
|
|
8039
8039
|
(function(t) {
|
|
8040
8040
|
function e(a) {
|
|
8041
8041
|
if (typeof a == "number" && (a = a.toString()), typeof a != "string")
|
|
@@ -8086,9 +8086,9 @@ var Gn = {}, Na = {};
|
|
|
8086
8086
|
n[b++] = g.r, n[b++] = g.g, n[b++] = g.b, n[b] = g.a;
|
|
8087
8087
|
}
|
|
8088
8088
|
};
|
|
8089
|
-
})(
|
|
8089
|
+
})(Fa);
|
|
8090
8090
|
(function(t) {
|
|
8091
|
-
const e =
|
|
8091
|
+
const e = Fa;
|
|
8092
8092
|
function a(o, r, l) {
|
|
8093
8093
|
o.clearRect(0, 0, r.width, r.height), r.style || (r.style = {}), r.height = l, r.width = l, r.style.height = l + "px", r.style.width = l + "px";
|
|
8094
8094
|
}
|
|
@@ -8110,9 +8110,9 @@ var Gn = {}, Na = {};
|
|
|
8110
8110
|
const d = t.render(r, l, s), c = s.type || "image/png", p = s.rendererOpts || {};
|
|
8111
8111
|
return d.toDataURL(c, p.quality);
|
|
8112
8112
|
};
|
|
8113
|
-
})(
|
|
8114
|
-
var
|
|
8115
|
-
const hl =
|
|
8113
|
+
})(Wn);
|
|
8114
|
+
var Gn = {};
|
|
8115
|
+
const hl = Fa;
|
|
8116
8116
|
function an(t, e) {
|
|
8117
8117
|
const a = t.a / 255, n = e + '="' + t.hex + '"';
|
|
8118
8118
|
return a < 1 ? n + " " + e + '-opacity="' + a.toFixed(2).slice(1) + '"' : n;
|
|
@@ -8129,13 +8129,13 @@ function yl(t, e, a) {
|
|
|
8129
8129
|
}
|
|
8130
8130
|
return n;
|
|
8131
8131
|
}
|
|
8132
|
-
|
|
8132
|
+
Gn.render = function(e, a, n) {
|
|
8133
8133
|
const o = hl.getOptions(a), r = e.modules.size, l = e.modules.data, i = r + o.margin * 2, s = o.color.light.a ? "<path " + an(o.color.light, "fill") + ' d="M0 0h' + i + "v" + i + 'H0z"/>' : "", d = "<path " + an(o.color.dark, "stroke") + ' d="' + yl(l, r, o.margin) + '"/>', c = 'viewBox="0 0 ' + i + " " + i + '"', m = '<svg xmlns="http://www.w3.org/2000/svg" ' + (o.width ? 'width="' + o.width + '" height="' + o.width + '" ' : "") + c + ' shape-rendering="crispEdges">' + s + d + `</svg>
|
|
8134
8134
|
`;
|
|
8135
8135
|
return typeof n == "function" && n(null, m), m;
|
|
8136
8136
|
};
|
|
8137
|
-
const vl =
|
|
8138
|
-
function
|
|
8137
|
+
const vl = Fi, _a = Fn, Xn = Wn, Tl = Gn;
|
|
8138
|
+
function Oa(t, e, a, n, o) {
|
|
8139
8139
|
const r = [].slice.call(arguments, 1), l = r.length, i = typeof r[l - 1] == "function";
|
|
8140
8140
|
if (!i && !vl())
|
|
8141
8141
|
throw new Error("Callback required as last argument");
|
|
@@ -8163,9 +8163,9 @@ function Pa(t, e, a, n, o) {
|
|
|
8163
8163
|
}
|
|
8164
8164
|
}
|
|
8165
8165
|
_t.create = _a.create;
|
|
8166
|
-
_t.toCanvas =
|
|
8167
|
-
_t.toDataURL =
|
|
8168
|
-
_t.toString =
|
|
8166
|
+
_t.toCanvas = Oa.bind(null, Xn.render);
|
|
8167
|
+
_t.toDataURL = Oa.bind(null, Xn.renderToDataURL);
|
|
8168
|
+
_t.toString = Oa.bind(null, function(t, e, a) {
|
|
8169
8169
|
return Tl.render(t, a);
|
|
8170
8170
|
});
|
|
8171
8171
|
const xl = { class: "flex items-center justify-center" }, Cl = { class: "w-full flex gap-8 justify-end items-center" }, _l = /* @__PURE__ */ se({
|
|
@@ -8196,7 +8196,7 @@ const xl = { class: "flex items-center justify-center" }, Cl = { class: "w-full
|
|
|
8196
8196
|
}
|
|
8197
8197
|
), (s, d) => {
|
|
8198
8198
|
const c = V("FmButton"), p = V("FmTooltip"), m = V("FmDialog");
|
|
8199
|
-
return
|
|
8199
|
+
return N(), ae(m, {
|
|
8200
8200
|
modelValue: r.value,
|
|
8201
8201
|
"onUpdate:modelValue": d[1] || (d[1] = (u) => r.value = u),
|
|
8202
8202
|
"max-width": 200
|
|
@@ -8217,7 +8217,7 @@ const xl = { class: "flex items-center justify-center" }, Cl = { class: "w-full
|
|
|
8217
8217
|
}, 8, ["content"])
|
|
8218
8218
|
]),
|
|
8219
8219
|
"dialog-header": M(() => [
|
|
8220
|
-
|
|
8220
|
+
no(j(v(o)("brand.template.shareMenu.share")), 1)
|
|
8221
8221
|
]),
|
|
8222
8222
|
default: M(() => [
|
|
8223
8223
|
I("div", xl, [
|
|
@@ -8247,7 +8247,7 @@ const xl = { class: "flex items-center justify-center" }, Cl = { class: "w-full
|
|
|
8247
8247
|
}), wl = { class: "p-8 flex gap-8 items-center justify-between border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-white" }, Il = { class: "flex gap-8 items-center" }, El = /* @__PURE__ */ se({
|
|
8248
8248
|
__name: "EditorToolbar",
|
|
8249
8249
|
setup(t) {
|
|
8250
|
-
const e = Ue(), a = Ge(), n = We(), o =
|
|
8250
|
+
const e = Ue(), a = Ge(), n = We(), o = Co(), r = Ia(), { t: l } = Ze();
|
|
8251
8251
|
function i() {
|
|
8252
8252
|
if (!e.state.node) {
|
|
8253
8253
|
o.open(
|
|
@@ -8275,7 +8275,7 @@ const xl = { class: "flex items-center justify-center" }, Cl = { class: "w-full
|
|
|
8275
8275
|
}
|
|
8276
8276
|
return (s, d) => {
|
|
8277
8277
|
const c = V("FmButton");
|
|
8278
|
-
return
|
|
8278
|
+
return N(), Z("div", wl, [
|
|
8279
8279
|
w(Li),
|
|
8280
8280
|
I("div", Il, [
|
|
8281
8281
|
w(_l),
|
|
@@ -8286,63 +8286,15 @@ const xl = { class: "flex items-center justify-center" }, Cl = { class: "w-full
|
|
|
8286
8286
|
onClick: i,
|
|
8287
8287
|
disabled: v(e).isSaved()
|
|
8288
8288
|
}, null, 8, ["disabled"]),
|
|
8289
|
-
w(
|
|
8289
|
+
w(Ni)
|
|
8290
8290
|
])
|
|
8291
8291
|
]);
|
|
8292
8292
|
};
|
|
8293
8293
|
}
|
|
8294
|
-
}),
|
|
8295
|
-
colors: {
|
|
8296
|
-
primary: "#ff7823",
|
|
8297
|
-
secondary: "#fff3e6",
|
|
8298
|
-
accent: "#fff3e6",
|
|
8299
|
-
background: {
|
|
8300
|
-
base: "#F8F8F8",
|
|
8301
|
-
elevated: "#FFFFFF"
|
|
8302
|
-
},
|
|
8303
|
-
neutral: {
|
|
8304
|
-
light: "#ECF0F0",
|
|
8305
|
-
mid: "#555555",
|
|
8306
|
-
dark: "#1C1C1E"
|
|
8307
|
-
},
|
|
8308
|
-
text: {
|
|
8309
|
-
onPrimary: "#FFFFFF",
|
|
8310
|
-
primary: "#1C1C1E",
|
|
8311
|
-
secondary: "#555555",
|
|
8312
|
-
tertiary: "#A2A09E"
|
|
8313
|
-
},
|
|
8314
|
-
status: {
|
|
8315
|
-
success: "#10B981",
|
|
8316
|
-
warning: "#F59E0B",
|
|
8317
|
-
error: "#EF4444",
|
|
8318
|
-
info: "#3B82F6"
|
|
8319
|
-
// Add info if missing previously
|
|
8320
|
-
}
|
|
8321
|
-
},
|
|
8322
|
-
fonts: {
|
|
8323
|
-
brand: "'Inter', sans-serif",
|
|
8324
|
-
heading: "'Inter', sans-serif",
|
|
8325
|
-
body: "'Roboto', sans-serif"
|
|
8326
|
-
},
|
|
8327
|
-
fontFamilies: []
|
|
8328
|
-
};
|
|
8329
|
-
function Sl(t = Kn, e) {
|
|
8330
|
-
const a = document.documentElement, n = (l, i) => {
|
|
8331
|
-
i && a.style.setProperty(`--brand-${l}`, i);
|
|
8332
|
-
}, { colors: o, fonts: r } = t;
|
|
8333
|
-
n("color-primary", o.primary), n("color-secondary", o.secondary), n("color-accent", o.accent), n("color-background-base", o.background.base), n("color-background-elevated", o.background.elevated), n("color-neutral-light", o.neutral.light), n("color-neutral-mid", o.neutral.mid), n("color-neutral-dark", o.neutral.dark), n("color-typo-on-primary", o.text.onPrimary), n("color-typo-primary", o.text.primary), n("color-typo-secondary", o.text.secondary), n("color-typo-tertiary", o.text.tertiary), n("color-status-success", o.status.success), n("color-status-warning", o.status.warning), n("color-status-error", o.status.error), n("color-status-info", o.status.info), n("font-family-brand", r.brand), n("font-family-heading", r.heading ?? r.brand), n("font-family-body", r.body ?? r.brand);
|
|
8334
|
-
for (const l of t.fontFamilies ?? []) {
|
|
8335
|
-
const i = l.stylesheet;
|
|
8336
|
-
if (!i || nn.has(i) || document.querySelector(`link[href="${i}"]`))
|
|
8337
|
-
continue;
|
|
8338
|
-
const s = document.createElement("link");
|
|
8339
|
-
s.rel = "stylesheet", s.href = i, s.setAttribute("data-brand-font", i), document.head.appendChild(s), nn.add(i);
|
|
8340
|
-
}
|
|
8341
|
-
}
|
|
8342
|
-
const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gray-100 flex flex-col" }, Bl = { class: "w-[375px] border border-fm-color-neutral-gray-200 m-auto pb-24 bg-brand-background-base" }, Ll = {
|
|
8294
|
+
}), Sl = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gray-100 flex flex-col" }, Al = { class: "w-[375px] border border-fm-color-neutral-gray-200 m-auto pb-24 bg-brand-background-base" }, Bl = {
|
|
8343
8295
|
key: 0,
|
|
8344
8296
|
class: "flex items-center justify-between pt-8 px-12"
|
|
8345
|
-
},
|
|
8297
|
+
}, Ll = { class: "flex items-center justify-center cursor-pointer rounded-full text-fm-color-typo-secondary !h-32 !w-32 border-1 border-fm-color-neutral-gray-200" }, kl = ["onClickCapture"], Dl = {
|
|
8346
8298
|
key: 0,
|
|
8347
8299
|
class: "w-full h-[100px] flex items-center justify-center text-fm-color-typo-secondary mt-24"
|
|
8348
8300
|
}, Nl = /* @__PURE__ */ se({
|
|
@@ -8363,26 +8315,26 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
8363
8315
|
return tt(
|
|
8364
8316
|
() => a.currentBusiness.value,
|
|
8365
8317
|
async (s, d) => {
|
|
8366
|
-
s && s.id != (d == null ? void 0 : d.id) && (await n.getBusinessBrandkit(s.id),
|
|
8318
|
+
s && s.id != (d == null ? void 0 : d.id) && (await n.getBusinessBrandkit(s.id), _o(n.state.brandkit ?? wo));
|
|
8367
8319
|
},
|
|
8368
8320
|
{
|
|
8369
8321
|
immediate: !0
|
|
8370
8322
|
}
|
|
8371
|
-
),
|
|
8323
|
+
), ln(() => {
|
|
8372
8324
|
window.addEventListener("beforeunload", function(s) {
|
|
8373
8325
|
if (!e.isSaved())
|
|
8374
8326
|
return s.preventDefault(), "Changes you made may not be saved.";
|
|
8375
8327
|
});
|
|
8376
8328
|
}), (s, d) => {
|
|
8377
8329
|
const c = V("FmIcon");
|
|
8378
|
-
return
|
|
8330
|
+
return N(), Z("div", Sl, [
|
|
8379
8331
|
w(El),
|
|
8380
8332
|
I("div", {
|
|
8381
8333
|
class: "h-full w-full px-24 py-48 flex overflow-y-auto",
|
|
8382
8334
|
onClick: d[2] || (d[2] = (p) => i(r.value))
|
|
8383
8335
|
}, [
|
|
8384
|
-
I("div",
|
|
8385
|
-
r.value ? (
|
|
8336
|
+
I("div", Al, [
|
|
8337
|
+
r.value ? (N(), ae(Ma($a[r.value.type]), oo({ key: 0 }, {
|
|
8386
8338
|
data: r.value.data,
|
|
8387
8339
|
...La[r.value.type],
|
|
8388
8340
|
...r.value.props
|
|
@@ -8392,9 +8344,9 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
8392
8344
|
default: M(() => {
|
|
8393
8345
|
var p, m;
|
|
8394
8346
|
return [
|
|
8395
|
-
r.value.type == "Homepage" && ((p = r.value.props) == null ? void 0 : p.hideCountrySwitcher) !== !0 ? (
|
|
8396
|
-
w(
|
|
8397
|
-
I("div",
|
|
8347
|
+
r.value.type == "Homepage" && ((p = r.value.props) == null ? void 0 : p.hideCountrySwitcher) !== !0 ? (N(), Z("div", Bl, [
|
|
8348
|
+
w(yo, { data: { selectedCountry: "MY" } }),
|
|
8349
|
+
I("div", Ll, [
|
|
8398
8350
|
w(c, {
|
|
8399
8351
|
class: "rounded-full",
|
|
8400
8352
|
name: "account_circle",
|
|
@@ -8402,12 +8354,12 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
8402
8354
|
})
|
|
8403
8355
|
])
|
|
8404
8356
|
])) : Q("", !0),
|
|
8405
|
-
r.value.type == "Homepage" && ((m = r.value.props) == null ? void 0 : m.showNavigationBar) == !0 ? (
|
|
8357
|
+
r.value.type == "Homepage" && ((m = r.value.props) == null ? void 0 : m.showNavigationBar) == !0 ? (N(), ae(vo, {
|
|
8406
8358
|
key: 1,
|
|
8407
8359
|
title: "Member",
|
|
8408
8360
|
className: "block"
|
|
8409
8361
|
})) : Q("", !0),
|
|
8410
|
-
w(v(
|
|
8362
|
+
w(v(Ln), {
|
|
8411
8363
|
class: ye(["w-full h-full flex flex-col gap-16", { "min-h-[600px]": r.value.type == "Homepage" }]),
|
|
8412
8364
|
modelValue: o.value,
|
|
8413
8365
|
"onUpdate:modelValue": d[0] || (d[0] = (u) => o.value = u),
|
|
@@ -8422,24 +8374,24 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
8422
8374
|
class: "relative cursor-grab",
|
|
8423
8375
|
onClickCapture: ba((B) => i(u), ["prevent", "stop"])
|
|
8424
8376
|
}, [
|
|
8425
|
-
(
|
|
8426
|
-
u._id === ((b = l.value) == null ? void 0 : b._id) ? (
|
|
8377
|
+
(N(), ae(Ma($a[u.type]), ro(io({ data: u.data, ...u.props })), null, 16)),
|
|
8378
|
+
u._id === ((b = l.value) == null ? void 0 : b._id) ? (N(), Z("div", {
|
|
8427
8379
|
key: 0,
|
|
8428
8380
|
class: ye({
|
|
8429
8381
|
"w-full h-full absolute top-0 left-0 z-10": u._id === ((g = l.value) == null ? void 0 : g._id)
|
|
8430
8382
|
}),
|
|
8431
|
-
style:
|
|
8383
|
+
style: lo({
|
|
8432
8384
|
paddingLeft: u.props.marginLeft,
|
|
8433
8385
|
paddingRight: u.props.marginRight
|
|
8434
8386
|
})
|
|
8435
8387
|
}, d[3] || (d[3] = [
|
|
8436
8388
|
I("div", { class: "w-full h-full border-2 border-fm-color-system-info-200" }, null, -1)
|
|
8437
8389
|
]), 6)) : Q("", !0)
|
|
8438
|
-
], 40,
|
|
8390
|
+
], 40, kl)
|
|
8439
8391
|
];
|
|
8440
8392
|
}),
|
|
8441
8393
|
footer: M(() => [
|
|
8442
|
-
o.value.length ? Q("", !0) : (
|
|
8394
|
+
o.value.length ? Q("", !0) : (N(), Z("div", Dl, [
|
|
8443
8395
|
w(c, { name: "drag_indicator" }),
|
|
8444
8396
|
d[4] || (d[4] = I("div", { class: "fm-typo-en-body-sm-400" }, " Drag and drop components here ", -1))
|
|
8445
8397
|
]))
|
|
@@ -8456,7 +8408,7 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
8456
8408
|
]);
|
|
8457
8409
|
};
|
|
8458
8410
|
}
|
|
8459
|
-
}), pa = (t) => t,
|
|
8411
|
+
}), pa = (t) => t, Fl = [
|
|
8460
8412
|
{
|
|
8461
8413
|
$cmp: "ConfigTab",
|
|
8462
8414
|
props: { title: pa("brand.template.nodeConfig.pageSetting") },
|
|
@@ -8835,7 +8787,7 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
8835
8787
|
}
|
|
8836
8788
|
]
|
|
8837
8789
|
}
|
|
8838
|
-
], G = (t) => t,
|
|
8790
|
+
], G = (t) => t, Pl = [
|
|
8839
8791
|
{
|
|
8840
8792
|
$cmp: "ConfigTab",
|
|
8841
8793
|
props: { title: G("brand.template.nodeConfig.buttonList.title") },
|
|
@@ -8982,7 +8934,7 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
8982
8934
|
}
|
|
8983
8935
|
]
|
|
8984
8936
|
}
|
|
8985
|
-
], Te = (t) => t,
|
|
8937
|
+
], Te = (t) => t, Ml = [
|
|
8986
8938
|
{
|
|
8987
8939
|
$cmp: "ConfigTab",
|
|
8988
8940
|
props: { title: Te("brand.template.nodeConfig.displayImage.title") },
|
|
@@ -9080,7 +9032,7 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9080
9032
|
}
|
|
9081
9033
|
]
|
|
9082
9034
|
}
|
|
9083
|
-
], de = (t) => t,
|
|
9035
|
+
], de = (t) => t, Rl = [
|
|
9084
9036
|
{
|
|
9085
9037
|
$cmp: "ConfigTab",
|
|
9086
9038
|
props: { title: de("brand.template.nodeConfig.carousel.title") },
|
|
@@ -9200,7 +9152,7 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9200
9152
|
}
|
|
9201
9153
|
]
|
|
9202
9154
|
}
|
|
9203
|
-
], K = (t) => t,
|
|
9155
|
+
], K = (t) => t, $l = [
|
|
9204
9156
|
{
|
|
9205
9157
|
$cmp: "ConfigTab",
|
|
9206
9158
|
props: { title: K("brand.template.nodeConfig.memberCard.title") },
|
|
@@ -9246,7 +9198,7 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9246
9198
|
label: K(
|
|
9247
9199
|
"brand.template.nodeConfig.memberCard.isMemberLabel"
|
|
9248
9200
|
),
|
|
9249
|
-
value:
|
|
9201
|
+
value: kn
|
|
9250
9202
|
},
|
|
9251
9203
|
{
|
|
9252
9204
|
label: K(
|
|
@@ -9336,7 +9288,7 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9336
9288
|
}
|
|
9337
9289
|
]
|
|
9338
9290
|
}
|
|
9339
|
-
], oe = (t) => t,
|
|
9291
|
+
], oe = (t) => t, Zl = [
|
|
9340
9292
|
{
|
|
9341
9293
|
$cmp: "ConfigTab",
|
|
9342
9294
|
props: { title: oe("brand.template.nodeConfig.orderMethod.title") },
|
|
@@ -9457,15 +9409,15 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9457
9409
|
}
|
|
9458
9410
|
]
|
|
9459
9411
|
}
|
|
9460
|
-
],
|
|
9412
|
+
], Oe = (t) => t, Ul = [
|
|
9461
9413
|
{
|
|
9462
9414
|
$cmp: "ConfigTab",
|
|
9463
|
-
props: { title:
|
|
9415
|
+
props: { title: Oe("brand.template.nodeConfig.branchList.title") },
|
|
9464
9416
|
children: [
|
|
9465
9417
|
{
|
|
9466
9418
|
$cmp: "ConfigTabItem",
|
|
9467
9419
|
props: {
|
|
9468
|
-
title:
|
|
9420
|
+
title: Oe("brand.template.nodeConfig.branchList.propertiesTitle"),
|
|
9469
9421
|
value: "properties"
|
|
9470
9422
|
},
|
|
9471
9423
|
children: [
|
|
@@ -9474,31 +9426,31 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9474
9426
|
children: [
|
|
9475
9427
|
{
|
|
9476
9428
|
$formkit: "BaTextField",
|
|
9477
|
-
label:
|
|
9429
|
+
label: Oe(
|
|
9478
9430
|
"brand.template.nodeConfig.branchList.displayTextLabel"
|
|
9479
9431
|
),
|
|
9480
9432
|
name: "label"
|
|
9481
9433
|
},
|
|
9482
9434
|
{
|
|
9483
9435
|
$formkit: "BaTextField",
|
|
9484
|
-
label:
|
|
9436
|
+
label: Oe("brand.template.nodeConfig.branchList.subTextLabel"),
|
|
9485
9437
|
name: "sublabel"
|
|
9486
9438
|
},
|
|
9487
9439
|
{
|
|
9488
9440
|
$formkit: "BaColorPicker",
|
|
9489
|
-
label:
|
|
9441
|
+
label: Oe("brand.template.nodeConfig.branchList.iconColorLabel"),
|
|
9490
9442
|
name: "iconColor"
|
|
9491
9443
|
},
|
|
9492
9444
|
{
|
|
9493
9445
|
$formkit: "BaColorPicker",
|
|
9494
|
-
label:
|
|
9446
|
+
label: Oe(
|
|
9495
9447
|
"brand.template.nodeConfig.branchList.displayTextColorLabel"
|
|
9496
9448
|
),
|
|
9497
9449
|
name: "labelColor"
|
|
9498
9450
|
},
|
|
9499
9451
|
{
|
|
9500
9452
|
$formkit: "BaColorPicker",
|
|
9501
|
-
label:
|
|
9453
|
+
label: Oe(
|
|
9502
9454
|
"brand.template.nodeConfig.branchList.subTextColorLabel"
|
|
9503
9455
|
),
|
|
9504
9456
|
name: "sublabelColor"
|
|
@@ -9510,14 +9462,14 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9510
9462
|
{
|
|
9511
9463
|
$cmp: "ConfigTabItem",
|
|
9512
9464
|
props: {
|
|
9513
|
-
title:
|
|
9465
|
+
title: Oe("brand.template.nodeConfig.branchList.frameTitle"),
|
|
9514
9466
|
value: "frame"
|
|
9515
9467
|
},
|
|
9516
9468
|
children: [...be]
|
|
9517
9469
|
}
|
|
9518
9470
|
]
|
|
9519
9471
|
}
|
|
9520
|
-
], Be = (t) => t,
|
|
9472
|
+
], Be = (t) => t, Vl = [
|
|
9521
9473
|
{
|
|
9522
9474
|
$cmp: "ConfigTab",
|
|
9523
9475
|
props: {
|
|
@@ -9567,7 +9519,7 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9567
9519
|
label: Be(
|
|
9568
9520
|
"brand.template.nodeConfig.orderHistoryCard.withOrdersLabel"
|
|
9569
9521
|
),
|
|
9570
|
-
value:
|
|
9522
|
+
value: Dn
|
|
9571
9523
|
},
|
|
9572
9524
|
{
|
|
9573
9525
|
label: Be(
|
|
@@ -9592,22 +9544,22 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9592
9544
|
}
|
|
9593
9545
|
]
|
|
9594
9546
|
}
|
|
9595
|
-
],
|
|
9547
|
+
], nn = (t) => t, Hl = [
|
|
9596
9548
|
{
|
|
9597
9549
|
$cmp: "ConfigTab",
|
|
9598
|
-
props: { title:
|
|
9550
|
+
props: { title: nn("brand.template.nodeConfig.memberSummary.title") },
|
|
9599
9551
|
children: [
|
|
9600
9552
|
{
|
|
9601
9553
|
$cmp: "ConfigTabItem",
|
|
9602
9554
|
props: {
|
|
9603
|
-
title:
|
|
9555
|
+
title: nn("brand.template.nodeConfig.memberSummary.frameTitle"),
|
|
9604
9556
|
value: "frame"
|
|
9605
9557
|
},
|
|
9606
9558
|
children: [...be]
|
|
9607
9559
|
}
|
|
9608
9560
|
]
|
|
9609
9561
|
}
|
|
9610
|
-
], st = (t) => t,
|
|
9562
|
+
], st = (t) => t, Yl = [
|
|
9611
9563
|
{
|
|
9612
9564
|
$cmp: "ConfigTab",
|
|
9613
9565
|
props: { title: st("brand.template.nodeConfig.memberCards.title") },
|
|
@@ -9650,7 +9602,7 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9650
9602
|
}
|
|
9651
9603
|
]
|
|
9652
9604
|
}
|
|
9653
|
-
], ge = (t) => t,
|
|
9605
|
+
], ge = (t) => t, zl = [
|
|
9654
9606
|
{
|
|
9655
9607
|
$cmp: "ConfigTab",
|
|
9656
9608
|
props: { title: ge("brand.template.nodeConfig.memberAchievements.title") },
|
|
@@ -9751,7 +9703,7 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9751
9703
|
}
|
|
9752
9704
|
]
|
|
9753
9705
|
}
|
|
9754
|
-
], _e = (t) => t,
|
|
9706
|
+
], _e = (t) => t, jl = [
|
|
9755
9707
|
{
|
|
9756
9708
|
$cmp: "ConfigTab",
|
|
9757
9709
|
props: { title: _e("brand.template.nodeConfig.creditHistory.title") },
|
|
@@ -9795,7 +9747,7 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9795
9747
|
}
|
|
9796
9748
|
]
|
|
9797
9749
|
}
|
|
9798
|
-
],
|
|
9750
|
+
], Wl = [
|
|
9799
9751
|
{
|
|
9800
9752
|
$cmp: "ConfigTab",
|
|
9801
9753
|
props: { title: _e("brand.template.nodeConfig.pointHistory.title") },
|
|
@@ -9837,10 +9789,10 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9837
9789
|
}
|
|
9838
9790
|
]
|
|
9839
9791
|
}
|
|
9840
|
-
],
|
|
9792
|
+
], Gl = (t) => t, Xl = [
|
|
9841
9793
|
{
|
|
9842
9794
|
$cmp: "ConfigTab",
|
|
9843
|
-
props: { title:
|
|
9795
|
+
props: { title: Gl("brand.template.nodeConfig.memberProfile.title") },
|
|
9844
9796
|
children: [
|
|
9845
9797
|
// {
|
|
9846
9798
|
// $cmp: 'ConfigTabItem',
|
|
@@ -9878,7 +9830,7 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9878
9830
|
// },
|
|
9879
9831
|
]
|
|
9880
9832
|
}
|
|
9881
|
-
], Ke = (t) => t,
|
|
9833
|
+
], Ke = (t) => t, Jl = [
|
|
9882
9834
|
{
|
|
9883
9835
|
$cmp: "ConfigTab",
|
|
9884
9836
|
props: {
|
|
@@ -9950,15 +9902,15 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9950
9902
|
}
|
|
9951
9903
|
]
|
|
9952
9904
|
}
|
|
9953
|
-
],
|
|
9905
|
+
], on = (t) => t, Kl = [
|
|
9954
9906
|
{
|
|
9955
9907
|
$cmp: "ConfigTab",
|
|
9956
|
-
props: { title:
|
|
9908
|
+
props: { title: on("brand.template.nodeConfig.referral.imageTitle") },
|
|
9957
9909
|
children: [
|
|
9958
9910
|
{
|
|
9959
9911
|
$cmp: "ConfigTabItem",
|
|
9960
9912
|
props: {
|
|
9961
|
-
title:
|
|
9913
|
+
title: on("brand.template.nodeConfig.referral.contentTitle"),
|
|
9962
9914
|
value: "design"
|
|
9963
9915
|
},
|
|
9964
9916
|
children: [
|
|
@@ -9967,51 +9919,51 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
9967
9919
|
}
|
|
9968
9920
|
]
|
|
9969
9921
|
}
|
|
9970
|
-
],
|
|
9922
|
+
], ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9971
9923
|
__proto__: null,
|
|
9972
|
-
BranchList:
|
|
9973
|
-
ButtonList:
|
|
9924
|
+
BranchList: Ul,
|
|
9925
|
+
ButtonList: Pl,
|
|
9974
9926
|
Container: be,
|
|
9975
|
-
Homepage:
|
|
9976
|
-
ImageCarousel:
|
|
9977
|
-
ImageDisplay:
|
|
9978
|
-
MemberAchievements:
|
|
9979
|
-
MemberCard:
|
|
9980
|
-
MemberCards:
|
|
9981
|
-
MemberSummary:
|
|
9982
|
-
OrderHistoryCard:
|
|
9983
|
-
OrderMethod:
|
|
9927
|
+
Homepage: Fl,
|
|
9928
|
+
ImageCarousel: Rl,
|
|
9929
|
+
ImageDisplay: Ml,
|
|
9930
|
+
MemberAchievements: zl,
|
|
9931
|
+
MemberCard: $l,
|
|
9932
|
+
MemberCards: Yl,
|
|
9933
|
+
MemberSummary: Hl,
|
|
9934
|
+
OrderHistoryCard: Vl,
|
|
9935
|
+
OrderMethod: Zl,
|
|
9984
9936
|
TextDisplay: Ol,
|
|
9985
|
-
_Credit:
|
|
9986
|
-
_MemberProfile:
|
|
9987
|
-
_Point:
|
|
9988
|
-
_Referral:
|
|
9989
|
-
_ReferralTutorial:
|
|
9990
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9937
|
+
_Credit: jl,
|
|
9938
|
+
_MemberProfile: Xl,
|
|
9939
|
+
_Point: Wl,
|
|
9940
|
+
_Referral: Kl,
|
|
9941
|
+
_ReferralTutorial: Jl
|
|
9942
|
+
}, Symbol.toStringTag, { value: "Module" })), Ql = {
|
|
9991
9943
|
key: 0,
|
|
9992
9944
|
class: "bg-fm-color-system-info-100 border-l-4 border-fm-color-system-info-300 mb-16 pl-8 pr-12 py-8 fm-typo-en-body-md-400 text-fm-color-typo-primary"
|
|
9993
|
-
},
|
|
9945
|
+
}, es = { class: "flex flex-col gap-16 px-12" }, ts = /* @__PURE__ */ se({
|
|
9994
9946
|
__name: "ConfigSection",
|
|
9995
9947
|
props: {
|
|
9996
9948
|
label: {}
|
|
9997
9949
|
},
|
|
9998
9950
|
setup(t) {
|
|
9999
9951
|
const { t: e } = Ze();
|
|
10000
|
-
return (a, n) => (
|
|
10001
|
-
a.label ? (
|
|
10002
|
-
I("div",
|
|
9952
|
+
return (a, n) => (N(), Z("div", null, [
|
|
9953
|
+
a.label ? (N(), Z("div", Ql, j(v(e)(a.label)), 1)) : Q("", !0),
|
|
9954
|
+
I("div", es, [
|
|
10003
9955
|
wa(a.$slots, "default")
|
|
10004
9956
|
])
|
|
10005
9957
|
]));
|
|
10006
9958
|
}
|
|
10007
|
-
}),
|
|
9959
|
+
}), Jn = Symbol.for("ba:config-tab"), as = { class: "p-16 w-full fm-typo-en-body-md-600 text-fm-color-typo-primary" }, ns = { class: "flex items-center w-full border-b border-fm-color-neutral-gray-100" }, os = /* @__PURE__ */ se({
|
|
10008
9960
|
__name: "ConfigTab",
|
|
10009
9961
|
props: {
|
|
10010
9962
|
title: {}
|
|
10011
9963
|
},
|
|
10012
9964
|
setup(t) {
|
|
10013
9965
|
const { t: e } = Ze(), a = q([]), n = q("");
|
|
10014
|
-
|
|
9966
|
+
so(Jn, {
|
|
10015
9967
|
register(r) {
|
|
10016
9968
|
a.value = [...a.value, r].map(
|
|
10017
9969
|
(l) => ({
|
|
@@ -10027,11 +9979,11 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
10027
9979
|
}
|
|
10028
9980
|
return (r, l) => {
|
|
10029
9981
|
const i = V("FmTab");
|
|
10030
|
-
return
|
|
10031
|
-
I("div",
|
|
10032
|
-
w(
|
|
10033
|
-
I("div",
|
|
10034
|
-
(
|
|
9982
|
+
return N(), Z("div", null, [
|
|
9983
|
+
I("div", as, j(v(e)(r.title)), 1),
|
|
9984
|
+
w(sn),
|
|
9985
|
+
I("div", ns, [
|
|
9986
|
+
(N(!0), Z(Le, null, vt(a.value, (s) => (N(), ae(i, {
|
|
10035
9987
|
"model-value": n.value,
|
|
10036
9988
|
"onUpdate:modelValue": l[0] || (l[0] = (d) => o(d)),
|
|
10037
9989
|
label: s.title,
|
|
@@ -10042,39 +9994,39 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
10042
9994
|
]);
|
|
10043
9995
|
};
|
|
10044
9996
|
}
|
|
10045
|
-
}),
|
|
9997
|
+
}), rs = { key: 0 }, is = { class: "flex flex-col gap-24 py-24" }, ls = /* @__PURE__ */ se({
|
|
10046
9998
|
__name: "ConfigTabItem",
|
|
10047
9999
|
props: {
|
|
10048
10000
|
title: {},
|
|
10049
10001
|
value: {}
|
|
10050
10002
|
},
|
|
10051
10003
|
setup(t) {
|
|
10052
|
-
const e = t, a =
|
|
10053
|
-
return
|
|
10004
|
+
const e = t, a = co(Jn, null);
|
|
10005
|
+
return ln(() => {
|
|
10054
10006
|
a ? a.register(e) : console.warn("ConfigTabItem is to be used with ConfigTab as parent");
|
|
10055
10007
|
}), (n, o) => {
|
|
10056
10008
|
var r;
|
|
10057
|
-
return ((r = v(a)) == null ? void 0 : r.currentTab.value) === n.value ? (
|
|
10058
|
-
I("div",
|
|
10009
|
+
return ((r = v(a)) == null ? void 0 : r.currentTab.value) === n.value ? (N(), Z("div", rs, [
|
|
10010
|
+
I("div", is, [
|
|
10059
10011
|
wa(n.$slots, "default")
|
|
10060
10012
|
])
|
|
10061
10013
|
])) : Q("", !0);
|
|
10062
10014
|
};
|
|
10063
10015
|
}
|
|
10064
|
-
}),
|
|
10016
|
+
}), ss = { class: "h-full flex-shrink-0 w-[308px] bg-fm-color-neutral-white border-l border-fm-color-neutral-gray-200 overflow-y-auto" }, ds = /* @__PURE__ */ se({
|
|
10065
10017
|
__name: "Inspector",
|
|
10066
10018
|
setup(t) {
|
|
10067
10019
|
const e = Ue(), a = ie(() => e.state.selectedNode), n = ie(() => {
|
|
10068
10020
|
var d;
|
|
10069
10021
|
const s = ((d = a.value) == null ? void 0 : d.type) ?? null;
|
|
10070
|
-
return s !== null ?
|
|
10022
|
+
return s !== null ? ql[s] : [];
|
|
10071
10023
|
}), o = ie(() => {
|
|
10072
10024
|
var s;
|
|
10073
10025
|
return (s = a.value) == null ? void 0 : s.props;
|
|
10074
|
-
}), r =
|
|
10075
|
-
ConfigTab:
|
|
10076
|
-
ConfigTabItem:
|
|
10077
|
-
ConfigSection:
|
|
10026
|
+
}), r = uo({
|
|
10027
|
+
ConfigTab: os,
|
|
10028
|
+
ConfigTabItem: ls,
|
|
10029
|
+
ConfigSection: ts
|
|
10078
10030
|
});
|
|
10079
10031
|
function l(s) {
|
|
10080
10032
|
const d = a.value;
|
|
@@ -10105,8 +10057,8 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
10105
10057
|
};
|
|
10106
10058
|
}
|
|
10107
10059
|
}
|
|
10108
|
-
return (s, d) => (
|
|
10109
|
-
a.value ? (
|
|
10060
|
+
return (s, d) => (N(), Z("div", ss, [
|
|
10061
|
+
a.value ? (N(), ae(v(So), {
|
|
10110
10062
|
config: { rootClasses: i },
|
|
10111
10063
|
type: "form",
|
|
10112
10064
|
actions: !1,
|
|
@@ -10125,13 +10077,13 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
10125
10077
|
}, 8, ["config", "model-value"])) : Q("", !0)
|
|
10126
10078
|
]));
|
|
10127
10079
|
}
|
|
10128
|
-
}),
|
|
10080
|
+
}), cs = { class: "relative h-full w-screen flex flex-col overflow-y-hidden" }, us = { class: "flex h-full" }, Bs = /* @__PURE__ */ se({
|
|
10129
10081
|
__name: "BuilderView",
|
|
10130
10082
|
props: {
|
|
10131
10083
|
templateId: {}
|
|
10132
10084
|
},
|
|
10133
10085
|
setup(t) {
|
|
10134
|
-
const e = We(), a = Ue(), n = Ge(), o = Ea(), r =
|
|
10086
|
+
const e = We(), a = Ue(), n = Ge(), o = Ea(), r = dn(), l = Ct(), i = q(!0);
|
|
10135
10087
|
async function s() {
|
|
10136
10088
|
var c, p;
|
|
10137
10089
|
i.value = !0, e.currentBusiness.value && ((c = e.currentBusiness.value) != null && c._id && await n.getAllTemplates(e.currentBusiness.value._id), (p = e.currentBusiness.value) != null && p.url && await o.getGlobalSlug(e.currentBusiness.value.url), d());
|
|
@@ -10170,14 +10122,14 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
10170
10122
|
}
|
|
10171
10123
|
), (c, p) => {
|
|
10172
10124
|
const m = V("FmCircularProgress"), u = V("FmOverlay");
|
|
10173
|
-
return
|
|
10125
|
+
return N(), Z("div", cs, [
|
|
10174
10126
|
w(v(Eo), {
|
|
10175
10127
|
position: "top-right",
|
|
10176
10128
|
"rich-colors": "",
|
|
10177
10129
|
"close-button": "",
|
|
10178
10130
|
duration: 3e3
|
|
10179
10131
|
}),
|
|
10180
|
-
i.value ? (
|
|
10132
|
+
i.value ? (N(), ae(u, {
|
|
10181
10133
|
key: 0,
|
|
10182
10134
|
"dismiss-away": !1,
|
|
10183
10135
|
"prevent-backdrop-event": !1,
|
|
@@ -10189,15 +10141,15 @@ const Al = { class: "relative h-full min-w-[500px] flex-1 bg-fm-color-neutral-gr
|
|
|
10189
10141
|
]),
|
|
10190
10142
|
_: 1
|
|
10191
10143
|
})) : Q("", !0),
|
|
10192
|
-
I("div",
|
|
10144
|
+
I("div", us, [
|
|
10193
10145
|
w(Jr),
|
|
10194
10146
|
w(Nl),
|
|
10195
|
-
w(
|
|
10147
|
+
w(ds)
|
|
10196
10148
|
])
|
|
10197
10149
|
]);
|
|
10198
10150
|
};
|
|
10199
10151
|
}
|
|
10200
10152
|
});
|
|
10201
10153
|
export {
|
|
10202
|
-
|
|
10154
|
+
Bs as default
|
|
10203
10155
|
};
|