@feedmepos/mf-report 5.22.13-beta.1 → 5.22.14-beta.2
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-Cwppqefm.js +294 -0
- package/dist/{BaseDialog.vue_vue_type_script_setup_true_lang-CzbeFyTt.js → BaseDialog.vue_vue_type_script_setup_true_lang-CcKWqqNP.js} +471 -464
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-B06jDFgJ.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-CryPHoYr.js} +2 -2
- package/dist/{Default.vue_vue_type_script_setup_true_lang-BTCBYTaC.js → Default.vue_vue_type_script_setup_true_lang-DU3zkEF1.js} +2 -2
- package/dist/{FilterSelector.vue_vue_type_script_setup_true_lang-Ccr5PmzE.js → FilterSelector.vue_vue_type_script_setup_true_lang-CyW-5xr4.js} +7 -7
- package/dist/{InsightView-C0TwLCJv.js → InsightView-DAnaBH3D.js} +6 -6
- package/dist/{Integration-BFEaM0Wz.js → Integration-DiNs52W5.js} +5 -5
- package/dist/{Integrations-CG-ygqKI.js → Integrations-BvgLRF5N.js} +5 -5
- package/dist/{Layout-D6kcGEx6.js → Layout-BAYV4nCo.js} +1 -1
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-D3EZc4Vp.js → MenuTab.vue_vue_type_script_setup_true_lang-BZphMQGv.js} +5 -5
- package/dist/{NavigationTab.vue_vue_type_script_setup_true_lang-CpMCe0cN.js → NavigationTab.vue_vue_type_script_setup_true_lang-DSTG-gQ3.js} +5 -5
- package/dist/{NoData.vue_vue_type_script_setup_true_lang-DdX25Qgn.js → NoData.vue_vue_type_script_setup_true_lang-zS79GrjC.js} +1 -1
- package/dist/{OverviewView-ATC5S46N.js → OverviewView-CvRMdLbB.js} +5 -5
- package/dist/{Report-CVNA4oKn.js → Report-C6445626.js} +164 -154
- package/dist/{ReportEditor-ZXjzIVWj.js → ReportEditor-Cy8f2WFu.js} +6 -6
- package/dist/{ReportView-C0vzCbYY.js → ReportView-D-T3b10U.js} +9 -9
- package/dist/{SelectComponent.vue_vue_type_script_setup_true_lang-BHVPbR3l.js → SelectComponent.vue_vue_type_script_setup_true_lang-CYDZzbCU.js} +1 -1
- package/dist/{Setting-BfR6T0tE.js → Setting-DBzyuCx-.js} +5 -5
- package/dist/{TileEditor-BQDzUwav.js → TileEditor-CWYE5X71.js} +275 -268
- package/dist/{TransitionFade-DlAa1-mg.js → TransitionFade-DwQjFIYA.js} +101 -99
- package/dist/{access-Dw5cDt65-DpLiFTpm.js → access-Dw5cDt65-C2c0R9q4.js} +1 -1
- package/dist/{app-tS9-0m0b.js → app-BRv3iLF1.js} +11 -11
- package/dist/app.js +1 -1
- package/dist/assets/{formatChartData.worker-CtCG_oop.js → formatChartData.worker-Df5ziPQ2.js} +7 -7
- package/dist/assets/{processTableData.worker-BN2TZ-50.js → processTableData.worker-qpA30azs.js} +7 -7
- package/dist/style.css +1 -1
- package/dist/{useReportPermission-DEI1PTJT.js → useReportPermission-CDWkdi6R.js} +2 -2
- package/dist/{useRestaurantPermission-DTzkzgml.js → useRestaurantPermission-CjG_t7dK.js} +2 -2
- package/dist/{vue-i18n-BxRs360O.js → vue-i18n-ComGWqEb.js} +1 -1
- package/package.json +1 -1
- package/dist/App-pXGWlg3l.js +0 -264
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as Te, onBeforeMount as In, onBeforeUnmount as Fn, resolveComponent as N, createElementBlock as ee, openBlock as V, normalizeStyle as kn, unref as X, renderSlot as ze, createVNode as A, createElementVNode as
|
|
2
|
-
import { u as Pt, e as Pn, p as Vn, j as rn } from "./vue-i18n-
|
|
1
|
+
import { defineComponent as Te, onBeforeMount as In, onBeforeUnmount as Fn, resolveComponent as N, createElementBlock as ee, openBlock as V, normalizeStyle as kn, unref as X, renderSlot as ze, createVNode as A, createElementVNode as ue, toDisplayString as Ae, TransitionGroup as An, nextTick as nn, h as Rt, mergeModels as Nt, useModel as Ge, computed as Fe, Fragment as qe, renderList as on, createBlock as Pe, normalizeClass as Xt, withCtx as ie, Transition as xt, createCommentVNode as ce, ref as Se, watch as pt, withModifiers as Yt, createTextVNode as Nn } from "vue";
|
|
2
|
+
import { u as Pt, e as Pn, p as Vn, j as rn } from "./vue-i18n-ComGWqEb.js";
|
|
3
3
|
import { useCoreStore as Mn } from "@feedmepos/mf-common";
|
|
4
4
|
import { storeToRefs as Ln } from "pinia";
|
|
5
5
|
import { useRoute as Bn } from "vue-router";
|
|
6
|
-
import { W as F, c as De, d as $n } from "./BaseDialog.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as Vt, a as
|
|
8
|
-
import { R as Rn, I as Be, f as an, h as ln, i as Xn } from "./FilterSelector.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { d as ht } from "./app-
|
|
6
|
+
import { W as F, c as De, d as $n } from "./BaseDialog.vue_vue_type_script_setup_true_lang-CcKWqqNP.js";
|
|
7
|
+
import { _ as Vt, a as Wt } from "./SelectComponent.vue_vue_type_script_setup_true_lang-CYDZzbCU.js";
|
|
8
|
+
import { R as Rn, I as Be, f as an, h as ln, i as Xn } from "./FilterSelector.vue_vue_type_script_setup_true_lang-CyW-5xr4.js";
|
|
9
|
+
import { d as ht } from "./app-BRv3iLF1.js";
|
|
10
10
|
import { r as Yn } from "./i18n-CI_sQ5d_.js";
|
|
11
11
|
import { useSnackbar as Wn } from "@feedmepos/ui-library";
|
|
12
|
-
import { d as Un } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { d as Un } from "./DateRangeSelect.vue_vue_type_script_setup_true_lang-CryPHoYr.js";
|
|
13
13
|
const jn = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
|
|
@@ -31,7 +31,7 @@ const jn = {
|
|
|
31
31
|
}, [
|
|
32
32
|
X(o) ? (V(), ee("div", jn, [
|
|
33
33
|
A(c, { size: "xl" }),
|
|
34
|
-
|
|
34
|
+
ue("span", Hn, Ae(X(e)("report.common.isLoading")), 1)
|
|
35
35
|
])) : ze(i.$slots, "default", { key: 1 })
|
|
36
36
|
], 4);
|
|
37
37
|
};
|
|
@@ -43,7 +43,7 @@ const jn = {
|
|
|
43
43
|
* @author owenm <owen23355@gmail.com>
|
|
44
44
|
* @license MIT
|
|
45
45
|
*/
|
|
46
|
-
function
|
|
46
|
+
function Ut(t, e) {
|
|
47
47
|
var n = Object.keys(t);
|
|
48
48
|
if (Object.getOwnPropertySymbols) {
|
|
49
49
|
var o = Object.getOwnPropertySymbols(t);
|
|
@@ -56,9 +56,9 @@ function Wt(t, e) {
|
|
|
56
56
|
function le(t) {
|
|
57
57
|
for (var e = 1; e < arguments.length; e++) {
|
|
58
58
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
59
|
-
e % 2 ?
|
|
59
|
+
e % 2 ? Ut(Object(n), !0).forEach(function(o) {
|
|
60
60
|
zn(t, o, n[o]);
|
|
61
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) :
|
|
61
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Ut(Object(n)).forEach(function(o) {
|
|
62
62
|
Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(n, o));
|
|
63
63
|
});
|
|
64
64
|
}
|
|
@@ -80,15 +80,15 @@ function zn(t, e, n) {
|
|
|
80
80
|
writable: !0
|
|
81
81
|
}) : t[e] = n, t;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
83
|
+
function fe() {
|
|
84
|
+
return fe = Object.assign || function(t) {
|
|
85
85
|
for (var e = 1; e < arguments.length; e++) {
|
|
86
86
|
var n = arguments[e];
|
|
87
87
|
for (var o in n)
|
|
88
88
|
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
89
89
|
}
|
|
90
90
|
return t;
|
|
91
|
-
},
|
|
91
|
+
}, fe.apply(this, arguments);
|
|
92
92
|
}
|
|
93
93
|
function Gn(t, e) {
|
|
94
94
|
if (t == null) return {};
|
|
@@ -108,19 +108,19 @@ function qn(t, e) {
|
|
|
108
108
|
return n;
|
|
109
109
|
}
|
|
110
110
|
var Kn = "1.14.0";
|
|
111
|
-
function
|
|
111
|
+
function de(t) {
|
|
112
112
|
if (typeof window < "u" && window.navigator)
|
|
113
113
|
return !!/* @__PURE__ */ navigator.userAgent.match(t);
|
|
114
114
|
}
|
|
115
|
-
var
|
|
115
|
+
var me = de(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ke = de(/Edge/i), jt = de(/firefox/i), Ye = de(/safari/i) && !de(/chrome/i) && !de(/android/i), sn = de(/iP(ad|od|hone)/i), Jn = de(/chrome/i) && de(/android/i), un = {
|
|
116
116
|
capture: !1,
|
|
117
117
|
passive: !1
|
|
118
118
|
};
|
|
119
119
|
function D(t, e, n) {
|
|
120
|
-
t.addEventListener(e, n, !
|
|
120
|
+
t.addEventListener(e, n, !me && un);
|
|
121
121
|
}
|
|
122
122
|
function S(t, e, n) {
|
|
123
|
-
t.removeEventListener(e, n, !
|
|
123
|
+
t.removeEventListener(e, n, !me && un);
|
|
124
124
|
}
|
|
125
125
|
function st(t, e) {
|
|
126
126
|
if (e) {
|
|
@@ -152,14 +152,14 @@ function re(t, e, n, o) {
|
|
|
152
152
|
}
|
|
153
153
|
return null;
|
|
154
154
|
}
|
|
155
|
-
var
|
|
155
|
+
var Ht = /\s+/g;
|
|
156
156
|
function J(t, e, n) {
|
|
157
157
|
if (t && e)
|
|
158
158
|
if (t.classList)
|
|
159
159
|
t.classList[n ? "add" : "remove"](e);
|
|
160
160
|
else {
|
|
161
|
-
var o = (" " + t.className + " ").replace(
|
|
162
|
-
t.className = (o + (n ? " " + e : "")).replace(
|
|
161
|
+
var o = (" " + t.className + " ").replace(Ht, " ").replace(" " + e + " ", " ");
|
|
162
|
+
t.className = (o + (n ? " " + e : "")).replace(Ht, " ");
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
function h(t, e, n) {
|
|
@@ -199,7 +199,7 @@ function ae() {
|
|
|
199
199
|
function P(t, e, n, o, r) {
|
|
200
200
|
if (!(!t.getBoundingClientRect && t !== window)) {
|
|
201
201
|
var i, a, c, l, u, f, s;
|
|
202
|
-
if (t !== window && t.parentNode && t !== ae() ? (i = t.getBoundingClientRect(), a = i.top, c = i.left, l = i.bottom, u = i.right, f = i.height, s = i.width) : (a = 0, c = 0, l = window.innerHeight, u = window.innerWidth, f = window.innerHeight, s = window.innerWidth), (e || n) && t !== window && (r = r || t.parentNode, !
|
|
202
|
+
if (t !== window && t.parentNode && t !== ae() ? (i = t.getBoundingClientRect(), a = i.top, c = i.left, l = i.bottom, u = i.right, f = i.height, s = i.width) : (a = 0, c = 0, l = window.innerHeight, u = window.innerWidth, f = window.innerHeight, s = window.innerWidth), (e || n) && t !== window && (r = r || t.parentNode, !me))
|
|
203
203
|
do
|
|
204
204
|
if (r && r.getBoundingClientRect && (h(r, "transform") !== "none" || n && h(r, "position") !== "static")) {
|
|
205
205
|
var v = r.getBoundingClientRect();
|
|
@@ -221,7 +221,7 @@ function P(t, e, n, o, r) {
|
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function zt(t, e, n) {
|
|
225
225
|
for (var o = ve(t, !0), r = P(t)[e]; o; ) {
|
|
226
226
|
var i = P(o)[n], a = void 0;
|
|
227
227
|
if (a = r >= i, !a) return o;
|
|
@@ -254,7 +254,7 @@ function ne(t, e) {
|
|
|
254
254
|
t.nodeName.toUpperCase() !== "TEMPLATE" && t !== g.clone && (!e || st(t, e)) && n++;
|
|
255
255
|
return n;
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function Gt(t) {
|
|
258
258
|
var e = 0, n = 0, o = ae();
|
|
259
259
|
if (t)
|
|
260
260
|
do {
|
|
@@ -411,7 +411,7 @@ var Oe = [], vt = {
|
|
|
411
411
|
var l = c.pluginName;
|
|
412
412
|
if (!(!e.options[l] && !c.initializeByDefault)) {
|
|
413
413
|
var u = new c(e, n, e.options);
|
|
414
|
-
u.sortable = e, u.options = e.options, e[l] = u,
|
|
414
|
+
u.sortable = e, u.options = e.options, e[l] = u, fe(o, u.defaults);
|
|
415
415
|
}
|
|
416
416
|
});
|
|
417
417
|
for (var i in e.options)
|
|
@@ -423,7 +423,7 @@ var Oe = [], vt = {
|
|
|
423
423
|
getEventProperties: function(e, n) {
|
|
424
424
|
var o = {};
|
|
425
425
|
return Oe.forEach(function(r) {
|
|
426
|
-
typeof r.eventProperties == "function" &&
|
|
426
|
+
typeof r.eventProperties == "function" && fe(o, r.eventProperties.call(n[r.pluginName], e));
|
|
427
427
|
}), o;
|
|
428
428
|
},
|
|
429
429
|
modifyOption: function(e, n, o) {
|
|
@@ -437,7 +437,7 @@ function io(t) {
|
|
|
437
437
|
var e = t.sortable, n = t.rootEl, o = t.name, r = t.targetEl, i = t.cloneEl, a = t.toEl, c = t.fromEl, l = t.oldIndex, u = t.newIndex, f = t.oldDraggableIndex, s = t.newDraggableIndex, v = t.originalEvent, y = t.putSortable, _ = t.extraEventProperties;
|
|
438
438
|
if (e = e || n && n[Q], !!e) {
|
|
439
439
|
var b, Y = e.options, q = "on" + o.charAt(0).toUpperCase() + o.substr(1);
|
|
440
|
-
window.CustomEvent && !
|
|
440
|
+
window.CustomEvent && !me && !Ke ? b = new CustomEvent(o, {
|
|
441
441
|
bubbles: !0,
|
|
442
442
|
cancelable: !0
|
|
443
443
|
}) : (b = document.createEvent("Event"), b.initEvent(o, !0, !0)), b.to = a || n, b.from = c || n, b.item = r || n, b.clone = i, b.oldIndex = l, b.newIndex = u, b.oldDraggableIndex = f, b.newDraggableIndex = s, b.originalEvent = v, b.pullMode = y ? y.lastPutMode : void 0;
|
|
@@ -465,7 +465,7 @@ var ao = ["evt"], K = function(e, n) {
|
|
|
465
465
|
oldIndex: Ne,
|
|
466
466
|
oldDraggableIndex: Ue,
|
|
467
467
|
newIndex: Z,
|
|
468
|
-
newDraggableIndex:
|
|
468
|
+
newDraggableIndex: he,
|
|
469
469
|
hideGhostForTarget: vn,
|
|
470
470
|
unhideGhostForTarget: bn,
|
|
471
471
|
cloneNowHidden: function() {
|
|
@@ -492,12 +492,12 @@ function G(t) {
|
|
|
492
492
|
oldIndex: Ne,
|
|
493
493
|
oldDraggableIndex: Ue,
|
|
494
494
|
newIndex: Z,
|
|
495
|
-
newDraggableIndex:
|
|
495
|
+
newDraggableIndex: he
|
|
496
496
|
}, t));
|
|
497
497
|
}
|
|
498
|
-
var d, x, w, C, Ce, rt, O, ge, Ne, Z, Ue,
|
|
498
|
+
var d, x, w, C, Ce, rt, O, ge, Ne, Z, Ue, he, Qe, R, ke = !1, ut = !1, ct = [], we, oe, bt, yt, qt, Kt, $e, Ie, je, He = !1, et = !1, it, j, _t = [], Ot = !1, dt = [], mt = typeof document < "u", tt = sn, Jt = Ke || me ? "cssFloat" : "float", lo = mt && !Jn && !sn && "draggable" in document.createElement("div"), pn = function() {
|
|
499
499
|
if (mt) {
|
|
500
|
-
if (
|
|
500
|
+
if (me)
|
|
501
501
|
return !1;
|
|
502
502
|
var t = document.createElement("x");
|
|
503
503
|
return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
|
|
@@ -512,7 +512,7 @@ var d, x, w, C, Ce, rt, O, ge, Ne, Z, Ue, pe, Qe, R, ke = !1, ut = !1, ct = [],
|
|
|
512
512
|
var s = c.float === "left" ? "left" : "right";
|
|
513
513
|
return a && (l.clear === "both" || l.clear === s) ? "vertical" : "horizontal";
|
|
514
514
|
}
|
|
515
|
-
return i && (c.display === "block" || c.display === "flex" || c.display === "table" || c.display === "grid" || u >= r && o[
|
|
515
|
+
return i && (c.display === "block" || c.display === "flex" || c.display === "table" || c.display === "grid" || u >= r && o[Jt] === "none" || a && o[Jt] === "none" && u + f > r) ? "vertical" : "horizontal";
|
|
516
516
|
}, so = function(e, n, o) {
|
|
517
517
|
var r = o ? e.left : e.top, i = o ? e.right : e.bottom, a = o ? e.width : e.height, c = o ? n.left : n.top, l = o ? n.right : n.bottom, u = o ? n.width : n.height;
|
|
518
518
|
return r === c || i === l || r + a / 2 === c + u / 2;
|
|
@@ -572,7 +572,7 @@ var Ee = function(e) {
|
|
|
572
572
|
function g(t, e) {
|
|
573
573
|
if (!(t && t.nodeType && t.nodeType === 1))
|
|
574
574
|
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));
|
|
575
|
-
this.el = t, this.options = e =
|
|
575
|
+
this.el = t, this.options = e = fe({}, e), t[Q] = this;
|
|
576
576
|
var n = {
|
|
577
577
|
group: null,
|
|
578
578
|
sort: !0,
|
|
@@ -624,7 +624,7 @@ function g(t, e) {
|
|
|
624
624
|
gn(e);
|
|
625
625
|
for (var r in this)
|
|
626
626
|
r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
|
|
627
|
-
this.nativeDraggable = e.forceFallback ? !1 : lo, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? D(t, "pointerdown", this._onTapStart) : (D(t, "mousedown", this._onTapStart), D(t, "touchstart", this._onTapStart)), this.nativeDraggable && (D(t, "dragover", this), D(t, "dragenter", this)), ct.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []),
|
|
627
|
+
this.nativeDraggable = e.forceFallback ? !1 : lo, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? D(t, "pointerdown", this._onTapStart) : (D(t, "mousedown", this._onTapStart), D(t, "touchstart", this._onTapStart)), this.nativeDraggable && (D(t, "dragover", this), D(t, "dragenter", this)), ct.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), fe(this, no());
|
|
628
628
|
}
|
|
629
629
|
g.prototype = /** @lends Sortable.prototype */
|
|
630
630
|
{
|
|
@@ -681,23 +681,23 @@ g.prototype = /** @lends Sortable.prototype */
|
|
|
681
681
|
target: d,
|
|
682
682
|
clientX: (n || e).clientX,
|
|
683
683
|
clientY: (n || e).clientY
|
|
684
|
-
},
|
|
684
|
+
}, qt = we.clientX - u.left, Kt = we.clientY - u.top, this._lastX = (n || e).clientX, this._lastY = (n || e).clientY, d.style["will-change"] = "all", l = function() {
|
|
685
685
|
if (K("delayEnded", r, {
|
|
686
686
|
evt: e
|
|
687
687
|
}), g.eventCanceled) {
|
|
688
688
|
r._onDrop();
|
|
689
689
|
return;
|
|
690
690
|
}
|
|
691
|
-
r._disableDelayedDragEvents(), !
|
|
691
|
+
r._disableDelayedDragEvents(), !jt && r.nativeDraggable && (d.draggable = !0), r._triggerDragStart(e, n), G({
|
|
692
692
|
sortable: r,
|
|
693
693
|
name: "choose",
|
|
694
694
|
originalEvent: e
|
|
695
695
|
}), J(d, a.chosenClass, !0);
|
|
696
696
|
}, a.ignore.split(",").forEach(function(f) {
|
|
697
697
|
cn(d, f.trim(), wt);
|
|
698
|
-
}), D(c, "dragover", Ee), D(c, "mousemove", Ee), D(c, "touchmove", Ee), D(c, "mouseup", r._onDrop), D(c, "touchend", r._onDrop), D(c, "touchcancel", r._onDrop),
|
|
698
|
+
}), D(c, "dragover", Ee), D(c, "mousemove", Ee), D(c, "touchmove", Ee), D(c, "mouseup", r._onDrop), D(c, "touchend", r._onDrop), D(c, "touchcancel", r._onDrop), jt && this.nativeDraggable && (this.options.touchStartThreshold = 4, d.draggable = !0), K("delayStart", this, {
|
|
699
699
|
evt: e
|
|
700
|
-
}), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Ke ||
|
|
700
|
+
}), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Ke || me))) {
|
|
701
701
|
if (g.eventCanceled) {
|
|
702
702
|
this._onDrop();
|
|
703
703
|
return;
|
|
@@ -765,7 +765,7 @@ g.prototype = /** @lends Sortable.prototype */
|
|
|
765
765
|
},
|
|
766
766
|
_onTouchMove: function(e) {
|
|
767
767
|
if (we) {
|
|
768
|
-
var n = this.options, o = n.fallbackTolerance, r = n.fallbackOffset, i = e.touches ? e.touches[0] : e, a = w && Ve(w, !0), c = w && a && a.a, l = w && a && a.d, u = tt && j &&
|
|
768
|
+
var n = this.options, o = n.fallbackTolerance, r = n.fallbackOffset, i = e.touches ? e.touches[0] : e, a = w && Ve(w, !0), c = w && a && a.a, l = w && a && a.d, u = tt && j && Gt(j), f = (i.clientX - we.clientX + r.x) / (c || 1) + (u ? u[0] - _t[0] : 0) / (c || 1), s = (i.clientY - we.clientY + r.y) / (l || 1) + (u ? u[1] - _t[1] : 0) / (l || 1);
|
|
769
769
|
if (!g.active && !ke) {
|
|
770
770
|
if (o && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < o)
|
|
771
771
|
return;
|
|
@@ -792,9 +792,9 @@ g.prototype = /** @lends Sortable.prototype */
|
|
|
792
792
|
if (tt) {
|
|
793
793
|
for (j = e; h(j, "position") === "static" && h(j, "transform") === "none" && j !== document; )
|
|
794
794
|
j = j.parentNode;
|
|
795
|
-
j !== document.body && j !== document.documentElement ? (j === document && (j = ae()), n.top += j.scrollTop, n.left += j.scrollLeft) : j = ae(), _t =
|
|
795
|
+
j !== document.body && j !== document.documentElement ? (j === document && (j = ae()), n.top += j.scrollTop, n.left += j.scrollLeft) : j = ae(), _t = Gt(j);
|
|
796
796
|
}
|
|
797
|
-
w = d.cloneNode(!0), J(w, o.ghostClass, !1), J(w, o.fallbackClass, !0), J(w, o.dragClass, !0), h(w, "transition", ""), h(w, "transform", ""), h(w, "box-sizing", "border-box"), h(w, "margin", 0), h(w, "top", n.top), h(w, "left", n.left), h(w, "width", n.width), h(w, "height", n.height), h(w, "opacity", "0.8"), h(w, "position", tt ? "absolute" : "fixed"), h(w, "zIndex", "100000"), h(w, "pointerEvents", "none"), g.ghost = w, e.appendChild(w), h(w, "transform-origin",
|
|
797
|
+
w = d.cloneNode(!0), J(w, o.ghostClass, !1), J(w, o.fallbackClass, !0), J(w, o.dragClass, !0), h(w, "transition", ""), h(w, "transform", ""), h(w, "box-sizing", "border-box"), h(w, "margin", 0), h(w, "top", n.top), h(w, "left", n.left), h(w, "width", n.width), h(w, "height", n.height), h(w, "opacity", "0.8"), h(w, "position", tt ? "absolute" : "fixed"), h(w, "zIndex", "100000"), h(w, "pointerEvents", "none"), g.ghost = w, e.appendChild(w), h(w, "transform-origin", qt / parseInt(w.style.width) * 100 + "% " + Kt / parseInt(w.style.height) * 100 + "%");
|
|
798
798
|
}
|
|
799
799
|
},
|
|
800
800
|
_onDragStart: function(e, n) {
|
|
@@ -845,12 +845,12 @@ g.prototype = /** @lends Sortable.prototype */
|
|
|
845
845
|
}), _ !== v && (v.animateAll(), v._ignoreWhileAnimating = null)), (o === d && !d.animated || o === n && !o.animated) && (Ie = null), !c.dragoverBubble && !e.rootEl && o !== document && (d.parentNode[Q]._isOutsideThisEl(e.target), !$ && Ee(e)), !c.dragoverBubble && e.stopPropagation && e.stopPropagation(), b = !0;
|
|
846
846
|
}
|
|
847
847
|
function M() {
|
|
848
|
-
Z = ne(d),
|
|
848
|
+
Z = ne(d), he = ne(d, c.draggable), G({
|
|
849
849
|
sortable: _,
|
|
850
850
|
name: "change",
|
|
851
851
|
toEl: n,
|
|
852
852
|
newIndex: Z,
|
|
853
|
-
newDraggableIndex:
|
|
853
|
+
newDraggableIndex: he,
|
|
854
854
|
originalEvent: e
|
|
855
855
|
});
|
|
856
856
|
}
|
|
@@ -875,7 +875,7 @@ g.prototype = /** @lends Sortable.prototype */
|
|
|
875
875
|
return q(), n.insertBefore(d, W), x = n, M(), T(!0);
|
|
876
876
|
} else if (o.parentNode === n) {
|
|
877
877
|
i = P(o);
|
|
878
|
-
var te = 0, se, be = d.parentNode !== n, H = !so(d.animated && d.toRect || r, o.animated && o.toRect || i, y), ye = y ? "top" : "left", m =
|
|
878
|
+
var te = 0, se, be = d.parentNode !== n, H = !so(d.animated && d.toRect || r, o.animated && o.toRect || i, y), ye = y ? "top" : "left", m = zt(o, "top", "top") || zt(d, "top", "top"), p = m ? m.scrollTop : void 0;
|
|
879
879
|
Ie !== o && (se = i[ye], He = !1, et = !H && c.invertSwap || be), te = go(e, o, i, y, H ? 1 : c.swapThreshold, c.invertedSwapThreshold == null ? c.swapThreshold : c.invertedSwapThreshold, et, Ie === o);
|
|
880
880
|
var E;
|
|
881
881
|
if (te !== 0) {
|
|
@@ -889,9 +889,9 @@ g.prototype = /** @lends Sortable.prototype */
|
|
|
889
889
|
Ie = o, je = te;
|
|
890
890
|
var B = o.nextElementSibling, z = !1;
|
|
891
891
|
z = te === 1;
|
|
892
|
-
var
|
|
893
|
-
if (
|
|
894
|
-
return (
|
|
892
|
+
var pe = nt(C, n, d, r, o, i, e, z);
|
|
893
|
+
if (pe !== !1)
|
|
894
|
+
return (pe === 1 || pe === -1) && (z = pe === 1), Ot = !0, setTimeout(mo, 30), q(), z && !B ? n.appendChild(d) : o.parentNode.insertBefore(d, z ? B : o), m && fn(m, 0, p - m.scrollTop), x = d.parentNode, se !== void 0 && !et && (it = Math.abs(se - P(o)[ye])), M(), T(!0);
|
|
895
895
|
}
|
|
896
896
|
if (n.contains(d))
|
|
897
897
|
return T(!1);
|
|
@@ -908,9 +908,9 @@ g.prototype = /** @lends Sortable.prototype */
|
|
|
908
908
|
},
|
|
909
909
|
_onDrop: function(e) {
|
|
910
910
|
var n = this.el, o = this.options;
|
|
911
|
-
if (Z = ne(d),
|
|
911
|
+
if (Z = ne(d), he = ne(d, o.draggable), K("drop", this, {
|
|
912
912
|
evt: e
|
|
913
|
-
}), x = d && d.parentNode, Z = ne(d),
|
|
913
|
+
}), x = d && d.parentNode, Z = ne(d), he = ne(d, o.draggable), g.eventCanceled) {
|
|
914
914
|
this._nulling();
|
|
915
915
|
return;
|
|
916
916
|
}
|
|
@@ -953,7 +953,7 @@ g.prototype = /** @lends Sortable.prototype */
|
|
|
953
953
|
name: "sort",
|
|
954
954
|
toEl: x,
|
|
955
955
|
originalEvent: e
|
|
956
|
-
})), g.active && ((Z == null || Z === -1) && (Z = Ne,
|
|
956
|
+
})), g.active && ((Z == null || Z === -1) && (Z = Ne, he = Ue), G({
|
|
957
957
|
sortable: this,
|
|
958
958
|
name: "end",
|
|
959
959
|
toEl: x,
|
|
@@ -961,7 +961,7 @@ g.prototype = /** @lends Sortable.prototype */
|
|
|
961
961
|
}), this.save()))), this._nulling();
|
|
962
962
|
},
|
|
963
963
|
_nulling: function() {
|
|
964
|
-
K("nulling", this), C = d = x = w = Ce = O = rt = ge = we = oe = $e = Z =
|
|
964
|
+
K("nulling", this), C = d = x = w = Ce = O = rt = ge = we = oe = $e = Z = he = Ne = Ue = Ie = je = R = Qe = g.dragged = g.ghost = g.clone = g.active = null, dt.forEach(function(e) {
|
|
965
965
|
e.checked = !0;
|
|
966
966
|
}), dt.length = bt = yt = 0;
|
|
967
967
|
},
|
|
@@ -1063,7 +1063,7 @@ function fo(t) {
|
|
|
1063
1063
|
}
|
|
1064
1064
|
function nt(t, e, n, o, r, i, a, c) {
|
|
1065
1065
|
var l, u = t[Q], f = u.options.onMove, s;
|
|
1066
|
-
return window.CustomEvent && !
|
|
1066
|
+
return window.CustomEvent && !me && !Ke ? l = new CustomEvent("move", {
|
|
1067
1067
|
bubbles: !0,
|
|
1068
1068
|
cancelable: !0
|
|
1069
1069
|
}) : (l = document.createEvent("Event"), l.initEvent("move", !0, !0)), l.to = e, l.from = t, l.dragged = n, l.draggedRect = o, l.related = r || e, l.relatedRect = i || P(e), l.willInsertAfter = c, l.originalEvent = a, t.dispatchEvent(l), f && (s = f.call(u, l, a)), s;
|
|
@@ -1177,7 +1177,7 @@ function _o() {
|
|
|
1177
1177
|
!this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
|
|
1178
1178
|
},
|
|
1179
1179
|
drop: function() {
|
|
1180
|
-
this.sortable.nativeDraggable ? S(document, "dragover", this._handleAutoScroll) : (S(document, "pointermove", this._handleFallbackAutoScroll), S(document, "touchmove", this._handleFallbackAutoScroll), S(document, "mousemove", this._handleFallbackAutoScroll)),
|
|
1180
|
+
this.sortable.nativeDraggable ? S(document, "dragover", this._handleAutoScroll) : (S(document, "pointermove", this._handleFallbackAutoScroll), S(document, "touchmove", this._handleFallbackAutoScroll), S(document, "mousemove", this._handleFallbackAutoScroll)), Zt(), lt(), to();
|
|
1181
1181
|
},
|
|
1182
1182
|
nulling: function() {
|
|
1183
1183
|
ft = Ft = Re = kt = Xe = Et = St = null, k.length = 0;
|
|
@@ -1187,10 +1187,10 @@ function _o() {
|
|
|
1187
1187
|
},
|
|
1188
1188
|
_handleAutoScroll: function(n, o) {
|
|
1189
1189
|
var r = this, i = (n.touches ? n.touches[0] : n).clientX, a = (n.touches ? n.touches[0] : n).clientY, c = document.elementFromPoint(i, a);
|
|
1190
|
-
if (ft = n, o || this.options.forceAutoScrollFallback || Ke ||
|
|
1190
|
+
if (ft = n, o || this.options.forceAutoScrollFallback || Ke || me || Ye) {
|
|
1191
1191
|
Dt(n, this.options, c, o);
|
|
1192
1192
|
var l = ve(c, !0);
|
|
1193
|
-
kt && (!Xe || i !== Et || a !== St) && (Xe &&
|
|
1193
|
+
kt && (!Xe || i !== Et || a !== St) && (Xe && Zt(), Xe = setInterval(function() {
|
|
1194
1194
|
var u = ve(document.elementFromPoint(i, a), !0);
|
|
1195
1195
|
u !== l && (l = u, lt()), Dt(n, r.options, u, o);
|
|
1196
1196
|
}, 10), Et = i, St = a);
|
|
@@ -1202,7 +1202,7 @@ function _o() {
|
|
|
1202
1202
|
Dt(n, this.options, ve(c, !1), !1);
|
|
1203
1203
|
}
|
|
1204
1204
|
}
|
|
1205
|
-
},
|
|
1205
|
+
}, fe(t, {
|
|
1206
1206
|
pluginName: "scroll",
|
|
1207
1207
|
initializeByDefault: !0
|
|
1208
1208
|
});
|
|
@@ -1212,7 +1212,7 @@ function lt() {
|
|
|
1212
1212
|
clearInterval(t.pid);
|
|
1213
1213
|
}), k = [];
|
|
1214
1214
|
}
|
|
1215
|
-
function
|
|
1215
|
+
function Zt() {
|
|
1216
1216
|
clearInterval(Xe);
|
|
1217
1217
|
}
|
|
1218
1218
|
var Dt = dn(function(t, e, n, o) {
|
|
@@ -1265,7 +1265,7 @@ Lt.prototype = {
|
|
|
1265
1265
|
},
|
|
1266
1266
|
drop: yn
|
|
1267
1267
|
};
|
|
1268
|
-
|
|
1268
|
+
fe(Lt, {
|
|
1269
1269
|
pluginName: "revertOnSpill"
|
|
1270
1270
|
});
|
|
1271
1271
|
function Bt() {
|
|
@@ -1277,7 +1277,7 @@ Bt.prototype = {
|
|
|
1277
1277
|
},
|
|
1278
1278
|
drop: yn
|
|
1279
1279
|
};
|
|
1280
|
-
|
|
1280
|
+
fe(Bt, {
|
|
1281
1281
|
pluginName: "removeOnSpill"
|
|
1282
1282
|
});
|
|
1283
1283
|
g.mount(new _o());
|
|
@@ -1285,7 +1285,7 @@ g.mount(Bt, Lt);
|
|
|
1285
1285
|
function Ct(t) {
|
|
1286
1286
|
t.parentElement !== null && t.parentElement.removeChild(t);
|
|
1287
1287
|
}
|
|
1288
|
-
function
|
|
1288
|
+
function Qt(t, e, n) {
|
|
1289
1289
|
const o = n === 0 ? t.children[0] : t.children[n - 1].nextSibling;
|
|
1290
1290
|
t.insertBefore(e, o);
|
|
1291
1291
|
}
|
|
@@ -1462,7 +1462,7 @@ function Ao({ $attrs: t, callBackBuilder: e }) {
|
|
|
1462
1462
|
function Cn(t) {
|
|
1463
1463
|
return Object.entries(t).filter(([e, n]) => !Sn(e)).map(([e, n]) => [Co(e), n]).filter(([e, n]) => !xo(e));
|
|
1464
1464
|
}
|
|
1465
|
-
const
|
|
1465
|
+
const en = ({ el: t }) => t, No = (t, e) => t.__draggable_context = e, tn = (t) => t.__draggable_context;
|
|
1466
1466
|
class Po {
|
|
1467
1467
|
constructor({
|
|
1468
1468
|
nodes: { header: e, default: n, footer: o },
|
|
@@ -1481,25 +1481,25 @@ class Po {
|
|
|
1481
1481
|
updated() {
|
|
1482
1482
|
const { defaultNodes: e, realList: n } = this;
|
|
1483
1483
|
e.forEach((o, r) => {
|
|
1484
|
-
No(
|
|
1484
|
+
No(en(o), {
|
|
1485
1485
|
element: n[r],
|
|
1486
1486
|
index: r
|
|
1487
1487
|
});
|
|
1488
1488
|
});
|
|
1489
1489
|
}
|
|
1490
1490
|
getUnderlyingVm(e) {
|
|
1491
|
-
return
|
|
1491
|
+
return tn(e);
|
|
1492
1492
|
}
|
|
1493
1493
|
getVmIndexFromDomIndex(e, n) {
|
|
1494
1494
|
const { defaultNodes: o } = this, { length: r } = o, i = n.children, a = i.item(e);
|
|
1495
1495
|
if (a === null)
|
|
1496
1496
|
return r;
|
|
1497
|
-
const c =
|
|
1497
|
+
const c = tn(a);
|
|
1498
1498
|
if (c)
|
|
1499
1499
|
return c.index;
|
|
1500
1500
|
if (r === 0)
|
|
1501
1501
|
return 0;
|
|
1502
|
-
const l =
|
|
1502
|
+
const l = en(o[0]), u = [...i].findIndex(
|
|
1503
1503
|
(f) => f === l
|
|
1504
1504
|
);
|
|
1505
1505
|
return e < u ? 0 : r;
|
|
@@ -1539,7 +1539,7 @@ function Bo({ $slots: t, tag: e, realList: n, getKey: o }) {
|
|
|
1539
1539
|
return new Po({ nodes: r, root: i, realList: n });
|
|
1540
1540
|
}
|
|
1541
1541
|
function Tn(t, e) {
|
|
1542
|
-
|
|
1542
|
+
nn(() => this.$emit(t.toLowerCase(), e));
|
|
1543
1543
|
}
|
|
1544
1544
|
function xn(t) {
|
|
1545
1545
|
return (e, n) => {
|
|
@@ -1671,7 +1671,7 @@ const Ro = {
|
|
|
1671
1671
|
return t.__draggable_component__;
|
|
1672
1672
|
},
|
|
1673
1673
|
emitChanges(t) {
|
|
1674
|
-
|
|
1674
|
+
nn(() => this.$emit("change", t));
|
|
1675
1675
|
},
|
|
1676
1676
|
alterList(t) {
|
|
1677
1677
|
if (this.list) {
|
|
@@ -1716,7 +1716,7 @@ const Ro = {
|
|
|
1716
1716
|
this.emitChanges({ added: o });
|
|
1717
1717
|
},
|
|
1718
1718
|
onDragRemove(t) {
|
|
1719
|
-
if (
|
|
1719
|
+
if (Qt(this.$el, t.item, t.oldIndex), t.pullMode === "clone") {
|
|
1720
1720
|
Ct(t.clone);
|
|
1721
1721
|
return;
|
|
1722
1722
|
}
|
|
@@ -1726,7 +1726,7 @@ const Ro = {
|
|
|
1726
1726
|
this.emitChanges({ removed: o });
|
|
1727
1727
|
},
|
|
1728
1728
|
onDragUpdate(t) {
|
|
1729
|
-
Ct(t.item),
|
|
1729
|
+
Ct(t.item), Qt(t.from, t.item, t.oldIndex);
|
|
1730
1730
|
const e = this.context.index, n = this.getVmIndexFromDomIndex(t.newIndex);
|
|
1731
1731
|
this.updatePosition(e, n);
|
|
1732
1732
|
const o = { element: this.context.element, oldIndex: e, newIndex: n };
|
|
@@ -1829,11 +1829,11 @@ const Ro = {
|
|
|
1829
1829
|
return (i, a) => {
|
|
1830
1830
|
const c = N("FmIcon"), l = N("FmCard");
|
|
1831
1831
|
return V(), ee("div", null, [
|
|
1832
|
-
(V(!0), ee(qe, null,
|
|
1832
|
+
(V(!0), ee(qe, null, on(r.value.filter(
|
|
1833
1833
|
(u) => o.excludeWidgeType.indexOf(u.value) === -1
|
|
1834
1834
|
), (u, f) => (V(), Pe(l, {
|
|
1835
1835
|
key: f,
|
|
1836
|
-
class:
|
|
1836
|
+
class: Xt(`items-center ${o.childClass} cursor-pointer rounded-[8px] ${o.isList ? "" : "gap-[16px] h-[120px] justify-center"} ${n.value === u.value ? "selected-widget" : ""}`),
|
|
1837
1837
|
variant: "outlined",
|
|
1838
1838
|
onClick: (s) => n.value = u.value
|
|
1839
1839
|
}, {
|
|
@@ -1843,14 +1843,16 @@ const Ro = {
|
|
|
1843
1843
|
size: o.isList ? "md" : "lg",
|
|
1844
1844
|
outline: !0
|
|
1845
1845
|
}, null, 8, ["name", "size"]),
|
|
1846
|
-
|
|
1846
|
+
ue("span", {
|
|
1847
|
+
class: Xt(o.isList ? "" : "flex items-center text-center leading-[24px] h-[48px]")
|
|
1848
|
+
}, Ae(u.label), 3)
|
|
1847
1849
|
]),
|
|
1848
1850
|
_: 2
|
|
1849
1851
|
}, 1032, ["class", "onClick"]))), 128))
|
|
1850
1852
|
]);
|
|
1851
1853
|
};
|
|
1852
1854
|
}
|
|
1853
|
-
}), br = /* @__PURE__ */ Vt(Uo, [["__scopeId", "data-v-
|
|
1855
|
+
}), br = /* @__PURE__ */ Vt(Uo, [["__scopeId", "data-v-75b05b43"]]);
|
|
1854
1856
|
function jo(t) {
|
|
1855
1857
|
let e, n, o, r;
|
|
1856
1858
|
switch (t) {
|
|
@@ -1934,7 +1936,7 @@ const Ho = {
|
|
|
1934
1936
|
return (n, o) => {
|
|
1935
1937
|
const r = N("FmIcon"), i = N("FmMenuDivider");
|
|
1936
1938
|
return V(), ee(qe, null, [
|
|
1937
|
-
|
|
1939
|
+
ue("div", {
|
|
1938
1940
|
class: "flex items-center cursor-pointer fm-typo-en-body-lg-600",
|
|
1939
1941
|
onClick: o[0] || (o[0] = (a) => e.value = !e.value)
|
|
1940
1942
|
}, [
|
|
@@ -1947,7 +1949,7 @@ const Ho = {
|
|
|
1947
1949
|
default: ie(() => [
|
|
1948
1950
|
e.value ? (V(), ee("div", Ho, [
|
|
1949
1951
|
ze(n.$slots, "content", {}, void 0, !0)
|
|
1950
|
-
])) :
|
|
1952
|
+
])) : ce("", !0)
|
|
1951
1953
|
]),
|
|
1952
1954
|
_: 3
|
|
1953
1955
|
}),
|
|
@@ -2005,13 +2007,13 @@ const Ho = {
|
|
|
2005
2007
|
}
|
|
2006
2008
|
return (l, u) => {
|
|
2007
2009
|
const f = N("FmSelect"), s = N("FmTextField"), v = N("FmTimePicker"), y = N("FmButton");
|
|
2008
|
-
return V(!0), ee(qe, null,
|
|
2010
|
+
return V(!0), ee(qe, null, on(new Array(e.value.length !== 0 ? e.value.length : 1), (_, b) => {
|
|
2009
2011
|
var Y, q, T, M, L;
|
|
2010
2012
|
return V(), ee("div", {
|
|
2011
2013
|
key: b,
|
|
2012
2014
|
class: "flex flex-row align-center gap-2 w-full"
|
|
2013
2015
|
}, [
|
|
2014
|
-
|
|
2016
|
+
ue("div", Go, [
|
|
2015
2017
|
((Y = n.config) == null ? void 0 : Y.type) === X(Be).Select ? (V(), Pe(f, {
|
|
2016
2018
|
key: 0,
|
|
2017
2019
|
"model-value": e.value[b],
|
|
@@ -2029,14 +2031,14 @@ const Ho = {
|
|
|
2029
2031
|
"model-value": r(e.value[b]),
|
|
2030
2032
|
"onUpdate:modelValue": (W) => a(b, W)
|
|
2031
2033
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
2032
|
-
])) :
|
|
2034
|
+
])) : ce("", !0)
|
|
2033
2035
|
]),
|
|
2034
2036
|
((L = n.config) == null ? void 0 : L.fixed) === !1 ? (V(), ee("div", Ko, [
|
|
2035
2037
|
A(y, {
|
|
2036
2038
|
icon: b === 0 ? "add" : "remove",
|
|
2037
2039
|
onClick: (W) => c(b)
|
|
2038
2040
|
}, null, 8, ["icon", "onClick"])
|
|
2039
|
-
])) :
|
|
2041
|
+
])) : ce("", !0)
|
|
2040
2042
|
]);
|
|
2041
2043
|
}), 128);
|
|
2042
2044
|
};
|
|
@@ -2192,10 +2194,10 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2192
2194
|
const m = [...l.value.map((B) => B.value)];
|
|
2193
2195
|
if (s.value) {
|
|
2194
2196
|
v.value || (s.value.dataFormula = void 0);
|
|
2195
|
-
const B = an((p = s.value) == null ? void 0 : p.option), z = ln((E = s.value) == null ? void 0 : E.option),
|
|
2197
|
+
const B = an((p = s.value) == null ? void 0 : p.option), z = ln((E = s.value) == null ? void 0 : E.option), pe = (I = s.value.values) == null ? void 0 : I.map(
|
|
2196
2198
|
($, Le) => $ == null || $ === "" || !ye($, B, z) ? Le : null
|
|
2197
2199
|
).filter(($) => $ !== null);
|
|
2198
|
-
if (!s.value.values ||
|
|
2200
|
+
if (!s.value.values || pe.length > 0) {
|
|
2199
2201
|
c.open({ message: "One or more values are invalid", type: "error" });
|
|
2200
2202
|
return;
|
|
2201
2203
|
}
|
|
@@ -2219,7 +2221,7 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2219
2221
|
return !(p !== void 0 && m < p || E !== void 0 && m > E);
|
|
2220
2222
|
}
|
|
2221
2223
|
return (m, p) => {
|
|
2222
|
-
const E = N("FmCheckbox"), I = N("FmTextarea"), B = N("FmSelect"), z = N("FmForm"),
|
|
2224
|
+
const E = N("FmCheckbox"), I = N("FmTextarea"), B = N("FmSelect"), z = N("FmForm"), pe = N("FmIcon"), $ = N("FmButton"), Le = N("FmListItem"), $t = N("FmList"), Ze = N("FmField");
|
|
2223
2225
|
return V(), ee("div", er, [
|
|
2224
2226
|
A($n, {
|
|
2225
2227
|
modelValue: a.value,
|
|
@@ -2237,7 +2239,7 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2237
2239
|
default: ie(() => {
|
|
2238
2240
|
var _e, xe;
|
|
2239
2241
|
return [
|
|
2240
|
-
A(
|
|
2242
|
+
A(Wt, {
|
|
2241
2243
|
"model-value": _.value,
|
|
2242
2244
|
items: be.value,
|
|
2243
2245
|
placeholder: i.value,
|
|
@@ -2256,7 +2258,7 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2256
2258
|
modelValue: s.value.dataFormula,
|
|
2257
2259
|
"onUpdate:modelValue": p[2] || (p[2] = (U) => s.value.dataFormula = U),
|
|
2258
2260
|
placeholder: X(e)("report.section.filter.dataFormula")
|
|
2259
|
-
}, null, 8, ["modelValue", "placeholder"])) :
|
|
2261
|
+
}, null, 8, ["modelValue", "placeholder"])) : ce("", !0),
|
|
2260
2262
|
A(B, {
|
|
2261
2263
|
modelValue: s.value.option,
|
|
2262
2264
|
"onUpdate:modelValue": p[3] || (p[3] = (U) => s.value.option = U),
|
|
@@ -2264,7 +2266,7 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2264
2266
|
placeholder: X(e)("report.section.filter.timeFormatter"),
|
|
2265
2267
|
label: X(e)("report.section.filter.timeFormatter")
|
|
2266
2268
|
}, null, 8, ["modelValue", "items", "placeholder", "label"]),
|
|
2267
|
-
(((_e = _.value) == null ? void 0 : _e.filterOperators) || []).length > 0 ? (V(), Pe(
|
|
2269
|
+
(((_e = _.value) == null ? void 0 : _e.filterOperators) || []).length > 0 ? (V(), Pe(Wt, {
|
|
2268
2270
|
key: 1,
|
|
2269
2271
|
modelValue: s.value.operator,
|
|
2270
2272
|
"onUpdate:modelValue": p[4] || (p[4] = (U) => s.value.operator = U),
|
|
@@ -2272,15 +2274,15 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2272
2274
|
label: X(e)("report.section.comparisonOperator." + U),
|
|
2273
2275
|
value: U
|
|
2274
2276
|
}))
|
|
2275
|
-
}, null, 8, ["modelValue", "items"])) :
|
|
2277
|
+
}, null, 8, ["modelValue", "items"])) : ce("", !0),
|
|
2276
2278
|
y.value ? (V(), Pe(Jo, {
|
|
2277
2279
|
key: s.value.option ?? "",
|
|
2278
2280
|
modelValue: s.value.values,
|
|
2279
2281
|
"onUpdate:modelValue": p[5] || (p[5] = (U) => s.value.values = U),
|
|
2280
2282
|
config: y.value,
|
|
2281
2283
|
option: s.value.option
|
|
2282
|
-
}, null, 8, ["modelValue", "config", "option"])) :
|
|
2283
|
-
], 64)) :
|
|
2284
|
+
}, null, 8, ["modelValue", "config", "option"])) : ce("", !0)
|
|
2285
|
+
], 64)) : ce("", !0)
|
|
2284
2286
|
];
|
|
2285
2287
|
}),
|
|
2286
2288
|
_: 1
|
|
@@ -2288,9 +2290,9 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2288
2290
|
]),
|
|
2289
2291
|
_: 1
|
|
2290
2292
|
}, 8, ["modelValue", "title", "primary-button-label", "secondary-button-label"]),
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2293
|
+
ue("div", null, [
|
|
2294
|
+
ue("p", tr, Ae(i.value), 1),
|
|
2295
|
+
ue("p", nr, Ae(X(e)("report.section.filter.description")), 1)
|
|
2294
2296
|
]),
|
|
2295
2297
|
A($t, null, {
|
|
2296
2298
|
default: ie(() => [
|
|
@@ -2302,17 +2304,17 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2302
2304
|
item: ie(({ element: _e, index: xe }) => [
|
|
2303
2305
|
A(Le, {
|
|
2304
2306
|
class: "!cursor-grab border rounded-md border-neutral-300 h-[40px] !p-[8px]",
|
|
2305
|
-
onClick:
|
|
2307
|
+
onClick: Yt((U) => f(l.value[xe]), ["stop"])
|
|
2306
2308
|
}, {
|
|
2307
2309
|
default: ie(() => [
|
|
2308
|
-
A(
|
|
2309
|
-
|
|
2310
|
-
p[8] || (p[8] =
|
|
2310
|
+
A(pe, { name: "drag_handle" }),
|
|
2311
|
+
ue("p", or, Ae(l.value[xe].label), 1),
|
|
2312
|
+
p[8] || (p[8] = ue("div", { class: "grow" }, null, -1)),
|
|
2311
2313
|
A($, {
|
|
2312
2314
|
icon: "close",
|
|
2313
2315
|
size: "md",
|
|
2314
2316
|
variant: "tertiary",
|
|
2315
|
-
onClick:
|
|
2317
|
+
onClick: Yt((U) => se(xe), ["stop"])
|
|
2316
2318
|
}, null, 8, ["onClick"])
|
|
2317
2319
|
]),
|
|
2318
2320
|
_: 2
|
|
@@ -2330,7 +2332,7 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2330
2332
|
})
|
|
2331
2333
|
}, {
|
|
2332
2334
|
default: ie(() => [
|
|
2333
|
-
|
|
2335
|
+
Nn(Ae(X(e)("report.section.filter.add")), 1)
|
|
2334
2336
|
]),
|
|
2335
2337
|
_: 1
|
|
2336
2338
|
})
|
|
@@ -2349,13 +2351,13 @@ const er = { class: "flex flex-col my-2 gap-8" }, tr = { class: "fm-typo-en-body
|
|
|
2349
2351
|
return (n, o) => (V(), ee(qe, null, [
|
|
2350
2352
|
A(xt, { name: "slide-fade-right" }, {
|
|
2351
2353
|
default: ie(() => [
|
|
2352
|
-
e.value ? ze(n.$slots, "right", { key: 0 }, void 0, !0) :
|
|
2354
|
+
e.value ? ze(n.$slots, "right", { key: 0 }, void 0, !0) : ce("", !0)
|
|
2353
2355
|
]),
|
|
2354
2356
|
_: 3
|
|
2355
2357
|
}),
|
|
2356
2358
|
A(xt, { name: "slide-fade-left" }, {
|
|
2357
2359
|
default: ie(() => [
|
|
2358
|
-
e.value ?
|
|
2360
|
+
e.value ? ce("", !0) : ze(n.$slots, "left", { key: 0 }, void 0, !0)
|
|
2359
2361
|
]),
|
|
2360
2362
|
_: 3
|
|
2361
2363
|
})
|