@devtable/dashboard 8.24.0 → 8.24.1
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/dashboard.es.js +569 -566
- package/dist/dashboard.umd.js +44 -44
- package/package.json +1 -1
package/dist/dashboard.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var nx = Object.defineProperty;
|
|
2
2
|
var rx = (e, t, n) => t in e ? nx(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Le = (e, t, n) => (rx(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
-
import { Box as Se, Text as K, Button as de, Checkbox as tn, Group as B, Tooltip as nn, MultiSelect as va, Select as Te, TextInput as ve, createStyles as ya, Stack as G, Badge as ox, CloseButton as ix, Modal as cn, ActionIcon as We, Menu as vr, Divider as Ce, Switch as Mn, NumberInput as wt, useMantineTheme as Hg, ColorInput as Du, ColorSwatch as Mc, Slider as ax, Overlay as Ao, Tabs as H, Center as fi, CheckIcon as sx, MANTINE_SIZES as lx, SimpleGrid as Xo, SegmentedControl as cx, Textarea as ux, Collapse as Au, Table as Us, Accordion as
|
|
4
|
+
import { Box as Se, Text as K, Button as de, Checkbox as tn, Group as B, Tooltip as nn, MultiSelect as va, Select as Te, TextInput as ve, createStyles as ya, Stack as G, Badge as ox, CloseButton as ix, Modal as cn, ActionIcon as We, Menu as vr, Divider as Ce, Switch as Mn, NumberInput as wt, useMantineTheme as Hg, ColorInput as Du, ColorSwatch as Mc, Slider as ax, Overlay as Ao, Tabs as H, Center as fi, CheckIcon as sx, MANTINE_SIZES as lx, SimpleGrid as Xo, SegmentedControl as cx, Textarea as ux, Collapse as Au, Table as Us, Accordion as ho, Popover as Ll, LoadingOverlay as ba, Flex as Ys, Paper as Pu, Code as Tf, Alert as dx, Header as fx, ThemeIcon as Vl, HoverCard as zl, List as Mf, UnstyledButton as px, Navbar as Er, JsonInput as Bg, NavLink as hx, AppShell as jg } from "@mantine/core";
|
|
5
5
|
import { useModals as Po, ModalsProvider as Kg } from "@mantine/modals";
|
|
6
6
|
import { useCreation as tr, usePrevious as gx, useBoolean as Pn, useLatest as Of, useRequest as wa, useAsyncEffect as xa } from "ahooks";
|
|
7
7
|
import { observer as re } from "mobx-react-lite";
|
|
8
8
|
import * as C from "react";
|
|
9
|
-
import Z, { useEffect as fe, createContext as $o, useMemo as oe, forwardRef as Yt, createElement as
|
|
10
|
-
import
|
|
9
|
+
import Z, { useEffect as fe, createContext as $o, useMemo as oe, forwardRef as Yt, createElement as lo, useRef as _e, useState as ze, useCallback as ht, useImperativeHandle as mx, useLayoutEffect as vx, useContext as yn, useDebugValue as yx, memo as It } from "react";
|
|
10
|
+
import J, { template as $u, cloneDeepWith as bx, get as bt, isFunction as wx, omit as ko, values as Wg, unset as xx, isObject as Gg, set as Nu, orderBy as Sx, last as qg, defaults as on, minBy as _x, maxBy as Cx, cloneDeep as bn, isEqual as qt, defaultsDeep as an, keyBy as Ug, merge as Ex, isEmpty as Iu, isNumber as kx, findLastIndex as Tx, isString as Yg, range as Mx, throttle as Ox, pick as Xg } from "lodash";
|
|
11
11
|
import { useForm as pn, useWatch as Rx, Controller as F, useFieldArray as $n } from "react-hook-form";
|
|
12
12
|
import { Link as Qg, RichTextEditor as pt } from "@mantine/tiptap";
|
|
13
13
|
import { Mark as Sa, mergeAttributes as _a, getMarkAttributes as Dx, Extension as Lu, markInputRule as Ax, markPasteRule as Px } from "@tiptap/core";
|
|
@@ -17,7 +17,7 @@ import { useEditor as Zg } from "@tiptap/react";
|
|
|
17
17
|
import Jg from "@tiptap/starter-kit";
|
|
18
18
|
import { DateRangePicker as Lx } from "@mantine/dates";
|
|
19
19
|
import nr from "dayjs";
|
|
20
|
-
import { Calendar as Vx, InfoCircle as Xs, Refresh as em, Download as tm, ArrowsMaximize as zx, Settings as nm, Copy as Fx, Trash as Ft, DeviceFloppy as Nt, ArrowRight as Fl, PlaylistAdd as Qs, Recycle as
|
|
20
|
+
import { Calendar as Vx, InfoCircle as Xs, Refresh as em, Download as tm, ArrowsMaximize as zx, Settings as nm, Copy as Fx, Trash as Ft, DeviceFloppy as Nt, ArrowRight as Fl, PlaylistAdd as Qs, Recycle as Ir, Plus as qn, AlertCircle as Hx, ArrowsMove as Bx, ChevronDownRight as jx, ArrowLeft as Kx, ChevronsUpRight as Wx, ArrowBarToRight as Gx } from "tabler-icons-react";
|
|
21
21
|
import Zi from "react-dom";
|
|
22
22
|
import rm, { WidthProvider as om } from "react-grid-layout";
|
|
23
23
|
import { observable as im, runInAction as Wi, toJS as Ca, reaction as Zs, makeAutoObservable as Ea } from "mobx";
|
|
@@ -25,23 +25,23 @@ import Rf from "eventemitter2";
|
|
|
25
25
|
import Ji, { random as ka } from "chroma-js";
|
|
26
26
|
import "echarts-gl";
|
|
27
27
|
import * as At from "echarts/core";
|
|
28
|
-
import { GridComponent as
|
|
28
|
+
import { GridComponent as Lr, VisualMapComponent as am, LegendComponent as Vr, TooltipComponent as zr, DataZoomComponent as No, MarkLineComponent as Vu, MarkAreaComponent as sm } from "echarts/components";
|
|
29
29
|
import { CanvasRenderer as rr } from "echarts/renderers";
|
|
30
30
|
import or from "echarts-for-react/lib/core";
|
|
31
31
|
import Wt from "numbro";
|
|
32
32
|
import { BoxplotChart as qx, BarChart as Js, LineChart as el, ScatterChart as zu, FunnelChart as Ux, HeatmapChart as Yx, PieChart as Xx, RadarChart as Qx, SunburstChart as Zx } from "echarts/charts";
|
|
33
|
-
import { useElementSize as ea, randomId as
|
|
33
|
+
import { useElementSize as ea, randomId as no, useClipboard as Jx, useInputState as lm, useDisclosure as eS } from "@mantine/hooks";
|
|
34
34
|
import { showNotification as tl } from "@mantine/notifications";
|
|
35
35
|
import * as tS from "d3-array";
|
|
36
36
|
import { quantile as ss } from "d3-array";
|
|
37
37
|
import Un, { loader as Hl } from "@monaco-editor/react";
|
|
38
38
|
import { transform as nl } from "echarts-stat";
|
|
39
39
|
import { Prism as ri } from "@mantine/prism";
|
|
40
|
-
import * as
|
|
40
|
+
import * as Qr from "d3-regression";
|
|
41
41
|
import { useVirtual as nS } from "react-virtual";
|
|
42
42
|
import hs from "axios";
|
|
43
43
|
import cm from "crypto-js";
|
|
44
|
-
import { types as L, getParent as pi, getRoot as Bn, cast as hi, addDisposer as Fu, addMiddleware as rS, getType as oS, flow as Df, toGenerator as Af, detach as iS, clone as aS, getSnapshot as kr, applySnapshot as
|
|
44
|
+
import { types as L, getParent as pi, getRoot as Bn, cast as hi, addDisposer as Fu, addMiddleware as rS, getType as oS, flow as Df, toGenerator as Af, detach as iS, clone as aS, getSnapshot as kr, applySnapshot as bo, getParentOfType as Pf, castToSnapshot as um } from "mobx-state-tree";
|
|
45
45
|
import sS from "jszip";
|
|
46
46
|
function dm(e, t) {
|
|
47
47
|
fe(() => {
|
|
@@ -66,7 +66,7 @@ function dm(e, t) {
|
|
|
66
66
|
return;
|
|
67
67
|
}
|
|
68
68
|
Object.entries(o).forEach(([a, s]) => {
|
|
69
|
-
e.filters.setValueByKey(a,
|
|
69
|
+
e.filters.setValueByKey(a, J.get(i, s));
|
|
70
70
|
});
|
|
71
71
|
};
|
|
72
72
|
return window.addEventListener("set-filter-values", n), () => {
|
|
@@ -80,7 +80,7 @@ function dm(e, t) {
|
|
|
80
80
|
console.log(o);
|
|
81
81
|
const { filter_keys: i } = o.detail;
|
|
82
82
|
i.forEach((a) => {
|
|
83
|
-
const s =
|
|
83
|
+
const s = J.get(e.filters.values, a), c = n(s);
|
|
84
84
|
console.log(`${a}: ${c}`), e.filters.setValueByKey(a, c);
|
|
85
85
|
});
|
|
86
86
|
};
|
|
@@ -216,16 +216,16 @@ function dS() {
|
|
|
216
216
|
var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
217
217
|
function S(N) {
|
|
218
218
|
{
|
|
219
|
-
for (var te = arguments.length,
|
|
220
|
-
|
|
221
|
-
x("error", N,
|
|
219
|
+
for (var te = arguments.length, ee = new Array(te > 1 ? te - 1 : 0), me = 1; me < te; me++)
|
|
220
|
+
ee[me - 1] = arguments[me];
|
|
221
|
+
x("error", N, ee);
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
-
function x(N, te,
|
|
224
|
+
function x(N, te, ee) {
|
|
225
225
|
{
|
|
226
226
|
var me = y.ReactDebugCurrentFrame, xe = me.getStackAddendum();
|
|
227
|
-
xe !== "" && (te += "%s",
|
|
228
|
-
var $e =
|
|
227
|
+
xe !== "" && (te += "%s", ee = ee.concat([xe]));
|
|
228
|
+
var $e = ee.map(function(je) {
|
|
229
229
|
return String(je);
|
|
230
230
|
});
|
|
231
231
|
$e.unshift("Warning: " + te), Function.prototype.apply.call(console[N], console, $e);
|
|
@@ -236,12 +236,12 @@ function dS() {
|
|
|
236
236
|
function R(N) {
|
|
237
237
|
return !!(typeof N == "string" || typeof N == "function" || N === r || N === i || $ || N === o || N === u || N === d || O || N === h || w || _ || k || typeof N == "object" && N !== null && (N.$$typeof === p || N.$$typeof === f || N.$$typeof === a || N.$$typeof === s || N.$$typeof === c || N.$$typeof === V || N.getModuleId !== void 0));
|
|
238
238
|
}
|
|
239
|
-
function T(N, te,
|
|
239
|
+
function T(N, te, ee) {
|
|
240
240
|
var me = N.displayName;
|
|
241
241
|
if (me)
|
|
242
242
|
return me;
|
|
243
243
|
var xe = te.displayName || te.name || "";
|
|
244
|
-
return xe !== "" ?
|
|
244
|
+
return xe !== "" ? ee + "(" + xe + ")" : ee;
|
|
245
245
|
}
|
|
246
246
|
function A(N) {
|
|
247
247
|
return N.displayName || "Context";
|
|
@@ -273,8 +273,8 @@ function dS() {
|
|
|
273
273
|
var te = N;
|
|
274
274
|
return A(te) + ".Consumer";
|
|
275
275
|
case a:
|
|
276
|
-
var
|
|
277
|
-
return A(
|
|
276
|
+
var ee = N;
|
|
277
|
+
return A(ee._context) + ".Provider";
|
|
278
278
|
case c:
|
|
279
279
|
return T(N, N.render, "ForwardRef");
|
|
280
280
|
case f:
|
|
@@ -354,7 +354,7 @@ function dS() {
|
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
var he = y.ReactCurrentDispatcher, pe;
|
|
357
|
-
function ue(N, te,
|
|
357
|
+
function ue(N, te, ee) {
|
|
358
358
|
{
|
|
359
359
|
if (pe === void 0)
|
|
360
360
|
try {
|
|
@@ -376,9 +376,9 @@ function dS() {
|
|
|
376
376
|
if (!N || ce)
|
|
377
377
|
return "";
|
|
378
378
|
{
|
|
379
|
-
var
|
|
380
|
-
if (
|
|
381
|
-
return
|
|
379
|
+
var ee = Me.get(N);
|
|
380
|
+
if (ee !== void 0)
|
|
381
|
+
return ee;
|
|
382
382
|
}
|
|
383
383
|
var me;
|
|
384
384
|
ce = !0;
|
|
@@ -443,14 +443,14 @@ function dS() {
|
|
|
443
443
|
var xn = N ? N.displayName || N.name : "", Nn = xn ? ue(xn) : "";
|
|
444
444
|
return typeof N == "function" && Me.set(N, Nn), Nn;
|
|
445
445
|
}
|
|
446
|
-
function ae(N, te,
|
|
446
|
+
function ae(N, te, ee) {
|
|
447
447
|
return X(N, !1);
|
|
448
448
|
}
|
|
449
449
|
function Oe(N) {
|
|
450
450
|
var te = N.prototype;
|
|
451
451
|
return !!(te && te.isReactComponent);
|
|
452
452
|
}
|
|
453
|
-
function U(N, te,
|
|
453
|
+
function U(N, te, ee) {
|
|
454
454
|
if (N == null)
|
|
455
455
|
return "";
|
|
456
456
|
if (typeof N == "function")
|
|
@@ -468,11 +468,11 @@ function dS() {
|
|
|
468
468
|
case c:
|
|
469
469
|
return ae(N.render);
|
|
470
470
|
case f:
|
|
471
|
-
return U(N.type, te,
|
|
471
|
+
return U(N.type, te, ee);
|
|
472
472
|
case p: {
|
|
473
473
|
var me = N, xe = me._payload, $e = me._init;
|
|
474
474
|
try {
|
|
475
|
-
return U($e(xe), te,
|
|
475
|
+
return U($e(xe), te, ee);
|
|
476
476
|
} catch {
|
|
477
477
|
}
|
|
478
478
|
}
|
|
@@ -482,12 +482,12 @@ function dS() {
|
|
|
482
482
|
var ke = Object.prototype.hasOwnProperty, be = {}, Ae = y.ReactDebugCurrentFrame;
|
|
483
483
|
function Ne(N) {
|
|
484
484
|
if (N) {
|
|
485
|
-
var te = N._owner,
|
|
486
|
-
Ae.setExtraStackFrame(
|
|
485
|
+
var te = N._owner, ee = U(N.type, N._source, te ? te.type : null);
|
|
486
|
+
Ae.setExtraStackFrame(ee);
|
|
487
487
|
} else
|
|
488
488
|
Ae.setExtraStackFrame(null);
|
|
489
489
|
}
|
|
490
|
-
function ye(N, te,
|
|
490
|
+
function ye(N, te, ee, me, xe) {
|
|
491
491
|
{
|
|
492
492
|
var $e = Function.call.bind(ke);
|
|
493
493
|
for (var je in N)
|
|
@@ -495,14 +495,14 @@ function dS() {
|
|
|
495
495
|
var Ve = void 0;
|
|
496
496
|
try {
|
|
497
497
|
if (typeof N[je] != "function") {
|
|
498
|
-
var Qe = Error((me || "React class") + ": " +
|
|
498
|
+
var Qe = Error((me || "React class") + ": " + ee + " type `" + je + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof N[je] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
499
499
|
throw Qe.name = "Invariant Violation", Qe;
|
|
500
500
|
}
|
|
501
|
-
Ve = N[je](te, je, me,
|
|
501
|
+
Ve = N[je](te, je, me, ee, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
502
502
|
} catch (Ue) {
|
|
503
503
|
Ve = Ue;
|
|
504
504
|
}
|
|
505
|
-
Ve && !(Ve instanceof Error) && (Ne(xe), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", me || "React class",
|
|
505
|
+
Ve && !(Ve instanceof Error) && (Ne(xe), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", me || "React class", ee, je, typeof Ve), Ne(null)), Ve instanceof Error && !(Ve.message in be) && (be[Ve.message] = !0, Ne(xe), S("Failed %s type: %s", ee, Ve.message), Ne(null));
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
508
|
}
|
|
@@ -512,8 +512,8 @@ function dS() {
|
|
|
512
512
|
}
|
|
513
513
|
function it(N) {
|
|
514
514
|
{
|
|
515
|
-
var te = typeof Symbol == "function" && Symbol.toStringTag,
|
|
516
|
-
return
|
|
515
|
+
var te = typeof Symbol == "function" && Symbol.toStringTag, ee = te && N[Symbol.toStringTag] || N.constructor.name || "Object";
|
|
516
|
+
return ee;
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function Pe(N) {
|
|
@@ -555,38 +555,38 @@ function dS() {
|
|
|
555
555
|
}
|
|
556
556
|
function lt(N, te) {
|
|
557
557
|
if (typeof N.ref == "string" && qe.current && te && qe.current.stateNode !== te) {
|
|
558
|
-
var
|
|
559
|
-
vt[
|
|
558
|
+
var ee = I(qe.current.type);
|
|
559
|
+
vt[ee] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', I(qe.current.type), N.ref), vt[ee] = !0);
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
562
|
function Vt(N, te) {
|
|
563
563
|
{
|
|
564
|
-
var
|
|
564
|
+
var ee = function() {
|
|
565
565
|
dt || (dt = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", te));
|
|
566
566
|
};
|
|
567
|
-
|
|
568
|
-
get:
|
|
567
|
+
ee.isReactWarning = !0, Object.defineProperty(N, "key", {
|
|
568
|
+
get: ee,
|
|
569
569
|
configurable: !0
|
|
570
570
|
});
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
function yt(N, te) {
|
|
574
574
|
{
|
|
575
|
-
var
|
|
575
|
+
var ee = function() {
|
|
576
576
|
et || (et = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", te));
|
|
577
577
|
};
|
|
578
|
-
|
|
579
|
-
get:
|
|
578
|
+
ee.isReactWarning = !0, Object.defineProperty(N, "ref", {
|
|
579
|
+
get: ee,
|
|
580
580
|
configurable: !0
|
|
581
581
|
});
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
-
var Bt = function(N, te,
|
|
584
|
+
var Bt = function(N, te, ee, me, xe, $e, je) {
|
|
585
585
|
var Ve = {
|
|
586
586
|
$$typeof: t,
|
|
587
587
|
type: N,
|
|
588
588
|
key: te,
|
|
589
|
-
ref:
|
|
589
|
+
ref: ee,
|
|
590
590
|
props: je,
|
|
591
591
|
_owner: $e
|
|
592
592
|
};
|
|
@@ -607,10 +607,10 @@ function dS() {
|
|
|
607
607
|
value: xe
|
|
608
608
|
}), Object.freeze && (Object.freeze(Ve.props), Object.freeze(Ve)), Ve;
|
|
609
609
|
};
|
|
610
|
-
function St(N, te,
|
|
610
|
+
function St(N, te, ee, me, xe) {
|
|
611
611
|
{
|
|
612
612
|
var $e, je = {}, Ve = null, Qe = null;
|
|
613
|
-
|
|
613
|
+
ee !== void 0 && (Ke(ee), Ve = "" + ee), Be(te) && (Ke(te.key), Ve = "" + te.key), Re(te) && (Qe = te.ref, lt(te, xe));
|
|
614
614
|
for ($e in te)
|
|
615
615
|
ke.call(te, $e) && !xt.hasOwnProperty($e) && (je[$e] = te[$e]);
|
|
616
616
|
if (N && N.defaultProps) {
|
|
@@ -628,8 +628,8 @@ function dS() {
|
|
|
628
628
|
var sn = y.ReactCurrentOwner, jt = y.ReactDebugCurrentFrame;
|
|
629
629
|
function Ot(N) {
|
|
630
630
|
if (N) {
|
|
631
|
-
var te = N._owner,
|
|
632
|
-
jt.setExtraStackFrame(
|
|
631
|
+
var te = N._owner, ee = U(N.type, N._source, te ? te.type : null);
|
|
632
|
+
jt.setExtraStackFrame(ee);
|
|
633
633
|
} else
|
|
634
634
|
jt.setExtraStackFrame(null);
|
|
635
635
|
}
|
|
@@ -653,10 +653,10 @@ Check the render method of \`` + N + "`.";
|
|
|
653
653
|
function On(N) {
|
|
654
654
|
{
|
|
655
655
|
if (N !== void 0) {
|
|
656
|
-
var te = N.fileName.replace(/^.*[\\\/]/, ""),
|
|
656
|
+
var te = N.fileName.replace(/^.*[\\\/]/, ""), ee = N.lineNumber;
|
|
657
657
|
return `
|
|
658
658
|
|
|
659
|
-
Check your code at ` + te + ":" +
|
|
659
|
+
Check your code at ` + te + ":" + ee + ".";
|
|
660
660
|
}
|
|
661
661
|
return "";
|
|
662
662
|
}
|
|
@@ -666,10 +666,10 @@ Check your code at ` + te + ":" + J + ".";
|
|
|
666
666
|
{
|
|
667
667
|
var te = Ct();
|
|
668
668
|
if (!te) {
|
|
669
|
-
var
|
|
670
|
-
|
|
669
|
+
var ee = typeof N == "string" ? N : N.displayName || N.name;
|
|
670
|
+
ee && (te = `
|
|
671
671
|
|
|
672
|
-
Check the top-level render call using <` +
|
|
672
|
+
Check the top-level render call using <` + ee + ">.");
|
|
673
673
|
}
|
|
674
674
|
return te;
|
|
675
675
|
}
|
|
@@ -679,12 +679,12 @@ Check the top-level render call using <` + J + ">.");
|
|
|
679
679
|
if (!N._store || N._store.validated || N.key != null)
|
|
680
680
|
return;
|
|
681
681
|
N._store.validated = !0;
|
|
682
|
-
var
|
|
683
|
-
if (Xt[
|
|
682
|
+
var ee = se(te);
|
|
683
|
+
if (Xt[ee])
|
|
684
684
|
return;
|
|
685
|
-
Xt[
|
|
685
|
+
Xt[ee] = !0;
|
|
686
686
|
var me = "";
|
|
687
|
-
N && N._owner && N._owner !== sn.current && (me = " It was passed a child from " + I(N._owner.type) + "."), Ot(N), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
|
687
|
+
N && N._owner && N._owner !== sn.current && (me = " It was passed a child from " + I(N._owner.type) + "."), Ot(N), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', ee, me), Ot(null);
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
690
|
function we(N, te) {
|
|
@@ -692,8 +692,8 @@ Check the top-level render call using <` + J + ">.");
|
|
|
692
692
|
if (typeof N != "object")
|
|
693
693
|
return;
|
|
694
694
|
if (He(N))
|
|
695
|
-
for (var
|
|
696
|
-
var me = N[
|
|
695
|
+
for (var ee = 0; ee < N.length; ee++) {
|
|
696
|
+
var me = N[ee];
|
|
697
697
|
un(me) && ge(me, te);
|
|
698
698
|
}
|
|
699
699
|
else if (un(N))
|
|
@@ -711,16 +711,16 @@ Check the top-level render call using <` + J + ">.");
|
|
|
711
711
|
var te = N.type;
|
|
712
712
|
if (te == null || typeof te == "string")
|
|
713
713
|
return;
|
|
714
|
-
var
|
|
714
|
+
var ee;
|
|
715
715
|
if (typeof te == "function")
|
|
716
|
-
|
|
716
|
+
ee = te.propTypes;
|
|
717
717
|
else if (typeof te == "object" && (te.$$typeof === c || te.$$typeof === f))
|
|
718
|
-
|
|
718
|
+
ee = te.propTypes;
|
|
719
719
|
else
|
|
720
720
|
return;
|
|
721
|
-
if (
|
|
721
|
+
if (ee) {
|
|
722
722
|
var me = I(te);
|
|
723
|
-
ye(
|
|
723
|
+
ye(ee, N.props, "prop", me, N);
|
|
724
724
|
} else if (te.PropTypes !== void 0 && !Lt) {
|
|
725
725
|
Lt = !0;
|
|
726
726
|
var xe = I(te);
|
|
@@ -731,8 +731,8 @@ Check the top-level render call using <` + J + ">.");
|
|
|
731
731
|
}
|
|
732
732
|
function at(N) {
|
|
733
733
|
{
|
|
734
|
-
for (var te = Object.keys(N.props),
|
|
735
|
-
var me = te[
|
|
734
|
+
for (var te = Object.keys(N.props), ee = 0; ee < te.length; ee++) {
|
|
735
|
+
var me = te[ee];
|
|
736
736
|
if (me !== "children" && me !== "key") {
|
|
737
737
|
Ot(N), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", me), Ot(null);
|
|
738
738
|
break;
|
|
@@ -741,7 +741,7 @@ Check the top-level render call using <` + J + ">.");
|
|
|
741
741
|
N.ref !== null && (Ot(N), S("Invalid attribute `ref` supplied to `React.Fragment`."), Ot(null));
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
|
-
function _t(N, te,
|
|
744
|
+
function _t(N, te, ee, me, xe, $e) {
|
|
745
745
|
{
|
|
746
746
|
var je = R(N);
|
|
747
747
|
if (!je) {
|
|
@@ -752,7 +752,7 @@ Check the top-level render call using <` + J + ">.");
|
|
|
752
752
|
var Ue;
|
|
753
753
|
N === null ? Ue = "null" : He(N) ? Ue = "array" : N !== void 0 && N.$$typeof === t ? (Ue = "<" + (I(N.type) || "Unknown") + " />", Ve = " Did you accidentally export a JSX literal instead of a component?") : Ue = typeof N, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ue, Ve);
|
|
754
754
|
}
|
|
755
|
-
var rt = St(N, te,
|
|
755
|
+
var rt = St(N, te, ee, xe, $e);
|
|
756
756
|
if (rt == null)
|
|
757
757
|
return rt;
|
|
758
758
|
if (je) {
|
|
@@ -771,11 +771,11 @@ Check the top-level render call using <` + J + ">.");
|
|
|
771
771
|
return N === r ? at(rt) : Fe(rt), rt;
|
|
772
772
|
}
|
|
773
773
|
}
|
|
774
|
-
function dn(N, te,
|
|
775
|
-
return _t(N, te,
|
|
774
|
+
function dn(N, te, ee) {
|
|
775
|
+
return _t(N, te, ee, !0);
|
|
776
776
|
}
|
|
777
|
-
function fn(N, te,
|
|
778
|
-
return _t(N, te,
|
|
777
|
+
function fn(N, te, ee) {
|
|
778
|
+
return _t(N, te, ee, !1);
|
|
779
779
|
}
|
|
780
780
|
var Rn = fn, Dt = dn;
|
|
781
781
|
Ri.Fragment = r, Ri.jsx = Rn, Ri.jsxs = Dt;
|
|
@@ -796,7 +796,7 @@ function fm() {
|
|
|
796
796
|
return Z.useContext(Oc);
|
|
797
797
|
}
|
|
798
798
|
const fS = {
|
|
799
|
-
viewPanelInFullScreen:
|
|
799
|
+
viewPanelInFullScreen: J.noop,
|
|
800
800
|
inFullScreen: !1
|
|
801
801
|
}, Bu = Z.createContext(fS), pm = Z.createContext(null), hm = pm.Provider;
|
|
802
802
|
function Ge() {
|
|
@@ -805,7 +805,7 @@ function Ge() {
|
|
|
805
805
|
throw new Error("Please use ModelContextProvider");
|
|
806
806
|
return e;
|
|
807
807
|
}
|
|
808
|
-
class
|
|
808
|
+
class Rr extends Z.Component {
|
|
809
809
|
constructor(t) {
|
|
810
810
|
super(t), this.state = {
|
|
811
811
|
error: null
|
|
@@ -983,7 +983,7 @@ function QS(e) {
|
|
|
983
983
|
return C.createElement("svg", Mt({ xmlns: "http://www.w3.org/2000/svg", className: "icon icon-tabler icon-tabler-playlist-add", width: n, height: n, viewBox: "0 0 24 24", strokeWidth: a, stroke: o, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }, s), C.createElement("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), C.createElement("path", { d: "M19 8h-14" }), C.createElement("path", { d: "M5 12h9" }), C.createElement("path", { d: "M11 16h-6" }), C.createElement("path", { d: "M15 16h6" }), C.createElement("path", { d: "M18 13v6" }));
|
|
984
984
|
}
|
|
985
985
|
var ZS = ["size", "color", "stroke"];
|
|
986
|
-
function
|
|
986
|
+
function co(e) {
|
|
987
987
|
var t = e.size, n = t === void 0 ? 24 : t, r = e.color, o = r === void 0 ? "currentColor" : r, i = e.stroke, a = i === void 0 ? 2 : i, s = Rt(e, ZS);
|
|
988
988
|
return C.createElement("svg", Mt({ xmlns: "http://www.w3.org/2000/svg", className: "icon icon-tabler icon-tabler-plus", width: n, height: n, viewBox: "0 0 24 24", strokeWidth: a, stroke: o, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }, s), C.createElement("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), C.createElement("line", { x1: 12, y1: 5, x2: 12, y2: 19 }), C.createElement("line", { x1: 5, y1: 12, x2: 19, y2: 12 }));
|
|
989
989
|
}
|
|
@@ -1381,7 +1381,7 @@ const bm = Sa.create({
|
|
|
1381
1381
|
}), bm, wm],
|
|
1382
1382
|
content: e,
|
|
1383
1383
|
editable: !1
|
|
1384
|
-
}), r = oe(() =>
|
|
1384
|
+
}), r = oe(() => J.defaultsDeep({}, {
|
|
1385
1385
|
content: ju
|
|
1386
1386
|
}, t), [t]);
|
|
1387
1387
|
return /* @__PURE__ */ l(pt, {
|
|
@@ -1491,7 +1491,7 @@ const bm = Sa.create({
|
|
|
1491
1491
|
});
|
|
1492
1492
|
}), d_ = {
|
|
1493
1493
|
layoutFrozen: !1,
|
|
1494
|
-
freezeLayout:
|
|
1494
|
+
freezeLayout: J.noop,
|
|
1495
1495
|
inEditMode: !1
|
|
1496
1496
|
}, gi = Z.createContext(d_), Mm = Z.createContext({
|
|
1497
1497
|
panel: null,
|
|
@@ -1506,7 +1506,7 @@ function En() {
|
|
|
1506
1506
|
}
|
|
1507
1507
|
const f_ = {
|
|
1508
1508
|
fullScreenPanelID: "",
|
|
1509
|
-
setFullScreenPanelID:
|
|
1509
|
+
setFullScreenPanelID: J.noop
|
|
1510
1510
|
}, Rm = Z.createContext(f_);
|
|
1511
1511
|
function p_() {
|
|
1512
1512
|
const e = Z.useContext(Rm);
|
|
@@ -1695,7 +1695,7 @@ function w_() {
|
|
|
1695
1695
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1696
1696
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1697
1697
|
}
|
|
1698
|
-
function
|
|
1698
|
+
function Gr(e) {
|
|
1699
1699
|
return y_(e) || b_(e) || Pm(e) || w_();
|
|
1700
1700
|
}
|
|
1701
1701
|
function To(e) {
|
|
@@ -1784,7 +1784,7 @@ function E_() {
|
|
|
1784
1784
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1785
1785
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1786
1786
|
}
|
|
1787
|
-
function
|
|
1787
|
+
function qr(e, t) {
|
|
1788
1788
|
return __(e) || C_(e, t) || Pm(e, t) || E_();
|
|
1789
1789
|
}
|
|
1790
1790
|
function k_(e, t) {
|
|
@@ -1838,20 +1838,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1838
1838
|
function Fn(e) {
|
|
1839
1839
|
return T_(e) || Im(e) || Ku(e) || M_();
|
|
1840
1840
|
}
|
|
1841
|
-
function
|
|
1842
|
-
return
|
|
1841
|
+
function Dr(e) {
|
|
1842
|
+
return Dr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1843
1843
|
return typeof t;
|
|
1844
1844
|
} : function(t) {
|
|
1845
1845
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1846
|
-
},
|
|
1846
|
+
}, Dr(e);
|
|
1847
1847
|
}
|
|
1848
1848
|
function O_(e, t) {
|
|
1849
|
-
if (
|
|
1849
|
+
if (Dr(e) !== "object" || e === null)
|
|
1850
1850
|
return e;
|
|
1851
1851
|
var n = e[Symbol.toPrimitive];
|
|
1852
1852
|
if (n !== void 0) {
|
|
1853
1853
|
var r = n.call(e, t || "default");
|
|
1854
|
-
if (
|
|
1854
|
+
if (Dr(r) !== "object")
|
|
1855
1855
|
return r;
|
|
1856
1856
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1857
1857
|
}
|
|
@@ -1859,7 +1859,7 @@ function O_(e, t) {
|
|
|
1859
1859
|
}
|
|
1860
1860
|
function R_(e) {
|
|
1861
1861
|
var t = O_(e, "string");
|
|
1862
|
-
return
|
|
1862
|
+
return Dr(t) === "symbol" ? t : String(t);
|
|
1863
1863
|
}
|
|
1864
1864
|
function Gt(e, t, n) {
|
|
1865
1865
|
return t = R_(t), t in e ? Object.defineProperty(e, t, {
|
|
@@ -2007,18 +2007,18 @@ function Ff(e) {
|
|
|
2007
2007
|
function vi() {
|
|
2008
2008
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
2009
2009
|
}
|
|
2010
|
-
var
|
|
2010
|
+
var Ar = process.env.NODE_ENV !== "test" && vi() ? C.useLayoutEffect : C.useEffect, Hf = function(t, n) {
|
|
2011
2011
|
var r = C.useRef(!0);
|
|
2012
|
-
|
|
2012
|
+
Ar(function() {
|
|
2013
2013
|
if (!r.current)
|
|
2014
2014
|
return t();
|
|
2015
|
-
}, n),
|
|
2015
|
+
}, n), Ar(function() {
|
|
2016
2016
|
return r.current = !1, function() {
|
|
2017
2017
|
r.current = !0;
|
|
2018
2018
|
};
|
|
2019
2019
|
}, []);
|
|
2020
2020
|
};
|
|
2021
|
-
function
|
|
2021
|
+
function eo(e) {
|
|
2022
2022
|
var t = C.useRef(!1), n = C.useState(e), r = Zn(n, 2), o = r[0], i = r[1];
|
|
2023
2023
|
C.useEffect(function() {
|
|
2024
2024
|
return t.current = !1, function() {
|
|
@@ -2034,9 +2034,9 @@ function Bl(e) {
|
|
|
2034
2034
|
return e !== void 0;
|
|
2035
2035
|
}
|
|
2036
2036
|
function ta(e, t) {
|
|
2037
|
-
var n = t || {}, r = n.defaultValue, o = n.value, i = n.onChange, a = n.postState, s =
|
|
2037
|
+
var n = t || {}, r = n.defaultValue, o = n.value, i = n.onChange, a = n.postState, s = eo(function() {
|
|
2038
2038
|
return Bl(o) ? o : Bl(r) ? typeof r == "function" ? r() : r : typeof e == "function" ? e() : e;
|
|
2039
|
-
}), c = Zn(s, 2), u = c[0], d = c[1], f = o !== void 0 ? o : u, p = a ? a(f) : f, h = Ff(i), g =
|
|
2039
|
+
}), c = Zn(s, 2), u = c[0], d = c[1], f = o !== void 0 ? o : u, p = a ? a(f) : f, h = Ff(i), g = eo([f]), m = Zn(g, 2), b = m[0], y = m[1];
|
|
2040
2040
|
Hf(function() {
|
|
2041
2041
|
var x = b[0];
|
|
2042
2042
|
u !== x && h(u, x);
|
|
@@ -2729,10 +2729,10 @@ function Gi(e, t) {
|
|
|
2729
2729
|
}
|
|
2730
2730
|
return n;
|
|
2731
2731
|
}
|
|
2732
|
-
function
|
|
2732
|
+
function ro(e) {
|
|
2733
2733
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [];
|
|
2734
2734
|
return Z.Children.forEach(e, function(r) {
|
|
2735
|
-
r == null && !t.keepEmpty || (Array.isArray(r) ? n = n.concat(
|
|
2735
|
+
r == null && !t.keepEmpty || (Array.isArray(r) ? n = n.concat(ro(r)) : Wu.exports.isFragment(r) && r.props ? n = n.concat(ro(r.props.children, t)) : n.push(r));
|
|
2736
2736
|
}), n;
|
|
2737
2737
|
}
|
|
2738
2738
|
function ii(e) {
|
|
@@ -3220,10 +3220,10 @@ function AC(e) {
|
|
|
3220
3220
|
}
|
|
3221
3221
|
var PC = "rc-observer-key";
|
|
3222
3222
|
function ll(e) {
|
|
3223
|
-
var t = e.children, n = typeof t == "function" ? [t] :
|
|
3223
|
+
var t = e.children, n = typeof t == "function" ? [t] : ro(t);
|
|
3224
3224
|
return process.env.NODE_ENV !== "production" && (n.length > 1 ? ms(!1, "Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.") : n.length === 0 && ms(!1, "`children` of ResizeObserver is empty. Nothing is in observe.")), n.map(function(r, o) {
|
|
3225
3225
|
var i = (r == null ? void 0 : r.key) || "".concat(PC, "-").concat(o);
|
|
3226
|
-
return /* @__PURE__ */
|
|
3226
|
+
return /* @__PURE__ */ lo(AC, {
|
|
3227
3227
|
...e,
|
|
3228
3228
|
key: i
|
|
3229
3229
|
}, r);
|
|
@@ -3306,7 +3306,7 @@ rn.cancel = function(e) {
|
|
|
3306
3306
|
return rv(t), nv(t);
|
|
3307
3307
|
};
|
|
3308
3308
|
function IC() {
|
|
3309
|
-
var e =
|
|
3309
|
+
var e = eo({}), t = Sr(e, 2), n = t[1], r = _e([]), o = 0, i = 0;
|
|
3310
3310
|
function a(s) {
|
|
3311
3311
|
var c = o;
|
|
3312
3312
|
o += 1, r.current.length < c + 1 && (r.current[c] = s);
|
|
@@ -3380,7 +3380,7 @@ function jC(e, t) {
|
|
|
3380
3380
|
function St(se) {
|
|
3381
3381
|
return D.get(vt(dt[se], se));
|
|
3382
3382
|
}
|
|
3383
|
-
|
|
3383
|
+
Ar(function() {
|
|
3384
3384
|
if (I && Pe && dt) {
|
|
3385
3385
|
var se = ue, ge = dt.length, we = ge - 1;
|
|
3386
3386
|
if (!ge) {
|
|
@@ -3429,7 +3429,7 @@ function jC(e, t) {
|
|
|
3429
3429
|
}, we);
|
|
3430
3430
|
} : function(se, ge) {
|
|
3431
3431
|
var we = vt(se, ge);
|
|
3432
|
-
return /* @__PURE__ */
|
|
3432
|
+
return /* @__PURE__ */ lo(qi, {
|
|
3433
3433
|
...Ot,
|
|
3434
3434
|
order: ge,
|
|
3435
3435
|
key: we,
|
|
@@ -3561,7 +3561,7 @@ function qC(e) {
|
|
|
3561
3561
|
return e != null;
|
|
3562
3562
|
}
|
|
3563
3563
|
function tp(e) {
|
|
3564
|
-
return ["string", "number"].includes(
|
|
3564
|
+
return ["string", "number"].includes(Dr(e));
|
|
3565
3565
|
}
|
|
3566
3566
|
function sv(e) {
|
|
3567
3567
|
var t = void 0;
|
|
@@ -3976,20 +3976,20 @@ function d1(e, t) {
|
|
|
3976
3976
|
}
|
|
3977
3977
|
return n;
|
|
3978
3978
|
}
|
|
3979
|
-
function
|
|
3980
|
-
return
|
|
3979
|
+
function oo(e) {
|
|
3980
|
+
return oo = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
3981
3981
|
return typeof t;
|
|
3982
3982
|
} : function(t) {
|
|
3983
3983
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
3984
|
-
},
|
|
3984
|
+
}, oo(e);
|
|
3985
3985
|
}
|
|
3986
3986
|
function f1(e, t) {
|
|
3987
|
-
if (
|
|
3987
|
+
if (oo(e) !== "object" || e === null)
|
|
3988
3988
|
return e;
|
|
3989
3989
|
var n = e[Symbol.toPrimitive];
|
|
3990
3990
|
if (n !== void 0) {
|
|
3991
3991
|
var r = n.call(e, t || "default");
|
|
3992
|
-
if (
|
|
3992
|
+
if (oo(r) !== "object")
|
|
3993
3993
|
return r;
|
|
3994
3994
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
3995
3995
|
}
|
|
@@ -3997,7 +3997,7 @@ function f1(e, t) {
|
|
|
3997
3997
|
}
|
|
3998
3998
|
function cv(e) {
|
|
3999
3999
|
var t = f1(e, "string");
|
|
4000
|
-
return
|
|
4000
|
+
return oo(t) === "symbol" ? t : String(t);
|
|
4001
4001
|
}
|
|
4002
4002
|
function zn(e, t, n) {
|
|
4003
4003
|
return t = cv(t), t in e ? Object.defineProperty(e, t, {
|
|
@@ -4079,7 +4079,7 @@ function m1() {
|
|
|
4079
4079
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4080
4080
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4081
4081
|
}
|
|
4082
|
-
function
|
|
4082
|
+
function Ur(e, t) {
|
|
4083
4083
|
return p1(e) || h1(e, t) || g1(e, t) || m1();
|
|
4084
4084
|
}
|
|
4085
4085
|
function ap(e, t) {
|
|
@@ -4115,7 +4115,7 @@ var fv = dv("animationend"), pv = dv("transitionend"), w1 = !!(fv && pv), sp = f
|
|
|
4115
4115
|
function cp(e, t) {
|
|
4116
4116
|
if (!e)
|
|
4117
4117
|
return null;
|
|
4118
|
-
if (
|
|
4118
|
+
if (oo(e) === "object") {
|
|
4119
4119
|
var n = t.replace(/-\w/g, function(r) {
|
|
4120
4120
|
return r[1].toUpperCase();
|
|
4121
4121
|
});
|
|
@@ -4152,7 +4152,7 @@ function mv(e) {
|
|
|
4152
4152
|
return e === qo || e === Qu;
|
|
4153
4153
|
}
|
|
4154
4154
|
const _1 = function(e, t) {
|
|
4155
|
-
var n =
|
|
4155
|
+
var n = eo(up), r = Ur(n, 2), o = r[0], i = r[1], a = x1(), s = Ur(a, 2), c = s[0], u = s[1];
|
|
4156
4156
|
function d() {
|
|
4157
4157
|
i(_r, !0);
|
|
4158
4158
|
}
|
|
@@ -4190,7 +4190,7 @@ const _1 = function(e, t) {
|
|
|
4190
4190
|
}, []), [i, o];
|
|
4191
4191
|
};
|
|
4192
4192
|
function E1(e, t, n, r) {
|
|
4193
|
-
var o = r.motionEnter, i = o === void 0 ? !0 : o, a = r.motionAppear, s = a === void 0 ? !0 : a, c = r.motionLeave, u = c === void 0 ? !0 : c, d = r.motionDeadline, f = r.motionLeaveImmediately, p = r.onAppearPrepare, h = r.onEnterPrepare, g = r.onLeavePrepare, m = r.onAppearStart, b = r.onEnterStart, y = r.onLeaveStart, S = r.onAppearActive, x = r.onEnterActive, w = r.onLeaveActive, _ = r.onAppearEnd, k = r.onEnterEnd, O = r.onLeaveEnd, $ = r.onVisibleChanged, V =
|
|
4193
|
+
var o = r.motionEnter, i = o === void 0 ? !0 : o, a = r.motionAppear, s = a === void 0 ? !0 : a, c = r.motionLeave, u = c === void 0 ? !0 : c, d = r.motionDeadline, f = r.motionLeaveImmediately, p = r.onAppearPrepare, h = r.onEnterPrepare, g = r.onLeavePrepare, m = r.onAppearStart, b = r.onEnterStart, y = r.onLeaveStart, S = r.onAppearActive, x = r.onEnterActive, w = r.onLeaveActive, _ = r.onAppearEnd, k = r.onEnterEnd, O = r.onLeaveEnd, $ = r.onVisibleChanged, V = eo(), R = Ur(V, 2), T = R[0], A = R[1], I = eo(jo), E = Ur(I, 2), P = E[0], D = E[1], M = eo(null), z = Ur(M, 2), j = z[0], W = z[1], q = _e(!1), ne = _e(null);
|
|
4194
4194
|
function ie() {
|
|
4195
4195
|
return n();
|
|
4196
4196
|
}
|
|
@@ -4202,7 +4202,7 @@ function E1(e, t, n, r) {
|
|
|
4202
4202
|
P === Va && Ne ? ye = _ == null ? void 0 : _(Ae, be) : P === za && Ne ? ye = k == null ? void 0 : k(Ae, be) : P === Fa && Ne && (ye = O == null ? void 0 : O(Ae, be)), P !== jo && Ne && ye !== !1 && (D(jo, !0), W(null, !0));
|
|
4203
4203
|
}
|
|
4204
4204
|
}
|
|
4205
|
-
var he = C1(Q), pe =
|
|
4205
|
+
var he = C1(Q), pe = Ur(he, 1), ue = pe[0], ce = C.useMemo(function() {
|
|
4206
4206
|
var be, Ae, Ne;
|
|
4207
4207
|
switch (P) {
|
|
4208
4208
|
case Va:
|
|
@@ -4228,7 +4228,7 @@ function E1(e, t, n, r) {
|
|
|
4228
4228
|
deadline: !0
|
|
4229
4229
|
});
|
|
4230
4230
|
}, d))), S1;
|
|
4231
|
-
}), Ee =
|
|
4231
|
+
}), Ee = Ur(Me, 2), X = Ee[0], ae = Ee[1], Oe = mv(ae);
|
|
4232
4232
|
Y.current = Oe, hv(function() {
|
|
4233
4233
|
A(t);
|
|
4234
4234
|
var be = q.current;
|
|
@@ -4308,7 +4308,7 @@ function R1(e) {
|
|
|
4308
4308
|
return e;
|
|
4309
4309
|
}
|
|
4310
4310
|
function D1(e, t) {
|
|
4311
|
-
if (t && (
|
|
4311
|
+
if (t && (oo(t) === "object" || typeof t == "function"))
|
|
4312
4312
|
return t;
|
|
4313
4313
|
if (t !== void 0)
|
|
4314
4314
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -4341,7 +4341,7 @@ var P1 = /* @__PURE__ */ function(e) {
|
|
|
4341
4341
|
}(C.Component);
|
|
4342
4342
|
function $1(e) {
|
|
4343
4343
|
var t = e;
|
|
4344
|
-
|
|
4344
|
+
oo(e) === "object" && (t = e.transitionSupport);
|
|
4345
4345
|
function n(o) {
|
|
4346
4346
|
return !!(o.motionName && t);
|
|
4347
4347
|
}
|
|
@@ -4354,7 +4354,7 @@ function $1(e) {
|
|
|
4354
4354
|
return null;
|
|
4355
4355
|
}
|
|
4356
4356
|
}
|
|
4357
|
-
var x = E1(m, s, S, o), w =
|
|
4357
|
+
var x = E1(m, s, S, o), w = Ur(x, 4), _ = w[0], k = w[1], O = w[2], $ = w[3], V = C.useRef($);
|
|
4358
4358
|
$ && (V.current = !0);
|
|
4359
4359
|
var R = C.useCallback(function(M) {
|
|
4360
4360
|
b.current = M, Bm(i, M);
|
|
@@ -4658,12 +4658,12 @@ function X1(e, t, n) {
|
|
|
4658
4658
|
var r = n, o = "", i = _v(e);
|
|
4659
4659
|
return r = r || i.defaultView.getComputedStyle(e, null), r && (o = r.getPropertyValue(t) || r[t]), o;
|
|
4660
4660
|
}
|
|
4661
|
-
var Q1 = new RegExp("^(".concat(U1, ")(?!px)[a-z%]+$"), "i"), Z1 = /^(top|right|bottom|left)$/, Kl = "currentStyle", Wl = "runtimeStyle",
|
|
4661
|
+
var Q1 = new RegExp("^(".concat(U1, ")(?!px)[a-z%]+$"), "i"), Z1 = /^(top|right|bottom|left)$/, Kl = "currentStyle", Wl = "runtimeStyle", go = "left", J1 = "px";
|
|
4662
4662
|
function eE(e, t) {
|
|
4663
4663
|
var n = e[Kl] && e[Kl][t];
|
|
4664
4664
|
if (Q1.test(n) && !Z1.test(t)) {
|
|
4665
|
-
var r = e.style, o = r[
|
|
4666
|
-
e[Wl][
|
|
4665
|
+
var r = e.style, o = r[go], i = e[Wl][go];
|
|
4666
|
+
e[Wl][go] = e[Kl][go], r[go] = t === "fontSize" ? "1em" : n || 0, n = r.pixelLeft + J1, r[go] = o, e[Wl][go] = i;
|
|
4667
4667
|
}
|
|
4668
4668
|
return n === "" ? "auto" : n;
|
|
4669
4669
|
}
|
|
@@ -5116,7 +5116,7 @@ var KE = jE;
|
|
|
5116
5116
|
function WE(e) {
|
|
5117
5117
|
return this.__data__.has(e);
|
|
5118
5118
|
}
|
|
5119
|
-
var GE = WE, qE = typeof Ln == "object" && Ln && Ln.Object === Object && Ln, Mv = qE, UE = Mv, YE = typeof self == "object" && self && self.Object === Object && self, XE = UE || YE || Function("return this")(),
|
|
5119
|
+
var GE = WE, qE = typeof Ln == "object" && Ln && Ln.Object === Object && Ln, Mv = qE, UE = Mv, YE = typeof self == "object" && self && self.Object === Object && self, XE = UE || YE || Function("return this")(), Fr = XE, QE = Fr, ZE = QE.Symbol, rd = ZE, Mp = rd, Ov = Object.prototype, JE = Ov.hasOwnProperty, ek = Ov.toString, Ai = Mp ? Mp.toStringTag : void 0;
|
|
5120
5120
|
function tk(e) {
|
|
5121
5121
|
var t = JE.call(e, Ai), n = e[Ai];
|
|
5122
5122
|
try {
|
|
@@ -5147,7 +5147,7 @@ function bk(e) {
|
|
|
5147
5147
|
var t = pk(e);
|
|
5148
5148
|
return t == mk || t == vk || t == gk || t == yk;
|
|
5149
5149
|
}
|
|
5150
|
-
var Dv = bk, wk =
|
|
5150
|
+
var Dv = bk, wk = Fr, xk = wk["__core-js_shared__"], Sk = xk, ql = Sk, Dp = function() {
|
|
5151
5151
|
var e = /[^.]+$/.exec(ql && ql.keys && ql.keys.IE_PROTO || "");
|
|
5152
5152
|
return e ? "Symbol(src)_1." + e : "";
|
|
5153
5153
|
}();
|
|
@@ -5186,7 +5186,7 @@ function Wk(e, t) {
|
|
|
5186
5186
|
var n = Kk(e, t);
|
|
5187
5187
|
return jk(n) ? n : void 0;
|
|
5188
5188
|
}
|
|
5189
|
-
var bi = Wk, Gk = bi, qk =
|
|
5189
|
+
var bi = Wk, Gk = bi, qk = Fr, Uk = Gk(qk, "Map"), od = Uk, Yk = bi, Xk = Yk(Object, "create"), hl = Xk, Ap = hl;
|
|
5190
5190
|
function Qk() {
|
|
5191
5191
|
this.__data__ = Ap ? Ap(null) : {}, this.size = 0;
|
|
5192
5192
|
}
|
|
@@ -5358,7 +5358,7 @@ function CM(e, t, n, r, o, i) {
|
|
|
5358
5358
|
}
|
|
5359
5359
|
return i.delete(e), i.delete(t), p;
|
|
5360
5360
|
}
|
|
5361
|
-
var $v = CM, EM =
|
|
5361
|
+
var $v = CM, EM = Fr, kM = EM.Uint8Array, TM = kM;
|
|
5362
5362
|
function MM(e) {
|
|
5363
5363
|
var t = -1, n = Array(e.size);
|
|
5364
5364
|
return e.forEach(function(r, o) {
|
|
@@ -5459,7 +5459,7 @@ function T2() {
|
|
|
5459
5459
|
}
|
|
5460
5460
|
var M2 = T2;
|
|
5461
5461
|
(function(e, t) {
|
|
5462
|
-
var n =
|
|
5462
|
+
var n = Fr, r = M2, o = t && !t.nodeType && t, i = o && !0 && e && !e.nodeType && e, a = i && i.exports === o, s = a ? n.Buffer : void 0, c = s ? s.isBuffer : void 0, u = c || r;
|
|
5463
5463
|
e.exports = u;
|
|
5464
5464
|
})(ks, ks.exports);
|
|
5465
5465
|
var O2 = 9007199254740991, R2 = /^(?:0|[1-9]\d*)$/;
|
|
@@ -5565,8 +5565,8 @@ function nR(e, t, n, r, o, i) {
|
|
|
5565
5565
|
}
|
|
5566
5566
|
return i.delete(e), i.delete(t), m;
|
|
5567
5567
|
}
|
|
5568
|
-
var rR = nR, oR = bi, iR =
|
|
5569
|
-
(jc &&
|
|
5568
|
+
var rR = nR, oR = bi, iR = Fr, aR = oR(iR, "DataView"), sR = aR, lR = bi, cR = Fr, uR = lR(cR, "Promise"), dR = uR, fR = bi, pR = Fr, hR = fR(pR, "Set"), gR = hR, mR = bi, vR = Fr, yR = mR(vR, "WeakMap"), bR = yR, jc = sR, Kc = od, Wc = dR, Gc = gR, qc = bR, Vv = pl, _i = Av, Bp = "[object Map]", wR = "[object Object]", jp = "[object Promise]", Kp = "[object Set]", Wp = "[object WeakMap]", Gp = "[object DataView]", xR = _i(jc), SR = _i(Kc), _R = _i(Wc), CR = _i(Gc), ER = _i(qc), vo = Vv;
|
|
5569
|
+
(jc && vo(new jc(new ArrayBuffer(1))) != Gp || Kc && vo(new Kc()) != Bp || Wc && vo(Wc.resolve()) != jp || Gc && vo(new Gc()) != Kp || qc && vo(new qc()) != Wp) && (vo = function(e) {
|
|
5570
5570
|
var t = Vv(e), n = t == wR ? e.constructor : void 0, r = n ? _i(n) : "";
|
|
5571
5571
|
if (r)
|
|
5572
5572
|
switch (r) {
|
|
@@ -5583,7 +5583,7 @@ var rR = nR, oR = bi, iR = zr, aR = oR(iR, "DataView"), sR = aR, lR = bi, cR = z
|
|
|
5583
5583
|
}
|
|
5584
5584
|
return t;
|
|
5585
5585
|
});
|
|
5586
|
-
var kR =
|
|
5586
|
+
var kR = vo, Yl = iM, TR = $v, MR = XM, OR = rR, qp = kR, Up = id, Yp = ks.exports, RR = Lv, DR = 1, Xp = "[object Arguments]", Qp = "[object Array]", Wa = "[object Object]", AR = Object.prototype, Zp = AR.hasOwnProperty;
|
|
5587
5587
|
function PR(e, t, n, r, o, i) {
|
|
5588
5588
|
var a = Up(e), s = Up(t), c = a ? Qp : qp(e), u = s ? Qp : qp(t);
|
|
5589
5589
|
c = c == Xp ? Wa : c, u = u == Xp ? Wa : u;
|
|
@@ -6044,7 +6044,7 @@ function KR(e) {
|
|
|
6044
6044
|
}
|
|
6045
6045
|
var oh = ["measure", "alignPre", "align", null, "motion"];
|
|
6046
6046
|
const WR = function(e, t) {
|
|
6047
|
-
var n =
|
|
6047
|
+
var n = eo(null), r = Zn(n, 2), o = r[0], i = r[1], a = _e();
|
|
6048
6048
|
function s(d) {
|
|
6049
6049
|
i(d, !0);
|
|
6050
6050
|
}
|
|
@@ -6118,7 +6118,7 @@ var Hv = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
6118
6118
|
c && E(h());
|
|
6119
6119
|
}
|
|
6120
6120
|
var D = WR(n, P), M = Zn(D, 2), z = M[0], j = M[1], W = ze(0), q = Zn(W, 2), ne = q[0], ie = q[1], Y = _e();
|
|
6121
|
-
|
|
6121
|
+
Ar(function() {
|
|
6122
6122
|
z === "alignPre" && ie(0);
|
|
6123
6123
|
}, [z]);
|
|
6124
6124
|
function Q() {
|
|
@@ -6134,7 +6134,7 @@ var Hv = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
6134
6134
|
return ke + 1;
|
|
6135
6135
|
}), z === "align" && (m == null || m(ae, Oe));
|
|
6136
6136
|
}
|
|
6137
|
-
|
|
6137
|
+
Ar(function() {
|
|
6138
6138
|
z === "align" && (ne < 3 ? he() : j(function() {
|
|
6139
6139
|
var ae;
|
|
6140
6140
|
(ae = Y.current) === null || ae === void 0 || ae.call(Y);
|
|
@@ -6826,8 +6826,8 @@ var ad = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
6826
6826
|
values: [In]
|
|
6827
6827
|
});
|
|
6828
6828
|
}
|
|
6829
|
-
for (var
|
|
6830
|
-
Lo[
|
|
6829
|
+
for (var Hr = arguments.length, Lo = new Array(Hr > 1 ? Hr - 1 : 0), Br = 1; Br < Hr; Br++)
|
|
6830
|
+
Lo[Br - 1] = arguments[Br];
|
|
6831
6831
|
if (Ct && et.current) {
|
|
6832
6832
|
var kf;
|
|
6833
6833
|
(kf = et.current).onKeyDown.apply(kf, [Xe].concat(Lo));
|
|
@@ -6849,7 +6849,7 @@ var ad = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
6849
6849
|
type: "remove",
|
|
6850
6850
|
values: [Xe]
|
|
6851
6851
|
});
|
|
6852
|
-
}, te = C.useRef(!1),
|
|
6852
|
+
}, te = C.useRef(!1), ee = function() {
|
|
6853
6853
|
lt(!0), S || (ae && !te.current && ae.apply(void 0, arguments), X.includes("focus") && se(!0)), te.current = !0;
|
|
6854
6854
|
}, me = function() {
|
|
6855
6855
|
lt(!1, function() {
|
|
@@ -6873,20 +6873,20 @@ var ad = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
6873
6873
|
var In = setTimeout(function() {
|
|
6874
6874
|
var Lo = xe.indexOf(In);
|
|
6875
6875
|
if (Lo !== -1 && xe.splice(Lo, 1), Vt(), !Pe && !Qt.contains(document.activeElement)) {
|
|
6876
|
-
var
|
|
6877
|
-
(
|
|
6876
|
+
var Br;
|
|
6877
|
+
(Br = dt.current) === null || Br === void 0 || Br.focus();
|
|
6878
6878
|
}
|
|
6879
6879
|
});
|
|
6880
6880
|
xe.push(In);
|
|
6881
6881
|
}
|
|
6882
|
-
for (var Yn = arguments.length, Mi = new Array(Yn > 1 ? Yn - 1 : 0),
|
|
6883
|
-
Mi[
|
|
6882
|
+
for (var Yn = arguments.length, Mi = new Array(Yn > 1 ? Yn - 1 : 0), Hr = 1; Hr < Yn; Hr++)
|
|
6883
|
+
Mi[Hr - 1] = arguments[Hr];
|
|
6884
6884
|
be == null || be.apply(void 0, [Xe].concat(Mi));
|
|
6885
6885
|
}, je = C.useState(null), Ve = en(je, 2), Qe = Ve[0], Ue = Ve[1], rt = C.useState({}), Pt = en(rt, 2), xn = Pt[1];
|
|
6886
6886
|
function Nn() {
|
|
6887
6887
|
xn({});
|
|
6888
6888
|
}
|
|
6889
|
-
|
|
6889
|
+
Ar(function() {
|
|
6890
6890
|
if (Xt) {
|
|
6891
6891
|
var ot, Xe = Math.ceil((ot = Ke.current) === null || ot === void 0 ? void 0 : ot.offsetWidth);
|
|
6892
6892
|
Qe !== Xe && !Number.isNaN(Xe) && Ue(Xe);
|
|
@@ -6991,7 +6991,7 @@ var ad = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
6991
6991
|
onMouseDown: $e,
|
|
6992
6992
|
onKeyDown: Rn,
|
|
6993
6993
|
onKeyUp: Dt,
|
|
6994
|
-
onFocus:
|
|
6994
|
+
onFocus: ee,
|
|
6995
6995
|
onBlur: me,
|
|
6996
6996
|
children: [Be && !Ct && /* @__PURE__ */ l("span", {
|
|
6997
6997
|
style: {
|
|
@@ -7004,7 +7004,7 @@ var ad = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
7004
7004
|
"aria-live": "polite",
|
|
7005
7005
|
children: "".concat(f.map(function(ot) {
|
|
7006
7006
|
var Xe = ot.label, Sn = ot.value;
|
|
7007
|
-
return ["number", "string"].includes(
|
|
7007
|
+
return ["number", "string"].includes(Dr(Xe)) ? Xe : Sn;
|
|
7008
7008
|
}).join(", "))
|
|
7009
7009
|
}), Ef, kn, Tn]
|
|
7010
7010
|
}), /* @__PURE__ */ l(jm.Provider, {
|
|
@@ -7088,7 +7088,7 @@ function pD(e) {
|
|
|
7088
7088
|
}
|
|
7089
7089
|
function sd(e) {
|
|
7090
7090
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
7091
|
-
return
|
|
7091
|
+
return ro(e).map(function(n, r) {
|
|
7092
7092
|
if (!/* @__PURE__ */ C.isValidElement(n) || !n.type)
|
|
7093
7093
|
return null;
|
|
7094
7094
|
var o = n, i = o.type.isSelectOptGroup, a = o.key, s = o.props, c = s.children, u = mi(s, fD);
|
|
@@ -7144,20 +7144,20 @@ function Yv(e, t) {
|
|
|
7144
7144
|
delete n[r];
|
|
7145
7145
|
}), n;
|
|
7146
7146
|
}
|
|
7147
|
-
function
|
|
7148
|
-
return
|
|
7147
|
+
function io(e) {
|
|
7148
|
+
return io = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
7149
7149
|
return typeof t;
|
|
7150
7150
|
} : function(t) {
|
|
7151
7151
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
7152
|
-
},
|
|
7152
|
+
}, io(e);
|
|
7153
7153
|
}
|
|
7154
7154
|
function gD(e, t) {
|
|
7155
|
-
if (
|
|
7155
|
+
if (io(e) !== "object" || e === null)
|
|
7156
7156
|
return e;
|
|
7157
7157
|
var n = e[Symbol.toPrimitive];
|
|
7158
7158
|
if (n !== void 0) {
|
|
7159
7159
|
var r = n.call(e, t || "default");
|
|
7160
|
-
if (
|
|
7160
|
+
if (io(r) !== "object")
|
|
7161
7161
|
return r;
|
|
7162
7162
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
7163
7163
|
}
|
|
@@ -7165,7 +7165,7 @@ function gD(e, t) {
|
|
|
7165
7165
|
}
|
|
7166
7166
|
function Xv(e) {
|
|
7167
7167
|
var t = gD(e, "string");
|
|
7168
|
-
return
|
|
7168
|
+
return io(t) === "symbol" ? t : String(t);
|
|
7169
7169
|
}
|
|
7170
7170
|
function aa(e, t, n) {
|
|
7171
7171
|
return t = Xv(t), t in e ? Object.defineProperty(e, t, {
|
|
@@ -7247,7 +7247,7 @@ function bD() {
|
|
|
7247
7247
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
7248
7248
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
7249
7249
|
}
|
|
7250
|
-
function
|
|
7250
|
+
function Yr(e, t) {
|
|
7251
7251
|
return mD(e) || vD(e, t) || yD(e, t) || bD();
|
|
7252
7252
|
}
|
|
7253
7253
|
function wD(e, t) {
|
|
@@ -7357,7 +7357,7 @@ function CD(e) {
|
|
|
7357
7357
|
return e;
|
|
7358
7358
|
}
|
|
7359
7359
|
function ED(e, t) {
|
|
7360
|
-
if (t && (
|
|
7360
|
+
if (t && (io(t) === "object" || typeof t == "function"))
|
|
7361
7361
|
return t;
|
|
7362
7362
|
if (t !== void 0)
|
|
7363
7363
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -7538,7 +7538,7 @@ var DD = /* @__PURE__ */ function() {
|
|
|
7538
7538
|
}]), e;
|
|
7539
7539
|
}();
|
|
7540
7540
|
function AD(e, t, n) {
|
|
7541
|
-
var r = C.useState(0), o =
|
|
7541
|
+
var r = C.useState(0), o = Yr(r, 2), i = o[0], a = o[1], s = _e(/* @__PURE__ */ new Map()), c = _e(new DD()), u = _e();
|
|
7542
7542
|
function d() {
|
|
7543
7543
|
rn.cancel(u.current);
|
|
7544
7544
|
}
|
|
@@ -7571,7 +7571,7 @@ function PD(e, t, n, r, o, i, a, s) {
|
|
|
7571
7571
|
}
|
|
7572
7572
|
if (rn.cancel(c.current), typeof u == "number")
|
|
7573
7573
|
a(u);
|
|
7574
|
-
else if (u &&
|
|
7574
|
+
else if (u && io(u) === "object") {
|
|
7575
7575
|
var d, f = u.align;
|
|
7576
7576
|
"index" in u ? d = u.index : d = t.findIndex(function(m) {
|
|
7577
7577
|
return o(m) === u.key;
|
|
@@ -7634,13 +7634,13 @@ function $D(e, t, n) {
|
|
|
7634
7634
|
};
|
|
7635
7635
|
}
|
|
7636
7636
|
function ND(e, t, n) {
|
|
7637
|
-
var r = C.useState(e), o =
|
|
7637
|
+
var r = C.useState(e), o = Yr(r, 2), i = o[0], a = o[1], s = C.useState(null), c = Yr(s, 2), u = c[0], d = c[1];
|
|
7638
7638
|
return C.useEffect(function() {
|
|
7639
7639
|
var f = $D(i || [], e || [], t);
|
|
7640
7640
|
(f == null ? void 0 : f.index) !== void 0 && (n == null || n(f.index), d(e[f.index])), a(e);
|
|
7641
7641
|
}, [e]), [u];
|
|
7642
7642
|
}
|
|
7643
|
-
var ID = (typeof navigator > "u" ? "undefined" :
|
|
7643
|
+
var ID = (typeof navigator > "u" ? "undefined" : io(navigator)) === "object" && /Firefox/i.test(navigator.userAgent);
|
|
7644
7644
|
const ey = function(e, t) {
|
|
7645
7645
|
var n = _e(!1), r = _e(null);
|
|
7646
7646
|
function o() {
|
|
@@ -7690,7 +7690,7 @@ function zD(e, t, n) {
|
|
|
7690
7690
|
};
|
|
7691
7691
|
s = function() {
|
|
7692
7692
|
i.current && (i.current.removeEventListener("touchmove", c), i.current.removeEventListener("touchend", u));
|
|
7693
|
-
},
|
|
7693
|
+
}, Ar(function() {
|
|
7694
7694
|
return e && t.current.addEventListener("touchstart", d), function() {
|
|
7695
7695
|
var f;
|
|
7696
7696
|
(f = t.current) === null || f === void 0 || f.removeEventListener("touchstart", d), s(), clearInterval(a.current);
|
|
@@ -7702,7 +7702,7 @@ var FD = ["prefixCls", "className", "height", "itemHeight", "fullHeight", "style
|
|
|
7702
7702
|
overflowAnchor: "none"
|
|
7703
7703
|
};
|
|
7704
7704
|
function jD(e, t) {
|
|
7705
|
-
var n = e.prefixCls, r = n === void 0 ? "rc-virtual-list" : n, o = e.className, i = e.height, a = e.itemHeight, s = e.fullHeight, c = s === void 0 ? !0 : s, u = e.style, d = e.data, f = e.children, p = e.itemKey, h = e.virtual, g = e.component, m = g === void 0 ? "div" : g, b = e.onScroll, y = e.onVisibleChange, S = xD(e, FD), x = !!(h !== !1 && i && a), w = x && d && a * d.length > i, _ = ze(0), k =
|
|
7705
|
+
var n = e.prefixCls, r = n === void 0 ? "rc-virtual-list" : n, o = e.className, i = e.height, a = e.itemHeight, s = e.fullHeight, c = s === void 0 ? !0 : s, u = e.style, d = e.data, f = e.children, p = e.itemKey, h = e.virtual, g = e.component, m = g === void 0 ? "div" : g, b = e.onScroll, y = e.onVisibleChange, S = xD(e, FD), x = !!(h !== !1 && i && a), w = x && d && a * d.length > i, _ = ze(0), k = Yr(_, 2), O = k[0], $ = k[1], V = ze(!1), R = Yr(V, 2), T = R[0], A = R[1], I = Tt(r, o), E = d || HD, P = _e(), D = _e(), M = _e(), z = C.useCallback(function(Re) {
|
|
7706
7706
|
return typeof p == "function" ? p(Re) : Re == null ? void 0 : Re[p];
|
|
7707
7707
|
}, [p]), j = {
|
|
7708
7708
|
getKey: z
|
|
@@ -7718,9 +7718,9 @@ function jD(e, t) {
|
|
|
7718
7718
|
var q = _e({
|
|
7719
7719
|
start: 0,
|
|
7720
7720
|
end: E.length
|
|
7721
|
-
}), ne = _e(), ie = ND(E, z), Y =
|
|
7721
|
+
}), ne = _e(), ie = ND(E, z), Y = Yr(ie, 1), Q = Y[0];
|
|
7722
7722
|
ne.current = Q;
|
|
7723
|
-
var he = AD(z, null, null), pe =
|
|
7723
|
+
var he = AD(z, null, null), pe = Yr(he, 4), ue = pe[0], ce = pe[1], Me = pe[2], Ee = pe[3], X = C.useMemo(function() {
|
|
7724
7724
|
if (!x)
|
|
7725
7725
|
return {
|
|
7726
7726
|
scrollHeight: void 0,
|
|
@@ -7769,14 +7769,14 @@ function jD(e, t) {
|
|
|
7769
7769
|
var lt = Be + Re;
|
|
7770
7770
|
return lt;
|
|
7771
7771
|
});
|
|
7772
|
-
}), Ke =
|
|
7772
|
+
}), Ke = Yr(Ye, 2), qe = Ke[0], xt = Ke[1];
|
|
7773
7773
|
zD(x, P, function(Re, Be) {
|
|
7774
7774
|
return He(Re, Be) ? !1 : (qe({
|
|
7775
7775
|
preventDefault: function() {
|
|
7776
7776
|
},
|
|
7777
7777
|
deltaY: Re
|
|
7778
7778
|
}), !0);
|
|
7779
|
-
}),
|
|
7779
|
+
}), Ar(function() {
|
|
7780
7780
|
function Re(Be) {
|
|
7781
7781
|
x && Be.preventDefault();
|
|
7782
7782
|
}
|
|
@@ -7792,7 +7792,7 @@ function jD(e, t) {
|
|
|
7792
7792
|
return {
|
|
7793
7793
|
scrollTo: dt
|
|
7794
7794
|
};
|
|
7795
|
-
}),
|
|
7795
|
+
}), Ar(function() {
|
|
7796
7796
|
if (y) {
|
|
7797
7797
|
var Re = E.slice(Oe, U + 1);
|
|
7798
7798
|
y(Re, E);
|
|
@@ -7953,7 +7953,7 @@ var GD = function(t, n) {
|
|
|
7953
7953
|
if (!he)
|
|
7954
7954
|
return null;
|
|
7955
7955
|
var pe = he.data || {}, ue = pe.value, ce = he.group, Me = oi(pe, !0), Ee = ne(he);
|
|
7956
|
-
return he ? /* @__PURE__ */
|
|
7956
|
+
return he ? /* @__PURE__ */ lo("div", {
|
|
7957
7957
|
"aria-label": typeof Ee == "string" && !ce ? Ee : null,
|
|
7958
7958
|
...Me,
|
|
7959
7959
|
key: Q,
|
|
@@ -8039,19 +8039,19 @@ function qD(e) {
|
|
|
8039
8039
|
if (gt(t !== "combobox" || !m, "`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."), gt(t === "combobox" || !o, "`backfill` only works with `combobox` mode."), gt(t === "combobox" || !s, "`getInputElement` only work with `combobox` mode."), jf(t !== "combobox" || !s || !i || !a, "Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."), u && !y && t !== "combobox" && t !== "tags" && gt(!1, "`onSearch` should work with `showSearch` instead of use alone."), jf(!d || f, "`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."), h != null) {
|
|
8040
8040
|
var w = Xu(h);
|
|
8041
8041
|
gt(!p || w.every(function(k) {
|
|
8042
|
-
return
|
|
8042
|
+
return Dr(k) === "object" && ("key" in k || "value" in k);
|
|
8043
8043
|
}), "`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"), gt(!b || Array.isArray(h), "`value` should be array when `mode` is `multiple` or `tags`");
|
|
8044
8044
|
}
|
|
8045
8045
|
if (r) {
|
|
8046
8046
|
var _ = null;
|
|
8047
|
-
|
|
8047
|
+
ro(r).some(function(k) {
|
|
8048
8048
|
if (!/* @__PURE__ */ C.isValidElement(k) || !k.type)
|
|
8049
8049
|
return !1;
|
|
8050
8050
|
var O = k, $ = O.type;
|
|
8051
8051
|
if ($.isSelectOption)
|
|
8052
8052
|
return !1;
|
|
8053
8053
|
if ($.isSelectOptGroup) {
|
|
8054
|
-
var V =
|
|
8054
|
+
var V = ro(k.props.children).every(function(R) {
|
|
8055
8055
|
return !/* @__PURE__ */ C.isValidElement(R) || !k.type || R.type.isSelectOption ? !0 : (_ = R.type, !1);
|
|
8056
8056
|
});
|
|
8057
8057
|
return !V;
|
|
@@ -8076,7 +8076,7 @@ function UD(e, t) {
|
|
|
8076
8076
|
}
|
|
8077
8077
|
var YD = ["id", "mode", "prefixCls", "backfill", "fieldNames", "inputValue", "searchValue", "onSearch", "autoClearSearchValue", "onSelect", "onDeselect", "dropdownMatchSelectWidth", "filterOption", "filterSort", "optionFilterProp", "optionLabelProp", "options", "children", "defaultActiveFirstOption", "menuItemSelectedIcon", "virtual", "listHeight", "listItemHeight", "value", "defaultValue", "labelInValue", "onChange"], XD = ["inputValue"];
|
|
8078
8078
|
function QD(e) {
|
|
8079
|
-
return !e ||
|
|
8079
|
+
return !e || Dr(e) !== "object";
|
|
8080
8080
|
}
|
|
8081
8081
|
var ry = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
8082
8082
|
var n = e.id, r = e.mode, o = e.prefixCls, i = o === void 0 ? "rc-select" : o, a = e.backfill, s = e.fieldNames, c = e.inputValue, u = e.searchValue, d = e.onSearch, f = e.autoClearSearchValue, p = f === void 0 ? !0 : f, h = e.onSelect, g = e.onDeselect, m = e.dropdownMatchSelectWidth, b = m === void 0 ? !0 : m, y = e.filterOption, S = e.filterSort, x = e.optionFilterProp, w = e.optionLabelProp, _ = e.options, k = e.children, O = e.defaultActiveFirstOption, $ = e.menuItemSelectedIcon, V = e.virtual, R = e.listHeight, T = R === void 0 ? 200 : R, A = e.listItemHeight, I = A === void 0 ? 20 : A, E = e.value, P = e.defaultValue, D = e.labelInValue, M = e.onChange, z = mi(e, YD), j = Gv(n), W = Ts(r), q = !!(!_ && k), ne = C.useMemo(function() {
|
|
@@ -8208,8 +8208,8 @@ var ry = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
8208
8208
|
var _t = at(), dn = en(_t, 2), fn = dn[0], Rn = dn[1];
|
|
8209
8209
|
h(fn, Rn);
|
|
8210
8210
|
} else if (!we && g && Fe !== "clear") {
|
|
8211
|
-
var Dt = at(), N = en(Dt, 2), te = N[0],
|
|
8212
|
-
g(te,
|
|
8211
|
+
var Dt = at(), N = en(Dt, 2), te = N[0], ee = N[1];
|
|
8212
|
+
g(te, ee);
|
|
8213
8213
|
}
|
|
8214
8214
|
}, Lt = lh(function(se, ge) {
|
|
8215
8215
|
var we, Fe = W ? ge.selected : !0;
|
|
@@ -8396,20 +8396,20 @@ function Os() {
|
|
|
8396
8396
|
return e;
|
|
8397
8397
|
}, Os.apply(this, arguments);
|
|
8398
8398
|
}
|
|
8399
|
-
function
|
|
8400
|
-
return
|
|
8399
|
+
function Pr(e) {
|
|
8400
|
+
return Pr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
8401
8401
|
return typeof t;
|
|
8402
8402
|
} : function(t) {
|
|
8403
8403
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
8404
|
-
},
|
|
8404
|
+
}, Pr(e);
|
|
8405
8405
|
}
|
|
8406
8406
|
function tA(e, t) {
|
|
8407
|
-
if (
|
|
8407
|
+
if (Pr(e) !== "object" || e === null)
|
|
8408
8408
|
return e;
|
|
8409
8409
|
var n = e[Symbol.toPrimitive];
|
|
8410
8410
|
if (n !== void 0) {
|
|
8411
8411
|
var r = n.call(e, t || "default");
|
|
8412
|
-
if (
|
|
8412
|
+
if (Pr(r) !== "object")
|
|
8413
8413
|
return r;
|
|
8414
8414
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
8415
8415
|
}
|
|
@@ -8417,7 +8417,7 @@ function tA(e, t) {
|
|
|
8417
8417
|
}
|
|
8418
8418
|
function ay(e) {
|
|
8419
8419
|
var t = tA(e, "string");
|
|
8420
|
-
return
|
|
8420
|
+
return Pr(t) === "symbol" ? t : String(t);
|
|
8421
8421
|
}
|
|
8422
8422
|
function zt(e, t, n) {
|
|
8423
8423
|
return t = ay(t), t in e ? Object.defineProperty(e, t, {
|
|
@@ -8477,7 +8477,7 @@ function oA() {
|
|
|
8477
8477
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
8478
8478
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
8479
8479
|
}
|
|
8480
|
-
function
|
|
8480
|
+
function _o(e) {
|
|
8481
8481
|
return nA(e) || rA(e) || sy(e) || oA();
|
|
8482
8482
|
}
|
|
8483
8483
|
function ly(e, t) {
|
|
@@ -8536,7 +8536,7 @@ function iA() {
|
|
|
8536
8536
|
}
|
|
8537
8537
|
}
|
|
8538
8538
|
function aA(e, t) {
|
|
8539
|
-
if (t && (
|
|
8539
|
+
if (t && (Pr(t) === "object" || typeof t == "function"))
|
|
8540
8540
|
return t;
|
|
8541
8541
|
if (t !== void 0)
|
|
8542
8542
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -8618,7 +8618,7 @@ function dA(e, t) {
|
|
|
8618
8618
|
}
|
|
8619
8619
|
function fA(e) {
|
|
8620
8620
|
function t(n) {
|
|
8621
|
-
var r =
|
|
8621
|
+
var r = ro(n);
|
|
8622
8622
|
return r.map(function(o) {
|
|
8623
8623
|
if (!vA(o))
|
|
8624
8624
|
return gt(!o, "Tree/TreeNode can only accept TreeNode as children."), null;
|
|
@@ -8644,15 +8644,15 @@ function Zl(e, t, n) {
|
|
|
8644
8644
|
break;
|
|
8645
8645
|
}
|
|
8646
8646
|
}
|
|
8647
|
-
var x = vn(vn({}, Yv(p, [].concat(
|
|
8647
|
+
var x = vn(vn({}, Yv(p, [].concat(_o(o), [i, a]))), {}, {
|
|
8648
8648
|
title: b,
|
|
8649
8649
|
key: m,
|
|
8650
8650
|
parent: f,
|
|
8651
8651
|
pos: g,
|
|
8652
8652
|
children: null,
|
|
8653
8653
|
data: p,
|
|
8654
|
-
isStart: [].concat(
|
|
8655
|
-
isEnd: [].concat(
|
|
8654
|
+
isStart: [].concat(_o(f ? f.isStart : []), [h === 0]),
|
|
8655
|
+
isEnd: [].concat(_o(f ? f.isEnd : []), [h === d.length - 1])
|
|
8656
8656
|
});
|
|
8657
8657
|
return c.push(x), t === !0 || s.has(m) ? x.children = u(p[a] || [], x) : x.children = [], x;
|
|
8658
8658
|
});
|
|
@@ -8661,7 +8661,7 @@ function Zl(e, t, n) {
|
|
|
8661
8661
|
}
|
|
8662
8662
|
function pA(e, t, n) {
|
|
8663
8663
|
var r = {};
|
|
8664
|
-
|
|
8664
|
+
Pr(n) === "object" ? r = n : r = {
|
|
8665
8665
|
externalGetKey: n
|
|
8666
8666
|
}, r = r || {};
|
|
8667
8667
|
var o = r, i = o.childrenPropName, a = o.externalGetKey, s = o.fieldNames, c = Ds(s), u = c.key, d = c.children, f = i || d, p;
|
|
@@ -8673,7 +8673,7 @@ function pA(e, t, n) {
|
|
|
8673
8673
|
return Ra(m[u], b);
|
|
8674
8674
|
};
|
|
8675
8675
|
function h(g, m, b, y) {
|
|
8676
|
-
var S = g ? g[f] : e, x = g ? py(b.pos, m) : "0", w = g ? [].concat(
|
|
8676
|
+
var S = g ? g[f] : e, x = g ? py(b.pos, m) : "0", w = g ? [].concat(_o(y), [g]) : [];
|
|
8677
8677
|
if (g) {
|
|
8678
8678
|
var _ = p(g, x), k = {
|
|
8679
8679
|
node: g,
|
|
@@ -8998,7 +8998,7 @@ function br(e, t) {
|
|
|
8998
8998
|
var n = e.slice(), r = n.indexOf(t);
|
|
8999
8999
|
return r >= 0 && n.splice(r, 1), n;
|
|
9000
9000
|
}
|
|
9001
|
-
function
|
|
9001
|
+
function jr(e, t) {
|
|
9002
9002
|
var n = (e || []).slice();
|
|
9003
9003
|
return n.indexOf(t) === -1 && n.push(t), n;
|
|
9004
9004
|
}
|
|
@@ -9095,7 +9095,7 @@ function Jl(e) {
|
|
|
9095
9095
|
checkedKeys: e,
|
|
9096
9096
|
halfCheckedKeys: void 0
|
|
9097
9097
|
};
|
|
9098
|
-
else if (
|
|
9098
|
+
else if (Pr(e) === "object")
|
|
9099
9099
|
t = {
|
|
9100
9100
|
checkedKeys: e.checked || void 0,
|
|
9101
9101
|
halfCheckedKeys: e.halfChecked || void 0
|
|
@@ -9118,7 +9118,7 @@ function wh(e, t) {
|
|
|
9118
9118
|
}
|
|
9119
9119
|
return (e || []).forEach(function(o) {
|
|
9120
9120
|
r(o);
|
|
9121
|
-
}),
|
|
9121
|
+
}), _o(n);
|
|
9122
9122
|
}
|
|
9123
9123
|
function hy(e) {
|
|
9124
9124
|
if (e == null)
|
|
@@ -9188,7 +9188,7 @@ var CA = ["className", "style", "motion", "motionNodes", "motionType", "onMotion
|
|
|
9188
9188
|
var R = Os({}, (hy(V.data), V.data)), T = V.title, A = V.key, I = V.isStart, E = V.isEnd;
|
|
9189
9189
|
delete R.children;
|
|
9190
9190
|
var P = Yi(A, f);
|
|
9191
|
-
return /* @__PURE__ */
|
|
9191
|
+
return /* @__PURE__ */ lo(si, {
|
|
9192
9192
|
...R,
|
|
9193
9193
|
...P,
|
|
9194
9194
|
title: T,
|
|
@@ -9512,8 +9512,8 @@ var DA = 10, dd = /* @__PURE__ */ function(e) {
|
|
|
9512
9512
|
clearTimeout(r.delayedDragEnterLogic[M]);
|
|
9513
9513
|
}), $.props.eventKey !== c.props.eventKey && (s.persist(), r.delayedDragEnterLogic[_] = window.setTimeout(function() {
|
|
9514
9514
|
if (r.state.draggingNodeKey !== null) {
|
|
9515
|
-
var M =
|
|
9516
|
-
z && (z.children || []).length && (M =
|
|
9515
|
+
var M = _o(d), z = f[c.props.eventKey];
|
|
9516
|
+
z && (z.children || []).length && (M = jr(d, c.props.eventKey)), "expandedKeys" in r.props || r.setExpandedKeys(M), y == null || y(M, {
|
|
9517
9517
|
node: Zt(c.props),
|
|
9518
9518
|
expanded: !0,
|
|
9519
9519
|
nativeEvent: s.nativeEvent
|
|
@@ -9612,7 +9612,7 @@ var DA = 10, dd = /* @__PURE__ */ function(e) {
|
|
|
9612
9612
|
})[0], b = Zt(vn(vn({}, Yi(h, r.getTreeNodeRequiredProps())), {}, {
|
|
9613
9613
|
data: m.data
|
|
9614
9614
|
}));
|
|
9615
|
-
r.setExpandedKeys(p ? br(d, h) :
|
|
9615
|
+
r.setExpandedKeys(p ? br(d, h) : jr(d, h)), r.onNodeExpand(s, b);
|
|
9616
9616
|
}
|
|
9617
9617
|
}, r.onNodeClick = function(s, c) {
|
|
9618
9618
|
var u = r.props, d = u.onClick, f = u.expandAction;
|
|
@@ -9622,7 +9622,7 @@ var DA = 10, dd = /* @__PURE__ */ function(e) {
|
|
|
9622
9622
|
f === "doubleClick" && r.triggerExpandActionExpand(s, c), d == null || d(s, c);
|
|
9623
9623
|
}, r.onNodeSelect = function(s, c) {
|
|
9624
9624
|
var u = r.state.selectedKeys, d = r.state, f = d.keyEntities, p = d.fieldNames, h = r.props, g = h.onSelect, m = h.multiple, b = c.selected, y = c[p.key], S = !b;
|
|
9625
|
-
S ? m ? u =
|
|
9625
|
+
S ? m ? u = jr(u, y) : u = [y] : u = br(u, y);
|
|
9626
9626
|
var x = u.map(function(w) {
|
|
9627
9627
|
var _ = f[w];
|
|
9628
9628
|
return _ ? _.node : null;
|
|
@@ -9646,7 +9646,7 @@ var DA = 10, dd = /* @__PURE__ */ function(e) {
|
|
|
9646
9646
|
nativeEvent: s.nativeEvent
|
|
9647
9647
|
};
|
|
9648
9648
|
if (m) {
|
|
9649
|
-
var w = u ?
|
|
9649
|
+
var w = u ? jr(p, y) : br(p, y), _ = br(h, y);
|
|
9650
9650
|
S = {
|
|
9651
9651
|
checked: w,
|
|
9652
9652
|
halfChecked: _
|
|
@@ -9660,7 +9660,7 @@ var DA = 10, dd = /* @__PURE__ */ function(e) {
|
|
|
9660
9660
|
checkedKeys: w
|
|
9661
9661
|
});
|
|
9662
9662
|
} else {
|
|
9663
|
-
var k = Zo([].concat(
|
|
9663
|
+
var k = Zo([].concat(_o(p), [y]), !0, f), O = k.checkedKeys, $ = k.halfCheckedKeys;
|
|
9664
9664
|
if (!u) {
|
|
9665
9665
|
var V = new Set(O);
|
|
9666
9666
|
V.delete(y);
|
|
@@ -9694,7 +9694,7 @@ var DA = 10, dd = /* @__PURE__ */ function(e) {
|
|
|
9694
9694
|
return null;
|
|
9695
9695
|
var w = S(s);
|
|
9696
9696
|
return w.then(function() {
|
|
9697
|
-
var _ = r.state.loadedKeys, k =
|
|
9697
|
+
var _ = r.state.loadedKeys, k = jr(_, c);
|
|
9698
9698
|
x == null || x(k, {
|
|
9699
9699
|
event: "load",
|
|
9700
9700
|
node: s
|
|
@@ -9713,12 +9713,12 @@ var DA = 10, dd = /* @__PURE__ */ function(e) {
|
|
|
9713
9713
|
}), r.loadingRetryTimes[c] = (r.loadingRetryTimes[c] || 0) + 1, r.loadingRetryTimes[c] >= DA) {
|
|
9714
9714
|
var k = r.state.loadedKeys;
|
|
9715
9715
|
gt(!1, "Retry for `loadData` many times but still failed. No more retry."), r.setUncontrolledState({
|
|
9716
|
-
loadedKeys:
|
|
9716
|
+
loadedKeys: jr(k, c)
|
|
9717
9717
|
}), d();
|
|
9718
9718
|
}
|
|
9719
9719
|
f(_);
|
|
9720
9720
|
}), {
|
|
9721
|
-
loadingKeys:
|
|
9721
|
+
loadingKeys: jr(b, c)
|
|
9722
9722
|
};
|
|
9723
9723
|
});
|
|
9724
9724
|
});
|
|
@@ -9781,7 +9781,7 @@ var DA = 10, dd = /* @__PURE__ */ function(e) {
|
|
|
9781
9781
|
var u = r.state.expandedKeys, d = r.state, f = d.listChanging, p = d.fieldNames, h = r.props, g = h.onExpand, m = h.loadData, b = c.expanded, y = c[p.key];
|
|
9782
9782
|
if (!f) {
|
|
9783
9783
|
var S = u.indexOf(y), x = !b;
|
|
9784
|
-
if (gt(b && S !== -1 || !b && S === -1, "Expand state not sync with index check"), x ? u =
|
|
9784
|
+
if (gt(b && S !== -1 || !b && S === -1, "Expand state not sync with index check"), x ? u = jr(u, y) : u = br(u, y), r.setExpandedKeys(u), g == null || g(u, {
|
|
9785
9785
|
node: c,
|
|
9786
9786
|
expanded: x,
|
|
9787
9787
|
nativeEvent: s.nativeEvent
|
|
@@ -9929,7 +9929,7 @@ var DA = 10, dd = /* @__PURE__ */ function(e) {
|
|
|
9929
9929
|
aria: !0,
|
|
9930
9930
|
data: !0
|
|
9931
9931
|
}), Ee;
|
|
9932
|
-
return I && (
|
|
9932
|
+
return I && (Pr(I) === "object" ? Ee = I : typeof I == "function" ? Ee = {
|
|
9933
9933
|
nodeDraggable: I
|
|
9934
9934
|
} : Ee = {}), /* @__PURE__ */ l(cd.Provider, {
|
|
9935
9935
|
value: {
|
|
@@ -10137,8 +10137,8 @@ var $A = {
|
|
|
10137
10137
|
}, [c]);
|
|
10138
10138
|
var Y = String(a).toLowerCase(), Q = function(Ye) {
|
|
10139
10139
|
return Y ? String(Ye[P]).toLowerCase().includes(Y) : !1;
|
|
10140
|
-
}, he = C.useState(V), pe =
|
|
10141
|
-
return O ?
|
|
10140
|
+
}, he = C.useState(V), pe = qr(he, 2), ue = pe[0], ce = pe[1], Me = C.useState(null), Ee = qr(Me, 2), X = Ee[0], ae = Ee[1], Oe = C.useMemo(function() {
|
|
10141
|
+
return O ? Gr(O) : a ? X : ue;
|
|
10142
10142
|
}, [ue, X, O, a]);
|
|
10143
10143
|
C.useEffect(function() {
|
|
10144
10144
|
a && ae(PA(g, m));
|
|
@@ -10152,7 +10152,7 @@ var $A = {
|
|
|
10152
10152
|
w && eu(qe) || (b(qe.key, {
|
|
10153
10153
|
selected: !_.includes(qe.key)
|
|
10154
10154
|
}), i || s(!1));
|
|
10155
|
-
}, Ae = C.useState(null), Ne =
|
|
10155
|
+
}, Ae = C.useState(null), Ne = qr(Ae, 2), ye = Ne[0], Je = Ne[1], He = W[ye];
|
|
10156
10156
|
if (C.useImperativeHandle(n, function() {
|
|
10157
10157
|
var Pe;
|
|
10158
10158
|
return {
|
|
@@ -10255,7 +10255,7 @@ function kh(e, t, n, r) {
|
|
|
10255
10255
|
}
|
|
10256
10256
|
var LA = ["children", "value"];
|
|
10257
10257
|
function _y(e) {
|
|
10258
|
-
return
|
|
10258
|
+
return ro(e).map(function(t) {
|
|
10259
10259
|
if (!/* @__PURE__ */ C.isValidElement(t) || !t.type)
|
|
10260
10260
|
return null;
|
|
10261
10261
|
var n = t, r = n.key, o = n.props, i = o.children, a = o.value, s = Nm(o, LA), c = Wn({
|
|
@@ -10397,7 +10397,7 @@ const BA = function(e, t) {
|
|
|
10397
10397
|
o = s.checkedKeys, i = s.halfCheckedKeys;
|
|
10398
10398
|
}
|
|
10399
10399
|
return [
|
|
10400
|
-
Array.from(new Set([].concat(
|
|
10400
|
+
Array.from(new Set([].concat(Gr(a), Gr(o)))),
|
|
10401
10401
|
i
|
|
10402
10402
|
];
|
|
10403
10403
|
}, [e, t, n, r]);
|
|
@@ -10443,7 +10443,7 @@ function qA(e) {
|
|
|
10443
10443
|
var Cy = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
10444
10444
|
var n = e.id, r = e.prefixCls, o = r === void 0 ? "rc-tree-select" : r, i = e.value, a = e.defaultValue, s = e.onChange, c = e.onSelect, u = e.onDeselect, d = e.searchValue, f = e.inputValue, p = e.onSearch, h = e.autoClearSearchValue, g = h === void 0 ? !0 : h, m = e.filterTreeNode, b = e.treeNodeFilterProp, y = b === void 0 ? "value" : b, S = e.showCheckedStrategy, x = S === void 0 ? pd : S, w = e.treeNodeLabelProp, _ = e.multiple, k = e.treeCheckable, O = e.treeCheckStrictly, $ = e.labelInValue, V = e.fieldNames, R = e.treeDataSimpleMode, T = e.treeData, A = e.children, I = e.loadData, E = e.treeLoadedKeys, P = e.onTreeLoad, D = e.treeDefaultExpandAll, M = e.treeExpandedKeys, z = e.treeDefaultExpandedKeys, j = e.onTreeExpand, W = e.treeExpandAction, q = e.virtual, ne = e.listHeight, ie = ne === void 0 ? 200 : ne, Y = e.listItemHeight, Q = Y === void 0 ? 20 : Y, he = e.onDropdownVisibleChange, pe = e.dropdownMatchSelectWidth, ue = pe === void 0 ? !0 : pe, ce = e.treeLine, Me = e.treeIcon, Ee = e.showTreeIcon, X = e.switcherIcon, ae = e.treeMotion, Oe = Nm(e, GA), U = Gv(n), ke = k && !O, be = k || O, Ae = O || $, Ne = be || _, ye = ta(a, {
|
|
10445
10445
|
value: i
|
|
10446
|
-
}), Je =
|
|
10446
|
+
}), Je = qr(ye, 2), He = Je[0], it = Je[1];
|
|
10447
10447
|
process.env.NODE_ENV !== "production" && WA(e);
|
|
10448
10448
|
var Pe = C.useMemo(
|
|
10449
10449
|
function() {
|
|
@@ -10455,11 +10455,11 @@ var Cy = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
10455
10455
|
postState: function(me) {
|
|
10456
10456
|
return me || "";
|
|
10457
10457
|
}
|
|
10458
|
-
}), Ke =
|
|
10458
|
+
}), Ke = qr(Ye, 2), qe = Ke[0], xt = Ke[1], dt = function(me) {
|
|
10459
10459
|
xt(me), p == null || p(me);
|
|
10460
|
-
}, et = FA(T, A, R), vt = BA(et, Pe), Re = vt.keyEntities, Be = vt.valueEntities, lt = C.useCallback(function(
|
|
10460
|
+
}, et = FA(T, A, R), vt = BA(et, Pe), Re = vt.keyEntities, Be = vt.valueEntities, lt = C.useCallback(function(ee) {
|
|
10461
10461
|
var me = [], xe = [];
|
|
10462
|
-
return
|
|
10462
|
+
return ee.forEach(function($e) {
|
|
10463
10463
|
Be.has($e) ? xe.push($e) : me.push($e);
|
|
10464
10464
|
}), {
|
|
10465
10465
|
missingRawValues: me,
|
|
@@ -10469,25 +10469,25 @@ var Cy = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
10469
10469
|
fieldNames: Pe,
|
|
10470
10470
|
treeNodeFilterProp: y,
|
|
10471
10471
|
filterTreeNode: m
|
|
10472
|
-
}), yt = C.useCallback(function(
|
|
10473
|
-
if (
|
|
10472
|
+
}), yt = C.useCallback(function(ee) {
|
|
10473
|
+
if (ee) {
|
|
10474
10474
|
if (w)
|
|
10475
|
-
return
|
|
10475
|
+
return ee[w];
|
|
10476
10476
|
for (var me = Pe._title, xe = 0; xe < me.length; xe += 1) {
|
|
10477
|
-
var $e =
|
|
10477
|
+
var $e = ee[me[xe]];
|
|
10478
10478
|
if ($e !== void 0)
|
|
10479
10479
|
return $e;
|
|
10480
10480
|
}
|
|
10481
10481
|
}
|
|
10482
|
-
}, [Pe, w]), Bt = C.useCallback(function(
|
|
10483
|
-
var me = wy(
|
|
10482
|
+
}, [Pe, w]), Bt = C.useCallback(function(ee) {
|
|
10483
|
+
var me = wy(ee);
|
|
10484
10484
|
return me.map(function(xe) {
|
|
10485
10485
|
return qA(xe) ? {
|
|
10486
10486
|
value: xe
|
|
10487
10487
|
} : xe;
|
|
10488
10488
|
});
|
|
10489
|
-
}, []), St = C.useCallback(function(
|
|
10490
|
-
var me = Bt(
|
|
10489
|
+
}, []), St = C.useCallback(function(ee) {
|
|
10490
|
+
var me = Bt(ee);
|
|
10491
10491
|
return me.map(function(xe) {
|
|
10492
10492
|
var $e = xe.label, je = xe.value, Ve = xe.halfChecked, Qe, Ue = Be.get(je);
|
|
10493
10493
|
if (Ue) {
|
|
@@ -10509,16 +10509,16 @@ var Cy = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
10509
10509
|
}, [Be, yt, Bt, He]), sn = C.useMemo(function() {
|
|
10510
10510
|
return Bt(He);
|
|
10511
10511
|
}, [Bt, He]), jt = C.useMemo(function() {
|
|
10512
|
-
var
|
|
10512
|
+
var ee = [], me = [];
|
|
10513
10513
|
return sn.forEach(function(xe) {
|
|
10514
|
-
xe.halfChecked ? me.push(xe) :
|
|
10515
|
-
}), [
|
|
10516
|
-
}, [sn]), Ot =
|
|
10517
|
-
return Lt.map(function(
|
|
10518
|
-
return
|
|
10514
|
+
xe.halfChecked ? me.push(xe) : ee.push(xe);
|
|
10515
|
+
}), [ee, me];
|
|
10516
|
+
}, [sn]), Ot = qr(jt, 2), Lt = Ot[0], un = Ot[1], Ct = C.useMemo(function() {
|
|
10517
|
+
return Lt.map(function(ee) {
|
|
10518
|
+
return ee.value;
|
|
10519
10519
|
});
|
|
10520
|
-
}, [Lt]), On = jA(Lt, un, ke, Re), Xt =
|
|
10521
|
-
var
|
|
10520
|
+
}, [Lt]), On = jA(Lt, un, ke, Re), Xt = qr(On, 2), se = Xt[0], ge = Xt[1], we = C.useMemo(function() {
|
|
10521
|
+
var ee = kh(se, x, Re, Pe), me = ee.map(function(Ve) {
|
|
10522
10522
|
var Qe, Ue, rt;
|
|
10523
10523
|
return (Qe = (Ue = Re[Ve]) === null || Ue === void 0 || (rt = Ue.node) === null || rt === void 0 ? void 0 : rt[Pe.value]) !== null && Qe !== void 0 ? Qe : Ve;
|
|
10524
10524
|
}), xe = me.map(function(Ve) {
|
|
@@ -10536,12 +10536,12 @@ var Cy = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
10536
10536
|
label: (Qe = Ve.label) !== null && Qe !== void 0 ? Qe : Ve.value
|
|
10537
10537
|
});
|
|
10538
10538
|
});
|
|
10539
|
-
}, [Pe, Ne, se, Lt, St, x, Re]), Fe = HA(we), at =
|
|
10540
|
-
var $e = St(
|
|
10539
|
+
}, [Pe, Ne, se, Lt, St, x, Re]), Fe = HA(we), at = qr(Fe, 1), _t = at[0], dn = Th(function(ee, me, xe) {
|
|
10540
|
+
var $e = St(ee);
|
|
10541
10541
|
if (it($e), g && xt(""), s) {
|
|
10542
|
-
var je =
|
|
10542
|
+
var je = ee;
|
|
10543
10543
|
if (ke) {
|
|
10544
|
-
var Ve = kh(
|
|
10544
|
+
var Ve = kh(ee, x, Re, Pe);
|
|
10545
10545
|
je = Ve.map(function(kn) {
|
|
10546
10546
|
var Tn = Be.get(kn);
|
|
10547
10547
|
return Tn ? Tn.node[Pe.value] : kn;
|
|
@@ -10555,13 +10555,13 @@ var Cy = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
10555
10555
|
var xn = un.filter(function(kn) {
|
|
10556
10556
|
return !je.includes(kn.value);
|
|
10557
10557
|
});
|
|
10558
|
-
Pt = [].concat(
|
|
10558
|
+
Pt = [].concat(Gr(Pt), Gr(xn));
|
|
10559
10559
|
}
|
|
10560
10560
|
var Nn = St(Pt), Kt = {
|
|
10561
10561
|
preValue: Lt,
|
|
10562
10562
|
triggerValue: Ue
|
|
10563
10563
|
}, lr = !0;
|
|
10564
|
-
(O || xe === "selection" && !rt) && (lr = !1), VA(Kt, Ue,
|
|
10564
|
+
(O || xe === "selection" && !rt) && (lr = !1), VA(Kt, Ue, ee, et, lr, Pe), be ? Kt.checked = rt : Kt.selected = rt;
|
|
10565
10565
|
var mr = Ae ? Nn : Nn.map(function(kn) {
|
|
10566
10566
|
return kn.value;
|
|
10567
10567
|
});
|
|
@@ -10569,15 +10569,15 @@ var Cy = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
10569
10569
|
return kn.label;
|
|
10570
10570
|
}), Kt);
|
|
10571
10571
|
}
|
|
10572
|
-
}), fn = C.useCallback(function(
|
|
10573
|
-
var xe, $e = me.selected, je = me.source, Ve = Re[
|
|
10572
|
+
}), fn = C.useCallback(function(ee, me) {
|
|
10573
|
+
var xe, $e = me.selected, je = me.source, Ve = Re[ee], Qe = Ve == null ? void 0 : Ve.node, Ue = (xe = Qe == null ? void 0 : Qe[Pe.value]) !== null && xe !== void 0 ? xe : ee;
|
|
10574
10574
|
if (!Ne)
|
|
10575
10575
|
dn([Ue], {
|
|
10576
10576
|
selected: !0,
|
|
10577
10577
|
triggerValue: Ue
|
|
10578
10578
|
}, "option");
|
|
10579
10579
|
else {
|
|
10580
|
-
var rt = $e ? [].concat(
|
|
10580
|
+
var rt = $e ? [].concat(Gr(Ct), [Ue]) : se.filter(function(Tn) {
|
|
10581
10581
|
return Tn !== Ue;
|
|
10582
10582
|
});
|
|
10583
10583
|
if (ke) {
|
|
@@ -10594,7 +10594,7 @@ var Cy = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
10594
10594
|
}, Re);
|
|
10595
10595
|
lr = kn.checkedKeys;
|
|
10596
10596
|
}
|
|
10597
|
-
rt = [].concat(
|
|
10597
|
+
rt = [].concat(Gr(xn), Gr(lr.map(function(Tn) {
|
|
10598
10598
|
return Re[Tn].node[Pe.value];
|
|
10599
10599
|
})));
|
|
10600
10600
|
}
|
|
@@ -10604,17 +10604,17 @@ var Cy = /* @__PURE__ */ C.forwardRef(function(e, t) {
|
|
|
10604
10604
|
}, je || "option");
|
|
10605
10605
|
}
|
|
10606
10606
|
$e || !Ne ? c == null || c(Ue, nu(Qe)) : u == null || u(Ue, nu(Qe));
|
|
10607
|
-
}, [lt, Be, Re, Pe, Ne, Ct, dn, ke, c, u, se, ge]), Rn = C.useCallback(function(
|
|
10607
|
+
}, [lt, Be, Re, Pe, Ne, Ct, dn, ke, c, u, se, ge]), Rn = C.useCallback(function(ee) {
|
|
10608
10608
|
if (he) {
|
|
10609
10609
|
var me = {};
|
|
10610
10610
|
Object.defineProperty(me, "documentClickClose", {
|
|
10611
10611
|
get: function() {
|
|
10612
10612
|
return gt(!1, "Second param of `onDropdownVisibleChange` has been removed."), !1;
|
|
10613
10613
|
}
|
|
10614
|
-
}), he(
|
|
10614
|
+
}), he(ee, me);
|
|
10615
10615
|
}
|
|
10616
|
-
}, [he]), Dt = Th(function(
|
|
10617
|
-
var xe =
|
|
10616
|
+
}, [he]), Dt = Th(function(ee, me) {
|
|
10617
|
+
var xe = ee.map(function($e) {
|
|
10618
10618
|
return $e.value;
|
|
10619
10619
|
});
|
|
10620
10620
|
if (me.type === "clear") {
|
|
@@ -11175,7 +11175,7 @@ const tP = re(({
|
|
|
11175
11175
|
}, n) => /* @__PURE__ */ l("div", {
|
|
11176
11176
|
className: "filter-root",
|
|
11177
11177
|
ref: n,
|
|
11178
|
-
children: /* @__PURE__ */ l(
|
|
11178
|
+
children: /* @__PURE__ */ l(Rr, {
|
|
11179
11179
|
children: /* @__PURE__ */ l(nP, {
|
|
11180
11180
|
filter: e,
|
|
11181
11181
|
formFieldProps: t
|
|
@@ -11199,7 +11199,7 @@ const tP = re(({
|
|
|
11199
11199
|
}, [n.filters.values, i]), fe(() => {
|
|
11200
11200
|
n.filters.updatePreviewValues(a);
|
|
11201
11201
|
}, [a]);
|
|
11202
|
-
const s = n.filters.visibleInView(t.id), c = oe(() => s.every((p) => p.should_auto_submit), [s]), u = oe(() => s.filter((p) =>
|
|
11202
|
+
const s = n.filters.visibleInView(t.id), c = oe(() => s.every((p) => p.should_auto_submit), [s]), u = oe(() => s.filter((p) => J.get(p, "config.required", !1)), [s]), d = oe(() => u.length === 0 ? !1 : u.some((p) => !p.requiredAndPass(a[p.key])), [a, u]);
|
|
11203
11203
|
if (s.length === 0)
|
|
11204
11204
|
return null;
|
|
11205
11205
|
const f = (p, h) => (g, m) => {
|
|
@@ -11417,7 +11417,7 @@ const iP = re(function() {
|
|
|
11417
11417
|
children: n
|
|
11418
11418
|
})
|
|
11419
11419
|
}) : null;
|
|
11420
|
-
}),
|
|
11420
|
+
}), uo = (e, t) => {
|
|
11421
11421
|
const [n, r] = ze([]);
|
|
11422
11422
|
return fe(() => e.watchTriggerSnapshotList(
|
|
11423
11423
|
(o) => r(o.filter((i) => i.schemaRef === t))
|
|
@@ -11430,7 +11430,7 @@ class Uo {
|
|
|
11430
11430
|
async deleteItem(t) {
|
|
11431
11431
|
t === null && await this.root.deleteItem(this.path);
|
|
11432
11432
|
const n = await this.root.getItem(this.path) || {};
|
|
11433
|
-
await this.root.setItem(this.path,
|
|
11433
|
+
await this.root.setItem(this.path, ko(n, t));
|
|
11434
11434
|
}
|
|
11435
11435
|
async getItem(t) {
|
|
11436
11436
|
const n = await this.root.getItem(this.path);
|
|
@@ -11600,7 +11600,7 @@ const lP = (e) => {
|
|
|
11600
11600
|
return /* @__PURE__ */ l(c, {
|
|
11601
11601
|
context: s,
|
|
11602
11602
|
instance: a,
|
|
11603
|
-
...
|
|
11603
|
+
...ko(e, ["panel", "vizManager", "data"])
|
|
11604
11604
|
});
|
|
11605
11605
|
}, cP = (e) => {
|
|
11606
11606
|
const {
|
|
@@ -11616,7 +11616,7 @@ const lP = (e) => {
|
|
|
11616
11616
|
return /* @__PURE__ */ l(u, {
|
|
11617
11617
|
context: c,
|
|
11618
11618
|
instance: s,
|
|
11619
|
-
...
|
|
11619
|
+
...ko(e, ["panel", "vizManager", "data", "panelInfoEditor"])
|
|
11620
11620
|
});
|
|
11621
11621
|
}, Ry = (e, t) => {
|
|
11622
11622
|
const n = Ji.bezier(e), r = Ji.bezier(t);
|
|
@@ -11664,7 +11664,7 @@ const lP = (e) => {
|
|
|
11664
11664
|
getColor: yl(["#fff7f1", "darkorange", "#b60000"]),
|
|
11665
11665
|
name: "orange",
|
|
11666
11666
|
category: "sequential"
|
|
11667
|
-
}, Dy = "@devtable/dashboard", gd = "8.24.
|
|
11667
|
+
}, Dy = "@devtable/dashboard", gd = "8.24.1", Ay = "Apache-2.0", Py = {
|
|
11668
11668
|
access: "public",
|
|
11669
11669
|
registry: "https://registry.npmjs.org/"
|
|
11670
11670
|
}, $y = [
|
|
@@ -11975,7 +11975,7 @@ const nt = (e, t) => {
|
|
|
11975
11975
|
name: "Z Axis Name"
|
|
11976
11976
|
}
|
|
11977
11977
|
};
|
|
11978
|
-
At.use([
|
|
11978
|
+
At.use([Lr, am, Vr, zr, rr]);
|
|
11979
11979
|
function xP({
|
|
11980
11980
|
context: e
|
|
11981
11981
|
}) {
|
|
@@ -12357,7 +12357,7 @@ function kP({
|
|
|
12357
12357
|
children: [/* @__PURE__ */ l(K, {
|
|
12358
12358
|
weight: "bold",
|
|
12359
12359
|
children: "Preview"
|
|
12360
|
-
}), /* @__PURE__ */ l(
|
|
12360
|
+
}), /* @__PURE__ */ l(Rr, {
|
|
12361
12361
|
children: /* @__PURE__ */ v(B, {
|
|
12362
12362
|
position: "apart",
|
|
12363
12363
|
children: [/* @__PURE__ */ v(K, {
|
|
@@ -12384,7 +12384,7 @@ function kP({
|
|
|
12384
12384
|
})]
|
|
12385
12385
|
});
|
|
12386
12386
|
}
|
|
12387
|
-
const
|
|
12387
|
+
const fo = Z.forwardRef(kP), $r = {
|
|
12388
12388
|
enabled: !1,
|
|
12389
12389
|
func_content: ["function label(value, index) {", " // your code goes here", " // return value", "}"].join(`
|
|
12390
12390
|
`)
|
|
@@ -12442,8 +12442,8 @@ const OP = [{
|
|
|
12442
12442
|
onChange: n
|
|
12443
12443
|
}, r) => {
|
|
12444
12444
|
const o = (i) => (a) => {
|
|
12445
|
-
const s =
|
|
12446
|
-
|
|
12445
|
+
const s = J.cloneDeep(t);
|
|
12446
|
+
J.set(s, i, a), n(s);
|
|
12447
12447
|
};
|
|
12448
12448
|
return /* @__PURE__ */ v(G, {
|
|
12449
12449
|
spacing: 0,
|
|
@@ -12504,7 +12504,7 @@ const OP = [{
|
|
|
12504
12504
|
onChange: o
|
|
12505
12505
|
})]
|
|
12506
12506
|
});
|
|
12507
|
-
}),
|
|
12507
|
+
}), ao = {
|
|
12508
12508
|
on_axis: {
|
|
12509
12509
|
width: 80,
|
|
12510
12510
|
overflow: "truncate",
|
|
@@ -12547,8 +12547,8 @@ const vd = {
|
|
|
12547
12547
|
data_key: "",
|
|
12548
12548
|
axisLabel: {
|
|
12549
12549
|
rotate: 0,
|
|
12550
|
-
formatter: {
|
|
12551
|
-
overflow:
|
|
12550
|
+
formatter: { ...$r },
|
|
12551
|
+
overflow: ao
|
|
12552
12552
|
}
|
|
12553
12553
|
},
|
|
12554
12554
|
y_axis: {
|
|
@@ -12652,7 +12652,7 @@ function AP({
|
|
|
12652
12652
|
i((p) => [...p, ""]);
|
|
12653
12653
|
}, [i]), s = Z.useCallback((p) => {
|
|
12654
12654
|
i((h) => (h.splice(p, 1), [...h]));
|
|
12655
|
-
}, [i]), c = Z.useMemo(() => !
|
|
12655
|
+
}, [i]), c = Z.useMemo(() => !J.isEqual(o, t), [o, t]), u = () => {
|
|
12656
12656
|
n(o.map((p) => p.toString()));
|
|
12657
12657
|
}, d = Hg(), f = Z.useMemo(() => Object.entries(d.colors).map(([p, h]) => h[6]), [d]);
|
|
12658
12658
|
return /* @__PURE__ */ v(De, {
|
|
@@ -12806,7 +12806,7 @@ function IP({
|
|
|
12806
12806
|
a((f) => [...f, ""]);
|
|
12807
12807
|
}, [a]), c = Z.useCallback((f) => {
|
|
12808
12808
|
a((p) => (p.splice(f, 1), [...p]));
|
|
12809
|
-
}, [a]), u = Z.useMemo(() => !
|
|
12809
|
+
}, [a]), u = Z.useMemo(() => !J.isEqual(i.map(String), t.map(String)), [i, t]);
|
|
12810
12810
|
return /* @__PURE__ */ v(De, {
|
|
12811
12811
|
children: [/* @__PURE__ */ v(B, {
|
|
12812
12812
|
position: "left",
|
|
@@ -12859,8 +12859,8 @@ const LP = Z.forwardRef(IP), Wy = Z.forwardRef(function({
|
|
|
12859
12859
|
onChange: n
|
|
12860
12860
|
}, r) {
|
|
12861
12861
|
const o = t.color.type, i = (a, s) => {
|
|
12862
|
-
const c =
|
|
12863
|
-
|
|
12862
|
+
const c = J.cloneDeep(t);
|
|
12863
|
+
J.set(c, a, s), n(c);
|
|
12864
12864
|
};
|
|
12865
12865
|
return /* @__PURE__ */ v(De, {
|
|
12866
12866
|
children: [/* @__PURE__ */ l(Ce, {
|
|
@@ -12932,8 +12932,8 @@ Z.forwardRef(function({
|
|
|
12932
12932
|
withStyle: o = !0
|
|
12933
12933
|
}, i) {
|
|
12934
12934
|
const a = (s, c) => {
|
|
12935
|
-
const u =
|
|
12936
|
-
|
|
12935
|
+
const u = J.cloneDeep(t);
|
|
12936
|
+
J.set(u, s, c), n(u);
|
|
12937
12937
|
};
|
|
12938
12938
|
return /* @__PURE__ */ v(Se, {
|
|
12939
12939
|
px: "sm",
|
|
@@ -12970,7 +12970,7 @@ Z.forwardRef(function({
|
|
|
12970
12970
|
my: "xs",
|
|
12971
12971
|
label: "Format",
|
|
12972
12972
|
labelPosition: "center"
|
|
12973
|
-
}), /* @__PURE__ */ l(
|
|
12973
|
+
}), /* @__PURE__ */ l(fo, {
|
|
12974
12974
|
value: t.formatter,
|
|
12975
12975
|
onChange: (s) => a("formatter", s)
|
|
12976
12976
|
}), o && /* @__PURE__ */ l(Wy, {
|
|
@@ -12997,15 +12997,15 @@ function bl(e, t, n) {
|
|
|
12997
12997
|
const a = e.map((s) => zP(s, t));
|
|
12998
12998
|
switch (n.type) {
|
|
12999
12999
|
case "sum":
|
|
13000
|
-
return
|
|
13000
|
+
return J.sum(a);
|
|
13001
13001
|
case "mean":
|
|
13002
|
-
return
|
|
13002
|
+
return J.mean(a);
|
|
13003
13003
|
case "median":
|
|
13004
13004
|
return VP(a);
|
|
13005
13005
|
case "max":
|
|
13006
|
-
return (r =
|
|
13006
|
+
return (r = J.max(a)) != null ? r : 0;
|
|
13007
13007
|
case "min":
|
|
13008
|
-
return (o =
|
|
13008
|
+
return (o = J.min(a)) != null ? o : 0;
|
|
13009
13009
|
case "quantile":
|
|
13010
13010
|
return (i = ss(a, n.config.p)) != null ? i : 0;
|
|
13011
13011
|
default:
|
|
@@ -13053,11 +13053,11 @@ const xd = (e, t) => (n) => Boolean(Aa(n) && HP.test(n) && n.startsWith(e) || t
|
|
|
13053
13053
|
[n]: parseFloat(a),
|
|
13054
13054
|
alpha: s !== void 0 ? parseFloat(s) : 1
|
|
13055
13055
|
};
|
|
13056
|
-
},
|
|
13056
|
+
}, wo = {
|
|
13057
13057
|
test: xd("hsl", "hue"),
|
|
13058
13058
|
parse: Xy("hue", "saturation", "lightness"),
|
|
13059
13059
|
transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Qi.transform(Xi(t)) + ", " + Qi.transform(Xi(n)) + ", " + Xi(Yy.transform(r)) + ")"
|
|
13060
|
-
}, jP = Uy(0, 255), ec = Object.assign(Object.assign({}, wl), { transform: (e) => Math.round(jP(e)) }),
|
|
13060
|
+
}, jP = Uy(0, 255), ec = Object.assign(Object.assign({}, wl), { transform: (e) => Math.round(jP(e)) }), Zr = {
|
|
13061
13061
|
test: xd("rgb", "red"),
|
|
13062
13062
|
parse: Xy("red", "green", "blue"),
|
|
13063
13063
|
transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + ec.transform(e) + ", " + ec.transform(t) + ", " + ec.transform(n) + ", " + Xi(Yy.transform(r)) + ")"
|
|
@@ -13074,11 +13074,11 @@ function KP(e) {
|
|
|
13074
13074
|
const ou = {
|
|
13075
13075
|
test: xd("#"),
|
|
13076
13076
|
parse: KP,
|
|
13077
|
-
transform:
|
|
13077
|
+
transform: Zr.transform
|
|
13078
13078
|
}, xl = {
|
|
13079
|
-
test: (e) =>
|
|
13080
|
-
parse: (e) =>
|
|
13081
|
-
transform: (e) => Aa(e) ? e : e.hasOwnProperty("red") ?
|
|
13079
|
+
test: (e) => Zr.test(e) || ou.test(e) || wo.test(e),
|
|
13080
|
+
parse: (e) => Zr.test(e) ? Zr.parse(e) : wo.test(e) ? wo.parse(e) : ou.parse(e),
|
|
13081
|
+
transform: (e) => Aa(e) ? e : e.hasOwnProperty("red") ? Zr.transform(e) : wo.transform(e)
|
|
13082
13082
|
}, Qy = "${c}", Zy = "${n}";
|
|
13083
13083
|
function WP(e) {
|
|
13084
13084
|
var t, n, r, o;
|
|
@@ -13133,11 +13133,11 @@ function Mh({ hue: e, saturation: t, lightness: n, alpha: r }) {
|
|
|
13133
13133
|
const UP = (e, t, n) => {
|
|
13134
13134
|
const r = e * e, o = t * t;
|
|
13135
13135
|
return Math.sqrt(Math.max(0, n * (o - r) + r));
|
|
13136
|
-
}, YP = [ou,
|
|
13136
|
+
}, YP = [ou, Zr, wo], Oh = (e) => YP.find((t) => t.test(e)), Rh = (e) => `'${e}' is not an animatable color. Use the equivalent color code instead.`, rb = (e, t) => {
|
|
13137
13137
|
let n = Oh(e), r = Oh(t);
|
|
13138
13138
|
la(!!n, Rh(e)), la(!!r, Rh(t));
|
|
13139
13139
|
let o = n.parse(e), i = r.parse(t);
|
|
13140
|
-
n ===
|
|
13140
|
+
n === wo && (o = Mh(o), n = Zr), r === wo && (i = Mh(i), r = Zr);
|
|
13141
13141
|
const a = Object.assign({}, o);
|
|
13142
13142
|
return (s) => {
|
|
13143
13143
|
for (const c in a)
|
|
@@ -13387,7 +13387,7 @@ const p$ = (e) => (t) => {
|
|
|
13387
13387
|
return f$(e, r);
|
|
13388
13388
|
const o = iu.map((s) => `
|
|
13389
13389
|
<tr>
|
|
13390
|
-
<th style="text-align: right; padding: 0 1em;">${
|
|
13390
|
+
<th style="text-align: right; padding: 0 1em;">${J.capitalize(s)}</th>
|
|
13391
13391
|
<td style="text-align: left; padding: 0 1em;">
|
|
13392
13392
|
${Wt(r[s]).format(e.y_axis.label_formatter)}
|
|
13393
13393
|
</td>
|
|
@@ -13413,7 +13413,7 @@ function h$({ config: e }) {
|
|
|
13413
13413
|
function g$(e, t) {
|
|
13414
13414
|
return Object.entries(e).map(([r, o]) => {
|
|
13415
13415
|
var m, b, y, S;
|
|
13416
|
-
const i = o.map((x) => x[t]).sort((x, w) => x - w), a = (m = ss(i, 0.25)) != null ? m : 0, s = (b = ss(i, 0.5)) != null ? b : 0, c = (y = ss(i, 0.75)) != null ? y : 0, u = c - a, d = a - 1.5 * u, f = c + 1.5 * u, p = Math.max(i[0], d), h = Math.min((S =
|
|
13416
|
+
const i = o.map((x) => x[t]).sort((x, w) => x - w), a = (m = ss(i, 0.25)) != null ? m : 0, s = (b = ss(i, 0.5)) != null ? b : 0, c = (y = ss(i, 0.75)) != null ? y : 0, u = c - a, d = a - 1.5 * u, f = c + 1.5 * u, p = Math.max(i[0], d), h = Math.min((S = J.last(i)) != null ? S : 0, f), g = i.filter((x) => x < p || x > h).map((x) => [r, x]);
|
|
13417
13417
|
return {
|
|
13418
13418
|
name: r,
|
|
13419
13419
|
min: p,
|
|
@@ -13453,7 +13453,7 @@ function m$(e, t, n) {
|
|
|
13453
13453
|
}));
|
|
13454
13454
|
}
|
|
13455
13455
|
function v$({ config: e, data: t, variables: n }) {
|
|
13456
|
-
const { x_axis: r, y_axis: o, color: i, reference_lines: a } = e, s =
|
|
13456
|
+
const { x_axis: r, y_axis: o, color: i, reference_lines: a } = e, s = J.groupBy(t, r.data_key), c = g$(s, o.data_key), u = c.map((f) => f.outliers).flat(), d = Io(r.axisLabel.overflow.on_axis);
|
|
13457
13457
|
return {
|
|
13458
13458
|
dataset: [
|
|
13459
13459
|
{
|
|
@@ -13530,7 +13530,7 @@ function v$({ config: e, data: t, variables: n }) {
|
|
|
13530
13530
|
]
|
|
13531
13531
|
};
|
|
13532
13532
|
}
|
|
13533
|
-
At.use([No, qx, Vu,
|
|
13533
|
+
At.use([No, qx, Vu, Lr, Vr, zr, rr]);
|
|
13534
13534
|
function y$({
|
|
13535
13535
|
context: e,
|
|
13536
13536
|
instance: t
|
|
@@ -13542,11 +13542,11 @@ function y$({
|
|
|
13542
13542
|
} = e, o = e.data, {
|
|
13543
13543
|
width: i,
|
|
13544
13544
|
height: a
|
|
13545
|
-
} = e.viewport, s = on({}, n, vd), c =
|
|
13545
|
+
} = e.viewport, s = on({}, n, vd), c = po({
|
|
13546
13546
|
vizManager: e.vizManager,
|
|
13547
13547
|
instance: t
|
|
13548
|
-
}), u =
|
|
13549
|
-
const m =
|
|
13548
|
+
}), u = uo(c.triggerManager, jy.id), d = oe(() => J.keyBy(o, s.x_axis.data_key), [o, s.x_axis.data_key]), f = ht((g) => {
|
|
13549
|
+
const m = J.get(d, g.name, {
|
|
13550
13550
|
error: "rowData is not found"
|
|
13551
13551
|
});
|
|
13552
13552
|
u.forEach((b) => {
|
|
@@ -13745,7 +13745,7 @@ const x$ = ({
|
|
|
13745
13745
|
func_content: h
|
|
13746
13746
|
}));
|
|
13747
13747
|
}, p = () => {
|
|
13748
|
-
f(
|
|
13748
|
+
f($r.func_content);
|
|
13749
13749
|
};
|
|
13750
13750
|
return /* @__PURE__ */ v(De, {
|
|
13751
13751
|
children: [/* @__PURE__ */ l(de, {
|
|
@@ -13779,7 +13779,7 @@ const x$ = ({
|
|
|
13779
13779
|
children: [/* @__PURE__ */ l(de, {
|
|
13780
13780
|
onClick: p,
|
|
13781
13781
|
color: "red",
|
|
13782
|
-
leftIcon: /* @__PURE__ */ l(
|
|
13782
|
+
leftIcon: /* @__PURE__ */ l(Ir, {
|
|
13783
13783
|
size: 20
|
|
13784
13784
|
}),
|
|
13785
13785
|
children: "Rest"
|
|
@@ -13931,7 +13931,7 @@ const x$ = ({
|
|
|
13931
13931
|
control: e,
|
|
13932
13932
|
render: ({
|
|
13933
13933
|
field: r
|
|
13934
|
-
}) => /* @__PURE__ */ l(
|
|
13934
|
+
}) => /* @__PURE__ */ l(fo, {
|
|
13935
13935
|
...r
|
|
13936
13936
|
})
|
|
13937
13937
|
})]
|
|
@@ -14053,7 +14053,7 @@ function C$({
|
|
|
14053
14053
|
});
|
|
14054
14054
|
}
|
|
14055
14055
|
function E$(e) {
|
|
14056
|
-
return
|
|
14056
|
+
return ko(e, "variables");
|
|
14057
14057
|
}
|
|
14058
14058
|
function k$(e) {
|
|
14059
14059
|
const {
|
|
@@ -14072,7 +14072,7 @@ function T$(e) {
|
|
|
14072
14072
|
const t = {
|
|
14073
14073
|
rotate: 0,
|
|
14074
14074
|
formatter: {
|
|
14075
|
-
|
|
14075
|
+
...$r
|
|
14076
14076
|
}
|
|
14077
14077
|
}, {
|
|
14078
14078
|
axisLabel: n = t,
|
|
@@ -14105,7 +14105,7 @@ function M$(e) {
|
|
|
14105
14105
|
}
|
|
14106
14106
|
}
|
|
14107
14107
|
};
|
|
14108
|
-
return
|
|
14108
|
+
return J.defaultsDeep(t, e);
|
|
14109
14109
|
}
|
|
14110
14110
|
function O$(e) {
|
|
14111
14111
|
delete e.config;
|
|
@@ -14122,7 +14122,7 @@ function O$(e) {
|
|
|
14122
14122
|
}
|
|
14123
14123
|
}
|
|
14124
14124
|
};
|
|
14125
|
-
return
|
|
14125
|
+
return J.defaultsDeep(r, e);
|
|
14126
14126
|
}
|
|
14127
14127
|
class R$ extends hn {
|
|
14128
14128
|
constructor() {
|
|
@@ -14234,10 +14234,10 @@ const Cd = {
|
|
|
14234
14234
|
context: e,
|
|
14235
14235
|
instance: t
|
|
14236
14236
|
}) => {
|
|
14237
|
-
const n =
|
|
14237
|
+
const n = po({
|
|
14238
14238
|
vizManager: e.vizManager,
|
|
14239
14239
|
instance: t
|
|
14240
|
-
}), r =
|
|
14240
|
+
}), r = uo(n.triggerManager, cb.id), o = Ge(), {
|
|
14241
14241
|
value: i
|
|
14242
14242
|
} = nt(e.instanceData, "config"), a = oe(() => an({}, i, Cd), [i]), {
|
|
14243
14243
|
content: s,
|
|
@@ -14585,8 +14585,8 @@ const Ed = {
|
|
|
14585
14585
|
x_axis: {
|
|
14586
14586
|
axisLabel: {
|
|
14587
14587
|
rotate: 0,
|
|
14588
|
-
formatter: {
|
|
14589
|
-
overflow:
|
|
14588
|
+
formatter: { ...$r },
|
|
14589
|
+
overflow: ao
|
|
14590
14590
|
}
|
|
14591
14591
|
},
|
|
14592
14592
|
x_axis_data_key: "",
|
|
@@ -14765,7 +14765,7 @@ function tN({ type: e, ...t }, n, r, o) {
|
|
|
14765
14765
|
try {
|
|
14766
14766
|
return new Function(`return ${i}`)()(
|
|
14767
14767
|
{ rowData: u, params: c, variables: o },
|
|
14768
|
-
{ lodash:
|
|
14768
|
+
{ lodash: J, interpolate: Sl }
|
|
14769
14769
|
);
|
|
14770
14770
|
} catch (d) {
|
|
14771
14771
|
return console.error(`[getEchartsSymbolSize] failed parsing custom function, error: ${d.message}`), 10;
|
|
@@ -14777,7 +14777,7 @@ function Td(e, t, n) {
|
|
|
14777
14777
|
}
|
|
14778
14778
|
function nN(e, t, n, r) {
|
|
14779
14779
|
const o = Td(t, n, r);
|
|
14780
|
-
return
|
|
14780
|
+
return J.unionBy(o, e, 0);
|
|
14781
14781
|
}
|
|
14782
14782
|
function rN({
|
|
14783
14783
|
dataTemplate: e,
|
|
@@ -14798,7 +14798,7 @@ function oN({
|
|
|
14798
14798
|
}) {
|
|
14799
14799
|
if (!n || n.type === "none")
|
|
14800
14800
|
return rN({ dataTemplate: e, data: t, x_axis_data_key: r, y_axis_data_key: o, valueTypedXAxis: i });
|
|
14801
|
-
const a = Td(t, r, o), s =
|
|
14801
|
+
const a = Td(t, r, o), s = J.groupBy(a, "0");
|
|
14802
14802
|
return Object.entries(s).map(([u, d]) => {
|
|
14803
14803
|
const f = bl(d, "1", n);
|
|
14804
14804
|
return [u, f];
|
|
@@ -14810,7 +14810,7 @@ function iN({
|
|
|
14810
14810
|
x_axis_data_key: n,
|
|
14811
14811
|
y_axis_data_key: r
|
|
14812
14812
|
}) {
|
|
14813
|
-
const o =
|
|
14813
|
+
const o = J.groupBy(t, e);
|
|
14814
14814
|
return Object.entries(o).forEach(([i, a]) => {
|
|
14815
14815
|
o[i] = Td(a, n, r);
|
|
14816
14816
|
}), o;
|
|
@@ -15018,7 +15018,7 @@ const hN = {
|
|
|
15018
15018
|
}
|
|
15019
15019
|
};
|
|
15020
15020
|
function gN(e, t, n) {
|
|
15021
|
-
const r = dN(t, n), o = uN(e), i =
|
|
15021
|
+
const r = dN(t, n), o = uN(e), i = J.uniq(t.map((p) => p[e.x_axis_data_key])), a = i.every((p) => !Number.isNaN(Number(p))), s = sN(e, i, a, t, o, n, r), { regressionDataSets: c, regressionSeries: u, regressionXAxes: d } = Z$(e, t), f = {
|
|
15022
15022
|
xAxis: fN(e, i, d),
|
|
15023
15023
|
yAxis: pN(e, o),
|
|
15024
15024
|
dataset: [...c],
|
|
@@ -15030,7 +15030,7 @@ function gN(e, t, n) {
|
|
|
15030
15030
|
};
|
|
15031
15031
|
return an({}, f, hN);
|
|
15032
15032
|
}
|
|
15033
|
-
At.use([No, Js, el, zu,
|
|
15033
|
+
At.use([No, Js, el, zu, Lr, Vr, zr, rr, Vu, sm]);
|
|
15034
15034
|
At.registerTransform(nl.regression);
|
|
15035
15035
|
function Ah(e) {
|
|
15036
15036
|
return e.trim().length > 0;
|
|
@@ -15043,8 +15043,8 @@ function mN({
|
|
|
15043
15043
|
interactionManager: o,
|
|
15044
15044
|
variables: i
|
|
15045
15045
|
}) {
|
|
15046
|
-
const a = oe(() =>
|
|
15047
|
-
const p =
|
|
15046
|
+
const a = oe(() => J.keyBy(t, e.x_axis_data_key), [t, e.x_axis_data_key]), s = uo(o.triggerManager, ub.id), c = ht((f) => {
|
|
15047
|
+
const p = J.get(a, f.name, {
|
|
15048
15048
|
error: "rowData is not found"
|
|
15049
15049
|
});
|
|
15050
15050
|
s.forEach((h) => {
|
|
@@ -15071,7 +15071,7 @@ function vN({
|
|
|
15071
15071
|
context: e,
|
|
15072
15072
|
instance: t
|
|
15073
15073
|
}) {
|
|
15074
|
-
const n =
|
|
15074
|
+
const n = po({
|
|
15075
15075
|
vizManager: e.vizManager,
|
|
15076
15076
|
instance: t
|
|
15077
15077
|
}), {
|
|
@@ -16125,7 +16125,7 @@ const AN = ({
|
|
|
16125
16125
|
children: [/* @__PURE__ */ l(de, {
|
|
16126
16126
|
onClick: f,
|
|
16127
16127
|
color: "red",
|
|
16128
|
-
leftIcon: /* @__PURE__ */ l(
|
|
16128
|
+
leftIcon: /* @__PURE__ */ l(Ir, {
|
|
16129
16129
|
size: 20
|
|
16130
16130
|
}),
|
|
16131
16131
|
children: "Rest"
|
|
@@ -16656,7 +16656,7 @@ function jN({
|
|
|
16656
16656
|
})), c = () => {
|
|
16657
16657
|
const f = {
|
|
16658
16658
|
type: "bar",
|
|
16659
|
-
name:
|
|
16659
|
+
name: no(),
|
|
16660
16660
|
showSymbol: !1,
|
|
16661
16661
|
symbolSize: Od.static,
|
|
16662
16662
|
y_axis_data_key: "value",
|
|
@@ -16947,7 +16947,7 @@ function UN({
|
|
|
16947
16947
|
control: e,
|
|
16948
16948
|
render: ({
|
|
16949
16949
|
field: r
|
|
16950
|
-
}) => /* @__PURE__ */ l(
|
|
16950
|
+
}) => /* @__PURE__ */ l(fo, {
|
|
16951
16951
|
...r
|
|
16952
16952
|
})
|
|
16953
16953
|
})]
|
|
@@ -17192,13 +17192,13 @@ function XN({
|
|
|
17192
17192
|
});
|
|
17193
17193
|
}
|
|
17194
17194
|
function QN(e) {
|
|
17195
|
-
const t = bn(
|
|
17196
|
-
return t.stats =
|
|
17195
|
+
const t = bn(ko(e, "variables"));
|
|
17196
|
+
return t.stats = ko(t.stats, "variables"), t;
|
|
17197
17197
|
}
|
|
17198
17198
|
function ZN(e) {
|
|
17199
17199
|
const {
|
|
17200
17200
|
rotate: t,
|
|
17201
|
-
formatter: n =
|
|
17201
|
+
formatter: n = $r
|
|
17202
17202
|
} = e.x_axis.axisLabel;
|
|
17203
17203
|
return {
|
|
17204
17204
|
...e,
|
|
@@ -17240,7 +17240,7 @@ function eI(e) {
|
|
|
17240
17240
|
}
|
|
17241
17241
|
}
|
|
17242
17242
|
};
|
|
17243
|
-
return
|
|
17243
|
+
return J.defaultsDeep(t, e);
|
|
17244
17244
|
}
|
|
17245
17245
|
function tI(e) {
|
|
17246
17246
|
const t = e.reference_lines.map((n) => {
|
|
@@ -17323,7 +17323,7 @@ function iI(e) {
|
|
|
17323
17323
|
}
|
|
17324
17324
|
}
|
|
17325
17325
|
};
|
|
17326
|
-
return
|
|
17326
|
+
return J.defaultsDeep(r, e);
|
|
17327
17327
|
}
|
|
17328
17328
|
function aI(e) {
|
|
17329
17329
|
const {
|
|
@@ -17445,7 +17445,7 @@ function dI(e) {
|
|
|
17445
17445
|
right: 5,
|
|
17446
17446
|
bottom: 5
|
|
17447
17447
|
};
|
|
17448
|
-
return e.orient === "vertical" &&
|
|
17448
|
+
return e.orient === "vertical" && J.get(r, n) && n === e.funnelAlign && J.set(r, n, t), r;
|
|
17449
17449
|
}
|
|
17450
17450
|
function fI(e, t) {
|
|
17451
17451
|
return e.series.map((n) => {
|
|
@@ -17485,7 +17485,7 @@ function pI({ conf: e, params: t, max: n }) {
|
|
|
17485
17485
|
}
|
|
17486
17486
|
function hI(e, t) {
|
|
17487
17487
|
var o;
|
|
17488
|
-
const n = e.series[0].level_value_data_key, r = (o =
|
|
17488
|
+
const n = e.series[0].level_value_data_key, r = (o = J.maxBy(t, n)) == null ? void 0 : o[n];
|
|
17489
17489
|
return (i) => {
|
|
17490
17490
|
const s = pI({ conf: e, params: i, max: r }).map((u) => `
|
|
17491
17491
|
<tr>
|
|
@@ -17545,7 +17545,7 @@ function vI(e) {
|
|
|
17545
17545
|
axisLabel: {
|
|
17546
17546
|
show: !0,
|
|
17547
17547
|
position: "inside",
|
|
17548
|
-
overflow:
|
|
17548
|
+
overflow: ao
|
|
17549
17549
|
},
|
|
17550
17550
|
sort: "descending",
|
|
17551
17551
|
orient: "vertical",
|
|
@@ -17555,7 +17555,7 @@ function vI(e) {
|
|
|
17555
17555
|
const Rd = {
|
|
17556
17556
|
series: [vI("Funnel")]
|
|
17557
17557
|
};
|
|
17558
|
-
At.use([Ux, No,
|
|
17558
|
+
At.use([Ux, No, Lr, Vr, zr, rr]);
|
|
17559
17559
|
function yI({
|
|
17560
17560
|
conf: e,
|
|
17561
17561
|
data: t,
|
|
@@ -17949,7 +17949,7 @@ const wI = [{
|
|
|
17949
17949
|
}), a = t("series"), s = r.map((f, p) => ({
|
|
17950
17950
|
...f,
|
|
17951
17951
|
...a[p]
|
|
17952
|
-
})), c =
|
|
17952
|
+
})), c = J.get(s, "0.id"), [u, d] = ze(c != null ? c : null);
|
|
17953
17953
|
return fe(() => {
|
|
17954
17954
|
c && d((f) => f !== null ? f : c);
|
|
17955
17955
|
}, [c]), /* @__PURE__ */ v(H, {
|
|
@@ -17971,7 +17971,7 @@ const wI = [{
|
|
|
17971
17971
|
children: /* @__PURE__ */ l(nn, {
|
|
17972
17972
|
label: "TODO",
|
|
17973
17973
|
children: /* @__PURE__ */ l(fi, {
|
|
17974
|
-
children: /* @__PURE__ */ l(
|
|
17974
|
+
children: /* @__PURE__ */ l(co, {
|
|
17975
17975
|
size: 18,
|
|
17976
17976
|
color: "#228be6"
|
|
17977
17977
|
})
|
|
@@ -17996,7 +17996,7 @@ function TI({
|
|
|
17996
17996
|
const {
|
|
17997
17997
|
value: t,
|
|
17998
17998
|
set: n
|
|
17999
|
-
} = nt(e.instanceData, "config"), r = e.data, o = oe(() =>
|
|
17999
|
+
} = nt(e.instanceData, "config"), r = e.data, o = oe(() => J.defaultsDeep({}, t, Rd), [t]), {
|
|
18000
18000
|
control: i,
|
|
18001
18001
|
handleSubmit: a,
|
|
18002
18002
|
watch: s,
|
|
@@ -18008,7 +18008,7 @@ function TI({
|
|
|
18008
18008
|
fe(() => {
|
|
18009
18009
|
u(o);
|
|
18010
18010
|
}, [o]), s([]);
|
|
18011
|
-
const d = c(), f = oe(() => !
|
|
18011
|
+
const d = c(), f = oe(() => !J.isEqual(d, o), [d, o]);
|
|
18012
18012
|
return /* @__PURE__ */ l(G, {
|
|
18013
18013
|
spacing: "xs",
|
|
18014
18014
|
children: /* @__PURE__ */ v("form", {
|
|
@@ -18152,7 +18152,7 @@ function $I(e, t) {
|
|
|
18152
18152
|
borderColor: "white",
|
|
18153
18153
|
borderWidth: 2
|
|
18154
18154
|
},
|
|
18155
|
-
data: t.map((i) => [
|
|
18155
|
+
data: t.map((i) => [J.get(i, n.data_key), J.get(i, r.data_key), J.get(i, o.data_key)])
|
|
18156
18156
|
};
|
|
18157
18157
|
}
|
|
18158
18158
|
const NI = (e) => {
|
|
@@ -18191,7 +18191,7 @@ function II({ conf: e, labelFormatters: t, valueFormatters: n, dataDict: r, para
|
|
|
18191
18191
|
return g && e.tooltip.metrics.forEach((m) => {
|
|
18192
18192
|
h.push({
|
|
18193
18193
|
label: m.name,
|
|
18194
|
-
value: NI(
|
|
18194
|
+
value: NI(J.get(g, m.data_key, "")),
|
|
18195
18195
|
style: {
|
|
18196
18196
|
label: "",
|
|
18197
18197
|
value: ""
|
|
@@ -18200,7 +18200,7 @@ function II({ conf: e, labelFormatters: t, valueFormatters: n, dataDict: r, para
|
|
|
18200
18200
|
}), h;
|
|
18201
18201
|
}
|
|
18202
18202
|
function LI(e, t, n, r) {
|
|
18203
|
-
const o =
|
|
18203
|
+
const o = J.keyBy(t, (i) => `${i[e.x_axis.data_key]}---${i[e.y_axis.data_key]}`);
|
|
18204
18204
|
return {
|
|
18205
18205
|
confine: !0,
|
|
18206
18206
|
formatter: function(i) {
|
|
@@ -18248,7 +18248,7 @@ function zI(e, t, n) {
|
|
|
18248
18248
|
return {
|
|
18249
18249
|
id: "main-x-axis",
|
|
18250
18250
|
type: "category",
|
|
18251
|
-
data:
|
|
18251
|
+
data: J.uniq(t.map((s) => s[e.x_axis.data_key])),
|
|
18252
18252
|
name: (a = e.x_axis.name) != null ? a : "",
|
|
18253
18253
|
align: "center",
|
|
18254
18254
|
axisTick: {
|
|
@@ -18274,7 +18274,7 @@ function FI(e, t, n) {
|
|
|
18274
18274
|
return {
|
|
18275
18275
|
...i,
|
|
18276
18276
|
type: "category",
|
|
18277
|
-
data:
|
|
18277
|
+
data: J.uniq(t.map((u) => u[o])),
|
|
18278
18278
|
axisLabel: {
|
|
18279
18279
|
rotate: s,
|
|
18280
18280
|
...c,
|
|
@@ -18365,8 +18365,8 @@ const pb = {
|
|
|
18365
18365
|
data_key: "",
|
|
18366
18366
|
axisLabel: {
|
|
18367
18367
|
rotate: 0,
|
|
18368
|
-
overflow:
|
|
18369
|
-
formatter: {
|
|
18368
|
+
overflow: ao,
|
|
18369
|
+
formatter: { ...$r }
|
|
18370
18370
|
}
|
|
18371
18371
|
},
|
|
18372
18372
|
y_axis: {
|
|
@@ -18375,8 +18375,8 @@ const pb = {
|
|
|
18375
18375
|
nameAlignment: "center",
|
|
18376
18376
|
axisLabel: {
|
|
18377
18377
|
rotate: 0,
|
|
18378
|
-
overflow:
|
|
18379
|
-
formatter: {
|
|
18378
|
+
overflow: ao,
|
|
18379
|
+
formatter: { ...$r }
|
|
18380
18380
|
}
|
|
18381
18381
|
},
|
|
18382
18382
|
heat_block: {
|
|
@@ -18390,7 +18390,7 @@ const pb = {
|
|
|
18390
18390
|
metrics: []
|
|
18391
18391
|
}
|
|
18392
18392
|
};
|
|
18393
|
-
At.use([No, Js, el, Yx,
|
|
18393
|
+
At.use([No, Js, el, Yx, Lr, Vr, zr, am, rr]);
|
|
18394
18394
|
At.registerTransform(nl.regression);
|
|
18395
18395
|
function WI({
|
|
18396
18396
|
conf: e,
|
|
@@ -18402,9 +18402,9 @@ function WI({
|
|
|
18402
18402
|
}) {
|
|
18403
18403
|
const a = oe(() => {
|
|
18404
18404
|
const f = e.x_axis.data_key, p = e.y_axis.data_key;
|
|
18405
|
-
return
|
|
18406
|
-
}, [t, e.x_axis.data_key]), s =
|
|
18407
|
-
const [p, h] = f.value, g =
|
|
18405
|
+
return J.keyBy(t, (h) => `${h[f]}---${h[p]}`);
|
|
18406
|
+
}, [t, e.x_axis.data_key]), s = uo(o.triggerManager, pb.id), c = ht((f) => {
|
|
18407
|
+
const [p, h] = f.value, g = J.get(a, `${p}---${h}`, {
|
|
18408
18408
|
error: "rowData is not found"
|
|
18409
18409
|
});
|
|
18410
18410
|
s.forEach((m) => {
|
|
@@ -18431,7 +18431,7 @@ function GI({
|
|
|
18431
18431
|
context: e,
|
|
18432
18432
|
instance: t
|
|
18433
18433
|
}) {
|
|
18434
|
-
const n =
|
|
18434
|
+
const n = po({
|
|
18435
18435
|
vizManager: e.vizManager,
|
|
18436
18436
|
instance: t
|
|
18437
18437
|
}), {
|
|
@@ -18521,7 +18521,7 @@ function qI({
|
|
|
18521
18521
|
control: t,
|
|
18522
18522
|
render: ({
|
|
18523
18523
|
field: r
|
|
18524
|
-
}) => /* @__PURE__ */ l(
|
|
18524
|
+
}) => /* @__PURE__ */ l(fo, {
|
|
18525
18525
|
...r
|
|
18526
18526
|
})
|
|
18527
18527
|
})]
|
|
@@ -18767,7 +18767,7 @@ const QI = ({
|
|
|
18767
18767
|
children: [/* @__PURE__ */ l(de, {
|
|
18768
18768
|
onClick: p,
|
|
18769
18769
|
color: "red",
|
|
18770
|
-
leftIcon: /* @__PURE__ */ l(
|
|
18770
|
+
leftIcon: /* @__PURE__ */ l(Ir, {
|
|
18771
18771
|
size: 20
|
|
18772
18772
|
}),
|
|
18773
18773
|
children: "Rest"
|
|
@@ -19009,7 +19009,7 @@ function nL({
|
|
|
19009
19009
|
const {
|
|
19010
19010
|
value: t,
|
|
19011
19011
|
set: n
|
|
19012
|
-
} = nt(e.instanceData, "config"), r = e.data, o = oe(() => an({}, t, Dd), [t]), i = oe(() =>
|
|
19012
|
+
} = nt(e.instanceData, "config"), r = e.data, o = oe(() => an({}, t, Dd), [t]), i = oe(() => J.cloneDeep(o), [o]);
|
|
19013
19013
|
fe(() => {
|
|
19014
19014
|
!qt(o, i) && (console.log("config malformed, resetting to defaults", o, i), n(i));
|
|
19015
19015
|
}, [o, i]);
|
|
@@ -19178,8 +19178,8 @@ const mb = {
|
|
|
19178
19178
|
data_key: "",
|
|
19179
19179
|
axisLabel: {
|
|
19180
19180
|
rotate: 0,
|
|
19181
|
-
formatter: {
|
|
19182
|
-
overflow:
|
|
19181
|
+
formatter: { ...$r },
|
|
19182
|
+
overflow: ao
|
|
19183
19183
|
}
|
|
19184
19184
|
},
|
|
19185
19185
|
data_key: "value",
|
|
@@ -19434,7 +19434,7 @@ function mL(e, t, n) {
|
|
|
19434
19434
|
}
|
|
19435
19435
|
};
|
|
19436
19436
|
}
|
|
19437
|
-
At.use([Js, el, No,
|
|
19437
|
+
At.use([Js, el, No, Lr, Vr, zr, rr]);
|
|
19438
19438
|
function vL({
|
|
19439
19439
|
context: e,
|
|
19440
19440
|
instance: t
|
|
@@ -19444,11 +19444,11 @@ function vL({
|
|
|
19444
19444
|
} = nt(e.instanceData, "config"), r = e.data, {
|
|
19445
19445
|
width: o,
|
|
19446
19446
|
height: i
|
|
19447
|
-
} = e.viewport, a = on({}, n, Ad), s = mL(a, r), c =
|
|
19447
|
+
} = e.viewport, a = on({}, n, Ad), s = mL(a, r), c = po({
|
|
19448
19448
|
vizManager: e.vizManager,
|
|
19449
19449
|
instance: t
|
|
19450
|
-
}), u =
|
|
19451
|
-
const g =
|
|
19450
|
+
}), u = uo(c.triggerManager, gb.id), d = oe(() => J.keyBy(r, a.x_axis.data_key), [r, a.x_axis.data_key]), f = ht((h) => {
|
|
19451
|
+
const g = J.get(d, h.name, {
|
|
19452
19452
|
error: "rowData is not found"
|
|
19453
19453
|
});
|
|
19454
19454
|
u.forEach((m) => {
|
|
@@ -19541,7 +19541,7 @@ function bL({
|
|
|
19541
19541
|
control: t,
|
|
19542
19542
|
render: ({
|
|
19543
19543
|
field: r
|
|
19544
|
-
}) => /* @__PURE__ */ l(
|
|
19544
|
+
}) => /* @__PURE__ */ l(fo, {
|
|
19545
19545
|
...r
|
|
19546
19546
|
})
|
|
19547
19547
|
})]
|
|
@@ -19951,10 +19951,10 @@ function OL(e) {
|
|
|
19951
19951
|
};
|
|
19952
19952
|
}
|
|
19953
19953
|
function RL(e) {
|
|
19954
|
-
const t =
|
|
19954
|
+
const t = J.defaultsDeep({}, e.x_axis.axisLabel, {
|
|
19955
19955
|
rotate: 0,
|
|
19956
19956
|
formatter: {
|
|
19957
|
-
|
|
19957
|
+
...$r
|
|
19958
19958
|
}
|
|
19959
19959
|
});
|
|
19960
19960
|
return {
|
|
@@ -19996,7 +19996,7 @@ function AL(e) {
|
|
|
19996
19996
|
}
|
|
19997
19997
|
}
|
|
19998
19998
|
};
|
|
19999
|
-
return
|
|
19999
|
+
return J.defaultsDeep(t, e);
|
|
20000
20000
|
}
|
|
20001
20001
|
function PL(e) {
|
|
20002
20002
|
const t = {
|
|
@@ -20007,7 +20007,7 @@ function PL(e) {
|
|
|
20007
20007
|
nameAlignment: "right"
|
|
20008
20008
|
}
|
|
20009
20009
|
};
|
|
20010
|
-
return
|
|
20010
|
+
return J.defaultsDeep(t, e);
|
|
20011
20011
|
}
|
|
20012
20012
|
function $L(e) {
|
|
20013
20013
|
console.log(e);
|
|
@@ -20024,7 +20024,7 @@ function $L(e) {
|
|
|
20024
20024
|
}
|
|
20025
20025
|
}
|
|
20026
20026
|
};
|
|
20027
|
-
return
|
|
20027
|
+
return J.defaultsDeep(r, e);
|
|
20028
20028
|
}
|
|
20029
20029
|
class NL extends hn {
|
|
20030
20030
|
constructor() {
|
|
@@ -20163,7 +20163,7 @@ function zL({
|
|
|
20163
20163
|
const {
|
|
20164
20164
|
value: t,
|
|
20165
20165
|
set: n
|
|
20166
|
-
} = nt(e.instanceData, "config"), r = e.data, o = oe(() => an({}, t, Pd), [t]), i = oe(() =>
|
|
20166
|
+
} = nt(e.instanceData, "config"), r = e.data, o = oe(() => an({}, t, Pd), [t]), i = oe(() => J.clone(o), [o]), {
|
|
20167
20167
|
control: a,
|
|
20168
20168
|
handleSubmit: s,
|
|
20169
20169
|
watch: c,
|
|
@@ -20175,7 +20175,7 @@ function zL({
|
|
|
20175
20175
|
fe(() => {
|
|
20176
20176
|
d(i);
|
|
20177
20177
|
}, [i]);
|
|
20178
|
-
const f = u(), p = oe(() => !
|
|
20178
|
+
const f = u(), p = oe(() => !J.isEqual(f, o), [f, o]);
|
|
20179
20179
|
return c(["label_field", "value_field"]), /* @__PURE__ */ l(G, {
|
|
20180
20180
|
spacing: "xs",
|
|
20181
20181
|
children: /* @__PURE__ */ v("form", {
|
|
@@ -20433,9 +20433,9 @@ function qL(e, t) {
|
|
|
20433
20433
|
},
|
|
20434
20434
|
color: n
|
|
20435
20435
|
};
|
|
20436
|
-
return
|
|
20436
|
+
return J.merge({}, GL, i);
|
|
20437
20437
|
}
|
|
20438
|
-
At.use([Qx,
|
|
20438
|
+
At.use([Qx, Lr, Vr, zr, rr]);
|
|
20439
20439
|
function UL({
|
|
20440
20440
|
conf: e,
|
|
20441
20441
|
data: t,
|
|
@@ -20444,8 +20444,8 @@ function UL({
|
|
|
20444
20444
|
interactionManager: o,
|
|
20445
20445
|
variables: i
|
|
20446
20446
|
}) {
|
|
20447
|
-
const a = oe(() =>
|
|
20448
|
-
const p =
|
|
20447
|
+
const a = oe(() => J.keyBy(t, e.series_name_key), [t, e.series_name_key]), s = uo(o.triggerManager, vb.id), c = ht((f) => {
|
|
20448
|
+
const p = J.get(a, f.name, {
|
|
20449
20449
|
error: "rowData is not found"
|
|
20450
20450
|
});
|
|
20451
20451
|
s.forEach((h) => {
|
|
@@ -20472,14 +20472,14 @@ function YL({
|
|
|
20472
20472
|
context: e,
|
|
20473
20473
|
instance: t
|
|
20474
20474
|
}) {
|
|
20475
|
-
const n =
|
|
20475
|
+
const n = po({
|
|
20476
20476
|
vizManager: e.vizManager,
|
|
20477
20477
|
instance: t
|
|
20478
20478
|
}), {
|
|
20479
20479
|
value: r
|
|
20480
20480
|
} = nt(e.instanceData, "config"), {
|
|
20481
20481
|
variables: o
|
|
20482
|
-
} = e, i = oe(() =>
|
|
20482
|
+
} = e, i = oe(() => J.defaults({}, r, El), [r]), a = e.data, {
|
|
20483
20483
|
width: s,
|
|
20484
20484
|
height: c
|
|
20485
20485
|
} = e.viewport;
|
|
@@ -20564,7 +20564,7 @@ function XL({
|
|
|
20564
20564
|
control: e,
|
|
20565
20565
|
render: ({
|
|
20566
20566
|
field: o
|
|
20567
|
-
}) => /* @__PURE__ */ l(
|
|
20567
|
+
}) => /* @__PURE__ */ l(fo, {
|
|
20568
20568
|
...o
|
|
20569
20569
|
})
|
|
20570
20570
|
})]
|
|
@@ -20608,13 +20608,13 @@ function QL({
|
|
|
20608
20608
|
max: 100,
|
|
20609
20609
|
formatter: ir
|
|
20610
20610
|
});
|
|
20611
|
-
}, u =
|
|
20611
|
+
}, u = J.get(s, "0.id", null), [d, f] = ze(u);
|
|
20612
20612
|
fe(() => {
|
|
20613
20613
|
f((h) => h || u);
|
|
20614
20614
|
}, [u]);
|
|
20615
20615
|
const p = (h) => {
|
|
20616
20616
|
i(h);
|
|
20617
|
-
const g =
|
|
20617
|
+
const g = J.get(s, "0.id", null);
|
|
20618
20618
|
f(g);
|
|
20619
20619
|
};
|
|
20620
20620
|
return /* @__PURE__ */ v(De, {
|
|
@@ -20642,7 +20642,7 @@ function QL({
|
|
|
20642
20642
|
}, g)), /* @__PURE__ */ l(H.Tab, {
|
|
20643
20643
|
onClick: c,
|
|
20644
20644
|
value: "add",
|
|
20645
|
-
children: /* @__PURE__ */ l(
|
|
20645
|
+
children: /* @__PURE__ */ l(co, {
|
|
20646
20646
|
size: 18,
|
|
20647
20647
|
color: "#228be6"
|
|
20648
20648
|
})
|
|
@@ -20801,7 +20801,7 @@ function tV(e) {
|
|
|
20801
20801
|
enabled: !0
|
|
20802
20802
|
}
|
|
20803
20803
|
};
|
|
20804
|
-
return
|
|
20804
|
+
return J.defaultsDeep(t, e);
|
|
20805
20805
|
}
|
|
20806
20806
|
class nV extends hn {
|
|
20807
20807
|
constructor() {
|
|
@@ -20858,13 +20858,13 @@ const rV = {
|
|
|
20858
20858
|
function oV(e, t) {
|
|
20859
20859
|
switch (e.config.method) {
|
|
20860
20860
|
case "linear":
|
|
20861
|
-
return [...
|
|
20861
|
+
return [...Qr.regressionLinear()(t)];
|
|
20862
20862
|
case "exponential":
|
|
20863
|
-
return [...
|
|
20863
|
+
return [...Qr.regressionExp()(t)];
|
|
20864
20864
|
case "logarithmic":
|
|
20865
|
-
return [...
|
|
20865
|
+
return [...Qr.regressionLog()(t)];
|
|
20866
20866
|
case "polynomial":
|
|
20867
|
-
return [...
|
|
20867
|
+
return [...Qr.regressionPoly().order(e.config.order)(t)];
|
|
20868
20868
|
default:
|
|
20869
20869
|
return [];
|
|
20870
20870
|
}
|
|
@@ -20909,7 +20909,7 @@ const aV = {
|
|
|
20909
20909
|
};
|
|
20910
20910
|
function sV(e, t) {
|
|
20911
20911
|
var i, a;
|
|
20912
|
-
const n =
|
|
20912
|
+
const n = J.uniqBy(
|
|
20913
20913
|
t.map((s) => [s[e.x_axis.data_key], s[e.regression.y_axis_data_key]]),
|
|
20914
20914
|
0
|
|
20915
20915
|
), { regressionSeries: r } = iV(e, n), o = {
|
|
@@ -20956,7 +20956,7 @@ function lV(e, t) {
|
|
|
20956
20956
|
y_axis: o
|
|
20957
20957
|
} = t, i = e.map((a) => [a[r.data_key], a[n.y_axis_data_key]]);
|
|
20958
20958
|
if (n.transform.config.method === "linear") {
|
|
20959
|
-
const a =
|
|
20959
|
+
const a = Qr.regressionLinear()(i), {
|
|
20960
20960
|
a: s,
|
|
20961
20961
|
b: c,
|
|
20962
20962
|
rSquared: u
|
|
@@ -20995,7 +20995,7 @@ function lV(e, t) {
|
|
|
20995
20995
|
a,
|
|
20996
20996
|
b: s,
|
|
20997
20997
|
rSquared: c
|
|
20998
|
-
} =
|
|
20998
|
+
} = Qr.regressionExp()(i);
|
|
20999
20999
|
return {
|
|
21000
21000
|
expression: /* @__PURE__ */ v(B, {
|
|
21001
21001
|
position: "center",
|
|
@@ -21039,7 +21039,7 @@ function lV(e, t) {
|
|
|
21039
21039
|
a,
|
|
21040
21040
|
b: s,
|
|
21041
21041
|
rSquared: c
|
|
21042
|
-
} =
|
|
21042
|
+
} = Qr.regressionLog()(i);
|
|
21043
21043
|
return {
|
|
21044
21044
|
expression: /* @__PURE__ */ v(B, {
|
|
21045
21045
|
position: "center",
|
|
@@ -21079,7 +21079,7 @@ function lV(e, t) {
|
|
|
21079
21079
|
};
|
|
21080
21080
|
}
|
|
21081
21081
|
if (n.transform.config.method === "polynomial") {
|
|
21082
|
-
const a =
|
|
21082
|
+
const a = Qr.regressionPoly().order(n.transform.config.order)(i), {
|
|
21083
21083
|
rSquared: s
|
|
21084
21084
|
} = a;
|
|
21085
21085
|
return console.log(a), {
|
|
@@ -21123,7 +21123,7 @@ const $d = {
|
|
|
21123
21123
|
y_axis_data_key: "value"
|
|
21124
21124
|
}
|
|
21125
21125
|
};
|
|
21126
|
-
At.use([No, zu,
|
|
21126
|
+
At.use([No, zu, Lr, Vr, zr, rr]);
|
|
21127
21127
|
At.registerTransform(nl.regression);
|
|
21128
21128
|
function cV({
|
|
21129
21129
|
context: e
|
|
@@ -21352,14 +21352,14 @@ function fV({
|
|
|
21352
21352
|
size: 20
|
|
21353
21353
|
})
|
|
21354
21354
|
})]
|
|
21355
|
-
}), /* @__PURE__ */ v(
|
|
21355
|
+
}), /* @__PURE__ */ v(ho, {
|
|
21356
21356
|
multiple: !0,
|
|
21357
21357
|
defaultValue: ["Axis", "Regression"],
|
|
21358
|
-
children: [/* @__PURE__ */ v(
|
|
21358
|
+
children: [/* @__PURE__ */ v(ho.Item, {
|
|
21359
21359
|
value: "Axis",
|
|
21360
|
-
children: [/* @__PURE__ */ l(
|
|
21360
|
+
children: [/* @__PURE__ */ l(ho.Control, {
|
|
21361
21361
|
children: "Axis"
|
|
21362
|
-
}), /* @__PURE__ */ v(
|
|
21362
|
+
}), /* @__PURE__ */ v(ho.Panel, {
|
|
21363
21363
|
children: [/* @__PURE__ */ v(B, {
|
|
21364
21364
|
grow: !0,
|
|
21365
21365
|
noWrap: !0,
|
|
@@ -21408,11 +21408,11 @@ function fV({
|
|
|
21408
21408
|
})
|
|
21409
21409
|
})]
|
|
21410
21410
|
})]
|
|
21411
|
-
}), /* @__PURE__ */ v(
|
|
21411
|
+
}), /* @__PURE__ */ v(ho.Item, {
|
|
21412
21412
|
value: "Regression",
|
|
21413
|
-
children: [/* @__PURE__ */ l(
|
|
21413
|
+
children: [/* @__PURE__ */ l(ho.Control, {
|
|
21414
21414
|
children: "Regression Line"
|
|
21415
|
-
}), /* @__PURE__ */ l(
|
|
21415
|
+
}), /* @__PURE__ */ l(ho.Panel, {
|
|
21416
21416
|
children: /* @__PURE__ */ l(dV, {
|
|
21417
21417
|
control: i,
|
|
21418
21418
|
watch: s,
|
|
@@ -21496,7 +21496,7 @@ const Nd = Yt(({
|
|
|
21496
21496
|
}, [e]);
|
|
21497
21497
|
const u = () => {
|
|
21498
21498
|
t(a), o == null || o();
|
|
21499
|
-
}, d = e !== a, f = oe(() =>
|
|
21499
|
+
}, d = e !== a, f = oe(() => J.defaultsDeep({}, {
|
|
21500
21500
|
content: ju
|
|
21501
21501
|
}, n), [n]);
|
|
21502
21502
|
return /* @__PURE__ */ v(G, {
|
|
@@ -21704,8 +21704,8 @@ const wb = {
|
|
|
21704
21704
|
func_content: ["function label(value, index) {", " // your code goes here", " // return value", "}"].join(`
|
|
21705
21705
|
`)
|
|
21706
21706
|
}, xb = {
|
|
21707
|
-
label:
|
|
21708
|
-
tooltip:
|
|
21707
|
+
label: ao.on_axis,
|
|
21708
|
+
tooltip: ao.in_tooltip
|
|
21709
21709
|
}, Id = {
|
|
21710
21710
|
scatter: {
|
|
21711
21711
|
y_data_key: "",
|
|
@@ -21773,7 +21773,7 @@ function SV({ type: e, ...t }, n, r, o) {
|
|
|
21773
21773
|
try {
|
|
21774
21774
|
return new Function(`return ${i}`)()(
|
|
21775
21775
|
{ rowData: u, params: c, variables: o },
|
|
21776
|
-
{ lodash:
|
|
21776
|
+
{ lodash: J, interpolate: Sl }
|
|
21777
21777
|
);
|
|
21778
21778
|
} catch (d) {
|
|
21779
21779
|
return console.error(`[getEchartsSymbolSize] failed parsing custom function, error: ${d.message}`), 10;
|
|
@@ -21792,7 +21792,7 @@ function _V({ type: e, ...t }, n) {
|
|
|
21792
21792
|
try {
|
|
21793
21793
|
return new Function(`return ${r}`)()(
|
|
21794
21794
|
{ rowData: o, variables: n },
|
|
21795
|
-
{ lodash:
|
|
21795
|
+
{ lodash: J, interpolate: Sl }
|
|
21796
21796
|
);
|
|
21797
21797
|
} catch (i) {
|
|
21798
21798
|
return console.error(`[getSeriesColor] failed parsing custom function, error: ${i.message}`), 10;
|
|
@@ -22048,7 +22048,7 @@ function NV(e, t, n) {
|
|
|
22048
22048
|
{
|
|
22049
22049
|
default: ({ value: u }) => u
|
|
22050
22050
|
}
|
|
22051
|
-
), i =
|
|
22051
|
+
), i = J.uniq(t.map((u) => u[e.x_axis.data_key])), a = i.every((u) => !Number.isNaN(Number(u))), s = TV(e, i, a, t, o, n, r), c = {
|
|
22052
22052
|
xAxis: DV(e, i),
|
|
22053
22053
|
yAxis: AV(e, o),
|
|
22054
22054
|
series: s,
|
|
@@ -22064,7 +22064,7 @@ function NV(e, t, n) {
|
|
|
22064
22064
|
};
|
|
22065
22065
|
return an({}, c, $V);
|
|
22066
22066
|
}
|
|
22067
|
-
At.use([No, Js, el, zu,
|
|
22067
|
+
At.use([No, Js, el, zu, Lr, Vr, zr, rr, Vu, sm]);
|
|
22068
22068
|
At.registerTransform(nl.regression);
|
|
22069
22069
|
function $h(e) {
|
|
22070
22070
|
return e.trim().length > 0;
|
|
@@ -22077,8 +22077,8 @@ function IV({
|
|
|
22077
22077
|
interactionManager: o,
|
|
22078
22078
|
variables: i
|
|
22079
22079
|
}) {
|
|
22080
|
-
const a = oe(() =>
|
|
22081
|
-
const p = f.value[0], h =
|
|
22080
|
+
const a = oe(() => J.keyBy(t, e.x_axis.data_key), [t, e.x_axis.data_key]), s = uo(o.triggerManager, bb.id), c = ht((f) => {
|
|
22081
|
+
const p = f.value[0], h = J.get(a, p, {
|
|
22082
22082
|
error: "rowData is not found"
|
|
22083
22083
|
});
|
|
22084
22084
|
s.forEach((g) => {
|
|
@@ -22105,7 +22105,7 @@ function LV({
|
|
|
22105
22105
|
context: e,
|
|
22106
22106
|
instance: t
|
|
22107
22107
|
}) {
|
|
22108
|
-
const n =
|
|
22108
|
+
const n = po({
|
|
22109
22109
|
vizManager: e.vizManager,
|
|
22110
22110
|
instance: t
|
|
22111
22111
|
}), {
|
|
@@ -22513,7 +22513,7 @@ const BV = ({
|
|
|
22513
22513
|
children: [/* @__PURE__ */ l(de, {
|
|
22514
22514
|
onClick: f,
|
|
22515
22515
|
color: "red",
|
|
22516
|
-
leftIcon: /* @__PURE__ */ l(
|
|
22516
|
+
leftIcon: /* @__PURE__ */ l(Ir, {
|
|
22517
22517
|
size: 20
|
|
22518
22518
|
}),
|
|
22519
22519
|
children: "Rest"
|
|
@@ -22721,7 +22721,7 @@ const BV = ({
|
|
|
22721
22721
|
children: [/* @__PURE__ */ l(de, {
|
|
22722
22722
|
onClick: f,
|
|
22723
22723
|
color: "red",
|
|
22724
|
-
leftIcon: /* @__PURE__ */ l(
|
|
22724
|
+
leftIcon: /* @__PURE__ */ l(Ir, {
|
|
22725
22725
|
size: 20
|
|
22726
22726
|
}),
|
|
22727
22727
|
children: "Rest"
|
|
@@ -23213,7 +23213,7 @@ const sz = ({
|
|
|
23213
23213
|
children: [/* @__PURE__ */ l(de, {
|
|
23214
23214
|
onClick: p,
|
|
23215
23215
|
color: "red",
|
|
23216
|
-
leftIcon: /* @__PURE__ */ l(
|
|
23216
|
+
leftIcon: /* @__PURE__ */ l(Ir, {
|
|
23217
23217
|
size: 20
|
|
23218
23218
|
}),
|
|
23219
23219
|
children: "Rest"
|
|
@@ -23413,7 +23413,7 @@ function fz({
|
|
|
23413
23413
|
control: e,
|
|
23414
23414
|
render: ({
|
|
23415
23415
|
field: r
|
|
23416
|
-
}) => /* @__PURE__ */ l(
|
|
23416
|
+
}) => /* @__PURE__ */ l(fo, {
|
|
23417
23417
|
...r
|
|
23418
23418
|
})
|
|
23419
23419
|
})]
|
|
@@ -23686,7 +23686,7 @@ function yz(e) {
|
|
|
23686
23686
|
label_overflow: xb
|
|
23687
23687
|
}
|
|
23688
23688
|
};
|
|
23689
|
-
return
|
|
23689
|
+
return J.defaultsDeep(t, e);
|
|
23690
23690
|
}
|
|
23691
23691
|
function bz(e) {
|
|
23692
23692
|
const {
|
|
@@ -23837,7 +23837,7 @@ function _z(e) {
|
|
|
23837
23837
|
};
|
|
23838
23838
|
}
|
|
23839
23839
|
function Cz(e) {
|
|
23840
|
-
return
|
|
23840
|
+
return ko(e, ["variables"]);
|
|
23841
23841
|
}
|
|
23842
23842
|
function Ez(e) {
|
|
23843
23843
|
const t = bn(e), n = bt(t, "color.valueRange");
|
|
@@ -23877,7 +23877,7 @@ const Tz = re(({
|
|
|
23877
23877
|
filters: t.filters.values,
|
|
23878
23878
|
context: t.context.current
|
|
23879
23879
|
};
|
|
23880
|
-
return
|
|
23880
|
+
return J.template(o)(c);
|
|
23881
23881
|
} catch {
|
|
23882
23882
|
return o;
|
|
23883
23883
|
}
|
|
@@ -23925,7 +23925,7 @@ function Oz({
|
|
|
23925
23925
|
Z.useEffect(() => {
|
|
23926
23926
|
c(r);
|
|
23927
23927
|
}, [r]), a(["template", "align"]);
|
|
23928
|
-
const u = s(), d = Z.useMemo(() => !
|
|
23928
|
+
const u = s(), d = Z.useMemo(() => !J.isEqual(u, t), [u, t]);
|
|
23929
23929
|
return /* @__PURE__ */ l(G, {
|
|
23930
23930
|
spacing: "xs",
|
|
23931
23931
|
children: /* @__PURE__ */ v("form", {
|
|
@@ -24008,7 +24008,7 @@ function Dz(e) {
|
|
|
24008
24008
|
}), e;
|
|
24009
24009
|
}
|
|
24010
24010
|
function Az(e) {
|
|
24011
|
-
const t = Dz(e).map((o) => ({ ...o, children: [] })), n =
|
|
24011
|
+
const t = Dz(e).map((o) => ({ ...o, children: [] })), n = J.keyBy(t, (o) => o.id), r = [];
|
|
24012
24012
|
return t.forEach((o) => {
|
|
24013
24013
|
if (!o.parent_id || !n[o.parent_id]) {
|
|
24014
24014
|
r.push(o);
|
|
@@ -24399,7 +24399,7 @@ function Gz({
|
|
|
24399
24399
|
const {
|
|
24400
24400
|
value: t,
|
|
24401
24401
|
set: n
|
|
24402
|
-
} = nt(e.instanceData, "config"), r = e.data, o = oe(() => an({}, t, Vd), [t]), i = oe(() =>
|
|
24402
|
+
} = nt(e.instanceData, "config"), r = e.data, o = oe(() => an({}, t, Vd), [t]), i = oe(() => J.clone(o), [o]), {
|
|
24403
24403
|
control: a,
|
|
24404
24404
|
handleSubmit: s,
|
|
24405
24405
|
watch: c,
|
|
@@ -24411,7 +24411,7 @@ function Gz({
|
|
|
24411
24411
|
fe(() => {
|
|
24412
24412
|
d(i);
|
|
24413
24413
|
}, [i]);
|
|
24414
|
-
const f = u(), p = oe(() => !
|
|
24414
|
+
const f = u(), p = oe(() => !J.isEqual(f, o), [f, o]);
|
|
24415
24415
|
c(["label_key", "value_key", "group_key", "levels"]);
|
|
24416
24416
|
const [h, g] = ze("Data");
|
|
24417
24417
|
return /* @__PURE__ */ l("form", {
|
|
@@ -24576,14 +24576,14 @@ const Cb = [
|
|
|
24576
24576
|
*
|
|
24577
24577
|
* @license MIT
|
|
24578
24578
|
*/
|
|
24579
|
-
function
|
|
24579
|
+
function Jr(e, t) {
|
|
24580
24580
|
return typeof e == "function" ? e(t) : e;
|
|
24581
24581
|
}
|
|
24582
24582
|
function Gn(e, t) {
|
|
24583
24583
|
return (n) => {
|
|
24584
24584
|
t.setState((r) => ({
|
|
24585
24585
|
...r,
|
|
24586
|
-
[e]:
|
|
24586
|
+
[e]: Jr(n, r[e])
|
|
24587
24587
|
}));
|
|
24588
24588
|
};
|
|
24589
24589
|
}
|
|
@@ -25282,7 +25282,7 @@ const oF = {
|
|
|
25282
25282
|
},
|
|
25283
25283
|
setFilterValue: (n) => {
|
|
25284
25284
|
t.setColumnFilters((r) => {
|
|
25285
|
-
const o = e.getFilterFn(), i = r == null ? void 0 : r.find((d) => d.id === e.id), a =
|
|
25285
|
+
const o = e.getFilterFn(), i = r == null ? void 0 : r.find((d) => d.id === e.id), a = Jr(n, i ? i.value : void 0);
|
|
25286
25286
|
if (Ih(o, a, e)) {
|
|
25287
25287
|
var s;
|
|
25288
25288
|
return (s = r == null ? void 0 : r.filter((d) => d.id !== e.id)) != null ? s : [];
|
|
@@ -25324,7 +25324,7 @@ const oF = {
|
|
|
25324
25324
|
setColumnFilters: (t) => {
|
|
25325
25325
|
const n = e.getAllLeafColumns(), r = (o) => {
|
|
25326
25326
|
var i;
|
|
25327
|
-
return (i =
|
|
25327
|
+
return (i = Jr(t, o)) == null ? void 0 : i.filter((a) => {
|
|
25328
25328
|
const s = n.find((c) => c.id === a.id);
|
|
25329
25329
|
if (s) {
|
|
25330
25330
|
const c = s.getFilterFn();
|
|
@@ -25553,7 +25553,7 @@ const mF = {
|
|
|
25553
25553
|
}
|
|
25554
25554
|
},
|
|
25555
25555
|
setPagination: (r) => {
|
|
25556
|
-
const o = (i) =>
|
|
25556
|
+
const o = (i) => Jr(r, i);
|
|
25557
25557
|
return e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange(o);
|
|
25558
25558
|
},
|
|
25559
25559
|
resetPagination: (r) => {
|
|
@@ -25562,7 +25562,7 @@ const mF = {
|
|
|
25562
25562
|
},
|
|
25563
25563
|
setPageIndex: (r) => {
|
|
25564
25564
|
e.setPagination((o) => {
|
|
25565
|
-
let i =
|
|
25565
|
+
let i = Jr(r, o.pageIndex);
|
|
25566
25566
|
const a = typeof e.options.pageCount > "u" || e.options.pageCount === -1 ? Number.MAX_SAFE_INTEGER : e.options.pageCount - 1;
|
|
25567
25567
|
return i = Math.min(Math.max(0, i), a), {
|
|
25568
25568
|
...o,
|
|
@@ -25580,7 +25580,7 @@ const mF = {
|
|
|
25580
25580
|
},
|
|
25581
25581
|
setPageSize: (r) => {
|
|
25582
25582
|
e.setPagination((o) => {
|
|
25583
|
-
const i = Math.max(1,
|
|
25583
|
+
const i = Math.max(1, Jr(r, o.pageSize)), a = o.pageSize * o.pageIndex, s = Math.floor(a / i);
|
|
25584
25584
|
return {
|
|
25585
25585
|
...o,
|
|
25586
25586
|
pageIndex: s,
|
|
@@ -25590,7 +25590,7 @@ const mF = {
|
|
|
25590
25590
|
},
|
|
25591
25591
|
setPageCount: (r) => e.setPagination((o) => {
|
|
25592
25592
|
var i;
|
|
25593
|
-
let a =
|
|
25593
|
+
let a = Jr(r, (i = e.options.pageCount) != null ? i : -1);
|
|
25594
25594
|
return typeof a == "number" && (a = Math.max(-1, a)), {
|
|
25595
25595
|
...o,
|
|
25596
25596
|
pageCount: a
|
|
@@ -25936,14 +25936,14 @@ function Lh(e, t, n) {
|
|
|
25936
25936
|
}
|
|
25937
25937
|
return !1;
|
|
25938
25938
|
}
|
|
25939
|
-
const cu = /([0-9]+)/gm, wF = (e, t, n) => Pb(
|
|
25939
|
+
const cu = /([0-9]+)/gm, wF = (e, t, n) => Pb(so(e.getValue(n)).toLowerCase(), so(t.getValue(n)).toLowerCase()), xF = (e, t, n) => Pb(so(e.getValue(n)), so(t.getValue(n))), SF = (e, t, n) => Bd(so(e.getValue(n)).toLowerCase(), so(t.getValue(n)).toLowerCase()), _F = (e, t, n) => Bd(so(e.getValue(n)), so(t.getValue(n))), CF = (e, t, n) => {
|
|
25940
25940
|
const r = e.getValue(n), o = t.getValue(n);
|
|
25941
25941
|
return r > o ? 1 : r < o ? -1 : 0;
|
|
25942
25942
|
}, EF = (e, t, n) => Bd(e.getValue(n), t.getValue(n));
|
|
25943
25943
|
function Bd(e, t) {
|
|
25944
25944
|
return e === t ? 0 : e > t ? 1 : -1;
|
|
25945
25945
|
}
|
|
25946
|
-
function
|
|
25946
|
+
function so(e) {
|
|
25947
25947
|
return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
|
|
25948
25948
|
}
|
|
25949
25949
|
function Pb(e, t) {
|
|
@@ -26193,7 +26193,7 @@ function MF(e) {
|
|
|
26193
26193
|
n.setState(n.initialState);
|
|
26194
26194
|
},
|
|
26195
26195
|
setOptions: (d) => {
|
|
26196
|
-
const f =
|
|
26196
|
+
const f = Jr(d, n.options);
|
|
26197
26197
|
n.options = o(f);
|
|
26198
26198
|
},
|
|
26199
26199
|
getState: () => n.options.state,
|
|
@@ -26805,7 +26805,7 @@ function e3(e) {
|
|
|
26805
26805
|
}
|
|
26806
26806
|
}
|
|
26807
26807
|
const t3 = (e) => {
|
|
26808
|
-
const t =
|
|
26808
|
+
const t = po(e), n = uo(t.triggerManager, jd.id), {
|
|
26809
26809
|
colorManager: r
|
|
26810
26810
|
} = yn(hr);
|
|
26811
26811
|
return ht((o) => new WF(e.getColIndex, o, n, t, r), [n, t, e.getColIndex]);
|
|
@@ -27297,7 +27297,7 @@ const m3 = Yt(({
|
|
|
27297
27297
|
children: [/* @__PURE__ */ l(de, {
|
|
27298
27298
|
onClick: d,
|
|
27299
27299
|
color: "red",
|
|
27300
|
-
leftIcon: /* @__PURE__ */ l(
|
|
27300
|
+
leftIcon: /* @__PURE__ */ l(Ir, {
|
|
27301
27301
|
size: 20
|
|
27302
27302
|
}),
|
|
27303
27303
|
children: "Rest"
|
|
@@ -27454,7 +27454,7 @@ const m3 = Yt(({
|
|
|
27454
27454
|
control: e,
|
|
27455
27455
|
name: "columns"
|
|
27456
27456
|
}), s = () => {
|
|
27457
|
-
const u =
|
|
27457
|
+
const u = no();
|
|
27458
27458
|
o({
|
|
27459
27459
|
id: u,
|
|
27460
27460
|
label: u,
|
|
@@ -27629,7 +27629,7 @@ function w3({
|
|
|
27629
27629
|
id: n,
|
|
27630
27630
|
...r
|
|
27631
27631
|
}) => ({
|
|
27632
|
-
id: n != null ? n :
|
|
27632
|
+
id: n != null ? n : no(),
|
|
27633
27633
|
...r
|
|
27634
27634
|
}))
|
|
27635
27635
|
};
|
|
@@ -27753,7 +27753,7 @@ class S3 extends hn {
|
|
|
27753
27753
|
config: {
|
|
27754
27754
|
...o,
|
|
27755
27755
|
columns: r.map(({ id: i, ...a }) => ({
|
|
27756
|
-
id: i != null ? i :
|
|
27756
|
+
id: i != null ? i : no(),
|
|
27757
27757
|
...a
|
|
27758
27758
|
}))
|
|
27759
27759
|
}
|
|
@@ -27875,7 +27875,7 @@ const uu = {
|
|
|
27875
27875
|
children: [/* @__PURE__ */ l(de, {
|
|
27876
27876
|
onClick: d,
|
|
27877
27877
|
color: "red",
|
|
27878
|
-
leftIcon: /* @__PURE__ */ l(
|
|
27878
|
+
leftIcon: /* @__PURE__ */ l(Ir, {
|
|
27879
27879
|
size: 20
|
|
27880
27880
|
}),
|
|
27881
27881
|
children: "Rest"
|
|
@@ -27939,7 +27939,7 @@ function T3({
|
|
|
27939
27939
|
Z.useEffect(() => {
|
|
27940
27940
|
u(o);
|
|
27941
27941
|
}, [o]), s(["func_content", "horizontal_align", "font_size", "font_weight"]);
|
|
27942
|
-
const d = c(), f = Z.useMemo(() => !
|
|
27942
|
+
const d = c(), f = Z.useMemo(() => !J.isEqual(d, r), [d, r]);
|
|
27943
27943
|
return /* @__PURE__ */ l(G, {
|
|
27944
27944
|
spacing: "xs",
|
|
27945
27945
|
children: /* @__PURE__ */ v("form", {
|
|
@@ -28072,7 +28072,7 @@ const O3 = {
|
|
|
28072
28072
|
})]
|
|
28073
28073
|
});
|
|
28074
28074
|
function Fh(e, t) {
|
|
28075
|
-
const n =
|
|
28075
|
+
const n = J.get(e, t, "");
|
|
28076
28076
|
if (n)
|
|
28077
28077
|
throw new Error(n);
|
|
28078
28078
|
}
|
|
@@ -28867,7 +28867,7 @@ class qd {
|
|
|
28867
28867
|
);
|
|
28868
28868
|
}
|
|
28869
28869
|
}
|
|
28870
|
-
const
|
|
28870
|
+
const po = ({
|
|
28871
28871
|
vizManager: e,
|
|
28872
28872
|
instance: t
|
|
28873
28873
|
}) => tr(
|
|
@@ -28954,7 +28954,7 @@ const u4 = re(({
|
|
|
28954
28954
|
instance: e.instance,
|
|
28955
28955
|
variables: []
|
|
28956
28956
|
};
|
|
28957
|
-
return
|
|
28957
|
+
return lo(e.operationSchema.configRender, t);
|
|
28958
28958
|
});
|
|
28959
28959
|
function f4({
|
|
28960
28960
|
model: e
|
|
@@ -29051,7 +29051,7 @@ const v4 = re(({
|
|
|
29051
29051
|
return /* @__PURE__ */ l(de, {
|
|
29052
29052
|
variant: "outline",
|
|
29053
29053
|
onClick: t,
|
|
29054
|
-
children:
|
|
29054
|
+
children: lo(n, r)
|
|
29055
29055
|
});
|
|
29056
29056
|
}), y4 = re(({
|
|
29057
29057
|
model: e
|
|
@@ -29077,7 +29077,7 @@ const v4 = re(({
|
|
|
29077
29077
|
instance: e.instance,
|
|
29078
29078
|
sampleData: e.sampleData
|
|
29079
29079
|
};
|
|
29080
|
-
return
|
|
29080
|
+
return lo(e.triggerSchema.configRender, t);
|
|
29081
29081
|
}), w4 = re((e) => {
|
|
29082
29082
|
const [t, {
|
|
29083
29083
|
setTrue: n,
|
|
@@ -29156,7 +29156,7 @@ const S4 = re(({
|
|
|
29156
29156
|
sampleData: i,
|
|
29157
29157
|
variables: a
|
|
29158
29158
|
} = e, s = x4(r, t), c = async () => {
|
|
29159
|
-
const p = await r.triggerManager.createOrGetTrigger(
|
|
29159
|
+
const p = await r.triggerManager.createOrGetTrigger(no(), r.triggerManager.getTriggerSchemaList()[0]), h = await r.operationManager.createOrGetOperation(no(), r.operationManager.getOperationSchemaList()[0]);
|
|
29160
29160
|
await r.addInteraction(p, h), n((g) => g + 1);
|
|
29161
29161
|
};
|
|
29162
29162
|
async function u(p) {
|
|
@@ -29395,7 +29395,7 @@ const R4 = ["richText", "button"], qb = re(function({
|
|
|
29395
29395
|
height: t
|
|
29396
29396
|
},
|
|
29397
29397
|
ref: s,
|
|
29398
|
-
children: /* @__PURE__ */ l(
|
|
29398
|
+
children: /* @__PURE__ */ l(Rr, {
|
|
29399
29399
|
children: d
|
|
29400
29400
|
})
|
|
29401
29401
|
});
|
|
@@ -29430,7 +29430,7 @@ const R4 = ["richText", "button"], qb = re(function({
|
|
|
29430
29430
|
color: "gray",
|
|
29431
29431
|
align: "center",
|
|
29432
29432
|
children: a.stateMessage
|
|
29433
|
-
}), g && /* @__PURE__ */ l(
|
|
29433
|
+
}), g && /* @__PURE__ */ l(Rr, {
|
|
29434
29434
|
children: d
|
|
29435
29435
|
})]
|
|
29436
29436
|
});
|
|
@@ -29628,7 +29628,7 @@ const B4 = re(({
|
|
|
29628
29628
|
size: n.width,
|
|
29629
29629
|
overflow: "inside",
|
|
29630
29630
|
opened: !0,
|
|
29631
|
-
onClose:
|
|
29631
|
+
onClose: J.noop,
|
|
29632
29632
|
withCloseButton: !1,
|
|
29633
29633
|
title: n.custom_modal_title.value,
|
|
29634
29634
|
trapFocus: !0,
|
|
@@ -29795,7 +29795,7 @@ const B4 = re(({
|
|
|
29795
29795
|
}) {
|
|
29796
29796
|
return /* @__PURE__ */ l(Bu.Provider, {
|
|
29797
29797
|
value: {
|
|
29798
|
-
viewPanelInFullScreen:
|
|
29798
|
+
viewPanelInFullScreen: J.noop,
|
|
29799
29799
|
inFullScreen: !1
|
|
29800
29800
|
},
|
|
29801
29801
|
children: /* @__PURE__ */ l(Se, {
|
|
@@ -30044,7 +30044,7 @@ function r5(e, t) {
|
|
|
30044
30044
|
let n = n5(e);
|
|
30045
30045
|
return n += "&key=" + t, cm.MD5(n).toString().toUpperCase();
|
|
30046
30046
|
}
|
|
30047
|
-
const
|
|
30047
|
+
const xo = {
|
|
30048
30048
|
baseURL: "http://localhost:31200",
|
|
30049
30049
|
app_id: "",
|
|
30050
30050
|
app_secret: "",
|
|
@@ -30085,7 +30085,7 @@ const wo = {
|
|
|
30085
30085
|
}
|
|
30086
30086
|
};
|
|
30087
30087
|
function Yb(e) {
|
|
30088
|
-
|
|
30088
|
+
xo.baseURL !== e.apiBaseURL && (xo.baseURL = e.apiBaseURL), e.app_id && (xo.app_id = e.app_id), e.app_secret && (xo.app_secret = e.app_secret);
|
|
30089
30089
|
}
|
|
30090
30090
|
const Xb = L.model("FilterConfigModel_Checkbox", {
|
|
30091
30091
|
_name: L.literal("checkbox"),
|
|
@@ -30456,7 +30456,7 @@ const i5 = L.model("FilterConfigModel_DateRange", {
|
|
|
30456
30456
|
return e.auto_submit_supported && e.auto_submit;
|
|
30457
30457
|
},
|
|
30458
30458
|
requiredAndPass(t) {
|
|
30459
|
-
return
|
|
30459
|
+
return J.get(e.config, "required", !1) ? J.get(e.config, "truthy", () => !0)(t) : !1;
|
|
30460
30460
|
}
|
|
30461
30461
|
})).actions((e) => ({
|
|
30462
30462
|
setKey(t) {
|
|
@@ -30544,7 +30544,7 @@ const f5 = L.model("FiltersModel", {
|
|
|
30544
30544
|
return e.current.find((n) => n.id === t);
|
|
30545
30545
|
},
|
|
30546
30546
|
get inOrder() {
|
|
30547
|
-
return
|
|
30547
|
+
return J.sortBy(e.current, "order");
|
|
30548
30548
|
},
|
|
30549
30549
|
get options() {
|
|
30550
30550
|
return e.current.map(
|
|
@@ -30562,7 +30562,7 @@ const f5 = L.model("FiltersModel", {
|
|
|
30562
30562
|
return e.current.length === 0;
|
|
30563
30563
|
},
|
|
30564
30564
|
visibleInView(t) {
|
|
30565
|
-
return
|
|
30565
|
+
return J.sortBy(
|
|
30566
30566
|
e.current.filter((n) => n.visibleInViewsIDs.includes(t)),
|
|
30567
30567
|
"order"
|
|
30568
30568
|
);
|
|
@@ -30732,7 +30732,7 @@ const Ti = {
|
|
|
30732
30732
|
CryptoJS: cm,
|
|
30733
30733
|
d3Array: tS,
|
|
30734
30734
|
dayjs: nr,
|
|
30735
|
-
lodash:
|
|
30735
|
+
lodash: J,
|
|
30736
30736
|
numbro: Wt
|
|
30737
30737
|
}, v5 = `
|
|
30738
30738
|
<p>
|
|
@@ -30854,7 +30854,7 @@ function Zd(e, t, n, r) {
|
|
|
30854
30854
|
context: o,
|
|
30855
30855
|
filters: r
|
|
30856
30856
|
}, a = n.reduce((s, c) => (s[c.key] = Qd(c.value, i), s), {});
|
|
30857
|
-
return
|
|
30857
|
+
return J.merge({}, { context: o, filters: r, sql_snippets: a });
|
|
30858
30858
|
}
|
|
30859
30859
|
function s0(e, t, n, r, o) {
|
|
30860
30860
|
try {
|
|
@@ -30886,20 +30886,20 @@ async function T5({ context: e, mock_context: t, sqlSnippets: n, query: r, filte
|
|
|
30886
30886
|
if (!r.sql)
|
|
30887
30887
|
return [];
|
|
30888
30888
|
const { type: a, key: s, sql: c, pre_process: u, post_process: d } = r, f = Zd(e, t, n, o), p = Qd(c, f), h = E5({ sql: p, pre_process: u });
|
|
30889
|
-
let g = await
|
|
30889
|
+
let g = await xo.getRequest("POST", i)("/query", { type: a, key: s, query: h }, {});
|
|
30890
30890
|
return g = k5(d, g), g;
|
|
30891
30891
|
}
|
|
30892
30892
|
async function M5({ context: e, mock_context: t, query: n, filterValues: r, datasource: o }, i) {
|
|
30893
30893
|
const { type: a, key: s, name: c, pre_process: u, post_process: d } = n;
|
|
30894
30894
|
let f = w5(u, e, t, r);
|
|
30895
30895
|
console.groupCollapsed(`Request config for: ${c}`), console.log(f), console.groupEnd(), f = x5(o, f);
|
|
30896
|
-
const p = JSON.stringify(f), h = await
|
|
30896
|
+
const p = JSON.stringify(f), h = await xo.getRequest("POST", i)("/query", { type: a, key: s, query: p }, {});
|
|
30897
30897
|
let g = S5(o, h);
|
|
30898
30898
|
return g = _5(d, g), g;
|
|
30899
30899
|
}
|
|
30900
30900
|
async function Jd() {
|
|
30901
30901
|
try {
|
|
30902
|
-
return (await
|
|
30902
|
+
return (await xo.getRequest("POST")("/datasource/list", {
|
|
30903
30903
|
filter: {},
|
|
30904
30904
|
sort: [
|
|
30905
30905
|
{
|
|
@@ -30938,7 +30938,7 @@ const O5 = L.model("QueryModel", {
|
|
|
30938
30938
|
return [...o, ...i].map((s) => ({
|
|
30939
30939
|
label: s.split(".")[1],
|
|
30940
30940
|
value: s,
|
|
30941
|
-
group:
|
|
30941
|
+
group: J.capitalize(s.split(".")[0])
|
|
30942
30942
|
}));
|
|
30943
30943
|
},
|
|
30944
30944
|
get unmetRunByConditions() {
|
|
@@ -30953,7 +30953,7 @@ const O5 = L.model("QueryModel", {
|
|
|
30953
30953
|
filters: o
|
|
30954
30954
|
};
|
|
30955
30955
|
return t.filter((a) => {
|
|
30956
|
-
const s =
|
|
30956
|
+
const s = J.get(i, a);
|
|
30957
30957
|
return Array.isArray(s) ? s.length === 0 : typeof s == "number" ? Number.isNaN(s) : !s;
|
|
30958
30958
|
});
|
|
30959
30959
|
}
|
|
@@ -30964,7 +30964,7 @@ const O5 = L.model("QueryModel", {
|
|
|
30964
30964
|
get conditionNames() {
|
|
30965
30965
|
if (e.unmetRunByConditions.length === 0)
|
|
30966
30966
|
return { context: [], filters: [] };
|
|
30967
|
-
const { keyLabelMap: t } = Bn(e).filters, n = e.unmetRunByConditions.filter((o) => o.startsWith("context.")).map((o) => o.split("context.")[0]), r = e.unmetRunByConditions.filter((o) => o.startsWith("filters.")).map((o) =>
|
|
30967
|
+
const { keyLabelMap: t } = Bn(e).filters, n = e.unmetRunByConditions.filter((o) => o.startsWith("context.")).map((o) => o.split("context.")[0]), r = e.unmetRunByConditions.filter((o) => o.startsWith("filters.")).map((o) => J.get({ filters: t }, o)).filter((o) => !!o);
|
|
30968
30968
|
return {
|
|
30969
30969
|
context: n,
|
|
30970
30970
|
filters: r
|
|
@@ -31563,7 +31563,7 @@ const L5 = L.model("EditorModel", {
|
|
|
31563
31563
|
}).views((e) => ({
|
|
31564
31564
|
get json() {
|
|
31565
31565
|
const { name: t, size: n, weight: r, color: o, formatter: i, data_field: a, aggregation: s } = e;
|
|
31566
|
-
return {
|
|
31566
|
+
return J.cloneDeep({
|
|
31567
31567
|
name: t,
|
|
31568
31568
|
size: n,
|
|
31569
31569
|
color: o,
|
|
@@ -31571,7 +31571,7 @@ const L5 = L.model("EditorModel", {
|
|
|
31571
31571
|
formatter: i,
|
|
31572
31572
|
data_field: a,
|
|
31573
31573
|
aggregation: s
|
|
31574
|
-
};
|
|
31574
|
+
});
|
|
31575
31575
|
}
|
|
31576
31576
|
}));
|
|
31577
31577
|
class q5 {
|
|
@@ -31584,10 +31584,10 @@ class q5 {
|
|
|
31584
31584
|
return !qt(kr(this.origin), kr(this.copy));
|
|
31585
31585
|
}
|
|
31586
31586
|
commit() {
|
|
31587
|
-
|
|
31587
|
+
bo(this.origin, kr(this.copy));
|
|
31588
31588
|
}
|
|
31589
31589
|
update(t) {
|
|
31590
|
-
|
|
31590
|
+
bo(this.copy, t);
|
|
31591
31591
|
}
|
|
31592
31592
|
}
|
|
31593
31593
|
const U5 = (e) => new q5(e), Y5 = L.model({
|
|
@@ -31659,7 +31659,7 @@ const U5 = (e) => new q5(e), Y5 = L.model({
|
|
|
31659
31659
|
get editorOptions() {
|
|
31660
31660
|
const t = pi(e, 1).id, n = e.list.map(
|
|
31661
31661
|
(o) => ({
|
|
31662
|
-
label: o.title ? o.title :
|
|
31662
|
+
label: o.title ? o.title : J.capitalize(o.viz.type),
|
|
31663
31663
|
value: o.id,
|
|
31664
31664
|
_type: "panel",
|
|
31665
31665
|
parentID: t
|
|
@@ -31721,7 +31721,7 @@ const U5 = (e) => new q5(e), Y5 = L.model({
|
|
|
31721
31721
|
}
|
|
31722
31722
|
e.list.push({
|
|
31723
31723
|
...n.json,
|
|
31724
|
-
id:
|
|
31724
|
+
id: no(),
|
|
31725
31725
|
layout: {
|
|
31726
31726
|
...n.layout,
|
|
31727
31727
|
y: 1 / 0,
|
|
@@ -31791,7 +31791,7 @@ const U5 = (e) => new q5(e), Y5 = L.model({
|
|
|
31791
31791
|
e.tabs.length = 0, e.tabs = hi(t);
|
|
31792
31792
|
},
|
|
31793
31793
|
addTab() {
|
|
31794
|
-
const t =
|
|
31794
|
+
const t = no(), n = {
|
|
31795
31795
|
id: t,
|
|
31796
31796
|
name: t,
|
|
31797
31797
|
view_id: ""
|
|
@@ -32056,7 +32056,7 @@ const nH = L.model({
|
|
|
32056
32056
|
findQueryUsage(t) {
|
|
32057
32057
|
const n = e.views.current.flatMap(
|
|
32058
32058
|
(o) => o.panels.list.filter((i) => i.queryID === t).map((i) => ({ type: "panel", id: i.id, label: i.title ? i.title : i.viz.type, viewID: o.id }))
|
|
32059
|
-
), r = e.filters.current.filter((o) =>
|
|
32059
|
+
), r = e.filters.current.filter((o) => J.get(o, "config.options_query_id") === t).map((o) => ({
|
|
32060
32060
|
type: "filter",
|
|
32061
32061
|
id: o.id,
|
|
32062
32062
|
label: o.label
|
|
@@ -32065,10 +32065,10 @@ const nH = L.model({
|
|
|
32065
32065
|
}
|
|
32066
32066
|
})).actions((e) => ({
|
|
32067
32067
|
reset() {
|
|
32068
|
-
|
|
32068
|
+
bo(e.filters.current, e.origin.filters.current), bo(e.queries.current, e.origin.queries.current), bo(e.sqlSnippets.current, e.origin.sqlSnippets.current), bo(e.views.current, e.origin.views.current), e.mock_context.current = e.origin.mock_context.current;
|
|
32069
32069
|
},
|
|
32070
32070
|
resetFilters() {
|
|
32071
|
-
|
|
32071
|
+
bo(e.filters.current, e.origin.filters.current);
|
|
32072
32072
|
}
|
|
32073
32073
|
})), pu = L.snapshotProcessor(nH, {
|
|
32074
32074
|
preProcessor(e) {
|
|
@@ -33772,7 +33772,7 @@ rf(An, mu, $0(Na, {
|
|
|
33772
33772
|
return this;
|
|
33773
33773
|
},
|
|
33774
33774
|
clamp() {
|
|
33775
|
-
return new An(
|
|
33775
|
+
return new An(Co(this.r), Co(this.g), Co(this.b), Fs(this.opacity));
|
|
33776
33776
|
},
|
|
33777
33777
|
displayable() {
|
|
33778
33778
|
return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
|
|
@@ -33784,23 +33784,23 @@ rf(An, mu, $0(Na, {
|
|
|
33784
33784
|
toString: ig
|
|
33785
33785
|
}));
|
|
33786
33786
|
function og() {
|
|
33787
|
-
return `#${
|
|
33787
|
+
return `#${So(this.r)}${So(this.g)}${So(this.b)}`;
|
|
33788
33788
|
}
|
|
33789
33789
|
function bj() {
|
|
33790
|
-
return `#${
|
|
33790
|
+
return `#${So(this.r)}${So(this.g)}${So(this.b)}${So((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
33791
33791
|
}
|
|
33792
33792
|
function ig() {
|
|
33793
33793
|
const e = Fs(this.opacity);
|
|
33794
|
-
return `${e === 1 ? "rgb(" : "rgba("}${
|
|
33794
|
+
return `${e === 1 ? "rgb(" : "rgba("}${Co(this.r)}, ${Co(this.g)}, ${Co(this.b)}${e === 1 ? ")" : `, ${e})`}`;
|
|
33795
33795
|
}
|
|
33796
33796
|
function Fs(e) {
|
|
33797
33797
|
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
|
|
33798
33798
|
}
|
|
33799
|
-
function
|
|
33799
|
+
function Co(e) {
|
|
33800
33800
|
return Math.max(0, Math.min(255, Math.round(e) || 0));
|
|
33801
33801
|
}
|
|
33802
|
-
function
|
|
33803
|
-
return e =
|
|
33802
|
+
function So(e) {
|
|
33803
|
+
return e = Co(e), (e < 16 ? "0" : "") + e.toString(16);
|
|
33804
33804
|
}
|
|
33805
33805
|
function ag(e, t, n, r) {
|
|
33806
33806
|
return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new Qn(e, t, n, r);
|
|
@@ -33888,7 +33888,7 @@ const lg = function e(t) {
|
|
|
33888
33888
|
}
|
|
33889
33889
|
return r.gamma = e, r;
|
|
33890
33890
|
}(1);
|
|
33891
|
-
function
|
|
33891
|
+
function Kr(e, t) {
|
|
33892
33892
|
return e = +e, t = +t, function(n) {
|
|
33893
33893
|
return e * (1 - n) + t * n;
|
|
33894
33894
|
};
|
|
@@ -33907,7 +33907,7 @@ function Ej(e) {
|
|
|
33907
33907
|
function kj(e, t) {
|
|
33908
33908
|
var n = vu.lastIndex = vc.lastIndex = 0, r, o, i, a = -1, s = [], c = [];
|
|
33909
33909
|
for (e = e + "", t = t + ""; (r = vu.exec(e)) && (o = vc.exec(t)); )
|
|
33910
|
-
(i = o.index) > n && (i = t.slice(n, i), s[a] ? s[a] += i : s[++a] = i), (r = r[0]) === (o = o[0]) ? s[a] ? s[a] += o : s[++a] = o : (s[++a] = null, c.push({ i: a, x:
|
|
33910
|
+
(i = o.index) > n && (i = t.slice(n, i), s[a] ? s[a] += i : s[++a] = i), (r = r[0]) === (o = o[0]) ? s[a] ? s[a] += o : s[++a] = o : (s[++a] = null, c.push({ i: a, x: Kr(r, o) })), n = vc.lastIndex;
|
|
33911
33911
|
return n < t.length && (i = t.slice(n), s[a] ? s[a] += i : s[++a] = i), s.length < 2 ? c[0] ? Ej(c[0].x) : Cj(t) : (t = c.length, function(u) {
|
|
33912
33912
|
for (var d = 0, f; d < t; ++d)
|
|
33913
33913
|
s[(f = c[d]).i] = f.x(u);
|
|
@@ -33948,20 +33948,20 @@ function z0(e, t, n, r) {
|
|
|
33948
33948
|
function i(u, d, f, p, h, g) {
|
|
33949
33949
|
if (u !== f || d !== p) {
|
|
33950
33950
|
var m = h.push("translate(", null, t, null, n);
|
|
33951
|
-
g.push({ i: m - 4, x:
|
|
33951
|
+
g.push({ i: m - 4, x: Kr(u, f) }, { i: m - 2, x: Kr(d, p) });
|
|
33952
33952
|
} else
|
|
33953
33953
|
(f || p) && h.push("translate(" + f + t + p + n);
|
|
33954
33954
|
}
|
|
33955
33955
|
function a(u, d, f, p) {
|
|
33956
|
-
u !== d ? (u - d > 180 ? d += 360 : d - u > 180 && (u += 360), p.push({ i: f.push(o(f) + "rotate(", null, r) - 2, x:
|
|
33956
|
+
u !== d ? (u - d > 180 ? d += 360 : d - u > 180 && (u += 360), p.push({ i: f.push(o(f) + "rotate(", null, r) - 2, x: Kr(u, d) })) : d && f.push(o(f) + "rotate(" + d + r);
|
|
33957
33957
|
}
|
|
33958
33958
|
function s(u, d, f, p) {
|
|
33959
|
-
u !== d ? p.push({ i: f.push(o(f) + "skewX(", null, r) - 2, x:
|
|
33959
|
+
u !== d ? p.push({ i: f.push(o(f) + "skewX(", null, r) - 2, x: Kr(u, d) }) : d && f.push(o(f) + "skewX(" + d + r);
|
|
33960
33960
|
}
|
|
33961
33961
|
function c(u, d, f, p, h, g) {
|
|
33962
33962
|
if (u !== f || d !== p) {
|
|
33963
33963
|
var m = h.push(o(h) + "scale(", null, ",", null, ")");
|
|
33964
|
-
g.push({ i: m - 4, x:
|
|
33964
|
+
g.push({ i: m - 4, x: Kr(u, f) }, { i: m - 2, x: Kr(d, p) });
|
|
33965
33965
|
} else
|
|
33966
33966
|
(f !== 1 || p !== 1) && h.push(o(h) + "scale(" + f + "," + p + ")");
|
|
33967
33967
|
}
|
|
@@ -34224,7 +34224,7 @@ function sf(e, t, n) {
|
|
|
34224
34224
|
}
|
|
34225
34225
|
function K0(e, t) {
|
|
34226
34226
|
var n;
|
|
34227
|
-
return (typeof t == "number" ?
|
|
34227
|
+
return (typeof t == "number" ? Kr : t instanceof pa ? lg : (n = pa(t)) ? (t = n, lg) : kj)(e, t);
|
|
34228
34228
|
}
|
|
34229
34229
|
function Gj(e) {
|
|
34230
34230
|
return function() {
|
|
@@ -34362,7 +34362,7 @@ function h6(e) {
|
|
|
34362
34362
|
for (var t = this._groups, n = t.length, r = new Array(n), o = 0; o < n; ++o)
|
|
34363
34363
|
for (var i = t[o], a = i.length, s = r[o] = [], c, u = 0; u < a; ++u)
|
|
34364
34364
|
(c = i[u]) && e.call(c, c.__data__, u, i) && s.push(c);
|
|
34365
|
-
return new
|
|
34365
|
+
return new Nr(r, this._parents, this._name, this._id);
|
|
34366
34366
|
}
|
|
34367
34367
|
function g6(e) {
|
|
34368
34368
|
if (e._id !== this._id)
|
|
@@ -34372,7 +34372,7 @@ function g6(e) {
|
|
|
34372
34372
|
(p = c[h] || u[h]) && (f[h] = p);
|
|
34373
34373
|
for (; s < r; ++s)
|
|
34374
34374
|
a[s] = t[s];
|
|
34375
|
-
return new
|
|
34375
|
+
return new Nr(a, this._parents, this._name, this._id);
|
|
34376
34376
|
}
|
|
34377
34377
|
function m6(e) {
|
|
34378
34378
|
return (e + "").trim().split(/^|\s+/).every(function(t) {
|
|
@@ -34409,7 +34409,7 @@ function x6(e) {
|
|
|
34409
34409
|
for (var r = this._groups, o = r.length, i = new Array(o), a = 0; a < o; ++a)
|
|
34410
34410
|
for (var s = r[a], c = s.length, u = i[a] = new Array(c), d, f, p = 0; p < c; ++p)
|
|
34411
34411
|
(d = s[p]) && (f = e.call(d, d.__data__, p, s)) && ("__data__" in d && (f.__data__ = d.__data__), u[p] = f, Pl(u[p], t, n, p, u, sr(d, n)));
|
|
34412
|
-
return new
|
|
34412
|
+
return new Nr(i, this._parents, t, n);
|
|
34413
34413
|
}
|
|
34414
34414
|
function S6(e) {
|
|
34415
34415
|
var t = this._name, n = this._id;
|
|
@@ -34421,7 +34421,7 @@ function S6(e) {
|
|
|
34421
34421
|
(h = p[m]) && Pl(h, t, n, m, p, g);
|
|
34422
34422
|
i.push(p), a.push(d);
|
|
34423
34423
|
}
|
|
34424
|
-
return new
|
|
34424
|
+
return new Nr(i, a, t, n);
|
|
34425
34425
|
}
|
|
34426
34426
|
var _6 = $a.prototype.constructor;
|
|
34427
34427
|
function C6() {
|
|
@@ -34536,7 +34536,7 @@ function z6() {
|
|
|
34536
34536
|
ease: d.ease
|
|
34537
34537
|
});
|
|
34538
34538
|
}
|
|
34539
|
-
return new
|
|
34539
|
+
return new Nr(r, this._parents, e, n);
|
|
34540
34540
|
}
|
|
34541
34541
|
function F6() {
|
|
34542
34542
|
var e, t, n = this, r = n._id, o = n.size();
|
|
@@ -34551,15 +34551,15 @@ function F6() {
|
|
|
34551
34551
|
});
|
|
34552
34552
|
}
|
|
34553
34553
|
var H6 = 0;
|
|
34554
|
-
function
|
|
34554
|
+
function Nr(e, t, n, r) {
|
|
34555
34555
|
this._groups = e, this._parents = t, this._name = n, this._id = r;
|
|
34556
34556
|
}
|
|
34557
34557
|
function G0() {
|
|
34558
34558
|
return ++H6;
|
|
34559
34559
|
}
|
|
34560
34560
|
var xr = $a.prototype;
|
|
34561
|
-
|
|
34562
|
-
constructor:
|
|
34561
|
+
Nr.prototype = {
|
|
34562
|
+
constructor: Nr,
|
|
34563
34563
|
select: x6,
|
|
34564
34564
|
selectAll: S6,
|
|
34565
34565
|
selectChild: xr.selectChild,
|
|
@@ -34607,11 +34607,11 @@ function K6(e, t) {
|
|
|
34607
34607
|
}
|
|
34608
34608
|
function W6(e) {
|
|
34609
34609
|
var t, n;
|
|
34610
|
-
e instanceof
|
|
34610
|
+
e instanceof Nr ? (t = e._id, e = e._name) : (t = G0(), (n = j6).time = of(), e = e == null ? null : e + "");
|
|
34611
34611
|
for (var r = this._groups, o = r.length, i = 0; i < o; ++i)
|
|
34612
34612
|
for (var a = r[i], s = a.length, c, u = 0; u < s; ++u)
|
|
34613
34613
|
(c = a[u]) && Pl(c, e, t, u, a, n || K6(c, t));
|
|
34614
|
-
return new
|
|
34614
|
+
return new Nr(r, this._parents, e, t);
|
|
34615
34615
|
}
|
|
34616
34616
|
$a.prototype.interrupt = Bj;
|
|
34617
34617
|
$a.prototype.transition = W6;
|
|
@@ -34998,7 +34998,7 @@ function _u(e) {
|
|
|
34998
34998
|
const t = iK(e) ? e.nativeEvent : e, n = ((o = (r = t.composedPath) == null ? void 0 : r.call(t)) == null ? void 0 : o[0]) || e.target;
|
|
34999
34999
|
return e.ctrlKey || e.metaKey || e.shiftKey ? !1 : ["INPUT", "SELECT", "TEXTAREA"].includes(n == null ? void 0 : n.nodeName) || (n == null ? void 0 : n.hasAttribute("contenteditable")) || !!(n != null && n.closest(".nokey"));
|
|
35000
35000
|
}
|
|
35001
|
-
const ew = (e) => "clientX" in e,
|
|
35001
|
+
const ew = (e) => "clientX" in e, to = (e, t) => {
|
|
35002
35002
|
var i, a, s, c;
|
|
35003
35003
|
const n = ew(e), r = n ? e.clientX : (i = e.touches) == null ? void 0 : i[0].clientX, o = n ? e.clientY : (a = e.touches) == null ? void 0 : a[0].clientY;
|
|
35004
35004
|
return {
|
|
@@ -35033,10 +35033,10 @@ var ga;
|
|
|
35033
35033
|
(function(e) {
|
|
35034
35034
|
e.Partial = "partial", e.Full = "full";
|
|
35035
35035
|
})(ga || (ga = {}));
|
|
35036
|
-
var
|
|
35036
|
+
var Xr;
|
|
35037
35037
|
(function(e) {
|
|
35038
35038
|
e.Bezier = "default", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e.SimpleBezier = "simplebezier";
|
|
35039
|
-
})(
|
|
35039
|
+
})(Xr || (Xr = {}));
|
|
35040
35040
|
var Ws;
|
|
35041
35041
|
(function(e) {
|
|
35042
35042
|
e.Arrow = "arrow", e.ArrowClosed = "arrowclosed";
|
|
@@ -35274,7 +35274,7 @@ const dK = () => yn(gf), fK = (e) => "id" in e && "source" in e && "target" in e
|
|
|
35274
35274
|
}, mK = ({ x: e, y: t }, [n, r, o]) => ({
|
|
35275
35275
|
x: e * o + n,
|
|
35276
35276
|
y: t * o + r
|
|
35277
|
-
}),
|
|
35277
|
+
}), Eo = (e, t = [0, 0]) => {
|
|
35278
35278
|
var i, a;
|
|
35279
35279
|
if (!e)
|
|
35280
35280
|
return {
|
|
@@ -35300,7 +35300,7 @@ const dK = () => yn(gf), fK = (e) => "id" in e && "source" in e && "target" in e
|
|
|
35300
35300
|
if (e.length === 0)
|
|
35301
35301
|
return { x: 0, y: 0, width: 0, height: 0 };
|
|
35302
35302
|
const n = e.reduce((r, o) => {
|
|
35303
|
-
const { x: i, y: a } =
|
|
35303
|
+
const { x: i, y: a } = Eo(o, t).positionAbsolute;
|
|
35304
35304
|
return Q0(r, Ks({
|
|
35305
35305
|
x: i,
|
|
35306
35306
|
y: a,
|
|
@@ -35320,7 +35320,7 @@ const dK = () => yn(gf), fK = (e) => "id" in e && "source" in e && "target" in e
|
|
|
35320
35320
|
const { width: f, height: p, selectable: h = !0, hidden: g = !1 } = d;
|
|
35321
35321
|
if (a && !h || g)
|
|
35322
35322
|
return !1;
|
|
35323
|
-
const { positionAbsolute: m } =
|
|
35323
|
+
const { positionAbsolute: m } = Eo(d, s), b = {
|
|
35324
35324
|
x: m.x,
|
|
35325
35325
|
y: m.y,
|
|
35326
35326
|
width: f || 0,
|
|
@@ -35334,7 +35334,7 @@ const dK = () => yn(gf), fK = (e) => "id" in e && "source" in e && "target" in e
|
|
|
35334
35334
|
}, lw = (e, t, n, r, o, i = 0.1) => {
|
|
35335
35335
|
const a = t / (e.width * (1 + i)), s = n / (e.height * (1 + i)), c = Math.min(a, s), u = ui(c, r, o), d = e.x + e.width / 2, f = e.y + e.height / 2, p = t / 2 - d * u, h = n / 2 - f * u;
|
|
35336
35336
|
return [p, h, u];
|
|
35337
|
-
},
|
|
35337
|
+
}, yo = (e, t = 0) => e.transition().duration(t);
|
|
35338
35338
|
function Sg(e, t, n, r) {
|
|
35339
35339
|
return (t[n] || []).reduce((o, i) => {
|
|
35340
35340
|
var a, s, c, u;
|
|
@@ -35356,7 +35356,7 @@ function vK(e, t, n) {
|
|
|
35356
35356
|
}
|
|
35357
35357
|
const yK = { source: null, target: null, sourceHandle: null, targetHandle: null };
|
|
35358
35358
|
function cw(e, t, n, r, o, i, a, s) {
|
|
35359
|
-
const c = i === "target", u = s.querySelector(`.react-flow__handle[data-id="${t == null ? void 0 : t.nodeId}-${t == null ? void 0 : t.id}-${t == null ? void 0 : t.type}"]`), { x: d, y: f } =
|
|
35359
|
+
const c = i === "target", u = s.querySelector(`.react-flow__handle[data-id="${t == null ? void 0 : t.nodeId}-${t == null ? void 0 : t.id}-${t == null ? void 0 : t.type}"]`), { x: d, y: f } = to(e), p = s.elementFromPoint(d, f), h = p != null && p.classList.contains("react-flow__handle") ? p : u, g = {
|
|
35360
35360
|
handleDomNode: h,
|
|
35361
35361
|
isValid: !1,
|
|
35362
35362
|
connection: yK
|
|
@@ -35395,10 +35395,10 @@ function wK(e, t) {
|
|
|
35395
35395
|
function dw({ event: e, handleId: t, nodeId: n, onConnect: r, isTarget: o, getState: i, setState: a, isValidConnection: s, edgeUpdaterType: c, onEdgeUpdateEnd: u }) {
|
|
35396
35396
|
const d = X0(e.target), { connectionMode: f, domNode: p, autoPanOnConnect: h, connectionRadius: g, onConnectStart: m, panBy: b, getNodes: y, cancelConnection: S } = i();
|
|
35397
35397
|
let x = 0, w;
|
|
35398
|
-
const { x: _, y: k } =
|
|
35398
|
+
const { x: _, y: k } = to(e), O = d == null ? void 0 : d.elementFromPoint(_, k), $ = uw(c, O), V = p == null ? void 0 : p.getBoundingClientRect();
|
|
35399
35399
|
if (!V || !$)
|
|
35400
35400
|
return;
|
|
35401
|
-
let R, T =
|
|
35401
|
+
let R, T = to(e, V), A = !1, I = null, E = !1;
|
|
35402
35402
|
const P = bK({
|
|
35403
35403
|
nodes: y(),
|
|
35404
35404
|
nodeId: n,
|
|
@@ -35419,7 +35419,7 @@ function dw({ event: e, handleId: t, nodeId: n, onConnect: r, isTarget: o, getSt
|
|
|
35419
35419
|
}), m == null || m(e, { nodeId: n, handleId: t, handleType: $ });
|
|
35420
35420
|
function M(j) {
|
|
35421
35421
|
const { transform: W } = i();
|
|
35422
|
-
T =
|
|
35422
|
+
T = to(j, V), w = vK(iw(T, W, !1, [1, 1]), g, P), A || (D(), A = !0);
|
|
35423
35423
|
const { handleDomNode: q, ...ne } = cw(j, w, f, n, t, o ? "target" : "source", s, d);
|
|
35424
35424
|
if (a({
|
|
35425
35425
|
connectionPosition: w && ne.isValid ? mK({
|
|
@@ -35744,7 +35744,7 @@ function Sw(e, t, n, r, o = [0, 0], i) {
|
|
|
35744
35744
|
let a = e.extent || r;
|
|
35745
35745
|
if (e.extent === "parent")
|
|
35746
35746
|
if (e.parentNode && e.width && e.height) {
|
|
35747
|
-
const u = n.get(e.parentNode), { x: d, y: f } =
|
|
35747
|
+
const u = n.get(e.parentNode), { x: d, y: f } = Eo(u, o).positionAbsolute;
|
|
35748
35748
|
a = u && Kn(d) && Kn(f) && Kn(u.width) && Kn(u.height) ? [
|
|
35749
35749
|
[d + e.width * o[0], f + e.height * o[1]],
|
|
35750
35750
|
[
|
|
@@ -35755,7 +35755,7 @@ function Sw(e, t, n, r, o = [0, 0], i) {
|
|
|
35755
35755
|
} else
|
|
35756
35756
|
i == null || i("005", pr["005"]()), a = r;
|
|
35757
35757
|
else if (e.extent && e.parentNode) {
|
|
35758
|
-
const u = n.get(e.parentNode), { x: d, y: f } =
|
|
35758
|
+
const u = n.get(e.parentNode), { x: d, y: f } = Eo(u, o).positionAbsolute;
|
|
35759
35759
|
a = [
|
|
35760
35760
|
[e.extent[0][0] + d, e.extent[0][1] + f],
|
|
35761
35761
|
[e.extent[1][0] + d, e.extent[1][1] + f]
|
|
@@ -35764,7 +35764,7 @@ function Sw(e, t, n, r, o = [0, 0], i) {
|
|
|
35764
35764
|
let s = { x: 0, y: 0 };
|
|
35765
35765
|
if (e.parentNode) {
|
|
35766
35766
|
const u = n.get(e.parentNode);
|
|
35767
|
-
s =
|
|
35767
|
+
s = Eo(u, o).positionAbsolute;
|
|
35768
35768
|
}
|
|
35769
35769
|
const c = a ? uf(t, a) : t;
|
|
35770
35770
|
return {
|
|
@@ -35884,10 +35884,10 @@ function _w({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector:
|
|
|
35884
35884
|
});
|
|
35885
35885
|
E(k.sourceEvent, M, z);
|
|
35886
35886
|
}
|
|
35887
|
-
h.current = (V == null ? void 0 : V.getBoundingClientRect()) || null, g.current =
|
|
35887
|
+
h.current = (V == null ? void 0 : V.getBoundingClientRect()) || null, g.current = to(k.sourceEvent, h.current);
|
|
35888
35888
|
}).on("drag", (k) => {
|
|
35889
35889
|
const O = y(k), { autoPanOnNodeDrag: $ } = s.getState();
|
|
35890
|
-
!b.current && $ && (b.current = !0, w()), (f.current.x !== O.xSnapped || f.current.y !== O.ySnapped) && d.current && (m.current = k.sourceEvent, g.current =
|
|
35890
|
+
!b.current && $ && (b.current = !0, w()), (f.current.x !== O.xSnapped || f.current.y !== O.ySnapped) && d.current && (m.current = k.sourceEvent, g.current = to(k.sourceEvent, h.current), x(O));
|
|
35891
35891
|
}).on("end", (k) => {
|
|
35892
35892
|
if (u(!1), b.current = !1, cancelAnimationFrame(p.current), d.current) {
|
|
35893
35893
|
const { updateNodePositions: O, nodeInternals: $, onNodeDragStop: V, onSelectionDragStop: R } = s.getState(), T = o ? V : xc(R);
|
|
@@ -36069,7 +36069,7 @@ function Ew(e, t, n, r) {
|
|
|
36069
36069
|
var a, s, c, u, d, f, p, h;
|
|
36070
36070
|
if (!e.parentNode)
|
|
36071
36071
|
return n;
|
|
36072
|
-
const o = t.get(e.parentNode), i =
|
|
36072
|
+
const o = t.get(e.parentNode), i = Eo(o, r);
|
|
36073
36073
|
return Ew(o, t, {
|
|
36074
36074
|
x: ((a = n.x) != null ? a : 0) + i.x,
|
|
36075
36075
|
y: ((s = n.y) != null ? s : 0) + i.y,
|
|
@@ -36122,7 +36122,7 @@ function Tw(e, t = {}) {
|
|
|
36122
36122
|
const m = n().filter((y) => t.includeHiddenNodes ? y.width && y.height : !y.hidden), b = m.every((y) => y.width && y.height);
|
|
36123
36123
|
if (m.length > 0 && b) {
|
|
36124
36124
|
const y = mf(m, f), [S, x, w] = lw(y, r, o, (p = t.minZoom) != null ? p : i, (h = t.maxZoom) != null ? h : a, (g = t.padding) != null ? g : 0.1), _ = Or.translate(S, x).scale(w);
|
|
36125
|
-
return typeof t.duration == "number" && t.duration > 0 ? s.transform(
|
|
36125
|
+
return typeof t.duration == "number" && t.duration > 0 ? s.transform(yo(c, t.duration), _) : s.transform(c, _), !0;
|
|
36126
36126
|
}
|
|
36127
36127
|
}
|
|
36128
36128
|
return !1;
|
|
@@ -36147,17 +36147,17 @@ function is({ changedNodes: e, changedEdges: t, get: n, set: r }) {
|
|
|
36147
36147
|
const { nodeInternals: o, edges: i, onNodesChange: a, onEdgesChange: s, hasDefaultNodes: c, hasDefaultEdges: u } = n();
|
|
36148
36148
|
e != null && e.length && (c && r({ nodeInternals: KK(e, o) }), a == null || a(e)), t != null && t.length && (u && r({ edges: WK(t, i) }), s == null || s(t));
|
|
36149
36149
|
}
|
|
36150
|
-
const
|
|
36150
|
+
const mo = () => {
|
|
36151
36151
|
}, GK = {
|
|
36152
|
-
zoomIn:
|
|
36153
|
-
zoomOut:
|
|
36154
|
-
zoomTo:
|
|
36152
|
+
zoomIn: mo,
|
|
36153
|
+
zoomOut: mo,
|
|
36154
|
+
zoomTo: mo,
|
|
36155
36155
|
getZoom: () => 1,
|
|
36156
|
-
setViewport:
|
|
36156
|
+
setViewport: mo,
|
|
36157
36157
|
getViewport: () => ({ x: 0, y: 0, zoom: 1 }),
|
|
36158
|
-
fitView:
|
|
36159
|
-
setCenter:
|
|
36160
|
-
fitBounds:
|
|
36158
|
+
fitView: mo,
|
|
36159
|
+
setCenter: mo,
|
|
36160
|
+
fitBounds: mo,
|
|
36161
36161
|
project: (e) => e,
|
|
36162
36162
|
viewportInitialized: !1
|
|
36163
36163
|
}, qK = (e) => ({
|
|
@@ -36166,14 +36166,14 @@ const go = () => {
|
|
|
36166
36166
|
}), UK = () => {
|
|
36167
36167
|
const e = gn(), { d3Zoom: t, d3Selection: n } = Ht(qK, Cn);
|
|
36168
36168
|
return oe(() => n && t ? {
|
|
36169
|
-
zoomIn: (o) => t.scaleBy(
|
|
36170
|
-
zoomOut: (o) => t.scaleBy(
|
|
36171
|
-
zoomTo: (o, i) => t.scaleTo(
|
|
36169
|
+
zoomIn: (o) => t.scaleBy(yo(n, o == null ? void 0 : o.duration), 1.2),
|
|
36170
|
+
zoomOut: (o) => t.scaleBy(yo(n, o == null ? void 0 : o.duration), 1 / 1.2),
|
|
36171
|
+
zoomTo: (o, i) => t.scaleTo(yo(n, i == null ? void 0 : i.duration), o),
|
|
36172
36172
|
getZoom: () => e.getState().transform[2],
|
|
36173
36173
|
setViewport: (o, i) => {
|
|
36174
36174
|
var d, f, p;
|
|
36175
36175
|
const [a, s, c] = e.getState().transform, u = Or.translate((d = o.x) != null ? d : a, (f = o.y) != null ? f : s).scale((p = o.zoom) != null ? p : c);
|
|
36176
|
-
t.transform(
|
|
36176
|
+
t.transform(yo(n, i == null ? void 0 : i.duration), u);
|
|
36177
36177
|
},
|
|
36178
36178
|
getViewport: () => {
|
|
36179
36179
|
const [o, i, a] = e.getState().transform;
|
|
@@ -36182,12 +36182,12 @@ const go = () => {
|
|
|
36182
36182
|
fitView: (o) => Tw(e.getState, o),
|
|
36183
36183
|
setCenter: (o, i, a) => {
|
|
36184
36184
|
const { width: s, height: c, maxZoom: u } = e.getState(), d = typeof (a == null ? void 0 : a.zoom) < "u" ? a.zoom : u, f = s / 2 - o * d, p = c / 2 - i * d, h = Or.translate(f, p).scale(d);
|
|
36185
|
-
t.transform(
|
|
36185
|
+
t.transform(yo(n, a == null ? void 0 : a.duration), h);
|
|
36186
36186
|
},
|
|
36187
36187
|
fitBounds: (o, i) => {
|
|
36188
36188
|
var g;
|
|
36189
36189
|
const { width: a, height: s, minZoom: c, maxZoom: u } = e.getState(), [d, f, p] = lw(o, a, s, c, u, (g = i == null ? void 0 : i.padding) != null ? g : 0.1), h = Or.translate(d, f).scale(p);
|
|
36190
|
-
t.transform(
|
|
36190
|
+
t.transform(yo(n, i == null ? void 0 : i.duration), h);
|
|
36191
36191
|
},
|
|
36192
36192
|
project: (o) => {
|
|
36193
36193
|
const { transform: i, snapToGrid: a, snapGrid: s } = e.getState();
|
|
@@ -36521,7 +36521,7 @@ function n8(e, t) {
|
|
|
36521
36521
|
function r8(e, t) {
|
|
36522
36522
|
return n8(e, t);
|
|
36523
36523
|
}
|
|
36524
|
-
const
|
|
36524
|
+
const Wr = (e, t) => ({
|
|
36525
36525
|
id: e,
|
|
36526
36526
|
type: "select",
|
|
36527
36527
|
selected: t
|
|
@@ -36529,7 +36529,7 @@ const Kr = (e, t) => ({
|
|
|
36529
36529
|
function Yo(e, t) {
|
|
36530
36530
|
return e.reduce((n, r) => {
|
|
36531
36531
|
const o = t.includes(r.id);
|
|
36532
|
-
return !r.selected && o ? (r.selected = !0, n.push(
|
|
36532
|
+
return !r.selected && o ? (r.selected = !0, n.push(Wr(r.id, !0))) : r.selected && !o && (r.selected = !1, n.push(Wr(r.id, !1))), n;
|
|
36533
36533
|
}, []);
|
|
36534
36534
|
}
|
|
36535
36535
|
const Cc = (e, t) => (n) => {
|
|
@@ -36553,7 +36553,7 @@ const Cc = (e, t) => (n) => {
|
|
|
36553
36553
|
const { resetSelectedElements: E, domNode: P } = h.getState();
|
|
36554
36554
|
if (b.current = P == null ? void 0 : P.getBoundingClientRect(), !S || !e || I.button !== 0 || I.target !== p.current || !b.current)
|
|
36555
36555
|
return;
|
|
36556
|
-
const { x: D, y: M } =
|
|
36556
|
+
const { x: D, y: M } = to(I, b.current);
|
|
36557
36557
|
E(), h.setState({
|
|
36558
36558
|
userSelectionRect: {
|
|
36559
36559
|
width: 0,
|
|
@@ -36570,7 +36570,7 @@ const Cc = (e, t) => (n) => {
|
|
|
36570
36570
|
if (!e || !b.current || !E)
|
|
36571
36571
|
return;
|
|
36572
36572
|
h.setState({ userSelectionActive: !0, nodesSelectionActive: !1 });
|
|
36573
|
-
const ne =
|
|
36573
|
+
const ne = to(I, b.current), ie = (Me = E.startX) != null ? Me : 0, Y = (Ee = E.startY) != null ? Ee : 0, Q = {
|
|
36574
36574
|
...E,
|
|
36575
36575
|
x: ne.x < ie ? ne.x : ie,
|
|
36576
36576
|
y: ne.y < Y ? ne.y : Y,
|
|
@@ -36798,7 +36798,7 @@ const T8 = {
|
|
|
36798
36798
|
[Ie.Right]: Ie.Left,
|
|
36799
36799
|
[Ie.Top]: Ie.Bottom,
|
|
36800
36800
|
[Ie.Bottom]: Ie.Top
|
|
36801
|
-
}, Pw = ({ nodeId: e, handleType: t, style: n, type: r =
|
|
36801
|
+
}, Pw = ({ nodeId: e, handleType: t, style: n, type: r = Xr.Bezier, CustomComponent: o, connectionStatus: i }) => {
|
|
36802
36802
|
var k, O, $, V, R, T, A;
|
|
36803
36803
|
const { fromNode: a, handleId: s, toX: c, toY: u, connectionMode: d } = Ht(ht((I) => ({
|
|
36804
36804
|
fromNode: I.nodeInternals.get(e),
|
|
@@ -36824,10 +36824,10 @@ const T8 = {
|
|
|
36824
36824
|
targetY: u,
|
|
36825
36825
|
targetPosition: x
|
|
36826
36826
|
};
|
|
36827
|
-
return r ===
|
|
36827
|
+
return r === Xr.Bezier ? [w] = ow(_) : r === Xr.Step ? [w] = Cu({
|
|
36828
36828
|
..._,
|
|
36829
36829
|
borderRadius: 0
|
|
36830
|
-
}) : r ===
|
|
36830
|
+
}) : r === Xr.SmoothStep ? [w] = Cu(_) : r === Xr.SimpleBezier ? [w] = rw(_) : w = `M${b},${y} ${c},${u}`, l("path", { d: w, fill: "none", className: "react-flow__connection-path", style: n });
|
|
36831
36831
|
};
|
|
36832
36832
|
Pw.displayName = "ConnectionLine";
|
|
36833
36833
|
const M8 = (e) => ({
|
|
@@ -36967,7 +36967,7 @@ const Mu = [
|
|
|
36967
36967
|
addSelectedNodes: (n) => {
|
|
36968
36968
|
const { multiSelectionActive: r, edges: o, getNodes: i } = t();
|
|
36969
36969
|
let a, s = null;
|
|
36970
|
-
r ? a = n.map((c) =>
|
|
36970
|
+
r ? a = n.map((c) => Wr(c, !0)) : (a = Yo(i(), n), s = Yo(o, [])), is({
|
|
36971
36971
|
changedNodes: a,
|
|
36972
36972
|
changedEdges: s,
|
|
36973
36973
|
get: t,
|
|
@@ -36977,7 +36977,7 @@ const Mu = [
|
|
|
36977
36977
|
addSelectedEdges: (n) => {
|
|
36978
36978
|
const { multiSelectionActive: r, edges: o, getNodes: i } = t();
|
|
36979
36979
|
let a, s = null;
|
|
36980
|
-
r ? a = n.map((c) =>
|
|
36980
|
+
r ? a = n.map((c) => Wr(c, !0)) : (a = Yo(o, n), s = Yo(i(), [])), is({
|
|
36981
36981
|
changedNodes: s,
|
|
36982
36982
|
changedEdges: a,
|
|
36983
36983
|
get: t,
|
|
@@ -36985,7 +36985,7 @@ const Mu = [
|
|
|
36985
36985
|
});
|
|
36986
36986
|
},
|
|
36987
36987
|
unselectNodesAndEdges: ({ nodes: n, edges: r } = {}) => {
|
|
36988
|
-
const { edges: o, getNodes: i } = t(), a = n || i(), s = r || o, c = a.map((d) => (d.selected = !1,
|
|
36988
|
+
const { edges: o, getNodes: i } = t(), a = n || i(), s = r || o, c = a.map((d) => (d.selected = !1, Wr(d.id, !1))), u = s.map((d) => Wr(d.id, !1));
|
|
36989
36989
|
is({
|
|
36990
36990
|
changedNodes: c,
|
|
36991
36991
|
changedEdges: u,
|
|
@@ -37006,7 +37006,7 @@ const Mu = [
|
|
|
37006
37006
|
(r = t().d3Zoom) == null || r.translateExtent(n), e({ translateExtent: n });
|
|
37007
37007
|
},
|
|
37008
37008
|
resetSelectedElements: () => {
|
|
37009
|
-
const { edges: n, getNodes: r } = t(), i = r().filter((s) => s.selected).map((s) =>
|
|
37009
|
+
const { edges: n, getNodes: r } = t(), i = r().filter((s) => s.selected).map((s) => Wr(s.id, !1)), a = n.filter((s) => s.selected).map((s) => Wr(s.id, !1));
|
|
37010
37010
|
is({
|
|
37011
37011
|
changedNodes: i,
|
|
37012
37012
|
changedEdges: a,
|
|
@@ -37074,9 +37074,9 @@ const A8 = {
|
|
|
37074
37074
|
overflow: "hidden",
|
|
37075
37075
|
position: "relative",
|
|
37076
37076
|
zIndex: 0
|
|
37077
|
-
}, Lw = Yt(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: o, nodeTypes: i = A8, edgeTypes: a = P8, onNodeClick: s, onEdgeClick: c, onInit: u, onMove: d, onMoveStart: f, onMoveEnd: p, onConnect: h, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: y, onNodeMouseEnter: S, onNodeMouseMove: x, onNodeMouseLeave: w, onNodeContextMenu: _, onNodeDoubleClick: k, onNodeDragStart: O, onNodeDrag: $, onNodeDragStop: V, onNodesDelete: R, onEdgesDelete: T, onSelectionChange: A, onSelectionDragStart: I, onSelectionDrag: E, onSelectionDragStop: P, onSelectionContextMenu: D, onSelectionStart: M, onSelectionEnd: z, connectionMode: j = Do.Strict, connectionLineType: W =
|
|
37077
|
+
}, Lw = Yt(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: o, nodeTypes: i = A8, edgeTypes: a = P8, onNodeClick: s, onEdgeClick: c, onInit: u, onMove: d, onMoveStart: f, onMoveEnd: p, onConnect: h, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: y, onNodeMouseEnter: S, onNodeMouseMove: x, onNodeMouseLeave: w, onNodeContextMenu: _, onNodeDoubleClick: k, onNodeDragStart: O, onNodeDrag: $, onNodeDragStop: V, onNodesDelete: R, onEdgesDelete: T, onSelectionChange: A, onSelectionDragStart: I, onSelectionDrag: E, onSelectionDragStop: P, onSelectionContextMenu: D, onSelectionStart: M, onSelectionEnd: z, connectionMode: j = Do.Strict, connectionLineType: W = Xr.Bezier, connectionLineStyle: q, connectionLineComponent: ne, connectionLineContainerStyle: ie, deleteKeyCode: Y = "Backspace", selectionKeyCode: Q = "Shift", selectionOnDrag: he = !1, selectionMode: pe = ga.Full, panActivationKeyCode: ue = "Space", multiSelectionKeyCode: ce = "Meta", zoomActivationKeyCode: Me = "Meta", snapToGrid: Ee = !1, snapGrid: X = N8, onlyRenderVisibleElements: ae = !1, selectNodesOnDrag: Oe = !0, nodesDraggable: U, nodesConnectable: ke, nodesFocusable: be, nodeOrigin: Ae = $8, edgesFocusable: Ne, elementsSelectable: ye, defaultViewport: Je = I8, minZoom: He = 0.5, maxZoom: it = 2, translateExtent: Pe = Mu, preventScrolling: Ye = !0, nodeExtent: Ke, defaultMarkerColor: qe = "#b1b1b7", zoomOnScroll: xt = !0, zoomOnPinch: dt = !0, panOnScroll: et = !1, panOnScrollSpeed: vt = 0.5, panOnScrollMode: Re = ti.Free, zoomOnDoubleClick: Be = !0, panOnDrag: lt = !0, onPaneClick: Vt, onPaneMouseEnter: yt, onPaneMouseMove: Bt, onPaneMouseLeave: St, onPaneScroll: sn, onPaneContextMenu: jt, children: Ot, onEdgeUpdate: Lt, onEdgeContextMenu: un, onEdgeDoubleClick: Ct, onEdgeMouseEnter: On, onEdgeMouseMove: Xt, onEdgeMouseLeave: se, onEdgeUpdateStart: ge, onEdgeUpdateEnd: we, edgeUpdaterRadius: Fe = 10, onNodesChange: at, onEdgesChange: _t, noDragClassName: dn = "nodrag", noWheelClassName: fn = "nowheel", noPanClassName: Rn = "nopan", fitView: Dt = !1, fitViewOptions: N, connectOnClick: te = !0, attributionPosition: ee, proOptions: me, defaultEdgeOptions: xe, elevateNodesOnSelect: $e = !0, elevateEdgesOnSelect: je = !1, disableKeyboardA11y: Ve = !1, autoPanOnConnect: Qe = !0, autoPanOnNodeDrag: Ue = !0, connectionRadius: rt = 20, onError: Pt, style: xn, id: Nn, ...Kt }, lr) => {
|
|
37078
37078
|
const mr = Ig(i, HK), kn = Ig(a, IK), Tn = Nn || "1";
|
|
37079
|
-
return l("div", { ...Kt, style: { ...xn, ...L8 }, ref: lr, className: wn(["react-flow", o]), "data-testid": "rf__wrapper", id: Nn, children: v(Iw, { children: [l(R8, { onInit: u, onMove: d, onMoveStart: f, onMoveEnd: p, onNodeClick: s, onEdgeClick: c, onNodeMouseEnter: S, onNodeMouseMove: x, onNodeMouseLeave: w, onNodeContextMenu: _, onNodeDoubleClick: k, nodeTypes: mr, edgeTypes: kn, connectionLineType: W, connectionLineStyle: q, connectionLineComponent: ne, connectionLineContainerStyle: ie, selectionKeyCode: Q, selectionOnDrag: he, selectionMode: pe, deleteKeyCode: Y, multiSelectionKeyCode: ce, panActivationKeyCode: ue, zoomActivationKeyCode: Me, onlyRenderVisibleElements: ae, selectNodesOnDrag: Oe, defaultViewport: Je, translateExtent: Pe, minZoom: He, maxZoom: it, preventScrolling: Ye, zoomOnScroll: xt, zoomOnPinch: dt, zoomOnDoubleClick: Be, panOnScroll: et, panOnScrollSpeed: vt, panOnScrollMode: Re, panOnDrag: lt, onPaneClick: Vt, onPaneMouseEnter: yt, onPaneMouseMove: Bt, onPaneMouseLeave: St, onPaneScroll: sn, onPaneContextMenu: jt, onSelectionContextMenu: D, onSelectionStart: M, onSelectionEnd: z, onEdgeUpdate: Lt, onEdgeContextMenu: un, onEdgeDoubleClick: Ct, onEdgeMouseEnter: On, onEdgeMouseMove: Xt, onEdgeMouseLeave: se, onEdgeUpdateStart: ge, onEdgeUpdateEnd: we, edgeUpdaterRadius: Fe, defaultMarkerColor: qe, noDragClassName: dn, noWheelClassName: fn, noPanClassName: Rn, elevateEdgesOnSelect: je, rfId: Tn, disableKeyboardA11y: Ve, nodeOrigin: Ae, nodeExtent: Ke }), l(MK, { nodes: e, edges: t, defaultNodes: n, defaultEdges: r, onConnect: h, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: y, nodesDraggable: U, nodesConnectable: ke, nodesFocusable: be, edgesFocusable: Ne, elementsSelectable: ye, elevateNodesOnSelect: $e, minZoom: He, maxZoom: it, nodeExtent: Ke, onNodesChange: at, onEdgesChange: _t, snapToGrid: Ee, snapGrid: X, connectionMode: j, translateExtent: Pe, connectOnClick: te, defaultEdgeOptions: xe, fitView: Dt, fitViewOptions: N, onNodesDelete: R, onEdgesDelete: T, onNodeDragStart: O, onNodeDrag: $, onNodeDragStop: V, onSelectionDrag: E, onSelectionDragStart: I, onSelectionDragStop: P, noPanClassName: Rn, nodeOrigin: Ae, rfId: Tn, autoPanOnConnect: Qe, autoPanOnNodeDrag: Ue, onError: Pt, connectionRadius: rt }), l(kK, { onSelectionChange: A }), Ot, l(eK, { proOptions: me, position:
|
|
37079
|
+
return l("div", { ...Kt, style: { ...xn, ...L8 }, ref: lr, className: wn(["react-flow", o]), "data-testid": "rf__wrapper", id: Nn, children: v(Iw, { children: [l(R8, { onInit: u, onMove: d, onMoveStart: f, onMoveEnd: p, onNodeClick: s, onEdgeClick: c, onNodeMouseEnter: S, onNodeMouseMove: x, onNodeMouseLeave: w, onNodeContextMenu: _, onNodeDoubleClick: k, nodeTypes: mr, edgeTypes: kn, connectionLineType: W, connectionLineStyle: q, connectionLineComponent: ne, connectionLineContainerStyle: ie, selectionKeyCode: Q, selectionOnDrag: he, selectionMode: pe, deleteKeyCode: Y, multiSelectionKeyCode: ce, panActivationKeyCode: ue, zoomActivationKeyCode: Me, onlyRenderVisibleElements: ae, selectNodesOnDrag: Oe, defaultViewport: Je, translateExtent: Pe, minZoom: He, maxZoom: it, preventScrolling: Ye, zoomOnScroll: xt, zoomOnPinch: dt, zoomOnDoubleClick: Be, panOnScroll: et, panOnScrollSpeed: vt, panOnScrollMode: Re, panOnDrag: lt, onPaneClick: Vt, onPaneMouseEnter: yt, onPaneMouseMove: Bt, onPaneMouseLeave: St, onPaneScroll: sn, onPaneContextMenu: jt, onSelectionContextMenu: D, onSelectionStart: M, onSelectionEnd: z, onEdgeUpdate: Lt, onEdgeContextMenu: un, onEdgeDoubleClick: Ct, onEdgeMouseEnter: On, onEdgeMouseMove: Xt, onEdgeMouseLeave: se, onEdgeUpdateStart: ge, onEdgeUpdateEnd: we, edgeUpdaterRadius: Fe, defaultMarkerColor: qe, noDragClassName: dn, noWheelClassName: fn, noPanClassName: Rn, elevateEdgesOnSelect: je, rfId: Tn, disableKeyboardA11y: Ve, nodeOrigin: Ae, nodeExtent: Ke }), l(MK, { nodes: e, edges: t, defaultNodes: n, defaultEdges: r, onConnect: h, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: y, nodesDraggable: U, nodesConnectable: ke, nodesFocusable: be, edgesFocusable: Ne, elementsSelectable: ye, elevateNodesOnSelect: $e, minZoom: He, maxZoom: it, nodeExtent: Ke, onNodesChange: at, onEdgesChange: _t, snapToGrid: Ee, snapGrid: X, connectionMode: j, translateExtent: Pe, connectOnClick: te, defaultEdgeOptions: xe, fitView: Dt, fitViewOptions: N, onNodesDelete: R, onEdgesDelete: T, onNodeDragStart: O, onNodeDrag: $, onNodeDragStop: V, onSelectionDrag: E, onSelectionDragStart: I, onSelectionDragStop: P, noPanClassName: Rn, nodeOrigin: Ae, rfId: Tn, autoPanOnConnect: Qe, autoPanOnNodeDrag: Ue, onError: Pt, connectionRadius: rt }), l(kK, { onSelectionChange: A }), Ot, l(eK, { proOptions: me, position: ee }), l(PK, { rfId: Tn, disableKeyboardA11y: Ve })] }) });
|
|
37080
37080
|
});
|
|
37081
37081
|
Lw.displayName = "ReactFlow";
|
|
37082
37082
|
const Vw = ({ id: e, x: t, y: n, width: r, height: o, style: i, color: a, strokeColor: s, strokeWidth: c, className: u, borderRadius: d, shapeRendering: f, onClick: p }) => {
|
|
@@ -37137,7 +37137,7 @@ function zw({ style: e, className: t, nodeStrokeColor: n = "transparent", nodeCo
|
|
|
37137
37137
|
p(ce, Ee);
|
|
37138
37138
|
} : void 0;
|
|
37139
37139
|
return l(lf, { position: d, style: e, className: wn(["react-flow__minimap", t]), children: v("svg", { width: O, height: $, viewBox: `${z} ${j} ${W} ${q}`, role: "img", "aria-labelledby": ie, ref: y, onClick: Q, children: [m && l("title", { id: ie, children: m }), w.map((ce) => {
|
|
37140
|
-
const { x: Me, y: Ee } =
|
|
37140
|
+
const { x: Me, y: Ee } = Eo(ce, k).positionAbsolute;
|
|
37141
37141
|
return l(V8, { x: Me, y: Ee, width: ce.width, height: ce.height, style: ce.style, className: T(ce), color: V(ce), borderRadius: i, strokeColor: R(ce), strokeWidth: a, shapeRendering: ne, onClick: he, id: ce.id }, ce.id);
|
|
37142
37142
|
}), l("path", { className: "react-flow__minimap-mask", d: `M${z - M},${j - M}h${W + M * 2}v${q + M * 2}h${-W - M * 2}z
|
|
37143
37143
|
M${x.x},${x.y}h${x.width}v${x.height}h${-x.width}z`, fill: s, fillRule: "evenodd", stroke: c, strokeWidth: u, pointerEvents: "none" })] }) });
|
|
@@ -37230,7 +37230,7 @@ function rW(e, t, n) {
|
|
|
37230
37230
|
o.push(...s);
|
|
37231
37231
|
}), o.forEach((i, a) => {
|
|
37232
37232
|
const s = t[i.id];
|
|
37233
|
-
s.data.interactions =
|
|
37233
|
+
s.data.interactions = J.get(s, "data.interactions", []);
|
|
37234
37234
|
const { __INTERACTIONS: c, __OPERATIONS: u, __TRIGGERS: d } = i.viz.conf;
|
|
37235
37235
|
Object.entries(u).forEach(([f, p]) => {
|
|
37236
37236
|
const { schemaRef: h, data: g } = p, { config: m } = g;
|
|
@@ -37332,7 +37332,7 @@ function pW(e) {
|
|
|
37332
37332
|
});
|
|
37333
37333
|
}
|
|
37334
37334
|
function hW(e) {
|
|
37335
|
-
const t =
|
|
37335
|
+
const t = J.keyBy(e, (n) => n.id);
|
|
37336
37336
|
e.forEach((n) => {
|
|
37337
37337
|
n._node_type !== "view-root" || n._view_type !== ut.Tabs || n._tab_view_ids.forEach((r) => {
|
|
37338
37338
|
t[r].parentNode = n.id;
|
|
@@ -37371,9 +37371,9 @@ function yW({ nodeMap: e, nodes: t, edges: n }) {
|
|
|
37371
37371
|
return;
|
|
37372
37372
|
const i = e[o.source], a = e[o.target];
|
|
37373
37373
|
if (i && a && i.parentNode) {
|
|
37374
|
-
const s = e[i.parentNode], c = s.position.x, u =
|
|
37374
|
+
const s = e[i.parentNode], c = s.position.x, u = J.get(a, "style.height", 0), d = Number(s.style.width);
|
|
37375
37375
|
a.position.x = c + d + cW, s._view_level === 0 && a._sub_view_ids.length === 0 && (i.sourcePosition = Ie.Left, a.targetPosition = Ie.Right, a.position.x *= -1);
|
|
37376
|
-
const p = a.position.x, h =
|
|
37376
|
+
const p = a.position.x, h = J.get(r, p, 0);
|
|
37377
37377
|
a.position.y = h, r[p] = h + u + Kw;
|
|
37378
37378
|
}
|
|
37379
37379
|
});
|
|
@@ -37394,8 +37394,8 @@ function wW({ nodeMap: e, nodes: t, edges: n }) {
|
|
|
37394
37394
|
};
|
|
37395
37395
|
}
|
|
37396
37396
|
function xW(e) {
|
|
37397
|
-
const t = gW(e), n =
|
|
37398
|
-
edges:
|
|
37397
|
+
const t = gW(e), n = J.keyBy(t, (c) => c.id), { edges: r, edgeNodes: o } = oW(e, n), i = [...t, ...o], a = J.keyBy(i, (c) => c.id), s = {
|
|
37398
|
+
edges: J.uniqBy(r, (c) => c.id),
|
|
37399
37399
|
nodes: i,
|
|
37400
37400
|
nodeMap: a
|
|
37401
37401
|
};
|
|
@@ -37540,9 +37540,9 @@ const CW = {
|
|
|
37540
37540
|
return /* @__PURE__ */ v(Lw, {
|
|
37541
37541
|
nodes: n,
|
|
37542
37542
|
edges: t,
|
|
37543
|
-
onNodesChange:
|
|
37544
|
-
onEdgesChange:
|
|
37545
|
-
onConnect:
|
|
37543
|
+
onNodesChange: J.noop,
|
|
37544
|
+
onEdgesChange: J.noop,
|
|
37545
|
+
onConnect: J.noop,
|
|
37546
37546
|
className: "interactions-viewer",
|
|
37547
37547
|
fitView: !0,
|
|
37548
37548
|
nodeTypes: CW,
|
|
@@ -37653,7 +37653,7 @@ const MW = re(() => {
|
|
|
37653
37653
|
variant: "dashed"
|
|
37654
37654
|
}), /* @__PURE__ */ l(de, {
|
|
37655
37655
|
variant: "subtle",
|
|
37656
|
-
rightIcon: /* @__PURE__ */ l(
|
|
37656
|
+
rightIcon: /* @__PURE__ */ l(co, {
|
|
37657
37657
|
size: 14
|
|
37658
37658
|
}),
|
|
37659
37659
|
size: "sm",
|
|
@@ -38591,7 +38591,7 @@ const XW = re(({
|
|
|
38591
38591
|
}
|
|
38592
38592
|
}
|
|
38593
38593
|
} = En();
|
|
38594
|
-
return /* @__PURE__ */ l(
|
|
38594
|
+
return /* @__PURE__ */ l(Rr, {
|
|
38595
38595
|
children: /* @__PURE__ */ l(Se, {
|
|
38596
38596
|
sx: {
|
|
38597
38597
|
height: "100%",
|
|
@@ -38718,29 +38718,33 @@ function eG({
|
|
|
38718
38718
|
sx: {
|
|
38719
38719
|
height: "5em"
|
|
38720
38720
|
}
|
|
38721
|
-
}) : /* @__PURE__ */
|
|
38722
|
-
|
|
38723
|
-
|
|
38724
|
-
children:
|
|
38725
|
-
children:
|
|
38726
|
-
|
|
38727
|
-
|
|
38728
|
-
|
|
38729
|
-
|
|
38730
|
-
|
|
38731
|
-
|
|
38732
|
-
|
|
38733
|
-
|
|
38734
|
-
|
|
38735
|
-
|
|
38736
|
-
|
|
38737
|
-
|
|
38738
|
-
|
|
38739
|
-
children:
|
|
38740
|
-
children:
|
|
38741
|
-
|
|
38742
|
-
|
|
38743
|
-
|
|
38721
|
+
}) : /* @__PURE__ */ l(Rr, {
|
|
38722
|
+
children: /* @__PURE__ */ v(Us, {
|
|
38723
|
+
sx: JW,
|
|
38724
|
+
children: [/* @__PURE__ */ l("thead", {
|
|
38725
|
+
children: n.getHeaderGroups().map((r) => /* @__PURE__ */ l("tr", {
|
|
38726
|
+
children: r.headers.map((o) => /* @__PURE__ */ v("th", {
|
|
38727
|
+
style: {
|
|
38728
|
+
width: o.getSize()
|
|
38729
|
+
},
|
|
38730
|
+
children: [o.isPlaceholder ? null : Is(o.column.columnDef.header, o.getContext()), /* @__PURE__ */ l(We, {
|
|
38731
|
+
onMouseDown: o.getResizeHandler(),
|
|
38732
|
+
onTouchStart: o.getResizeHandler(),
|
|
38733
|
+
className: `resizer ${o.column.getIsResizing() ? "isResizing" : ""}`,
|
|
38734
|
+
children: /* @__PURE__ */ l(Gx, {})
|
|
38735
|
+
})]
|
|
38736
|
+
}, o.id))
|
|
38737
|
+
}, r.id))
|
|
38738
|
+
}), /* @__PURE__ */ l("tbody", {
|
|
38739
|
+
children: n.getRowModel().rows.map((r) => /* @__PURE__ */ l("tr", {
|
|
38740
|
+
children: r.getVisibleCells().map((o) => /* @__PURE__ */ l("td", {
|
|
38741
|
+
children: /* @__PURE__ */ l(Rr, {
|
|
38742
|
+
children: Is(o.column.columnDef.cell, o.getContext())
|
|
38743
|
+
})
|
|
38744
|
+
}, o.id))
|
|
38745
|
+
}, r.id))
|
|
38746
|
+
})]
|
|
38747
|
+
})
|
|
38744
38748
|
});
|
|
38745
38749
|
}
|
|
38746
38750
|
const qw = re(function({
|
|
@@ -38913,8 +38917,8 @@ const oG = Z.forwardRef(function({
|
|
|
38913
38917
|
withStyle: o = !0
|
|
38914
38918
|
}, i) {
|
|
38915
38919
|
const a = (s, c) => {
|
|
38916
|
-
const u =
|
|
38917
|
-
|
|
38920
|
+
const u = J.cloneDeep(t);
|
|
38921
|
+
J.set(u, s, c), n(u);
|
|
38918
38922
|
};
|
|
38919
38923
|
return /* @__PURE__ */ v(Se, {
|
|
38920
38924
|
px: "sm",
|
|
@@ -38943,7 +38947,7 @@ const oG = Z.forwardRef(function({
|
|
|
38943
38947
|
my: "xs",
|
|
38944
38948
|
label: "Format",
|
|
38945
38949
|
labelPosition: "center"
|
|
38946
|
-
}), /* @__PURE__ */ l(
|
|
38950
|
+
}), /* @__PURE__ */ l(fo, {
|
|
38947
38951
|
value: t.formatter,
|
|
38948
38952
|
onChange: (s) => a("formatter", s)
|
|
38949
38953
|
}), o && /* @__PURE__ */ l(Wy, {
|
|
@@ -39099,7 +39103,7 @@ function pG() {
|
|
|
39099
39103
|
group: (o = n.displayGroup) != null ? o : ""
|
|
39100
39104
|
};
|
|
39101
39105
|
});
|
|
39102
|
-
return
|
|
39106
|
+
return J.orderBy(t, [(n) => n.group, (n) => n.label], ["asc", "asc"]);
|
|
39103
39107
|
}, [e]);
|
|
39104
39108
|
}
|
|
39105
39109
|
const hG = re(({
|
|
@@ -39199,7 +39203,7 @@ const vG = re(() => {
|
|
|
39199
39203
|
}, i = Z.useMemo(() => {
|
|
39200
39204
|
var u;
|
|
39201
39205
|
return (u = Lg.find((d) => d.value === t.type)) == null ? void 0 : u.Panel;
|
|
39202
|
-
}, [t.type, Lg]), a = mG(), s = i ?
|
|
39206
|
+
}, [t.type, Lg]), a = mG(), s = i ? lo(i, {
|
|
39203
39207
|
data: e,
|
|
39204
39208
|
conf: t.conf,
|
|
39205
39209
|
setConf: t.setConf
|
|
@@ -39374,14 +39378,14 @@ const wG = re(({
|
|
|
39374
39378
|
children: /* @__PURE__ */ l(fG, {})
|
|
39375
39379
|
}), /* @__PURE__ */ l(H.Panel, {
|
|
39376
39380
|
value: "Visualization",
|
|
39377
|
-
children: /* @__PURE__ */ l(
|
|
39381
|
+
children: /* @__PURE__ */ l(Rr, {
|
|
39378
39382
|
children: /* @__PURE__ */ l(Vg, {
|
|
39379
39383
|
children: /* @__PURE__ */ l(vG, {})
|
|
39380
39384
|
})
|
|
39381
39385
|
})
|
|
39382
39386
|
}), /* @__PURE__ */ l(H.Panel, {
|
|
39383
39387
|
value: "Interactions",
|
|
39384
|
-
children: /* @__PURE__ */ l(
|
|
39388
|
+
children: /* @__PURE__ */ l(Rr, {
|
|
39385
39389
|
children: /* @__PURE__ */ l(E4, {})
|
|
39386
39390
|
})
|
|
39387
39391
|
})]
|
|
@@ -39854,9 +39858,8 @@ WHERE
|
|
|
39854
39858
|
theme: "vs-light",
|
|
39855
39859
|
options: {
|
|
39856
39860
|
lineNumbers: "on",
|
|
39857
|
-
folding: !
|
|
39861
|
+
folding: !0,
|
|
39858
39862
|
lineDecorationsWidth: 20,
|
|
39859
|
-
lineNumbersMinChars: 0,
|
|
39860
39863
|
wordWrap: "on",
|
|
39861
39864
|
minimap: {
|
|
39862
39865
|
enabled: !1
|
|
@@ -40000,7 +40003,7 @@ WHERE
|
|
|
40000
40003
|
}), /* @__PURE__ */ l("tbody", {
|
|
40001
40004
|
children: t.map((o) => /* @__PURE__ */ v("tr", {
|
|
40002
40005
|
children: [/* @__PURE__ */ l("td", {
|
|
40003
|
-
children:
|
|
40006
|
+
children: J.capitalize(o.type)
|
|
40004
40007
|
}), /* @__PURE__ */ l("td", {
|
|
40005
40008
|
children: o.label
|
|
40006
40009
|
}), /* @__PURE__ */ l("td", {
|
|
@@ -40429,7 +40432,7 @@ WHERE
|
|
|
40429
40432
|
children: [/* @__PURE__ */ l(de, {
|
|
40430
40433
|
onClick: f,
|
|
40431
40434
|
color: "red",
|
|
40432
|
-
leftIcon: /* @__PURE__ */ l(
|
|
40435
|
+
leftIcon: /* @__PURE__ */ l(Ir, {
|
|
40433
40436
|
size: 20
|
|
40434
40437
|
}),
|
|
40435
40438
|
children: "Rest"
|
|
@@ -40464,7 +40467,7 @@ WHERE
|
|
|
40464
40467
|
children: [/* @__PURE__ */ l(ve, {
|
|
40465
40468
|
label: "Modal Title",
|
|
40466
40469
|
value: n,
|
|
40467
|
-
onChange:
|
|
40470
|
+
onChange: J.noop,
|
|
40468
40471
|
disabled: !0,
|
|
40469
40472
|
sx: {
|
|
40470
40473
|
flexGrow: 1
|
|
@@ -40631,7 +40634,7 @@ const o9 = re(() => /* @__PURE__ */ l(G, {
|
|
|
40631
40634
|
const e = Ge();
|
|
40632
40635
|
return /* @__PURE__ */ l(de, {
|
|
40633
40636
|
variant: "subtle",
|
|
40634
|
-
leftIcon: /* @__PURE__ */ l(
|
|
40637
|
+
leftIcon: /* @__PURE__ */ l(co, {
|
|
40635
40638
|
size: 14
|
|
40636
40639
|
}),
|
|
40637
40640
|
size: "sm",
|
|
@@ -40671,7 +40674,7 @@ const o9 = re(() => /* @__PURE__ */ l(G, {
|
|
|
40671
40674
|
const n = t.views.findByID(e);
|
|
40672
40675
|
return n ? /* @__PURE__ */ l(de, {
|
|
40673
40676
|
variant: "subtle",
|
|
40674
|
-
leftIcon: /* @__PURE__ */ l(
|
|
40677
|
+
leftIcon: /* @__PURE__ */ l(co, {
|
|
40675
40678
|
size: 14
|
|
40676
40679
|
}),
|
|
40677
40680
|
size: "sm",
|
|
@@ -40694,7 +40697,7 @@ const o9 = re(() => /* @__PURE__ */ l(G, {
|
|
|
40694
40697
|
const e = Ge();
|
|
40695
40698
|
return /* @__PURE__ */ l(de, {
|
|
40696
40699
|
variant: "subtle",
|
|
40697
|
-
leftIcon: /* @__PURE__ */ l(
|
|
40700
|
+
leftIcon: /* @__PURE__ */ l(co, {
|
|
40698
40701
|
size: 14
|
|
40699
40702
|
}),
|
|
40700
40703
|
size: "sm",
|
|
@@ -40726,7 +40729,7 @@ const o9 = re(() => /* @__PURE__ */ l(G, {
|
|
|
40726
40729
|
const e = Ge();
|
|
40727
40730
|
return /* @__PURE__ */ l(de, {
|
|
40728
40731
|
variant: "subtle",
|
|
40729
|
-
leftIcon: /* @__PURE__ */ l(
|
|
40732
|
+
leftIcon: /* @__PURE__ */ l(co, {
|
|
40730
40733
|
size: 14
|
|
40731
40734
|
}),
|
|
40732
40735
|
size: "sm",
|
|
@@ -40755,7 +40758,7 @@ const o9 = re(() => /* @__PURE__ */ l(G, {
|
|
|
40755
40758
|
const e = Ge();
|
|
40756
40759
|
return /* @__PURE__ */ l(de, {
|
|
40757
40760
|
variant: "subtle",
|
|
40758
|
-
leftIcon: /* @__PURE__ */ l(
|
|
40761
|
+
leftIcon: /* @__PURE__ */ l(co, {
|
|
40759
40762
|
size: 14
|
|
40760
40763
|
}),
|
|
40761
40764
|
size: "sm",
|
|
@@ -41021,7 +41024,7 @@ const uq = re(({
|
|
|
41021
41024
|
children: /* @__PURE__ */ l(gi.Provider, {
|
|
41022
41025
|
value: {
|
|
41023
41026
|
layoutFrozen: !0,
|
|
41024
|
-
freezeLayout:
|
|
41027
|
+
freezeLayout: J.noop,
|
|
41025
41028
|
inEditMode: !1
|
|
41026
41029
|
},
|
|
41027
41030
|
children: /* @__PURE__ */ l(Se, {
|