@opengis/bi 1.2.12 → 1.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bi.js +1 -1
- package/dist/bi.umd.cjs +13 -13
- package/dist/{import-file-D9Y8ZzdW.js → import-file-ChR4pfHv.js} +438 -440
- package/dist/{vs-funnel-bar-BeE_843D.js → vs-funnel-bar-BT8dU3vP.js} +1 -1
- package/dist/{vs-list-ACf76Vig.js → vs-list-DOODrXT8.js} +1 -1
- package/dist/{vs-map-pxetb-Zt.js → vs-map-4a3Rl_vt.js} +2 -2
- package/dist/{vs-map-cluster-DA41ogp4.js → vs-map-cluster-B09g7_0L.js} +2 -2
- package/dist/{vs-number-Bbd7FUbo.js → vs-number-Cp65GC9n.js} +1 -1
- package/dist/{vs-table-C2DhpIdV.js → vs-table-RlP9LKj4.js} +1 -1
- package/dist/{vs-text-_61SDvtN.js → vs-text-Q1VMLsfH.js} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var ER = Object.defineProperty;
|
|
2
2
|
var DR = (r, e, t) => e in r ? ER(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
3
|
var ct = (r, e, t) => DR(r, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import { h as su, defineComponent as ya, ref as Oe, computed as Mt, onUnmounted as Wh, createElementBlock as te, openBlock as W, Fragment as Et, createElementVNode as
|
|
4
|
+
import { h as su, defineComponent as ya, ref as Oe, computed as Mt, onUnmounted as Wh, createElementBlock as te, openBlock as W, Fragment as Et, createElementVNode as F, createCommentVNode as mt, createTextVNode as Wt, toDisplayString as rt, renderList as Yt, mergeModels as lu, useModel as Qy, withDirectives as CR, normalizeClass as tr, vModelCheckbox as AR, defineAsyncComponent as gt, onMounted as en, watch as Ht, createBlock as tt, createVNode as pe, unref as Xe, resolveDynamicComponent as ZC, createStaticVNode as MR, mergeProps as Yn, resolveComponent as Rt, withCtx as Ue, inject as qC, Teleport as IR, Transition as LR, withModifiers as XC, renderSlot as Sb, getCurrentInstance as ja, onBeforeUnmount as kR, normalizeStyle as Yh, onErrorCaptured as NR } from "vue";
|
|
5
5
|
/**
|
|
6
6
|
* @license lucide-vue-next v0.546.0 - ISC
|
|
7
7
|
*
|
|
@@ -283,14 +283,14 @@ const WR = Dr("x", [
|
|
|
283
283
|
return Wh(() => {
|
|
284
284
|
document.removeEventListener("click", c);
|
|
285
285
|
}), (d, v) => (W(), te(Et, null, [
|
|
286
|
-
|
|
286
|
+
F("button", {
|
|
287
287
|
type: "button",
|
|
288
288
|
"aria-expanded": "true",
|
|
289
289
|
class: "hs-select-disabled:pointer-events-none hs-select-disabled:opacity-50 relative group pr-2 -ms-2 py-1.5 pl-2.5 inline-flex shrink-0 justify-center items-center gap-x-1.5 text-sm text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-none focus:bg-gray-100 before:absolute before:inset-0 before:z-[1] dark:text-neutral-400 dark:hover:bg-neutral-800 dark:focus:bg-neutral-700",
|
|
290
290
|
onClick: f
|
|
291
291
|
}, [
|
|
292
292
|
Wt(rt(h(l.value)) + " ", 1),
|
|
293
|
-
v[0] || (v[0] =
|
|
293
|
+
v[0] || (v[0] = F("svg", {
|
|
294
294
|
class: "shrink-0 size-3.5 text-gray-600 dark:text-neutral-400",
|
|
295
295
|
xmlns: "http://www.w3.org/2000/svg",
|
|
296
296
|
width: "16",
|
|
@@ -302,7 +302,7 @@ const WR = Dr("x", [
|
|
|
302
302
|
"stroke-linecap": "round",
|
|
303
303
|
"stroke-linejoin": "round"
|
|
304
304
|
}, [
|
|
305
|
-
|
|
305
|
+
F("path", { d: "m6 9 6 6 6-6" })
|
|
306
306
|
], -1))
|
|
307
307
|
]),
|
|
308
308
|
a.value ? (W(), te("div", {
|
|
@@ -321,10 +321,10 @@ const WR = Dr("x", [
|
|
|
321
321
|
class: "cursor-pointer selected hs-selected:bg-gray-100 dark:hs-selected:bg-neutral-800 py-1.5 px-2 w-full text-[13px] text-gray-800 rounded-lg hover:bg-gray-100 focus:outline-none focus:bg-gray-100 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
|
|
322
322
|
onClick: (g) => u(p)
|
|
323
323
|
}, [
|
|
324
|
-
|
|
325
|
-
|
|
324
|
+
F("div", ZR, [
|
|
325
|
+
F("span", null, rt(h(p.text || p)), 1),
|
|
326
326
|
i.value === (p.id || p) ? (W(), te("span", qR, v[1] || (v[1] = [
|
|
327
|
-
|
|
327
|
+
F("svg", {
|
|
328
328
|
class: "shrink-0 h-3.5 w-3.5 text-gray-800 dark:text-neutral-200",
|
|
329
329
|
xmlns: "http:.w3.org/2000/svg",
|
|
330
330
|
width: "24",
|
|
@@ -336,7 +336,7 @@ const WR = Dr("x", [
|
|
|
336
336
|
"stroke-linecap": "round",
|
|
337
337
|
"stroke-linejoin": "round"
|
|
338
338
|
}, [
|
|
339
|
-
|
|
339
|
+
F("polyline", { points: "20 6 9 17 4 12" })
|
|
340
340
|
], -1)
|
|
341
341
|
]))) : mt("", !0)
|
|
342
342
|
])
|
|
@@ -367,7 +367,7 @@ const WR = Dr("x", [
|
|
|
367
367
|
key: 0,
|
|
368
368
|
class: tr(["transition-colors", { "text-blue-500": !n.value }])
|
|
369
369
|
}, rt(i.leftLabel), 3)) : mt("", !0),
|
|
370
|
-
CR(
|
|
370
|
+
CR(F("input", {
|
|
371
371
|
"onUpdate:modelValue": o[0] || (o[0] = (s) => n.value = s),
|
|
372
372
|
type: "checkbox",
|
|
373
373
|
class: "relative w-11 h-6 p-px bg-gray-100 border-transparent text-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:ring-blue-600 disabled:opacity-50 disabled:pointer-events-none checked:bg-none checked:text-blue-600 checked:border-blue-600 focus:checked:border-blue-600 dark:bg-neutral-800 dark:border-neutral-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-600 before:inline-block before:size-5 before:bg-white checked:before:bg-blue-200 before:translate-x-0 checked:before:translate-x-full before:rounded-full before:shadow before:h-5 before:w-5 before:transform before:ring-0 before:transition before:ease-in-out before:duration-200 dark:before:bg-neutral-400 dark:checked:before:bg-blue-200",
|
|
@@ -389,26 +389,26 @@ const WR = Dr("x", [
|
|
|
389
389
|
}, jR = {}, JR = { class: "flex items-center justify-center h-full" };
|
|
390
390
|
function eO(r, e) {
|
|
391
391
|
return W(), te("div", JR, e[0] || (e[0] = [
|
|
392
|
-
|
|
393
|
-
|
|
392
|
+
F("div", { class: "text-center text-gray-500" }, [
|
|
393
|
+
F("h2", { class: "text-2xl font-bold" }, "No data available")
|
|
394
394
|
], -1)
|
|
395
395
|
]));
|
|
396
396
|
}
|
|
397
397
|
const tO = /* @__PURE__ */ yr(jR, [["render", eO]]), Cb = {
|
|
398
|
-
"bi-bar": gt(() => Promise.resolve().then(() =>
|
|
399
|
-
"bi-number": gt(() => import("./vs-number-
|
|
400
|
-
"bi-text": gt(() => import("./vs-text-
|
|
401
|
-
"bi-listbar": gt(() => Promise.resolve().then(() =>
|
|
402
|
-
"bi-pie": gt(() => Promise.resolve().then(() =>
|
|
403
|
-
"bi-donut": gt(() => Promise.resolve().then(() =>
|
|
404
|
-
"bi-line": gt(() => Promise.resolve().then(() =>
|
|
405
|
-
"bi-stat": gt(() => Promise.resolve().then(() =>
|
|
406
|
-
"bi-pivot": gt(() => Promise.resolve().then(() =>
|
|
407
|
-
"bi-progress": gt(() => Promise.resolve().then(() =>
|
|
408
|
-
"bi-funnel": gt(() => import("./vs-funnel-bar-
|
|
409
|
-
"bi-map": gt(() => import("./vs-map-
|
|
410
|
-
"bi-cluster": gt(() => import("./vs-map-cluster-
|
|
411
|
-
"bi-table": gt(() => import("./vs-table-
|
|
398
|
+
"bi-bar": gt(() => Promise.resolve().then(() => xte)),
|
|
399
|
+
"bi-number": gt(() => import("./vs-number-Cp65GC9n.js")),
|
|
400
|
+
"bi-text": gt(() => import("./vs-text-Q1VMLsfH.js")),
|
|
401
|
+
"bi-listbar": gt(() => Promise.resolve().then(() => wre)),
|
|
402
|
+
"bi-pie": gt(() => Promise.resolve().then(() => Nte)),
|
|
403
|
+
"bi-donut": gt(() => Promise.resolve().then(() => Ate)),
|
|
404
|
+
"bi-line": gt(() => Promise.resolve().then(() => Vte)),
|
|
405
|
+
"bi-stat": gt(() => Promise.resolve().then(() => ere)),
|
|
406
|
+
"bi-pivot": gt(() => Promise.resolve().then(() => zre)),
|
|
407
|
+
"bi-progress": gt(() => Promise.resolve().then(() => dre)),
|
|
408
|
+
"bi-funnel": gt(() => import("./vs-funnel-bar-BT8dU3vP.js")),
|
|
409
|
+
"bi-map": gt(() => import("./vs-map-4a3Rl_vt.js")),
|
|
410
|
+
"bi-cluster": gt(() => import("./vs-map-cluster-B09g7_0L.js")),
|
|
411
|
+
"bi-table": gt(() => import("./vs-table-RlP9LKj4.js"))
|
|
412
412
|
};
|
|
413
413
|
let tA = "/api";
|
|
414
414
|
function Zh(r) {
|
|
@@ -552,11 +552,11 @@ const Ut = {
|
|
|
552
552
|
]])
|
|
553
553
|
}, [
|
|
554
554
|
["text", "cluster", "map"].includes(c.value) ? mt("", !0) : (W(), te("div", nO, [
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
555
|
+
F("div", aO, [
|
|
556
|
+
F("div", iO, [
|
|
557
|
+
F("span", oO, rt(u.value), 1)
|
|
558
558
|
]),
|
|
559
|
-
|
|
559
|
+
F("div", sO, [
|
|
560
560
|
(E = f.value) != null && E.length ? (W(), te("span", lO, [
|
|
561
561
|
(W(!0), te(Et, null, Yt((D = f.value) == null ? void 0 : D.filter(
|
|
562
562
|
(M) => (M == null ? void 0 : M.options) && (M == null ? void 0 : M.name) !== "export"
|
|
@@ -594,7 +594,7 @@ const Ut = {
|
|
|
594
594
|
])
|
|
595
595
|
])
|
|
596
596
|
])),
|
|
597
|
-
|
|
597
|
+
F("div", uO, [
|
|
598
598
|
h.value ? (W(), tt(ZC(h.value), {
|
|
599
599
|
key: 0,
|
|
600
600
|
ref_key: "chartRef",
|
|
@@ -622,12 +622,12 @@ const Ut = {
|
|
|
622
622
|
},
|
|
623
623
|
setup(r) {
|
|
624
624
|
return (e, t) => (W(), te("div", cO, [
|
|
625
|
-
|
|
626
|
-
|
|
625
|
+
F("div", null, [
|
|
626
|
+
F("div", fO, [
|
|
627
627
|
t[0] || (t[0] = MR('<svg class="w-48 mx-auto" viewBox="0 0 178 90" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="27" y="50.5" width="124" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="27" y="50.5" width="124" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-50 dark:stroke-neutral-700/10"></rect><rect x="34.5" y="58" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="61" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="73" width="77" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/30"></rect><rect x="27" y="36" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="39" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="51" width="92" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><g filter="url(#filter1)"><rect x="12" y="6" width="154" height="40" rx="8" fill="currentColor" class="fill-white dark:fill-neutral-800" shape-rendering="crispEdges"></rect><rect x="12.5" y="6.5" width="153" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/60" shape-rendering="crispEdges"></rect><rect x="20" y="14" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="17" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="29" width="106" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect></g><defs><filter id="filter1" x="0" y="0" width="178" height="64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="6"></feOffset><feGaussianBlur stdDeviation="6"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1187_14810"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1187_14810" result="shape"></feBlend></filter></defs></svg>', 1)),
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
628
|
+
F("div", hO, [
|
|
629
|
+
F("p", dO, rt(e.title), 1),
|
|
630
|
+
F("p", vO, rt(e.text), 1)
|
|
631
631
|
])
|
|
632
632
|
])
|
|
633
633
|
])
|
|
@@ -705,7 +705,7 @@ function bO(r, e, t, n, a, i) {
|
|
|
705
705
|
onFilterChange: i.handleFilterChange
|
|
706
706
|
}, {
|
|
707
707
|
button: Ue(() => [
|
|
708
|
-
|
|
708
|
+
F("button", {
|
|
709
709
|
type: "button",
|
|
710
710
|
class: "py-2 px-2.5 ml-3 h-[38px] inline-flex items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50",
|
|
711
711
|
onClick: e[0] || (e[0] = (...l) => i.toggleFilterShown && i.toggleFilterShown(...l))
|
|
@@ -736,8 +736,8 @@ function AO(r, e, t, n, a, i) {
|
|
|
736
736
|
var s, l, u;
|
|
737
737
|
const o = Rt("VsFilterHeader");
|
|
738
738
|
return W(), te("div", SO, [
|
|
739
|
-
|
|
740
|
-
|
|
739
|
+
F("div", TO, [
|
|
740
|
+
F("h1", EO, rt((s = t.dashboardData) == null ? void 0 : s.title), 1),
|
|
741
741
|
(l = t.dashboardData) != null && l.description ? (W(), te("button", DO, rt((u = t.dashboardData) == null ? void 0 : u.description), 1)) : mt("", !0)
|
|
742
742
|
]),
|
|
743
743
|
t.filters ? (W(), te("div", CO, [
|
|
@@ -842,7 +842,7 @@ function PO(r, e, t, n, a, i) {
|
|
|
842
842
|
var l;
|
|
843
843
|
const o = Rt("VsNewNodata"), s = Rt("VsWidget");
|
|
844
844
|
return W(), te("div", RO, [
|
|
845
|
-
|
|
845
|
+
F("div", OO, [
|
|
846
846
|
a.error || !a.dashboardData ? (W(), tt(o, {
|
|
847
847
|
key: 0,
|
|
848
848
|
class: "col-span-12"
|
|
@@ -872,7 +872,7 @@ function PO(r, e, t, n, a, i) {
|
|
|
872
872
|
])
|
|
873
873
|
]);
|
|
874
874
|
}
|
|
875
|
-
const
|
|
875
|
+
const $re = /* @__PURE__ */ yr(NO, [["render", PO]]);
|
|
876
876
|
var nA = {}, Ab;
|
|
877
877
|
(function(r) {
|
|
878
878
|
r.pop = "pop", r.push = "push";
|
|
@@ -923,7 +923,7 @@ const FO = {
|
|
|
923
923
|
window.removeEventListener("keydown", o);
|
|
924
924
|
}), (s, l) => (W(), tt(IR, { to: r.teleport }, [
|
|
925
925
|
r.visible ? (W(), te("div", FO, [
|
|
926
|
-
|
|
926
|
+
F("div", {
|
|
927
927
|
class: "absolute inset-0 bg-black/50",
|
|
928
928
|
"aria-hidden": "true",
|
|
929
929
|
onMousedown: l[0] || (l[0] = (u) => r.closeClickBack && u.target === u.currentTarget && i())
|
|
@@ -941,15 +941,15 @@ const FO = {
|
|
|
941
941
|
onMousedown: l[1] || (l[1] = XC(() => {
|
|
942
942
|
}, ["stop"]))
|
|
943
943
|
}, [
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
944
|
+
F("div", GO, [
|
|
945
|
+
F("h3", $O, rt(r.title), 1),
|
|
946
|
+
F("button", {
|
|
947
947
|
type: "button",
|
|
948
948
|
class: "size-8 inline-flex justify-center items-center rounded-full bg-gray-100 text-gray-800 hover:bg-gray-200 dark:bg-neutral-700 dark:hover:bg-neutral-600 dark:text-neutral-300",
|
|
949
949
|
"aria-label": "Закрити",
|
|
950
950
|
onClick: i
|
|
951
951
|
}, l[2] || (l[2] = [
|
|
952
|
-
|
|
952
|
+
F("svg", {
|
|
953
953
|
class: "w-4 h-4",
|
|
954
954
|
xmlns: "http://www.w3.org/2000/svg",
|
|
955
955
|
fill: "none",
|
|
@@ -957,7 +957,7 @@ const FO = {
|
|
|
957
957
|
stroke: "currentColor",
|
|
958
958
|
"stroke-width": "2"
|
|
959
959
|
}, [
|
|
960
|
-
|
|
960
|
+
F("path", {
|
|
961
961
|
"stroke-linecap": "round",
|
|
962
962
|
"stroke-linejoin": "round",
|
|
963
963
|
d: "M6 18L18 6M6 6l12 12"
|
|
@@ -965,7 +965,7 @@ const FO = {
|
|
|
965
965
|
], -1)
|
|
966
966
|
]))
|
|
967
967
|
]),
|
|
968
|
-
|
|
968
|
+
F("div", HO, [
|
|
969
969
|
Sb(s.$slots, "default", {}, void 0, !0)
|
|
970
970
|
]),
|
|
971
971
|
s.$slots.footer ? (W(), te("div", UO, [
|
|
@@ -1151,8 +1151,8 @@ const FO = {
|
|
|
1151
1151
|
trigger: "hover"
|
|
1152
1152
|
}, {
|
|
1153
1153
|
reference: Ue(() => [
|
|
1154
|
-
|
|
1155
|
-
|
|
1154
|
+
F("div", null, [
|
|
1155
|
+
F("button", {
|
|
1156
1156
|
class: "z-50 flex items-center justify-center h-[50px] !w-[50px] text-2xl text-white transition-colors bg-blue-500 rounded-full cursor-pointer hover:bg-blue-700",
|
|
1157
1157
|
onClick: d[0] || (d[0] = (p) => o.value = !0)
|
|
1158
1158
|
}, [
|
|
@@ -1175,20 +1175,20 @@ const FO = {
|
|
|
1175
1175
|
onClose: d[3] || (d[3] = (p) => o.value = !1)
|
|
1176
1176
|
}, {
|
|
1177
1177
|
footer: Ue(() => [
|
|
1178
|
-
|
|
1179
|
-
|
|
1178
|
+
F("div", qO, [
|
|
1179
|
+
F("button", {
|
|
1180
1180
|
style: { border: "1px solid #000" },
|
|
1181
1181
|
onClick: d[2] || (d[2] = (p) => o.value = !1),
|
|
1182
1182
|
class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-black border-gray-200 rounded-lg !border-gray-200 hover:bg-gray-100 duration-300"
|
|
1183
1183
|
}, " Скасувати "),
|
|
1184
|
-
|
|
1184
|
+
F("button", {
|
|
1185
1185
|
onClick: u,
|
|
1186
1186
|
class: "py-2 px-3 inline-flex items-center gap-x-2 text-[14px] font-[400] whitespace-nowrap text-white bg-blue-500 rounded-lg !border-gray-200 hover:bg-blue-700 duration-300"
|
|
1187
1187
|
}, " Створити ")
|
|
1188
1188
|
])
|
|
1189
1189
|
]),
|
|
1190
1190
|
default: Ue(() => [
|
|
1191
|
-
|
|
1191
|
+
F("div", ZO, [
|
|
1192
1192
|
pe(Xe(t), {
|
|
1193
1193
|
ref_key: "form",
|
|
1194
1194
|
ref: l,
|
|
@@ -3190,7 +3190,7 @@ function l0(r, e) {
|
|
|
3190
3190
|
t = be(t, r[n], e);
|
|
3191
3191
|
return t;
|
|
3192
3192
|
}
|
|
3193
|
-
function
|
|
3193
|
+
function z(r, e) {
|
|
3194
3194
|
if (Object.assign)
|
|
3195
3195
|
Object.assign(r, e);
|
|
3196
3196
|
else
|
|
@@ -3456,7 +3456,7 @@ function Qh(r, e) {
|
|
|
3456
3456
|
};
|
|
3457
3457
|
n.prototype = r, t = new n();
|
|
3458
3458
|
}
|
|
3459
|
-
return e &&
|
|
3459
|
+
return e && z(t, e), t;
|
|
3460
3460
|
}
|
|
3461
3461
|
function TA(r) {
|
|
3462
3462
|
var e = r.style;
|
|
@@ -5204,7 +5204,7 @@ function gm(r) {
|
|
|
5204
5204
|
var e = jb.get(r);
|
|
5205
5205
|
return e || (e = pm(r, -0.1), jb.put(r, e)), e;
|
|
5206
5206
|
} else if (Kh(r)) {
|
|
5207
|
-
var t =
|
|
5207
|
+
var t = z({}, r);
|
|
5208
5208
|
return t.colorStops = H(r.colorStops, function(n) {
|
|
5209
5209
|
return {
|
|
5210
5210
|
offset: n.offset,
|
|
@@ -5411,7 +5411,7 @@ var al = [0, 0, 0, 0], YB = function() {
|
|
|
5411
5411
|
c && (l = c, s = Ll);
|
|
5412
5412
|
}
|
|
5413
5413
|
else if (Kh(t)) {
|
|
5414
|
-
var f =
|
|
5414
|
+
var f = z({}, l);
|
|
5415
5415
|
f.colorStops = H(t.colorStops, function(d) {
|
|
5416
5416
|
return {
|
|
5417
5417
|
offset: d.offset,
|
|
@@ -6152,7 +6152,7 @@ var Oo = {}, iv = "__zr_normal__", ov = $n.concat(["ignore"]), nV = Fn($n, funct
|
|
|
6152
6152
|
return n[3] = 1, oa(n, "rgba");
|
|
6153
6153
|
}, r.prototype.traverse = function(e, t) {
|
|
6154
6154
|
}, r.prototype.attrKV = function(e, t) {
|
|
6155
|
-
e === "textConfig" ? this.setTextConfig(t) : e === "textContent" ? this.setTextContent(t) : e === "clipPath" ? this.setClipPath(t) : e === "extra" ? (this.extra = this.extra || {},
|
|
6155
|
+
e === "textConfig" ? this.setTextConfig(t) : e === "textContent" ? this.setTextContent(t) : e === "clipPath" ? this.setClipPath(t) : e === "extra" ? (this.extra = this.extra || {}, z(this.extra, t)) : this[e] = t;
|
|
6156
6156
|
}, r.prototype.hide = function() {
|
|
6157
6157
|
this.ignore = !0, this.markRedraw();
|
|
6158
6158
|
}, r.prototype.show = function() {
|
|
@@ -6262,12 +6262,12 @@ var Oo = {}, iv = "__zr_normal__", ov = $n.concat(["ignore"]), nV = Fn($n, funct
|
|
|
6262
6262
|
}, r.prototype._mergeStates = function(e) {
|
|
6263
6263
|
for (var t = {}, n, a = 0; a < e.length; a++) {
|
|
6264
6264
|
var i = e[a];
|
|
6265
|
-
|
|
6265
|
+
z(t, i), i.textConfig && (n = n || {}, z(n, i.textConfig));
|
|
6266
6266
|
}
|
|
6267
6267
|
return n && (t.textConfig = n), t;
|
|
6268
6268
|
}, r.prototype._applyStateObj = function(e, t, n, a, i, o) {
|
|
6269
6269
|
var s = !(t && a);
|
|
6270
|
-
t && t.textConfig ? (this.textConfig =
|
|
6270
|
+
t && t.textConfig ? (this.textConfig = z({}, a ? this.textConfig : n.textConfig), z(this.textConfig, t.textConfig)) : s && n.textConfig && (this.textConfig = n.textConfig);
|
|
6271
6271
|
for (var l = {}, u = !1, c = 0; c < ov.length; c++) {
|
|
6272
6272
|
var f = ov[c], h = i && nV[f];
|
|
6273
6273
|
t && t[f] != null ? h ? (u = !0, l[f] = t[f]) : this[f] = t[f] : s && n[f] != null && (h ? (u = !0, l[f] = n[f]) : this[f] = n[f]);
|
|
@@ -6310,7 +6310,7 @@ var Oo = {}, iv = "__zr_normal__", ov = $n.concat(["ignore"]), nV = Fn($n, funct
|
|
|
6310
6310
|
e.innerTransformable = new ra(), this._attachComponent(e), this._textContent = e, this.markRedraw();
|
|
6311
6311
|
}
|
|
6312
6312
|
}, r.prototype.setTextConfig = function(e) {
|
|
6313
|
-
this.textConfig || (this.textConfig = {}),
|
|
6313
|
+
this.textConfig || (this.textConfig = {}), z(this.textConfig, e), this.markRedraw();
|
|
6314
6314
|
}, r.prototype.removeTextConfig = function() {
|
|
6315
6315
|
this.textConfig = null, this.markRedraw();
|
|
6316
6316
|
}, r.prototype.removeTextContent = function() {
|
|
@@ -7317,7 +7317,7 @@ function S0(r, e) {
|
|
|
7317
7317
|
return o;
|
|
7318
7318
|
}(n) : (a = function() {
|
|
7319
7319
|
(t.$constructor || n).apply(this, arguments);
|
|
7320
|
-
}, WP(a, this)),
|
|
7320
|
+
}, WP(a, this)), z(a.prototype, t), a[uM] = !0, a.extend = this.extend, a.superCall = ZV, a.superApply = qV, a.superClass = n, a;
|
|
7321
7321
|
};
|
|
7322
7322
|
}
|
|
7323
7323
|
function UV(r) {
|
|
@@ -7465,7 +7465,7 @@ function JV(r, e, t, n, a, i) {
|
|
|
7465
7465
|
}
|
|
7466
7466
|
function fM(r, e, t, n) {
|
|
7467
7467
|
n = n || {};
|
|
7468
|
-
var a =
|
|
7468
|
+
var a = z({}, n);
|
|
7469
7469
|
a.font = e, t = me(t, "..."), a.maxIterations = me(n.maxIterations, 2);
|
|
7470
7470
|
var i = a.minChar = me(n.minChar, 0);
|
|
7471
7471
|
a.cnCharWidth = Nr("国", e);
|
|
@@ -7727,7 +7727,7 @@ var _x = ["z", "z2", "invisible"], lz = ["invisible"], tn = function(r) {
|
|
|
7727
7727
|
}, e.prototype.attrKV = function(t, n) {
|
|
7728
7728
|
t !== "style" ? r.prototype.attrKV.call(this, t, n) : this.style ? this.setStyle(n) : this.useStyle(n);
|
|
7729
7729
|
}, e.prototype.setStyle = function(t, n) {
|
|
7730
|
-
return typeof t == "string" ? this.style[t] = n :
|
|
7730
|
+
return typeof t == "string" ? this.style[t] = n : z(this.style, t), this.dirtyStyle(), this;
|
|
7731
7731
|
}, e.prototype.dirtyStyle = function(t) {
|
|
7732
7732
|
t || this.markRedraw(), this.__dirty |= wf, this._rect && (this._rect = null);
|
|
7733
7733
|
}, e.prototype.dirty = function() {
|
|
@@ -7777,7 +7777,7 @@ var _x = ["z", "z2", "invisible"], lz = ["invisible"], tn = function(r) {
|
|
|
7777
7777
|
}
|
|
7778
7778
|
return a && (n.style = a), n;
|
|
7779
7779
|
}, e.prototype._mergeStyle = function(t, n) {
|
|
7780
|
-
return
|
|
7780
|
+
return z(t, n), t;
|
|
7781
7781
|
}, e.prototype.getAnimationStyleProps = function() {
|
|
7782
7782
|
return od;
|
|
7783
7783
|
}, e.initDefaultProps = function() {
|
|
@@ -8383,7 +8383,7 @@ var eh = ce({
|
|
|
8383
8383
|
a && this.useStyle(a);
|
|
8384
8384
|
for (var i = 0; i < n.length; i++) {
|
|
8385
8385
|
var o = n[i], s = t[o];
|
|
8386
|
-
o === "style" ? this.style ?
|
|
8386
|
+
o === "style" ? this.style ? z(this.style, s) : this.useStyle(s) : o === "shape" ? z(this.shape, s) : r.prototype.attrKV.call(this, o, s);
|
|
8387
8387
|
}
|
|
8388
8388
|
this.style || this.useStyle({});
|
|
8389
8389
|
}, e.prototype.getDefaultStyle = function() {
|
|
@@ -8469,7 +8469,7 @@ var eh = ce({
|
|
|
8469
8469
|
t === "shape" ? this.setShape(n) : r.prototype.attrKV.call(this, t, n);
|
|
8470
8470
|
}, e.prototype.setShape = function(t, n) {
|
|
8471
8471
|
var a = this.shape;
|
|
8472
|
-
return a || (a = this.shape = {}), typeof t == "string" ? a[t] = n :
|
|
8472
|
+
return a || (a = this.shape = {}), typeof t == "string" ? a[t] = n : z(a, t), this.dirtyShape(), this;
|
|
8473
8473
|
}, e.prototype.shapeChanged = function() {
|
|
8474
8474
|
return !!(this.__dirty & Il);
|
|
8475
8475
|
}, e.prototype.createStyle = function(t) {
|
|
@@ -8477,13 +8477,13 @@ var eh = ce({
|
|
|
8477
8477
|
}, e.prototype._innerSaveToNormal = function(t) {
|
|
8478
8478
|
r.prototype._innerSaveToNormal.call(this, t);
|
|
8479
8479
|
var n = this._normalState;
|
|
8480
|
-
t.shape && !n.shape && (n.shape =
|
|
8480
|
+
t.shape && !n.shape && (n.shape = z({}, this.shape));
|
|
8481
8481
|
}, e.prototype._applyStateObj = function(t, n, a, i, o, s) {
|
|
8482
8482
|
r.prototype._applyStateObj.call(this, t, n, a, i, o, s);
|
|
8483
8483
|
var l = !(n && i), u;
|
|
8484
|
-
if (n && n.shape ? o ? i ? u = n.shape : (u =
|
|
8484
|
+
if (n && n.shape ? o ? i ? u = n.shape : (u = z({}, a.shape), z(u, n.shape)) : (u = z({}, i ? this.shape : a.shape), z(u, n.shape)) : l && (u = a.shape), u)
|
|
8485
8485
|
if (o) {
|
|
8486
|
-
this.shape =
|
|
8486
|
+
this.shape = z({}, this.shape);
|
|
8487
8487
|
for (var c = {}, f = ke(u), h = 0; h < f.length; h++) {
|
|
8488
8488
|
var d = f[h];
|
|
8489
8489
|
typeof u[d] == "object" ? this.shape[d] = u[d] : c[d] = u[d];
|
|
@@ -8738,11 +8738,11 @@ var Lz = {}, Ex = {
|
|
|
8738
8738
|
if (!n)
|
|
8739
8739
|
return t;
|
|
8740
8740
|
var a = n.rich, i = t.rich || a && {};
|
|
8741
|
-
return
|
|
8741
|
+
return z(t, n), a && i ? (this._mergeRich(i, a), t.rich = i) : i && (t.rich = i), t;
|
|
8742
8742
|
}, e.prototype._mergeRich = function(t, n) {
|
|
8743
8743
|
for (var a = ke(n), i = 0; i < a.length; i++) {
|
|
8744
8744
|
var o = a[i];
|
|
8745
|
-
t[o] = t[o] || {},
|
|
8745
|
+
t[o] = t[o] || {}, z(t[o], n[o]);
|
|
8746
8746
|
}
|
|
8747
8747
|
}, e.prototype.getAnimationStyleProps = function() {
|
|
8748
8748
|
return kz;
|
|
@@ -8942,11 +8942,11 @@ function Fz(r, e, t, n) {
|
|
|
8942
8942
|
if (Bo(s) || Bo(l)) {
|
|
8943
8943
|
n = n || {};
|
|
8944
8944
|
var u = n.style || {};
|
|
8945
|
-
u.fill === "inherit" ? (i = !0, n =
|
|
8945
|
+
u.fill === "inherit" ? (i = !0, n = z({}, n), u = z({}, u), u.fill = s) : !Bo(u.fill) && Bo(s) ? (i = !0, n = z({}, n), u = z({}, u), u.fill = gm(s)) : !Bo(u.stroke) && Bo(l) && (i || (n = z({}, n), u = z({}, u)), u.stroke = gm(l)), n.style = u;
|
|
8946
8946
|
}
|
|
8947
8947
|
}
|
|
8948
8948
|
if (n && n.z2 == null) {
|
|
8949
|
-
i || (n =
|
|
8949
|
+
i || (n = z({}, n));
|
|
8950
8950
|
var c = r.z2EmphasisLift;
|
|
8951
8951
|
n.z2 = r.z2 + (c ?? Bs);
|
|
8952
8952
|
}
|
|
@@ -8954,7 +8954,7 @@ function Fz(r, e, t, n) {
|
|
|
8954
8954
|
}
|
|
8955
8955
|
function Gz(r, e, t) {
|
|
8956
8956
|
if (t && t.z2 == null) {
|
|
8957
|
-
t =
|
|
8957
|
+
t = z({}, t);
|
|
8958
8958
|
var n = r.z2SelectLift;
|
|
8959
8959
|
t.z2 = r.z2 + (n ?? Pz);
|
|
8960
8960
|
}
|
|
@@ -8966,7 +8966,7 @@ function $z(r, e, t) {
|
|
|
8966
8966
|
});
|
|
8967
8967
|
t = t || {};
|
|
8968
8968
|
var o = t.style || {};
|
|
8969
|
-
return o.opacity == null && (t =
|
|
8969
|
+
return o.opacity == null && (t = z({}, t), o = z({
|
|
8970
8970
|
// Already being applied 'emphasis'. DON'T mul opacity multiple times.
|
|
8971
8971
|
opacity: n ? a : i.opacity * 0.1
|
|
8972
8972
|
}, o), t.style = o), t;
|
|
@@ -9357,7 +9357,7 @@ function LM(r) {
|
|
|
9357
9357
|
return r.setData != null;
|
|
9358
9358
|
}
|
|
9359
9359
|
function kM(r, e) {
|
|
9360
|
-
var t = nF(r), n =
|
|
9360
|
+
var t = nF(r), n = z({}, e);
|
|
9361
9361
|
return n.buildPath = function(a) {
|
|
9362
9362
|
if (LM(a)) {
|
|
9363
9363
|
a.setData(t.data);
|
|
@@ -10063,7 +10063,7 @@ function Zu(r, e, t) {
|
|
|
10063
10063
|
y: o.y,
|
|
10064
10064
|
rotation: o.rotation
|
|
10065
10065
|
};
|
|
10066
|
-
return AF(o) && (s.shape =
|
|
10066
|
+
return AF(o) && (s.shape = z({}, o.shape)), s;
|
|
10067
10067
|
}
|
|
10068
10068
|
var i = n(r);
|
|
10069
10069
|
e.traverse(function(o) {
|
|
@@ -10095,7 +10095,7 @@ function MF(r, e) {
|
|
|
10095
10095
|
};
|
|
10096
10096
|
}
|
|
10097
10097
|
function qu(r, e, t) {
|
|
10098
|
-
var n =
|
|
10098
|
+
var n = z({
|
|
10099
10099
|
rectHover: !0
|
|
10100
10100
|
}, e), a = n.style = {
|
|
10101
10101
|
strokeNoScale: !0
|
|
@@ -10295,7 +10295,7 @@ function Vt(r, e) {
|
|
|
10295
10295
|
}
|
|
10296
10296
|
function at(r, e, t, n, a) {
|
|
10297
10297
|
var i = {};
|
|
10298
|
-
return LF(i, r, t, n, a), e &&
|
|
10298
|
+
return LF(i, r, t, n, a), e && z(i, e), i;
|
|
10299
10299
|
}
|
|
10300
10300
|
function ih(r, e, t) {
|
|
10301
10301
|
e = e || {};
|
|
@@ -10910,7 +10910,7 @@ function XF(r, e, t, n, a) {
|
|
|
10910
10910
|
level: r.level
|
|
10911
10911
|
});
|
|
10912
10912
|
else {
|
|
10913
|
-
var o =
|
|
10913
|
+
var o = z({}, Pl);
|
|
10914
10914
|
if (r.level > 0)
|
|
10915
10915
|
for (var s = 0; s < Av.length; ++s)
|
|
10916
10916
|
o[Av[s]] = "{primary|" + o[Av[s]] + "}";
|
|
@@ -11719,10 +11719,10 @@ echarts.use([` + M + "]);" : "Unknown series " + A));
|
|
|
11719
11719
|
if (S && S.constructor === D)
|
|
11720
11720
|
S.name = x.keyInfo.name, S.mergeOption(T, this), S.optionUpdated(T, !1);
|
|
11721
11721
|
else {
|
|
11722
|
-
var I =
|
|
11722
|
+
var I = z({
|
|
11723
11723
|
componentIndex: w
|
|
11724
11724
|
}, x.keyInfo);
|
|
11725
|
-
S = new D(T, this, this, I),
|
|
11725
|
+
S = new D(T, this, this, I), z(S, I), x.brandNew && (S.__requireNewView = !0), S.init(T, this, this), S.optionUpdated(null, !0);
|
|
11726
11726
|
}
|
|
11727
11727
|
}
|
|
11728
11728
|
S ? (g.push(S.option), m.push(S), y++) : (g.push(void 0), m.push(void 0));
|
|
@@ -12452,7 +12452,7 @@ var qa = {}, Ci, Ai, Mi, _w, bw, wI = (
|
|
|
12452
12452
|
var e;
|
|
12453
12453
|
bw = function(o, s, l) {
|
|
12454
12454
|
var u = l.sourceFormat, c = l.seriesLayoutBy, f = l.startIndex, h = l.dimensionsDefine, d = _w[q0(u, c)];
|
|
12455
|
-
if (qa.NODE_ENV !== "production" && ue(d, "Invalide sourceFormat: " + u),
|
|
12455
|
+
if (qa.NODE_ENV !== "production" && ue(d, "Invalide sourceFormat: " + u), z(o, d), u === sa)
|
|
12456
12456
|
o.getItem = t, o.count = a, o.fillStorage = n;
|
|
12457
12457
|
else {
|
|
12458
12458
|
var v = SI(u, c);
|
|
@@ -12900,7 +12900,7 @@ function K5(r) {
|
|
|
12900
12900
|
return a;
|
|
12901
12901
|
} else if (e === an) {
|
|
12902
12902
|
for (var a = [], i = 0, o = t.length; i < o; i++)
|
|
12903
|
-
a.push(
|
|
12903
|
+
a.push(z({}, t[i]));
|
|
12904
12904
|
return a;
|
|
12905
12905
|
}
|
|
12906
12906
|
}
|
|
@@ -13597,7 +13597,7 @@ function u3(r, e, t, n) {
|
|
|
13597
13597
|
C(s, function(p, g) {
|
|
13598
13598
|
var m = e.valueFormatter, y = PI(p)(
|
|
13599
13599
|
// Inherit valueFormatter
|
|
13600
|
-
m ?
|
|
13600
|
+
m ? z(z({}, r), {
|
|
13601
13601
|
valueFormatter: m
|
|
13602
13602
|
}) : r,
|
|
13603
13603
|
p,
|
|
@@ -13692,8 +13692,8 @@ var Bv = (
|
|
|
13692
13692
|
}, r.prototype.wrapRichTextStyle = function(e, t) {
|
|
13693
13693
|
var n = {};
|
|
13694
13694
|
$(t) ? C(t, function(i) {
|
|
13695
|
-
return
|
|
13696
|
-
}) :
|
|
13695
|
+
return z(n, i);
|
|
13696
|
+
}) : z(n, t);
|
|
13697
13697
|
var a = this._generateStyleName();
|
|
13698
13698
|
return this.richTextStyles[a] = n, "{" + a + "|" + e + "}";
|
|
13699
13699
|
}, r;
|
|
@@ -14152,7 +14152,7 @@ var C3 = {
|
|
|
14152
14152
|
if (t.setVisual("style", o), t.setVisual("drawType", l), !e.isSeriesFiltered(r) && c)
|
|
14153
14153
|
return t.setVisual("colorFromPalette", !1), {
|
|
14154
14154
|
dataEach: function(d, v) {
|
|
14155
|
-
var p = r.getDataParams(v), g =
|
|
14155
|
+
var p = r.getDataParams(v), g = z({}, o);
|
|
14156
14156
|
g[l] = c(p), d.setItemVisual(v, "style", g);
|
|
14157
14157
|
}
|
|
14158
14158
|
};
|
|
@@ -14169,7 +14169,7 @@ var C3 = {
|
|
|
14169
14169
|
if (l && l[n]) {
|
|
14170
14170
|
hl.option = l[n];
|
|
14171
14171
|
var u = a(hl), c = o.ensureUniqueItemVisual(s, "style");
|
|
14172
|
-
|
|
14172
|
+
z(c, u), hl.option.decal && (o.setItemVisual(s, "decal", hl.option.decal), hl.option.decal.dirty = !0), i in u && o.setItemVisual(s, "colorFromPalette", !1);
|
|
14173
14173
|
}
|
|
14174
14174
|
} : null
|
|
14175
14175
|
};
|
|
@@ -14744,7 +14744,7 @@ var G3 = (
|
|
|
14744
14744
|
var s = Km[o], l = r.get(s);
|
|
14745
14745
|
se(l) ? (i = !0, a[s] = l) : n[s] = l;
|
|
14746
14746
|
}
|
|
14747
|
-
if (n.symbol = n.symbol || r.defaultSymbol, t.setVisual(
|
|
14747
|
+
if (n.symbol = n.symbol || r.defaultSymbol, t.setVisual(z({
|
|
14748
14748
|
legendIcon: r.legendIcon || n.symbol,
|
|
14749
14749
|
symbolKeepAspect: r.get("symbolKeepAspect")
|
|
14750
14750
|
}, n)), e.isSeriesFiltered(r))
|
|
@@ -14841,7 +14841,7 @@ function jI(r, e) {
|
|
|
14841
14841
|
}
|
|
14842
14842
|
C([[r + "ToggleSelect", "toggleSelect"], [r + "Select", "select"], [r + "UnSelect", "unselect"]], function(n) {
|
|
14843
14843
|
e(n[0], function(a, i, o) {
|
|
14844
|
-
a =
|
|
14844
|
+
a = z({}, a), QI.NODE_ENV !== "production" && wt(a.type, n[1]), o.dispatchAction(z(a, {
|
|
14845
14845
|
type: n[1],
|
|
14846
14846
|
seriesIndex: t(i, a)
|
|
14847
14847
|
}));
|
|
@@ -14861,7 +14861,7 @@ function Ho(r, e, t, n, a) {
|
|
|
14861
14861
|
type: i,
|
|
14862
14862
|
seriesId: o.id,
|
|
14863
14863
|
name: $(h) ? f.getName(h[0]) : f.getName(h),
|
|
14864
|
-
selected: Q(l) ? l :
|
|
14864
|
+
selected: Q(l) ? l : z({}, l)
|
|
14865
14865
|
});
|
|
14866
14866
|
}
|
|
14867
14867
|
}));
|
|
@@ -15773,7 +15773,7 @@ var Uo, $v, Bc, Ca, Hv, Uv, Wv, dl, vl, n1, a1, Yv, i1, Vc, o1, vL, Or, s1, pL =
|
|
|
15773
15773
|
var g = p.dataModel || o.getSeriesByIndex(p.seriesIndex);
|
|
15774
15774
|
return l = g && g.getDataParams(p.dataIndex, p.dataType, s) || {}, !0;
|
|
15775
15775
|
} else if (p.eventData)
|
|
15776
|
-
return l =
|
|
15776
|
+
return l = z({}, p.eventData), !0;
|
|
15777
15777
|
}, !0), l) {
|
|
15778
15778
|
var c = l.componentType, f = l.componentIndex;
|
|
15779
15779
|
(c === "markLine" || c === "markPoint" || c === "markArea") && (c = "series", f = l.seriesIndex);
|
|
@@ -15837,7 +15837,7 @@ var Uo, $v, Bc, Ca, Hv, Uv, Wv, dl, vl, n1, a1, Yv, i1, Vc, o1, vL, Or, s1, pL =
|
|
|
15837
15837
|
try {
|
|
15838
15838
|
a && Uo(this), Ca.update.call(this, {
|
|
15839
15839
|
type: "resize",
|
|
15840
|
-
animation:
|
|
15840
|
+
animation: z({
|
|
15841
15841
|
// Disable animation
|
|
15842
15842
|
duration: 0
|
|
15843
15843
|
}, t && t.animation)
|
|
@@ -15865,7 +15865,7 @@ var Uo, $v, Bc, Ca, Hv, Uv, Wv, dl, vl, n1, a1, Yv, i1, Vc, o1, vL, Or, s1, pL =
|
|
|
15865
15865
|
}
|
|
15866
15866
|
this._loadingFX && this._zr.remove(this._loadingFX), this._loadingFX = null;
|
|
15867
15867
|
}, e.prototype.makeActionFromEvent = function(t) {
|
|
15868
|
-
var n =
|
|
15868
|
+
var n = z({}, t);
|
|
15869
15869
|
return n.type = ru[t.type], n;
|
|
15870
15870
|
}, e.prototype.dispatchAction = function(t, n) {
|
|
15871
15871
|
if (this._disposed) {
|
|
@@ -16062,11 +16062,11 @@ var Uo, $v, Bc, Ca, Hv, Uv, Wv, dl, vl, n1, a1, Yv, i1, Vc, o1, vL, Or, s1, pL =
|
|
|
16062
16062
|
this[jt] = !0;
|
|
16063
16063
|
var w = [f], S = !1;
|
|
16064
16064
|
f.batch && (S = !0, w = H(f.batch, function(k) {
|
|
16065
|
-
return k = ce(
|
|
16065
|
+
return k = ce(z({}, k), f), k.batch = null, k;
|
|
16066
16066
|
}));
|
|
16067
16067
|
var T = [], E, D = Pm(f), A = Gx(f);
|
|
16068
16068
|
if (A && AM(this._api), C(w, function(k) {
|
|
16069
|
-
if (E = m.action(k, d._model, d._api), E = E ||
|
|
16069
|
+
if (E = m.action(k, d._model, d._api), E = E || z({}, k), E.type = y.event || E.type, T.push(E), A) {
|
|
16070
16070
|
var N = x0(f), L = N.queryOptionMap, R = N.mainTypeSpecified, O = R ? L.keys()[0] : "series";
|
|
16071
16071
|
Bc(d, b, k, O), Or(d);
|
|
16072
16072
|
} else D ? (Bc(d, b, k, "series"), Or(d)) : x && Bc(d, b, k, x.main, x.sub);
|
|
@@ -16170,7 +16170,7 @@ var Uo, $v, Bc, Ca, Hv, Uv, Wv, dl, vl, n1, a1, Yv, i1, Vc, o1, vL, Or, s1, pL =
|
|
|
16170
16170
|
});
|
|
16171
16171
|
}, Vc = function(f, h, d, v, p, g) {
|
|
16172
16172
|
var m = f._scheduler;
|
|
16173
|
-
p =
|
|
16173
|
+
p = z(p || {}, {
|
|
16174
16174
|
updatedSeries: h.getSeries()
|
|
16175
16175
|
}), fn.trigger("series:beforeupdate", h, d, p);
|
|
16176
16176
|
var y = !1;
|
|
@@ -16640,7 +16640,7 @@ var kf = (
|
|
|
16640
16640
|
/** @class */
|
|
16641
16641
|
/* @__PURE__ */ function() {
|
|
16642
16642
|
function r(e) {
|
|
16643
|
-
this.otherDims = {}, e != null &&
|
|
16643
|
+
this.otherDims = {}, e != null && z(this, e);
|
|
16644
16644
|
}
|
|
16645
16645
|
return r;
|
|
16646
16646
|
}()
|
|
@@ -16851,7 +16851,7 @@ var zc = {}, gl = le, Aa = H, KG = typeof Int32Array > "u" ? Array : Int32Array,
|
|
|
16851
16851
|
}, r.prototype.getCalculationInfo = function(e) {
|
|
16852
16852
|
return this._calculationInfo[e];
|
|
16853
16853
|
}, r.prototype.setCalculationInfo = function(e, t) {
|
|
16854
|
-
gl(e) ?
|
|
16854
|
+
gl(e) ? z(this._calculationInfo, e) : this._calculationInfo[e] = t;
|
|
16855
16855
|
}, r.prototype.getName = function(e) {
|
|
16856
16856
|
var t = this.getRawIndex(e), n = this._nameList[t];
|
|
16857
16857
|
return n == null && this._nameDimIdx != null && (n = ml(this, this._nameDimIdx, t)), n == null && (n = ""), n;
|
|
@@ -16961,7 +16961,7 @@ var zc = {}, gl = le, Aa = H, KG = typeof Int32Array > "u" ? Array : Int32Array,
|
|
|
16961
16961
|
var t = this._visual;
|
|
16962
16962
|
return t && t[e];
|
|
16963
16963
|
}, r.prototype.setVisual = function(e, t) {
|
|
16964
|
-
this._visual = this._visual || {}, gl(e) ?
|
|
16964
|
+
this._visual = this._visual || {}, gl(e) ? z(this._visual, e) : this._visual[e] = t;
|
|
16965
16965
|
}, r.prototype.getItemVisual = function(e, t) {
|
|
16966
16966
|
var n = this._itemVisuals[e], a = n && n[t];
|
|
16967
16967
|
return a ?? this.getVisual(t);
|
|
@@ -16971,20 +16971,20 @@ var zc = {}, gl = le, Aa = H, KG = typeof Int32Array > "u" ? Array : Int32Array,
|
|
|
16971
16971
|
var n = this._itemVisuals, a = n[e];
|
|
16972
16972
|
a || (a = n[e] = {});
|
|
16973
16973
|
var i = a[t];
|
|
16974
|
-
return i == null && (i = this.getVisual(t), $(i) ? i = i.slice() : gl(i) && (i =
|
|
16974
|
+
return i == null && (i = this.getVisual(t), $(i) ? i = i.slice() : gl(i) && (i = z({}, i)), a[t] = i), i;
|
|
16975
16975
|
}, r.prototype.setItemVisual = function(e, t, n) {
|
|
16976
16976
|
var a = this._itemVisuals[e] || {};
|
|
16977
|
-
this._itemVisuals[e] = a, gl(t) ?
|
|
16977
|
+
this._itemVisuals[e] = a, gl(t) ? z(a, t) : a[t] = n;
|
|
16978
16978
|
}, r.prototype.clearAllVisual = function() {
|
|
16979
16979
|
this._visual = {}, this._itemVisuals = [];
|
|
16980
16980
|
}, r.prototype.setLayout = function(e, t) {
|
|
16981
|
-
gl(e) ?
|
|
16981
|
+
gl(e) ? z(this._layout, e) : this._layout[e] = t;
|
|
16982
16982
|
}, r.prototype.getLayout = function(e) {
|
|
16983
16983
|
return this._layout[e];
|
|
16984
16984
|
}, r.prototype.getItemLayout = function(e) {
|
|
16985
16985
|
return this._itemLayouts[e];
|
|
16986
16986
|
}, r.prototype.setItemLayout = function(e, t, n) {
|
|
16987
|
-
this._itemLayouts[e] = n ?
|
|
16987
|
+
this._itemLayouts[e] = n ? z(this._itemLayouts[e] || {}, t) : t;
|
|
16988
16988
|
}, r.prototype.clearItemLayouts = function() {
|
|
16989
16989
|
this._itemLayouts.length = 0;
|
|
16990
16990
|
}, r.prototype.setItemGraphicEl = function(e, t) {
|
|
@@ -17032,7 +17032,7 @@ var zc = {}, gl = le, Aa = H, KG = typeof Int32Array > "u" ? Array : Int32Array,
|
|
|
17032
17032
|
t.hasOwnProperty(n) && (e[n] = t[n]);
|
|
17033
17033
|
}), e.__wrappedMethods = t.__wrappedMethods, C(JG, function(n) {
|
|
17034
17034
|
e[n] = de(t[n]);
|
|
17035
|
-
}), e._calculationInfo =
|
|
17035
|
+
}), e._calculationInfo = z({}, t._calculationInfo);
|
|
17036
17036
|
}, Xv = function(e, t) {
|
|
17037
17037
|
var n = e._nameList, a = e._idList, i = e._nameDimIdx, o = e._idDimIdx, s = n[t], l = a[t];
|
|
17038
17038
|
if (s == null && i != null && (n[t] = s = ml(e, i, t)), l == null && o != null && (a[t] = l = ml(e, o, t)), l == null && s != null) {
|
|
@@ -17084,7 +17084,7 @@ function Ku(r, e) {
|
|
|
17084
17084
|
else {
|
|
17085
17085
|
I = E, D = I.name;
|
|
17086
17086
|
var k = I.ordinalMeta;
|
|
17087
|
-
I.ordinalMeta = null, I =
|
|
17087
|
+
I.ordinalMeta = null, I = z({}, I), I.ordinalMeta = k, A = I.dimsDef, M = I.otherDims, I.name = I.coordDim = I.coordDimIndex = I.dimsDef = I.otherDims = null;
|
|
17088
17088
|
}
|
|
17089
17089
|
var N = f.get(D);
|
|
17090
17090
|
if (N !== !1) {
|
|
@@ -19553,8 +19553,8 @@ var C1 = {
|
|
|
19553
19553
|
circularInOut: "0.85,0,0.15,1"
|
|
19554
19554
|
}, Oi = "transform-origin";
|
|
19555
19555
|
function A4(r, e, t) {
|
|
19556
|
-
var n =
|
|
19557
|
-
|
|
19556
|
+
var n = z({}, r.shape);
|
|
19557
|
+
z(n, e), r.buildPath(t, n);
|
|
19558
19558
|
var a = new ak();
|
|
19559
19559
|
return a.reset(HA(r)), t.rebuildPath(a, 1), a.generateStr(), a.getStr();
|
|
19560
19560
|
}
|
|
@@ -19636,7 +19636,7 @@ function Ld(r, e, t, n) {
|
|
|
19636
19636
|
}
|
|
19637
19637
|
for (var I in x) {
|
|
19638
19638
|
var k = {};
|
|
19639
|
-
qA(k, r),
|
|
19639
|
+
qA(k, r), z(k, x[I]);
|
|
19640
19640
|
var N = UA(k), L = x[I][T];
|
|
19641
19641
|
S[I] = N ? {
|
|
19642
19642
|
transform: N
|
|
@@ -20033,7 +20033,7 @@ function Z4(r, e) {
|
|
|
20033
20033
|
}
|
|
20034
20034
|
var q4 = {}, X4 = 0, K4 = function() {
|
|
20035
20035
|
function r(e, t, n) {
|
|
20036
|
-
if (this.type = "svg", this.refreshHover = V1("refreshHover"), this.configLayer = V1("configLayer"), this.storage = t, this._opts = n =
|
|
20036
|
+
if (this.type = "svg", this.refreshHover = V1("refreshHover"), this.configLayer = V1("configLayer"), this.storage = t, this._opts = n = z({}, n), this.root = e, this._id = "zr" + X4++, this._oldVNode = D1(n.width, n.height), e && !n.ssr) {
|
|
20037
20037
|
var a = this._viewport = document.createElement("div");
|
|
20038
20038
|
a.style.cssText = "position:relative;overflow:hidden";
|
|
20039
20039
|
var i = this._svgDom = this._oldVNode.elm = sk("svg");
|
|
@@ -20317,7 +20317,7 @@ var rH = function() {
|
|
|
20317
20317
|
function r(e, t, n, a) {
|
|
20318
20318
|
this.type = "canvas", this._zlevelList = [], this._prevDisplayList = [], this._layers = {}, this._layerConfig = {}, this._needsManuallyCompositing = !1, this.type = "canvas";
|
|
20319
20319
|
var i = !e.nodeName || e.nodeName.toUpperCase() === "CANVAS";
|
|
20320
|
-
this._opts = n =
|
|
20320
|
+
this._opts = n = z({}, n || {}), this.dpr = n.devicePixelRatio || jf, this._singleCanvas = i, this.root = e;
|
|
20321
20321
|
var o = e.style;
|
|
20322
20322
|
o && (TA(e), e.innerHTML = ""), this.storage = t;
|
|
20323
20323
|
var s = this._zlevelList;
|
|
@@ -20778,7 +20778,7 @@ var ju = (
|
|
|
20778
20778
|
var w = t.getItemVisual(n, "style"), S = w.fill;
|
|
20779
20779
|
if (s instanceof Gt) {
|
|
20780
20780
|
var T = s.style;
|
|
20781
|
-
s.useStyle(
|
|
20781
|
+
s.useStyle(z({
|
|
20782
20782
|
// TODO other properties like x, y ?
|
|
20783
20783
|
image: T.image,
|
|
20784
20784
|
x: T.x,
|
|
@@ -20787,7 +20787,7 @@ var ju = (
|
|
|
20787
20787
|
height: T.height
|
|
20788
20788
|
}, w));
|
|
20789
20789
|
} else
|
|
20790
|
-
s.__isEmptyBrush ? s.useStyle(
|
|
20790
|
+
s.__isEmptyBrush ? s.useStyle(z({}, w)) : s.useStyle(w), s.style.decal = null, s.setColor(S, o && o.symbolInnerColor), s.style.strokeNoScale = !0;
|
|
20791
20791
|
var E = t.getItemVisual(n, "liftZ"), D = this._z2;
|
|
20792
20792
|
E != null ? D == null && (this._z2 = s.z2, s.z2 += E) : D != null && (s.z2 = D, this._z2 = null);
|
|
20793
20793
|
var A = o && o.useNameLabel;
|
|
@@ -22293,7 +22293,7 @@ var IH = (
|
|
|
22293
22293
|
}, K1 = {
|
|
22294
22294
|
cartesian2d: function(r, e, t, n, a, i, o, s, l) {
|
|
22295
22295
|
var u = new Be({
|
|
22296
|
-
shape:
|
|
22296
|
+
shape: z({}, n),
|
|
22297
22297
|
z2: 1
|
|
22298
22298
|
});
|
|
22299
22299
|
if (u.__dataIndex = t, u.name = "item", i) {
|
|
@@ -22413,7 +22413,7 @@ function eS(r, e, t, n, a, i, o, s) {
|
|
|
22413
22413
|
if (s) {
|
|
22414
22414
|
if (!i.get("roundCap")) {
|
|
22415
22415
|
var c = r.shape, f = Ji(n.getModel("itemStyle"), c, !0);
|
|
22416
|
-
|
|
22416
|
+
z(c, f), r.setShape(c);
|
|
22417
22417
|
}
|
|
22418
22418
|
} else {
|
|
22419
22419
|
var u = n.get(["itemStyle", "borderRadius"]) || 0;
|
|
@@ -22862,7 +22862,7 @@ var UH = (
|
|
|
22862
22862
|
return i.setTextContent(o), i.updateData(t, n, a, !0), i;
|
|
22863
22863
|
}
|
|
22864
22864
|
return e.prototype.updateData = function(t, n, a, i) {
|
|
22865
|
-
var o = this, s = t.hostModel, l = t.getItemModel(n), u = l.getModel("emphasis"), c = t.getItemLayout(n), f =
|
|
22865
|
+
var o = this, s = t.hostModel, l = t.getItemModel(n), u = l.getModel("emphasis"), c = t.getItemLayout(n), f = z(Ji(l.getModel("itemStyle"), c, !0), c);
|
|
22866
22866
|
if (isNaN(f.startAngle)) {
|
|
22867
22867
|
o.setShape(f);
|
|
22868
22868
|
return;
|
|
@@ -22899,20 +22899,20 @@ var UH = (
|
|
|
22899
22899
|
}, s, n);
|
|
22900
22900
|
o.useStyle(t.getItemVisual(n, "style")), Xt(o, l);
|
|
22901
22901
|
var d = (c.startAngle + c.endAngle) / 2, v = s.get("selectedOffset"), p = Math.cos(d) * v, g = Math.sin(d) * v, m = l.getShallow("cursor");
|
|
22902
|
-
m && o.attr("cursor", m), this._updateLabel(s, t, n), o.ensureState("emphasis").shape =
|
|
22902
|
+
m && o.attr("cursor", m), this._updateLabel(s, t, n), o.ensureState("emphasis").shape = z({
|
|
22903
22903
|
r: c.r + (u.get("scale") && u.get("scaleSize") || 0)
|
|
22904
|
-
}, Ji(u.getModel("itemStyle"), c)),
|
|
22904
|
+
}, Ji(u.getModel("itemStyle"), c)), z(o.ensureState("select"), {
|
|
22905
22905
|
x: p,
|
|
22906
22906
|
y: g,
|
|
22907
22907
|
shape: Ji(l.getModel(["select", "itemStyle"]), c)
|
|
22908
|
-
}),
|
|
22908
|
+
}), z(o.ensureState("blur"), {
|
|
22909
22909
|
shape: Ji(l.getModel(["blur", "itemStyle"]), c)
|
|
22910
22910
|
});
|
|
22911
22911
|
var y = o.getTextGuideLine(), _ = o.getTextContent();
|
|
22912
|
-
y &&
|
|
22912
|
+
y && z(y.ensureState("select"), {
|
|
22913
22913
|
x: p,
|
|
22914
22914
|
y: g
|
|
22915
|
-
}),
|
|
22915
|
+
}), z(_.ensureState("select"), {
|
|
22916
22916
|
x: p,
|
|
22917
22917
|
y: g
|
|
22918
22918
|
}), pt(this, u.get("focus"), u.get("blurScope"), u.get("disabled"));
|
|
@@ -22962,7 +22962,7 @@ var UH = (
|
|
|
22962
22962
|
}
|
|
22963
22963
|
if (this._emptyCircleSector && l.remove(this._emptyCircleSector), o.count() === 0 && t.get("showEmptyCircle")) {
|
|
22964
22964
|
var h = kk(t), d = new gr({
|
|
22965
|
-
shape:
|
|
22965
|
+
shape: z(Lk(t, a), h)
|
|
22966
22966
|
});
|
|
22967
22967
|
d.useStyle(t.getModel("emptyCircleStyle").getItemStyle()), this._emptyCircleSector = d, l.add(d);
|
|
22968
22968
|
}
|
|
@@ -22989,7 +22989,7 @@ var UH = (
|
|
|
22989
22989
|
function Xs(r, e, t) {
|
|
22990
22990
|
e = $(e) && {
|
|
22991
22991
|
coordDimensions: e
|
|
22992
|
-
} ||
|
|
22992
|
+
} || z({
|
|
22993
22993
|
encodeDefine: r.getEncode()
|
|
22994
22994
|
}, e);
|
|
22995
22995
|
var n = r.getSource(), a = Ku(n, e).dimensions, i = new fr(a, r);
|
|
@@ -24078,7 +24078,7 @@ var $a = Math.PI, hr = (
|
|
|
24078
24078
|
if (a === "auto" && r.handleAutoShown && (a = r.handleAutoShown("axisLine")), !!a) {
|
|
24079
24079
|
var i = e.axis.getExtent(), o = n.transform, s = [i[0], 0], l = [i[1], 0], u = s[0] > l[0];
|
|
24080
24080
|
o && (Zt(s, s, o), Zt(l, l, o));
|
|
24081
|
-
var c =
|
|
24081
|
+
var c = z({
|
|
24082
24082
|
lineCap: "round"
|
|
24083
24083
|
}, e.getModel(["axisLine", "lineStyle"]).getLineStyle()), f = new Ot({
|
|
24084
24084
|
shape: {
|
|
@@ -24523,7 +24523,7 @@ var CU = ["axisLine", "axisTickLabel", "axisName"], AU = ["splitArea", "splitLin
|
|
|
24523
24523
|
this.group.removeAll();
|
|
24524
24524
|
var o = this._axisGroup;
|
|
24525
24525
|
if (this._axisGroup = new ve(), this.group.add(this._axisGroup), !!t.get("show")) {
|
|
24526
|
-
var s = t.getCoordSysModel(), l = hy(s, t), u = new hr(t,
|
|
24526
|
+
var s = t.getCoordSysModel(), l = hy(s, t), u = new hr(t, z({
|
|
24527
24527
|
handleAutoShown: function(f) {
|
|
24528
24528
|
for (var h = s.coordinateSystem.getCartesians(), d = 0; d < h.length; d++)
|
|
24529
24529
|
if (ny(h[d].getOtherAxis(t.axis).scale))
|
|
@@ -24769,7 +24769,7 @@ var OU = (
|
|
|
24769
24769
|
m.eachChild(function(T) {
|
|
24770
24770
|
if (T instanceof Gt) {
|
|
24771
24771
|
var E = T.style;
|
|
24772
|
-
T.useStyle(
|
|
24772
|
+
T.useStyle(z({
|
|
24773
24773
|
// TODO other properties like x, y ?
|
|
24774
24774
|
image: E.image,
|
|
24775
24775
|
x: E.x,
|
|
@@ -26101,7 +26101,7 @@ var Xk = (
|
|
|
26101
26101
|
return u[s + "Id"] = e.id, u;
|
|
26102
26102
|
}
|
|
26103
26103
|
i.off("pan").on("pan", function(u) {
|
|
26104
|
-
this._mouseDownFlag = !1, S_(o, u.dx, u.dy), n.dispatchAction(
|
|
26104
|
+
this._mouseDownFlag = !1, S_(o, u.dx, u.dy), n.dispatchAction(z(l(), {
|
|
26105
26105
|
dx: u.dx,
|
|
26106
26106
|
dy: u.dy,
|
|
26107
26107
|
animation: {
|
|
@@ -26109,7 +26109,7 @@ var Xk = (
|
|
|
26109
26109
|
}
|
|
26110
26110
|
}));
|
|
26111
26111
|
}, this), i.off("zoom").on("zoom", function(u) {
|
|
26112
|
-
this._mouseDownFlag = !1, T_(o, u.scale, u.originX, u.originY), n.dispatchAction(
|
|
26112
|
+
this._mouseDownFlag = !1, T_(o, u.scale, u.originX, u.originY), n.dispatchAction(z(l(), {
|
|
26113
26113
|
totalZoom: o.zoom,
|
|
26114
26114
|
zoom: u.scale,
|
|
26115
26115
|
originX: u.originX,
|
|
@@ -26692,7 +26692,7 @@ var AW = (
|
|
|
26692
26692
|
};
|
|
26693
26693
|
}
|
|
26694
26694
|
e.eachComponent("geo", function(o, s) {
|
|
26695
|
-
var l = o.get("map"), u = new gy(l + s, l,
|
|
26695
|
+
var l = o.get("map"), u = new gy(l + s, l, z({
|
|
26696
26696
|
nameMap: o.get("nameMap")
|
|
26697
26697
|
}, a(o)));
|
|
26698
26698
|
u.zoomLimit = o.get("scaleLimit"), n.push(u), o.coordinateSystem = u, u.model = o, u.resize = FS, u.resize(o, t);
|
|
@@ -26712,7 +26712,7 @@ var AW = (
|
|
|
26712
26712
|
}), C(i, function(o, s) {
|
|
26713
26713
|
var l = H(o, function(c) {
|
|
26714
26714
|
return c.get("nameMap");
|
|
26715
|
-
}), u = new gy(s, s,
|
|
26715
|
+
}), u = new gy(s, s, z({
|
|
26716
26716
|
nameMap: l0(l)
|
|
26717
26717
|
}, a(o[0])));
|
|
26718
26718
|
u.zoomLimit = St.apply(null, H(o, function(c) {
|
|
@@ -27383,7 +27383,7 @@ function eN(r) {
|
|
|
27383
27383
|
}
|
|
27384
27384
|
function ZW(r, e) {
|
|
27385
27385
|
if (jW(this)) {
|
|
27386
|
-
var t =
|
|
27386
|
+
var t = z({}, Jr(this).datas);
|
|
27387
27387
|
t[this.dataType] = e, tN(e, t, r);
|
|
27388
27388
|
} else
|
|
27389
27389
|
C_(e, this.dataType, Jr(this).mainData, r);
|
|
@@ -27766,7 +27766,7 @@ function i6(r) {
|
|
|
27766
27766
|
var t = e.getData(), n = t.tree;
|
|
27767
27767
|
n.eachNode(function(a) {
|
|
27768
27768
|
var i = a.getModel(), o = i.getModel("itemStyle").getItemStyle(), s = t.ensureUniqueItemVisual(a.dataIndex, "style");
|
|
27769
|
-
|
|
27769
|
+
z(s, o);
|
|
27770
27770
|
});
|
|
27771
27771
|
});
|
|
27772
27772
|
}
|
|
@@ -27880,7 +27880,7 @@ var u6 = (
|
|
|
27880
27880
|
var n = r.prototype.getDataParams.apply(this, arguments), a = this.getData().tree.getNodeByDataIndex(t);
|
|
27881
27881
|
return n.treeAncestors = Rd(a, this), n.treePathInfo = n.treeAncestors, n;
|
|
27882
27882
|
}, e.prototype.setLayoutInfo = function(t) {
|
|
27883
|
-
this.layoutInfo = this.layoutInfo || {},
|
|
27883
|
+
this.layoutInfo = this.layoutInfo || {}, z(this.layoutInfo, t);
|
|
27884
27884
|
}, e.prototype.mapIdToIndex = function(t) {
|
|
27885
27885
|
var n = this._idIndexMap;
|
|
27886
27886
|
n || (n = this._idIndexMap = ie(), this._idIndexMapCount = 0);
|
|
@@ -28288,7 +28288,7 @@ var yy = ve, XS = Be, KS = 3, QS = "label", jS = "upperLabel", m6 = Bs * 10, y6
|
|
|
28288
28288
|
}), C(this._storage, function(f, h) {
|
|
28289
28289
|
C(f, function(d, v) {
|
|
28290
28290
|
var p = n.lastsForAnimation[h][v], g = {};
|
|
28291
|
-
p && (d instanceof ve ? p.oldX != null && (g.x = d.x, g.y = d.y, d.x = p.oldX, d.y = p.oldY) : (p.oldShape && (g.shape =
|
|
28291
|
+
p && (d instanceof ve ? p.oldX != null && (g.x = d.x, g.y = d.y, d.x = p.oldX, d.y = p.oldY) : (p.oldShape && (g.shape = z({}, d.shape), d.setShape(p.oldShape)), p.fadein ? (d.setStyle("opacity", 0), g.style = {
|
|
28292
28292
|
opacity: 1
|
|
28293
28293
|
}) : d.style.opacity !== 1 && (g.style = {
|
|
28294
28294
|
opacity: 1
|
|
@@ -28567,7 +28567,7 @@ function x6(r, e, t, n, a, i, o, s, l, u) {
|
|
|
28567
28567
|
}
|
|
28568
28568
|
function Ie(ne, ee) {
|
|
28569
28569
|
var fe = ne[m] = {};
|
|
28570
|
-
ee instanceof yy ? (fe.oldX = ee.x, fe.oldY = ee.y) : fe.oldShape =
|
|
28570
|
+
ee instanceof yy ? (fe.oldX = ee.x, fe.oldY = ee.y) : fe.oldShape = z({}, ee.shape);
|
|
28571
28571
|
}
|
|
28572
28572
|
function Te(ne, ee) {
|
|
28573
28573
|
var fe = ne[m] = {}, X = o.parentNode, oe = ee instanceof ve;
|
|
@@ -28876,7 +28876,7 @@ function sN(r, e, t, n) {
|
|
|
28876
28876
|
}
|
|
28877
28877
|
}
|
|
28878
28878
|
function I6(r, e, t) {
|
|
28879
|
-
var n =
|
|
28879
|
+
var n = z({}, e), a = t.designatedVisualItemStyle;
|
|
28880
28880
|
return C(["color", "colorAlpha", "colorSaturation"], function(i) {
|
|
28881
28881
|
a[i] = e[i];
|
|
28882
28882
|
var o = r.get(i);
|
|
@@ -28923,7 +28923,7 @@ function Dp(r, e) {
|
|
|
28923
28923
|
} : null;
|
|
28924
28924
|
}
|
|
28925
28925
|
function N6(r, e, t, n, a, i) {
|
|
28926
|
-
var o =
|
|
28926
|
+
var o = z({}, e);
|
|
28927
28927
|
if (a) {
|
|
28928
28928
|
var s = a.type, l = s === "color" && oN(a).drColorMappingBy, u = l === "index" ? n : l === "id" ? i.mapIdToIndex(t.getId()) : t.getValue(r.get("visualDimension"));
|
|
28929
28929
|
o[s] = a.mapValueToVisual(u);
|
|
@@ -28956,7 +28956,7 @@ const B6 = {
|
|
|
28956
28956
|
};
|
|
28957
28957
|
p.setLayout(b), uN(p, _, !1, 0), b = p.getLayout(), I_(g, function(w, S) {
|
|
28958
28958
|
var T = (g[S + 1] || p).getValue();
|
|
28959
|
-
w.setLayout(
|
|
28959
|
+
w.setLayout(z({
|
|
28960
28960
|
dataExtent: [T, T],
|
|
28961
28961
|
borderWidth: 0,
|
|
28962
28962
|
upperHeight: 0
|
|
@@ -29178,7 +29178,7 @@ function Z6(r) {
|
|
|
29178
29178
|
if (l != null) {
|
|
29179
29179
|
Q(l) && (l = i["ec-" + l]);
|
|
29180
29180
|
var u = n.getItemVisual(l, "style"), c = a.ensureUniqueItemVisual(o, "style");
|
|
29181
|
-
|
|
29181
|
+
z(c, u);
|
|
29182
29182
|
for (var f = ["symbol", "symbolSize", "symbolKeepAspect"], h = 0; h < f.length; h++)
|
|
29183
29183
|
a.setItemVisual(o, f[h], n.getItemVisual(l, f[h]));
|
|
29184
29184
|
}
|
|
@@ -29193,7 +29193,7 @@ function q6(r) {
|
|
|
29193
29193
|
var t = e.getGraph(), n = e.getEdgeData(), a = rf(e.get("edgeSymbol")), i = rf(e.get("edgeSymbolSize"));
|
|
29194
29194
|
n.setVisual("fromSymbol", a && a[0]), n.setVisual("toSymbol", a && a[1]), n.setVisual("fromSymbolSize", i && i[0]), n.setVisual("toSymbolSize", i && i[1]), n.setVisual("style", e.getModel("lineStyle").getLineStyle()), n.each(function(o) {
|
|
29195
29195
|
var s = n.getItemModel(o), l = t.getEdgeByIndex(o), u = rf(s.getShallow("symbol", !0)), c = rf(s.getShallow("symbolSize", !0)), f = s.getModel("lineStyle").getLineStyle(), h = n.ensureUniqueItemVisual(o, "style");
|
|
29196
|
-
switch (
|
|
29196
|
+
switch (z(h, f), h.stroke) {
|
|
29197
29197
|
case "source": {
|
|
29198
29198
|
var d = l.node1.getVisual("style");
|
|
29199
29199
|
h.stroke = d && d.fill;
|
|
@@ -29379,7 +29379,7 @@ function pN(r, e, t, n) {
|
|
|
29379
29379
|
origin: "center"
|
|
29380
29380
|
});
|
|
29381
29381
|
var h = s.ensureState("emphasis");
|
|
29382
|
-
|
|
29382
|
+
z(h.textConfig || (h.textConfig = {}), {
|
|
29383
29383
|
position: f
|
|
29384
29384
|
});
|
|
29385
29385
|
} else
|
|
@@ -29514,7 +29514,7 @@ function n9(r) {
|
|
|
29514
29514
|
});
|
|
29515
29515
|
}
|
|
29516
29516
|
function a9(r, e, t) {
|
|
29517
|
-
var n =
|
|
29517
|
+
var n = z(r.getBoxLayoutParams(), {
|
|
29518
29518
|
aspect: t
|
|
29519
29519
|
});
|
|
29520
29520
|
return Lt(n, {
|
|
@@ -30337,7 +30337,7 @@ var h9 = (
|
|
|
30337
30337
|
return f;
|
|
30338
30338
|
}, e.prototype._updateCategoriesData = function() {
|
|
30339
30339
|
var t = H(this.option.categories || [], function(a) {
|
|
30340
|
-
return a.value != null ? a :
|
|
30340
|
+
return a.value != null ? a : z({
|
|
30341
30341
|
value: 0
|
|
30342
30342
|
}, a);
|
|
30343
30343
|
}), n = new fr(["value"], this);
|
|
@@ -30680,7 +30680,7 @@ var y9 = (
|
|
|
30680
30680
|
var L = y.getItemGraphicEl(D), R = y.getItemVisual(D, "style"), O = R.fill;
|
|
30681
30681
|
if (L instanceof Gt) {
|
|
30682
30682
|
var P = L.style;
|
|
30683
|
-
L.useStyle(
|
|
30683
|
+
L.useStyle(z({
|
|
30684
30684
|
image: P.image,
|
|
30685
30685
|
x: P.x,
|
|
30686
30686
|
y: P.y,
|
|
@@ -31377,7 +31377,7 @@ var H9 = 5, U9 = (
|
|
|
31377
31377
|
}, e.prototype._throttledDispatchExpand = function(t) {
|
|
31378
31378
|
this._dispatchExpand(t);
|
|
31379
31379
|
}, e.prototype._dispatchExpand = function(t) {
|
|
31380
|
-
t && this._api.dispatchAction(
|
|
31380
|
+
t && this._api.dispatchAction(z({
|
|
31381
31381
|
type: "parallelAxisExpand"
|
|
31382
31382
|
}, t));
|
|
31383
31383
|
}, e.type = "parallel", e;
|
|
@@ -32221,7 +32221,7 @@ var g8 = ["axisLine", "axisTickLabel", "axisName"], m8 = (
|
|
|
32221
32221
|
this.axisModel = t, this.api = a, this.group.removeAll();
|
|
32222
32222
|
var o = this._axisGroup;
|
|
32223
32223
|
if (this._axisGroup = new ve(), this.group.add(this._axisGroup), !!t.get("show")) {
|
|
32224
|
-
var s = b8(t, n), l = s.coordinateSystem, u = t.getAreaSelectStyle(), c = u.width, f = t.axis.dim, h = l.getAxisLayout(f), d =
|
|
32224
|
+
var s = b8(t, n), l = s.coordinateSystem, u = t.getAreaSelectStyle(), c = u.width, f = t.axis.dim, h = l.getAxisLayout(f), d = z({
|
|
32225
32225
|
strokeContainThreshold: c
|
|
32226
32226
|
}, h), v = new hr(t, d);
|
|
32227
32227
|
C(g8, v.add, v), this._axisGroup.add(v.getGroup()), this._refreshBrushController(d, u, t, s, c, a), Zu(o, this._axisGroup, t);
|
|
@@ -32924,7 +32924,7 @@ var zN = (
|
|
|
32924
32924
|
var m = [];
|
|
32925
32925
|
C(g, function(b, x) {
|
|
32926
32926
|
var w;
|
|
32927
|
-
$(b) ? (w = b.slice(), b.unshift(x)) : $(b.value) ? (w =
|
|
32927
|
+
$(b) ? (w = b.slice(), b.unshift(x)) : $(b.value) ? (w = z({}, b), w.value = w.value.slice(), b.value.unshift(x)) : w = b, m.push(w);
|
|
32928
32928
|
}), e.data = m;
|
|
32929
32929
|
}
|
|
32930
32930
|
var y = this.defaultValueDimensions, _ = [{
|
|
@@ -33213,7 +33213,7 @@ var v7 = {
|
|
|
33213
33213
|
var o = a.getItemModel(i), s = a.getItemLayout(i).sign, l = o.getItemStyle();
|
|
33214
33214
|
l.fill = H_(s, o), l.stroke = U_(s, o) || l.fill;
|
|
33215
33215
|
var u = a.ensureUniqueItemVisual(i, "style");
|
|
33216
|
-
|
|
33216
|
+
z(u, l);
|
|
33217
33217
|
}
|
|
33218
33218
|
}
|
|
33219
33219
|
};
|
|
@@ -34593,7 +34593,7 @@ function j7(r, e, t, n, a, i, o, s, l, u, c, f) {
|
|
|
34593
34593
|
A[h.index] = t[h.wh] / 2, A[d.index] = o === "start" ? D : o === "end" ? l - D : l / 2, i && (A[0] += i[0], A[1] += i[1]);
|
|
34594
34594
|
var M = f.bundlePosition = [];
|
|
34595
34595
|
M[h.index] = t[h.xy], M[d.index] = t[d.xy];
|
|
34596
|
-
var I = f.barRectShape =
|
|
34596
|
+
var I = f.barRectShape = z({}, t);
|
|
34597
34597
|
I[d.wh] = v * Math.max(Math.abs(t[d.wh]), Math.abs(A[d.index] + D)), I[h.wh] = t[h.wh];
|
|
34598
34598
|
var k = f.clipShape = {};
|
|
34599
34599
|
k[h.xy] = -t[h.xy], k[h.wh] = c.ecSize[h.wh], k[d.xy] = 0, k[d.wh] = t[d.wh];
|
|
@@ -34668,7 +34668,7 @@ function qN(r, e, t, n) {
|
|
|
34668
34668
|
}, t, n));
|
|
34669
34669
|
}
|
|
34670
34670
|
function XN(r, e, t) {
|
|
34671
|
-
var n =
|
|
34671
|
+
var n = z({}, e.barRectShape), a = r.__pictorialBarRect;
|
|
34672
34672
|
a ? _s(a, null, {
|
|
34673
34673
|
shape: n
|
|
34674
34674
|
}, e, t) : (a = r.__pictorialBarRect = new Be({
|
|
@@ -34684,7 +34684,7 @@ function XN(r, e, t) {
|
|
|
34684
34684
|
}
|
|
34685
34685
|
function KN(r, e, t, n) {
|
|
34686
34686
|
if (t.symbolClip) {
|
|
34687
|
-
var a = r.__pictorialClipPath, i =
|
|
34687
|
+
var a = r.__pictorialClipPath, i = z({}, t.clipShape), o = e.valueDim, s = t.animationModel, l = t.dataIndex;
|
|
34688
34688
|
if (a)
|
|
34689
34689
|
He(a, {
|
|
34690
34690
|
shape: i
|
|
@@ -34755,7 +34755,7 @@ function zT(r, e, t) {
|
|
|
34755
34755
|
W_(r, function(p) {
|
|
34756
34756
|
if (p instanceof Gt) {
|
|
34757
34757
|
var g = p.style;
|
|
34758
|
-
p.useStyle(
|
|
34758
|
+
p.useStyle(z({
|
|
34759
34759
|
// TODO other properties like dx, dy ?
|
|
34760
34760
|
image: g.image,
|
|
34761
34761
|
x: g.x,
|
|
@@ -35104,14 +35104,14 @@ var cY = 2, fY = 4, $T = (
|
|
|
35104
35104
|
this.node = n, n.piece = this, a = a || this._seriesModel, i = i || this._ecModel;
|
|
35105
35105
|
var s = this;
|
|
35106
35106
|
ge(s).dataIndex = n.dataIndex;
|
|
35107
|
-
var l = n.getModel(), u = l.getModel("emphasis"), c = n.getLayout(), f =
|
|
35107
|
+
var l = n.getModel(), u = l.getModel("emphasis"), c = n.getLayout(), f = z({}, c);
|
|
35108
35108
|
f.label = null;
|
|
35109
35109
|
var h = n.getVisual("style");
|
|
35110
35110
|
h.lineJoin = "bevel";
|
|
35111
35111
|
var d = n.getVisual("decal");
|
|
35112
35112
|
d && (h.decal = Ts(d, o));
|
|
35113
35113
|
var v = Ji(l.getModel("itemStyle"), f, !0);
|
|
35114
|
-
|
|
35114
|
+
z(f, v), C(pr, function(y) {
|
|
35115
35115
|
var _ = s.ensureState(y), b = l.getModel([y, "itemStyle"]);
|
|
35116
35116
|
_.style = b.getItemStyle();
|
|
35117
35117
|
var x = Ji(b, f);
|
|
@@ -35173,7 +35173,7 @@ function dY(r) {
|
|
|
35173
35173
|
type: UT,
|
|
35174
35174
|
update: "none"
|
|
35175
35175
|
}, function(e, t, n) {
|
|
35176
|
-
e =
|
|
35176
|
+
e = z({}, e), t.eachComponent({
|
|
35177
35177
|
mainType: "series",
|
|
35178
35178
|
subType: "sunburst",
|
|
35179
35179
|
query: e
|
|
@@ -35182,14 +35182,14 @@ function dY(r) {
|
|
|
35182
35182
|
var o = Cu(e, [UT], i);
|
|
35183
35183
|
o && (e.dataIndex = o.node.dataIndex);
|
|
35184
35184
|
}
|
|
35185
|
-
HT.NODE_ENV !== "production" && wt("sunburstHighlight", "highlight"), n.dispatchAction(
|
|
35185
|
+
HT.NODE_ENV !== "production" && wt("sunburstHighlight", "highlight"), n.dispatchAction(z(e, {
|
|
35186
35186
|
type: "highlight"
|
|
35187
35187
|
}));
|
|
35188
35188
|
}), r.registerAction({
|
|
35189
35189
|
type: hY,
|
|
35190
35190
|
update: "updateView"
|
|
35191
35191
|
}, function(e, t, n) {
|
|
35192
|
-
e =
|
|
35192
|
+
e = z({}, e), HT.NODE_ENV !== "production" && wt("sunburstUnhighlight", "downplay"), n.dispatchAction(z(e, {
|
|
35193
35193
|
type: "downplay"
|
|
35194
35194
|
}));
|
|
35195
35195
|
});
|
|
@@ -35501,7 +35501,7 @@ function yY(r) {
|
|
|
35501
35501
|
var s = o.getModel(), l = s.getModel("itemStyle").getItemStyle();
|
|
35502
35502
|
l.fill || (l.fill = t(o, n, i.root.height));
|
|
35503
35503
|
var u = a.ensureUniqueItemVisual(o.dataIndex, "style");
|
|
35504
|
-
|
|
35504
|
+
z(u, l);
|
|
35505
35505
|
});
|
|
35506
35506
|
});
|
|
35507
35507
|
}
|
|
@@ -35738,7 +35738,7 @@ function Y_(r, e, t, n, a) {
|
|
|
35738
35738
|
return o.duration > 0 && (o.during = s ? j(PY, {
|
|
35739
35739
|
el: e,
|
|
35740
35740
|
userDuring: s
|
|
35741
|
-
}) : null, o.setToFinal = !0, o.scope = r),
|
|
35741
|
+
}) : null, o.setToFinal = !0, o.scope = r), z(o, t[i]), o;
|
|
35742
35742
|
}
|
|
35743
35743
|
function Of(r, e, t, n) {
|
|
35744
35744
|
n = n || {};
|
|
@@ -35750,7 +35750,7 @@ function Of(r, e, t, n) {
|
|
|
35750
35750
|
var h = {};
|
|
35751
35751
|
C(Ih, function(v) {
|
|
35752
35752
|
var p = v ? e[v] : e;
|
|
35753
|
-
p && p.enterFrom && (v && (h[v] = h[v] || {}),
|
|
35753
|
+
p && p.enterFrom && (v && (h[v] = h[v] || {}), z(v ? h[v] : h, p.enterFrom));
|
|
35754
35754
|
});
|
|
35755
35755
|
var d = Y_("enter", r, e, t, a);
|
|
35756
35756
|
d.duration > 0 && r.animateFrom(h, d);
|
|
@@ -35761,7 +35761,7 @@ function Of(r, e, t, n) {
|
|
|
35761
35761
|
function n2(r, e) {
|
|
35762
35762
|
for (var t = Ms(r).leaveToProps, n = 0; n < Ih.length; n++) {
|
|
35763
35763
|
var a = Ih[n], i = a ? e[a] : e;
|
|
35764
|
-
i && i.leaveTo && (t || (t = Ms(r).leaveToProps = {}), a && (t[a] = t[a] || {}),
|
|
35764
|
+
i && i.leaveTo && (t || (t = Ms(r).leaveToProps = {}), a && (t[a] = t[a] || {}), z(a ? t[a] : t, i.leaveTo));
|
|
35765
35765
|
}
|
|
35766
35766
|
}
|
|
35767
35767
|
function Bd(r, e, t, n) {
|
|
@@ -35867,7 +35867,7 @@ function eE(r, e, t, n) {
|
|
|
35867
35867
|
var s = t.transition, l = a.transition;
|
|
35868
35868
|
if (l)
|
|
35869
35869
|
if (!o && (o = n[r] = {}), lo(l))
|
|
35870
|
-
|
|
35870
|
+
z(o, i);
|
|
35871
35871
|
else
|
|
35872
35872
|
for (var u = Qe(l), c = 0; c < u.length; c++) {
|
|
35873
35873
|
var f = u[c], h = i[f];
|
|
@@ -36972,7 +36972,7 @@ function mE(r, e, t, n, a) {
|
|
|
36972
36972
|
return;
|
|
36973
36973
|
}
|
|
36974
36974
|
var o = vZ(e, r), s = o.payloadBatch, l = o.snapToValue;
|
|
36975
|
-
s[0] && a.seriesIndex == null &&
|
|
36975
|
+
s[0] && a.seriesIndex == null && z(a, s[0]), !n && r.snap && i.containData(l) && l != null && (e = l), t.showPointer(r, e, s), t.showTooltip(r, o, l);
|
|
36976
36976
|
}
|
|
36977
36977
|
}
|
|
36978
36978
|
function vZ(r, e) {
|
|
@@ -38381,7 +38381,7 @@ var uq = (
|
|
|
38381
38381
|
nameMap: x
|
|
38382
38382
|
}, S = this._formatterLabel(b, w), T = new Fe({
|
|
38383
38383
|
z2: 30,
|
|
38384
|
-
style:
|
|
38384
|
+
style: z(at(o, {
|
|
38385
38385
|
text: S
|
|
38386
38386
|
}), this._monthTextPositionControl(m, v, a, u, l)),
|
|
38387
38387
|
silent: p
|
|
@@ -38415,7 +38415,7 @@ var uq = (
|
|
|
38415
38415
|
b = Math.abs((m + h) % 7);
|
|
38416
38416
|
var x = new Fe({
|
|
38417
38417
|
z2: 30,
|
|
38418
|
-
style:
|
|
38418
|
+
style: z(at(s, {
|
|
38419
38419
|
text: c[b]
|
|
38420
38420
|
}), this._weekTextPositionControl(_, i, u, f, p)),
|
|
38421
38421
|
silent: g
|
|
@@ -38596,7 +38596,7 @@ function DE(r, e) {
|
|
|
38596
38596
|
}), t;
|
|
38597
38597
|
}
|
|
38598
38598
|
function vq(r, e, t) {
|
|
38599
|
-
var n =
|
|
38599
|
+
var n = z({}, t), a = r[e], i = t.$action || "merge";
|
|
38600
38600
|
if (i === "merge")
|
|
38601
38601
|
if (a) {
|
|
38602
38602
|
if (x2.NODE_ENV !== "production") {
|
|
@@ -38819,7 +38819,7 @@ function ME(r, e, t, n) {
|
|
|
38819
38819
|
}), J(e, "draggable") && (r.draggable = e.draggable), e.name != null && (r.name = e.name), e.id != null && (r.id = e.id);
|
|
38820
38820
|
}
|
|
38821
38821
|
function _q(r) {
|
|
38822
|
-
return r =
|
|
38822
|
+
return r = z({}, r), C(["id", "parentId", "$action", "hv", "bounding", "textContent", "clipPath"].concat(lI), function(e) {
|
|
38823
38823
|
delete r[e];
|
|
38824
38824
|
}), r;
|
|
38825
38825
|
}
|
|
@@ -39936,7 +39936,7 @@ qn({
|
|
|
39936
39936
|
C(r.newOption.series, function(n) {
|
|
39937
39937
|
var a = e.getSeriesByName(n.name)[0];
|
|
39938
39938
|
if (!a)
|
|
39939
|
-
t.push(
|
|
39939
|
+
t.push(z({
|
|
39940
39940
|
// Default is scatter
|
|
39941
39941
|
type: "scatter"
|
|
39942
39942
|
}, n));
|
|
@@ -40854,7 +40854,7 @@ var TX = new Be({
|
|
|
40854
40854
|
var M = Sw(E.formatTooltip(D, !0, null)), I = M.frag;
|
|
40855
40855
|
if (I) {
|
|
40856
40856
|
var k = El([E], i).get("valueFormatter");
|
|
40857
|
-
S.blocks.push(k ?
|
|
40857
|
+
S.blocks.push(k ? z({
|
|
40858
40858
|
valueFormatter: k
|
|
40859
40859
|
}, I) : I);
|
|
40860
40860
|
}
|
|
@@ -40879,7 +40879,7 @@ var TX = new Be({
|
|
|
40879
40879
|
if (!(g != null && g !== "item")) {
|
|
40880
40880
|
var m = u.getDataParams(c, f), y = new Bv();
|
|
40881
40881
|
m.marker = y.makeTooltipMarker("item", yo(m.color), d);
|
|
40882
|
-
var _ = Sw(u.formatTooltip(c, !1, f)), b = p.get("order"), x = p.get("valueFormatter"), w = _.frag, S = w ? Mw(x ?
|
|
40882
|
+
var _ = Sw(u.formatTooltip(c, !1, f)), b = p.get("order"), x = p.get("valueFormatter"), w = _.frag, S = w ? Mw(x ? z({
|
|
40883
40883
|
valueFormatter: x
|
|
40884
40884
|
}, w) : w, y, d, b, i.get("useUTC"), p.get("textStyle")) : _.text, T = "item_" + u.name + "_" + c;
|
|
40885
40885
|
this._showOrMove(p, function() {
|
|
@@ -41984,7 +41984,7 @@ var jX = (
|
|
|
41984
41984
|
x2: o[1],
|
|
41985
41985
|
y2: 0
|
|
41986
41986
|
},
|
|
41987
|
-
style:
|
|
41987
|
+
style: z({
|
|
41988
41988
|
lineCap: "round"
|
|
41989
41989
|
}, i.getModel("lineStyle").getLineStyle()),
|
|
41990
41990
|
silent: !0,
|
|
@@ -42296,7 +42296,7 @@ var ff = Ve(), ma = (
|
|
|
42296
42296
|
}
|
|
42297
42297
|
u ? u._mergeOption(l, n, !0) : (i && cf(l), C(l.data, function(c) {
|
|
42298
42298
|
c instanceof Array ? (cf(c[0]), cf(c[1])) : cf(c);
|
|
42299
|
-
}), u = this.createMarkerModelFromSeries(l, this, n),
|
|
42299
|
+
}), u = this.createMarkerModelFromSeries(l, this, n), z(u, {
|
|
42300
42300
|
mainType: this.mainType,
|
|
42301
42301
|
// Use the same series index and name
|
|
42302
42302
|
seriesIndex: s.seriesIndex,
|
|
@@ -42527,7 +42527,7 @@ function vK(r, e, t) {
|
|
|
42527
42527
|
var n;
|
|
42528
42528
|
r ? n = H(r && r.dimensions, function(s) {
|
|
42529
42529
|
var l = e.getData().getDimensionInfo(e.getData().mapDimension(s)) || {};
|
|
42530
|
-
return
|
|
42530
|
+
return z(z({}, l), {
|
|
42531
42531
|
name: s,
|
|
42532
42532
|
// DON'T use ordinalMeta to parse and collect ordinal.
|
|
42533
42533
|
ordinalMeta: null
|
|
@@ -42616,7 +42616,7 @@ var gK = (
|
|
|
42616
42616
|
} else
|
|
42617
42617
|
mK.NODE_ENV !== "production" && gn("Invalid markLine data."), i = [];
|
|
42618
42618
|
}
|
|
42619
|
-
var g = [Nu(r, i[0]), Nu(r, i[1]),
|
|
42619
|
+
var g = [Nu(r, i[0]), Nu(r, i[1]), z({}, i[2])];
|
|
42620
42620
|
return g[2].type = g[2].type || null, be(g[2], g[0]), be(g[2], g[1]), g;
|
|
42621
42621
|
};
|
|
42622
42622
|
function Ph(r) {
|
|
@@ -42724,7 +42724,7 @@ function xK(r, e, t) {
|
|
|
42724
42724
|
var n;
|
|
42725
42725
|
r ? n = H(r && r.dimensions, function(u) {
|
|
42726
42726
|
var c = e.getData().getDimensionInfo(e.getData().mapDimension(u)) || {};
|
|
42727
|
-
return
|
|
42727
|
+
return z(z({}, c), {
|
|
42728
42728
|
name: u,
|
|
42729
42729
|
// DON'T use ordinalMeta to parse and collect ordinal.
|
|
42730
42730
|
ordinalMeta: null
|
|
@@ -42920,7 +42920,7 @@ function CK(r, e, t) {
|
|
|
42920
42920
|
if (r) {
|
|
42921
42921
|
var o = H(r && r.dimensions, function(u) {
|
|
42922
42922
|
var c = e.getData(), f = c.getDimensionInfo(c.mapDimension(u)) || {};
|
|
42923
|
-
return
|
|
42923
|
+
return z(z({}, f), {
|
|
42924
42924
|
name: u,
|
|
42925
42925
|
// DON'T use ordinalMeta to parse and collect ordinal.
|
|
42926
42926
|
ordinalMeta: null
|
|
@@ -43198,7 +43198,7 @@ var MK = function(r, e) {
|
|
|
43198
43198
|
if (!T.containName(p))
|
|
43199
43199
|
return;
|
|
43200
43200
|
var E = T.indexOfName(p), D = T.getItemVisual(E, "style"), A = T.getItemVisual(E, "legendIcon"), M = kr(D.fill);
|
|
43201
|
-
M && M[3] === 0 && (M[3] = 0.2, D =
|
|
43201
|
+
M && M[3] === 0 && (M[3] = 0.2, D = z(z({}, D), {
|
|
43202
43202
|
fill: oa(M, "rgba")
|
|
43203
43203
|
}));
|
|
43204
43204
|
var I = this._createItem(S, p, v, d, n, t, {}, D, A, f, i);
|
|
@@ -44836,7 +44836,7 @@ var In = Ze, fQ = C, CD = Math.min, vg = Math.max, hQ = 12, dQ = 6, vQ = (
|
|
|
44836
44836
|
var u = t.getModel("indicatorStyle").getItemStyle();
|
|
44837
44837
|
if (l instanceof Gt) {
|
|
44838
44838
|
var c = l.style;
|
|
44839
|
-
l.useStyle(
|
|
44839
|
+
l.useStyle(z({
|
|
44840
44840
|
// TODO other properties like x, y ?
|
|
44841
44841
|
image: c.image,
|
|
44842
44842
|
x: c.x,
|
|
@@ -45550,7 +45550,7 @@ function AQ(r, e) {
|
|
|
45550
45550
|
});
|
|
45551
45551
|
}
|
|
45552
45552
|
function b(x, w) {
|
|
45553
|
-
var S = x ?
|
|
45553
|
+
var S = x ? z(z({}, w), x) : w;
|
|
45554
45554
|
return S.dirty = !0, S;
|
|
45555
45555
|
}
|
|
45556
45556
|
});
|
|
@@ -46641,7 +46641,7 @@ function nR(r, e, t) {
|
|
|
46641
46641
|
var n = XD(r), a = XD(e);
|
|
46642
46642
|
function i(_, b, x, w, S) {
|
|
46643
46643
|
(x || _) && b.animateFrom({
|
|
46644
|
-
style: x && x !== _ ?
|
|
46644
|
+
style: x && x !== _ ? z(z({}, x.style), _.style) : _.style
|
|
46645
46645
|
}, S);
|
|
46646
46646
|
}
|
|
46647
46647
|
var o = !1, s = fj, l = ie(), u = ie();
|
|
@@ -47023,7 +47023,7 @@ const gf = "__vs_form_monaco_loader__", bj = /* @__PURE__ */ ya({
|
|
|
47023
47023
|
class: "w-full",
|
|
47024
47024
|
style: Yh({ height: a.value })
|
|
47025
47025
|
}, [
|
|
47026
|
-
|
|
47026
|
+
F("div", {
|
|
47027
47027
|
ref_key: "editorContainer",
|
|
47028
47028
|
ref: n,
|
|
47029
47029
|
class: "w-full h-full overflow-hidden border border-[#CFD9E0] rounded"
|
|
@@ -60424,10 +60424,10 @@ const nee = { class: "h-full flex flex-col bg-white shrink-0 !w-[400px] border-l
|
|
|
60424
60424
|
var M, I, k, N, L, R, O, P, V, G, U;
|
|
60425
60425
|
const D = Rt("VsPopover"), A = Rt("highlightjs");
|
|
60426
60426
|
return W(), te(Et, null, [
|
|
60427
|
-
|
|
60427
|
+
F("div", nee, [
|
|
60428
60428
|
r.selectedWidgetData ? (W(), te("div", aee, [
|
|
60429
|
-
|
|
60430
|
-
|
|
60429
|
+
F("div", iee, [
|
|
60430
|
+
F("div", oee, [
|
|
60431
60431
|
(W(!0), te(Et, null, Yt(y.value, (Y) => (W(), te("button", {
|
|
60432
60432
|
key: Y.id,
|
|
60433
60433
|
type: "button",
|
|
@@ -60435,13 +60435,13 @@ const nee = { class: "h-full flex flex-col bg-white shrink-0 !w-[400px] border-l
|
|
|
60435
60435
|
onClick: (q) => p.value = Y.id
|
|
60436
60436
|
}, rt(Y.label), 11, see))), 128))
|
|
60437
60437
|
]),
|
|
60438
|
-
|
|
60438
|
+
F("div", lee, [
|
|
60439
60439
|
pe(D, {
|
|
60440
60440
|
placement: "left",
|
|
60441
60441
|
trigger: "hover"
|
|
60442
60442
|
}, {
|
|
60443
60443
|
reference: Ue(() => [
|
|
60444
|
-
|
|
60444
|
+
F("button", {
|
|
60445
60445
|
class: "h-[30px] w-[30px] rounded-full bg-gray-100 flex items-center justify-center duration-300 hover:bg-gray-200",
|
|
60446
60446
|
onClick: E[0] || (E[0] = (Y) => u.value = !0)
|
|
60447
60447
|
}, [
|
|
@@ -60458,7 +60458,7 @@ const nee = { class: "h-full flex flex-col bg-white shrink-0 !w-[400px] border-l
|
|
|
60458
60458
|
trigger: "hover"
|
|
60459
60459
|
}, {
|
|
60460
60460
|
reference: Ue(() => [
|
|
60461
|
-
|
|
60461
|
+
F("button", {
|
|
60462
60462
|
onClick: _,
|
|
60463
60463
|
class: "h-[30px] w-[30px] rounded-full bg-gray-100 flex items-center justify-center duration-300 hover:bg-gray-200"
|
|
60464
60464
|
}, [
|
|
@@ -60475,7 +60475,7 @@ const nee = { class: "h-full flex flex-col bg-white shrink-0 !w-[400px] border-l
|
|
|
60475
60475
|
trigger: "hover"
|
|
60476
60476
|
}, {
|
|
60477
60477
|
reference: Ue(() => [
|
|
60478
|
-
|
|
60478
|
+
F("button", {
|
|
60479
60479
|
class: "h-[30px] w-[30px] rounded-full bg-gray-100 flex items-center justify-center duration-300 hover:bg-gray-200",
|
|
60480
60480
|
onClick: E[1] || (E[1] = (Y) => s.value = !0)
|
|
60481
60481
|
}, [
|
|
@@ -60522,15 +60522,15 @@ const nee = { class: "h-full flex flex-col bg-white shrink-0 !w-[400px] border-l
|
|
|
60522
60522
|
onClose: E[5] || (E[5] = (Y) => s.value = !1)
|
|
60523
60523
|
}, {
|
|
60524
60524
|
default: Ue(() => [
|
|
60525
|
-
|
|
60526
|
-
E[13] || (E[13] =
|
|
60527
|
-
|
|
60528
|
-
|
|
60525
|
+
F("div", hee, [
|
|
60526
|
+
E[13] || (E[13] = F("p", { class: "mt-1 text-gray-500 dark:text-neutral-500" }, " Ви впевнені, що хочете видалити цей віджет? ", -1)),
|
|
60527
|
+
F("div", dee, [
|
|
60528
|
+
F("button", {
|
|
60529
60529
|
type: "button",
|
|
60530
60530
|
class: "inline-flex items-center px-3 py-2 text-sm font-medium text-gray-800 bg-white border border-gray-200 rounded-lg shadow-sm gap-x-2 hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
|
|
60531
60531
|
onClick: E[4] || (E[4] = (Y) => s.value = !1)
|
|
60532
60532
|
}, " Скасувати "),
|
|
60533
|
-
|
|
60533
|
+
F("button", {
|
|
60534
60534
|
type: "button",
|
|
60535
60535
|
class: "inline-flex items-center px-3 py-2 text-sm font-semibold text-white bg-red-500 border border-transparent rounded-lg gap-x-2 hover:bg-red-600 disabled:opacity-50 disabled:pointer-events-none",
|
|
60536
60536
|
onClick: g
|
|
@@ -60554,13 +60554,13 @@ const nee = { class: "h-full flex flex-col bg-white shrink-0 !w-[400px] border-l
|
|
|
60554
60554
|
onClose: E[8] || (E[8] = (Y) => c.value = !1)
|
|
60555
60555
|
}, {
|
|
60556
60556
|
footer: Ue(() => [
|
|
60557
|
-
|
|
60558
|
-
|
|
60557
|
+
F("div", vee, [
|
|
60558
|
+
F("button", {
|
|
60559
60559
|
style: { border: "1px solid #000" },
|
|
60560
60560
|
onClick: E[7] || (E[7] = (Y) => c.value = !1),
|
|
60561
60561
|
class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-black border-gray-200 rounded-lg hover:bg-gray-100 duration-300"
|
|
60562
60562
|
}, " Скасувати "),
|
|
60563
|
-
|
|
60563
|
+
F("button", {
|
|
60564
60564
|
onClick: b,
|
|
60565
60565
|
class: "py-2 px-3 inline-flex items-center gap-x-2 text-[14px] font-[400] whitespace-nowrap text-white bg-blue-500 rounded-lg hover:bg-blue-700 duration-300"
|
|
60566
60566
|
}, " Зберегти ")
|
|
@@ -60619,9 +60619,9 @@ const nee = { class: "h-full flex flex-col bg-white shrink-0 !w-[400px] border-l
|
|
|
60619
60619
|
return (o, s) => {
|
|
60620
60620
|
var l, u, c;
|
|
60621
60621
|
return W(), te("div", gee, [
|
|
60622
|
-
|
|
60623
|
-
|
|
60624
|
-
|
|
60622
|
+
F("div", mee, [
|
|
60623
|
+
F("h3", yee, rt(((l = r.selectedWidgetData) == null ? void 0 : l.title) || ((c = (u = r.selectedWidgetData) == null ? void 0 : u.data) == null ? void 0 : c.title) || r.selectedWidget), 1),
|
|
60624
|
+
F("button", {
|
|
60625
60625
|
type: "button",
|
|
60626
60626
|
class: "flex items-center gap-1.5 px-3 py-1.5 text-sm text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg transition-colors",
|
|
60627
60627
|
onClick: i
|
|
@@ -60630,8 +60630,8 @@ const nee = { class: "h-full flex flex-col bg-white shrink-0 !w-[400px] border-l
|
|
|
60630
60630
|
s[2] || (s[2] = Wt(" Закрити "))
|
|
60631
60631
|
])
|
|
60632
60632
|
]),
|
|
60633
|
-
|
|
60634
|
-
|
|
60633
|
+
F("div", _ee, [
|
|
60634
|
+
F("div", bee, [
|
|
60635
60635
|
pe(Ff, {
|
|
60636
60636
|
dashboard: r.selectedDashboard,
|
|
60637
60637
|
widget: r.selectedWidget,
|
|
@@ -60641,7 +60641,7 @@ const nee = { class: "h-full flex flex-col bg-white shrink-0 !w-[400px] border-l
|
|
|
60641
60641
|
class: "max-h-full"
|
|
60642
60642
|
}, null, 8, ["dashboard", "widget", "selected-widget", "dashboard-widgets"])
|
|
60643
60643
|
]),
|
|
60644
|
-
|
|
60644
|
+
F("div", xee, [
|
|
60645
60645
|
pe(pee, {
|
|
60646
60646
|
selectedWidget: a.value,
|
|
60647
60647
|
"onUpdate:selectedWidget": s[0] || (s[0] = (f) => a.value = f),
|
|
@@ -60913,7 +60913,7 @@ function Pee(r, e, t, n, a, i) {
|
|
|
60913
60913
|
trigger: "hover"
|
|
60914
60914
|
}, {
|
|
60915
60915
|
reference: Ue(() => [
|
|
60916
|
-
|
|
60916
|
+
F("button", {
|
|
60917
60917
|
class: "h-[30px] w-[30px] rounded-full bg-gray-100 flex items-center justify-center duration-300 hover:bg-gray-200",
|
|
60918
60918
|
onClick: e[0] || (e[0] = (h) => a.isFormFilter = !0)
|
|
60919
60919
|
}, [
|
|
@@ -60930,7 +60930,7 @@ function Pee(r, e, t, n, a, i) {
|
|
|
60930
60930
|
trigger: "hover"
|
|
60931
60931
|
}, {
|
|
60932
60932
|
reference: Ue(() => [
|
|
60933
|
-
|
|
60933
|
+
F("button", {
|
|
60934
60934
|
class: "h-[30px] w-[30px] rounded-full bg-gray-100 flex items-center justify-center duration-300 hover:bg-gray-200",
|
|
60935
60935
|
onClick: e[1] || (e[1] = (h) => a.isFormGrid = !0)
|
|
60936
60936
|
}, [
|
|
@@ -60949,19 +60949,19 @@ function Pee(r, e, t, n, a, i) {
|
|
|
60949
60949
|
reference: Ue(() => [
|
|
60950
60950
|
pe(s, { placement: "bottom-left" }, {
|
|
60951
60951
|
reference: Ue(() => [
|
|
60952
|
-
|
|
60952
|
+
F("button", Mee, [
|
|
60953
60953
|
pe(u, { class: "h-[16px]" })
|
|
60954
60954
|
])
|
|
60955
60955
|
]),
|
|
60956
60956
|
default: Ue(() => [
|
|
60957
|
-
|
|
60958
|
-
|
|
60957
|
+
F("div", Iee, [
|
|
60958
|
+
F("button", {
|
|
60959
60959
|
onClick: e[2] || (e[2] = (h) => {
|
|
60960
60960
|
i.closePopover(), a.isFormEdit = !0;
|
|
60961
60961
|
}),
|
|
60962
60962
|
class: "px-[8px] py-[4px] hover:bg-gray-100 w-full text-start rounded-lg"
|
|
60963
60963
|
}, " Редагувати дашборд "),
|
|
60964
|
-
|
|
60964
|
+
F("button", {
|
|
60965
60965
|
onClick: e[3] || (e[3] = (h) => {
|
|
60966
60966
|
i.closePopover(), a.isDeleteConfirm = !0;
|
|
60967
60967
|
}),
|
|
@@ -60986,15 +60986,15 @@ function Pee(r, e, t, n, a, i) {
|
|
|
60986
60986
|
onClose: e[6] || (e[6] = (h) => a.isDeleteConfirm = !1)
|
|
60987
60987
|
}, {
|
|
60988
60988
|
default: Ue(() => [
|
|
60989
|
-
|
|
60990
|
-
e[22] || (e[22] =
|
|
60991
|
-
|
|
60992
|
-
|
|
60989
|
+
F("div", Lee, [
|
|
60990
|
+
e[22] || (e[22] = F("p", { class: "mt-1 text-gray-500 dark:text-neutral-500" }, " Ви впевнені, що хочете видалити цей дашборд? ", -1)),
|
|
60991
|
+
F("div", kee, [
|
|
60992
|
+
F("button", {
|
|
60993
60993
|
type: "button",
|
|
60994
60994
|
class: "inline-flex items-center px-3 py-2 text-sm font-medium text-gray-800 bg-white border border-gray-200 rounded-lg shadow-sm gap-x-2 hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700",
|
|
60995
60995
|
onClick: e[4] || (e[4] = (h) => a.isDeleteConfirm = !1)
|
|
60996
60996
|
}, " Скасувати "),
|
|
60997
|
-
|
|
60997
|
+
F("button", {
|
|
60998
60998
|
type: "button",
|
|
60999
60999
|
class: "inline-flex items-center px-3 py-2 text-sm font-semibold text-white bg-red-500 border border-transparent rounded-lg gap-x-2 hover:bg-red-600 disabled:opacity-50 disabled:pointer-events-none",
|
|
61000
61000
|
onClick: e[5] || (e[5] = (...h) => i.deleteDashboard && i.deleteDashboard(...h))
|
|
@@ -61011,13 +61011,13 @@ function Pee(r, e, t, n, a, i) {
|
|
|
61011
61011
|
onClose: e[10] || (e[10] = (h) => a.isFormEdit = !1)
|
|
61012
61012
|
}, {
|
|
61013
61013
|
footer: Ue(() => [
|
|
61014
|
-
|
|
61015
|
-
|
|
61014
|
+
F("div", Nee, [
|
|
61015
|
+
F("button", {
|
|
61016
61016
|
style: { border: "1px solid #000" },
|
|
61017
61017
|
onClick: e[8] || (e[8] = (h) => a.isFormEdit = !1),
|
|
61018
61018
|
class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-black border-gray-200 rounded-lg !border-gray-200 hover:bg-gray-100 duration-300"
|
|
61019
61019
|
}, " Скасувати "),
|
|
61020
|
-
|
|
61020
|
+
F("button", {
|
|
61021
61021
|
onClick: e[9] || (e[9] = (...h) => i.editDashboard && i.editDashboard(...h)),
|
|
61022
61022
|
class: "py-2 px-3 inline-flex items-center gap-x-2 text-[14px] font-[400] whitespace-nowrap text-white bg-blue-500 rounded-lg !border-gray-200 hover:bg-blue-700 duration-300"
|
|
61023
61023
|
}, " Зберегти ")
|
|
@@ -61040,13 +61040,13 @@ function Pee(r, e, t, n, a, i) {
|
|
|
61040
61040
|
onClose: e[14] || (e[14] = (h) => a.isFormGrid = !1)
|
|
61041
61041
|
}, {
|
|
61042
61042
|
footer: Ue(() => [
|
|
61043
|
-
|
|
61044
|
-
|
|
61043
|
+
F("div", Ree, [
|
|
61044
|
+
F("button", {
|
|
61045
61045
|
style: { border: "1px solid #000" },
|
|
61046
61046
|
onClick: e[12] || (e[12] = (h) => a.isFormGrid = !1),
|
|
61047
61047
|
class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-black border-gray-200 rounded-lg !border-gray-200 hover:bg-gray-100 duration-300"
|
|
61048
61048
|
}, " Скасувати "),
|
|
61049
|
-
|
|
61049
|
+
F("button", {
|
|
61050
61050
|
onClick: e[13] || (e[13] = (...h) => i.editDashboardGrid && i.editDashboardGrid(...h)),
|
|
61051
61051
|
class: "py-2 px-3 inline-flex items-center gap-x-2 text-[14px] font-[400] whitespace-nowrap text-white bg-blue-500 rounded-lg !border-gray-200 hover:bg-blue-700 duration-300"
|
|
61052
61052
|
}, " Зберегти ")
|
|
@@ -61069,13 +61069,13 @@ function Pee(r, e, t, n, a, i) {
|
|
|
61069
61069
|
onClose: e[18] || (e[18] = (h) => a.isFormFilter = !1)
|
|
61070
61070
|
}, {
|
|
61071
61071
|
footer: Ue(() => [
|
|
61072
|
-
|
|
61073
|
-
|
|
61072
|
+
F("div", Oee, [
|
|
61073
|
+
F("button", {
|
|
61074
61074
|
style: { border: "1px solid #000" },
|
|
61075
61075
|
onClick: e[16] || (e[16] = (h) => a.isFormFilter = !1),
|
|
61076
61076
|
class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-black border-gray-200 rounded-lg !border-gray-200 hover:bg-gray-100 duration-300"
|
|
61077
61077
|
}, " Скасувати "),
|
|
61078
|
-
|
|
61078
|
+
F("button", {
|
|
61079
61079
|
onClick: e[17] || (e[17] = (...h) => i.editDashboardFilters && i.editDashboardFilters(...h)),
|
|
61080
61080
|
class: "py-2 px-3 inline-flex items-center gap-x-2 text-[14px] font-[400] whitespace-nowrap text-white bg-blue-500 rounded-lg !border-gray-200 hover:bg-blue-700 duration-300"
|
|
61081
61081
|
}, " Зберегти ")
|
|
@@ -61143,9 +61143,9 @@ const Bee = /* @__PURE__ */ yr(Cee, [["render", Pee]]), Vee = { class: "flex-1 m
|
|
|
61143
61143
|
return W(), te("div", {
|
|
61144
61144
|
class: tr(["flex w-full h-full", [r.customClass]])
|
|
61145
61145
|
}, [
|
|
61146
|
-
|
|
61147
|
-
|
|
61148
|
-
|
|
61146
|
+
F("div", Vee, [
|
|
61147
|
+
F("div", zee, [
|
|
61148
|
+
F("div", Fee, [
|
|
61149
61149
|
pe(rA, { items: l.value }, null, 8, ["items"]),
|
|
61150
61150
|
pe(Bee, {
|
|
61151
61151
|
selected: t.value,
|
|
@@ -61167,7 +61167,7 @@ const Bee = /* @__PURE__ */ yr(Cee, [["render", Pee]]), Vee = { class: "flex-1 m
|
|
|
61167
61167
|
"dashboard-widgets": a.value.widgets || [],
|
|
61168
61168
|
onUpdateData: o
|
|
61169
61169
|
}, null, 8, ["selected-widget", "selected-widget-data", "current-widget-data", "selected-dashboard", "dashboard-widgets"])) : (W(), te(Et, { key: 1 }, [
|
|
61170
|
-
|
|
61170
|
+
F("div", Gee, [
|
|
61171
61171
|
a.value ? (W(!0), te(Et, { key: 1 }, Yt(a.value.panels, (d, v) => {
|
|
61172
61172
|
var p;
|
|
61173
61173
|
return W(), te("div", {
|
|
@@ -61216,7 +61216,7 @@ const Bee = /* @__PURE__ */ yr(Cee, [["render", Pee]]), Vee = { class: "flex-1 m
|
|
|
61216
61216
|
], 2);
|
|
61217
61217
|
};
|
|
61218
61218
|
}
|
|
61219
|
-
}, Hee = /* @__PURE__ */ yr($ee, [["__scopeId", "data-v-4ada74b0"]]), Uee = { class: "
|
|
61219
|
+
}, Hee = /* @__PURE__ */ yr($ee, [["__scopeId", "data-v-4ada74b0"]]), Uee = { class: "w-full h-screen" }, Wee = /* @__PURE__ */ ya({
|
|
61220
61220
|
__name: "vs-editor-page",
|
|
61221
61221
|
props: {
|
|
61222
61222
|
prefix: { default: "/api" }
|
|
@@ -61259,25 +61259,25 @@ const Bee = /* @__PURE__ */ yr(Cee, [["render", Pee]]), Vee = { class: "flex-1 m
|
|
|
61259
61259
|
class: "bg-white rounded-lg border border-gray-200 shadow-sm hover:shadow-md transition-all duration-200 cursor-pointer group relative h-full",
|
|
61260
61260
|
onClick: i
|
|
61261
61261
|
}, [
|
|
61262
|
-
|
|
61263
|
-
|
|
61264
|
-
|
|
61265
|
-
|
|
61262
|
+
F("div", Yee, [
|
|
61263
|
+
F("div", Zee, [
|
|
61264
|
+
F("div", qee, [
|
|
61265
|
+
F("div", Xee, [
|
|
61266
61266
|
pe(Xe(Db), {
|
|
61267
61267
|
size: 24,
|
|
61268
61268
|
class: "w-4 h-4 text-blue-600"
|
|
61269
61269
|
})
|
|
61270
61270
|
]),
|
|
61271
|
-
|
|
61272
|
-
|
|
61271
|
+
F("div", Kee, [
|
|
61272
|
+
F("h3", Qee, rt(r.title), 1)
|
|
61273
61273
|
])
|
|
61274
61274
|
]),
|
|
61275
|
-
|
|
61275
|
+
F("div", {
|
|
61276
61276
|
class: "relative",
|
|
61277
61277
|
onClick: l[3] || (l[3] = XC(() => {
|
|
61278
61278
|
}, ["stop"]))
|
|
61279
61279
|
}, [
|
|
61280
|
-
|
|
61280
|
+
F("button", {
|
|
61281
61281
|
type: "button",
|
|
61282
61282
|
class: tr(["p-1 hover:bg-gray-100 rounded opacity-0 group-hover:opacity-100 transition-opacity", { "opacity-100": n.value }]),
|
|
61283
61283
|
onClick: l[0] || (l[0] = (u) => n.value = !n.value)
|
|
@@ -61288,7 +61288,7 @@ const Bee = /* @__PURE__ */ yr(Cee, [["render", Pee]]), Vee = { class: "flex-1 m
|
|
|
61288
61288
|
})
|
|
61289
61289
|
], 2),
|
|
61290
61290
|
n.value ? (W(), te("div", jee, [
|
|
61291
|
-
|
|
61291
|
+
F("button", {
|
|
61292
61292
|
type: "button",
|
|
61293
61293
|
class: "w-full px-3 py-2 text-left text-sm text-gray-700 hover:bg-gray-50 flex items-center gap-2",
|
|
61294
61294
|
onClick: l[1] || (l[1] = (u) => {
|
|
@@ -61298,7 +61298,7 @@ const Bee = /* @__PURE__ */ yr(Cee, [["render", Pee]]), Vee = { class: "flex-1 m
|
|
|
61298
61298
|
pe(Xe(jC), { class: "w-4 h-4" }),
|
|
61299
61299
|
l[4] || (l[4] = Wt(" Переглянути "))
|
|
61300
61300
|
]),
|
|
61301
|
-
|
|
61301
|
+
F("button", {
|
|
61302
61302
|
type: "button",
|
|
61303
61303
|
class: "w-full px-3 py-2 text-left text-sm text-gray-700 hover:bg-gray-50 flex items-center gap-2",
|
|
61304
61304
|
onClick: l[2] || (l[2] = (u) => {
|
|
@@ -61318,21 +61318,21 @@ const Bee = /* @__PURE__ */ yr(Cee, [["render", Pee]]), Vee = { class: "flex-1 m
|
|
|
61318
61318
|
key: 1,
|
|
61319
61319
|
class: tr(["mb-4", r.reserveLines === 2 ? "h-10" : r.reserveLines === 1 ? "h-5" : "h-0"])
|
|
61320
61320
|
}, null, 2)),
|
|
61321
|
-
|
|
61321
|
+
F("div", Jee, [
|
|
61322
61322
|
pe(Xe(Db), {
|
|
61323
61323
|
size: 24,
|
|
61324
61324
|
class: "w-12 h-12 text-gray-300"
|
|
61325
61325
|
})
|
|
61326
61326
|
]),
|
|
61327
|
-
|
|
61328
|
-
|
|
61327
|
+
F("div", ete, [
|
|
61328
|
+
F("div", tte, [
|
|
61329
61329
|
pe(Xe(VR), {
|
|
61330
61330
|
size: 24,
|
|
61331
61331
|
class: "w-3 h-3"
|
|
61332
61332
|
}),
|
|
61333
|
-
|
|
61333
|
+
F("span", null, rt(r.modified), 1)
|
|
61334
61334
|
]),
|
|
61335
|
-
|
|
61335
|
+
F("span", null, rt(r.name), 1)
|
|
61336
61336
|
])
|
|
61337
61337
|
])
|
|
61338
61338
|
]));
|
|
@@ -61353,7 +61353,7 @@ function ate(r) {
|
|
|
61353
61353
|
return e[n] = a, e;
|
|
61354
61354
|
}, {});
|
|
61355
61355
|
}
|
|
61356
|
-
const ite = { class: "
|
|
61356
|
+
const ite = { class: "flex-1 bg-gray-50" }, ote = { class: "max-w-7xl mx-auto px-6 py-8" }, ste = { class: "mb-6" }, lte = { class: "flex items-center justify-between mb-6" }, ute = { class: "flex justify-end p-[20px] gap-[10px] border-t w-full" }, cte = { class: "flex items-center space-x-4" }, fte = { class: "flex-1 relative" }, hte = { class: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" }, dte = /* @__PURE__ */ ya({
|
|
61357
61357
|
__name: "all-dashboards-page",
|
|
61358
61358
|
props: {
|
|
61359
61359
|
prefix: {}
|
|
@@ -61414,92 +61414,90 @@ const ite = { class: "pt-16" }, ote = { class: "flex-1 bg-gray-50" }, ste = { cl
|
|
|
61414
61414
|
return x;
|
|
61415
61415
|
};
|
|
61416
61416
|
return Oe("grid"), (p, g) => (W(), te("div", ite, [
|
|
61417
|
-
|
|
61418
|
-
|
|
61419
|
-
|
|
61420
|
-
|
|
61421
|
-
|
|
61422
|
-
|
|
61423
|
-
|
|
61424
|
-
|
|
61425
|
-
|
|
61426
|
-
|
|
61427
|
-
|
|
61428
|
-
|
|
61429
|
-
|
|
61430
|
-
|
|
61431
|
-
|
|
61432
|
-
|
|
61433
|
-
|
|
61434
|
-
|
|
61417
|
+
F("div", ote, [
|
|
61418
|
+
F("div", ste, [
|
|
61419
|
+
F("div", lte, [
|
|
61420
|
+
g[5] || (g[5] = F("div", null, [
|
|
61421
|
+
F("h1", { class: "text-2xl font-bold text-gray-900" }, "Dashboards"),
|
|
61422
|
+
F("p", { class: "text-sm text-gray-600 mt-1" }, " Manage and view your analytics dashboards ")
|
|
61423
|
+
], -1)),
|
|
61424
|
+
F("button", {
|
|
61425
|
+
type: "button",
|
|
61426
|
+
class: "flex items-center space-x-2 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors",
|
|
61427
|
+
onClick: g[0] || (g[0] = (m) => s.value = !0)
|
|
61428
|
+
}, [
|
|
61429
|
+
pe(Xe(eA), {
|
|
61430
|
+
size: 24,
|
|
61431
|
+
class: "w-4 h-4"
|
|
61432
|
+
}),
|
|
61433
|
+
g[4] || (g[4] = F("span", null, "New Dashboard", -1))
|
|
61434
|
+
])
|
|
61435
|
+
]),
|
|
61436
|
+
pe(ds, {
|
|
61437
|
+
teleport: "#modal",
|
|
61438
|
+
visible: s.value,
|
|
61439
|
+
title: "Створити дашборд",
|
|
61440
|
+
onClose: g[3] || (g[3] = (m) => s.value = !1)
|
|
61441
|
+
}, {
|
|
61442
|
+
footer: Ue(() => [
|
|
61443
|
+
F("div", ute, [
|
|
61444
|
+
F("button", {
|
|
61445
|
+
type: "button",
|
|
61446
|
+
class: "py-2 px-3 inline-flex items-center gap-x-2 text-sm whitespace-nowrap text-black border border-gray-200 rounded-lg hover:bg-gray-100 duration-300",
|
|
61447
|
+
onClick: g[2] || (g[2] = (m) => s.value = !1)
|
|
61448
|
+
}, " Скасувати "),
|
|
61449
|
+
F("button", {
|
|
61450
|
+
type: "button",
|
|
61451
|
+
class: "py-2 px-3 inline-flex items-center gap-x-2 text-[14px] font-[400] whitespace-nowrap text-white bg-blue-500 rounded-lg hover:bg-blue-700 duration-300",
|
|
61452
|
+
onClick: c
|
|
61453
|
+
}, " Зберегти ")
|
|
61435
61454
|
])
|
|
61436
61455
|
]),
|
|
61437
|
-
|
|
61438
|
-
|
|
61439
|
-
|
|
61440
|
-
|
|
61441
|
-
|
|
61442
|
-
|
|
61443
|
-
|
|
61444
|
-
|
|
61445
|
-
|
|
61446
|
-
|
|
61447
|
-
|
|
61448
|
-
|
|
61449
|
-
|
|
61450
|
-
|
|
61451
|
-
|
|
61452
|
-
|
|
61453
|
-
|
|
61454
|
-
|
|
61455
|
-
|
|
61456
|
-
|
|
61457
|
-
|
|
61458
|
-
|
|
61459
|
-
|
|
61460
|
-
ref: o,
|
|
61461
|
-
schema: Xe(t),
|
|
61462
|
-
values: l.value,
|
|
61463
|
-
"onUpdate:values": g[1] || (g[1] = (m) => l.value = m)
|
|
61464
|
-
}, null, 8, ["schema", "values"])
|
|
61465
|
-
]),
|
|
61466
|
-
_: 1
|
|
61467
|
-
}, 8, ["visible"]),
|
|
61468
|
-
z("div", fte, [
|
|
61469
|
-
z("div", hte, [
|
|
61470
|
-
pe(Xe($R), {
|
|
61471
|
-
size: 24,
|
|
61472
|
-
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
61473
|
-
}),
|
|
61474
|
-
g[6] || (g[6] = z("input", {
|
|
61475
|
-
type: "text",
|
|
61476
|
-
placeholder: "Search dashboards...",
|
|
61477
|
-
class: "w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500",
|
|
61478
|
-
value: ""
|
|
61479
|
-
}, null, -1))
|
|
61480
|
-
])
|
|
61456
|
+
default: Ue(() => [
|
|
61457
|
+
pe(Xe(e), {
|
|
61458
|
+
ref_key: "createFormRef",
|
|
61459
|
+
ref: o,
|
|
61460
|
+
schema: Xe(t),
|
|
61461
|
+
values: l.value,
|
|
61462
|
+
"onUpdate:values": g[1] || (g[1] = (m) => l.value = m)
|
|
61463
|
+
}, null, 8, ["schema", "values"])
|
|
61464
|
+
]),
|
|
61465
|
+
_: 1
|
|
61466
|
+
}, 8, ["visible"]),
|
|
61467
|
+
F("div", cte, [
|
|
61468
|
+
F("div", fte, [
|
|
61469
|
+
pe(Xe($R), {
|
|
61470
|
+
size: 24,
|
|
61471
|
+
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
61472
|
+
}),
|
|
61473
|
+
g[6] || (g[6] = F("input", {
|
|
61474
|
+
type: "text",
|
|
61475
|
+
placeholder: "Search dashboards...",
|
|
61476
|
+
class: "w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500",
|
|
61477
|
+
value: ""
|
|
61478
|
+
}, null, -1))
|
|
61481
61479
|
])
|
|
61482
|
-
]),
|
|
61483
|
-
z("div", dte, [
|
|
61484
|
-
(W(!0), te(Et, null, Yt(n.value, (m, y) => (W(), te("div", {
|
|
61485
|
-
key: y,
|
|
61486
|
-
class: "cursor-pointer"
|
|
61487
|
-
}, [
|
|
61488
|
-
pe(rte, {
|
|
61489
|
-
title: m.title,
|
|
61490
|
-
description: m.description,
|
|
61491
|
-
modified: m.modified,
|
|
61492
|
-
name: m.name,
|
|
61493
|
-
reserveLines: v(y),
|
|
61494
|
-
"dashboard-route-name": m.routeName
|
|
61495
|
-
}, null, 8, ["title", "description", "modified", "name", "reserveLines", "dashboard-route-name"])
|
|
61496
|
-
]))), 128))
|
|
61497
61480
|
])
|
|
61481
|
+
]),
|
|
61482
|
+
F("div", hte, [
|
|
61483
|
+
(W(!0), te(Et, null, Yt(n.value, (m, y) => (W(), te("div", {
|
|
61484
|
+
key: y,
|
|
61485
|
+
class: "cursor-pointer"
|
|
61486
|
+
}, [
|
|
61487
|
+
pe(rte, {
|
|
61488
|
+
title: m.title,
|
|
61489
|
+
description: m.description,
|
|
61490
|
+
modified: m.modified,
|
|
61491
|
+
name: m.name,
|
|
61492
|
+
reserveLines: v(y),
|
|
61493
|
+
"dashboard-route-name": m.routeName
|
|
61494
|
+
}, null, 8, ["title", "description", "modified", "name", "reserveLines", "dashboard-route-name"])
|
|
61495
|
+
]))), 128))
|
|
61498
61496
|
])
|
|
61499
61497
|
])
|
|
61500
61498
|
]));
|
|
61501
61499
|
}
|
|
61502
|
-
}),
|
|
61500
|
+
}), Hre = /* @__PURE__ */ ya({
|
|
61503
61501
|
__name: "editor-root-page",
|
|
61504
61502
|
props: {
|
|
61505
61503
|
prefix: { default: "/api" }
|
|
@@ -61513,7 +61511,7 @@ const ite = { class: "pt-16" }, ote = { class: "flex-1 bg-gray-50" }, ste = { cl
|
|
|
61513
61511
|
return (o, s) => i.value ? (W(), tt(Wee, {
|
|
61514
61512
|
key: `editor-${a.value}`,
|
|
61515
61513
|
prefix: t.value
|
|
61516
|
-
}, null, 8, ["prefix"])) : (W(), tt(
|
|
61514
|
+
}, null, 8, ["prefix"])) : (W(), tt(dte, {
|
|
61517
61515
|
key: 0,
|
|
61518
61516
|
prefix: t.value
|
|
61519
61517
|
}, null, 8, ["prefix"]));
|
|
@@ -61530,10 +61528,10 @@ function wb(r) {
|
|
|
61530
61528
|
const [e, t, n] = r.split("T")[0].split("-");
|
|
61531
61529
|
return `${n}.${t}.${e}`;
|
|
61532
61530
|
}
|
|
61533
|
-
function
|
|
61531
|
+
function Ure(r) {
|
|
61534
61532
|
return Intl.NumberFormat("en").format(r ?? 0);
|
|
61535
61533
|
}
|
|
61536
|
-
class
|
|
61534
|
+
class vte {
|
|
61537
61535
|
static getTooltipOptions(e = !0) {
|
|
61538
61536
|
return {
|
|
61539
61537
|
show: e,
|
|
@@ -61546,7 +61544,7 @@ class pte {
|
|
|
61546
61544
|
};
|
|
61547
61545
|
}
|
|
61548
61546
|
}
|
|
61549
|
-
const
|
|
61547
|
+
const pte = {
|
|
61550
61548
|
show_label: !1,
|
|
61551
61549
|
show_legend: !1,
|
|
61552
61550
|
label: null,
|
|
@@ -61555,14 +61553,14 @@ const gte = {
|
|
|
61555
61553
|
color: null,
|
|
61556
61554
|
title: null
|
|
61557
61555
|
};
|
|
61558
|
-
function
|
|
61556
|
+
function gte() {
|
|
61559
61557
|
const r = "0123456789ABCDEF";
|
|
61560
61558
|
let e = "#";
|
|
61561
61559
|
for (let t = 0; t < 6; t += 1)
|
|
61562
61560
|
e += r[Math.floor(Math.random() * 16)];
|
|
61563
61561
|
return e;
|
|
61564
61562
|
}
|
|
61565
|
-
function Bu(r =
|
|
61563
|
+
function Bu(r = pte) {
|
|
61566
61564
|
var t;
|
|
61567
61565
|
const e = {
|
|
61568
61566
|
label: {
|
|
@@ -61809,7 +61807,7 @@ const ci = {
|
|
|
61809
61807
|
...a,
|
|
61810
61808
|
...e.options,
|
|
61811
61809
|
tooltip: {
|
|
61812
|
-
...
|
|
61810
|
+
...vte.getTooltipOptions(e.options.tooltip.show)
|
|
61813
61811
|
}
|
|
61814
61812
|
});
|
|
61815
61813
|
},
|
|
@@ -61838,7 +61836,7 @@ const ci = {
|
|
|
61838
61836
|
) : e;
|
|
61839
61837
|
}
|
|
61840
61838
|
}
|
|
61841
|
-
},
|
|
61839
|
+
}, mte = {
|
|
61842
61840
|
name: "VsBar",
|
|
61843
61841
|
mixins: [ci],
|
|
61844
61842
|
data() {
|
|
@@ -61990,30 +61988,30 @@ const ci = {
|
|
|
61990
61988
|
];
|
|
61991
61989
|
}
|
|
61992
61990
|
}
|
|
61993
|
-
},
|
|
61994
|
-
function
|
|
61991
|
+
}, yte = ["id"];
|
|
61992
|
+
function _te(r, e, t, n, a, i) {
|
|
61995
61993
|
return W(), te("div", {
|
|
61996
61994
|
id: i.uniqueID,
|
|
61997
61995
|
ref: "chart",
|
|
61998
61996
|
class: "h-full w-full min-h-[200px]"
|
|
61999
|
-
}, null, 8,
|
|
61997
|
+
}, null, 8, yte);
|
|
62000
61998
|
}
|
|
62001
|
-
const
|
|
61999
|
+
const bte = /* @__PURE__ */ yr(mte, [["render", _te]]), xte = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
62002
62000
|
__proto__: null,
|
|
62003
|
-
default:
|
|
62001
|
+
default: bte
|
|
62004
62002
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
62005
62003
|
gt(() => import("./index-B4DvDTGq.js"));
|
|
62006
62004
|
gt(
|
|
62007
62005
|
() => Promise.all([import("./index-BCGOfuzo.js"), import("./index-B4DvDTGq.js")]).then(([r, e]) => r.VsFormRadio ?? e.VsFormRadio)
|
|
62008
62006
|
);
|
|
62009
|
-
var
|
|
62007
|
+
var wte = /* @__PURE__ */ ((r) => (r.Dashboard = "/dashboard", r.BiPlatform = "/bi-platform", r.EditorBase = "/editor", r.AllDashboards = "/dashboards", r.DashboardByName = "/dashboards/:name", r))(wte || {}), YC;
|
|
62010
62008
|
((r) => {
|
|
62011
62009
|
((e) => {
|
|
62012
62010
|
e.Bar = "bar", e.ListBar = "listbar", e.Number = "number", e.Text = "text", e.Pie = "pie", e.Heatmap = "heatmap", e.Calendar = "calendar", e.Line = "line", e.Stat = "stat", e.Pivot = "pivot", e.Funnel = "funnel", e.Progress = "progress";
|
|
62013
62011
|
})(r.Types || (r.Types = {}));
|
|
62014
62012
|
})(YC || (YC = {}));
|
|
62015
|
-
var
|
|
62016
|
-
const
|
|
62013
|
+
var Ste = /* @__PURE__ */ ((r) => (r.AllDashboards = "all-dashboards", r.BiPlatform = "bi-platform", r.Dashboard = "dashboard", r.Erobota = "erobota", r.Datatest = "datatest", r.Sourcedate = "sourcedate", r.Widgetwidget = "widgetwidget", r.Test = "test", r.Demo = "demo", r.Crm = "crm", r.Editor = "editor", r.Editordetails = "editordetails", r.Dbtables = "dbtables", r.Biviewer = "biviewer", r.Biviewerinner = "biviewerinner", r.Bieditor = "bieditor", r.Bieditorinner = "bieditorinner", r.Datasets = "datasets", r))(Ste || {});
|
|
62014
|
+
const Tte = {
|
|
62017
62015
|
name: "VsPie",
|
|
62018
62016
|
props: ["currentWidget"],
|
|
62019
62017
|
mixins: [ci],
|
|
@@ -62171,18 +62169,18 @@ const Ete = {
|
|
|
62171
62169
|
}
|
|
62172
62170
|
}
|
|
62173
62171
|
}
|
|
62174
|
-
},
|
|
62175
|
-
function
|
|
62172
|
+
}, Ete = ["id"];
|
|
62173
|
+
function Dte(r, e, t, n, a, i) {
|
|
62176
62174
|
return W(), te("div", {
|
|
62177
62175
|
id: i.uniqueID,
|
|
62178
62176
|
ref: "chart",
|
|
62179
62177
|
class: "h-full min-h-[200px] flex items-center"
|
|
62180
|
-
}, null, 8,
|
|
62178
|
+
}, null, 8, Ete);
|
|
62181
62179
|
}
|
|
62182
|
-
const
|
|
62180
|
+
const Cte = /* @__PURE__ */ yr(Tte, [["render", Dte]]), Ate = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
62183
62181
|
__proto__: null,
|
|
62184
|
-
default:
|
|
62185
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
62182
|
+
default: Cte
|
|
62183
|
+
}, Symbol.toStringTag, { value: "Module" })), Mte = {
|
|
62186
62184
|
name: "VsPie",
|
|
62187
62185
|
props: ["currentWidget"],
|
|
62188
62186
|
mixins: [ci],
|
|
@@ -62320,18 +62318,18 @@ const Ate = /* @__PURE__ */ yr(Ete, [["render", Cte]]), Mte = /* @__PURE__ */ Ob
|
|
|
62320
62318
|
}
|
|
62321
62319
|
}
|
|
62322
62320
|
}
|
|
62323
|
-
},
|
|
62324
|
-
function
|
|
62321
|
+
}, Ite = ["id"];
|
|
62322
|
+
function Lte(r, e, t, n, a, i) {
|
|
62325
62323
|
return W(), te("div", {
|
|
62326
62324
|
id: i.uniqueID,
|
|
62327
62325
|
ref: "chart",
|
|
62328
62326
|
class: "h-full min-h-[200px] flex items-center"
|
|
62329
|
-
}, null, 8,
|
|
62327
|
+
}, null, 8, Ite);
|
|
62330
62328
|
}
|
|
62331
|
-
const
|
|
62329
|
+
const kte = /* @__PURE__ */ yr(Mte, [["render", Lte]]), Nte = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
62332
62330
|
__proto__: null,
|
|
62333
|
-
default:
|
|
62334
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
62331
|
+
default: kte
|
|
62332
|
+
}, Symbol.toStringTag, { value: "Module" })), Rte = {
|
|
62335
62333
|
name: "VsLine",
|
|
62336
62334
|
mixins: [ci],
|
|
62337
62335
|
data() {
|
|
@@ -62388,18 +62386,18 @@ const Nte = /* @__PURE__ */ yr(Ite, [["render", kte]]), Rte = /* @__PURE__ */ Ob
|
|
|
62388
62386
|
}
|
|
62389
62387
|
}
|
|
62390
62388
|
}
|
|
62391
|
-
},
|
|
62392
|
-
function
|
|
62389
|
+
}, Ote = ["id"];
|
|
62390
|
+
function Pte(r, e, t, n, a, i) {
|
|
62393
62391
|
return W(), te("div", {
|
|
62394
62392
|
id: a.uniqueID,
|
|
62395
62393
|
ref: "chart",
|
|
62396
62394
|
style: { height: "400px" }
|
|
62397
|
-
}, null, 8,
|
|
62395
|
+
}, null, 8, Ote);
|
|
62398
62396
|
}
|
|
62399
|
-
const
|
|
62397
|
+
const Bte = /* @__PURE__ */ yr(Rte, [["render", Pte]]), Vte = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
62400
62398
|
__proto__: null,
|
|
62401
|
-
default:
|
|
62402
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
62399
|
+
default: Bte
|
|
62400
|
+
}, Symbol.toStringTag, { value: "Module" })), zte = {
|
|
62403
62401
|
name: "VsStat",
|
|
62404
62402
|
mixins: [ci],
|
|
62405
62403
|
data() {
|
|
@@ -62424,7 +62422,7 @@ const Vte = /* @__PURE__ */ yr(Ote, [["render", Bte]]), zte = /* @__PURE__ */ Ob
|
|
|
62424
62422
|
this.columns = Object.keys(this.sourceData[0]);
|
|
62425
62423
|
const r = this.getValues();
|
|
62426
62424
|
this.sumValue = r.reduce((e, t) => e + t, 0), this.sourceData.forEach((e, t) => {
|
|
62427
|
-
e.color = t < WC.length - 1 ? WC[t] :
|
|
62425
|
+
e.color = t < WC.length - 1 ? WC[t] : gte();
|
|
62428
62426
|
});
|
|
62429
62427
|
},
|
|
62430
62428
|
formattedValue(r) {
|
|
@@ -62432,15 +62430,15 @@ const Vte = /* @__PURE__ */ yr(Ote, [["render", Bte]]), zte = /* @__PURE__ */ Ob
|
|
|
62432
62430
|
return Wn(e);
|
|
62433
62431
|
}
|
|
62434
62432
|
}
|
|
62435
|
-
},
|
|
62433
|
+
}, Fte = { class: "flex flex-col w-full h-full pt-[16px] rounded-xl" }, Gte = { class: "flex flex-col justify-between w-full h-full" }, $te = { class: "w-full h-full pb-6 space-y-4" }, Hte = { class: "flex w-full h-3 rounded-full gap-x-1 min-h-3 custom-x-scrollbar" }, Ute = ["onMouseover"], Wte = {
|
|
62436
62434
|
key: 0,
|
|
62437
62435
|
class: "absolute top-[-1] left-1/2 transform -translate-x-1/2 -translate-y-full bg-black text-white rounded px-2 py-1"
|
|
62438
|
-
},
|
|
62439
|
-
function
|
|
62440
|
-
return W(), te("div",
|
|
62441
|
-
|
|
62442
|
-
|
|
62443
|
-
|
|
62436
|
+
}, Yte = { class: "h-[calc(100%-20px)] w-full custom-scrollbar" }, Zte = { class: "grid items-center justify-between grid-cols-2 py-2 gap-x-4" }, qte = { class: "flex items-center" }, Xte = { class: "text-sm text-gray-800" }, Kte = { class: "text-end" }, Qte = { class: "text-sm text-gray-500" };
|
|
62437
|
+
function jte(r, e, t, n, a, i) {
|
|
62438
|
+
return W(), te("div", Fte, [
|
|
62439
|
+
F("div", Gte, [
|
|
62440
|
+
F("div", $te, [
|
|
62441
|
+
F("div", Hte, [
|
|
62444
62442
|
(W(!0), te(Et, null, Yt(r.sourceData, (o, s) => {
|
|
62445
62443
|
var l, u, c, f;
|
|
62446
62444
|
return W(), te("div", {
|
|
@@ -62455,22 +62453,22 @@ function Jte(r, e, t, n, a, i) {
|
|
|
62455
62453
|
onMouseover: (h) => a.showTooltip = s,
|
|
62456
62454
|
onMouseleave: e[0] || (e[0] = (h) => a.showTooltip = -1)
|
|
62457
62455
|
}, [
|
|
62458
|
-
a.showTooltip > -1 ? (W(), te("div",
|
|
62459
|
-
], 46,
|
|
62456
|
+
a.showTooltip > -1 ? (W(), te("div", Wte, rt(r.sourceData[a.showTooltip][a.columns[0]]) + " " + rt((parseFloat((f = (u = r.sourceData) == null ? void 0 : u[a.showTooltip]) == null ? void 0 : f[(c = a.columns) == null ? void 0 : c[1]]) / a.sumValue * 100).toFixed(2)) + "% ", 1)) : mt("", !0)
|
|
62457
|
+
], 46, Ute);
|
|
62460
62458
|
}), 256))
|
|
62461
62459
|
]),
|
|
62462
|
-
|
|
62460
|
+
F("ul", Yte, [
|
|
62463
62461
|
(W(!0), te(Et, null, Yt(r.sourceData, (o) => {
|
|
62464
62462
|
var s, l;
|
|
62465
|
-
return W(), te("li",
|
|
62466
|
-
|
|
62467
|
-
|
|
62463
|
+
return W(), te("li", Zte, [
|
|
62464
|
+
F("div", qte, [
|
|
62465
|
+
F("span", {
|
|
62468
62466
|
class: tr(["shrink-0 size-2.5 inline-block rounded-sm me-2.5 min-w-[10px] w-[10px] h-[10px] min-h-[10px]", `bg-[${o.color}]`])
|
|
62469
62467
|
}, null, 2),
|
|
62470
|
-
|
|
62468
|
+
F("span", Xte, rt((o == null ? void 0 : o[(s = a.columns) == null ? void 0 : s[0]]) || "Не визначено"), 1)
|
|
62471
62469
|
]),
|
|
62472
|
-
|
|
62473
|
-
|
|
62470
|
+
F("div", Kte, [
|
|
62471
|
+
F("span", Qte, rt(i.formattedValue(o == null ? void 0 : o[(l = a.columns) == null ? void 0 : l[1]]) || "-"), 1)
|
|
62474
62472
|
])
|
|
62475
62473
|
]);
|
|
62476
62474
|
}), 256))
|
|
@@ -62479,10 +62477,10 @@ function Jte(r, e, t, n, a, i) {
|
|
|
62479
62477
|
])
|
|
62480
62478
|
]);
|
|
62481
62479
|
}
|
|
62482
|
-
const
|
|
62480
|
+
const Jte = /* @__PURE__ */ yr(zte, [["render", jte]]), ere = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
62483
62481
|
__proto__: null,
|
|
62484
|
-
default:
|
|
62485
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
62482
|
+
default: Jte
|
|
62483
|
+
}, Symbol.toStringTag, { value: "Module" })), tre = {
|
|
62486
62484
|
name: "VsProgressBar",
|
|
62487
62485
|
mixins: [ci],
|
|
62488
62486
|
data() {
|
|
@@ -62512,25 +62510,25 @@ const ere = /* @__PURE__ */ yr(Fte, [["render", Jte]]), tre = /* @__PURE__ */ Ob
|
|
|
62512
62510
|
return Wn(r);
|
|
62513
62511
|
}
|
|
62514
62512
|
}
|
|
62515
|
-
},
|
|
62513
|
+
}, rre = {
|
|
62516
62514
|
key: 0,
|
|
62517
62515
|
class: "flex flex-col h-full pt-[16px] rounded-xl"
|
|
62518
|
-
},
|
|
62516
|
+
}, nre = { class: "h-full pt-0 pb-6 space-y-4" }, are = { class: "h-full space-y-4 custom-scrollbar" }, ire = { class: "flex items-center justify-between mr-2 gap-x-2" }, ore = { class: "grid items-center w-full grid-cols-2 gap-x-2" }, sre = { class: "text-sm text-gray-800" }, lre = {
|
|
62519
62517
|
class: "flex justify-end",
|
|
62520
62518
|
role: "progressbar",
|
|
62521
62519
|
"aria-valuenow": "100",
|
|
62522
62520
|
"aria-valuemin": "0",
|
|
62523
62521
|
"aria-valuemax": "100"
|
|
62524
|
-
},
|
|
62525
|
-
function
|
|
62526
|
-
return a.columns ? (W(), te("div",
|
|
62527
|
-
|
|
62528
|
-
|
|
62529
|
-
(W(!0), te(Et, null, Yt(r.sourceData, (o, s) => (W(), te("li",
|
|
62530
|
-
|
|
62531
|
-
|
|
62532
|
-
|
|
62533
|
-
|
|
62522
|
+
}, ure = { class: "min-w-[60px] text-end" }, cre = { class: "text-sm text-gray-500" };
|
|
62523
|
+
function fre(r, e, t, n, a, i) {
|
|
62524
|
+
return a.columns ? (W(), te("div", rre, [
|
|
62525
|
+
F("div", nre, [
|
|
62526
|
+
F("ul", are, [
|
|
62527
|
+
(W(!0), te(Et, null, Yt(r.sourceData, (o, s) => (W(), te("li", ire, [
|
|
62528
|
+
F("div", ore, [
|
|
62529
|
+
F("span", sre, rt(o[a.columns[0]]), 1),
|
|
62530
|
+
F("div", lre, [
|
|
62531
|
+
F("div", {
|
|
62534
62532
|
class: "h-1.5 flex flex-col justify-center overflow-hidden bg-indigo-500 rounded-full text-xs text-white text-center whitespace-nowrap",
|
|
62535
62533
|
style: Yh({
|
|
62536
62534
|
width: `${parseFloat(o[a.columns[1]]) / a.maxValue * 100}%`
|
|
@@ -62538,18 +62536,18 @@ function hre(r, e, t, n, a, i) {
|
|
|
62538
62536
|
}, null, 4)
|
|
62539
62537
|
])
|
|
62540
62538
|
]),
|
|
62541
|
-
|
|
62542
|
-
|
|
62539
|
+
F("div", ure, [
|
|
62540
|
+
F("span", cre, rt(i.formattedValue(o[a.columns[1]])), 1)
|
|
62543
62541
|
])
|
|
62544
62542
|
]))), 256))
|
|
62545
62543
|
])
|
|
62546
62544
|
])
|
|
62547
62545
|
])) : mt("", !0);
|
|
62548
62546
|
}
|
|
62549
|
-
const
|
|
62547
|
+
const hre = /* @__PURE__ */ yr(tre, [["render", fre]]), dre = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
62550
62548
|
__proto__: null,
|
|
62551
|
-
default:
|
|
62552
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
62549
|
+
default: hre
|
|
62550
|
+
}, Symbol.toStringTag, { value: "Module" })), vre = {
|
|
62553
62551
|
name: "VsListbar",
|
|
62554
62552
|
mixins: [ci],
|
|
62555
62553
|
props: ["source"],
|
|
@@ -62587,19 +62585,19 @@ const dre = /* @__PURE__ */ yr(rre, [["render", hre]]), vre = /* @__PURE__ */ Ob
|
|
|
62587
62585
|
return `${r / this.maxValue * 100}%`;
|
|
62588
62586
|
}
|
|
62589
62587
|
}
|
|
62590
|
-
},
|
|
62591
|
-
function
|
|
62592
|
-
return W(), te("div",
|
|
62593
|
-
|
|
62588
|
+
}, pre = { class: "h-full pt-[20px] list-bar" }, gre = { class: "space-y-2 custom-scrollbar h-full h-[calc(100%-20px)]" }, mre = { class: "relative w-full truncate" }, yre = { class: "relative z-[1] text-sm block py-1 px-2 w-full text-sm truncate text-gray-800" }, _re = { class: "text-[14px] text-gray-500" };
|
|
62589
|
+
function bre(r, e, t, n, a, i) {
|
|
62590
|
+
return W(), te("div", pre, [
|
|
62591
|
+
F("ul", gre, [
|
|
62594
62592
|
(W(!0), te(Et, null, Yt(r.sourceData, (o, s) => {
|
|
62595
62593
|
var l, u, c;
|
|
62596
62594
|
return W(), te("li", {
|
|
62597
62595
|
key: s,
|
|
62598
62596
|
class: "flex items-center justify-between w-full gap-x-2"
|
|
62599
62597
|
}, [
|
|
62600
|
-
|
|
62601
|
-
|
|
62602
|
-
|
|
62598
|
+
F("div", mre, [
|
|
62599
|
+
F("span", yre, rt((o == null ? void 0 : o[(l = a.columns) == null ? void 0 : l[0]]) || "Без категорії"), 1),
|
|
62600
|
+
F("div", {
|
|
62603
62601
|
class: tr(["absolute inset-y-0 h-full rounded start-0", o != null && o[(u = a.columns) == null ? void 0 : u[0]] ? "bg-indigo-100" : "bg-gray-100"]),
|
|
62604
62602
|
style: Yh({ width: i.getWidth(o == null ? void 0 : o[(c = a.columns) == null ? void 0 : c[1]]) })
|
|
62605
62603
|
}, null, 6)
|
|
@@ -62608,17 +62606,17 @@ function xre(r, e, t, n, a, i) {
|
|
|
62608
62606
|
key: h,
|
|
62609
62607
|
class: "w-20 mr-2 text-end"
|
|
62610
62608
|
}, [
|
|
62611
|
-
|
|
62609
|
+
F("span", _re, rt(i.formattedValue(o == null ? void 0 : o[f])), 1)
|
|
62612
62610
|
]))), 128))
|
|
62613
62611
|
]);
|
|
62614
62612
|
}), 128))
|
|
62615
62613
|
])
|
|
62616
62614
|
]);
|
|
62617
62615
|
}
|
|
62618
|
-
const
|
|
62616
|
+
const xre = /* @__PURE__ */ yr(vre, [["render", bre]]), wre = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
62619
62617
|
__proto__: null,
|
|
62620
|
-
default:
|
|
62621
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
62618
|
+
default: xre
|
|
62619
|
+
}, Symbol.toStringTag, { value: "Module" })), Sre = {
|
|
62622
62620
|
name: "VsPivotTable",
|
|
62623
62621
|
mixins: [ci],
|
|
62624
62622
|
data() {
|
|
@@ -62652,37 +62650,37 @@ const wre = /* @__PURE__ */ yr(pre, [["render", xre]]), Sre = /* @__PURE__ */ Ob
|
|
|
62652
62650
|
}
|
|
62653
62651
|
}
|
|
62654
62652
|
}
|
|
62655
|
-
},
|
|
62653
|
+
}, Tre = { class: "flex flex-col h-full p-5 space-y-4 rounded-xl custom-scrollbar" }, Ere = { class: "overflow-x-auto [&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 custom-scrollbar" }, Dre = { class: "inline-block min-w-full align-middle" }, Cre = { class: "min-w-full divide-y divide-gray-200" }, Are = { class: "space-x-2" }, Mre = {
|
|
62656
62654
|
scope: "col",
|
|
62657
62655
|
class: "xl:min-w-[120px] min-w-48"
|
|
62658
|
-
},
|
|
62659
|
-
function
|
|
62660
|
-
return W(), te("div",
|
|
62661
|
-
|
|
62662
|
-
|
|
62663
|
-
|
|
62664
|
-
|
|
62665
|
-
|
|
62666
|
-
e[0] || (e[0] =
|
|
62656
|
+
}, Ire = { class: "py-2.5 text-text-start flex items-center gap-x-1 text-sm font-normal text-gray-500" }, Lre = { class: "divide-y divide-gray-200 text-[12px]" }, kre = { class: "py-3 size-px whitespace-nowrap" }, Nre = { class: "flex items-center gap-x-3" }, Rre = { class: "font-medium text-gray-800" }, Ore = { class: "py-3 size-px whitespace-nowrap" }, Pre = { class: "text-gray-600" };
|
|
62657
|
+
function Bre(r, e, t, n, a, i) {
|
|
62658
|
+
return W(), te("div", Tre, [
|
|
62659
|
+
F("div", Ere, [
|
|
62660
|
+
F("div", Dre, [
|
|
62661
|
+
F("table", Cre, [
|
|
62662
|
+
F("thead", null, [
|
|
62663
|
+
F("tr", Are, [
|
|
62664
|
+
e[0] || (e[0] = F("th", {
|
|
62667
62665
|
scope: "col",
|
|
62668
62666
|
class: "min-w-[200px]"
|
|
62669
62667
|
}, [
|
|
62670
|
-
|
|
62668
|
+
F("div", { class: "py-2.5 text-text-start flex items-center gap-x-1 text-sm font-normal text-gray-500" })
|
|
62671
62669
|
], -1)),
|
|
62672
|
-
(W(!0), te(Et, null, Yt(a.xs, (o) => (W(), te("th",
|
|
62673
|
-
|
|
62670
|
+
(W(!0), te(Et, null, Yt(a.xs, (o) => (W(), te("th", Mre, [
|
|
62671
|
+
F("div", Ire, rt(o), 1)
|
|
62674
62672
|
]))), 256))
|
|
62675
62673
|
])
|
|
62676
62674
|
]),
|
|
62677
|
-
(W(!0), te(Et, null, Yt(a.values, (o) => (W(), te("tbody",
|
|
62678
|
-
|
|
62679
|
-
|
|
62680
|
-
|
|
62681
|
-
|
|
62675
|
+
(W(!0), te(Et, null, Yt(a.values, (o) => (W(), te("tbody", Lre, [
|
|
62676
|
+
F("tr", null, [
|
|
62677
|
+
F("td", kre, [
|
|
62678
|
+
F("div", Nre, [
|
|
62679
|
+
F("span", Rre, rt(o.name), 1)
|
|
62682
62680
|
])
|
|
62683
62681
|
]),
|
|
62684
|
-
(W(!0), te(Et, null, Yt(a.xs, (s, l) => (W(), te("td",
|
|
62685
|
-
|
|
62682
|
+
(W(!0), te(Et, null, Yt(a.xs, (s, l) => (W(), te("td", Ore, [
|
|
62683
|
+
F("span", Pre, rt(o.data[l]), 1)
|
|
62686
62684
|
]))), 256))
|
|
62687
62685
|
])
|
|
62688
62686
|
]))), 256))
|
|
@@ -62691,14 +62689,14 @@ function Vre(r, e, t, n, a, i) {
|
|
|
62691
62689
|
])
|
|
62692
62690
|
]);
|
|
62693
62691
|
}
|
|
62694
|
-
const
|
|
62692
|
+
const Vre = /* @__PURE__ */ yr(Sre, [["render", Bre]]), zre = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
62695
62693
|
__proto__: null,
|
|
62696
|
-
default:
|
|
62694
|
+
default: Vre
|
|
62697
62695
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
62698
62696
|
export {
|
|
62699
|
-
|
|
62700
|
-
|
|
62701
|
-
|
|
62697
|
+
Ste as R,
|
|
62698
|
+
wte as U,
|
|
62699
|
+
bte as V,
|
|
62702
62700
|
WR as X,
|
|
62703
62701
|
yr as _,
|
|
62704
62702
|
Bu as a,
|
|
@@ -62706,20 +62704,20 @@ export {
|
|
|
62706
62704
|
ci as c,
|
|
62707
62705
|
Wn as d,
|
|
62708
62706
|
Dr as e,
|
|
62709
|
-
|
|
62707
|
+
Ure as f,
|
|
62710
62708
|
Ut as g,
|
|
62711
62709
|
aR as h,
|
|
62712
62710
|
n_ as i,
|
|
62713
62711
|
See as j,
|
|
62714
|
-
|
|
62715
|
-
|
|
62712
|
+
Hre as k,
|
|
62713
|
+
kte as l,
|
|
62716
62714
|
ot as m,
|
|
62717
|
-
|
|
62718
|
-
|
|
62719
|
-
|
|
62720
|
-
|
|
62721
|
-
|
|
62722
|
-
|
|
62715
|
+
Bte as n,
|
|
62716
|
+
Jte as o,
|
|
62717
|
+
hre as p,
|
|
62718
|
+
xre as q,
|
|
62719
|
+
Vre as r,
|
|
62720
|
+
$re as s,
|
|
62723
62721
|
Ff as t,
|
|
62724
|
-
|
|
62722
|
+
Cte as v
|
|
62725
62723
|
};
|