@feedmepos/mf-report 5.4.8 → 5.4.9
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-kcBxi_q1.js +133 -0
- package/dist/BaseDialog.vue_vue_type_script_setup_true_lang-MQNSV-xg.js +59 -0
- package/dist/{DateRangeSelect.vue_vue_type_script_setup_true_lang-UFE8dqQT.js → DateRangeSelect.vue_vue_type_script_setup_true_lang-pLx3gB7Y.js} +47 -45
- package/dist/{Default.vue_vue_type_script_setup_true_lang-2KbsvIja.js → Default.vue_vue_type_script_setup_true_lang-1lLJDGcu.js} +9 -8
- package/dist/{DynamicWidget.vue_vue_type_script_setup_true_lang-qHXYaBLd.js → DynamicWidget.vue_vue_type_script_setup_true_lang-yMu4zk2g.js} +11 -8
- package/dist/{InsightView-m2mp2Vwn.js → InsightView-GIj2fwLa.js} +9 -8
- package/dist/{Integration-v7Vx19wK.js → Integration-YTGIj4Ae.js} +31 -29
- package/dist/{Integrations-5bMwLGDG.js → Integrations-drS5pVEz.js} +27 -25
- package/dist/{Layout-OsxZkd-c.js → Layout-G0qypnQY.js} +1 -1
- package/dist/LocationSelect.vue_vue_type_script_setup_true_lang-PJJaEOeS.js +7994 -0
- package/dist/{MenuTab.vue_vue_type_script_setup_true_lang-rG63dKPQ.js → MenuTab.vue_vue_type_script_setup_true_lang-UHwO2Vm5.js} +39 -35
- package/dist/NavigationTab.vue_vue_type_script_setup_true_lang-LsUKLCAW.js +26885 -0
- package/dist/{OverviewView-bcZDNzyp.js → OverviewView-1MQAX-5G.js} +4 -4
- package/dist/{Report-QoZGgCFl.js → Report-WYkPEjUh.js} +47 -45
- package/dist/{ReportEditor-4XSyHMDr.js → ReportEditor-6EAPap-S.js} +17 -15
- package/dist/{ReportView-sA3IRxvk.js → ReportView-aky03f2y.js} +36 -33
- package/dist/{Setting-ciEdGVzI.js → Setting-IV26Ng45.js} +36 -34
- package/dist/{TileEditor-oIzGozIp.js → TileEditor-Qn4ZRR39.js} +20 -15
- package/dist/{TransitionFade-u0ffhMND.js → TransitionFade-_dSKw899.js} +65 -62
- package/dist/_plugin-vue_export-helper-hUChTQA_.js +9 -0
- package/dist/app.js +85 -3
- package/dist/global-loader-hSpvBPX1.js +3265 -0
- package/dist/index-JAqUtp7I.js +143 -0
- package/dist/message-dialog-yXvmoAPz.js +20 -0
- package/dist/report-schema-IBXDBT4U.js +31 -0
- package/dist/{timeFormat-KhCrm7K_.js → timeFormat-yx3JOmGm.js} +1 -1
- package/dist/v4-Ihuna0O0.js +17578 -0
- package/package.json +6 -4
- package/dist/LocationSelect.vue_vue_type_script_setup_true_lang-CXdNe2NF.js +0 -84
- package/dist/app-hTKIk5PV.js +0 -48128
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { defineComponent as Ne, onBeforeMount as sn, onBeforeUnmount as un, resolveComponent as ge, openBlock as ne, createElementBlock as ce, normalizeStyle as cn, unref as Ve, createVNode as ue, createElementVNode as Lt, renderSlot as Pe, TransitionGroup as dn, h as Dt, nextTick as Rt, mergeModels as fn, useModel as Bt, Fragment as vt, renderList as hn, createBlock as pn, normalizeClass as mn, withCtx as ze, createTextVNode as gn, toDisplayString as vn, ref as bn, Transition as ct, createCommentVNode as dt } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { useCoreStore as
|
|
4
|
-
import { storeToRefs as
|
|
5
|
-
import { useRoute as
|
|
6
|
-
import {
|
|
2
|
+
import { d as _n } from "./global-loader-hSpvBPX1.js";
|
|
3
|
+
import { useCoreStore as yn } from "@feedmepos/mf-common";
|
|
4
|
+
import { storeToRefs as wn } from "pinia";
|
|
5
|
+
import { useRoute as En } from "vue-router";
|
|
6
|
+
import { W as x } from "./v4-Ihuna0O0.js";
|
|
7
|
+
import { p as Dn } from "./index-JAqUtp7I.js";
|
|
8
|
+
import { _ as bt } from "./_plugin-vue_export-helper-hUChTQA_.js";
|
|
9
|
+
import { R as Sn } from "./DynamicWidget.vue_vue_type_script_setup_true_lang-yMu4zk2g.js";
|
|
7
10
|
const Cn = {
|
|
8
11
|
key: 0,
|
|
9
12
|
class: "flex gap-24 flex-col h-screen w-screen justify-center items-center"
|
|
10
|
-
},
|
|
13
|
+
}, Bo = /* @__PURE__ */ Ne({
|
|
11
14
|
__name: "FullScreen",
|
|
12
15
|
setup(t) {
|
|
13
|
-
const e =
|
|
16
|
+
const e = En(), { isLoading: n } = wn(_n()), o = yn();
|
|
14
17
|
return sn(() => {
|
|
15
18
|
o.hideSidebarToggle(!0);
|
|
16
19
|
}), un(() => {
|
|
@@ -112,7 +115,7 @@ var K = U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ke = U(/Edge
|
|
|
112
115
|
capture: !1,
|
|
113
116
|
passive: !1
|
|
114
117
|
};
|
|
115
|
-
function
|
|
118
|
+
function _(t, e, n) {
|
|
116
119
|
t.addEventListener(e, n, !K && Vt);
|
|
117
120
|
}
|
|
118
121
|
function b(t, e, n) {
|
|
@@ -205,8 +208,8 @@ function T(t, e, n, o, r) {
|
|
|
205
208
|
}
|
|
206
209
|
while (r = r.parentNode);
|
|
207
210
|
if (o && t !== window) {
|
|
208
|
-
var w = me(r || t), v = w && w.a,
|
|
209
|
-
w && (a /=
|
|
211
|
+
var w = me(r || t), v = w && w.a, y = w && w.d;
|
|
212
|
+
w && (a /= y, l /= v, f /= v, d /= y, s = a + d, u = l + f);
|
|
210
213
|
}
|
|
211
214
|
return {
|
|
212
215
|
top: a,
|
|
@@ -240,7 +243,7 @@ function ve(t, e, n, o) {
|
|
|
240
243
|
}
|
|
241
244
|
return null;
|
|
242
245
|
}
|
|
243
|
-
function
|
|
246
|
+
function _t(t, e) {
|
|
244
247
|
for (var n = t.lastElementChild; n && (n === p.ghost || h(n, "display") === "none" || e && !Ge(n, e)); )
|
|
245
248
|
n = n.previousElementSibling;
|
|
246
249
|
return n || null;
|
|
@@ -358,8 +361,8 @@ function Mn() {
|
|
|
358
361
|
}
|
|
359
362
|
var i = !1, a = 0;
|
|
360
363
|
t.forEach(function(l) {
|
|
361
|
-
var s = 0, u = l.target, d = u.fromRect, f = T(u), g = u.prevFromRect, w = u.prevToRect, v = l.rect,
|
|
362
|
-
|
|
364
|
+
var s = 0, u = l.target, d = u.fromRect, f = T(u), g = u.prevFromRect, w = u.prevToRect, v = l.rect, y = me(u, !0);
|
|
365
|
+
y && (f.top -= y.f, f.left -= y.e), u.toRect = f, u.thisAnimationDuration && Je(g, f) && !Je(d, f) && // Make sure animatingRect is on line between toRect & fromRect
|
|
363
366
|
(v.top - f.top) / (v.left - f.left) === (d.top - f.top) / (d.left - f.left) && (s = Rn(v, g, w, r.options)), Je(f, d) || (u.prevFromRect = d, u.prevToRect = f, s || (s = r.options.animation), r.animate(u, v, f, s)), s && (i = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
|
|
364
367
|
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
365
368
|
}, s), u.thisAnimationDuration = s);
|
|
@@ -439,15 +442,15 @@ var de = [], et = {
|
|
|
439
442
|
function Bn(t) {
|
|
440
443
|
var e = t.sortable, n = t.rootEl, o = t.name, r = t.targetEl, i = t.cloneEl, a = t.toEl, l = t.fromEl, s = t.oldIndex, u = t.newIndex, d = t.oldDraggableIndex, f = t.newDraggableIndex, g = t.originalEvent, w = t.putSortable, v = t.extraEventProperties;
|
|
441
444
|
if (e = e || n && n[L], !!e) {
|
|
442
|
-
var
|
|
443
|
-
window.CustomEvent && !K && !ke ?
|
|
445
|
+
var y, B = e.options, z = "on" + o.charAt(0).toUpperCase() + o.substr(1);
|
|
446
|
+
window.CustomEvent && !K && !ke ? y = new CustomEvent(o, {
|
|
444
447
|
bubbles: !0,
|
|
445
448
|
cancelable: !0
|
|
446
|
-
}) : (
|
|
449
|
+
}) : (y = document.createEvent("Event"), y.initEvent(o, !0, !0)), y.to = a || n, y.from = l || n, y.item = r || n, y.clone = i, y.oldIndex = s, y.newIndex = u, y.oldDraggableIndex = d, y.newDraggableIndex = f, y.originalEvent = g, y.pullMode = w ? w.lastPutMode : void 0;
|
|
447
450
|
var A = j(j({}, v), Fe.getEventProperties(o, e));
|
|
448
451
|
for (var X in A)
|
|
449
|
-
|
|
450
|
-
n && n.dispatchEvent(
|
|
452
|
+
y[X] = A[X];
|
|
453
|
+
n && n.dispatchEvent(y), B[z] && B[z].call(e, y);
|
|
451
454
|
}
|
|
452
455
|
}
|
|
453
456
|
var Xn = ["evt"], N = function(e, n) {
|
|
@@ -523,7 +526,7 @@ var c, D, m, E, se, $e, S, ee, pe, M, Ie, J, Le, I, he = !1, Ue = !1, qe = [], a
|
|
|
523
526
|
var o;
|
|
524
527
|
return qe.some(function(r) {
|
|
525
528
|
var i = r[L].options.emptyInsertThreshold;
|
|
526
|
-
if (!(!i ||
|
|
529
|
+
if (!(!i || _t(r))) {
|
|
527
530
|
var a = T(r), l = e >= a.left - i && e <= a.right + i, s = n >= a.top - i && n <= a.bottom + i;
|
|
528
531
|
if (l && s)
|
|
529
532
|
return o = r;
|
|
@@ -627,7 +630,7 @@ function p(t, e) {
|
|
|
627
630
|
Gt(e);
|
|
628
631
|
for (var r in this)
|
|
629
632
|
r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
|
|
630
|
-
this.nativeDraggable = e.forceFallback ? !1 : Vn, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ?
|
|
633
|
+
this.nativeDraggable = e.forceFallback ? !1 : Vn, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? _(t, "pointerdown", this._onTapStart) : (_(t, "mousedown", this._onTapStart), _(t, "touchstart", this._onTapStart)), this.nativeDraggable && (_(t, "dragover", this), _(t, "dragenter", this)), qe.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), q(this, Mn());
|
|
631
634
|
}
|
|
632
635
|
p.prototype = /** @lends Sortable.prototype */
|
|
633
636
|
{
|
|
@@ -698,14 +701,14 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
698
701
|
}), F(c, a.chosenClass, !0);
|
|
699
702
|
}, a.ignore.split(",").forEach(function(d) {
|
|
700
703
|
Yt(c, d.trim(), rt);
|
|
701
|
-
}),
|
|
704
|
+
}), _(l, "dragover", le), _(l, "mousemove", le), _(l, "touchmove", le), _(l, "mouseup", r._onDrop), _(l, "touchend", r._onDrop), _(l, "touchcancel", r._onDrop), Ct && this.nativeDraggable && (this.options.touchStartThreshold = 4, c.draggable = !0), N("delayStart", this, {
|
|
702
705
|
evt: e
|
|
703
706
|
}), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(ke || K))) {
|
|
704
707
|
if (p.eventCanceled) {
|
|
705
708
|
this._onDrop();
|
|
706
709
|
return;
|
|
707
710
|
}
|
|
708
|
-
|
|
711
|
+
_(l, "mouseup", r._disableDelayedDrag), _(l, "touchend", r._disableDelayedDrag), _(l, "touchcancel", r._disableDelayedDrag), _(l, "mousemove", r._delayedDragTouchMoveHandler), _(l, "touchmove", r._delayedDragTouchMoveHandler), a.supportPointer && _(l, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(s, a.delay);
|
|
709
712
|
} else
|
|
710
713
|
s();
|
|
711
714
|
}
|
|
@@ -722,7 +725,7 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
722
725
|
b(e, "mouseup", this._disableDelayedDrag), b(e, "touchend", this._disableDelayedDrag), b(e, "touchcancel", this._disableDelayedDrag), b(e, "mousemove", this._delayedDragTouchMoveHandler), b(e, "touchmove", this._delayedDragTouchMoveHandler), b(e, "pointermove", this._delayedDragTouchMoveHandler);
|
|
723
726
|
},
|
|
724
727
|
_triggerDragStart: function(e, n) {
|
|
725
|
-
n = n || e.pointerType == "touch" && e, !this.nativeDraggable || n ? this.options.supportPointer ?
|
|
728
|
+
n = n || e.pointerType == "touch" && e, !this.nativeDraggable || n ? this.options.supportPointer ? _(document, "pointermove", this._onTouchMove) : n ? _(document, "touchmove", this._onTouchMove) : _(document, "mousemove", this._onTouchMove) : (_(c, "dragend", this), _(E, "dragstart", this._onDragStart));
|
|
726
729
|
try {
|
|
727
730
|
document.selection ? He(function() {
|
|
728
731
|
document.selection.empty();
|
|
@@ -734,7 +737,7 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
734
737
|
if (he = !1, E && c) {
|
|
735
738
|
N("dragStarted", this, {
|
|
736
739
|
evt: n
|
|
737
|
-
}), this.nativeDraggable &&
|
|
740
|
+
}), this.nativeDraggable && _(document, "dragover", Wn);
|
|
738
741
|
var o = this.options;
|
|
739
742
|
!e && F(c, o.dragClass, !1), F(c, o.ghostClass, !0), p.active = this, e && this._appendGhost(), P({
|
|
740
743
|
sortable: this,
|
|
@@ -813,11 +816,11 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
813
816
|
sortable: o,
|
|
814
817
|
name: "clone"
|
|
815
818
|
}));
|
|
816
|
-
}), !n && F(c, i.dragClass, !0), n ? (Ue = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (b(document, "mouseup", o._onDrop), b(document, "touchend", o._onDrop), b(document, "touchcancel", o._onDrop), r && (r.effectAllowed = "move", i.setData && i.setData.call(o, r, c)),
|
|
819
|
+
}), !n && F(c, i.dragClass, !0), n ? (Ue = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (b(document, "mouseup", o._onDrop), b(document, "touchend", o._onDrop), b(document, "touchcancel", o._onDrop), r && (r.effectAllowed = "move", i.setData && i.setData.call(o, r, c)), _(document, "drop", o), h(c, "transform", "translateZ(0)")), he = !0, o._dragStartId = He(o._dragStarted.bind(o, n, e)), _(document, "selectstart", o), De = !0, Te && h(document.body, "user-select", "none");
|
|
817
820
|
},
|
|
818
821
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
819
822
|
_onDragOver: function(e) {
|
|
820
|
-
var n = this.el, o = e.target, r, i, a, l = this.options, s = l.group, u = p.active, d = Le === s, f = l.sort, g = I || u, w, v = this,
|
|
823
|
+
var n = this.el, o = e.target, r, i, a, l = this.options, s = l.group, u = p.active, d = Le === s, f = l.sort, g = I || u, w, v = this, y = !1;
|
|
821
824
|
if (ft)
|
|
822
825
|
return;
|
|
823
826
|
function B(Ee, an) {
|
|
@@ -846,7 +849,7 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
846
849
|
insertion: Ee
|
|
847
850
|
}), Ee && (d ? u._hideClone() : u._showClone(v), v !== g && (F(c, I ? I.options.ghostClass : u.options.ghostClass, !1), F(c, l.ghostClass, !0)), I !== v && v !== p.active ? I = v : v === p.active && I && (I = null), g === v && (v._ignoreWhileAnimating = o), v.animateAll(function() {
|
|
848
851
|
B("dragOverAnimationComplete"), v._ignoreWhileAnimating = null;
|
|
849
|
-
}), v !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (o === c && !c.animated || o === n && !o.animated) && (fe = null), !l.dragoverBubble && !e.rootEl && o !== document && (c.parentNode[L]._isOutsideThisEl(e.target), !Ee && le(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(),
|
|
852
|
+
}), v !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (o === c && !c.animated || o === n && !o.animated) && (fe = null), !l.dragoverBubble && !e.rootEl && o !== document && (c.parentNode[L]._isOutsideThisEl(e.target), !Ee && le(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), y = !0;
|
|
850
853
|
}
|
|
851
854
|
function X() {
|
|
852
855
|
M = R(c), J = R(c, l.draggable), P({
|
|
@@ -859,15 +862,15 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
859
862
|
});
|
|
860
863
|
}
|
|
861
864
|
if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), o = W(o, l.draggable, n, !0), B("dragOver"), p.eventCanceled)
|
|
862
|
-
return
|
|
865
|
+
return y;
|
|
863
866
|
if (c.contains(e.target) || o.animated && o.animatingX && o.animatingY || v._ignoreWhileAnimating === o)
|
|
864
867
|
return A(!1);
|
|
865
868
|
if (Ue = !1, u && !l.disabled && (d ? f || (a = D !== E) : I === this || (this.lastPutMode = Le.checkPull(this, u, c, e)) && s.checkPut(this, u, c, e))) {
|
|
866
869
|
if (w = this._getDirection(e, o) === "vertical", r = T(c), B("dragOverValid"), p.eventCanceled)
|
|
867
|
-
return
|
|
870
|
+
return y;
|
|
868
871
|
if (a)
|
|
869
872
|
return D = E, z(), this._hideClone(), B("revert"), p.eventCanceled || (se ? E.insertBefore(c, se) : E.appendChild(c)), A(!0);
|
|
870
|
-
var Y =
|
|
873
|
+
var Y = _t(n, l.draggable);
|
|
871
874
|
if (!Y || Gn(e, w, this) && !Y.animated) {
|
|
872
875
|
if (Y === c)
|
|
873
876
|
return A(!1);
|
|
@@ -881,8 +884,8 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
881
884
|
return z(), n.insertBefore(c, oe), D = n, X(), A(!0);
|
|
882
885
|
} else if (o.parentNode === n) {
|
|
883
886
|
i = T(o);
|
|
884
|
-
var $ = 0, re, be = c.parentNode !== n, k = !Yn(c.animated && c.toRect || r, o.animated && o.toRect || i, w),
|
|
885
|
-
fe !== o && (re = i[
|
|
887
|
+
var $ = 0, re, be = c.parentNode !== n, k = !Yn(c.animated && c.toRect || r, o.animated && o.toRect || i, w), _e = w ? "top" : "left", Z = xt(o, "top", "top") || xt(c, "top", "top"), ye = Z ? Z.scrollTop : void 0;
|
|
888
|
+
fe !== o && (re = i[_e], Ae = !1, Re = !k && l.invertSwap || be), $ = Un(e, o, i, w, k ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Re, fe === o);
|
|
886
889
|
var G;
|
|
887
890
|
if ($ !== 0) {
|
|
888
891
|
var ie = R(c);
|
|
@@ -897,7 +900,7 @@ p.prototype = /** @lends Sortable.prototype */
|
|
|
897
900
|
Q = $ === 1;
|
|
898
901
|
var Me = Xe(E, n, c, r, o, i, e, Q);
|
|
899
902
|
if (Me !== !1)
|
|
900
|
-
return (Me === 1 || Me === -1) && (Q = Me === 1), ft = !0, setTimeout(jn, 30), z(), Q && !we ? n.appendChild(c) : o.parentNode.insertBefore(c, Q ? we : o), Z && Wt(Z, 0,
|
|
903
|
+
return (Me === 1 || Me === -1) && (Q = Me === 1), ft = !0, setTimeout(jn, 30), z(), Q && !we ? n.appendChild(c) : o.parentNode.insertBefore(c, Q ? we : o), Z && Wt(Z, 0, ye - Z.scrollTop), D = c.parentNode, re !== void 0 && !Re && (We = Math.abs(re - T(o)[_e])), X(), A(!0);
|
|
901
904
|
}
|
|
902
905
|
if (n.contains(c))
|
|
903
906
|
return A(!1);
|
|
@@ -1087,7 +1090,7 @@ function zn(t, e, n) {
|
|
|
1087
1090
|
return e ? t.clientX < o.left - r || t.clientY < o.top && t.clientX < o.right : t.clientY < o.top - r || t.clientY < o.bottom && t.clientX < o.left;
|
|
1088
1091
|
}
|
|
1089
1092
|
function Gn(t, e, n) {
|
|
1090
|
-
var o = T(
|
|
1093
|
+
var o = T(_t(n.el, n.options.draggable)), r = 10;
|
|
1091
1094
|
return e ? t.clientX > o.right + r || t.clientX <= o.right && t.clientY > o.bottom && t.clientX >= o.left : t.clientX > o.right && t.clientY > o.top || t.clientX <= o.right && t.clientY > o.bottom + r;
|
|
1092
1095
|
}
|
|
1093
1096
|
function Un(t, e, n, o, r, i, a, l) {
|
|
@@ -1124,11 +1127,11 @@ function He(t) {
|
|
|
1124
1127
|
function ht(t) {
|
|
1125
1128
|
return clearTimeout(t);
|
|
1126
1129
|
}
|
|
1127
|
-
Qe &&
|
|
1130
|
+
Qe && _(document, "touchmove", function(t) {
|
|
1128
1131
|
(p.active || he) && t.cancelable && t.preventDefault();
|
|
1129
1132
|
});
|
|
1130
1133
|
p.utils = {
|
|
1131
|
-
on:
|
|
1134
|
+
on: _,
|
|
1132
1135
|
off: b,
|
|
1133
1136
|
css: h,
|
|
1134
1137
|
find: Yt,
|
|
@@ -1178,7 +1181,7 @@ function Qn() {
|
|
|
1178
1181
|
return t.prototype = {
|
|
1179
1182
|
dragStarted: function(n) {
|
|
1180
1183
|
var o = n.originalEvent;
|
|
1181
|
-
this.sortable.nativeDraggable ?
|
|
1184
|
+
this.sortable.nativeDraggable ? _(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? _(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? _(document, "touchmove", this._handleFallbackAutoScroll) : _(document, "mousemove", this._handleFallbackAutoScroll);
|
|
1182
1185
|
},
|
|
1183
1186
|
dragOverCompleted: function(n) {
|
|
1184
1187
|
var o = n.originalEvent;
|
|
@@ -1229,13 +1232,13 @@ var lt = $t(function(t, e, n, o) {
|
|
|
1229
1232
|
pt !== n && (pt = n, je(), Se = e.scroll, d = e.scrollFn, Se === !0 && (Se = te(n, !0)));
|
|
1230
1233
|
var f = 0, g = Se;
|
|
1231
1234
|
do {
|
|
1232
|
-
var w = g, v = T(w),
|
|
1235
|
+
var w = g, v = T(w), y = v.top, B = v.bottom, z = v.left, A = v.right, X = v.width, Y = v.height, oe = void 0, $ = void 0, re = w.scrollWidth, be = w.scrollHeight, k = h(w), _e = w.scrollLeft, Z = w.scrollTop;
|
|
1233
1236
|
w === s ? (oe = X < re && (k.overflowX === "auto" || k.overflowX === "scroll" || k.overflowX === "visible"), $ = Y < be && (k.overflowY === "auto" || k.overflowY === "scroll" || k.overflowY === "visible")) : (oe = X < re && (k.overflowX === "auto" || k.overflowX === "scroll"), $ = Y < be && (k.overflowY === "auto" || k.overflowY === "scroll"));
|
|
1234
|
-
var
|
|
1237
|
+
var ye = oe && (Math.abs(A - r) <= a && _e + X < re) - (Math.abs(z - r) <= a && !!_e), G = $ && (Math.abs(B - i) <= a && Z + Y < be) - (Math.abs(y - i) <= a && !!Z);
|
|
1235
1238
|
if (!C[f])
|
|
1236
1239
|
for (var ie = 0; ie <= f; ie++)
|
|
1237
1240
|
C[ie] || (C[ie] = {});
|
|
1238
|
-
(C[f].vx !=
|
|
1241
|
+
(C[f].vx != ye || C[f].vy != G || C[f].el !== w) && (C[f].el = w, C[f].vx = ye, C[f].vy = G, clearInterval(C[f].pid), (ye != 0 || G != 0) && (u = !0, C[f].pid = setInterval((function() {
|
|
1239
1242
|
o && this.layer === 0 && p.active._onTouchMove(Ze);
|
|
1240
1243
|
var we = C[this.layer].vy ? C[this.layer].vy * l : 0, Q = C[this.layer].vx ? C[this.layer].vx * l : 0;
|
|
1241
1244
|
typeof d == "function" && d.call(p.dragged.parentNode[L], Q, we, t, Ze, C[this.layer].el) !== "continue" || Wt(C[this.layer].el, Q, we);
|
|
@@ -1257,9 +1260,9 @@ var lt = $t(function(t, e, n, o) {
|
|
|
1257
1260
|
}));
|
|
1258
1261
|
}
|
|
1259
1262
|
};
|
|
1260
|
-
function
|
|
1263
|
+
function yt() {
|
|
1261
1264
|
}
|
|
1262
|
-
|
|
1265
|
+
yt.prototype = {
|
|
1263
1266
|
startIndex: null,
|
|
1264
1267
|
dragStart: function(e) {
|
|
1265
1268
|
var n = e.oldDraggableIndex;
|
|
@@ -1273,7 +1276,7 @@ _t.prototype = {
|
|
|
1273
1276
|
},
|
|
1274
1277
|
drop: Kt
|
|
1275
1278
|
};
|
|
1276
|
-
q(
|
|
1279
|
+
q(yt, {
|
|
1277
1280
|
pluginName: "revertOnSpill"
|
|
1278
1281
|
});
|
|
1279
1282
|
function wt() {
|
|
@@ -1289,7 +1292,7 @@ q(wt, {
|
|
|
1289
1292
|
pluginName: "removeOnSpill"
|
|
1290
1293
|
});
|
|
1291
1294
|
p.mount(new Qn());
|
|
1292
|
-
p.mount(wt,
|
|
1295
|
+
p.mount(wt, yt);
|
|
1293
1296
|
function st(t) {
|
|
1294
1297
|
t.parentElement !== null && t.parentElement.removeChild(t);
|
|
1295
1298
|
}
|
|
@@ -1562,7 +1565,7 @@ function bo(t) {
|
|
|
1562
1565
|
};
|
|
1563
1566
|
}
|
|
1564
1567
|
let ut = null;
|
|
1565
|
-
const
|
|
1568
|
+
const _o = {
|
|
1566
1569
|
list: {
|
|
1567
1570
|
type: Array,
|
|
1568
1571
|
required: !1,
|
|
@@ -1594,15 +1597,15 @@ const yo = {
|
|
|
1594
1597
|
required: !1,
|
|
1595
1598
|
default: null
|
|
1596
1599
|
}
|
|
1597
|
-
},
|
|
1600
|
+
}, yo = [
|
|
1598
1601
|
"update:modelValue",
|
|
1599
1602
|
"change",
|
|
1600
1603
|
...[...gt.manageAndEmit, ...gt.emit].map((t) => t.toLowerCase())
|
|
1601
1604
|
], wo = Ne({
|
|
1602
1605
|
name: "draggable",
|
|
1603
1606
|
inheritAttrs: !1,
|
|
1604
|
-
props:
|
|
1605
|
-
emits:
|
|
1607
|
+
props: _o,
|
|
1608
|
+
emits: yo,
|
|
1606
1609
|
data() {
|
|
1607
1610
|
return {
|
|
1608
1611
|
error: !1
|
|
@@ -1768,7 +1771,7 @@ const yo = {
|
|
|
1768
1771
|
ut = null;
|
|
1769
1772
|
}
|
|
1770
1773
|
}
|
|
1771
|
-
}),
|
|
1774
|
+
}), Xo = wo, Eo = Object.entries(x).map((t) => {
|
|
1772
1775
|
let e = "";
|
|
1773
1776
|
switch (t[1]) {
|
|
1774
1777
|
case x.BarChart:
|
|
@@ -1797,7 +1800,7 @@ const yo = {
|
|
|
1797
1800
|
break;
|
|
1798
1801
|
}
|
|
1799
1802
|
return {
|
|
1800
|
-
label:
|
|
1803
|
+
label: Dn(t[0]),
|
|
1801
1804
|
icon: e,
|
|
1802
1805
|
value: t[1]
|
|
1803
1806
|
};
|
|
@@ -1850,7 +1853,7 @@ const yo = {
|
|
|
1850
1853
|
]);
|
|
1851
1854
|
};
|
|
1852
1855
|
}
|
|
1853
|
-
}),
|
|
1856
|
+
}), Vo = /* @__PURE__ */ bt(Do, [["__scopeId", "data-v-c42ca7ee"]]);
|
|
1854
1857
|
function So(t) {
|
|
1855
1858
|
let e, n, o;
|
|
1856
1859
|
switch (t) {
|
|
@@ -1877,7 +1880,7 @@ function So(t) {
|
|
|
1877
1880
|
joinDatasources: e
|
|
1878
1881
|
};
|
|
1879
1882
|
}
|
|
1880
|
-
function
|
|
1883
|
+
function Yo(t, e) {
|
|
1881
1884
|
let n = 1, o = 1;
|
|
1882
1885
|
switch (t) {
|
|
1883
1886
|
case x.Scorecard:
|
|
@@ -1911,7 +1914,7 @@ function Bo(t, e) {
|
|
|
1911
1914
|
}
|
|
1912
1915
|
};
|
|
1913
1916
|
}
|
|
1914
|
-
function
|
|
1917
|
+
function $o(t, e) {
|
|
1915
1918
|
return t.filter((n, o) => o !== e);
|
|
1916
1919
|
}
|
|
1917
1920
|
const Co = {
|
|
@@ -1945,7 +1948,7 @@ const Co = {
|
|
|
1945
1948
|
], 64);
|
|
1946
1949
|
};
|
|
1947
1950
|
}
|
|
1948
|
-
}),
|
|
1951
|
+
}), Wo = /* @__PURE__ */ bt(To, [["__scopeId", "data-v-f83598f1"]]), xo = /* @__PURE__ */ Ne({
|
|
1949
1952
|
__name: "TransitionFade",
|
|
1950
1953
|
props: {
|
|
1951
1954
|
modelValue: { type: Boolean, required: !0, default: !0 },
|
|
@@ -1969,14 +1972,14 @@ const Co = {
|
|
|
1969
1972
|
})
|
|
1970
1973
|
], 64));
|
|
1971
1974
|
}
|
|
1972
|
-
}),
|
|
1975
|
+
}), Ho = /* @__PURE__ */ bt(xo, [["__scopeId", "data-v-a98ca9bc"]]);
|
|
1973
1976
|
export {
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1977
|
+
Xo as D,
|
|
1978
|
+
Wo as S,
|
|
1979
|
+
Ho as T,
|
|
1980
|
+
Vo as W,
|
|
1981
|
+
Bo as _,
|
|
1979
1982
|
So as a,
|
|
1980
|
-
|
|
1981
|
-
|
|
1983
|
+
$o as h,
|
|
1984
|
+
Yo as i
|
|
1982
1985
|
};
|
package/dist/app.js
CHANGED
|
@@ -1,5 +1,87 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineAsyncComponent as t } from "vue";
|
|
2
|
+
import { createRouter as o, createWebHistory as e } from "vue-router";
|
|
3
|
+
const r = {
|
|
4
|
+
title: "Report"
|
|
5
|
+
}, n = {
|
|
6
|
+
report: r
|
|
7
|
+
}, p = {
|
|
8
|
+
title: "报告"
|
|
9
|
+
}, i = {
|
|
10
|
+
report: p
|
|
11
|
+
}, m = [
|
|
12
|
+
{
|
|
13
|
+
path: "/overview",
|
|
14
|
+
alias: ["/"],
|
|
15
|
+
name: "overview",
|
|
16
|
+
component: () => import("./OverviewView-1MQAX-5G.js")
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
path: "/report",
|
|
20
|
+
name: "reports",
|
|
21
|
+
component: () => import("./Report-WYkPEjUh.js")
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
path: "/insights",
|
|
25
|
+
name: "insights",
|
|
26
|
+
component: () => import("./InsightView-GIj2fwLa.js")
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
path: "/report-view",
|
|
30
|
+
name: "reportView",
|
|
31
|
+
component: () => import("./ReportView-aky03f2y.js")
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
path: "/report-editor",
|
|
35
|
+
name: "reportEditor",
|
|
36
|
+
component: () => import("./ReportEditor-6EAPap-S.js")
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
path: "/report-editor/tile-editor",
|
|
40
|
+
name: "tileEditor",
|
|
41
|
+
component: () => import("./TileEditor-Qn4ZRR39.js")
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
path: "/setting",
|
|
45
|
+
name: "setting",
|
|
46
|
+
component: () => import("./Setting-IV26Ng45.js")
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
path: "/integration",
|
|
50
|
+
component: () => import("./Layout-G0qypnQY.js"),
|
|
51
|
+
children: [
|
|
52
|
+
{
|
|
53
|
+
name: "integrations",
|
|
54
|
+
path: "",
|
|
55
|
+
component: () => import("./Integrations-drS5pVEz.js")
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: "integration",
|
|
59
|
+
path: "/integration/:id",
|
|
60
|
+
component: () => import("./Integration-YTGIj4Ae.js")
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
path: "/xero-redirect",
|
|
66
|
+
name: "xeroRedirect",
|
|
67
|
+
component: () => import("./XeroRedirect-sLBv-Aqc.js")
|
|
68
|
+
}
|
|
69
|
+
// todo: fall back path
|
|
70
|
+
// {
|
|
71
|
+
// path:'*',
|
|
72
|
+
// component:NotFound
|
|
73
|
+
// }
|
|
74
|
+
];
|
|
75
|
+
o({
|
|
76
|
+
history: e("/"),
|
|
77
|
+
routes: m
|
|
78
|
+
});
|
|
79
|
+
const c = {
|
|
80
|
+
"en-US": n,
|
|
81
|
+
"zh-CN": i
|
|
82
|
+
}, h = t(() => import("./App-kcBxi_q1.js"));
|
|
2
83
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
84
|
+
h as FmApp,
|
|
85
|
+
c as i18nMessages,
|
|
86
|
+
m as routers
|
|
5
87
|
};
|