@hybr1d-tech/charizard 0.4.75 → 0.4.77
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/hybr1d-ui.js +468 -474
- package/dist/hybr1d-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './style.css';
|
|
2
2
|
import * as _ from "react";
|
|
3
|
-
import Us, { useLayoutEffect as po, useContext as go, useRef as Pe, useState as xe, createContext as
|
|
3
|
+
import Us, { useLayoutEffect as po, useContext as go, useRef as Pe, useState as xe, createContext as bo, useMemo as Ue, useCallback as he, Component as mo, Fragment as wn, useEffect as Xt, forwardRef as Qs, createElement as jn } from "react";
|
|
4
4
|
import * as vt from "@zag-js/menu";
|
|
5
5
|
import G from "clsx";
|
|
6
6
|
import { useMachine as ae, normalizeProps as le, Portal as Ct } from "@zag-js/react";
|
|
@@ -23,7 +23,7 @@ import * as gs from "@zag-js/tabs";
|
|
|
23
23
|
import { defaultDropAnimationSideEffects as _o, DragOverlay as yo, useSensors as Ao, useSensor as gn, PointerSensor as No, MouseSensor as So, KeyboardSensor as Eo, DndContext as wo } from "@dnd-kit/core";
|
|
24
24
|
import { useSortable as jo, sortableKeyboardCoordinates as Bo, arrayMove as Go, SortableContext as Ro } from "@dnd-kit/sortable";
|
|
25
25
|
import { CSS as Fo } from "@dnd-kit/utilities";
|
|
26
|
-
import * as
|
|
26
|
+
import * as bs from "@zag-js/pagination";
|
|
27
27
|
import * as ft from "@zag-js/select";
|
|
28
28
|
var Bn = { exports: {} }, Nt = {};
|
|
29
29
|
/**
|
|
@@ -35,21 +35,21 @@ var Bn = { exports: {} }, Nt = {};
|
|
|
35
35
|
* This source code is licensed under the MIT license found in the
|
|
36
36
|
* LICENSE file in the root directory of this source tree.
|
|
37
37
|
*/
|
|
38
|
-
var
|
|
38
|
+
var ms;
|
|
39
39
|
function Po() {
|
|
40
|
-
if (
|
|
40
|
+
if (ms)
|
|
41
41
|
return Nt;
|
|
42
|
-
|
|
42
|
+
ms = 1;
|
|
43
43
|
var t = Us, e = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, n = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
44
44
|
function l(c, a, u) {
|
|
45
|
-
var d, g = {}, f = null,
|
|
46
|
-
u !== void 0 && (f = "" + u), a.key !== void 0 && (f = "" + a.key), a.ref !== void 0 && (
|
|
45
|
+
var d, g = {}, f = null, m = null;
|
|
46
|
+
u !== void 0 && (f = "" + u), a.key !== void 0 && (f = "" + a.key), a.ref !== void 0 && (m = a.ref);
|
|
47
47
|
for (d in a)
|
|
48
48
|
r.call(a, d) && !i.hasOwnProperty(d) && (g[d] = a[d]);
|
|
49
49
|
if (c && c.defaultProps)
|
|
50
50
|
for (d in a = c.defaultProps, a)
|
|
51
51
|
g[d] === void 0 && (g[d] = a[d]);
|
|
52
|
-
return { $$typeof: e, type: c, key: f, ref:
|
|
52
|
+
return { $$typeof: e, type: c, key: f, ref: m, props: g, _owner: n.current };
|
|
53
53
|
}
|
|
54
54
|
return Nt.Fragment = s, Nt.jsx = l, Nt.jsxs = l, Nt;
|
|
55
55
|
}
|
|
@@ -66,14 +66,14 @@ var St = {};
|
|
|
66
66
|
var fs;
|
|
67
67
|
function To() {
|
|
68
68
|
return fs || (fs = 1, process.env.NODE_ENV !== "production" && function() {
|
|
69
|
-
var t = Us, e = Symbol.for("react.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), f = Symbol.for("react.lazy"),
|
|
69
|
+
var t = Us, e = Symbol.for("react.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), x = Symbol.iterator, I = "@@iterator";
|
|
70
70
|
function h(p) {
|
|
71
71
|
if (p === null || typeof p != "object")
|
|
72
72
|
return null;
|
|
73
73
|
var y = x && p[x] || p[I];
|
|
74
74
|
return typeof y == "function" ? y : null;
|
|
75
75
|
}
|
|
76
|
-
var
|
|
76
|
+
var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
77
77
|
function v(p) {
|
|
78
78
|
{
|
|
79
79
|
for (var y = arguments.length, B = new Array(y > 1 ? y - 1 : 0), D = 1; D < y; D++)
|
|
@@ -83,7 +83,7 @@ function To() {
|
|
|
83
83
|
}
|
|
84
84
|
function C(p, y, B) {
|
|
85
85
|
{
|
|
86
|
-
var D =
|
|
86
|
+
var D = b.ReactDebugCurrentFrame, Y = D.getStackAddendum();
|
|
87
87
|
Y !== "" && (y += "%s", B = B.concat([Y]));
|
|
88
88
|
var $ = B.map(function(z) {
|
|
89
89
|
return String(z);
|
|
@@ -94,7 +94,7 @@ function To() {
|
|
|
94
94
|
var A = !1, E = !1, F = !1, j = !1, N = !1, T;
|
|
95
95
|
T = Symbol.for("react.module.reference");
|
|
96
96
|
function H(p) {
|
|
97
|
-
return !!(typeof p == "string" || typeof p == "function" || p === r || p === i || N || p === n || p === u || p === d || j || p ===
|
|
97
|
+
return !!(typeof p == "string" || typeof p == "function" || p === r || p === i || N || p === n || p === u || p === d || j || p === m || A || E || F || typeof p == "object" && p !== null && (p.$$typeof === f || p.$$typeof === g || p.$$typeof === l || p.$$typeof === c || p.$$typeof === a || // This needs to include all possible module reference object
|
|
98
98
|
// types supported by any Flight configuration anywhere since
|
|
99
99
|
// we don't know which Flight build this will end up being used
|
|
100
100
|
// with.
|
|
@@ -217,7 +217,7 @@ function To() {
|
|
|
217
217
|
S < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
|
-
var ge =
|
|
220
|
+
var ge = b.ReactCurrentDispatcher, we;
|
|
221
221
|
function ve(p, y, B) {
|
|
222
222
|
{
|
|
223
223
|
if (we === void 0)
|
|
@@ -343,7 +343,7 @@ function To() {
|
|
|
343
343
|
}
|
|
344
344
|
return "";
|
|
345
345
|
}
|
|
346
|
-
var at = Object.prototype.hasOwnProperty, Vt = {}, Je =
|
|
346
|
+
var at = Object.prototype.hasOwnProperty, Vt = {}, Je = b.ReactDebugCurrentFrame;
|
|
347
347
|
function Fe(p) {
|
|
348
348
|
if (p) {
|
|
349
349
|
var y = p._owner, B = ke(p.type, p._source, y ? y.type : null);
|
|
@@ -394,7 +394,7 @@ function To() {
|
|
|
394
394
|
if (Jr(p))
|
|
395
395
|
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Yr(p)), ts(p);
|
|
396
396
|
}
|
|
397
|
-
var At =
|
|
397
|
+
var At = b.ReactCurrentOwner, $r = {
|
|
398
398
|
key: !0,
|
|
399
399
|
ref: !0,
|
|
400
400
|
__self: !0,
|
|
@@ -492,7 +492,7 @@ function To() {
|
|
|
492
492
|
return to(p, Z, _e, Y, D, At.current, z);
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
var un =
|
|
495
|
+
var un = b.ReactCurrentOwner, os = b.ReactDebugCurrentFrame;
|
|
496
496
|
function lt(p) {
|
|
497
497
|
if (p) {
|
|
498
498
|
var y = p._owner, B = ke(p.type, p._source, y ? y.type : null);
|
|
@@ -652,7 +652,7 @@ Check the top-level render call using <` + B + ">.");
|
|
|
652
652
|
}
|
|
653
653
|
process.env.NODE_ENV === "production" ? Bn.exports = Po() : Bn.exports = To();
|
|
654
654
|
var o = Bn.exports;
|
|
655
|
-
const et = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.53%209.47a.75.75%200%200%201%200%201.06l-5%205a.75.75%200%200%201-1.06%200l-5-5a.75.75%200%201%201%201.06-1.06L12%2013.94l4.47-4.47a.75.75%200%200%201%201.06%200Z'%20fill='currentColor'/%3e%3c/svg%3e", nr = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.5%2014.25a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Zm7.5%200a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Zm7.5%200a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Z'%20fill='%23C5C2D7'/%3e%3c/svg%3e", Vo = "_btn_1xkr8_2", Lo = "_disabled_1xkr8_23", ko = "_btnSm_1xkr8_31", Do = "_btnAdapt_1xkr8_38", Oo = "_btnXs_1xkr8_42", Wo = "_btnPrimary_1xkr8_56", Ho = "_btnSecondary_1xkr8_65", Zo = "_btnGhost_1xkr8_74", Xo = "_btnDanger_1xkr8_84", Mo = "_btnLink_1xkr8_89", zo = "_btnMinimal_1xkr8_94", Yo = "_btnGrp_1xkr8_106", Jo = "_btnMenu_1xkr8_112", $o = "_btnMenuSingle_1xkr8_118", Uo = "_btnAddon_1xkr8_122", Qo = "_btnAddonPrimary_1xkr8_127", Ko = "_btnAddonSecondary_1xkr8_132", qo = "_btnAddonGhost_1xkr8_136", ei = "_btnImgPrimary_1xkr8_140", ti = "_btnImgSecondary_1xkr8_144", ni = "_btnImgGhost_1xkr8_148", si = "_btnImgSm_1xkr8_152", ri = "_menus_1xkr8_157", oi = "_menu_1xkr8_157", ii = "_menuDisabled_1xkr8_186", ai = "_menuIcon_1xkr8_195", li = "_customTrigger_1xkr8_206", ci = "_customTriggerActive_1xkr8_218", ui = "_actionsBoxRegular_1xkr8_224", di = "_actionsBoxSmall_1xkr8_235", pi = "_actionsDropdownSpan_1xkr8_240", gi = "_actionsDropdown_1xkr8_240",
|
|
655
|
+
const et = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.53%209.47a.75.75%200%200%201%200%201.06l-5%205a.75.75%200%200%201-1.06%200l-5-5a.75.75%200%201%201%201.06-1.06L12%2013.94l4.47-4.47a.75.75%200%200%201%201.06%200Z'%20fill='currentColor'/%3e%3c/svg%3e", nr = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.5%2014.25a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Zm7.5%200a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Zm7.5%200a2.25%202.25%200%201%201%200-4.5%202.25%202.25%200%200%201%200%204.5Z'%20fill='%23C5C2D7'/%3e%3c/svg%3e", Vo = "_btn_1xkr8_2", Lo = "_disabled_1xkr8_23", ko = "_btnSm_1xkr8_31", Do = "_btnAdapt_1xkr8_38", Oo = "_btnXs_1xkr8_42", Wo = "_btnPrimary_1xkr8_56", Ho = "_btnSecondary_1xkr8_65", Zo = "_btnGhost_1xkr8_74", Xo = "_btnDanger_1xkr8_84", Mo = "_btnLink_1xkr8_89", zo = "_btnMinimal_1xkr8_94", Yo = "_btnGrp_1xkr8_106", Jo = "_btnMenu_1xkr8_112", $o = "_btnMenuSingle_1xkr8_118", Uo = "_btnAddon_1xkr8_122", Qo = "_btnAddonPrimary_1xkr8_127", Ko = "_btnAddonSecondary_1xkr8_132", qo = "_btnAddonGhost_1xkr8_136", ei = "_btnImgPrimary_1xkr8_140", ti = "_btnImgSecondary_1xkr8_144", ni = "_btnImgGhost_1xkr8_148", si = "_btnImgSm_1xkr8_152", ri = "_menus_1xkr8_157", oi = "_menu_1xkr8_157", ii = "_menuDisabled_1xkr8_186", ai = "_menuIcon_1xkr8_195", li = "_customTrigger_1xkr8_206", ci = "_customTriggerActive_1xkr8_218", ui = "_actionsBoxRegular_1xkr8_224", di = "_actionsBoxSmall_1xkr8_235", pi = "_actionsDropdownSpan_1xkr8_240", gi = "_actionsDropdown_1xkr8_240", bi = "_actionsDropdownActive_1xkr8_261", mi = "_chevronDown_1xkr8_265", V = {
|
|
656
656
|
btn: Vo,
|
|
657
657
|
disabled: Lo,
|
|
658
658
|
btnSm: ko,
|
|
@@ -685,8 +685,8 @@ const et = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%20
|
|
|
685
685
|
actionsBoxSmall: di,
|
|
686
686
|
actionsDropdownSpan: pi,
|
|
687
687
|
actionsDropdown: gi,
|
|
688
|
-
actionsDropdownActive:
|
|
689
|
-
chevronDown:
|
|
688
|
+
actionsDropdownActive: bi,
|
|
689
|
+
chevronDown: mi
|
|
690
690
|
};
|
|
691
691
|
function X({
|
|
692
692
|
path: t,
|
|
@@ -758,12 +758,12 @@ function sr({
|
|
|
758
758
|
positionerProps: d,
|
|
759
759
|
isTable: g = !1
|
|
760
760
|
}) {
|
|
761
|
-
const [f,
|
|
761
|
+
const [f, m] = ae(
|
|
762
762
|
vt.machine({
|
|
763
763
|
id: _.useId(),
|
|
764
764
|
positioning: { placement: (d == null ? void 0 : d.placement) || "bottom-end" }
|
|
765
765
|
})
|
|
766
|
-
), x = vt.connect(f,
|
|
766
|
+
), x = vt.connect(f, m, le);
|
|
767
767
|
_.useEffect(() => {
|
|
768
768
|
!i || !(u != null && u.setIsActive) || u.setIsActive(x.isOpen);
|
|
769
769
|
}, [x.isOpen]);
|
|
@@ -781,7 +781,7 @@ function sr({
|
|
|
781
781
|
return v.addEventListener("scroll", h, { passive: !0 }), () => v.removeEventListener("scroll", h);
|
|
782
782
|
}
|
|
783
783
|
}, []);
|
|
784
|
-
const
|
|
784
|
+
const b = /* @__PURE__ */ o.jsx(o.Fragment, { children: r.length > 0 && /* @__PURE__ */ o.jsx("div", { ...x.positionerProps, children: /* @__PURE__ */ o.jsx("div", { ...x.contentProps, className: V.menus, children: r.filter((v) => v.filterFn ? v.filterFn(c) : !0).map((v) => /* @__PURE__ */ o.jsxs(
|
|
785
785
|
"div",
|
|
786
786
|
{
|
|
787
787
|
className: G(V.menu, { [V.menuDisabled]: v.disabled }),
|
|
@@ -876,7 +876,7 @@ function sr({
|
|
|
876
876
|
}
|
|
877
877
|
)
|
|
878
878
|
] }),
|
|
879
|
-
g ? /* @__PURE__ */ o.jsx(Ct, { children:
|
|
879
|
+
g ? /* @__PURE__ */ o.jsx(Ct, { children: b }) : b
|
|
880
880
|
] });
|
|
881
881
|
}
|
|
882
882
|
function fi({
|
|
@@ -1078,13 +1078,13 @@ function ra({
|
|
|
1078
1078
|
resetFilters: i,
|
|
1079
1079
|
filterDispatch: l
|
|
1080
1080
|
}) {
|
|
1081
|
-
var h,
|
|
1081
|
+
var h, b;
|
|
1082
1082
|
const [c, a] = _.useState(""), [u, d] = ae(
|
|
1083
1083
|
vt.machine({
|
|
1084
1084
|
id: t.id,
|
|
1085
1085
|
closeOnSelect: !1
|
|
1086
1086
|
})
|
|
1087
|
-
), g = vt.connect(u, d, le), f = t.options.filter((v) => v.name ? v.name.toLowerCase().includes(c.toLowerCase()) : !1),
|
|
1087
|
+
), g = vt.connect(u, d, le), f = t.options.filter((v) => v.name ? v.name.toLowerCase().includes(c.toLowerCase()) : !1), m = s == null ? void 0 : s.values.length, x = () => {
|
|
1088
1088
|
i(s == null ? void 0 : s.key, l), g.close();
|
|
1089
1089
|
}, I = (v) => {
|
|
1090
1090
|
let C = !1;
|
|
@@ -1109,7 +1109,7 @@ function ra({
|
|
|
1109
1109
|
{
|
|
1110
1110
|
filter: t,
|
|
1111
1111
|
tableFilter: s,
|
|
1112
|
-
selectedFilters:
|
|
1112
|
+
selectedFilters: m
|
|
1113
1113
|
}
|
|
1114
1114
|
),
|
|
1115
1115
|
/* @__PURE__ */ o.jsx(X, { path: et, svgClassName: U.filterIcon2 })
|
|
@@ -1124,7 +1124,7 @@ function ra({
|
|
|
1124
1124
|
id: "filter-search",
|
|
1125
1125
|
search: c,
|
|
1126
1126
|
setSearch: a,
|
|
1127
|
-
placeholder: ((
|
|
1127
|
+
placeholder: ((b = t.config) == null ? void 0 : b.placeholder) || "Search"
|
|
1128
1128
|
}
|
|
1129
1129
|
) }),
|
|
1130
1130
|
/* @__PURE__ */ o.jsx("div", { className: U.options, children: f.length === 0 ? /* @__PURE__ */ o.jsx("div", { className: U.optionsEmpty, children: "No results found" }) : f.map((v, C) => /* @__PURE__ */ o.jsx(
|
|
@@ -1152,7 +1152,7 @@ function ra({
|
|
|
1152
1152
|
)) }),
|
|
1153
1153
|
/* @__PURE__ */ o.jsx("div", { className: U.footerBox, children: /* @__PURE__ */ o.jsxs("div", { className: U.footer, children: [
|
|
1154
1154
|
/* @__PURE__ */ o.jsxs("div", { className: U.selectedFilters, children: [
|
|
1155
|
-
|
|
1155
|
+
m,
|
|
1156
1156
|
" Selected"
|
|
1157
1157
|
] }),
|
|
1158
1158
|
/* @__PURE__ */ o.jsxs(
|
|
@@ -1170,7 +1170,7 @@ function ra({
|
|
|
1170
1170
|
] }) })
|
|
1171
1171
|
] });
|
|
1172
1172
|
}
|
|
1173
|
-
var
|
|
1173
|
+
var bn = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
1174
1174
|
const Gn = /* @__PURE__ */ new Map(), Lt = (t) => {
|
|
1175
1175
|
const e = Gn.get(t);
|
|
1176
1176
|
return e ? Object.fromEntries(
|
|
@@ -1194,20 +1194,20 @@ const Gn = /* @__PURE__ */ new Map(), Lt = (t) => {
|
|
|
1194
1194
|
const { enabled: i, anonymousActionType: l, store: c, ...a } = e;
|
|
1195
1195
|
let u;
|
|
1196
1196
|
try {
|
|
1197
|
-
u = (i ?? (
|
|
1197
|
+
u = (i ?? (bn ? "production" : void 0) !== "production") && window.__REDUX_DEVTOOLS_EXTENSION__;
|
|
1198
1198
|
} catch {
|
|
1199
1199
|
}
|
|
1200
1200
|
if (!u)
|
|
1201
|
-
return (
|
|
1201
|
+
return (bn ? "production" : void 0) !== "production" && i && console.warn(
|
|
1202
1202
|
"[zustand devtools middleware] Please install/enable Redux devtools extension"
|
|
1203
1203
|
), t(s, r, n);
|
|
1204
1204
|
const { connection: d, ...g } = oa(c, u, a);
|
|
1205
1205
|
let f = !0;
|
|
1206
|
-
n.setState = (I, h,
|
|
1206
|
+
n.setState = (I, h, b) => {
|
|
1207
1207
|
const v = s(I, h);
|
|
1208
1208
|
if (!f)
|
|
1209
1209
|
return v;
|
|
1210
|
-
const C =
|
|
1210
|
+
const C = b === void 0 ? { type: l || "anonymous" } : typeof b == "string" ? { type: b } : b;
|
|
1211
1211
|
return c === void 0 ? (d == null || d.send(C, r()), v) : (d == null || d.send(
|
|
1212
1212
|
{
|
|
1213
1213
|
...C,
|
|
@@ -1219,7 +1219,7 @@ const Gn = /* @__PURE__ */ new Map(), Lt = (t) => {
|
|
|
1219
1219
|
}
|
|
1220
1220
|
), v);
|
|
1221
1221
|
};
|
|
1222
|
-
const
|
|
1222
|
+
const m = (...I) => {
|
|
1223
1223
|
const h = f;
|
|
1224
1224
|
f = !1, s(...I), f = h;
|
|
1225
1225
|
}, x = t(n.setState, r, n);
|
|
@@ -1233,10 +1233,10 @@ const Gn = /* @__PURE__ */ new Map(), Lt = (t) => {
|
|
|
1233
1233
|
)), n.dispatchFromDevtools && typeof n.dispatch == "function") {
|
|
1234
1234
|
let I = !1;
|
|
1235
1235
|
const h = n.dispatch;
|
|
1236
|
-
n.dispatch = (...
|
|
1237
|
-
(
|
|
1236
|
+
n.dispatch = (...b) => {
|
|
1237
|
+
(bn ? "production" : void 0) !== "production" && b[0].type === "__setState" && !I && (console.warn(
|
|
1238
1238
|
'[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'
|
|
1239
|
-
), I = !0), h(...
|
|
1239
|
+
), I = !0), h(...b);
|
|
1240
1240
|
};
|
|
1241
1241
|
}
|
|
1242
1242
|
return d.subscribe((I) => {
|
|
@@ -1249,34 +1249,34 @@ const Gn = /* @__PURE__ */ new Map(), Lt = (t) => {
|
|
|
1249
1249
|
);
|
|
1250
1250
|
return;
|
|
1251
1251
|
}
|
|
1252
|
-
return
|
|
1252
|
+
return mn(
|
|
1253
1253
|
I.payload,
|
|
1254
|
-
(
|
|
1255
|
-
if (
|
|
1254
|
+
(b) => {
|
|
1255
|
+
if (b.type === "__setState") {
|
|
1256
1256
|
if (c === void 0) {
|
|
1257
|
-
b
|
|
1257
|
+
m(b.state);
|
|
1258
1258
|
return;
|
|
1259
1259
|
}
|
|
1260
|
-
Object.keys(
|
|
1260
|
+
Object.keys(b.state).length !== 1 && console.error(
|
|
1261
1261
|
`
|
|
1262
1262
|
[zustand devtools middleware] Unsupported __setState action format.
|
|
1263
1263
|
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
|
|
1264
1264
|
and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
|
|
1265
1265
|
`
|
|
1266
1266
|
);
|
|
1267
|
-
const v =
|
|
1267
|
+
const v = b.state[c];
|
|
1268
1268
|
if (v == null)
|
|
1269
1269
|
return;
|
|
1270
|
-
JSON.stringify(n.getState()) !== JSON.stringify(v) &&
|
|
1270
|
+
JSON.stringify(n.getState()) !== JSON.stringify(v) && m(v);
|
|
1271
1271
|
return;
|
|
1272
1272
|
}
|
|
1273
|
-
n.dispatchFromDevtools && typeof n.dispatch == "function" && n.dispatch(
|
|
1273
|
+
n.dispatchFromDevtools && typeof n.dispatch == "function" && n.dispatch(b);
|
|
1274
1274
|
}
|
|
1275
1275
|
);
|
|
1276
1276
|
case "DISPATCH":
|
|
1277
1277
|
switch (I.payload.type) {
|
|
1278
1278
|
case "RESET":
|
|
1279
|
-
return
|
|
1279
|
+
return m(x), c === void 0 ? d == null ? void 0 : d.init(n.getState()) : d == null ? void 0 : d.init(Lt(a.name));
|
|
1280
1280
|
case "COMMIT":
|
|
1281
1281
|
if (c === void 0) {
|
|
1282
1282
|
d == null || d.init(n.getState());
|
|
@@ -1284,30 +1284,30 @@ const Gn = /* @__PURE__ */ new Map(), Lt = (t) => {
|
|
|
1284
1284
|
}
|
|
1285
1285
|
return d == null ? void 0 : d.init(Lt(a.name));
|
|
1286
1286
|
case "ROLLBACK":
|
|
1287
|
-
return
|
|
1287
|
+
return mn(I.state, (b) => {
|
|
1288
1288
|
if (c === void 0) {
|
|
1289
|
-
b
|
|
1289
|
+
m(b), d == null || d.init(n.getState());
|
|
1290
1290
|
return;
|
|
1291
1291
|
}
|
|
1292
|
-
b
|
|
1292
|
+
m(b[c]), d == null || d.init(Lt(a.name));
|
|
1293
1293
|
});
|
|
1294
1294
|
case "JUMP_TO_STATE":
|
|
1295
1295
|
case "JUMP_TO_ACTION":
|
|
1296
|
-
return
|
|
1296
|
+
return mn(I.state, (b) => {
|
|
1297
1297
|
if (c === void 0) {
|
|
1298
|
-
b
|
|
1298
|
+
m(b);
|
|
1299
1299
|
return;
|
|
1300
1300
|
}
|
|
1301
|
-
JSON.stringify(n.getState()) !== JSON.stringify(
|
|
1301
|
+
JSON.stringify(n.getState()) !== JSON.stringify(b[c]) && m(b[c]);
|
|
1302
1302
|
});
|
|
1303
1303
|
case "IMPORT_STATE": {
|
|
1304
|
-
const { nextLiftedState:
|
|
1304
|
+
const { nextLiftedState: b } = I.payload, v = (h = b.computedStates.slice(-1)[0]) == null ? void 0 : h.state;
|
|
1305
1305
|
if (!v)
|
|
1306
1306
|
return;
|
|
1307
|
-
|
|
1307
|
+
m(c === void 0 ? v : v[c]), d == null || d.send(
|
|
1308
1308
|
null,
|
|
1309
1309
|
// FIXME no-any
|
|
1310
|
-
|
|
1310
|
+
b
|
|
1311
1311
|
);
|
|
1312
1312
|
return;
|
|
1313
1313
|
}
|
|
@@ -1317,7 +1317,7 @@ const Gn = /* @__PURE__ */ new Map(), Lt = (t) => {
|
|
|
1317
1317
|
return;
|
|
1318
1318
|
}
|
|
1319
1319
|
}), x;
|
|
1320
|
-
}, or = ia,
|
|
1320
|
+
}, or = ia, mn = (t, e) => {
|
|
1321
1321
|
let s;
|
|
1322
1322
|
try {
|
|
1323
1323
|
s = JSON.parse(t);
|
|
@@ -1353,22 +1353,22 @@ const Gn = /* @__PURE__ */ new Map(), Lt = (t) => {
|
|
|
1353
1353
|
}))
|
|
1354
1354
|
);
|
|
1355
1355
|
function aa({ filterConfig: t }) {
|
|
1356
|
-
const { filters: e, isLoading: s, isError: r, filterDispatch: n, filterReset: i } = t, l = hs((
|
|
1357
|
-
setDefaultFilters:
|
|
1358
|
-
addFilters:
|
|
1359
|
-
removeFilters:
|
|
1360
|
-
resetFilters:
|
|
1361
|
-
resetAllFilters:
|
|
1356
|
+
const { filters: e, isLoading: s, isError: r, filterDispatch: n, filterReset: i } = t, l = hs((m) => m.filters), { setDefaultFilters: c, addFilters: a, removeFilters: u, resetFilters: d, resetAllFilters: g } = hs((m) => ({
|
|
1357
|
+
setDefaultFilters: m.setDefaultFilters,
|
|
1358
|
+
addFilters: m.addFilters,
|
|
1359
|
+
removeFilters: m.removeFilters,
|
|
1360
|
+
resetFilters: m.resetFilters,
|
|
1361
|
+
resetAllFilters: m.resetAllFilters
|
|
1362
1362
|
}));
|
|
1363
1363
|
if (_.useEffect(() => {
|
|
1364
|
-
!(e != null && e.length) || s || c((e == null ? void 0 : e.map((
|
|
1364
|
+
!(e != null && e.length) || s || c((e == null ? void 0 : e.map((m) => ({ key: m.key, values: [] }))) || []);
|
|
1365
1365
|
}, [e == null ? void 0 : e.length, s]), !e || !e.length)
|
|
1366
1366
|
return null;
|
|
1367
1367
|
if (r)
|
|
1368
1368
|
return /* @__PURE__ */ o.jsx("div", { className: U.filtersInfo, children: "Error getting filters" });
|
|
1369
1369
|
if (s)
|
|
1370
1370
|
return /* @__PURE__ */ o.jsx("div", { className: U.filtersInfo, children: "Getting filters..." });
|
|
1371
|
-
const f = l.map((
|
|
1371
|
+
const f = l.map((m) => m.values).flat();
|
|
1372
1372
|
return /* @__PURE__ */ o.jsxs("div", { className: U.filters, children: [
|
|
1373
1373
|
f.length > 0 && /* @__PURE__ */ o.jsx(
|
|
1374
1374
|
"img",
|
|
@@ -1382,10 +1382,10 @@ function aa({ filterConfig: t }) {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
}
|
|
1384
1384
|
),
|
|
1385
|
-
e.map((
|
|
1385
|
+
e.map((m, x) => /* @__PURE__ */ o.jsx(
|
|
1386
1386
|
ra,
|
|
1387
1387
|
{
|
|
1388
|
-
filter:
|
|
1388
|
+
filter: m,
|
|
1389
1389
|
tableFilters: l,
|
|
1390
1390
|
tableFilter: l[x],
|
|
1391
1391
|
addFilters: a,
|
|
@@ -1393,7 +1393,7 @@ function aa({ filterConfig: t }) {
|
|
|
1393
1393
|
resetFilters: d,
|
|
1394
1394
|
filterDispatch: n
|
|
1395
1395
|
},
|
|
1396
|
-
|
|
1396
|
+
m.id
|
|
1397
1397
|
))
|
|
1398
1398
|
] });
|
|
1399
1399
|
}
|
|
@@ -1426,9 +1426,9 @@ function ga({
|
|
|
1426
1426
|
}
|
|
1427
1427
|
) }) }) }) : null;
|
|
1428
1428
|
}
|
|
1429
|
-
const
|
|
1430
|
-
box:
|
|
1431
|
-
label:
|
|
1429
|
+
const ba = "_box_40p3g_1", ma = "_label_40p3g_9", fn = {
|
|
1430
|
+
box: ba,
|
|
1431
|
+
label: ma
|
|
1432
1432
|
};
|
|
1433
1433
|
function fa({ actionsConfig: t, data: e }) {
|
|
1434
1434
|
var a;
|
|
@@ -1580,7 +1580,7 @@ function Ua({
|
|
|
1580
1580
|
}
|
|
1581
1581
|
) });
|
|
1582
1582
|
}
|
|
1583
|
-
function
|
|
1583
|
+
function Pm({
|
|
1584
1584
|
data: t,
|
|
1585
1585
|
loaderConfig: e,
|
|
1586
1586
|
columns: s,
|
|
@@ -1601,10 +1601,10 @@ function Pb({
|
|
|
1601
1601
|
paginationConfig: d,
|
|
1602
1602
|
emptyStateConfig: g,
|
|
1603
1603
|
headerText: f,
|
|
1604
|
-
infiniteScrollConfig:
|
|
1604
|
+
infiniteScrollConfig: m
|
|
1605
1605
|
}) {
|
|
1606
1606
|
var W;
|
|
1607
|
-
const [x, I] = _.useState([]), [h,
|
|
1607
|
+
const [x, I] = _.useState([]), [h, b] = _.useState({}), [v, C] = _.useState({}), { ref: A, inView: E } = vo(), F = !e.isFetching && !e.isError && !t.length, { isCheckbox: j, isRadio: N, setSelectedRows: T } = i;
|
|
1608
1608
|
Mt(() => {
|
|
1609
1609
|
if (!n || !x.length)
|
|
1610
1610
|
return;
|
|
@@ -1616,8 +1616,8 @@ function Pb({
|
|
|
1616
1616
|
const R = M.getSelectedRowModel().rows.map((w) => w.original);
|
|
1617
1617
|
T([...R]);
|
|
1618
1618
|
}, [v]), _.useEffect(() => {
|
|
1619
|
-
|
|
1620
|
-
}, [
|
|
1619
|
+
m && E && m.fetchNextPage();
|
|
1620
|
+
}, [m == null ? void 0 : m.fetchNextPage, E]);
|
|
1621
1621
|
const H = [
|
|
1622
1622
|
{
|
|
1623
1623
|
id: Tt,
|
|
@@ -1674,7 +1674,7 @@ function Pb({
|
|
|
1674
1674
|
},
|
|
1675
1675
|
manualSorting: !0,
|
|
1676
1676
|
onSortingChange: I,
|
|
1677
|
-
onColumnVisibilityChange:
|
|
1677
|
+
onColumnVisibilityChange: b,
|
|
1678
1678
|
enableRowSelection: !0,
|
|
1679
1679
|
// enableRowSelection: row => row.original.age > 18, // or enable row selection conditionally per row
|
|
1680
1680
|
onRowSelectionChange: (i == null ? void 0 : i.setRowSelection) || C,
|
|
@@ -1762,7 +1762,7 @@ function Pb({
|
|
|
1762
1762
|
search: c == null ? void 0 : c.search
|
|
1763
1763
|
}
|
|
1764
1764
|
),
|
|
1765
|
-
|
|
1765
|
+
m && /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsx("div", { ref: A }) })
|
|
1766
1766
|
] });
|
|
1767
1767
|
}
|
|
1768
1768
|
function Cs({
|
|
@@ -1840,7 +1840,7 @@ function Cs({
|
|
|
1840
1840
|
/* @__PURE__ */ o.jsx("tfoot", { className: K.tableFoot, children: t.getFooterGroups().map((c) => /* @__PURE__ */ o.jsx("tr", { className: K.tableRow, children: c.headers.map((a) => /* @__PURE__ */ o.jsx("th", { children: a.isPlaceholder ? null : Gt(a.column.columnDef.footer, a.getContext()) }, a.id)) }, c.id)) })
|
|
1841
1841
|
] }) });
|
|
1842
1842
|
}
|
|
1843
|
-
const Qa = "_backdropLayer_w582c_1", Ka = "_show_w582c_12", qa = "_backdrop_w582c_1", el = "_showBackdrop_w582c_24", tl = "_container_w582c_28", nl = "_rightAlign_w582c_40", sl = "_leftAlign_w582c_44", rl = "_sm_w582c_48", ol = "_md_w582c_52", il = "_lg_w582c_56", al = "_xlg_w582c_60", ll = "_xxlg_w582c_64", cl = "_content_w582c_68", ul = "_headerContainer_w582c_74", dl = "_showBorder_w582c_82", pl = "_title_w582c_86", gl = "_subTitle_w582c_94",
|
|
1843
|
+
const Qa = "_backdropLayer_w582c_1", Ka = "_show_w582c_12", qa = "_backdrop_w582c_1", el = "_showBackdrop_w582c_24", tl = "_container_w582c_28", nl = "_rightAlign_w582c_40", sl = "_leftAlign_w582c_44", rl = "_sm_w582c_48", ol = "_md_w582c_52", il = "_lg_w582c_56", al = "_xlg_w582c_60", ll = "_xxlg_w582c_64", cl = "_content_w582c_68", ul = "_headerContainer_w582c_74", dl = "_showBorder_w582c_82", pl = "_title_w582c_86", gl = "_subTitle_w582c_94", bl = "_closeBtnIcon_w582c_103", ml = "_descriptionContainer_w582c_113", fl = "_fullHeight_w582c_119", hl = "_footer_w582c_124", vl = "_footerBtnContainer_w582c_140", Il = "_footerBtn_w582c_140", xl = "_saveBtn_w582c_154", Cl = "_cancelBtn_w582c_155", be = {
|
|
1844
1844
|
backdropLayer: Qa,
|
|
1845
1845
|
show: Ka,
|
|
1846
1846
|
backdrop: qa,
|
|
@@ -1858,8 +1858,8 @@ const Qa = "_backdropLayer_w582c_1", Ka = "_show_w582c_12", qa = "_backdrop_w582
|
|
|
1858
1858
|
showBorder: dl,
|
|
1859
1859
|
title: pl,
|
|
1860
1860
|
subTitle: gl,
|
|
1861
|
-
closeBtnIcon:
|
|
1862
|
-
descriptionContainer:
|
|
1861
|
+
closeBtnIcon: bl,
|
|
1862
|
+
descriptionContainer: ml,
|
|
1863
1863
|
fullHeight: fl,
|
|
1864
1864
|
footer: hl,
|
|
1865
1865
|
footerBtnContainer: vl,
|
|
@@ -1867,7 +1867,7 @@ const Qa = "_backdropLayer_w582c_1", Ka = "_show_w582c_12", qa = "_backdrop_w582
|
|
|
1867
1867
|
saveBtn: xl,
|
|
1868
1868
|
cancelBtn: Cl
|
|
1869
1869
|
};
|
|
1870
|
-
function
|
|
1870
|
+
function Tm({
|
|
1871
1871
|
isOpen: t,
|
|
1872
1872
|
onClose: e,
|
|
1873
1873
|
children: s,
|
|
@@ -1881,13 +1881,13 @@ function Tb({
|
|
|
1881
1881
|
showFooter: d = !0,
|
|
1882
1882
|
buttons: g,
|
|
1883
1883
|
footerAddon: f,
|
|
1884
|
-
headerClassName:
|
|
1884
|
+
headerClassName: m,
|
|
1885
1885
|
contentClassName: x,
|
|
1886
1886
|
footerClassName: I,
|
|
1887
1887
|
showHeaderBorder: h = !1,
|
|
1888
|
-
drawerPosition:
|
|
1888
|
+
drawerPosition: b = "right"
|
|
1889
1889
|
}) {
|
|
1890
|
-
const v = _.useRef(null), C = _.useRef(null), A = _.useRef(null), E =
|
|
1890
|
+
const v = _.useRef(null), C = _.useRef(null), A = _.useRef(null), E = b === "left" ? "-100%" : "100%", F = !u && !d;
|
|
1891
1891
|
return _.useEffect(() => {
|
|
1892
1892
|
const j = setTimeout(() => {
|
|
1893
1893
|
var N, T;
|
|
@@ -1897,27 +1897,27 @@ function Tb({
|
|
|
1897
1897
|
clearTimeout(j);
|
|
1898
1898
|
};
|
|
1899
1899
|
}, [t]), /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
1900
|
-
/* @__PURE__ */ o.jsx("div", { className: G(
|
|
1900
|
+
/* @__PURE__ */ o.jsx("div", { className: G(be.backdropLayer, t && be.show), onClick: e, children: a && /* @__PURE__ */ o.jsx("div", { className: G(be.backdrop, t && be.showBackdrop) }) }),
|
|
1901
1901
|
/* @__PURE__ */ o.jsx(
|
|
1902
1902
|
"div",
|
|
1903
1903
|
{
|
|
1904
|
-
className: G(
|
|
1904
|
+
className: G(be.container, be[c], be[`${b}Align`]),
|
|
1905
1905
|
ref: v,
|
|
1906
|
-
children: /* @__PURE__ */ o.jsxs("div", { className:
|
|
1906
|
+
children: /* @__PURE__ */ o.jsxs("div", { className: be.content, children: [
|
|
1907
1907
|
u && /* @__PURE__ */ o.jsx(
|
|
1908
1908
|
"div",
|
|
1909
1909
|
{
|
|
1910
1910
|
className: G(
|
|
1911
|
-
|
|
1912
|
-
{ [
|
|
1913
|
-
|
|
1911
|
+
be.headerContainer,
|
|
1912
|
+
{ [be.showBorder]: h },
|
|
1913
|
+
m
|
|
1914
1914
|
),
|
|
1915
1915
|
children: i || /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
1916
1916
|
/* @__PURE__ */ o.jsxs("div", { className: "titleBox", children: [
|
|
1917
|
-
/* @__PURE__ */ o.jsx("h1", { className:
|
|
1918
|
-
n && /* @__PURE__ */ o.jsx("h2", { className:
|
|
1917
|
+
/* @__PURE__ */ o.jsx("h1", { className: be.title, children: r }),
|
|
1918
|
+
n && /* @__PURE__ */ o.jsx("h2", { className: be.subTitle, children: n })
|
|
1919
1919
|
] }),
|
|
1920
|
-
/* @__PURE__ */ o.jsx("div", { onClick: e, children: /* @__PURE__ */ o.jsx(X, { path: st, svgClassName:
|
|
1920
|
+
/* @__PURE__ */ o.jsx("div", { onClick: e, children: /* @__PURE__ */ o.jsx(X, { path: st, svgClassName: be.closeBtnIcon }) })
|
|
1921
1921
|
] })
|
|
1922
1922
|
}
|
|
1923
1923
|
),
|
|
@@ -1925,16 +1925,16 @@ function Tb({
|
|
|
1925
1925
|
"div",
|
|
1926
1926
|
{
|
|
1927
1927
|
className: G(
|
|
1928
|
-
|
|
1929
|
-
{ [
|
|
1928
|
+
be.descriptionContainer,
|
|
1929
|
+
{ [be.fullHeight]: F },
|
|
1930
1930
|
x
|
|
1931
1931
|
),
|
|
1932
1932
|
ref: C,
|
|
1933
1933
|
children: s
|
|
1934
1934
|
}
|
|
1935
1935
|
),
|
|
1936
|
-
d && /* @__PURE__ */ o.jsx("div", { className: G(
|
|
1937
|
-
/* @__PURE__ */ o.jsx("div", { className:
|
|
1936
|
+
d && /* @__PURE__ */ o.jsx("div", { className: G(be.footer, I), ref: A, children: l || g && /* @__PURE__ */ o.jsxs("div", { className: be.footerBtnContainer, children: [
|
|
1937
|
+
/* @__PURE__ */ o.jsx("div", { className: be.footerBtn, children: g.map((j, N) => /* @__PURE__ */ o.jsx(
|
|
1938
1938
|
Q,
|
|
1939
1939
|
{
|
|
1940
1940
|
disabled: j.disabled,
|
|
@@ -1990,7 +1990,7 @@ function lr({
|
|
|
1990
1990
|
rows: d = 2,
|
|
1991
1991
|
type: g = "text",
|
|
1992
1992
|
placeholder: f = "Placeholder",
|
|
1993
|
-
onBlur:
|
|
1993
|
+
onBlur: m
|
|
1994
1994
|
}) {
|
|
1995
1995
|
const x = _.useRef(null);
|
|
1996
1996
|
return /* @__PURE__ */ o.jsxs("div", { className: oe.inputWrapper, children: [
|
|
@@ -2007,7 +2007,7 @@ function lr({
|
|
|
2007
2007
|
value: n,
|
|
2008
2008
|
onChange: i,
|
|
2009
2009
|
disabled: u,
|
|
2010
|
-
onBlur:
|
|
2010
|
+
onBlur: m,
|
|
2011
2011
|
...l
|
|
2012
2012
|
}
|
|
2013
2013
|
) : /* @__PURE__ */ o.jsx(
|
|
@@ -2027,7 +2027,7 @@ function lr({
|
|
|
2027
2027
|
var I;
|
|
2028
2028
|
return (I = x.current) == null ? void 0 : I.showPicker();
|
|
2029
2029
|
},
|
|
2030
|
-
onBlur:
|
|
2030
|
+
onBlur: m,
|
|
2031
2031
|
...l
|
|
2032
2032
|
}
|
|
2033
2033
|
),
|
|
@@ -2045,8 +2045,8 @@ function rn({
|
|
|
2045
2045
|
},
|
|
2046
2046
|
showDropdownSearch: i = !0
|
|
2047
2047
|
}) {
|
|
2048
|
-
var
|
|
2049
|
-
const l = e === "left" ? "left" : "right", [c, a] = _.useState(!1), u = _.useRef(null), [d, g] = _.useState(""), [f,
|
|
2048
|
+
var b;
|
|
2049
|
+
const l = e === "left" ? "left" : "right", [c, a] = _.useState(!1), u = _.useRef(null), [d, g] = _.useState(""), [f, m] = _.useState(!0);
|
|
2050
2050
|
_.useEffect(() => (document.addEventListener("click", x), () => {
|
|
2051
2051
|
document.removeEventListener("click", x);
|
|
2052
2052
|
}), []);
|
|
@@ -2056,11 +2056,11 @@ function rn({
|
|
|
2056
2056
|
}, I = () => {
|
|
2057
2057
|
var v;
|
|
2058
2058
|
if (c)
|
|
2059
|
-
a(!1),
|
|
2059
|
+
a(!1), m(!0);
|
|
2060
2060
|
else {
|
|
2061
2061
|
a(!0);
|
|
2062
2062
|
const C = (v = u.current) == null ? void 0 : v.getBoundingClientRect(), A = (C == null ? void 0 : C.right) + (C == null ? void 0 : C.width), E = window.innerWidth - 100;
|
|
2063
|
-
A > E &&
|
|
2063
|
+
A > E && m(!1);
|
|
2064
2064
|
}
|
|
2065
2065
|
}, h = (v) => (v.label + " " + v.value).toLowerCase().includes(d.toLowerCase());
|
|
2066
2066
|
return /* @__PURE__ */ o.jsxs(
|
|
@@ -2087,7 +2087,7 @@ function rn({
|
|
|
2087
2087
|
},
|
|
2088
2088
|
children: [
|
|
2089
2089
|
i && /* @__PURE__ */ o.jsx("div", { className: oe.searchContainer, onClick: (v) => v.stopPropagation(), children: /* @__PURE__ */ o.jsx(rt, { search: d, setSearch: g, id: "input-add-on-search" }) }),
|
|
2090
|
-
(
|
|
2090
|
+
(b = r == null ? void 0 : r.filter(h)) == null ? void 0 : b.map((v) => /* @__PURE__ */ o.jsx(
|
|
2091
2091
|
"div",
|
|
2092
2092
|
{
|
|
2093
2093
|
className: oe.dropdownOption,
|
|
@@ -2198,7 +2198,7 @@ function gr({ children: t }) {
|
|
|
2198
2198
|
}
|
|
2199
2199
|
gr.displayName = se.INPUT_GROUP;
|
|
2200
2200
|
gr.id = se.INPUT_GROUP;
|
|
2201
|
-
const
|
|
2201
|
+
const br = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%2015A7%207%200%201%201%208%201a7%207%200%200%201%200%2014Zm0%201A8%208%200%201%200%208%200a8%208%200%200%200%200%2016Z'%20fill='%23B5B5B5'/%3e%3cpath%20d='m8.93%206.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738%203.468c-.194.897.105%201.319.808%201.319.545%200%201.178-.252%201.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275%200-.375-.193-.304-.533L8.93%206.588ZM9%204.5a1%201%200%201%201-2%200%201%201%200%200%201%202%200Z'%20fill='%23B5B5B5'/%3e%3c/svg%3e", Zl = "_trigger_1vdqd_1", Xl = "_content_1vdqd_7", Ml = "_arrow_1vdqd_18", jt = {
|
|
2202
2202
|
trigger: Zl,
|
|
2203
2203
|
content: Xl,
|
|
2204
2204
|
arrow: Ml
|
|
@@ -2282,7 +2282,7 @@ function Dn({
|
|
|
2282
2282
|
}
|
|
2283
2283
|
),
|
|
2284
2284
|
l && /* @__PURE__ */ o.jsxs(Qe, { children: [
|
|
2285
|
-
/* @__PURE__ */ o.jsx(Qe.Trigger, { children: /* @__PURE__ */ o.jsx(X, { path:
|
|
2285
|
+
/* @__PURE__ */ o.jsx(Qe.Trigger, { children: /* @__PURE__ */ o.jsx(X, { path: br, svgClassName: oe.infoCircleSvg }) }),
|
|
2286
2286
|
/* @__PURE__ */ o.jsx(Qe.Content, { positionerStyles: c, children: l })
|
|
2287
2287
|
] })
|
|
2288
2288
|
] });
|
|
@@ -2308,7 +2308,7 @@ const Jl = "_backdrop_197mu_1", $l = "_container_197mu_16", Ul = "_contentWrappe
|
|
|
2308
2308
|
function lc({ api: t }) {
|
|
2309
2309
|
return /* @__PURE__ */ o.jsx("div", { ...t == null ? void 0 : t.backdropProps, className: Ge.backdrop });
|
|
2310
2310
|
}
|
|
2311
|
-
function
|
|
2311
|
+
function Vm({
|
|
2312
2312
|
isOpen: t,
|
|
2313
2313
|
onClose: e,
|
|
2314
2314
|
children: s,
|
|
@@ -2338,17 +2338,17 @@ function Vb({
|
|
|
2338
2338
|
d
|
|
2339
2339
|
] });
|
|
2340
2340
|
}
|
|
2341
|
-
function
|
|
2341
|
+
function Lm({ children: t, api: e, customStyles: s = {} }) {
|
|
2342
2342
|
return /* @__PURE__ */ o.jsx("div", { ...e.descriptionProps, className: Ge.body, style: s, children: t });
|
|
2343
2343
|
}
|
|
2344
|
-
function
|
|
2344
|
+
function km({ children: t, api: e, size: s = "md" }) {
|
|
2345
2345
|
const r = _.Children.toArray(t).map((n) => _.cloneElement(n, {
|
|
2346
2346
|
...n.props,
|
|
2347
2347
|
api: e
|
|
2348
2348
|
}));
|
|
2349
2349
|
return /* @__PURE__ */ o.jsx("div", { ...e == null ? void 0 : e.containerProps, className: Ge.container, children: /* @__PURE__ */ o.jsx("div", { className: G(Ge.contentWrapper, Ge[s]), children: /* @__PURE__ */ o.jsx("div", { ...e == null ? void 0 : e.contentProps, className: Ge.content, children: r }) }) });
|
|
2350
2350
|
}
|
|
2351
|
-
function
|
|
2351
|
+
function Dm({ children: t, api: e, buttons: s, showBorder: r = !0 }) {
|
|
2352
2352
|
return /* @__PURE__ */ o.jsx("div", { className: G(Ge.footer, { [Ge.showBorder]: r }), children: t || /* @__PURE__ */ o.jsx("div", { className: Ge.btnsContainer, children: s.map((n, i) => /* @__PURE__ */ o.jsx(
|
|
2353
2353
|
Q,
|
|
2354
2354
|
{
|
|
@@ -2363,7 +2363,7 @@ function Db({ children: t, api: e, buttons: s, showBorder: r = !0 }) {
|
|
|
2363
2363
|
i
|
|
2364
2364
|
)) }) });
|
|
2365
2365
|
}
|
|
2366
|
-
function
|
|
2366
|
+
function Om({
|
|
2367
2367
|
children: t,
|
|
2368
2368
|
api: e,
|
|
2369
2369
|
showCrossBtn: s = !0,
|
|
@@ -2390,7 +2390,7 @@ function Ob({
|
|
|
2390
2390
|
)
|
|
2391
2391
|
] });
|
|
2392
2392
|
}
|
|
2393
|
-
function
|
|
2393
|
+
function Wm({
|
|
2394
2394
|
children: t,
|
|
2395
2395
|
placement: e = "top",
|
|
2396
2396
|
popoverProps: s,
|
|
@@ -2419,7 +2419,7 @@ function Wb({
|
|
|
2419
2419
|
}));
|
|
2420
2420
|
return /* @__PURE__ */ o.jsx(o.Fragment, { children: u });
|
|
2421
2421
|
}
|
|
2422
|
-
function
|
|
2422
|
+
function Hm({ children: t, api: e, styles: s, className: r }) {
|
|
2423
2423
|
return /* @__PURE__ */ o.jsx(
|
|
2424
2424
|
"button",
|
|
2425
2425
|
{
|
|
@@ -2431,16 +2431,16 @@ function Hb({ children: t, api: e, styles: s, className: r }) {
|
|
|
2431
2431
|
}
|
|
2432
2432
|
);
|
|
2433
2433
|
}
|
|
2434
|
-
const cc = "_trigger_kapji_1", uc = "_content_kapji_5", dc = "_black_kapji_11", pc = "_white_kapji_16", gc = "_closeBtn_kapji_21",
|
|
2434
|
+
const cc = "_trigger_kapji_1", uc = "_content_kapji_5", dc = "_black_kapji_11", pc = "_white_kapji_16", gc = "_closeBtn_kapji_21", bc = "_arrow_kapji_28", mc = "_positioner_kapji_42", bt = {
|
|
2435
2435
|
trigger: cc,
|
|
2436
2436
|
content: uc,
|
|
2437
2437
|
black: dc,
|
|
2438
2438
|
white: pc,
|
|
2439
2439
|
closeBtn: gc,
|
|
2440
|
-
arrow:
|
|
2441
|
-
positioner:
|
|
2440
|
+
arrow: bc,
|
|
2441
|
+
positioner: mc
|
|
2442
2442
|
};
|
|
2443
|
-
function
|
|
2443
|
+
function Zm({
|
|
2444
2444
|
children: t,
|
|
2445
2445
|
api: e,
|
|
2446
2446
|
bg: s = "black",
|
|
@@ -2465,15 +2465,15 @@ function Zb({
|
|
|
2465
2465
|
"div",
|
|
2466
2466
|
{
|
|
2467
2467
|
...e == null ? void 0 : e.positionerProps,
|
|
2468
|
-
className:
|
|
2468
|
+
className: bt.positioner,
|
|
2469
2469
|
style: { ...(g = e == null ? void 0 : e.positionerProps) == null ? void 0 : g.style, ...i },
|
|
2470
2470
|
children: [
|
|
2471
|
-
/* @__PURE__ */ o.jsx("div", { ...u, className: G(
|
|
2471
|
+
/* @__PURE__ */ o.jsx("div", { ...u, className: G(bt.arrow, { [bt[s]]: !a }), children: /* @__PURE__ */ o.jsx("div", { ...e == null ? void 0 : e.arrowTipProps }) }),
|
|
2472
2472
|
/* @__PURE__ */ o.jsx(
|
|
2473
2473
|
"div",
|
|
2474
2474
|
{
|
|
2475
2475
|
...e == null ? void 0 : e.contentProps,
|
|
2476
|
-
className: G(
|
|
2476
|
+
className: G(bt.content, bt[s], n),
|
|
2477
2477
|
style: { background: a ? s : "", ...r },
|
|
2478
2478
|
children: c
|
|
2479
2479
|
}
|
|
@@ -2482,13 +2482,13 @@ function Zb({
|
|
|
2482
2482
|
}
|
|
2483
2483
|
) });
|
|
2484
2484
|
}
|
|
2485
|
-
function
|
|
2485
|
+
function Xm({ children: t, api: e, styles: s, className: r }) {
|
|
2486
2486
|
return /* @__PURE__ */ o.jsx("div", { ...e == null ? void 0 : e.descriptionProps, style: s, className: r, children: t });
|
|
2487
2487
|
}
|
|
2488
|
-
function
|
|
2488
|
+
function Mm({ children: t, api: e, styles: s, className: r }) {
|
|
2489
2489
|
return /* @__PURE__ */ o.jsx("div", { ...e == null ? void 0 : e.titleProps, style: s, className: r, children: t });
|
|
2490
2490
|
}
|
|
2491
|
-
function
|
|
2491
|
+
function zm({
|
|
2492
2492
|
children: t,
|
|
2493
2493
|
api: e,
|
|
2494
2494
|
openOnHover: s = !0,
|
|
@@ -2503,7 +2503,7 @@ function zb({
|
|
|
2503
2503
|
},
|
|
2504
2504
|
onMouseLeave: s ? e == null ? void 0 : e.close : () => {
|
|
2505
2505
|
},
|
|
2506
|
-
className: G("hybr1d-ui-reset-btn",
|
|
2506
|
+
className: G("hybr1d-ui-reset-btn", bt.trigger, n),
|
|
2507
2507
|
style: r,
|
|
2508
2508
|
children: t
|
|
2509
2509
|
}
|
|
@@ -2652,7 +2652,7 @@ const fc = "_selectContainer_1uuim_1", hc = "_errorMsg_1uuim_5", vc = "_multiLab
|
|
|
2652
2652
|
),
|
|
2653
2653
|
/* @__PURE__ */ o.jsx("div", { className: G(ie.label), children: /* @__PURE__ */ o.jsx("span", { children: t.data.label }) })
|
|
2654
2654
|
] }) });
|
|
2655
|
-
function
|
|
2655
|
+
function Ym({
|
|
2656
2656
|
options: t,
|
|
2657
2657
|
onChange: e,
|
|
2658
2658
|
name: s,
|
|
@@ -2666,11 +2666,11 @@ function Yb({
|
|
|
2666
2666
|
menuPlacement: d,
|
|
2667
2667
|
errorMsg: g,
|
|
2668
2668
|
extraprops: f,
|
|
2669
|
-
isDisabled:
|
|
2669
|
+
isDisabled: m = !1,
|
|
2670
2670
|
isSearchable: x = !0,
|
|
2671
2671
|
isMulti: I = !1,
|
|
2672
2672
|
isClearable: h = !1,
|
|
2673
|
-
customValue:
|
|
2673
|
+
customValue: b,
|
|
2674
2674
|
CustomDropdownIndicator: v
|
|
2675
2675
|
}) {
|
|
2676
2676
|
return /* @__PURE__ */ o.jsxs(
|
|
@@ -2683,7 +2683,7 @@ function Yb({
|
|
|
2683
2683
|
/* @__PURE__ */ o.jsx(
|
|
2684
2684
|
Io,
|
|
2685
2685
|
{
|
|
2686
|
-
value:
|
|
2686
|
+
value: b,
|
|
2687
2687
|
isMulti: I,
|
|
2688
2688
|
placeholder: i,
|
|
2689
2689
|
defaultValue: c,
|
|
@@ -2703,7 +2703,7 @@ function Yb({
|
|
|
2703
2703
|
ClearIndicator: Mn,
|
|
2704
2704
|
SingleValue: Yn
|
|
2705
2705
|
},
|
|
2706
|
-
isDisabled:
|
|
2706
|
+
isDisabled: m,
|
|
2707
2707
|
onChange: (C, A) => {
|
|
2708
2708
|
e(
|
|
2709
2709
|
I ? C.map((E) => E.value) : (C == null ? void 0 : C.value) ?? "",
|
|
@@ -2750,12 +2750,12 @@ function Sc(t, e) {
|
|
|
2750
2750
|
}
|
|
2751
2751
|
return (e === "string" ? String : Number)(t);
|
|
2752
2752
|
}
|
|
2753
|
-
function
|
|
2753
|
+
function mr(t) {
|
|
2754
2754
|
var e = Sc(t, "string");
|
|
2755
2755
|
return nt(e) === "symbol" ? e : String(e);
|
|
2756
2756
|
}
|
|
2757
|
-
function
|
|
2758
|
-
return e =
|
|
2757
|
+
function mt(t, e, s) {
|
|
2758
|
+
return e = mr(e), e in t ? Object.defineProperty(t, e, {
|
|
2759
2759
|
value: s,
|
|
2760
2760
|
enumerable: !0,
|
|
2761
2761
|
configurable: !0,
|
|
@@ -2776,7 +2776,7 @@ function P(t) {
|
|
|
2776
2776
|
for (var e = 1; e < arguments.length; e++) {
|
|
2777
2777
|
var s = arguments[e] != null ? arguments[e] : {};
|
|
2778
2778
|
e % 2 ? _s(Object(s), !0).forEach(function(r) {
|
|
2779
|
-
|
|
2779
|
+
mt(t, r, s[r]);
|
|
2780
2780
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(s)) : _s(Object(s)).forEach(function(r) {
|
|
2781
2781
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(s, r));
|
|
2782
2782
|
});
|
|
@@ -2790,7 +2790,7 @@ function Ec(t, e) {
|
|
|
2790
2790
|
function ys(t, e) {
|
|
2791
2791
|
for (var s = 0; s < e.length; s++) {
|
|
2792
2792
|
var r = e[s];
|
|
2793
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t,
|
|
2793
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, mr(r.key), r);
|
|
2794
2794
|
}
|
|
2795
2795
|
}
|
|
2796
2796
|
function wc(t, e, s) {
|
|
@@ -3075,10 +3075,10 @@ function Ns(t, e, s, r) {
|
|
|
3075
3075
|
const c = Qc(i, s, r) ? Uc(i) : Qt(0);
|
|
3076
3076
|
let a = (n.left + c.x) / l.x, u = (n.top + c.y) / l.y, d = n.width / l.x, g = n.height / l.y;
|
|
3077
3077
|
if (i) {
|
|
3078
|
-
const f = Te(i),
|
|
3078
|
+
const f = Te(i), m = r && Pn(r) ? Te(r) : r;
|
|
3079
3079
|
let x = f.frameElement;
|
|
3080
|
-
for (; x && r &&
|
|
3081
|
-
const I = vn(x), h = x.getBoundingClientRect(),
|
|
3080
|
+
for (; x && r && m !== f; ) {
|
|
3081
|
+
const I = vn(x), h = x.getBoundingClientRect(), b = $n(x), v = h.left + (x.clientLeft + parseFloat(b.paddingLeft)) * I.x, C = h.top + (x.clientTop + parseFloat(b.paddingTop)) * I.y;
|
|
3082
3082
|
a *= I.x, u *= I.y, d *= I.x, g *= I.y, a += v, u += C, x = Te(x).frameElement;
|
|
3083
3083
|
}
|
|
3084
3084
|
}
|
|
@@ -3105,8 +3105,8 @@ function Kc(t, e) {
|
|
|
3105
3105
|
} = t.getBoundingClientRect();
|
|
3106
3106
|
if (c || e(), !g || !f)
|
|
3107
3107
|
return;
|
|
3108
|
-
const
|
|
3109
|
-
rootMargin: -
|
|
3108
|
+
const m = kt(d), x = kt(n.clientWidth - (u + g)), I = kt(n.clientHeight - (d + f)), h = kt(u), v = {
|
|
3109
|
+
rootMargin: -m + "px " + -x + "px " + -I + "px " + -h + "px",
|
|
3110
3110
|
threshold: Zc(0, Hc(1, a)) || 1
|
|
3111
3111
|
};
|
|
3112
3112
|
let C = !0;
|
|
@@ -3143,29 +3143,29 @@ function qc(t, e, s, r) {
|
|
|
3143
3143
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
3144
3144
|
animationFrame: a = !1
|
|
3145
3145
|
} = r, u = Un(t), d = n || i ? [...u ? Kt(u) : [], ...Kt(e)] : [];
|
|
3146
|
-
d.forEach((
|
|
3147
|
-
n &&
|
|
3146
|
+
d.forEach((b) => {
|
|
3147
|
+
n && b.addEventListener("scroll", s, {
|
|
3148
3148
|
passive: !0
|
|
3149
|
-
}), i &&
|
|
3149
|
+
}), i && b.addEventListener("resize", s);
|
|
3150
3150
|
});
|
|
3151
3151
|
const g = u && c ? Kc(u, s) : null;
|
|
3152
|
-
let f = -1,
|
|
3153
|
-
l && (
|
|
3154
|
-
let [v] =
|
|
3155
|
-
v && v.target === u &&
|
|
3156
|
-
|
|
3152
|
+
let f = -1, m = null;
|
|
3153
|
+
l && (m = new ResizeObserver((b) => {
|
|
3154
|
+
let [v] = b;
|
|
3155
|
+
v && v.target === u && m && (m.unobserve(e), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
3156
|
+
m && m.observe(e);
|
|
3157
3157
|
})), s();
|
|
3158
|
-
}), u && !a &&
|
|
3158
|
+
}), u && !a && m.observe(u), m.observe(e));
|
|
3159
3159
|
let x, I = a ? Ns(t) : null;
|
|
3160
3160
|
a && h();
|
|
3161
3161
|
function h() {
|
|
3162
|
-
const
|
|
3163
|
-
I && (
|
|
3162
|
+
const b = Ns(t);
|
|
3163
|
+
I && (b.x !== I.x || b.y !== I.y || b.width !== I.width || b.height !== I.height) && s(), I = b, x = requestAnimationFrame(h);
|
|
3164
3164
|
}
|
|
3165
3165
|
return s(), () => {
|
|
3166
|
-
d.forEach((
|
|
3167
|
-
n &&
|
|
3168
|
-
}), g && g(),
|
|
3166
|
+
d.forEach((b) => {
|
|
3167
|
+
n && b.removeEventListener("scroll", s), i && b.removeEventListener("resize", s);
|
|
3168
|
+
}), g && g(), m && m.disconnect(), m = null, a && cancelAnimationFrame(x);
|
|
3169
3169
|
};
|
|
3170
3170
|
}
|
|
3171
3171
|
var Tn = po, eu = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], qt = function() {
|
|
@@ -3300,7 +3300,7 @@ var gu = function(e) {
|
|
|
3300
3300
|
var a = fe(c, 2), u = a[0], d = a[1];
|
|
3301
3301
|
return l[u] = d, l;
|
|
3302
3302
|
}, {});
|
|
3303
|
-
},
|
|
3303
|
+
}, bu = ["children", "innerProps"], mu = ["children", "innerProps"];
|
|
3304
3304
|
function fu(t) {
|
|
3305
3305
|
var e = t.maxHeight, s = t.menuEl, r = t.minHeight, n = t.placement, i = t.shouldScroll, l = t.isFixedPosition, c = t.controlHeight, a = ou(s), u = {
|
|
3306
3306
|
placement: "bottom",
|
|
@@ -3308,7 +3308,7 @@ function fu(t) {
|
|
|
3308
3308
|
};
|
|
3309
3309
|
if (!s || !s.offsetParent)
|
|
3310
3310
|
return u;
|
|
3311
|
-
var d = a.getBoundingClientRect(), g = d.height, f = s.getBoundingClientRect(),
|
|
3311
|
+
var d = a.getBoundingClientRect(), g = d.height, f = s.getBoundingClientRect(), m = f.bottom, x = f.height, I = f.top, h = s.offsetParent.getBoundingClientRect(), b = h.top, v = l ? window.innerHeight : ru(a), C = yr(a), A = parseInt(getComputedStyle(s).marginBottom, 10), E = parseInt(getComputedStyle(s).marginTop, 10), F = b - E, j = v - I, N = F + C, T = g - C - I, H = m - v + C + A, M = C + I - E, W = 160;
|
|
3312
3312
|
switch (n) {
|
|
3313
3313
|
case "auto":
|
|
3314
3314
|
case "bottom":
|
|
@@ -3383,15 +3383,15 @@ var Nr = function(e) {
|
|
|
3383
3383
|
var r, n = e.placement, i = e.theme, l = i.borderRadius, c = i.spacing, a = i.colors;
|
|
3384
3384
|
return P((r = {
|
|
3385
3385
|
label: "menu"
|
|
3386
|
-
},
|
|
3386
|
+
}, mt(r, hu(n), "100%"), mt(r, "position", "absolute"), mt(r, "width", "100%"), mt(r, "zIndex", 1), r), s ? {} : {
|
|
3387
3387
|
backgroundColor: a.neutral0,
|
|
3388
3388
|
borderRadius: l,
|
|
3389
3389
|
boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
|
|
3390
3390
|
marginBottom: c.menuGutter,
|
|
3391
3391
|
marginTop: c.menuGutter
|
|
3392
3392
|
});
|
|
3393
|
-
}, Sr = /* @__PURE__ */
|
|
3394
|
-
var s = e.children, r = e.minMenuHeight, n = e.maxMenuHeight, i = e.menuPlacement, l = e.menuPosition, c = e.menuShouldScrollIntoView, a = e.theme, u = go(Sr) || {}, d = u.setPortalPlacement, g = Pe(null), f = xe(n),
|
|
3393
|
+
}, Sr = /* @__PURE__ */ bo(null), Iu = function(e) {
|
|
3394
|
+
var s = e.children, r = e.minMenuHeight, n = e.maxMenuHeight, i = e.menuPlacement, l = e.menuPosition, c = e.menuShouldScrollIntoView, a = e.theme, u = go(Sr) || {}, d = u.setPortalPlacement, g = Pe(null), f = xe(n), m = fe(f, 2), x = m[0], I = m[1], h = xe(null), b = fe(h, 2), v = b[0], C = b[1], A = a.spacing.controlHeight;
|
|
3395
3395
|
return Tn(function() {
|
|
3396
3396
|
var E = g.current;
|
|
3397
3397
|
if (E) {
|
|
@@ -3449,7 +3449,7 @@ var Nr = function(e) {
|
|
|
3449
3449
|
padding: "".concat(n * 2, "px ").concat(n * 3, "px")
|
|
3450
3450
|
});
|
|
3451
3451
|
}, Au = Er, Nu = Er, Su = function(e) {
|
|
3452
|
-
var s = e.children, r = s === void 0 ? "No options" : s, n = e.innerProps, i = Ve(e,
|
|
3452
|
+
var s = e.children, r = s === void 0 ? "No options" : s, n = e.innerProps, i = Ve(e, bu);
|
|
3453
3453
|
return L("div", k({}, ee(P(P({}, i), {}, {
|
|
3454
3454
|
children: r,
|
|
3455
3455
|
innerProps: n
|
|
@@ -3458,7 +3458,7 @@ var Nr = function(e) {
|
|
|
3458
3458
|
"menu-notice--no-options": !0
|
|
3459
3459
|
}), n), r);
|
|
3460
3460
|
}, Eu = function(e) {
|
|
3461
|
-
var s = e.children, r = s === void 0 ? "Loading..." : s, n = e.innerProps, i = Ve(e,
|
|
3461
|
+
var s = e.children, r = s === void 0 ? "Loading..." : s, n = e.innerProps, i = Ve(e, mu);
|
|
3462
3462
|
return L("div", k({}, ee(P(P({}, i), {}, {
|
|
3463
3463
|
children: r,
|
|
3464
3464
|
innerProps: n
|
|
@@ -3476,19 +3476,19 @@ var Nr = function(e) {
|
|
|
3476
3476
|
zIndex: 1
|
|
3477
3477
|
};
|
|
3478
3478
|
}, ju = function(e) {
|
|
3479
|
-
var s = e.appendTo, r = e.children, n = e.controlElement, i = e.innerProps, l = e.menuPlacement, c = e.menuPosition, a = Pe(null), u = Pe(null), d = xe(Nr(l)), g = fe(d, 2), f = g[0],
|
|
3479
|
+
var s = e.appendTo, r = e.children, n = e.controlElement, i = e.innerProps, l = e.menuPlacement, c = e.menuPosition, a = Pe(null), u = Pe(null), d = xe(Nr(l)), g = fe(d, 2), f = g[0], m = g[1], x = Ue(function() {
|
|
3480
3480
|
return {
|
|
3481
|
-
setPortalPlacement:
|
|
3481
|
+
setPortalPlacement: m
|
|
3482
3482
|
};
|
|
3483
|
-
}, []), I = xe(null), h = fe(I, 2),
|
|
3483
|
+
}, []), I = xe(null), h = fe(I, 2), b = h[0], v = h[1], C = he(function() {
|
|
3484
3484
|
if (n) {
|
|
3485
3485
|
var j = au(n), N = c === "fixed" ? 0 : window.pageYOffset, T = j[f] + N;
|
|
3486
|
-
(T !== (
|
|
3486
|
+
(T !== (b == null ? void 0 : b.offset) || j.left !== (b == null ? void 0 : b.rect.left) || j.width !== (b == null ? void 0 : b.rect.width)) && v({
|
|
3487
3487
|
offset: T,
|
|
3488
3488
|
rect: j
|
|
3489
3489
|
});
|
|
3490
3490
|
}
|
|
3491
|
-
}, [n, c, f,
|
|
3491
|
+
}, [n, c, f, b == null ? void 0 : b.offset, b == null ? void 0 : b.rect.left, b == null ? void 0 : b.rect.width]);
|
|
3492
3492
|
Tn(function() {
|
|
3493
3493
|
C();
|
|
3494
3494
|
}, [C]);
|
|
@@ -3503,14 +3503,14 @@ var Nr = function(e) {
|
|
|
3503
3503
|
var E = he(function(j) {
|
|
3504
3504
|
a.current = j, A();
|
|
3505
3505
|
}, [A]);
|
|
3506
|
-
if (!s && c !== "fixed" || !
|
|
3506
|
+
if (!s && c !== "fixed" || !b)
|
|
3507
3507
|
return null;
|
|
3508
3508
|
var F = L("div", k({
|
|
3509
3509
|
ref: E
|
|
3510
3510
|
}, ee(P(P({}, e), {}, {
|
|
3511
|
-
offset:
|
|
3511
|
+
offset: b.offset,
|
|
3512
3512
|
position: c,
|
|
3513
|
-
rect:
|
|
3513
|
+
rect: b.rect
|
|
3514
3514
|
}), "menuPortal", {
|
|
3515
3515
|
"menu-portal": !0
|
|
3516
3516
|
}), i), r);
|
|
@@ -3861,8 +3861,8 @@ var Du = process.env.NODE_ENV === "production" ? {
|
|
|
3861
3861
|
}, Rr = function(e) {
|
|
3862
3862
|
var s = e.children, r = e.innerProps;
|
|
3863
3863
|
return L("div", r, s);
|
|
3864
|
-
}, gd = Rr,
|
|
3865
|
-
function
|
|
3864
|
+
}, gd = Rr, bd = Rr;
|
|
3865
|
+
function md(t) {
|
|
3866
3866
|
var e = t.children, s = t.innerProps;
|
|
3867
3867
|
return L("div", k({
|
|
3868
3868
|
role: "button"
|
|
@@ -3978,8 +3978,8 @@ var fd = function(e) {
|
|
|
3978
3978
|
NoOptionsMessage: Su,
|
|
3979
3979
|
MultiValue: hd,
|
|
3980
3980
|
MultiValueContainer: gd,
|
|
3981
|
-
MultiValueLabel:
|
|
3982
|
-
MultiValueRemove:
|
|
3981
|
+
MultiValueLabel: bd,
|
|
3982
|
+
MultiValueRemove: md,
|
|
3983
3983
|
Option: xd,
|
|
3984
3984
|
Placeholder: yd,
|
|
3985
3985
|
SelectContainer: Gu,
|
|
@@ -4073,8 +4073,8 @@ var Fd = process.env.NODE_ENV === "production" ? {
|
|
|
4073
4073
|
if (s === "value" && c)
|
|
4074
4074
|
return "value ".concat(l, " focused, ").concat(g(c, r), ".");
|
|
4075
4075
|
if (s === "menu" && d) {
|
|
4076
|
-
var f = a ? " disabled" : "",
|
|
4077
|
-
return "".concat(l).concat(
|
|
4076
|
+
var f = a ? " disabled" : "", m = "".concat(u ? " selected" : "").concat(f);
|
|
4077
|
+
return "".concat(l).concat(m, ", ").concat(g(n, r), ".");
|
|
4078
4078
|
}
|
|
4079
4079
|
return "";
|
|
4080
4080
|
},
|
|
@@ -4083,7 +4083,7 @@ var Fd = process.env.NODE_ENV === "production" ? {
|
|
|
4083
4083
|
return "".concat(r).concat(s ? " for search term " + s : "", ".");
|
|
4084
4084
|
}
|
|
4085
4085
|
}, Vd = function(e) {
|
|
4086
|
-
var s = e.ariaSelection, r = e.focusedOption, n = e.focusedValue, i = e.focusableOptions, l = e.isFocused, c = e.selectValue, a = e.selectProps, u = e.id, d = e.isAppleDevice, g = a.ariaLiveMessages, f = a.getOptionLabel,
|
|
4086
|
+
var s = e.ariaSelection, r = e.focusedOption, n = e.focusedValue, i = e.focusableOptions, l = e.isFocused, c = e.selectValue, a = e.selectProps, u = e.id, d = e.isAppleDevice, g = a.ariaLiveMessages, f = a.getOptionLabel, m = a.inputValue, x = a.isMulti, I = a.isOptionDisabled, h = a.isSearchable, b = a.menuIsOpen, v = a.options, C = a.screenReaderStatus, A = a.tabSelectsValue, E = a.isLoading, F = a["aria-label"], j = a["aria-live"], N = Ue(function() {
|
|
4087
4087
|
return P(P({}, Td), g || {});
|
|
4088
4088
|
}, [g]), T = Ue(function() {
|
|
4089
4089
|
var S = "";
|
|
@@ -4118,20 +4118,20 @@ var Fd = process.env.NODE_ENV === "production" ? {
|
|
|
4118
4118
|
return S;
|
|
4119
4119
|
}, [r, n, f, I, N, i, c, d]), M = Ue(function() {
|
|
4120
4120
|
var S = "";
|
|
4121
|
-
if (
|
|
4121
|
+
if (b && v.length && !E && N.onFilter) {
|
|
4122
4122
|
var O = C({
|
|
4123
4123
|
count: i.length
|
|
4124
4124
|
});
|
|
4125
4125
|
S = N.onFilter({
|
|
4126
|
-
inputValue:
|
|
4126
|
+
inputValue: m,
|
|
4127
4127
|
resultsMessage: O
|
|
4128
4128
|
});
|
|
4129
4129
|
}
|
|
4130
4130
|
return S;
|
|
4131
|
-
}, [i,
|
|
4131
|
+
}, [i, m, b, N, v, C, E]), W = (s == null ? void 0 : s.action) === "initial-input-focus", R = Ue(function() {
|
|
4132
4132
|
var S = "";
|
|
4133
4133
|
if (N.guidance) {
|
|
4134
|
-
var O = n ? "value" :
|
|
4134
|
+
var O = n ? "value" : b ? "menu" : "input";
|
|
4135
4135
|
S = N.guidance({
|
|
4136
4136
|
"aria-label": F,
|
|
4137
4137
|
context: O,
|
|
@@ -4143,7 +4143,7 @@ var Fd = process.env.NODE_ENV === "production" ? {
|
|
|
4143
4143
|
});
|
|
4144
4144
|
}
|
|
4145
4145
|
return S;
|
|
4146
|
-
}, [F, r, n, x, I, h,
|
|
4146
|
+
}, [F, r, n, x, I, h, b, N, c, A, W]), w = L(wn, null, L("span", {
|
|
4147
4147
|
id: "aria-selection"
|
|
4148
4148
|
}, T), L("span", {
|
|
4149
4149
|
id: "aria-focused"
|
|
@@ -4472,28 +4472,28 @@ var Xd = function(e) {
|
|
|
4472
4472
|
e.cancelable && e.preventDefault(), e.stopPropagation();
|
|
4473
4473
|
};
|
|
4474
4474
|
function Md(t) {
|
|
4475
|
-
var e = t.isEnabled, s = t.onBottomArrive, r = t.onBottomLeave, n = t.onTopArrive, i = t.onTopLeave, l = Pe(!1), c = Pe(!1), a = Pe(0), u = Pe(null), d = he(function(h,
|
|
4475
|
+
var e = t.isEnabled, s = t.onBottomArrive, r = t.onBottomLeave, n = t.onTopArrive, i = t.onTopLeave, l = Pe(!1), c = Pe(!1), a = Pe(0), u = Pe(null), d = he(function(h, b) {
|
|
4476
4476
|
if (u.current !== null) {
|
|
4477
|
-
var v = u.current, C = v.scrollTop, A = v.scrollHeight, E = v.clientHeight, F = u.current, j =
|
|
4478
|
-
N >
|
|
4477
|
+
var v = u.current, C = v.scrollTop, A = v.scrollHeight, E = v.clientHeight, F = u.current, j = b > 0, N = A - E - C, T = !1;
|
|
4478
|
+
N > b && l.current && (r && r(h), l.current = !1), j && c.current && (i && i(h), c.current = !1), j && b > N ? (s && !l.current && s(h), F.scrollTop = A, T = !0, l.current = !0) : !j && -b > C && (n && !c.current && n(h), F.scrollTop = 0, T = !0, c.current = !0), T && Xd(h);
|
|
4479
4479
|
}
|
|
4480
4480
|
}, [s, r, n, i]), g = he(function(h) {
|
|
4481
4481
|
d(h, h.deltaY);
|
|
4482
4482
|
}, [d]), f = he(function(h) {
|
|
4483
4483
|
a.current = h.changedTouches[0].clientY;
|
|
4484
|
-
}, []),
|
|
4485
|
-
var
|
|
4486
|
-
d(h,
|
|
4484
|
+
}, []), m = he(function(h) {
|
|
4485
|
+
var b = a.current - h.changedTouches[0].clientY;
|
|
4486
|
+
d(h, b);
|
|
4487
4487
|
}, [d]), x = he(function(h) {
|
|
4488
4488
|
if (h) {
|
|
4489
|
-
var
|
|
4489
|
+
var b = uu ? {
|
|
4490
4490
|
passive: !1
|
|
4491
4491
|
} : !1;
|
|
4492
|
-
h.addEventListener("wheel", g,
|
|
4492
|
+
h.addEventListener("wheel", g, b), h.addEventListener("touchstart", f, b), h.addEventListener("touchmove", m, b);
|
|
4493
4493
|
}
|
|
4494
|
-
}, [
|
|
4495
|
-
h && (h.removeEventListener("wheel", g, !1), h.removeEventListener("touchstart", f, !1), h.removeEventListener("touchmove",
|
|
4496
|
-
}, [
|
|
4494
|
+
}, [m, f, g]), I = he(function(h) {
|
|
4495
|
+
h && (h.removeEventListener("wheel", g, !1), h.removeEventListener("touchstart", f, !1), h.removeEventListener("touchmove", m, !1));
|
|
4496
|
+
}, [m, f, g]);
|
|
4497
4497
|
return Xt(function() {
|
|
4498
4498
|
if (e) {
|
|
4499
4499
|
var h = u.current;
|
|
@@ -4537,11 +4537,11 @@ function zd(t) {
|
|
|
4537
4537
|
var I = d && d[x];
|
|
4538
4538
|
n.current[x] = I;
|
|
4539
4539
|
}), r && wt < 1) {
|
|
4540
|
-
var g = parseInt(n.current.paddingRight, 10) || 0, f = document.body ? document.body.clientWidth : 0,
|
|
4540
|
+
var g = parseInt(n.current.paddingRight, 10) || 0, f = document.body ? document.body.clientWidth : 0, m = window.innerWidth - f + g || 0;
|
|
4541
4541
|
Object.keys(Fs).forEach(function(x) {
|
|
4542
4542
|
var I = Fs[x];
|
|
4543
4543
|
d && (d[x] = I);
|
|
4544
|
-
}), d && (d.paddingRight = "".concat(
|
|
4544
|
+
}), d && (d.paddingRight = "".concat(m, "px"));
|
|
4545
4545
|
}
|
|
4546
4546
|
u && Ls() && (u.addEventListener("touchmove", Ps, dt), a && (a.addEventListener("touchstart", Vs, dt), a.addEventListener("touchmove", Ts, dt))), wt += 1;
|
|
4547
4547
|
}
|
|
@@ -4589,8 +4589,8 @@ function Ud(t) {
|
|
|
4589
4589
|
onTopLeave: a
|
|
4590
4590
|
}), d = zd({
|
|
4591
4591
|
isEnabled: s
|
|
4592
|
-
}), g = function(
|
|
4593
|
-
u(
|
|
4592
|
+
}), g = function(m) {
|
|
4593
|
+
u(m), d(m);
|
|
4594
4594
|
};
|
|
4595
4595
|
return L(wn, null, s && L("div", {
|
|
4596
4596
|
onClick: Jd,
|
|
@@ -4798,7 +4798,7 @@ function Os(t, e) {
|
|
|
4798
4798
|
}), s;
|
|
4799
4799
|
}, []);
|
|
4800
4800
|
}
|
|
4801
|
-
function
|
|
4801
|
+
function b0(t, e) {
|
|
4802
4802
|
return Dr(Ht(t, e));
|
|
4803
4803
|
}
|
|
4804
4804
|
function Ws(t, e) {
|
|
@@ -4809,7 +4809,7 @@ function Ws(t, e) {
|
|
|
4809
4809
|
data: n
|
|
4810
4810
|
}, r);
|
|
4811
4811
|
}
|
|
4812
|
-
function
|
|
4812
|
+
function m0(t, e) {
|
|
4813
4813
|
var s = t.focusedValue, r = t.selectValue, n = r.indexOf(s);
|
|
4814
4814
|
if (n > -1) {
|
|
4815
4815
|
var i = e.indexOf(s);
|
|
@@ -4884,12 +4884,12 @@ var Xr = function(e) {
|
|
|
4884
4884
|
var d = n.props, g = d.onChange, f = d.name;
|
|
4885
4885
|
u.name = f, n.ariaOnChange(a, u), g(a, u);
|
|
4886
4886
|
}, n.setValue = function(a, u, d) {
|
|
4887
|
-
var g = n.props, f = g.closeMenuOnSelect,
|
|
4887
|
+
var g = n.props, f = g.closeMenuOnSelect, m = g.isMulti, x = g.inputValue;
|
|
4888
4888
|
n.onInputChange("", {
|
|
4889
4889
|
action: "set-value",
|
|
4890
4890
|
prevInputValue: x
|
|
4891
4891
|
}), f && (n.setState({
|
|
4892
|
-
inputIsHiddenAfterUpdate: !
|
|
4892
|
+
inputIsHiddenAfterUpdate: !m
|
|
4893
4893
|
}), n.onMenuClose()), n.setState({
|
|
4894
4894
|
clearFocusValueOnUpdate: !0
|
|
4895
4895
|
}), n.onChange(a, {
|
|
@@ -4897,14 +4897,14 @@ var Xr = function(e) {
|
|
|
4897
4897
|
option: d
|
|
4898
4898
|
});
|
|
4899
4899
|
}, n.selectOption = function(a) {
|
|
4900
|
-
var u = n.props, d = u.blurInputOnSelect, g = u.isMulti, f = u.name,
|
|
4900
|
+
var u = n.props, d = u.blurInputOnSelect, g = u.isMulti, f = u.name, m = n.state.selectValue, x = g && n.isOptionSelected(a, m), I = n.isOptionDisabled(a, m);
|
|
4901
4901
|
if (x) {
|
|
4902
4902
|
var h = n.getOptionValue(a);
|
|
4903
|
-
n.setValue(
|
|
4904
|
-
return n.getOptionValue(
|
|
4903
|
+
n.setValue(m.filter(function(b) {
|
|
4904
|
+
return n.getOptionValue(b) !== h;
|
|
4905
4905
|
}), "deselect-option", a);
|
|
4906
4906
|
} else if (!I)
|
|
4907
|
-
g ? n.setValue([].concat(ht(
|
|
4907
|
+
g ? n.setValue([].concat(ht(m), [a]), "select-option", a) : n.setValue(a, "select-option");
|
|
4908
4908
|
else {
|
|
4909
4909
|
n.ariaOnChange(a, {
|
|
4910
4910
|
action: "select-option",
|
|
@@ -4917,8 +4917,8 @@ var Xr = function(e) {
|
|
|
4917
4917
|
}, n.removeValue = function(a) {
|
|
4918
4918
|
var u = n.props.isMulti, d = n.state.selectValue, g = n.getOptionValue(a), f = d.filter(function(x) {
|
|
4919
4919
|
return n.getOptionValue(x) !== g;
|
|
4920
|
-
}),
|
|
4921
|
-
n.onChange(
|
|
4920
|
+
}), m = Bt(u, f, f[0] || null);
|
|
4921
|
+
n.onChange(m, {
|
|
4922
4922
|
action: "remove-value",
|
|
4923
4923
|
removedValue: a
|
|
4924
4924
|
}), n.focusInput();
|
|
@@ -5006,8 +5006,8 @@ var Xr = function(e) {
|
|
|
5006
5006
|
}, n.onTouchMove = function(a) {
|
|
5007
5007
|
var u = a.touches, d = u && u.item(0);
|
|
5008
5008
|
if (d) {
|
|
5009
|
-
var g = Math.abs(d.clientX - n.initialTouchX), f = Math.abs(d.clientY - n.initialTouchY),
|
|
5010
|
-
n.userIsDragging = g >
|
|
5009
|
+
var g = Math.abs(d.clientX - n.initialTouchX), f = Math.abs(d.clientY - n.initialTouchY), m = 5;
|
|
5010
|
+
n.userIsDragging = g > m || f > m;
|
|
5011
5011
|
}
|
|
5012
5012
|
}, n.onTouchEnd = function(a) {
|
|
5013
5013
|
n.userIsDragging || (n.controlRef && !n.controlRef.contains(a.target) && n.menuListRef && !n.menuListRef.contains(a.target) && n.blurInput(), n.initialTouchX = 0, n.initialTouchY = 0);
|
|
@@ -5056,22 +5056,22 @@ var Xr = function(e) {
|
|
|
5056
5056
|
}, n.onValueInputFocus = function(a) {
|
|
5057
5057
|
a.preventDefault(), a.stopPropagation(), n.focus();
|
|
5058
5058
|
}, n.onKeyDown = function(a) {
|
|
5059
|
-
var u = n.props, d = u.isMulti, g = u.backspaceRemovesValue, f = u.escapeClearsValue,
|
|
5060
|
-
if (!I && !(typeof
|
|
5059
|
+
var u = n.props, d = u.isMulti, g = u.backspaceRemovesValue, f = u.escapeClearsValue, m = u.inputValue, x = u.isClearable, I = u.isDisabled, h = u.menuIsOpen, b = u.onKeyDown, v = u.tabSelectsValue, C = u.openMenuOnFocus, A = n.state, E = A.focusedOption, F = A.focusedValue, j = A.selectValue;
|
|
5060
|
+
if (!I && !(typeof b == "function" && (b(a), a.defaultPrevented))) {
|
|
5061
5061
|
switch (n.blockOptionHover = !0, a.key) {
|
|
5062
5062
|
case "ArrowLeft":
|
|
5063
|
-
if (!d ||
|
|
5063
|
+
if (!d || m)
|
|
5064
5064
|
return;
|
|
5065
5065
|
n.focusValue("previous");
|
|
5066
5066
|
break;
|
|
5067
5067
|
case "ArrowRight":
|
|
5068
|
-
if (!d ||
|
|
5068
|
+
if (!d || m)
|
|
5069
5069
|
return;
|
|
5070
5070
|
n.focusValue("next");
|
|
5071
5071
|
break;
|
|
5072
5072
|
case "Delete":
|
|
5073
5073
|
case "Backspace":
|
|
5074
|
-
if (
|
|
5074
|
+
if (m)
|
|
5075
5075
|
return;
|
|
5076
5076
|
if (F)
|
|
5077
5077
|
n.removeValue(F);
|
|
@@ -5103,11 +5103,11 @@ var Xr = function(e) {
|
|
|
5103
5103
|
inputIsHiddenAfterUpdate: !1
|
|
5104
5104
|
}), n.onInputChange("", {
|
|
5105
5105
|
action: "menu-close",
|
|
5106
|
-
prevInputValue:
|
|
5106
|
+
prevInputValue: m
|
|
5107
5107
|
}), n.onMenuClose()) : x && f && n.clearValue();
|
|
5108
5108
|
break;
|
|
5109
5109
|
case " ":
|
|
5110
|
-
if (
|
|
5110
|
+
if (m)
|
|
5111
5111
|
return;
|
|
5112
5112
|
if (!h) {
|
|
5113
5113
|
n.openMenu("first");
|
|
@@ -5281,7 +5281,7 @@ var Xr = function(e) {
|
|
|
5281
5281
|
}, {
|
|
5282
5282
|
key: "getCommonProps",
|
|
5283
5283
|
value: function() {
|
|
5284
|
-
var n = this.clearValue, i = this.cx, l = this.getStyles, c = this.getClassNames, a = this.getValue, u = this.selectOption, d = this.setValue, g = this.props, f = g.isMulti,
|
|
5284
|
+
var n = this.clearValue, i = this.cx, l = this.getStyles, c = this.getClassNames, a = this.getValue, u = this.selectOption, d = this.setValue, g = this.props, f = g.isMulti, m = g.isRtl, x = g.options, I = this.hasValue();
|
|
5285
5285
|
return {
|
|
5286
5286
|
clearValue: n,
|
|
5287
5287
|
cx: i,
|
|
@@ -5290,7 +5290,7 @@ var Xr = function(e) {
|
|
|
5290
5290
|
getValue: a,
|
|
5291
5291
|
hasValue: I,
|
|
5292
5292
|
isMulti: f,
|
|
5293
|
-
isRtl:
|
|
5293
|
+
isRtl: m,
|
|
5294
5294
|
options: x,
|
|
5295
5295
|
selectOption: u,
|
|
5296
5296
|
selectProps: g,
|
|
@@ -5388,7 +5388,7 @@ var Xr = function(e) {
|
|
|
5388
5388
|
// Renderers
|
|
5389
5389
|
// ==============================
|
|
5390
5390
|
function() {
|
|
5391
|
-
var n = this.props, i = n.isDisabled, l = n.isSearchable, c = n.inputId, a = n.inputValue, u = n.tabIndex, d = n.form, g = n.menuIsOpen, f = n.required,
|
|
5391
|
+
var n = this.props, i = n.isDisabled, l = n.isSearchable, c = n.inputId, a = n.inputValue, u = n.tabIndex, d = n.form, g = n.menuIsOpen, f = n.required, m = this.getComponents(), x = m.Input, I = this.state, h = I.inputIsHidden, b = I.ariaSelection, v = this.commonProps, C = c || this.getElementId("input"), A = P(P(P({
|
|
5392
5392
|
"aria-autocomplete": "list",
|
|
5393
5393
|
"aria-expanded": g,
|
|
5394
5394
|
"aria-haspopup": !0,
|
|
@@ -5403,7 +5403,7 @@ var Xr = function(e) {
|
|
|
5403
5403
|
"aria-controls": this.getElementId("listbox")
|
|
5404
5404
|
}), !l && {
|
|
5405
5405
|
"aria-readonly": !0
|
|
5406
|
-
}), this.hasValue() ? (
|
|
5406
|
+
}), this.hasValue() ? (b == null ? void 0 : b.action) === "initial-input-focus" && {
|
|
5407
5407
|
"aria-describedby": this.getElementId("live-region")
|
|
5408
5408
|
} : {
|
|
5409
5409
|
"aria-describedby": this.getElementId("placeholder")
|
|
@@ -5441,9 +5441,9 @@ var Xr = function(e) {
|
|
|
5441
5441
|
}, {
|
|
5442
5442
|
key: "renderPlaceholderOrValue",
|
|
5443
5443
|
value: function() {
|
|
5444
|
-
var n = this, i = this.getComponents(), l = i.MultiValue, c = i.MultiValueContainer, a = i.MultiValueLabel, u = i.MultiValueRemove, d = i.SingleValue, g = i.Placeholder, f = this.commonProps,
|
|
5444
|
+
var n = this, i = this.getComponents(), l = i.MultiValue, c = i.MultiValueContainer, a = i.MultiValueLabel, u = i.MultiValueRemove, d = i.SingleValue, g = i.Placeholder, f = this.commonProps, m = this.props, x = m.controlShouldRenderValue, I = m.isDisabled, h = m.isMulti, b = m.inputValue, v = m.placeholder, C = this.state, A = C.selectValue, E = C.focusedValue, F = C.isFocused;
|
|
5445
5445
|
if (!this.hasValue() || !x)
|
|
5446
|
-
return
|
|
5446
|
+
return b ? null : /* @__PURE__ */ _.createElement(g, k({}, f, {
|
|
5447
5447
|
key: "placeholder",
|
|
5448
5448
|
isDisabled: I,
|
|
5449
5449
|
isFocused: F,
|
|
@@ -5478,7 +5478,7 @@ var Xr = function(e) {
|
|
|
5478
5478
|
data: N
|
|
5479
5479
|
}), n.formatOptionLabel(N, "value"));
|
|
5480
5480
|
});
|
|
5481
|
-
if (
|
|
5481
|
+
if (b)
|
|
5482
5482
|
return null;
|
|
5483
5483
|
var j = A[0];
|
|
5484
5484
|
return /* @__PURE__ */ _.createElement(d, k({}, f, {
|
|
@@ -5549,7 +5549,7 @@ var Xr = function(e) {
|
|
|
5549
5549
|
}, {
|
|
5550
5550
|
key: "renderMenu",
|
|
5551
5551
|
value: function() {
|
|
5552
|
-
var n = this, i = this.getComponents(), l = i.Group, c = i.GroupHeading, a = i.Menu, u = i.MenuList, d = i.MenuPortal, g = i.LoadingMessage, f = i.NoOptionsMessage,
|
|
5552
|
+
var n = this, i = this.getComponents(), l = i.Group, c = i.GroupHeading, a = i.Menu, u = i.MenuList, d = i.MenuPortal, g = i.LoadingMessage, f = i.NoOptionsMessage, m = i.Option, x = this.commonProps, I = this.state.focusedOption, h = this.props, b = h.captureMenuScroll, v = h.inputValue, C = h.isLoading, A = h.loadingMessage, E = h.minMenuHeight, F = h.maxMenuHeight, j = h.menuIsOpen, N = h.menuPlacement, T = h.menuPosition, H = h.menuPortalTarget, M = h.menuShouldBlockScroll, W = h.menuShouldScrollIntoView, R = h.noOptionsMessage, w = h.onMenuScrollToTop, S = h.onMenuScrollToBottom;
|
|
5553
5553
|
if (!j)
|
|
5554
5554
|
return null;
|
|
5555
5555
|
var O = function(pe, Ee) {
|
|
@@ -5567,7 +5567,7 @@ var Xr = function(e) {
|
|
|
5567
5567
|
"aria-selected": n.isAppleDevice ? void 0 : ve
|
|
5568
5568
|
// is not supported on Apple devices
|
|
5569
5569
|
};
|
|
5570
|
-
return /* @__PURE__ */ _.createElement(
|
|
5570
|
+
return /* @__PURE__ */ _.createElement(m, k({}, x, {
|
|
5571
5571
|
innerProps: ke,
|
|
5572
5572
|
data: ge,
|
|
5573
5573
|
isDisabled: we,
|
|
@@ -5632,7 +5632,7 @@ var Xr = function(e) {
|
|
|
5632
5632
|
isLoading: C,
|
|
5633
5633
|
placement: Ie
|
|
5634
5634
|
}), /* @__PURE__ */ _.createElement(Ud, {
|
|
5635
|
-
captureEnabled:
|
|
5635
|
+
captureEnabled: b,
|
|
5636
5636
|
onTopArrive: w,
|
|
5637
5637
|
onBottomArrive: S,
|
|
5638
5638
|
lockEnabled: M
|
|
@@ -5680,7 +5680,7 @@ var Xr = function(e) {
|
|
|
5680
5680
|
value: f
|
|
5681
5681
|
});
|
|
5682
5682
|
} else {
|
|
5683
|
-
var
|
|
5683
|
+
var m = g.length > 0 ? g.map(function(I, h) {
|
|
5684
5684
|
return /* @__PURE__ */ _.createElement("input", {
|
|
5685
5685
|
key: "i-".concat(h),
|
|
5686
5686
|
name: u,
|
|
@@ -5692,7 +5692,7 @@ var Xr = function(e) {
|
|
|
5692
5692
|
type: "hidden",
|
|
5693
5693
|
value: ""
|
|
5694
5694
|
});
|
|
5695
|
-
return /* @__PURE__ */ _.createElement("div", null,
|
|
5695
|
+
return /* @__PURE__ */ _.createElement("div", null, m);
|
|
5696
5696
|
}
|
|
5697
5697
|
else {
|
|
5698
5698
|
var x = g[0] ? this.getOptionValue(g[0]) : "";
|
|
@@ -5721,7 +5721,7 @@ var Xr = function(e) {
|
|
|
5721
5721
|
}, {
|
|
5722
5722
|
key: "render",
|
|
5723
5723
|
value: function() {
|
|
5724
|
-
var n = this.getComponents(), i = n.Control, l = n.IndicatorsContainer, c = n.SelectContainer, a = n.ValueContainer, u = this.props, d = u.className, g = u.id, f = u.isDisabled,
|
|
5724
|
+
var n = this.getComponents(), i = n.Control, l = n.IndicatorsContainer, c = n.SelectContainer, a = n.ValueContainer, u = this.props, d = u.className, g = u.id, f = u.isDisabled, m = u.menuIsOpen, x = this.state.isFocused, I = this.commonProps = this.getCommonProps();
|
|
5725
5725
|
return /* @__PURE__ */ _.createElement(c, k({}, I, {
|
|
5726
5726
|
className: d,
|
|
5727
5727
|
innerProps: {
|
|
@@ -5738,7 +5738,7 @@ var Xr = function(e) {
|
|
|
5738
5738
|
},
|
|
5739
5739
|
isDisabled: f,
|
|
5740
5740
|
isFocused: x,
|
|
5741
|
-
menuIsOpen:
|
|
5741
|
+
menuIsOpen: m
|
|
5742
5742
|
}), /* @__PURE__ */ _.createElement(a, k({}, I, {
|
|
5743
5743
|
isDisabled: f
|
|
5744
5744
|
}), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ _.createElement(l, k({}, I, {
|
|
@@ -5748,9 +5748,9 @@ var Xr = function(e) {
|
|
|
5748
5748
|
}], [{
|
|
5749
5749
|
key: "getDerivedStateFromProps",
|
|
5750
5750
|
value: function(n, i) {
|
|
5751
|
-
var l = i.prevProps, c = i.clearFocusValueOnUpdate, a = i.inputIsHiddenAfterUpdate, u = i.ariaSelection, d = i.isFocused, g = i.prevWasFocused, f = i.instancePrefix,
|
|
5752
|
-
if (l && (x !== l.value ||
|
|
5753
|
-
var A = I ?
|
|
5751
|
+
var l = i.prevProps, c = i.clearFocusValueOnUpdate, a = i.inputIsHiddenAfterUpdate, u = i.ariaSelection, d = i.isFocused, g = i.prevWasFocused, f = i.instancePrefix, m = n.options, x = n.value, I = n.menuIsOpen, h = n.inputValue, b = n.isMulti, v = en(x), C = {};
|
|
5752
|
+
if (l && (x !== l.value || m !== l.options || I !== l.menuIsOpen || h !== l.inputValue)) {
|
|
5753
|
+
var A = I ? b0(n, v) : [], E = I ? Os(Ht(n, v), "".concat(f, "-option")) : [], F = c ? m0(i, v) : null, j = f0(i, A), N = An(E, j);
|
|
5754
5754
|
C = {
|
|
5755
5755
|
selectValue: v,
|
|
5756
5756
|
focusedOption: j,
|
|
@@ -5765,7 +5765,7 @@ var Xr = function(e) {
|
|
|
5765
5765
|
inputIsHiddenAfterUpdate: void 0
|
|
5766
5766
|
} : {}, H = u, M = d && g;
|
|
5767
5767
|
return d && !M && (H = {
|
|
5768
|
-
value: Bt(
|
|
5768
|
+
value: Bt(b, v, v[0] || null),
|
|
5769
5769
|
options: v,
|
|
5770
5770
|
action: "initial-input-focus"
|
|
5771
5771
|
}, M = !g), (u == null ? void 0 : u.action) === "initial-input-focus" && (H = null), P(P(P({}, C), T), {}, {
|
|
@@ -5775,11 +5775,11 @@ var Xr = function(e) {
|
|
|
5775
5775
|
});
|
|
5776
5776
|
}
|
|
5777
5777
|
}]), s;
|
|
5778
|
-
}(
|
|
5778
|
+
}(mo);
|
|
5779
5779
|
qn.defaultProps = g0;
|
|
5780
5780
|
var v0 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
5781
5781
|
function Mr(t) {
|
|
5782
|
-
var e = t.defaultInputValue, s = e === void 0 ? "" : e, r = t.defaultMenuIsOpen, n = r === void 0 ? !1 : r, i = t.defaultValue, l = i === void 0 ? null : i, c = t.inputValue, a = t.menuIsOpen, u = t.onChange, d = t.onInputChange, g = t.onMenuClose, f = t.onMenuOpen,
|
|
5782
|
+
var e = t.defaultInputValue, s = e === void 0 ? "" : e, r = t.defaultMenuIsOpen, n = r === void 0 ? !1 : r, i = t.defaultValue, l = i === void 0 ? null : i, c = t.inputValue, a = t.menuIsOpen, u = t.onChange, d = t.onInputChange, g = t.onMenuClose, f = t.onMenuOpen, m = t.value, x = Ve(t, v0), I = xe(c !== void 0 ? c : s), h = fe(I, 2), b = h[0], v = h[1], C = xe(a !== void 0 ? a : n), A = fe(C, 2), E = A[0], F = A[1], j = xe(m !== void 0 ? m : l), N = fe(j, 2), T = N[0], H = N[1], M = he(function(ce, Be) {
|
|
5783
5783
|
typeof u == "function" && u(ce, Be), H(ce);
|
|
5784
5784
|
}, [u]), W = he(function(ce, Be) {
|
|
5785
5785
|
var Se;
|
|
@@ -5788,7 +5788,7 @@ function Mr(t) {
|
|
|
5788
5788
|
typeof f == "function" && f(), F(!0);
|
|
5789
5789
|
}, [f]), w = he(function() {
|
|
5790
5790
|
typeof g == "function" && g(), F(!1);
|
|
5791
|
-
}, [g]), S = c !== void 0 ? c :
|
|
5791
|
+
}, [g]), S = c !== void 0 ? c : b, O = a !== void 0 ? a : E, te = m !== void 0 ? m : T;
|
|
5792
5792
|
return P(P({}, x), {}, {
|
|
5793
5793
|
inputValue: S,
|
|
5794
5794
|
menuIsOpen: O,
|
|
@@ -5803,7 +5803,7 @@ var I0 = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading
|
|
|
5803
5803
|
function x0(t) {
|
|
5804
5804
|
var e = t.defaultOptions, s = e === void 0 ? !1 : e, r = t.cacheOptions, n = r === void 0 ? !1 : r, i = t.loadOptions;
|
|
5805
5805
|
t.options;
|
|
5806
|
-
var l = t.isLoading, c = l === void 0 ? !1 : l, a = t.onInputChange, u = t.filterOption, d = u === void 0 ? null : u, g = Ve(t, I0), f = g.inputValue,
|
|
5806
|
+
var l = t.isLoading, c = l === void 0 ? !1 : l, a = t.onInputChange, u = t.filterOption, d = u === void 0 ? null : u, g = Ve(t, I0), f = g.inputValue, m = Pe(void 0), x = Pe(!1), I = xe(Array.isArray(s) ? s : void 0), h = fe(I, 2), b = h[0], v = h[1], C = xe(typeof f < "u" ? f : ""), A = fe(C, 2), E = A[0], F = A[1], j = xe(s === !0), N = fe(j, 2), T = N[0], H = N[1], M = xe(void 0), W = fe(M, 2), R = W[0], w = W[1], S = xe([]), O = fe(S, 2), te = O[0], ce = O[1], Be = xe(!1), Se = fe(Be, 2), We = Se[0], J = Se[1], pe = xe({}), Ee = fe(pe, 2), Ie = Ee[0], ge = Ee[1], we = xe(void 0), ve = fe(we, 2), Le = ve[0], ze = ve[1], ot = xe(void 0), Ye = fe(ot, 2), yt = Ye[0], it = Ye[1];
|
|
5807
5807
|
n !== yt && (ge({}), it(n)), s !== Le && (v(Array.isArray(s) ? s : void 0), ze(s)), Xt(function() {
|
|
5808
5808
|
return x.current = !0, function() {
|
|
5809
5809
|
x.current = !1;
|
|
@@ -5819,24 +5819,24 @@ function x0(t) {
|
|
|
5819
5819
|
}, [i]);
|
|
5820
5820
|
Xt(function() {
|
|
5821
5821
|
s === !0 && ke(E, function(Je) {
|
|
5822
|
-
x.current && (v(Je || []), H(!!
|
|
5822
|
+
x.current && (v(Je || []), H(!!m.current));
|
|
5823
5823
|
});
|
|
5824
5824
|
}, []);
|
|
5825
5825
|
var at = he(function(Je, Fe) {
|
|
5826
5826
|
var Ce = su(Je, Fe, a);
|
|
5827
5827
|
if (!Ce) {
|
|
5828
|
-
|
|
5828
|
+
m.current = void 0, F(""), w(""), ce([]), H(!1), J(!1);
|
|
5829
5829
|
return;
|
|
5830
5830
|
}
|
|
5831
5831
|
if (n && Ie[Ce])
|
|
5832
5832
|
F(Ce), w(Ce), ce(Ie[Ce]), H(!1), J(!1);
|
|
5833
5833
|
else {
|
|
5834
|
-
var ln =
|
|
5834
|
+
var ln = m.current = {};
|
|
5835
5835
|
F(Ce), H(!0), J(!R), ke(Ce, function(tt) {
|
|
5836
|
-
x && ln ===
|
|
5836
|
+
x && ln === m.current && (m.current = void 0, H(!1), w(Ce), ce(tt || []), J(!1), ge(tt ? P(P({}, Ie), {}, mt({}, Ce, tt)) : Ie));
|
|
5837
5837
|
});
|
|
5838
5838
|
}
|
|
5839
|
-
}, [n, ke, R, Ie, a]), Vt = We ? [] : E && R ? te :
|
|
5839
|
+
}, [n, ke, R, Ie, a]), Vt = We ? [] : E && R ? te : b || [];
|
|
5840
5840
|
return P(P({}, g), {}, {
|
|
5841
5841
|
options: Vt,
|
|
5842
5842
|
isLoading: T || c,
|
|
@@ -5850,7 +5850,7 @@ var C0 = /* @__PURE__ */ Qs(function(t, e) {
|
|
|
5850
5850
|
ref: e
|
|
5851
5851
|
}, r));
|
|
5852
5852
|
}), _0 = C0;
|
|
5853
|
-
function
|
|
5853
|
+
function Jm({
|
|
5854
5854
|
options: t,
|
|
5855
5855
|
onChange: e,
|
|
5856
5856
|
name: s,
|
|
@@ -5864,11 +5864,11 @@ function Jb({
|
|
|
5864
5864
|
menuPlacement: d,
|
|
5865
5865
|
errorMsg: g,
|
|
5866
5866
|
extraProps: f,
|
|
5867
|
-
isDisabled:
|
|
5867
|
+
isDisabled: m = !1,
|
|
5868
5868
|
isSearchable: x = !0,
|
|
5869
5869
|
isMulti: I = !1,
|
|
5870
5870
|
isClearable: h = !1,
|
|
5871
|
-
customValue:
|
|
5871
|
+
customValue: b
|
|
5872
5872
|
}) {
|
|
5873
5873
|
return /* @__PURE__ */ o.jsxs(
|
|
5874
5874
|
"div",
|
|
@@ -5880,7 +5880,7 @@ function Jb({
|
|
|
5880
5880
|
/* @__PURE__ */ o.jsx(
|
|
5881
5881
|
_0,
|
|
5882
5882
|
{
|
|
5883
|
-
value:
|
|
5883
|
+
value: b,
|
|
5884
5884
|
isMulti: I,
|
|
5885
5885
|
placeholder: i,
|
|
5886
5886
|
defaultValue: c,
|
|
@@ -5902,7 +5902,7 @@ function Jb({
|
|
|
5902
5902
|
ClearIndicator: Mn,
|
|
5903
5903
|
SingleValue: Yn
|
|
5904
5904
|
},
|
|
5905
|
-
isDisabled:
|
|
5905
|
+
isDisabled: m,
|
|
5906
5906
|
onChange: (v, C) => {
|
|
5907
5907
|
e(
|
|
5908
5908
|
I ? v.map((A) => A.value) : (v == null ? void 0 : v.value) ?? "",
|
|
@@ -5942,14 +5942,14 @@ var y0 = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel"
|
|
|
5942
5942
|
}
|
|
5943
5943
|
};
|
|
5944
5944
|
function A0(t) {
|
|
5945
|
-
var e = t.allowCreateWhileLoading, s = e === void 0 ? !1 : e, r = t.createOptionPosition, n = r === void 0 ? "last" : r, i = t.formatCreateLabel, l = i === void 0 ? Nn.formatCreateLabel : i, c = t.isValidNewOption, a = c === void 0 ? Nn.isValidNewOption : c, u = t.getNewOptionData, d = u === void 0 ? Nn.getNewOptionData : u, g = t.onCreateOption, f = t.options,
|
|
5946
|
-
return a(A, en(j),
|
|
5947
|
-
getOptionValue:
|
|
5945
|
+
var e = t.allowCreateWhileLoading, s = e === void 0 ? !1 : e, r = t.createOptionPosition, n = r === void 0 ? "last" : r, i = t.formatCreateLabel, l = i === void 0 ? Nn.formatCreateLabel : i, c = t.isValidNewOption, a = c === void 0 ? Nn.isValidNewOption : c, u = t.getNewOptionData, d = u === void 0 ? Nn.getNewOptionData : u, g = t.onCreateOption, f = t.options, m = f === void 0 ? [] : f, x = t.onChange, I = Ve(t, y0), h = I.getOptionValue, b = h === void 0 ? Lr : h, v = I.getOptionLabel, C = v === void 0 ? Vr : v, A = I.inputValue, E = I.isLoading, F = I.isMulti, j = I.value, N = I.name, T = Ue(function() {
|
|
5946
|
+
return a(A, en(j), m, {
|
|
5947
|
+
getOptionValue: b,
|
|
5948
5948
|
getOptionLabel: C
|
|
5949
5949
|
}) ? d(A, l(A)) : void 0;
|
|
5950
|
-
}, [l, d, C,
|
|
5951
|
-
return (s || !E) && T ? n === "first" ? [T].concat(ht(
|
|
5952
|
-
}, [s, n, E, T,
|
|
5950
|
+
}, [l, d, C, b, A, a, m, j]), H = Ue(function() {
|
|
5951
|
+
return (s || !E) && T ? n === "first" ? [T].concat(ht(m)) : [].concat(ht(m), [T]) : m;
|
|
5952
|
+
}, [s, n, E, T, m]), M = he(function(W, R) {
|
|
5953
5953
|
if (R.action !== "select-option")
|
|
5954
5954
|
return x(W, R);
|
|
5955
5955
|
var w = Array.isArray(W) ? W : [W];
|
|
@@ -5979,7 +5979,7 @@ var N0 = /* @__PURE__ */ Qs(function(t, e) {
|
|
|
5979
5979
|
ref: e
|
|
5980
5980
|
}, r));
|
|
5981
5981
|
}), S0 = N0;
|
|
5982
|
-
function $
|
|
5982
|
+
function $m({
|
|
5983
5983
|
options: t,
|
|
5984
5984
|
onChange: e,
|
|
5985
5985
|
name: s,
|
|
@@ -5993,11 +5993,11 @@ function $b({
|
|
|
5993
5993
|
menuPlacement: d,
|
|
5994
5994
|
errorMsg: g,
|
|
5995
5995
|
extraprops: f,
|
|
5996
|
-
isDisabled:
|
|
5996
|
+
isDisabled: m = !1,
|
|
5997
5997
|
isSearchable: x = !0,
|
|
5998
5998
|
isMulti: I = !1,
|
|
5999
5999
|
isClearable: h = !1,
|
|
6000
|
-
createNewOption:
|
|
6000
|
+
createNewOption: b,
|
|
6001
6001
|
refetchOptions: v = () => {
|
|
6002
6002
|
}
|
|
6003
6003
|
}) {
|
|
@@ -6030,14 +6030,14 @@ function $b({
|
|
|
6030
6030
|
ClearIndicator: Mn,
|
|
6031
6031
|
SingleValue: Yn
|
|
6032
6032
|
},
|
|
6033
|
-
isDisabled:
|
|
6033
|
+
isDisabled: m,
|
|
6034
6034
|
onChange: async (C) => {
|
|
6035
6035
|
if (C)
|
|
6036
6036
|
if (I) {
|
|
6037
6037
|
const A = C.filter((j) => j.__isNew__), E = C.filter((j) => !j.__isNew__);
|
|
6038
6038
|
let F = E;
|
|
6039
6039
|
if (A.length > 0) {
|
|
6040
|
-
const j = await
|
|
6040
|
+
const j = await b(
|
|
6041
6041
|
A.map((N) => N.value)
|
|
6042
6042
|
);
|
|
6043
6043
|
j && (C = C.map((N) => (N.__isNew__ && (N.value = j[0].value, delete N.__isNew__), N)), await v(), F = [...E, ...j]);
|
|
@@ -6049,7 +6049,7 @@ function $b({
|
|
|
6049
6049
|
} else {
|
|
6050
6050
|
let A;
|
|
6051
6051
|
if (C.__isNew__) {
|
|
6052
|
-
const E = await
|
|
6052
|
+
const E = await b(C.value);
|
|
6053
6053
|
await v(), delete C.__isNew__, A = E.value;
|
|
6054
6054
|
} else
|
|
6055
6055
|
A = C.value;
|
|
@@ -6075,7 +6075,7 @@ const E0 = "_checkbox_1d08w_1", w0 = "_disabled_1d08w_11", j0 = "_checkboxInput_
|
|
|
6075
6075
|
indeterminate: R0,
|
|
6076
6076
|
errorMsg: F0
|
|
6077
6077
|
};
|
|
6078
|
-
function
|
|
6078
|
+
function Um({
|
|
6079
6079
|
id: t,
|
|
6080
6080
|
name: e,
|
|
6081
6081
|
children: s,
|
|
@@ -6140,7 +6140,7 @@ const P0 = "_progressContainer_gc4j9_1", T0 = "_header_gc4j9_6", V0 = "_steps_gc
|
|
|
6140
6140
|
body: M0,
|
|
6141
6141
|
footer: z0
|
|
6142
6142
|
}, Y0 = "data:image/svg+xml,%3csvg%20width='9'%20height='7'%20viewBox='0%200%209%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.31.22a.75.75%200%200%201%200%201.06L3.28%206.25a.75.75%200%200%201-1.06%200l-2-2a.75.75%200%201%201%201.06-1.06l1.47%201.469%204.5-4.44a.75.75%200%200%201%201.06%200Z'%20fill='%23fff'/%3e%3c/svg%3e";
|
|
6143
|
-
function
|
|
6143
|
+
function Qm({
|
|
6144
6144
|
steps: t,
|
|
6145
6145
|
onCancelClick: e,
|
|
6146
6146
|
onFinalStepClick: s,
|
|
@@ -6156,25 +6156,25 @@ function Qb({
|
|
|
6156
6156
|
onSkipClick: f = () => {
|
|
6157
6157
|
}
|
|
6158
6158
|
}) {
|
|
6159
|
-
const [
|
|
6159
|
+
const [m, x] = _.useState(0), [I, h] = _.useState(!1), b = m === t.length - 1, v = t[m].isError;
|
|
6160
6160
|
_.useEffect(() => {
|
|
6161
6161
|
x(g);
|
|
6162
6162
|
}, [g]);
|
|
6163
6163
|
const C = async () => {
|
|
6164
|
-
const N = t[
|
|
6164
|
+
const N = t[m].onContinueClick;
|
|
6165
6165
|
try {
|
|
6166
|
-
N ? N.constructor && N.constructor.name === "AsyncFunction" ? (await N(), A()) : (N(), A()) :
|
|
6166
|
+
N ? N.constructor && N.constructor.name === "AsyncFunction" ? (await N(), A()) : (N(), A()) : b && (s(), h(!0));
|
|
6167
6167
|
} catch {
|
|
6168
6168
|
return;
|
|
6169
6169
|
}
|
|
6170
6170
|
}, A = () => {
|
|
6171
|
-
|
|
6171
|
+
b && !v ? (s(), h(!0)) : m < t.length - 1 && !v && x(m + 1);
|
|
6172
6172
|
}, E = () => {
|
|
6173
|
-
x(
|
|
6173
|
+
x(m - 1), h(!1);
|
|
6174
6174
|
}, F = (N) => {
|
|
6175
|
-
u && N <
|
|
6175
|
+
u && N < m && x(N);
|
|
6176
6176
|
}, j = () => {
|
|
6177
|
-
f(), x(
|
|
6177
|
+
f(), x(m + 1);
|
|
6178
6178
|
};
|
|
6179
6179
|
return /* @__PURE__ */ o.jsxs("div", { className: ye.progressContainer, children: [
|
|
6180
6180
|
/* @__PURE__ */ o.jsxs("div", { className: ye.header, children: [
|
|
@@ -6186,28 +6186,28 @@ function Qb({
|
|
|
6186
6186
|
{
|
|
6187
6187
|
className: G(
|
|
6188
6188
|
ye.circle,
|
|
6189
|
-
|
|
6190
|
-
(T <
|
|
6189
|
+
m === T && !I && ye.active,
|
|
6190
|
+
(T < m || I) && ye.completed
|
|
6191
6191
|
),
|
|
6192
|
-
children: T <
|
|
6192
|
+
children: T < m || I ? /* @__PURE__ */ o.jsx(X, { path: Y0, width: 20 }) : T + 1
|
|
6193
6193
|
}
|
|
6194
6194
|
),
|
|
6195
|
-
/* @__PURE__ */ o.jsx("div", { className: G(ye.label,
|
|
6195
|
+
/* @__PURE__ */ o.jsx("div", { className: G(ye.label, m === T && ye.active), children: N.label })
|
|
6196
6196
|
] })
|
|
6197
6197
|
] }, T)) }),
|
|
6198
6198
|
l && /* @__PURE__ */ o.jsxs("div", { className: ye.btnsFlex, children: [
|
|
6199
6199
|
/* @__PURE__ */ o.jsx(Q, { variant: je.SECONDARY, onClick: e, children: "Cancel" }),
|
|
6200
|
-
i &&
|
|
6201
|
-
/* @__PURE__ */ o.jsx(Q, { onClick: C, children:
|
|
6200
|
+
i && m === r && /* @__PURE__ */ o.jsx(Q, { onClick: j, variant: je.GHOST, children: d }),
|
|
6201
|
+
/* @__PURE__ */ o.jsx(Q, { onClick: C, children: b ? a : "Continue" })
|
|
6202
6202
|
] })
|
|
6203
6203
|
] }),
|
|
6204
|
-
/* @__PURE__ */ o.jsx("div", { className: ye.body, children: t[
|
|
6204
|
+
/* @__PURE__ */ o.jsx("div", { className: ye.body, children: t[m].component }),
|
|
6205
6205
|
c && /* @__PURE__ */ o.jsxs("div", { className: ye.footer, children: [
|
|
6206
6206
|
/* @__PURE__ */ o.jsx(Q, { variant: je.SECONDARY, onClick: e, children: "Cancel" }),
|
|
6207
6207
|
/* @__PURE__ */ o.jsxs("div", { className: ye.btnsFlex, children: [
|
|
6208
|
-
|
|
6209
|
-
i &&
|
|
6210
|
-
/* @__PURE__ */ o.jsx(Q, { onClick: C, children:
|
|
6208
|
+
m > 0 && /* @__PURE__ */ o.jsx(Q, { variant: je.SECONDARY, onClick: E, children: "Back" }),
|
|
6209
|
+
i && m === r && /* @__PURE__ */ o.jsx(Q, { onClick: j, variant: je.GHOST, children: d }),
|
|
6210
|
+
/* @__PURE__ */ o.jsx(Q, { onClick: C, children: b ? n : "Continue" })
|
|
6211
6211
|
] })
|
|
6212
6212
|
] })
|
|
6213
6213
|
] });
|
|
@@ -6218,7 +6218,7 @@ const J0 = "_segmentedControl_11npz_1", $0 = "_root_11npz_6", U0 = "_radio_11npz
|
|
|
6218
6218
|
radio: U0,
|
|
6219
6219
|
radioLabel: Q0
|
|
6220
6220
|
};
|
|
6221
|
-
function
|
|
6221
|
+
function Km({ items: t, defaultValue: e, handleOnChange: s }) {
|
|
6222
6222
|
var l, c;
|
|
6223
6223
|
const [r, n] = ae(
|
|
6224
6224
|
zt.machine({
|
|
@@ -6266,7 +6266,7 @@ const K0 = "_labelContainer_mkssk_1", q0 = "_heading_mkssk_5", ep = "_optionsCon
|
|
|
6266
6266
|
infoIcon: lp,
|
|
6267
6267
|
infoIconSpan: cp
|
|
6268
6268
|
};
|
|
6269
|
-
function
|
|
6269
|
+
function qm({
|
|
6270
6270
|
items: t,
|
|
6271
6271
|
radioHeading: e,
|
|
6272
6272
|
defaultValue: s,
|
|
@@ -6313,7 +6313,7 @@ function qb({
|
|
|
6313
6313
|
/* @__PURE__ */ o.jsx(Qe.Trigger, { children: d.tooltip.trigger ? d.tooltip.trigger : /* @__PURE__ */ o.jsx(
|
|
6314
6314
|
X,
|
|
6315
6315
|
{
|
|
6316
|
-
path:
|
|
6316
|
+
path: br,
|
|
6317
6317
|
svgClassName: Ae.infoIcon,
|
|
6318
6318
|
spanClassName: Ae.infoIconSpan
|
|
6319
6319
|
}
|
|
@@ -6359,11 +6359,11 @@ function e2({ tabs: t, defaultValue: e, tabClassName: s, onValueChange: r }) {
|
|
|
6359
6359
|
t.map((c) => /* @__PURE__ */ jn("div", { ...l.getContentProps({ value: c.value }), key: c.value }, c.content))
|
|
6360
6360
|
] });
|
|
6361
6361
|
}
|
|
6362
|
-
const pp = "_box_27130_1", gp = "_ldsRing_27130_10",
|
|
6362
|
+
const pp = "_box_27130_1", gp = "_ldsRing_27130_10", bp = "_ldsDualRing_27130_48", mp = "_ldsRipple_27130_74", fp = "_ldsEllipsis_27130_122", hp = "_ldsRoller_27130_179", vp = "_ldsSpinner_27130_265", Ip = "_ldsHourglass_27130_345", xp = "_ldsGrid_27130_378", Me = {
|
|
6363
6363
|
box: pp,
|
|
6364
6364
|
ldsRing: gp,
|
|
6365
|
-
ldsDualRing:
|
|
6366
|
-
ldsRipple:
|
|
6365
|
+
ldsDualRing: bp,
|
|
6366
|
+
ldsRipple: mp,
|
|
6367
6367
|
ldsEllipsis: fp,
|
|
6368
6368
|
"lds-ellipsis1": "_lds-ellipsis1_27130_1",
|
|
6369
6369
|
"lds-ellipsis2": "_lds-ellipsis2_27130_1",
|
|
@@ -6667,7 +6667,7 @@ function sg({
|
|
|
6667
6667
|
c.text
|
|
6668
6668
|
)) }) }) });
|
|
6669
6669
|
}
|
|
6670
|
-
const rg = "_filters_3adfg_1", og = "_filtersInfo_3adfg_7", ig = "_filter_3adfg_1", ag = "_filterIcon2_3adfg_26", lg = "_filterCol_3adfg_30", cg = "_filterIcon_3adfg_26", ug = "_resetIcon2_3adfg_48", dg = "_totalSelected_3adfg_74", pg = "_positioner_3adfg_86", gg = "_dropdown_3adfg_90",
|
|
6670
|
+
const rg = "_filters_3adfg_1", og = "_filtersInfo_3adfg_7", ig = "_filter_3adfg_1", ag = "_filterIcon2_3adfg_26", lg = "_filterCol_3adfg_30", cg = "_filterIcon_3adfg_26", ug = "_resetIcon2_3adfg_48", dg = "_totalSelected_3adfg_74", pg = "_positioner_3adfg_86", gg = "_dropdown_3adfg_90", bg = "_options_3adfg_107", mg = "_optionsEmpty_3adfg_115", fg = "_option_3adfg_107", hg = "_dropdownSearch_3adfg_140", vg = "_footerBox_3adfg_149", Ig = "_footer_3adfg_149", xg = "_resetBtn_3adfg_170", Cg = "_optionLabel_3adfg_193", _g = "_filterTooltip_3adfg_229", yg = "_filterValue_3adfg_245", Ag = "_filterTooltipTrigger_3adfg_259", q = {
|
|
6671
6671
|
filters: rg,
|
|
6672
6672
|
filtersInfo: og,
|
|
6673
6673
|
filter: ig,
|
|
@@ -6678,8 +6678,8 @@ const rg = "_filters_3adfg_1", og = "_filtersInfo_3adfg_7", ig = "_filter_3adfg_
|
|
|
6678
6678
|
totalSelected: dg,
|
|
6679
6679
|
positioner: pg,
|
|
6680
6680
|
dropdown: gg,
|
|
6681
|
-
options:
|
|
6682
|
-
optionsEmpty:
|
|
6681
|
+
options: bg,
|
|
6682
|
+
optionsEmpty: mg,
|
|
6683
6683
|
option: fg,
|
|
6684
6684
|
dropdownSearch: hg,
|
|
6685
6685
|
footerBox: vg,
|
|
@@ -6759,13 +6759,13 @@ function Eg({
|
|
|
6759
6759
|
resetFilters: i,
|
|
6760
6760
|
filterDispatch: l
|
|
6761
6761
|
}) {
|
|
6762
|
-
var h,
|
|
6762
|
+
var h, b;
|
|
6763
6763
|
const [c, a] = _.useState(""), [u, d] = ae(
|
|
6764
6764
|
vt.machine({
|
|
6765
6765
|
id: t.id,
|
|
6766
6766
|
closeOnSelect: !1
|
|
6767
6767
|
})
|
|
6768
|
-
), g = vt.connect(u, d, le), f = t == null ? void 0 : t.options.filter((v) => v.name ? v.name.toLowerCase().includes(c.toLowerCase()) : !1),
|
|
6768
|
+
), g = vt.connect(u, d, le), f = t == null ? void 0 : t.options.filter((v) => v.name ? v.name.toLowerCase().includes(c.toLowerCase()) : !1), m = s == null ? void 0 : s.values.length, x = () => {
|
|
6769
6769
|
i(s == null ? void 0 : s.key, l), g.close();
|
|
6770
6770
|
}, I = (v) => {
|
|
6771
6771
|
let C = !1;
|
|
@@ -6790,7 +6790,7 @@ function Eg({
|
|
|
6790
6790
|
{
|
|
6791
6791
|
filter: t,
|
|
6792
6792
|
tableFilter: s,
|
|
6793
|
-
selectedFilters:
|
|
6793
|
+
selectedFilters: m
|
|
6794
6794
|
}
|
|
6795
6795
|
),
|
|
6796
6796
|
/* @__PURE__ */ o.jsx(X, { path: et, svgClassName: q.filterIcon2 })
|
|
@@ -6805,7 +6805,7 @@ function Eg({
|
|
|
6805
6805
|
id: "filter-search",
|
|
6806
6806
|
search: c,
|
|
6807
6807
|
setSearch: a,
|
|
6808
|
-
placeholder: ((
|
|
6808
|
+
placeholder: ((b = t.config) == null ? void 0 : b.placeholder) || "Search"
|
|
6809
6809
|
}
|
|
6810
6810
|
) }),
|
|
6811
6811
|
/* @__PURE__ */ o.jsx("div", { className: q.options, children: f.length === 0 ? /* @__PURE__ */ o.jsx("div", { className: q.optionsEmpty, children: "No results found" }) : f.map((v, C) => /* @__PURE__ */ o.jsx(
|
|
@@ -6883,12 +6883,12 @@ function wg({ filterConfig: t, filters: e }) {
|
|
|
6883
6883
|
}));
|
|
6884
6884
|
return _.useEffect(() => {
|
|
6885
6885
|
!(e != null && e.length) || s || c((e == null ? void 0 : e.map((f) => ({ key: f.key, values: [] }))) || []);
|
|
6886
|
-
}, [e == null ? void 0 : e.length, s]), !e || !e.length ? null : r ? /* @__PURE__ */ o.jsx("div", { className: q.filtersInfo, children: "Error getting filters" }) : s ? /* @__PURE__ */ o.jsx("div", { className: q.filtersInfo, children: "Getting filters..." }) : /* @__PURE__ */ o.jsx("div", { className: q.filters, children: e.map((f,
|
|
6886
|
+
}, [e == null ? void 0 : e.length, s]), !e || !e.length ? null : r ? /* @__PURE__ */ o.jsx("div", { className: q.filtersInfo, children: "Error getting filters" }) : s ? /* @__PURE__ */ o.jsx("div", { className: q.filtersInfo, children: "Getting filters..." }) : /* @__PURE__ */ o.jsx("div", { className: q.filters, children: e.map((f, m) => /* @__PURE__ */ o.jsx(
|
|
6887
6887
|
Eg,
|
|
6888
6888
|
{
|
|
6889
6889
|
filter: f,
|
|
6890
6890
|
tableFilters: l,
|
|
6891
|
-
tableFilter: l[
|
|
6891
|
+
tableFilter: l[m],
|
|
6892
6892
|
addFilters: a,
|
|
6893
6893
|
removeFilters: u,
|
|
6894
6894
|
resetFilters: d,
|
|
@@ -6915,11 +6915,11 @@ function Gg({
|
|
|
6915
6915
|
name: t,
|
|
6916
6916
|
checked: s,
|
|
6917
6917
|
onCheckedChange: ({ checked: f }) => {
|
|
6918
|
-
a(!0), l(e === "all" ? (
|
|
6919
|
-
...
|
|
6920
|
-
[r]:
|
|
6921
|
-
}) : (
|
|
6922
|
-
const x = { ...
|
|
6918
|
+
a(!0), l(e === "all" ? (m) => ({
|
|
6919
|
+
...m,
|
|
6920
|
+
[r]: m[r].map((x) => ({ ...x, checked: f }))
|
|
6921
|
+
}) : (m) => {
|
|
6922
|
+
const x = { ...m };
|
|
6923
6923
|
return x[r][c] = { label: t, value: e, checked: f }, x;
|
|
6924
6924
|
});
|
|
6925
6925
|
}
|
|
@@ -6946,7 +6946,7 @@ function Gg({
|
|
|
6946
6946
|
/* @__PURE__ */ o.jsx("input", { ...g.hiddenInputProps })
|
|
6947
6947
|
] });
|
|
6948
6948
|
}
|
|
6949
|
-
const Rg = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.25%208A.75.75%200%200%201%204%207.25h16a.75.75%200%200%201%200%201.5H4A.75.75%200%200%201%203.25%208Zm3%204a.75.75%200%200%201%20.75-.75h10a.75.75%200%200%201%200%201.5H7a.75.75%200%200%201-.75-.75Zm3%204a.75.75%200%200%201%20.75-.75h4a.75.75%200%200%201%200%201.5h-4a.75.75%200%200%201-.75-.75Z'%20fill='%23B3B2B8'/%3e%3c/svg%3e", Fg = "_actionCommon_13wir_1", Pg = "_filterBtn_13wir_19", Tg = "_backdrop_13wir_29", Vg = "_content_13wir_42", Lg = "_title_13wir_72", kg = "_closeIconSpan_13wir_83", Dg = "_closeIcon_13wir_83", Og = "_footer_13wir_103", Wg = "_filterBox_13wir_116", Hg = "_filters_13wir_122", Zg = "_filter_13wir_19", Xg = "_active_13wir_135", Mg = "_filterSingle_13wir_156", zg = "_options_13wir_167", Yg = "_option_13wir_167", Jg = "_dropdownSearch_13wir_184", $g = "_totalSelected_13wir_193",
|
|
6949
|
+
const Rg = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.25%208A.75.75%200%200%201%204%207.25h16a.75.75%200%200%201%200%201.5H4A.75.75%200%200%201%203.25%208Zm3%204a.75.75%200%200%201%20.75-.75h10a.75.75%200%200%201%200%201.5H7a.75.75%200%200%201-.75-.75Zm3%204a.75.75%200%200%201%20.75-.75h4a.75.75%200%200%201%200%201.5h-4a.75.75%200%200%201-.75-.75Z'%20fill='%23B3B2B8'/%3e%3c/svg%3e", Fg = "_actionCommon_13wir_1", Pg = "_filterBtn_13wir_19", Tg = "_backdrop_13wir_29", Vg = "_content_13wir_42", Lg = "_title_13wir_72", kg = "_closeIconSpan_13wir_83", Dg = "_closeIcon_13wir_83", Og = "_footer_13wir_103", Wg = "_filterBox_13wir_116", Hg = "_filters_13wir_122", Zg = "_filter_13wir_19", Xg = "_active_13wir_135", Mg = "_filterSingle_13wir_156", zg = "_options_13wir_167", Yg = "_option_13wir_167", Jg = "_dropdownSearch_13wir_184", $g = "_totalSelected_13wir_193", me = {
|
|
6950
6950
|
actionCommon: Fg,
|
|
6951
6951
|
filterBtn: Pg,
|
|
6952
6952
|
backdrop: Tg,
|
|
@@ -6994,31 +6994,31 @@ function Qg({ filterConfig: t }) {
|
|
|
6994
6994
|
setDefaultFilters: w.setDefaultFilters,
|
|
6995
6995
|
resetAllFilters: w.resetAllFilters,
|
|
6996
6996
|
changeFiltersDrawer: w.changeFiltersDrawer
|
|
6997
|
-
})), a = sn((w) => w.filters), { isLoading: u, isError: d, headerFilterIds: g, filterDispatch: f } = t, [
|
|
6997
|
+
})), a = sn((w) => w.filters), { isLoading: u, isError: d, headerFilterIds: g, filterDispatch: f } = t, [m, x] = _.useState(!1), [I, h] = ae(
|
|
6998
6998
|
xt.machine({
|
|
6999
6999
|
id: "charizard-table-filters",
|
|
7000
7000
|
onOpenChange(w) {
|
|
7001
7001
|
w.open || (s({}), x(!1));
|
|
7002
7002
|
}
|
|
7003
7003
|
})
|
|
7004
|
-
),
|
|
7004
|
+
), b = (H = t.filters) != null && H.drawer ? t.filters.drawer : [], v = (M = t.filters) != null && M.header ? t.filters.header.map((w) => w.key) : [], [C, A] = _.useState(b[0]), E = xt.connect(I, h, le);
|
|
7005
7005
|
_.useEffect(() => {
|
|
7006
7006
|
var S, O;
|
|
7007
|
-
if (!(
|
|
7007
|
+
if (!(b != null && b.length) || u)
|
|
7008
7008
|
return;
|
|
7009
7009
|
const w = (te) => ({ key: te.key, values: [] });
|
|
7010
7010
|
i(
|
|
7011
|
-
[...((O = (S = t.filters) == null ? void 0 : S.header) == null ? void 0 : O.map(w)) || [], ...
|
|
7011
|
+
[...((O = (S = t.filters) == null ? void 0 : S.header) == null ? void 0 : O.map(w)) || [], ...b == null ? void 0 : b.map(w)]
|
|
7012
7012
|
);
|
|
7013
|
-
}, [
|
|
7013
|
+
}, [b == null ? void 0 : b.length, u]);
|
|
7014
7014
|
const F = C == null ? void 0 : C.options.filter((w) => w.name ? w.name.toLowerCase().includes(r.toLowerCase()) : !1).map((w) => w.value);
|
|
7015
7015
|
_.useEffect(() => {
|
|
7016
|
-
if (!
|
|
7016
|
+
if (!b.length)
|
|
7017
7017
|
return;
|
|
7018
|
-
const w = zs(
|
|
7018
|
+
const w = zs(b, a);
|
|
7019
7019
|
s(w);
|
|
7020
7020
|
}, []), _.useEffect(() => {
|
|
7021
|
-
const w = zs(
|
|
7021
|
+
const w = zs(b, a);
|
|
7022
7022
|
s(w);
|
|
7023
7023
|
}, [E.isOpen]);
|
|
7024
7024
|
const j = (w, S) => !Object.keys(e).length || !e[w] ? !1 : e[w][S].checked, N = () => {
|
|
@@ -7032,18 +7032,18 @@ function Qg({ filterConfig: t }) {
|
|
|
7032
7032
|
"button",
|
|
7033
7033
|
{
|
|
7034
7034
|
...E.triggerProps,
|
|
7035
|
-
className: G("hybr1d-ui-reset-btn",
|
|
7035
|
+
className: G("hybr1d-ui-reset-btn", me.actionCommon, me.filterBtn),
|
|
7036
7036
|
children: [
|
|
7037
7037
|
/* @__PURE__ */ o.jsx(X, { path: Rg, width: 22, height: 22 }),
|
|
7038
7038
|
"Filter",
|
|
7039
|
-
T !== 0 && /* @__PURE__ */ o.jsx("span", { className:
|
|
7039
|
+
T !== 0 && /* @__PURE__ */ o.jsx("span", { className: me.totalSelected, children: T })
|
|
7040
7040
|
]
|
|
7041
7041
|
}
|
|
7042
7042
|
),
|
|
7043
7043
|
E.isOpen && /* @__PURE__ */ o.jsxs(Ct, { children: [
|
|
7044
|
-
/* @__PURE__ */ o.jsx("div", { ...E.backdropProps, className:
|
|
7045
|
-
/* @__PURE__ */ o.jsx("div", { ...E.positionerProps, style: { ...E.positionerProps.style }, children: /* @__PURE__ */ o.jsxs("div", { ...E.contentProps, className:
|
|
7046
|
-
/* @__PURE__ */ o.jsxs("h2", { ...E.titleProps, className:
|
|
7044
|
+
/* @__PURE__ */ o.jsx("div", { ...E.backdropProps, className: me.backdrop }),
|
|
7045
|
+
/* @__PURE__ */ o.jsx("div", { ...E.positionerProps, style: { ...E.positionerProps.style }, children: /* @__PURE__ */ o.jsxs("div", { ...E.contentProps, className: me.content, children: [
|
|
7046
|
+
/* @__PURE__ */ o.jsxs("h2", { ...E.titleProps, className: me.title, children: [
|
|
7047
7047
|
/* @__PURE__ */ o.jsx("span", { children: "Filters" }),
|
|
7048
7048
|
/* @__PURE__ */ o.jsx(
|
|
7049
7049
|
"button",
|
|
@@ -7055,20 +7055,20 @@ function Qg({ filterConfig: t }) {
|
|
|
7055
7055
|
X,
|
|
7056
7056
|
{
|
|
7057
7057
|
path: st,
|
|
7058
|
-
svgClassName:
|
|
7059
|
-
spanClassName:
|
|
7058
|
+
svgClassName: me.closeIcon,
|
|
7059
|
+
spanClassName: me.closeIconSpan
|
|
7060
7060
|
}
|
|
7061
7061
|
)
|
|
7062
7062
|
}
|
|
7063
7063
|
)
|
|
7064
7064
|
] }),
|
|
7065
|
-
/* @__PURE__ */ o.jsxs("div", { className:
|
|
7066
|
-
/* @__PURE__ */ o.jsx("div", { className:
|
|
7065
|
+
/* @__PURE__ */ o.jsxs("div", { className: me.filterBox, children: [
|
|
7066
|
+
/* @__PURE__ */ o.jsx("div", { className: me.filters, children: b.map((w) => {
|
|
7067
7067
|
const S = (C == null ? void 0 : C.id) === w.id, O = a.find((te) => te.key === w.key);
|
|
7068
7068
|
return /* @__PURE__ */ o.jsxs(
|
|
7069
7069
|
"div",
|
|
7070
7070
|
{
|
|
7071
|
-
className: G(
|
|
7071
|
+
className: G(me.filter, S && me.active),
|
|
7072
7072
|
onClick: () => {
|
|
7073
7073
|
n(""), A(w);
|
|
7074
7074
|
},
|
|
@@ -7081,8 +7081,8 @@ function Qg({ filterConfig: t }) {
|
|
|
7081
7081
|
w.id
|
|
7082
7082
|
);
|
|
7083
7083
|
}) }),
|
|
7084
|
-
/* @__PURE__ */ o.jsxs("div", { className:
|
|
7085
|
-
!((W = C == null ? void 0 : C.config) != null && W.hideSearch) && /* @__PURE__ */ o.jsx("div", { className:
|
|
7084
|
+
/* @__PURE__ */ o.jsxs("div", { className: me.filterSingle, children: [
|
|
7085
|
+
!((W = C == null ? void 0 : C.config) != null && W.hideSearch) && /* @__PURE__ */ o.jsx("div", { className: me.dropdownSearch, children: /* @__PURE__ */ o.jsx(
|
|
7086
7086
|
rt,
|
|
7087
7087
|
{
|
|
7088
7088
|
id: "filter-search",
|
|
@@ -7091,10 +7091,10 @@ function Qg({ filterConfig: t }) {
|
|
|
7091
7091
|
placeholder: ((R = C.config) == null ? void 0 : R.placeholder) || "Search"
|
|
7092
7092
|
}
|
|
7093
7093
|
) }),
|
|
7094
|
-
/* @__PURE__ */ o.jsx("div", { className:
|
|
7094
|
+
/* @__PURE__ */ o.jsx("div", { className: me.options, children: F.length === 0 ? /* @__PURE__ */ o.jsx("div", { className: me.optionsEmpty, children: "No results found" }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: C == null ? void 0 : C.options.map((w, S) => /* @__PURE__ */ o.jsx(
|
|
7095
7095
|
"div",
|
|
7096
7096
|
{
|
|
7097
|
-
className:
|
|
7097
|
+
className: me.option,
|
|
7098
7098
|
style: {
|
|
7099
7099
|
display: r.length ? F.includes(w.value) ? void 0 : "none" : void 0
|
|
7100
7100
|
},
|
|
@@ -7118,7 +7118,7 @@ function Qg({ filterConfig: t }) {
|
|
|
7118
7118
|
)) }) })
|
|
7119
7119
|
] })
|
|
7120
7120
|
] }),
|
|
7121
|
-
/* @__PURE__ */ o.jsxs("div", { className:
|
|
7121
|
+
/* @__PURE__ */ o.jsxs("div", { className: me.footer, children: [
|
|
7122
7122
|
/* @__PURE__ */ o.jsx(Q, { ...E.closeTriggerProps, variant: je.SECONDARY, children: "Cancel" }),
|
|
7123
7123
|
/* @__PURE__ */ o.jsx(
|
|
7124
7124
|
Q,
|
|
@@ -7142,26 +7142,26 @@ function Qg({ filterConfig: t }) {
|
|
|
7142
7142
|
] })
|
|
7143
7143
|
] });
|
|
7144
7144
|
}
|
|
7145
|
-
const Kg = "_actionCommon_1bo7q_1", qg = "_backdrop_1bo7q_21",
|
|
7145
|
+
const Kg = "_actionCommon_1bo7q_1", qg = "_backdrop_1bo7q_21", eb = "_content_1bo7q_34", tb = "_title_1bo7q_64", nb = "_desc_1bo7q_74", sb = "_closeIconSpan_1bo7q_81", rb = "_closeIcon_1bo7q_81", ob = "_footer_1bo7q_101", ib = "_colBox_1bo7q_114", ab = "_options_1bo7q_125", lb = "_option_1bo7q_125", cb = "_dropdownSearch_1bo7q_142", ub = "_info_1bo7q_151", db = "_info2_1bo7q_152", pb = "_optionLabel_1bo7q_179", gb = "_optionDis_1bo7q_191", bb = "_checkbox_1bo7q_199", mb = "_draggable_1bo7q_217", fb = "_optionDisabled_1bo7q_221", ue = {
|
|
7146
7146
|
actionCommon: Kg,
|
|
7147
7147
|
backdrop: qg,
|
|
7148
|
-
content:
|
|
7149
|
-
title:
|
|
7150
|
-
desc:
|
|
7151
|
-
closeIconSpan:
|
|
7152
|
-
closeIcon:
|
|
7153
|
-
footer:
|
|
7154
|
-
colBox:
|
|
7155
|
-
options:
|
|
7156
|
-
option:
|
|
7157
|
-
dropdownSearch:
|
|
7158
|
-
info:
|
|
7159
|
-
info2:
|
|
7160
|
-
optionLabel:
|
|
7161
|
-
optionDis:
|
|
7162
|
-
checkbox:
|
|
7163
|
-
draggable:
|
|
7164
|
-
optionDisabled:
|
|
7148
|
+
content: eb,
|
|
7149
|
+
title: tb,
|
|
7150
|
+
desc: nb,
|
|
7151
|
+
closeIconSpan: sb,
|
|
7152
|
+
closeIcon: rb,
|
|
7153
|
+
footer: ob,
|
|
7154
|
+
colBox: ib,
|
|
7155
|
+
options: ab,
|
|
7156
|
+
option: lb,
|
|
7157
|
+
dropdownSearch: cb,
|
|
7158
|
+
info: ub,
|
|
7159
|
+
info2: db,
|
|
7160
|
+
optionLabel: pb,
|
|
7161
|
+
optionDis: gb,
|
|
7162
|
+
checkbox: bb,
|
|
7163
|
+
draggable: mb,
|
|
7164
|
+
optionDisabled: fb
|
|
7165
7165
|
};
|
|
7166
7166
|
function Zt({
|
|
7167
7167
|
id: t,
|
|
@@ -7189,17 +7189,17 @@ function Zt({
|
|
|
7189
7189
|
/* @__PURE__ */ o.jsx("input", { ...c.hiddenInputProps })
|
|
7190
7190
|
] });
|
|
7191
7191
|
}
|
|
7192
|
-
const
|
|
7193
|
-
sortList:
|
|
7194
|
-
sort:
|
|
7195
|
-
dragHandle:
|
|
7192
|
+
const hb = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5%206.75c-.69%200-1.25.56-1.25%201.25v8c0%20.69.56%201.25%201.25%201.25h3.25V6.75H5Zm4.75%200v10.5h4.5V6.75h-4.5Zm6%200v10.5H19c.69%200%201.25-.56%201.25-1.25V8c0-.69-.56-1.25-1.25-1.25h-3.25ZM2.25%208A2.75%202.75%200%200%201%205%205.25h14A2.75%202.75%200%200%201%2021.75%208v8A2.75%202.75%200%200%201%2019%2018.75H5A2.75%202.75%200%200%201%202.25%2016V8Z'%20fill='%23B3B2B8'/%3e%3c/svg%3e", vb = "_sortList_17azm_1", Ib = "_sort_17azm_1", xb = "_dragHandle_17azm_21", es = {
|
|
7193
|
+
sortList: vb,
|
|
7194
|
+
sort: Ib,
|
|
7195
|
+
dragHandle: xb
|
|
7196
7196
|
}, zr = _.createContext({
|
|
7197
7197
|
attributes: {},
|
|
7198
7198
|
listeners: void 0,
|
|
7199
7199
|
ref() {
|
|
7200
7200
|
}
|
|
7201
7201
|
});
|
|
7202
|
-
function
|
|
7202
|
+
function Cb({ children: t, id: e }) {
|
|
7203
7203
|
const {
|
|
7204
7204
|
attributes: s,
|
|
7205
7205
|
isDragging: r,
|
|
@@ -7222,7 +7222,7 @@ function Cm({ children: t, id: e }) {
|
|
|
7222
7222
|
};
|
|
7223
7223
|
return /* @__PURE__ */ o.jsx(zr.Provider, { value: u, children: /* @__PURE__ */ o.jsx("li", { className: es.sort, ref: i, style: d, children: t }) });
|
|
7224
7224
|
}
|
|
7225
|
-
function
|
|
7225
|
+
function _b() {
|
|
7226
7226
|
const { attributes: t, listeners: e, ref: s } = _.useContext(zr);
|
|
7227
7227
|
return /* @__PURE__ */ o.jsx("div", { className: es.dragHandle, ...t, ...e, ref: s, children: /* @__PURE__ */ o.jsxs(
|
|
7228
7228
|
"svg",
|
|
@@ -7291,7 +7291,7 @@ function _m() {
|
|
|
7291
7291
|
}
|
|
7292
7292
|
) });
|
|
7293
7293
|
}
|
|
7294
|
-
const
|
|
7294
|
+
const yb = {
|
|
7295
7295
|
sideEffects: _o({
|
|
7296
7296
|
styles: {
|
|
7297
7297
|
active: {
|
|
@@ -7300,8 +7300,8 @@ const ym = {
|
|
|
7300
7300
|
}
|
|
7301
7301
|
})
|
|
7302
7302
|
};
|
|
7303
|
-
function
|
|
7304
|
-
return /* @__PURE__ */ o.jsx(yo, { dropAnimation:
|
|
7303
|
+
function Ab({ children: t }) {
|
|
7304
|
+
return /* @__PURE__ */ o.jsx(yo, { dropAnimation: yb, children: t });
|
|
7305
7305
|
}
|
|
7306
7306
|
function Ft({ items: t, onChange: e, renderItem: s }) {
|
|
7307
7307
|
const r = t.filter((a) => a.checked), [n, i] = _.useState(null), l = _.useMemo(
|
|
@@ -7336,15 +7336,15 @@ function Ft({ items: t, onChange: e, renderItem: s }) {
|
|
|
7336
7336
|
},
|
|
7337
7337
|
children: [
|
|
7338
7338
|
/* @__PURE__ */ o.jsx(Ro, { items: r, children: /* @__PURE__ */ o.jsx("ul", { className: es.sortList, role: "application", children: r.map((a) => /* @__PURE__ */ o.jsx(_.Fragment, { children: s(a) }, a.id)) }) }),
|
|
7339
|
-
/* @__PURE__ */ o.jsx(
|
|
7339
|
+
/* @__PURE__ */ o.jsx(Ab, { children: l ? s(l) : null })
|
|
7340
7340
|
]
|
|
7341
7341
|
}
|
|
7342
7342
|
);
|
|
7343
7343
|
}
|
|
7344
|
-
Ft.Item =
|
|
7345
|
-
Ft.DragHandle =
|
|
7344
|
+
Ft.Item = Cb;
|
|
7345
|
+
Ft.DragHandle = _b;
|
|
7346
7346
|
const Oe = "select", Ke = "dropdown-actions", Xe = "select-radio";
|
|
7347
|
-
function
|
|
7347
|
+
function Nb({
|
|
7348
7348
|
customColumnConfig: t,
|
|
7349
7349
|
table: e,
|
|
7350
7350
|
isCheckbox: s,
|
|
@@ -7363,29 +7363,29 @@ function Nm({
|
|
|
7363
7363
|
(h) => !h.columnDef.enableHiding && h.id !== Oe && h.id !== Xe && h.id !== Ke
|
|
7364
7364
|
);
|
|
7365
7365
|
_.useEffect(() => {
|
|
7366
|
-
i(() => g.map((
|
|
7367
|
-
id:
|
|
7368
|
-
checked:
|
|
7369
|
-
label: typeof
|
|
7366
|
+
i(() => g.map((b) => ({
|
|
7367
|
+
id: b.id,
|
|
7368
|
+
checked: b.getIsVisible(),
|
|
7369
|
+
label: typeof b.columnDef.header == "string" ? b.columnDef.header : ""
|
|
7370
7370
|
})));
|
|
7371
7371
|
}, []);
|
|
7372
|
-
const
|
|
7372
|
+
const m = n.filter((h) => h.checked), x = n.filter((h) => !h.checked), I = () => {
|
|
7373
7373
|
n.forEach((h) => {
|
|
7374
|
-
const
|
|
7375
|
-
|
|
7374
|
+
const b = e.getColumn(h.id);
|
|
7375
|
+
b == null || b.toggleVisibility(h.checked);
|
|
7376
7376
|
}), e.setColumnOrder(() => {
|
|
7377
|
-
const h = n.map((v) => v.id),
|
|
7377
|
+
const h = n.map((v) => v.id), b = [
|
|
7378
7378
|
s ? Oe : Xe,
|
|
7379
7379
|
...h,
|
|
7380
7380
|
r ? Ke : void 0
|
|
7381
7381
|
].filter(Boolean);
|
|
7382
7382
|
return f.forEach((v) => {
|
|
7383
|
-
|
|
7384
|
-
}),
|
|
7383
|
+
b.splice(v.getIndex(), 0, v.id);
|
|
7384
|
+
}), b;
|
|
7385
7385
|
}), d.close();
|
|
7386
7386
|
};
|
|
7387
7387
|
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
7388
|
-
/* @__PURE__ */ o.jsx("button", { ...d.triggerProps, className: G("hybr1d-ui-reset-btn", ue.actionCommon), children: /* @__PURE__ */ o.jsx(X, { path:
|
|
7388
|
+
/* @__PURE__ */ o.jsx("button", { ...d.triggerProps, className: G("hybr1d-ui-reset-btn", ue.actionCommon), children: /* @__PURE__ */ o.jsx(X, { path: hb, width: 22, height: 22 }) }),
|
|
7389
7389
|
d.isOpen && /* @__PURE__ */ o.jsxs(Ct, { children: [
|
|
7390
7390
|
/* @__PURE__ */ o.jsx("div", { ...d.backdropProps, className: ue.backdrop }),
|
|
7391
7391
|
/* @__PURE__ */ o.jsx("div", { ...d.positionerProps, style: { ...d.positionerProps.style }, children: /* @__PURE__ */ o.jsxs("div", { ...d.contentProps, className: ue.content, children: [
|
|
@@ -7441,7 +7441,7 @@ function Nm({
|
|
|
7441
7441
|
}
|
|
7442
7442
|
) }, h.id)),
|
|
7443
7443
|
/* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
7444
|
-
|
|
7444
|
+
m.length > 0 && /* @__PURE__ */ o.jsx("p", { className: ue.info, children: "Selected" }),
|
|
7445
7445
|
/* @__PURE__ */ o.jsx(
|
|
7446
7446
|
Ft,
|
|
7447
7447
|
{
|
|
@@ -7453,7 +7453,7 @@ function Nm({
|
|
|
7453
7453
|
{
|
|
7454
7454
|
label: h.label,
|
|
7455
7455
|
id: h.id,
|
|
7456
|
-
checked: n[n.findIndex((
|
|
7456
|
+
checked: n[n.findIndex((b) => b.id === h.id)].checked,
|
|
7457
7457
|
setCheckedState: i
|
|
7458
7458
|
}
|
|
7459
7459
|
),
|
|
@@ -7463,7 +7463,7 @@ function Nm({
|
|
|
7463
7463
|
)
|
|
7464
7464
|
] }),
|
|
7465
7465
|
/* @__PURE__ */ o.jsx(
|
|
7466
|
-
|
|
7466
|
+
Sb,
|
|
7467
7467
|
{
|
|
7468
7468
|
cols: x,
|
|
7469
7469
|
text: "Not Selected",
|
|
@@ -7481,7 +7481,7 @@ function Nm({
|
|
|
7481
7481
|
] })
|
|
7482
7482
|
] });
|
|
7483
7483
|
}
|
|
7484
|
-
function
|
|
7484
|
+
function Sb({ cols: t, text: e, textCn: s, checkedState: r, setCheckedState: n }) {
|
|
7485
7485
|
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
7486
7486
|
t.length > 0 && /* @__PURE__ */ o.jsx("p", { className: s, children: e }),
|
|
7487
7487
|
t.map((i) => /* @__PURE__ */ o.jsx("div", { className: ue.option, children: /* @__PURE__ */ o.jsx(
|
|
@@ -7495,7 +7495,7 @@ function Sm({ cols: t, text: e, textCn: s, checkedState: r, setCheckedState: n }
|
|
|
7495
7495
|
) }, i.id))
|
|
7496
7496
|
] });
|
|
7497
7497
|
}
|
|
7498
|
-
function
|
|
7498
|
+
function Eb({
|
|
7499
7499
|
rowSelectionConfig: t,
|
|
7500
7500
|
totalText: e,
|
|
7501
7501
|
searchConfig: s,
|
|
@@ -7508,8 +7508,8 @@ function Em({
|
|
|
7508
7508
|
isCheckbox: u,
|
|
7509
7509
|
isDropdownActions: d
|
|
7510
7510
|
}) {
|
|
7511
|
-
var h,
|
|
7512
|
-
const g = (t == null ? void 0 : t.actions) && t.actions.length > 0, f = Object.keys(l).length,
|
|
7511
|
+
var h, b, v;
|
|
7512
|
+
const g = (t == null ? void 0 : t.actions) && t.actions.length > 0, f = Object.keys(l).length, m = f > 0, x = `${f} ${Bg(
|
|
7513
7513
|
f,
|
|
7514
7514
|
(t == null ? void 0 : t.entityName) || "",
|
|
7515
7515
|
`${t == null ? void 0 : t.entityName}s`
|
|
@@ -7517,9 +7517,9 @@ function Em({
|
|
|
7517
7517
|
return /* @__PURE__ */ o.jsxs("div", { className: gt.box, children: [
|
|
7518
7518
|
/* @__PURE__ */ o.jsxs("div", { className: gt.texts, children: [
|
|
7519
7519
|
/* @__PURE__ */ o.jsxs("p", { className: gt.heading, children: [
|
|
7520
|
-
|
|
7520
|
+
m ? x : e,
|
|
7521
7521
|
" ",
|
|
7522
|
-
|
|
7522
|
+
m ? "Selected" : ""
|
|
7523
7523
|
] }),
|
|
7524
7524
|
g && /* @__PURE__ */ o.jsx(
|
|
7525
7525
|
sg,
|
|
@@ -7541,9 +7541,9 @@ function Em({
|
|
|
7541
7541
|
}
|
|
7542
7542
|
) }),
|
|
7543
7543
|
typeof r == "object" && !!I && /* @__PURE__ */ o.jsx(wg, { filterConfig: r, filters: I }),
|
|
7544
|
-
typeof r == "object" && !r.isLoading && !!((v = (
|
|
7544
|
+
typeof r == "object" && !r.isLoading && !!((v = (b = r.filters) == null ? void 0 : b.drawer) != null && v.length) && /* @__PURE__ */ o.jsx(Qg, { filterConfig: r }),
|
|
7545
7545
|
typeof n == "object" && /* @__PURE__ */ o.jsx(
|
|
7546
|
-
|
|
7546
|
+
Nb,
|
|
7547
7547
|
{
|
|
7548
7548
|
customColumnConfig: n,
|
|
7549
7549
|
table: a,
|
|
@@ -7555,11 +7555,11 @@ function Em({
|
|
|
7555
7555
|
] })
|
|
7556
7556
|
] });
|
|
7557
7557
|
}
|
|
7558
|
-
const
|
|
7559
|
-
box:
|
|
7560
|
-
label:
|
|
7558
|
+
const wb = "_box_2jf37_1", jb = "_label_2jf37_8", Bb = {
|
|
7559
|
+
box: wb,
|
|
7560
|
+
label: jb
|
|
7561
7561
|
};
|
|
7562
|
-
function
|
|
7562
|
+
function Gb({ actionsConfig: t, data: e }) {
|
|
7563
7563
|
var l;
|
|
7564
7564
|
if (!t)
|
|
7565
7565
|
return null;
|
|
@@ -7573,27 +7573,27 @@ function Gm({ actionsConfig: t, data: e }) {
|
|
|
7573
7573
|
...c,
|
|
7574
7574
|
disabled: typeof c.disabled == "function" ? c.disabled(e) : !1
|
|
7575
7575
|
}));
|
|
7576
|
-
return /* @__PURE__ */ o.jsx("div", { className:
|
|
7577
|
-
}
|
|
7578
|
-
const
|
|
7579
|
-
box:
|
|
7580
|
-
pageBoxes:
|
|
7581
|
-
arrowIcon:
|
|
7582
|
-
pageBox:
|
|
7583
|
-
limitBox:
|
|
7584
|
-
limitContent:
|
|
7585
|
-
limitItem:
|
|
7586
|
-
limitTrigger:
|
|
7587
|
-
chevdownIcon:
|
|
7588
|
-
pos:
|
|
7589
|
-
paginationMenu:
|
|
7576
|
+
return /* @__PURE__ */ o.jsx("div", { className: Bb.box, children: /* @__PURE__ */ o.jsx(Q.ActionsDropdown, { menuItems: i, data: e, isTable: !0 }) });
|
|
7577
|
+
}
|
|
7578
|
+
const Rb = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.53%206.47a.75.75%200%200%201%200%201.06L10.06%2012l4.47%204.47a.75.75%200%201%201-1.06%201.06l-5-5a.75.75%200%200%201%200-1.06l5-5a.75.75%200%200%201%201.06%200Z'%20fill='%23B3B2B8'/%3e%3c/svg%3e", Fb = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.47%206.47a.75.75%200%200%201%201.06%200l5%205a.75.75%200%200%201%200%201.06l-5%205a.75.75%200%201%201-1.06-1.06L13.94%2012%209.47%207.53a.75.75%200%200%201%200-1.06Z'%20fill='%23B3B2B8'/%3e%3c/svg%3e", Pb = "_box_15b56_1", Tb = "_pageBoxes_15b56_6", Vb = "_arrowIcon_15b56_11", Lb = "_pageBox_15b56_6", kb = "_limitBox_15b56_47", Db = "_limitContent_15b56_56", Ob = "_limitItem_15b56_69", Wb = "_limitTrigger_15b56_83", Hb = "_chevdownIcon_15b56_99", Zb = "_pos_15b56_108", Xb = "_paginationMenu_15b56_114", de = {
|
|
7579
|
+
box: Pb,
|
|
7580
|
+
pageBoxes: Tb,
|
|
7581
|
+
arrowIcon: Vb,
|
|
7582
|
+
pageBox: Lb,
|
|
7583
|
+
limitBox: kb,
|
|
7584
|
+
limitContent: Db,
|
|
7585
|
+
limitItem: Ob,
|
|
7586
|
+
limitTrigger: Wb,
|
|
7587
|
+
chevdownIcon: Hb,
|
|
7588
|
+
pos: Zb,
|
|
7589
|
+
paginationMenu: Xb
|
|
7590
7590
|
}, En = [
|
|
7591
7591
|
{ label: "10", value: "10" },
|
|
7592
7592
|
{ label: "15", value: "15" },
|
|
7593
7593
|
{ label: "20", value: "20" },
|
|
7594
7594
|
{ label: "25", value: "25" }
|
|
7595
7595
|
];
|
|
7596
|
-
function
|
|
7596
|
+
function Mb({ setLimit: t, limit: e, totalItems: s, itemsOnPage: r }) {
|
|
7597
7597
|
const n = ft.collection({
|
|
7598
7598
|
items: En,
|
|
7599
7599
|
itemToString: (a) => a.label,
|
|
@@ -7641,7 +7641,7 @@ const Ys = (t, e) => {
|
|
|
7641
7641
|
s.push({ label: String(r), value: String(r) });
|
|
7642
7642
|
return s;
|
|
7643
7643
|
};
|
|
7644
|
-
function
|
|
7644
|
+
function zb({ paginationApi: t, i: e }) {
|
|
7645
7645
|
const s = t.pages[e - 1].value, r = t.pages[e + 1].value, n = ft.collection({
|
|
7646
7646
|
items: Ys(s, r),
|
|
7647
7647
|
itemToString: (a) => a.label,
|
|
@@ -7674,11 +7674,11 @@ function zm({ paginationApi: t, i: e }) {
|
|
|
7674
7674
|
a.value
|
|
7675
7675
|
)) }) }) }));
|
|
7676
7676
|
}
|
|
7677
|
-
function
|
|
7677
|
+
function Yb({ paginationConfig: t }) {
|
|
7678
7678
|
if (!t)
|
|
7679
7679
|
return null;
|
|
7680
7680
|
const { setLimit: e, limit: s, metaData: r } = t, [n, i] = ae(
|
|
7681
|
-
|
|
7681
|
+
bs.machine({
|
|
7682
7682
|
id: "hui-charizard-table",
|
|
7683
7683
|
count: (r == null ? void 0 : r.total_items) || 0,
|
|
7684
7684
|
onPageChange(c) {
|
|
@@ -7686,14 +7686,14 @@ function Ym({ paginationConfig: t }) {
|
|
|
7686
7686
|
},
|
|
7687
7687
|
pageSize: t.limit
|
|
7688
7688
|
})
|
|
7689
|
-
), l =
|
|
7689
|
+
), l = bs.connect(n, i, le);
|
|
7690
7690
|
return _.useEffect(() => {
|
|
7691
7691
|
l.setPage(t.page + 1);
|
|
7692
7692
|
}, []), _.useEffect(() => {
|
|
7693
7693
|
l.setCount((r == null ? void 0 : r.total_items) || 0);
|
|
7694
7694
|
}, [r == null ? void 0 : r.total_items]), /* @__PURE__ */ o.jsxs("div", { className: de.box, children: [
|
|
7695
7695
|
/* @__PURE__ */ o.jsx(
|
|
7696
|
-
|
|
7696
|
+
Mb,
|
|
7697
7697
|
{
|
|
7698
7698
|
setLimit: e,
|
|
7699
7699
|
limit: s,
|
|
@@ -7702,7 +7702,7 @@ function Ym({ paginationConfig: t }) {
|
|
|
7702
7702
|
}
|
|
7703
7703
|
),
|
|
7704
7704
|
l.totalPages > 1 && /* @__PURE__ */ o.jsx("nav", { ...l.rootProps, children: /* @__PURE__ */ o.jsxs("div", { className: de.pageBoxes, children: [
|
|
7705
|
-
/* @__PURE__ */ o.jsx("div", { ...l.prevTriggerProps, className: de.pageBox, children: /* @__PURE__ */ o.jsx(X, { path:
|
|
7705
|
+
/* @__PURE__ */ o.jsx("div", { ...l.prevTriggerProps, className: de.pageBox, children: /* @__PURE__ */ o.jsx(X, { path: Rb, svgClassName: de.arrowIcon }) }),
|
|
7706
7706
|
l.pages.map((c, a) => c.type === "page" ? /* @__PURE__ */ o.jsx(
|
|
7707
7707
|
"div",
|
|
7708
7708
|
{
|
|
@@ -7711,34 +7711,34 @@ function Ym({ paginationConfig: t }) {
|
|
|
7711
7711
|
children: c.value
|
|
7712
7712
|
},
|
|
7713
7713
|
c.value
|
|
7714
|
-
) : /* @__PURE__ */ o.jsx(_.Fragment, { children: /* @__PURE__ */ o.jsx(
|
|
7715
|
-
/* @__PURE__ */ o.jsx("div", { ...l.nextTriggerProps, className: de.pageBox, children: /* @__PURE__ */ o.jsx(X, { path:
|
|
7714
|
+
) : /* @__PURE__ */ o.jsx(_.Fragment, { children: /* @__PURE__ */ o.jsx(zb, { paginationApi: l, i: a }) }, `ellipsis-${a}`)),
|
|
7715
|
+
/* @__PURE__ */ o.jsx("div", { ...l.nextTriggerProps, className: de.pageBox, children: /* @__PURE__ */ o.jsx(X, { path: Fb, svgClassName: de.arrowIcon }) })
|
|
7716
7716
|
] }) })
|
|
7717
7717
|
] });
|
|
7718
7718
|
}
|
|
7719
|
-
const
|
|
7720
|
-
box: $
|
|
7721
|
-
header:
|
|
7722
|
-
meta:
|
|
7723
|
-
total:
|
|
7724
|
-
selectorGrp:
|
|
7725
|
-
table:
|
|
7726
|
-
tableHead:
|
|
7727
|
-
tableData:
|
|
7728
|
-
tableDataWithSelection:
|
|
7729
|
-
tableBody:
|
|
7730
|
-
tableRow:
|
|
7731
|
-
headerTxt:
|
|
7732
|
-
tableHeader:
|
|
7733
|
-
tableHeaderSort:
|
|
7734
|
-
tableHeaderSortSpan:
|
|
7735
|
-
tableHeaderSortIcon:
|
|
7736
|
-
tableScrollContainer:
|
|
7737
|
-
},
|
|
7738
|
-
checkboxSpan:
|
|
7739
|
-
checkbox:
|
|
7740
|
-
checkboxSelect:
|
|
7741
|
-
radio:
|
|
7719
|
+
const Jb = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.28033%205.21967C8.98744%204.92678%208.51256%204.92678%208.21967%205.21967L5.21967%208.21967C4.92678%208.51256%204.92678%208.98744%205.21967%209.28033C5.51256%209.57322%205.98744%209.57322%206.28033%209.28033L8%207.56066V17.75C8%2018.1642%208.33579%2018.5%208.75%2018.5C9.16421%2018.5%209.5%2018.1642%209.5%2017.75V7.56066L11.2197%209.28033C11.5126%209.57322%2011.9874%209.57322%2012.2803%209.28033C12.5732%208.98744%2012.5732%208.51256%2012.2803%208.21967L9.28033%205.21967ZM15.2197%2018.2803C15.5126%2018.5732%2015.9874%2018.5732%2016.2803%2018.2803L19.2803%2015.2803C19.5732%2014.9874%2019.5732%2014.5126%2019.2803%2014.2197C18.9874%2013.9268%2018.5126%2013.9268%2018.2197%2014.2197L16.5%2015.9393L16.5%205.75C16.5%205.33579%2016.1642%205%2015.75%205C15.3358%205%2015%205.33579%2015%205.75L15%2015.9393L13.2803%2014.2197C12.9874%2013.9268%2012.5126%2013.9268%2012.2197%2014.2197C11.9268%2014.5126%2011.9268%2014.9874%2012.2197%2015.2803L15.2197%2018.2803Z'%20fill='%23555580'/%3e%3c/svg%3e", $b = "_box_1r0tv_1", Ub = "_header_1r0tv_8", Qb = "_meta_1r0tv_20", Kb = "_total_1r0tv_27", qb = "_selectorGrp_1r0tv_34", em = "_table_1r0tv_40", tm = "_tableHead_1r0tv_47", nm = "_tableData_1r0tv_55", sm = "_tableDataWithSelection_1r0tv_66", rm = "_tableBody_1r0tv_70", om = "_tableRow_1r0tv_70", im = "_headerTxt_1r0tv_79", am = "_tableHeader_1r0tv_86", lm = "_tableHeaderSort_1r0tv_95", cm = "_tableHeaderSortSpan_1r0tv_100", um = "_tableHeaderSortIcon_1r0tv_106", dm = "_tableScrollContainer_1r0tv_116", Ne = {
|
|
7720
|
+
box: $b,
|
|
7721
|
+
header: Ub,
|
|
7722
|
+
meta: Qb,
|
|
7723
|
+
total: Kb,
|
|
7724
|
+
selectorGrp: qb,
|
|
7725
|
+
table: em,
|
|
7726
|
+
tableHead: tm,
|
|
7727
|
+
tableData: nm,
|
|
7728
|
+
tableDataWithSelection: sm,
|
|
7729
|
+
tableBody: rm,
|
|
7730
|
+
tableRow: om,
|
|
7731
|
+
headerTxt: im,
|
|
7732
|
+
tableHeader: am,
|
|
7733
|
+
tableHeaderSort: lm,
|
|
7734
|
+
tableHeaderSortSpan: cm,
|
|
7735
|
+
tableHeaderSortIcon: um,
|
|
7736
|
+
tableScrollContainer: dm
|
|
7737
|
+
}, pm = "_checkboxSpan_1xai9_1", gm = "_checkbox_1xai9_1", bm = "_checkboxSelect_1xai9_35", mm = "_radio_1xai9_41", Pt = {
|
|
7738
|
+
checkboxSpan: pm,
|
|
7739
|
+
checkbox: gm,
|
|
7740
|
+
checkboxSelect: bm,
|
|
7741
|
+
radio: mm
|
|
7742
7742
|
};
|
|
7743
7743
|
function Js({
|
|
7744
7744
|
indeterminate: t,
|
|
@@ -7759,7 +7759,7 @@ function Js({
|
|
|
7759
7759
|
}
|
|
7760
7760
|
) });
|
|
7761
7761
|
}
|
|
7762
|
-
function
|
|
7762
|
+
function fm({
|
|
7763
7763
|
indeterminate: t,
|
|
7764
7764
|
row: e,
|
|
7765
7765
|
...s
|
|
@@ -7799,10 +7799,10 @@ function r2({
|
|
|
7799
7799
|
emptyStateConfig: d,
|
|
7800
7800
|
headerText: g,
|
|
7801
7801
|
tableStyleConfig: f,
|
|
7802
|
-
customColumnConfig:
|
|
7802
|
+
customColumnConfig: m,
|
|
7803
7803
|
exportConfig: x
|
|
7804
7804
|
}) {
|
|
7805
|
-
const [I, h] = _.useState([]), [
|
|
7805
|
+
const [I, h] = _.useState([]), [b, v] = _.useState({}), [C, A] = _.useState([]), [E, F] = _.useState({
|
|
7806
7806
|
left: f != null && f.stickyIds ? [Xe, Oe, ...f == null ? void 0 : f.stickyIds] : [Xe, Oe],
|
|
7807
7807
|
right: [Ke]
|
|
7808
7808
|
}), [j, N] = _.useState({}), T = !e.isFetching && !e.isError && !t.length, { isCheckbox: H, isRadio: M, setSelectedRows: W } = i;
|
|
@@ -7851,7 +7851,7 @@ function r2({
|
|
|
7851
7851
|
{
|
|
7852
7852
|
id: Xe,
|
|
7853
7853
|
cell: ({ row: S }) => /* @__PURE__ */ o.jsx(
|
|
7854
|
-
|
|
7854
|
+
fm,
|
|
7855
7855
|
{
|
|
7856
7856
|
checked: S.getIsSelected(),
|
|
7857
7857
|
disabled: !S.getCanSelect(),
|
|
@@ -7866,7 +7866,7 @@ function r2({
|
|
|
7866
7866
|
...s,
|
|
7867
7867
|
{
|
|
7868
7868
|
id: Ke,
|
|
7869
|
-
cell: (S) => /* @__PURE__ */ o.jsx(
|
|
7869
|
+
cell: (S) => /* @__PURE__ */ o.jsx(Gb, { actionsConfig: l, data: S.row.original }),
|
|
7870
7870
|
header: "Actions",
|
|
7871
7871
|
size: 70,
|
|
7872
7872
|
enablePinning: !0
|
|
@@ -7877,7 +7877,7 @@ function r2({
|
|
|
7877
7877
|
columns: R,
|
|
7878
7878
|
state: {
|
|
7879
7879
|
sorting: I,
|
|
7880
|
-
columnVisibility:
|
|
7880
|
+
columnVisibility: b,
|
|
7881
7881
|
columnOrder: C,
|
|
7882
7882
|
rowSelection: (i == null ? void 0 : i.rowSelection) || j,
|
|
7883
7883
|
columnPinning: E
|
|
@@ -7929,7 +7929,7 @@ function r2({
|
|
|
7929
7929
|
children: [
|
|
7930
7930
|
/* @__PURE__ */ o.jsxs("div", { className: Ne.box, children: [
|
|
7931
7931
|
!e.isError && /* @__PURE__ */ o.jsx(
|
|
7932
|
-
|
|
7932
|
+
Eb,
|
|
7933
7933
|
{
|
|
7934
7934
|
rowSelectionConfig: i,
|
|
7935
7935
|
searchConfig: c,
|
|
@@ -7937,7 +7937,7 @@ function r2({
|
|
|
7937
7937
|
rowSelection: j,
|
|
7938
7938
|
setRowSelection: N,
|
|
7939
7939
|
filterConfig: r,
|
|
7940
|
-
customColumnConfig:
|
|
7940
|
+
customColumnConfig: m,
|
|
7941
7941
|
exportConfig: x,
|
|
7942
7942
|
table: w,
|
|
7943
7943
|
isCheckbox: H,
|
|
@@ -7945,7 +7945,7 @@ function r2({
|
|
|
7945
7945
|
}
|
|
7946
7946
|
),
|
|
7947
7947
|
/* @__PURE__ */ o.jsx(
|
|
7948
|
-
|
|
7948
|
+
hm,
|
|
7949
7949
|
{
|
|
7950
7950
|
table: w,
|
|
7951
7951
|
isCheckbox: H,
|
|
@@ -7958,12 +7958,12 @@ function r2({
|
|
|
7958
7958
|
}
|
|
7959
7959
|
)
|
|
7960
7960
|
] }),
|
|
7961
|
-
typeof u == "object" && !!u.metaData && /* @__PURE__ */ o.jsx(
|
|
7961
|
+
typeof u == "object" && !!u.metaData && /* @__PURE__ */ o.jsx(Yb, { paginationConfig: u })
|
|
7962
7962
|
]
|
|
7963
7963
|
}
|
|
7964
7964
|
);
|
|
7965
7965
|
}
|
|
7966
|
-
function
|
|
7966
|
+
function hm({
|
|
7967
7967
|
table: t,
|
|
7968
7968
|
isCheckbox: e,
|
|
7969
7969
|
isRadio: s,
|
|
@@ -7975,7 +7975,7 @@ function hb({
|
|
|
7975
7975
|
}) {
|
|
7976
7976
|
const [a, u] = _.useState(!1), [d, g] = _.useState(!1), f = _.useRef(null);
|
|
7977
7977
|
console.log({ showLeftShadow: a, showRightShadow: d });
|
|
7978
|
-
const
|
|
7978
|
+
const m = () => {
|
|
7979
7979
|
if (f.current) {
|
|
7980
7980
|
const { scrollLeft: x, scrollWidth: I, clientWidth: h } = f.current;
|
|
7981
7981
|
u(x > 0), g(I > h && x < I - h);
|
|
@@ -7988,12 +7988,12 @@ function hb({
|
|
|
7988
7988
|
id: "hui-table-scroll-container",
|
|
7989
7989
|
style: { overflowY: "scroll", maxHeight: i == null ? void 0 : i.maxHeight },
|
|
7990
7990
|
ref: f,
|
|
7991
|
-
onScroll:
|
|
7991
|
+
onScroll: m,
|
|
7992
7992
|
children: /* @__PURE__ */ o.jsxs("table", { className: Ne.table, children: [
|
|
7993
|
-
/* @__PURE__ */ o.jsx("thead", { className: Ne.tableHead, children: t.getHeaderGroups().map((x) => /* @__PURE__ */ o.jsx("tr", { className: Ne.tableRow, children: x.headers.map((I, h,
|
|
7993
|
+
/* @__PURE__ */ o.jsx("thead", { className: Ne.tableHead, children: t.getHeaderGroups().map((x) => /* @__PURE__ */ o.jsx("tr", { className: Ne.tableRow, children: x.headers.map((I, h, b) => {
|
|
7994
7994
|
var C, A;
|
|
7995
7995
|
let v = !1;
|
|
7996
|
-
return (C = i == null ? void 0 : i.stickyIds) != null && C.length && i.stickyIds.includes((A =
|
|
7996
|
+
return (C = i == null ? void 0 : i.stickyIds) != null && C.length && i.stickyIds.includes((A = b[h - 1]) == null ? void 0 : A.id) && (v = !0), /* @__PURE__ */ o.jsx(
|
|
7997
7997
|
"th",
|
|
7998
7998
|
{
|
|
7999
7999
|
colSpan: I.colSpan,
|
|
@@ -8029,7 +8029,7 @@ function hb({
|
|
|
8029
8029
|
false: I.column.getCanSort() ? /* @__PURE__ */ o.jsx(
|
|
8030
8030
|
X,
|
|
8031
8031
|
{
|
|
8032
|
-
path:
|
|
8032
|
+
path: Jb,
|
|
8033
8033
|
spanClassName: Ne.tableHeaderSortSpan,
|
|
8034
8034
|
svgClassName: Ne.tableHeaderSort
|
|
8035
8035
|
}
|
|
@@ -8042,9 +8042,9 @@ function hb({
|
|
|
8042
8042
|
I.id
|
|
8043
8043
|
);
|
|
8044
8044
|
}) }, x.id)) }),
|
|
8045
|
-
r.isFetching ? /* @__PURE__ */ o.jsx(Zp, { text: r.text, isError: r.isError }) : l ? /* @__PURE__ */ o.jsx(zp, { emptyStateConfig: n, search: c }) : /* @__PURE__ */ o.jsx("tbody", { className: Ne.tableBody, children: t.getRowModel().rows.map((x, I, h) => /* @__PURE__ */ o.jsx("tr", { className: Ne.tableRow, children: x.getVisibleCells().map((
|
|
8045
|
+
r.isFetching ? /* @__PURE__ */ o.jsx(Zp, { text: r.text, isError: r.isError }) : l ? /* @__PURE__ */ o.jsx(zp, { emptyStateConfig: n, search: c }) : /* @__PURE__ */ o.jsx("tbody", { className: Ne.tableBody, children: t.getRowModel().rows.map((x, I, h) => /* @__PURE__ */ o.jsx("tr", { className: Ne.tableRow, children: x.getVisibleCells().map((b, v, C) => {
|
|
8046
8046
|
var F, j;
|
|
8047
|
-
const A = (e || s) && (
|
|
8047
|
+
const A = (e || s) && (b.id === `${I}_${Xe}` || b.id === `${I}_${Oe}`);
|
|
8048
8048
|
let E = !1;
|
|
8049
8049
|
return (F = i == null ? void 0 : i.stickyIds) != null && F.length && (E = (j = C[v - 1]) == null ? void 0 : j.column.getCanPin()), /* @__PURE__ */ o.jsx(
|
|
8050
8050
|
"td",
|
|
@@ -8054,15 +8054,15 @@ function hb({
|
|
|
8054
8054
|
(e || s) && Ne.tableDataWithSelection
|
|
8055
8055
|
),
|
|
8056
8056
|
style: {
|
|
8057
|
-
width:
|
|
8057
|
+
width: b.column.getSize() === Number.MAX_SAFE_INTEGER ? "auto" : b.column.getSize(),
|
|
8058
8058
|
backgroundColor: "white",
|
|
8059
8059
|
verticalAlign: A ? "middle" : void 0,
|
|
8060
8060
|
paddingLeft: E ? "15px" : void 0,
|
|
8061
|
-
...$s(
|
|
8061
|
+
...$s(b.column)
|
|
8062
8062
|
},
|
|
8063
|
-
children: Gt(
|
|
8063
|
+
children: Gt(b.column.columnDef.cell, b.getContext())
|
|
8064
8064
|
},
|
|
8065
|
-
|
|
8065
|
+
b.id
|
|
8066
8066
|
);
|
|
8067
8067
|
}) }, x.id)) }),
|
|
8068
8068
|
r.isError && /* @__PURE__ */ o.jsx("tbody", { style: { height: "200px" }, children: /* @__PURE__ */ o.jsx("tr", { children: /* @__PURE__ */ o.jsx("td", { colSpan: n == null ? void 0 : n.columns, style: { textAlign: "center" }, children: r.errMsg || "Error getting data, please try again later." }) }) })
|
|
@@ -8079,13 +8079,7 @@ const $s = (t, e, s, r) => {
|
|
|
8079
8079
|
// : isFirstRightPinnedColumn && showRightShadow
|
|
8080
8080
|
// ? rightShadow
|
|
8081
8081
|
// : undefined,
|
|
8082
|
-
|
|
8083
|
-
// isLastLeftPinnedColumn && showLeftShadow
|
|
8084
|
-
// ? leftShadow
|
|
8085
|
-
// : isFirstRightPinnedColumn && showRightShadow
|
|
8086
|
-
// ? rightShadow
|
|
8087
|
-
// : undefined,
|
|
8088
|
-
boxShadow: i ? "3px 0px 10px 0px rgba(0, 0, 0, 0.07)" : l ? "-3px 0px 10px 0px rgba(0, 0, 0, 0.07)" : void 0,
|
|
8082
|
+
filter: i ? "drop-shadow(3px 0px 3px rgba(0, 0, 0, 0.07))" : l ? "drop-shadow(-3px 0px 3px rgba(0, 0, 0, 0.07))" : void 0,
|
|
8089
8083
|
left: n === "left" ? `${t.getStart("left")}px` : void 0,
|
|
8090
8084
|
right: n === "right" ? `${t.getAfter("right")}px` : void 0,
|
|
8091
8085
|
position: n ? "sticky" : void 0,
|
|
@@ -8098,9 +8092,9 @@ const $s = (t, e, s, r) => {
|
|
|
8098
8092
|
export {
|
|
8099
8093
|
je as BUTTON_VARIANT,
|
|
8100
8094
|
Q as Button,
|
|
8101
|
-
|
|
8102
|
-
$
|
|
8103
|
-
|
|
8095
|
+
Um as Checkbox,
|
|
8096
|
+
$m as CreatableSelect,
|
|
8097
|
+
Tm as Drawer,
|
|
8104
8098
|
rr as EmptyState,
|
|
8105
8099
|
lr as Input,
|
|
8106
8100
|
kn as InputContainer,
|
|
@@ -8113,29 +8107,29 @@ export {
|
|
|
8113
8107
|
Cp as LOADER_VARIANT,
|
|
8114
8108
|
e2 as LayoutTabs,
|
|
8115
8109
|
t2 as Loader,
|
|
8116
|
-
|
|
8117
|
-
|
|
8118
|
-
|
|
8119
|
-
|
|
8120
|
-
|
|
8110
|
+
Vm as Modal,
|
|
8111
|
+
Lm as ModalBody,
|
|
8112
|
+
km as ModalContent,
|
|
8113
|
+
Dm as ModalFooter,
|
|
8114
|
+
Om as ModalHeader,
|
|
8121
8115
|
lc as ModalOverlay,
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
|
|
8127
|
-
|
|
8128
|
-
|
|
8129
|
-
|
|
8116
|
+
Wm as Popover,
|
|
8117
|
+
Hm as PopoverCloseButton,
|
|
8118
|
+
Zm as PopoverContent,
|
|
8119
|
+
Xm as PopoverDescription,
|
|
8120
|
+
Mm as PopoverTitle,
|
|
8121
|
+
zm as PopoverTrigger,
|
|
8122
|
+
Qm as Progress,
|
|
8123
|
+
qm as RadioGroup,
|
|
8130
8124
|
Op as STATUS_MAP,
|
|
8131
8125
|
X as SVG,
|
|
8132
8126
|
rt as Search,
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
|
|
8127
|
+
Km as SegmentedControl,
|
|
8128
|
+
Ym as Select,
|
|
8129
|
+
Jm as SelectAsync,
|
|
8136
8130
|
Ma as Selectors,
|
|
8137
8131
|
n2 as Switch,
|
|
8138
|
-
|
|
8132
|
+
Pm as Table,
|
|
8139
8133
|
r2 as TableV2,
|
|
8140
8134
|
s2 as Tag,
|
|
8141
8135
|
Qe as Tooltip
|