@hybr1d-tech/charizard 0.4.47 → 0.4.48
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 +104 -109
- package/dist/hybr1d-ui.umd.cjs +8 -8
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import './style.css';
|
|
2
2
|
import * as y from "react";
|
|
3
|
-
import Ks, { useLayoutEffect as mo, useContext as fo, useRef as Te, useState as Ie, createContext as ho, useMemo as
|
|
3
|
+
import Ks, { useLayoutEffect as mo, useContext as fo, useRef as Te, useState as Ie, createContext as ho, useMemo as $e, useCallback as me, Component as vo, Fragment as jn, useEffect as Xt, forwardRef as qs, createElement as wn } from "react";
|
|
4
4
|
import * as vt from "@zag-js/menu";
|
|
5
5
|
import B from "clsx";
|
|
6
6
|
import { useMachine as ie, normalizeProps as ae, Portal as Ct } from "@zag-js/react";
|
|
7
7
|
import Io from "react-inlinesvg";
|
|
8
8
|
import xo from "react-infinite-scroll-component";
|
|
9
9
|
import Mt from "use-deep-compare-effect";
|
|
10
|
-
import * as
|
|
10
|
+
import * as Ke from "@zag-js/checkbox";
|
|
11
11
|
import kn from "react-country-flag";
|
|
12
12
|
import * as It from "@zag-js/tooltip";
|
|
13
13
|
import { create as er } from "zustand";
|
|
@@ -231,16 +231,16 @@ function Lo() {
|
|
|
231
231
|
` + je + p;
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
var ke = !1,
|
|
234
|
+
var ke = !1, Me;
|
|
235
235
|
{
|
|
236
236
|
var ot = typeof WeakMap == "function" ? WeakMap : Map;
|
|
237
|
-
|
|
237
|
+
Me = new ot();
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function ze(p, A) {
|
|
240
240
|
if (!p || ke)
|
|
241
241
|
return "";
|
|
242
242
|
{
|
|
243
|
-
var w =
|
|
243
|
+
var w = Me.get(p);
|
|
244
244
|
if (w !== void 0)
|
|
245
245
|
return w;
|
|
246
246
|
}
|
|
@@ -295,7 +295,7 @@ function Lo() {
|
|
|
295
295
|
if (te--, se--, se < 0 || X[te] !== ye[se]) {
|
|
296
296
|
var Fe = `
|
|
297
297
|
` + X[te].replace(" at new ", " at ");
|
|
298
|
-
return p.displayName && Fe.includes("<anonymous>") && (Fe = Fe.replace("<anonymous>", p.displayName)), typeof p == "function" &&
|
|
298
|
+
return p.displayName && Fe.includes("<anonymous>") && (Fe = Fe.replace("<anonymous>", p.displayName)), typeof p == "function" && Me.set(p, Fe), Fe;
|
|
299
299
|
}
|
|
300
300
|
while (te >= 1 && se >= 0);
|
|
301
301
|
break;
|
|
@@ -305,10 +305,10 @@ function Lo() {
|
|
|
305
305
|
ke = !1, de.current = $, ve(), Error.prepareStackTrace = Y;
|
|
306
306
|
}
|
|
307
307
|
var ct = p ? p.displayName || p.name : "", ds = ct ? he(ct) : "";
|
|
308
|
-
return typeof p == "function" &&
|
|
308
|
+
return typeof p == "function" && Me.set(p, ds), ds;
|
|
309
309
|
}
|
|
310
310
|
function _t(p, A, w) {
|
|
311
|
-
return
|
|
311
|
+
return ze(p, !1);
|
|
312
312
|
}
|
|
313
313
|
function it(p) {
|
|
314
314
|
var A = p.prototype;
|
|
@@ -318,7 +318,7 @@ function Lo() {
|
|
|
318
318
|
if (p == null)
|
|
319
319
|
return "";
|
|
320
320
|
if (typeof p == "function")
|
|
321
|
-
return
|
|
321
|
+
return ze(p, it(p));
|
|
322
322
|
if (typeof p == "string")
|
|
323
323
|
return he(p);
|
|
324
324
|
switch (p) {
|
|
@@ -343,13 +343,13 @@ function Lo() {
|
|
|
343
343
|
}
|
|
344
344
|
return "";
|
|
345
345
|
}
|
|
346
|
-
var at = Object.prototype.hasOwnProperty, Vt = {},
|
|
346
|
+
var at = Object.prototype.hasOwnProperty, Vt = {}, Ye = f.ReactDebugCurrentFrame;
|
|
347
347
|
function Re(p) {
|
|
348
348
|
if (p) {
|
|
349
349
|
var A = p._owner, w = Le(p.type, p._source, A ? A.type : null);
|
|
350
|
-
|
|
350
|
+
Ye.setExtraStackFrame(w);
|
|
351
351
|
} else
|
|
352
|
-
|
|
352
|
+
Ye.setExtraStackFrame(null);
|
|
353
353
|
}
|
|
354
354
|
function Ce(p, A, w, D, Y) {
|
|
355
355
|
{
|
|
@@ -371,7 +371,7 @@ function Lo() {
|
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
373
|
var ln = Array.isArray;
|
|
374
|
-
function
|
|
374
|
+
function et(p) {
|
|
375
375
|
return ln(p);
|
|
376
376
|
}
|
|
377
377
|
function Ur(p) {
|
|
@@ -558,7 +558,7 @@ Check the top-level render call using <` + w + ">.");
|
|
|
558
558
|
{
|
|
559
559
|
if (typeof p != "object")
|
|
560
560
|
return;
|
|
561
|
-
if (
|
|
561
|
+
if (et(p))
|
|
562
562
|
for (var w = 0; w < p.length; w++) {
|
|
563
563
|
var D = p[w];
|
|
564
564
|
pn(D) && ls(D, A);
|
|
@@ -619,7 +619,7 @@ Check the top-level render call using <` + w + ">.");
|
|
|
619
619
|
var ye = io(Y);
|
|
620
620
|
ye ? X += ye : X += is();
|
|
621
621
|
var te;
|
|
622
|
-
p === null ? te = "null" :
|
|
622
|
+
p === null ? te = "null" : et(p) ? te = "array" : p !== void 0 && p.$$typeof === e ? (te = "<" + (_(p.type) || "Unknown") + " />", X = " Did you accidentally export a JSX literal instead of a component?") : te = typeof p, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", te, X);
|
|
623
623
|
}
|
|
624
624
|
var se = oo(p, A, w, Y, $);
|
|
625
625
|
if (se == null)
|
|
@@ -628,7 +628,7 @@ Check the top-level render call using <` + w + ">.");
|
|
|
628
628
|
var Fe = A.children;
|
|
629
629
|
if (Fe !== void 0)
|
|
630
630
|
if (D)
|
|
631
|
-
if (
|
|
631
|
+
if (et(Fe)) {
|
|
632
632
|
for (var ct = 0; ct < Fe.length; ct++)
|
|
633
633
|
cs(Fe[ct], p);
|
|
634
634
|
Object.freeze && Object.freeze(Fe);
|
|
@@ -652,7 +652,7 @@ Check the top-level render call using <` + w + ">.");
|
|
|
652
652
|
}
|
|
653
653
|
process.env.NODE_ENV === "production" ? Bn.exports = ko() : Bn.exports = Lo();
|
|
654
654
|
var o = Bn.exports;
|
|
655
|
-
const
|
|
655
|
+
const qe = "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", rr = "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", Do = "_btn_1xkr8_2", Oo = "_disabled_1xkr8_23", Wo = "_btnSm_1xkr8_31", Ho = "_btnAdapt_1xkr8_38", Zo = "_btnXs_1xkr8_42", Xo = "_btnPrimary_1xkr8_56", Mo = "_btnSecondary_1xkr8_65", zo = "_btnGhost_1xkr8_74", Yo = "_btnDanger_1xkr8_84", Jo = "_btnLink_1xkr8_89", $o = "_btnMinimal_1xkr8_94", Uo = "_btnGrp_1xkr8_106", Qo = "_btnMenu_1xkr8_112", Ko = "_btnMenuSingle_1xkr8_118", qo = "_btnAddon_1xkr8_122", ei = "_btnAddonPrimary_1xkr8_127", ti = "_btnAddonSecondary_1xkr8_132", ni = "_btnAddonGhost_1xkr8_136", si = "_btnImgPrimary_1xkr8_140", ri = "_btnImgSecondary_1xkr8_144", oi = "_btnImgGhost_1xkr8_148", ii = "_btnImgSm_1xkr8_152", ai = "_menus_1xkr8_157", li = "_menu_1xkr8_157", ci = "_menuDisabled_1xkr8_186", ui = "_menuIcon_1xkr8_195", di = "_customTrigger_1xkr8_206", pi = "_customTriggerActive_1xkr8_218", gi = "_actionsBoxRegular_1xkr8_224", bi = "_actionsBoxSmall_1xkr8_235", mi = "_actionsDropdownSpan_1xkr8_240", fi = "_actionsDropdown_1xkr8_240", hi = "_actionsDropdownActive_1xkr8_261", vi = "_chevronDown_1xkr8_265", P = {
|
|
656
656
|
btn: Do,
|
|
657
657
|
disabled: Oo,
|
|
658
658
|
btnSm: Wo,
|
|
@@ -782,7 +782,7 @@ function or({
|
|
|
782
782
|
...b.triggerProps,
|
|
783
783
|
children: [
|
|
784
784
|
t,
|
|
785
|
-
/* @__PURE__ */ o.jsx(W, { path:
|
|
785
|
+
/* @__PURE__ */ o.jsx(W, { path: qe, width: 24, height: 24, svgClassName: P.chevronDown })
|
|
786
786
|
]
|
|
787
787
|
}
|
|
788
788
|
) : i ? /* @__PURE__ */ o.jsx(
|
|
@@ -834,7 +834,7 @@ function or({
|
|
|
834
834
|
children: /* @__PURE__ */ o.jsx(
|
|
835
835
|
"img",
|
|
836
836
|
{
|
|
837
|
-
src:
|
|
837
|
+
src: qe,
|
|
838
838
|
alt: "chevron down",
|
|
839
839
|
className: B(
|
|
840
840
|
e === "primary" && P.btnImgPrimary,
|
|
@@ -959,7 +959,7 @@ function qi({
|
|
|
959
959
|
customName: a
|
|
960
960
|
}) {
|
|
961
961
|
const [u, d] = ie(
|
|
962
|
-
|
|
962
|
+
Ke.machine({
|
|
963
963
|
id: e,
|
|
964
964
|
name: t,
|
|
965
965
|
checked: n,
|
|
@@ -967,7 +967,7 @@ function qi({
|
|
|
967
967
|
m ? s(i, e, l) : r(i, e, l);
|
|
968
968
|
}
|
|
969
969
|
})
|
|
970
|
-
), g =
|
|
970
|
+
), g = Ke.connect(u, d, ae);
|
|
971
971
|
return /* @__PURE__ */ o.jsxs("label", { ...g.rootProps, className: Q.optionLabel, children: [
|
|
972
972
|
/* @__PURE__ */ o.jsx("div", { ...g.controlProps }),
|
|
973
973
|
/* @__PURE__ */ o.jsxs("span", { ...g.labelProps, children: [
|
|
@@ -1089,7 +1089,7 @@ function ia({
|
|
|
1089
1089
|
selectedFilters: b
|
|
1090
1090
|
}
|
|
1091
1091
|
),
|
|
1092
|
-
/* @__PURE__ */ o.jsx(W, { path:
|
|
1092
|
+
/* @__PURE__ */ o.jsx(W, { path: qe, svgClassName: Q.filterIcon2 })
|
|
1093
1093
|
]
|
|
1094
1094
|
}
|
|
1095
1095
|
),
|
|
@@ -1463,7 +1463,7 @@ function Na({
|
|
|
1463
1463
|
W,
|
|
1464
1464
|
{
|
|
1465
1465
|
svgClassName: ut.actionsBtnIcon,
|
|
1466
|
-
path:
|
|
1466
|
+
path: qe,
|
|
1467
1467
|
spanClassName: ut.actionsBtnIconSpan
|
|
1468
1468
|
}
|
|
1469
1469
|
)
|
|
@@ -2052,7 +2052,7 @@ function rn({
|
|
|
2052
2052
|
children: [
|
|
2053
2053
|
t,
|
|
2054
2054
|
s && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
2055
|
-
/* @__PURE__ */ o.jsx(W, { path:
|
|
2055
|
+
/* @__PURE__ */ o.jsx(W, { path: qe, width: 20, customSpanStyles: { width: "20px" } }),
|
|
2056
2056
|
c && /* @__PURE__ */ o.jsxs(
|
|
2057
2057
|
"div",
|
|
2058
2058
|
{
|
|
@@ -2213,7 +2213,7 @@ function $l({
|
|
|
2213
2213
|
)
|
|
2214
2214
|
] }) });
|
|
2215
2215
|
}
|
|
2216
|
-
function
|
|
2216
|
+
function Qe({
|
|
2217
2217
|
children: t,
|
|
2218
2218
|
openDelay: e = 0,
|
|
2219
2219
|
closeDelay: s = 0,
|
|
@@ -2235,8 +2235,8 @@ function $e({
|
|
|
2235
2235
|
}));
|
|
2236
2236
|
return /* @__PURE__ */ o.jsx(o.Fragment, { children: c });
|
|
2237
2237
|
}
|
|
2238
|
-
|
|
2239
|
-
|
|
2238
|
+
Qe.Trigger = Jl;
|
|
2239
|
+
Qe.Content = $l;
|
|
2240
2240
|
function Dn({
|
|
2241
2241
|
children: t,
|
|
2242
2242
|
customClasses: e,
|
|
@@ -2258,9 +2258,9 @@ function Dn({
|
|
|
2258
2258
|
children: /* @__PURE__ */ o.jsx("span", { children: t })
|
|
2259
2259
|
}
|
|
2260
2260
|
),
|
|
2261
|
-
l && /* @__PURE__ */ o.jsxs(
|
|
2262
|
-
/* @__PURE__ */ o.jsx(
|
|
2263
|
-
/* @__PURE__ */ o.jsx(
|
|
2261
|
+
l && /* @__PURE__ */ o.jsxs(Qe, { children: [
|
|
2262
|
+
/* @__PURE__ */ o.jsx(Qe.Trigger, { children: /* @__PURE__ */ o.jsx(W, { path: hr, svgClassName: re.infoCircleSvg }) }),
|
|
2263
|
+
/* @__PURE__ */ o.jsx(Qe.Content, { positionerStyles: c, children: l })
|
|
2264
2264
|
] })
|
|
2265
2265
|
] });
|
|
2266
2266
|
}
|
|
@@ -2618,7 +2618,7 @@ const vc = "_selectContainer_1uuim_1", Ic = "_errorMsg_1uuim_5", xc = "_multiLab
|
|
|
2618
2618
|
}
|
|
2619
2619
|
),
|
|
2620
2620
|
/* @__PURE__ */ o.jsx("div", { className: B(oe.label), children: /* @__PURE__ */ o.jsx("span", { children: t.data.label }) })
|
|
2621
|
-
] }) }), Xn = (t) => /* @__PURE__ */ o.jsx(yt.MultiValueRemove, { ...t, children: /* @__PURE__ */ o.jsx(W, { path: st, spanClassName: oe.closeSpan }) }), Mn = (t) => /* @__PURE__ */ o.jsx(yt.ClearIndicator, { ...t, children: /* @__PURE__ */ o.jsx(W, { path: st, spanClassName: oe.closeSpan }) }), zn = (t) => /* @__PURE__ */ o.jsx(yt.DropdownIndicator, { ...t, children: /* @__PURE__ */ o.jsx(W, { path:
|
|
2621
|
+
] }) }), Xn = (t) => /* @__PURE__ */ o.jsx(yt.MultiValueRemove, { ...t, children: /* @__PURE__ */ o.jsx(W, { path: st, spanClassName: oe.closeSpan }) }), Mn = (t) => /* @__PURE__ */ o.jsx(yt.ClearIndicator, { ...t, children: /* @__PURE__ */ o.jsx(W, { path: st, spanClassName: oe.closeSpan }) }), zn = (t) => /* @__PURE__ */ o.jsx(yt.DropdownIndicator, { ...t, children: /* @__PURE__ */ o.jsx(W, { path: qe, spanClassName: oe.downArrowSpan }) }), Yn = (t) => /* @__PURE__ */ o.jsx(yt.SingleValue, { ...t, children: /* @__PURE__ */ o.jsxs("div", { className: oe.singleValueContainer, children: [
|
|
2622
2622
|
t.data.profileImgUrl && /* @__PURE__ */ o.jsx(
|
|
2623
2623
|
"img",
|
|
2624
2624
|
{
|
|
@@ -3453,7 +3453,7 @@ var jr = function(e) {
|
|
|
3453
3453
|
zIndex: 1
|
|
3454
3454
|
};
|
|
3455
3455
|
}, Gu = function(e) {
|
|
3456
|
-
var s = e.appendTo, r = e.children, n = e.controlElement, i = e.innerProps, l = e.menuPlacement, c = e.menuPosition, a = Te(null), u = Te(null), d = Ie(jr(l)), g = be(d, 2), m = g[0], b = g[1], x =
|
|
3456
|
+
var s = e.appendTo, r = e.children, n = e.controlElement, i = e.innerProps, l = e.menuPlacement, c = e.menuPosition, a = Te(null), u = Te(null), d = Ie(jr(l)), g = be(d, 2), m = g[0], b = g[1], x = $e(function() {
|
|
3457
3457
|
return {
|
|
3458
3458
|
setPortalPlacement: b
|
|
3459
3459
|
};
|
|
@@ -4060,9 +4060,9 @@ var Pd = process.env.NODE_ENV === "production" ? {
|
|
|
4060
4060
|
return "".concat(r).concat(s ? " for search term " + s : "", ".");
|
|
4061
4061
|
}
|
|
4062
4062
|
}, Ld = function(e) {
|
|
4063
|
-
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, m = a.getOptionLabel, b = a.inputValue, x = a.isMulti, v = a.isOptionDisabled, h = a.isSearchable, f = a.menuIsOpen, I = a.options, C = a.screenReaderStatus, S = a.tabSelectsValue, G = a.isLoading, R = a["aria-label"], j = a["aria-live"], N =
|
|
4063
|
+
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, m = a.getOptionLabel, b = a.inputValue, x = a.isMulti, v = a.isOptionDisabled, h = a.isSearchable, f = a.menuIsOpen, I = a.options, C = a.screenReaderStatus, S = a.tabSelectsValue, G = a.isLoading, R = a["aria-label"], j = a["aria-live"], N = $e(function() {
|
|
4064
4064
|
return F(F({}, kd), g || {});
|
|
4065
|
-
}, [g]), T =
|
|
4065
|
+
}, [g]), T = $e(function() {
|
|
4066
4066
|
var E = "";
|
|
4067
4067
|
if (s && N.onChange) {
|
|
4068
4068
|
var Z = s.option, fe = s.options, le = s.removedValue, Be = s.removedValues, Se = s.value, Oe = function(he) {
|
|
@@ -4077,7 +4077,7 @@ var Pd = process.env.NODE_ENV === "production" ? {
|
|
|
4077
4077
|
E = N.onChange(de);
|
|
4078
4078
|
}
|
|
4079
4079
|
return E;
|
|
4080
|
-
}, [s, N, v, c, m]), H =
|
|
4080
|
+
}, [s, N, v, c, m]), H = $e(function() {
|
|
4081
4081
|
var E = "", Z = r || n, fe = !!(r && c && c.includes(r));
|
|
4082
4082
|
if (Z && N.onFocus) {
|
|
4083
4083
|
var le = {
|
|
@@ -4093,7 +4093,7 @@ var Pd = process.env.NODE_ENV === "production" ? {
|
|
|
4093
4093
|
E = N.onFocus(le);
|
|
4094
4094
|
}
|
|
4095
4095
|
return E;
|
|
4096
|
-
}, [r, n, m, v, N, i, c, d]), M =
|
|
4096
|
+
}, [r, n, m, v, N, i, c, d]), M = $e(function() {
|
|
4097
4097
|
var E = "";
|
|
4098
4098
|
if (f && I.length && !G && N.onFilter) {
|
|
4099
4099
|
var Z = C({
|
|
@@ -4105,7 +4105,7 @@ var Pd = process.env.NODE_ENV === "production" ? {
|
|
|
4105
4105
|
});
|
|
4106
4106
|
}
|
|
4107
4107
|
return E;
|
|
4108
|
-
}, [i, b, f, N, I, C, G]), O = (s == null ? void 0 : s.action) === "initial-input-focus", _ =
|
|
4108
|
+
}, [i, b, f, N, I, C, G]), O = (s == null ? void 0 : s.action) === "initial-input-focus", _ = $e(function() {
|
|
4109
4109
|
var E = "";
|
|
4110
4110
|
if (N.guidance) {
|
|
4111
4111
|
var Z = n ? "value" : f ? "menu" : "input";
|
|
@@ -5530,15 +5530,15 @@ var Yr = function(e) {
|
|
|
5530
5530
|
if (!j)
|
|
5531
5531
|
return null;
|
|
5532
5532
|
var Z = function(ue, Ee) {
|
|
5533
|
-
var ve = ue.type, de = ue.data, je = ue.isDisabled, he = ue.isSelected, ke = ue.label,
|
|
5533
|
+
var ve = ue.type, de = ue.data, je = ue.isDisabled, he = ue.isSelected, ke = ue.label, Me = ue.value, ot = v === de, ze = je ? void 0 : function() {
|
|
5534
5534
|
return n.onOptionHover(de);
|
|
5535
5535
|
}, _t = je ? void 0 : function() {
|
|
5536
5536
|
return n.selectOption(de);
|
|
5537
5537
|
}, it = "".concat(n.getElementId("option"), "-").concat(Ee), Le = {
|
|
5538
5538
|
id: it,
|
|
5539
5539
|
onClick: _t,
|
|
5540
|
-
onMouseMove:
|
|
5541
|
-
onMouseOver:
|
|
5540
|
+
onMouseMove: ze,
|
|
5541
|
+
onMouseOver: ze,
|
|
5542
5542
|
tabIndex: -1,
|
|
5543
5543
|
role: "option",
|
|
5544
5544
|
"aria-selected": n.isAppleDevice ? void 0 : he
|
|
@@ -5552,7 +5552,7 @@ var Yr = function(e) {
|
|
|
5552
5552
|
key: it,
|
|
5553
5553
|
label: ke,
|
|
5554
5554
|
type: ve,
|
|
5555
|
-
value:
|
|
5555
|
+
value: Me,
|
|
5556
5556
|
isFocused: ot,
|
|
5557
5557
|
innerRef: ot ? n.getFocusedOptionRef : void 0
|
|
5558
5558
|
}), n.formatOptionLabel(ue.data, "menu"));
|
|
@@ -5780,27 +5780,27 @@ var C0 = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading
|
|
|
5780
5780
|
function y0(t) {
|
|
5781
5781
|
var e = t.defaultOptions, s = e === void 0 ? !1 : e, r = t.cacheOptions, n = r === void 0 ? !1 : r, i = t.loadOptions;
|
|
5782
5782
|
t.options;
|
|
5783
|
-
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, C0), m = g.inputValue, b = Te(void 0), x = Te(!1), v = Ie(Array.isArray(s) ? s : void 0), h = be(v, 2), f = h[0], I = h[1], C = Ie(typeof m < "u" ? m : ""), S = be(C, 2), G = S[0], R = S[1], j = Ie(s === !0), N = be(j, 2), T = N[0], H = N[1], M = Ie(void 0), O = be(M, 2), _ = O[0], k = O[1], E = Ie([]), Z = be(E, 2), fe = Z[0], le = Z[1], Be = Ie(!1), Se = be(Be, 2), Oe = Se[0], J = Se[1], ue = Ie({}), Ee = be(ue, 2), ve = Ee[0], de = Ee[1], je = Ie(void 0), he = be(je, 2), ke = he[0],
|
|
5784
|
-
n !== _t && (de({}), it(n)), s !== ke && (I(Array.isArray(s) ? s : void 0),
|
|
5783
|
+
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, C0), m = g.inputValue, b = Te(void 0), x = Te(!1), v = Ie(Array.isArray(s) ? s : void 0), h = be(v, 2), f = h[0], I = h[1], C = Ie(typeof m < "u" ? m : ""), S = be(C, 2), G = S[0], R = S[1], j = Ie(s === !0), N = be(j, 2), T = N[0], H = N[1], M = Ie(void 0), O = be(M, 2), _ = O[0], k = O[1], E = Ie([]), Z = be(E, 2), fe = Z[0], le = Z[1], Be = Ie(!1), Se = be(Be, 2), Oe = Se[0], J = Se[1], ue = Ie({}), Ee = be(ue, 2), ve = Ee[0], de = Ee[1], je = Ie(void 0), he = be(je, 2), ke = he[0], Me = he[1], ot = Ie(void 0), ze = be(ot, 2), _t = ze[0], it = ze[1];
|
|
5784
|
+
n !== _t && (de({}), it(n)), s !== ke && (I(Array.isArray(s) ? s : void 0), Me(s)), Xt(function() {
|
|
5785
5785
|
return x.current = !0, function() {
|
|
5786
5786
|
x.current = !1;
|
|
5787
5787
|
};
|
|
5788
5788
|
}, []);
|
|
5789
|
-
var Le = me(function(
|
|
5789
|
+
var Le = me(function(Ye, Re) {
|
|
5790
5790
|
if (!i)
|
|
5791
5791
|
return Re();
|
|
5792
|
-
var Ce = i(
|
|
5792
|
+
var Ce = i(Ye, Re);
|
|
5793
5793
|
Ce && typeof Ce.then == "function" && Ce.then(Re, function() {
|
|
5794
5794
|
return Re();
|
|
5795
5795
|
});
|
|
5796
5796
|
}, [i]);
|
|
5797
5797
|
Xt(function() {
|
|
5798
|
-
s === !0 && Le(G, function(
|
|
5799
|
-
x.current && (I(
|
|
5798
|
+
s === !0 && Le(G, function(Ye) {
|
|
5799
|
+
x.current && (I(Ye || []), H(!!b.current));
|
|
5800
5800
|
});
|
|
5801
5801
|
}, []);
|
|
5802
|
-
var at = me(function(
|
|
5803
|
-
var Ce = ou(
|
|
5802
|
+
var at = me(function(Ye, Re) {
|
|
5803
|
+
var Ce = ou(Ye, Re, a);
|
|
5804
5804
|
if (!Ce) {
|
|
5805
5805
|
b.current = void 0, R(""), k(""), le([]), H(!1), J(!1);
|
|
5806
5806
|
return;
|
|
@@ -5809,8 +5809,8 @@ function y0(t) {
|
|
|
5809
5809
|
R(Ce), k(Ce), le(ve[Ce]), H(!1), J(!1);
|
|
5810
5810
|
else {
|
|
5811
5811
|
var ln = b.current = {};
|
|
5812
|
-
R(Ce), H(!0), J(!_), Le(Ce, function(
|
|
5813
|
-
x && ln === b.current && (b.current = void 0, H(!1), k(Ce), le(
|
|
5812
|
+
R(Ce), H(!0), J(!_), Le(Ce, function(et) {
|
|
5813
|
+
x && ln === b.current && (b.current = void 0, H(!1), k(Ce), le(et || []), J(!1), de(et ? F(F({}, ve), {}, mt({}, Ce, et)) : ve));
|
|
5814
5814
|
});
|
|
5815
5815
|
}
|
|
5816
5816
|
}, [n, Le, _, ve, a]), Vt = Oe ? [] : G && _ ? fe : f || [];
|
|
@@ -5919,12 +5919,12 @@ var N0 = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel"
|
|
|
5919
5919
|
}
|
|
5920
5920
|
};
|
|
5921
5921
|
function S0(t) {
|
|
5922
|
-
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, m = t.options, b = m === void 0 ? [] : m, x = t.onChange, v = Ve(t, N0), h = v.getOptionValue, f = h === void 0 ? Or : h, I = v.getOptionLabel, C = I === void 0 ? Dr : I, S = v.inputValue, G = v.isLoading, R = v.isMulti, j = v.value, N = v.name, T =
|
|
5922
|
+
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, m = t.options, b = m === void 0 ? [] : m, x = t.onChange, v = Ve(t, N0), h = v.getOptionValue, f = h === void 0 ? Or : h, I = v.getOptionLabel, C = I === void 0 ? Dr : I, S = v.inputValue, G = v.isLoading, R = v.isMulti, j = v.value, N = v.name, T = $e(function() {
|
|
5923
5923
|
return a(S, en(j), b, {
|
|
5924
5924
|
getOptionValue: f,
|
|
5925
5925
|
getOptionLabel: C
|
|
5926
5926
|
}) ? d(S, l(S)) : void 0;
|
|
5927
|
-
}, [l, d, C, f, S, a, b, j]), H =
|
|
5927
|
+
}, [l, d, C, f, S, a, b, j]), H = $e(function() {
|
|
5928
5928
|
return (s || !G) && T ? n === "first" ? [T].concat(ht(b)) : [].concat(ht(b), [T]) : b;
|
|
5929
5929
|
}, [s, n, G, T, b]), M = me(function(O, _) {
|
|
5930
5930
|
if (_.action !== "select-option")
|
|
@@ -6043,7 +6043,7 @@ function Ym({
|
|
|
6043
6043
|
}
|
|
6044
6044
|
);
|
|
6045
6045
|
}
|
|
6046
|
-
const w0 = "_checkbox_1d08w_1", B0 = "_disabled_1d08w_11", G0 = "_checkboxInput_1d08w_15", F0 = "_checkboxBox_1d08w_19", R0 = "_error_1d08w_32", T0 = "_indeterminate_1d08w_65", P0 = "_errorMsg_1d08w_70",
|
|
6046
|
+
const w0 = "_checkbox_1d08w_1", B0 = "_disabled_1d08w_11", G0 = "_checkboxInput_1d08w_15", F0 = "_checkboxBox_1d08w_19", R0 = "_error_1d08w_32", T0 = "_indeterminate_1d08w_65", P0 = "_errorMsg_1d08w_70", Je = {
|
|
6047
6047
|
checkbox: w0,
|
|
6048
6048
|
disabled: B0,
|
|
6049
6049
|
checkboxInput: G0,
|
|
@@ -6068,7 +6068,7 @@ function Jm({
|
|
|
6068
6068
|
/* @__PURE__ */ o.jsxs(
|
|
6069
6069
|
"label",
|
|
6070
6070
|
{
|
|
6071
|
-
className: B(
|
|
6071
|
+
className: B(Je.checkbox, { [Je.disabled]: u }, n),
|
|
6072
6072
|
style: i,
|
|
6073
6073
|
htmlFor: t,
|
|
6074
6074
|
children: [
|
|
@@ -6077,7 +6077,7 @@ function Jm({
|
|
|
6077
6077
|
{
|
|
6078
6078
|
type: "checkbox",
|
|
6079
6079
|
checked: c,
|
|
6080
|
-
className:
|
|
6080
|
+
className: Je.checkboxInput,
|
|
6081
6081
|
name: e,
|
|
6082
6082
|
id: t,
|
|
6083
6083
|
onChange: r,
|
|
@@ -6088,10 +6088,10 @@ function Jm({
|
|
|
6088
6088
|
"div",
|
|
6089
6089
|
{
|
|
6090
6090
|
className: B(
|
|
6091
|
-
|
|
6092
|
-
{ [
|
|
6093
|
-
{ [
|
|
6094
|
-
{ [
|
|
6091
|
+
Je.checkboxBox,
|
|
6092
|
+
{ [Je.indeterminate]: a },
|
|
6093
|
+
{ [Je.error]: l },
|
|
6094
|
+
{ [Je.disabled]: u }
|
|
6095
6095
|
)
|
|
6096
6096
|
}
|
|
6097
6097
|
),
|
|
@@ -6099,7 +6099,7 @@ function Jm({
|
|
|
6099
6099
|
]
|
|
6100
6100
|
}
|
|
6101
6101
|
),
|
|
6102
|
-
l && /* @__PURE__ */ o.jsx("p", { className:
|
|
6102
|
+
l && /* @__PURE__ */ o.jsx("p", { className: Je.errorMsg, children: l })
|
|
6103
6103
|
] });
|
|
6104
6104
|
}
|
|
6105
6105
|
const V0 = "_progressContainer_gc4j9_1", k0 = "_header_gc4j9_6", L0 = "_steps_gc4j9_23", D0 = "_btnsFlex_gc4j9_34", O0 = "_step_gc4j9_23", W0 = "_line_gc4j9_46", H0 = "_labelContainer_gc4j9_52", Z0 = "_circle_gc4j9_59", X0 = "_active_gc4j9_80", M0 = "_completed_gc4j9_101", z0 = "_label_gc4j9_52", Y0 = "_body_gc4j9_123", J0 = "_footer_gc4j9_131", _e = {
|
|
@@ -6286,8 +6286,8 @@ function Qm({
|
|
|
6286
6286
|
}
|
|
6287
6287
|
)
|
|
6288
6288
|
] }),
|
|
6289
|
-
!!d.tooltip && /* @__PURE__ */ o.jsxs(
|
|
6290
|
-
/* @__PURE__ */ o.jsx(
|
|
6289
|
+
!!d.tooltip && /* @__PURE__ */ o.jsxs(Qe, { placement: d.tooltip.placement, children: [
|
|
6290
|
+
/* @__PURE__ */ o.jsx(Qe.Trigger, { children: d.tooltip.trigger ? d.tooltip.trigger : /* @__PURE__ */ o.jsx(
|
|
6291
6291
|
W,
|
|
6292
6292
|
{
|
|
6293
6293
|
path: hr,
|
|
@@ -6295,7 +6295,7 @@ function Qm({
|
|
|
6295
6295
|
spanClassName: Ae.infoIconSpan
|
|
6296
6296
|
}
|
|
6297
6297
|
) }),
|
|
6298
|
-
/* @__PURE__ */ o.jsx(
|
|
6298
|
+
/* @__PURE__ */ o.jsx(Qe.Content, { children: d.tooltip.txt })
|
|
6299
6299
|
] })
|
|
6300
6300
|
] }, d.value))
|
|
6301
6301
|
}
|
|
@@ -6336,7 +6336,7 @@ function Km({ tabs: t, defaultValue: e, tabClassName: s, onValueChange: r }) {
|
|
|
6336
6336
|
t.map((c) => /* @__PURE__ */ wn("div", { ...l.getContentProps({ value: c.value }), key: c.value }, c.content))
|
|
6337
6337
|
] });
|
|
6338
6338
|
}
|
|
6339
|
-
const bp = "_box_27130_1", mp = "_ldsRing_27130_10", fp = "_ldsDualRing_27130_48", hp = "_ldsRipple_27130_74", vp = "_ldsEllipsis_27130_122", Ip = "_ldsRoller_27130_179", xp = "_ldsSpinner_27130_265", Cp = "_ldsHourglass_27130_345", yp = "_ldsGrid_27130_378",
|
|
6339
|
+
const bp = "_box_27130_1", mp = "_ldsRing_27130_10", fp = "_ldsDualRing_27130_48", hp = "_ldsRipple_27130_74", vp = "_ldsEllipsis_27130_122", Ip = "_ldsRoller_27130_179", xp = "_ldsSpinner_27130_265", Cp = "_ldsHourglass_27130_345", yp = "_ldsGrid_27130_378", Xe = {
|
|
6340
6340
|
box: bp,
|
|
6341
6341
|
ldsRing: mp,
|
|
6342
6342
|
ldsDualRing: fp,
|
|
@@ -6377,13 +6377,13 @@ function qm({
|
|
|
6377
6377
|
return /* @__PURE__ */ o.jsx(Gp, { loaderStyle: e });
|
|
6378
6378
|
}
|
|
6379
6379
|
};
|
|
6380
|
-
return /* @__PURE__ */ o.jsxs("div", { className:
|
|
6380
|
+
return /* @__PURE__ */ o.jsxs("div", { className: Xe.box, style: t, children: [
|
|
6381
6381
|
r(s),
|
|
6382
6382
|
/* @__PURE__ */ o.jsx("span", { style: { visibility: "hidden", position: "absolute" }, "aria-label": "loading", children: "Loading..." })
|
|
6383
6383
|
] });
|
|
6384
6384
|
}
|
|
6385
6385
|
function Ap({ loaderStyle: t }) {
|
|
6386
|
-
return /* @__PURE__ */ o.jsxs("div", { className:
|
|
6386
|
+
return /* @__PURE__ */ o.jsxs("div", { className: Xe.ldsRing, style: t, children: [
|
|
6387
6387
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
6388
6388
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
6389
6389
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
@@ -6391,16 +6391,16 @@ function Ap({ loaderStyle: t }) {
|
|
|
6391
6391
|
] });
|
|
6392
6392
|
}
|
|
6393
6393
|
function Np({ loaderStyle: t }) {
|
|
6394
|
-
return /* @__PURE__ */ o.jsx("div", { className:
|
|
6394
|
+
return /* @__PURE__ */ o.jsx("div", { className: Xe.ldsDualRing, style: t });
|
|
6395
6395
|
}
|
|
6396
6396
|
function Sp({ loaderStyle: t }) {
|
|
6397
|
-
return /* @__PURE__ */ o.jsxs("div", { className:
|
|
6397
|
+
return /* @__PURE__ */ o.jsxs("div", { className: Xe.ldsRipple, style: t, children: [
|
|
6398
6398
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
6399
6399
|
/* @__PURE__ */ o.jsx("div", {})
|
|
6400
6400
|
] });
|
|
6401
6401
|
}
|
|
6402
6402
|
function Ep({ loaderStyle: t }) {
|
|
6403
|
-
return /* @__PURE__ */ o.jsxs("div", { className:
|
|
6403
|
+
return /* @__PURE__ */ o.jsxs("div", { className: Xe.ldsEllipsis, style: t, children: [
|
|
6404
6404
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
6405
6405
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
6406
6406
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
@@ -6408,7 +6408,7 @@ function Ep({ loaderStyle: t }) {
|
|
|
6408
6408
|
] });
|
|
6409
6409
|
}
|
|
6410
6410
|
function jp({ loaderStyle: t }) {
|
|
6411
|
-
return /* @__PURE__ */ o.jsxs("div", { className:
|
|
6411
|
+
return /* @__PURE__ */ o.jsxs("div", { className: Xe.ldsRoller, style: t, children: [
|
|
6412
6412
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
6413
6413
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
6414
6414
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
@@ -6420,7 +6420,7 @@ function jp({ loaderStyle: t }) {
|
|
|
6420
6420
|
] });
|
|
6421
6421
|
}
|
|
6422
6422
|
function wp({ loaderStyle: t }) {
|
|
6423
|
-
return /* @__PURE__ */ o.jsxs("div", { className:
|
|
6423
|
+
return /* @__PURE__ */ o.jsxs("div", { className: Xe.ldsSpinner, style: t, children: [
|
|
6424
6424
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
6425
6425
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
6426
6426
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
@@ -6436,10 +6436,10 @@ function wp({ loaderStyle: t }) {
|
|
|
6436
6436
|
] });
|
|
6437
6437
|
}
|
|
6438
6438
|
function Bp({ loaderStyle: t }) {
|
|
6439
|
-
return /* @__PURE__ */ o.jsx("div", { className:
|
|
6439
|
+
return /* @__PURE__ */ o.jsx("div", { className: Xe.ldsHourglass, style: t });
|
|
6440
6440
|
}
|
|
6441
6441
|
function Gp({ loaderStyle: t }) {
|
|
6442
|
-
return /* @__PURE__ */ o.jsxs("div", { className:
|
|
6442
|
+
return /* @__PURE__ */ o.jsxs("div", { className: Xe.ldsGrid, style: t, children: [
|
|
6443
6443
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
6444
6444
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
6445
6445
|
/* @__PURE__ */ o.jsx("div", {}),
|
|
@@ -6680,7 +6680,7 @@ function jg({
|
|
|
6680
6680
|
customName: a
|
|
6681
6681
|
}) {
|
|
6682
6682
|
const [u, d] = ie(
|
|
6683
|
-
|
|
6683
|
+
Ke.machine({
|
|
6684
6684
|
id: e,
|
|
6685
6685
|
name: t,
|
|
6686
6686
|
checked: n,
|
|
@@ -6688,7 +6688,7 @@ function jg({
|
|
|
6688
6688
|
m ? s(i, e, l) : r(i, e, l);
|
|
6689
6689
|
}
|
|
6690
6690
|
})
|
|
6691
|
-
), g =
|
|
6691
|
+
), g = Ke.connect(u, d, ae);
|
|
6692
6692
|
return /* @__PURE__ */ o.jsxs("label", { ...g.rootProps, className: K.optionLabel, children: [
|
|
6693
6693
|
/* @__PURE__ */ o.jsx("div", { ...g.controlProps }),
|
|
6694
6694
|
/* @__PURE__ */ o.jsxs("span", { ...g.labelProps, children: [
|
|
@@ -6771,7 +6771,7 @@ function Bg({
|
|
|
6771
6771
|
selectedFilters: b
|
|
6772
6772
|
}
|
|
6773
6773
|
),
|
|
6774
|
-
/* @__PURE__ */ o.jsx(W, { path:
|
|
6774
|
+
/* @__PURE__ */ o.jsx(W, { path: qe, svgClassName: K.filterIcon2 })
|
|
6775
6775
|
]
|
|
6776
6776
|
}
|
|
6777
6777
|
),
|
|
@@ -6898,7 +6898,7 @@ function zs({
|
|
|
6898
6898
|
setCurrFilter: a
|
|
6899
6899
|
}) {
|
|
6900
6900
|
const [u, d] = ie(
|
|
6901
|
-
|
|
6901
|
+
Ke.machine({
|
|
6902
6902
|
id: e,
|
|
6903
6903
|
name: t,
|
|
6904
6904
|
checked: s,
|
|
@@ -6912,7 +6912,7 @@ function zs({
|
|
|
6912
6912
|
});
|
|
6913
6913
|
}
|
|
6914
6914
|
})
|
|
6915
|
-
), g =
|
|
6915
|
+
), g = Ke.connect(u, d, ae);
|
|
6916
6916
|
return /* @__PURE__ */ o.jsxs("label", { ...g.rootProps, className: K.optionLabel, children: [
|
|
6917
6917
|
/* @__PURE__ */ o.jsx("div", { ...g.controlProps }),
|
|
6918
6918
|
/* @__PURE__ */ o.jsxs("span", { ...g.labelProps, children: [
|
|
@@ -7175,7 +7175,7 @@ function Zt({
|
|
|
7175
7175
|
disabled: n = !1
|
|
7176
7176
|
}) {
|
|
7177
7177
|
const [i, l] = ie(
|
|
7178
|
-
|
|
7178
|
+
Ke.machine({
|
|
7179
7179
|
id: y.useId(),
|
|
7180
7180
|
disabled: n,
|
|
7181
7181
|
checked: s,
|
|
@@ -7186,7 +7186,7 @@ function Zt({
|
|
|
7186
7186
|
});
|
|
7187
7187
|
}
|
|
7188
7188
|
})
|
|
7189
|
-
), c =
|
|
7189
|
+
), c = Ke.connect(i, l, ae);
|
|
7190
7190
|
return /* @__PURE__ */ o.jsxs("label", { ...c.rootProps, className: B(ge.optionLabel, n && ge.optionDis), children: [
|
|
7191
7191
|
/* @__PURE__ */ o.jsx("div", { ...c.controlProps, className: ge.checkbox }),
|
|
7192
7192
|
/* @__PURE__ */ o.jsx("span", { ...c.labelProps, children: e }),
|
|
@@ -7347,7 +7347,7 @@ function Rt({ items: t, onChange: e, renderItem: s }) {
|
|
|
7347
7347
|
}
|
|
7348
7348
|
Rt.Item = yb;
|
|
7349
7349
|
Rt.DragHandle = _b;
|
|
7350
|
-
const
|
|
7350
|
+
const Ze = "select", tt = "dropdown-actions", Ue = "select-radio";
|
|
7351
7351
|
function Sb({
|
|
7352
7352
|
customColumnConfig: t,
|
|
7353
7353
|
table: e,
|
|
@@ -7362,7 +7362,7 @@ function Sb({
|
|
|
7362
7362
|
}
|
|
7363
7363
|
})
|
|
7364
7364
|
), d = xt.connect(a, u, ae), g = e.getAllLeafColumns().filter((h) => h.columnDef.enableHiding), m = e.getAllLeafColumns().filter(
|
|
7365
|
-
(h) => !h.columnDef.enableHiding && h.id !==
|
|
7365
|
+
(h) => !h.columnDef.enableHiding && h.id !== Ze && h.id !== Ue && h.id !== tt
|
|
7366
7366
|
);
|
|
7367
7367
|
y.useEffect(() => {
|
|
7368
7368
|
i(() => g.map((f) => ({
|
|
@@ -7377,9 +7377,9 @@ function Sb({
|
|
|
7377
7377
|
f == null || f.toggleVisibility(h.checked);
|
|
7378
7378
|
}), e.setColumnOrder(() => {
|
|
7379
7379
|
const h = n.map((I) => I.id), f = [
|
|
7380
|
-
s ?
|
|
7380
|
+
s ? Ze : Ue,
|
|
7381
7381
|
...h,
|
|
7382
|
-
r ?
|
|
7382
|
+
r ? tt : void 0
|
|
7383
7383
|
].filter(Boolean);
|
|
7384
7384
|
return m.forEach((I) => {
|
|
7385
7385
|
f.splice(I.getIndex(), 0, I.id);
|
|
@@ -7617,7 +7617,7 @@ function Zb({ setLimit: t, limit: e, totalItems: s }) {
|
|
|
7617
7617
|
/* @__PURE__ */ o.jsxs("div", { ...l.rootProps, children: [
|
|
7618
7618
|
/* @__PURE__ */ o.jsx("div", { ...l.controlProps, children: /* @__PURE__ */ o.jsxs("button", { ...l.triggerProps, className: xe.limitTrigger, children: [
|
|
7619
7619
|
l.valueAsString || "Select limit",
|
|
7620
|
-
/* @__PURE__ */ o.jsx(W, { path:
|
|
7620
|
+
/* @__PURE__ */ o.jsx(W, { path: qe, svgClassName: xe.chevdownIcon })
|
|
7621
7621
|
] }) }),
|
|
7622
7622
|
l.isOpen && /* @__PURE__ */ o.jsx(Ct, { children: /* @__PURE__ */ o.jsx("div", { ...l.positionerProps, children: /* @__PURE__ */ o.jsx("ul", { ...l.contentProps, className: xe.limitContent, children: Js.map((c) => /* @__PURE__ */ o.jsx(
|
|
7623
7623
|
"li",
|
|
@@ -7743,7 +7743,7 @@ function Us({
|
|
|
7743
7743
|
{
|
|
7744
7744
|
type: "checkbox",
|
|
7745
7745
|
ref: n,
|
|
7746
|
-
className: B(Tt.checkbox, e.id ===
|
|
7746
|
+
className: B(Tt.checkbox, e.id === Ze && Tt.checkboxSelect),
|
|
7747
7747
|
...r
|
|
7748
7748
|
}
|
|
7749
7749
|
) });
|
|
@@ -7793,8 +7793,8 @@ function n2({
|
|
|
7793
7793
|
exportConfig: x
|
|
7794
7794
|
}) {
|
|
7795
7795
|
const [v, h] = y.useState([]), [f, I] = y.useState({}), [C, S] = y.useState([]), [G, R] = y.useState({
|
|
7796
|
-
left: m != null && m.stickyIds ? [
|
|
7797
|
-
right: [
|
|
7796
|
+
left: m != null && m.stickyIds ? [Ue, Ze, ...m == null ? void 0 : m.stickyIds] : [Ue, Ze],
|
|
7797
|
+
right: [tt]
|
|
7798
7798
|
}), [j, N] = y.useState({}), T = !e.isFetching && !e.isError && !t.length, { isCheckbox: H, isRadio: M, setSelectedRows: O } = i;
|
|
7799
7799
|
Mt(() => {
|
|
7800
7800
|
if (!n)
|
|
@@ -7813,7 +7813,7 @@ function n2({
|
|
|
7813
7813
|
}, [j]);
|
|
7814
7814
|
const _ = [
|
|
7815
7815
|
{
|
|
7816
|
-
id:
|
|
7816
|
+
id: Ze,
|
|
7817
7817
|
header: (E) => /* @__PURE__ */ o.jsx(
|
|
7818
7818
|
Us,
|
|
7819
7819
|
{
|
|
@@ -7839,7 +7839,7 @@ function n2({
|
|
|
7839
7839
|
// enableHiding: false,
|
|
7840
7840
|
},
|
|
7841
7841
|
{
|
|
7842
|
-
id:
|
|
7842
|
+
id: Ue,
|
|
7843
7843
|
cell: ({ row: E }) => /* @__PURE__ */ o.jsx(
|
|
7844
7844
|
bm,
|
|
7845
7845
|
{
|
|
@@ -7856,7 +7856,7 @@ function n2({
|
|
|
7856
7856
|
},
|
|
7857
7857
|
...s,
|
|
7858
7858
|
{
|
|
7859
|
-
id:
|
|
7859
|
+
id: tt,
|
|
7860
7860
|
cell: (E) => /* @__PURE__ */ o.jsx(Gb, { actionsConfig: l, data: E.row.original }),
|
|
7861
7861
|
header: "Actions",
|
|
7862
7862
|
maxSize: 150,
|
|
@@ -7902,13 +7902,13 @@ function n2({
|
|
|
7902
7902
|
);
|
|
7903
7903
|
}, []), y.useLayoutEffect(() => {
|
|
7904
7904
|
var E;
|
|
7905
|
-
H || (E = k.getColumn(
|
|
7905
|
+
H || (E = k.getColumn(Ze)) == null || E.toggleVisibility(!1);
|
|
7906
7906
|
}, []), y.useLayoutEffect(() => {
|
|
7907
7907
|
var E;
|
|
7908
|
-
M || (E = k.getColumn(
|
|
7908
|
+
M || (E = k.getColumn(Ue)) == null || E.toggleVisibility(!1);
|
|
7909
7909
|
}, []), y.useLayoutEffect(() => {
|
|
7910
7910
|
var E;
|
|
7911
|
-
l.isDropdownActions || (E = k.getColumn(
|
|
7911
|
+
l.isDropdownActions || (E = k.getColumn(tt)) == null || E.toggleVisibility(!1);
|
|
7912
7912
|
}, []), y.useEffect(() => {
|
|
7913
7913
|
i != null && i.clearOnSearch && N({});
|
|
7914
7914
|
}, [c == null ? void 0 : c.search]), /* @__PURE__ */ o.jsxs(
|
|
@@ -7982,11 +7982,9 @@ function mm({
|
|
|
7982
7982
|
),
|
|
7983
7983
|
style: {
|
|
7984
7984
|
width: u.getSize() === Number.MAX_SAFE_INTEGER ? "auto" : u.getSize(),
|
|
7985
|
-
paddingRight: u.id ===
|
|
7986
|
-
paddingLeft: u.index === 0 && u.id !==
|
|
7985
|
+
paddingRight: u.id === tt ? "10px" : void 0,
|
|
7986
|
+
paddingLeft: u.index === 0 && u.id !== Ze && u.id !== Ue ? "10px" : void 0,
|
|
7987
7987
|
...Qs(u.column)
|
|
7988
|
-
// position: sticky.includes(header.id) ? 'sticky' : undefined,
|
|
7989
|
-
// left: sticky.includes(header.id) ? header.getStart('left') : undefined,
|
|
7990
7988
|
},
|
|
7991
7989
|
children: u.isPlaceholder ? null : /* @__PURE__ */ o.jsxs(
|
|
7992
7990
|
"div",
|
|
@@ -7995,7 +7993,7 @@ function mm({
|
|
|
7995
7993
|
style: {
|
|
7996
7994
|
display: "flex",
|
|
7997
7995
|
alignItems: "center",
|
|
7998
|
-
justifyContent: u.id ===
|
|
7996
|
+
justifyContent: u.id === tt ? "flex-end" : void 0
|
|
7999
7997
|
},
|
|
8000
7998
|
children: [
|
|
8001
7999
|
Gt(u.column.columnDef.header, u.getContext()),
|
|
@@ -8018,7 +8016,7 @@ function mm({
|
|
|
8018
8016
|
u.id
|
|
8019
8017
|
)) }, a.id)) }),
|
|
8020
8018
|
r.isFetching ? /* @__PURE__ */ o.jsx(Mp, { text: r.text, isError: r.isError }) : l ? /* @__PURE__ */ o.jsx(Jp, { emptyStateConfig: n, search: c }) : /* @__PURE__ */ o.jsx("tbody", { className: Ne.tableBody, children: t.getRowModel().rows.map((a, u) => /* @__PURE__ */ o.jsx("tr", { className: Ne.tableRow, children: a.getVisibleCells().map((d) => {
|
|
8021
|
-
const g = (e || s) && (d.id === `${u}_${
|
|
8019
|
+
const g = (e || s) && (d.id === `${u}_${Ue}` || d.id === `${u}_${Ze}`);
|
|
8022
8020
|
return /* @__PURE__ */ o.jsx(
|
|
8023
8021
|
"td",
|
|
8024
8022
|
{
|
|
@@ -8031,9 +8029,6 @@ function mm({
|
|
|
8031
8029
|
backgroundColor: "white",
|
|
8032
8030
|
verticalAlign: g ? "middle" : void 0,
|
|
8033
8031
|
...Qs(d.column)
|
|
8034
|
-
// position: isSticky ? 'sticky' : undefined,
|
|
8035
|
-
// left: isSticky ? cell.column.getStart('left') : undefined,
|
|
8036
|
-
// zIndex: isSticky ? 3 : undefined,
|
|
8037
8032
|
},
|
|
8038
8033
|
children: Gt(d.column.columnDef.cell, d.getContext())
|
|
8039
8034
|
},
|
|
@@ -8048,13 +8043,13 @@ function mm({
|
|
|
8048
8043
|
const Qs = (t) => {
|
|
8049
8044
|
const e = t.getIsPinned(), s = e === "left" && t.getIsLastColumn("left"), r = e === "right" && t.getIsFirstColumn("right");
|
|
8050
8045
|
return {
|
|
8051
|
-
boxShadow: s ? "
|
|
8046
|
+
boxShadow: s ? "-4px 0 4px -4px rgba(0, 0, 0, 0.07) inset" : r ? "4px 0 4px -4px rgba(0, 0, 0, 0.07) inset" : void 0,
|
|
8052
8047
|
left: e === "left" ? `${t.getStart("left")}px` : void 0,
|
|
8053
8048
|
right: e === "right" ? `${t.getAfter("right")}px` : void 0,
|
|
8054
|
-
opacity:
|
|
8049
|
+
// opacity: isPinned ? 0.95 : 1,
|
|
8055
8050
|
position: e ? "sticky" : void 0,
|
|
8056
8051
|
// width: column.getSize(),
|
|
8057
|
-
zIndex: e ?
|
|
8052
|
+
zIndex: e ? 2 : 0
|
|
8058
8053
|
};
|
|
8059
8054
|
};
|
|
8060
8055
|
export {
|
|
@@ -8100,5 +8095,5 @@ export {
|
|
|
8100
8095
|
Fm as Table,
|
|
8101
8096
|
n2 as TableV2,
|
|
8102
8097
|
t2 as Tag,
|
|
8103
|
-
|
|
8098
|
+
Qe as Tooltip
|
|
8104
8099
|
};
|