@hybr1d-tech/charizard 0.6.42 → 0.6.43
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 +360 -362
- package/dist/hybr1d-ui.umd.cjs +6 -6
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -1586,7 +1586,7 @@ function bc({
|
|
|
1586
1586
|
}
|
|
1587
1587
|
) });
|
|
1588
1588
|
}
|
|
1589
|
-
function
|
|
1589
|
+
function LI({
|
|
1590
1590
|
data: t,
|
|
1591
1591
|
loaderConfig: e,
|
|
1592
1592
|
columns: r,
|
|
@@ -2330,7 +2330,7 @@ const gu = "_backdrop_197mu_1", hu = "_container_197mu_16", bu = "_contentWrappe
|
|
|
2330
2330
|
function Su({ api: t }) {
|
|
2331
2331
|
return /* @__PURE__ */ n.jsx("div", { ...t == null ? void 0 : t.getBackdropProps(), className: Xe.backdrop });
|
|
2332
2332
|
}
|
|
2333
|
-
function
|
|
2333
|
+
function DI({
|
|
2334
2334
|
isOpen: t,
|
|
2335
2335
|
onClose: e,
|
|
2336
2336
|
children: r,
|
|
@@ -2360,17 +2360,17 @@ function TI({
|
|
|
2360
2360
|
d
|
|
2361
2361
|
] });
|
|
2362
2362
|
}
|
|
2363
|
-
function
|
|
2363
|
+
function VI({ children: t, api: e, customStyles: r = {} }) {
|
|
2364
2364
|
return /* @__PURE__ */ n.jsx("div", { ...e.getDescriptionProps(), className: Xe.body, style: r, children: t });
|
|
2365
2365
|
}
|
|
2366
|
-
function
|
|
2366
|
+
function OI({ children: t, api: e, size: r = "md" }) {
|
|
2367
2367
|
const o = I.Children.toArray(t).map((s) => I.cloneElement(s, {
|
|
2368
2368
|
...s.props,
|
|
2369
2369
|
api: e
|
|
2370
2370
|
}));
|
|
2371
2371
|
return /* @__PURE__ */ n.jsx("div", { ...e == null ? void 0 : e.containerProps, className: Xe.container, children: /* @__PURE__ */ n.jsx("div", { className: w(Xe.contentWrapper, Xe[r]), children: /* @__PURE__ */ n.jsx("div", { ...e == null ? void 0 : e.getContentProps(), className: Xe.content, children: o }) }) });
|
|
2372
2372
|
}
|
|
2373
|
-
function
|
|
2373
|
+
function HI({ children: t, api: e, buttons: r, showBorder: o = !0 }) {
|
|
2374
2374
|
return /* @__PURE__ */ n.jsx("div", { className: w(Xe.footer, { [Xe.showBorder]: o }), children: t || /* @__PURE__ */ n.jsx("div", { className: Xe.btnsContainer, children: r.map((s, a) => /* @__PURE__ */ n.jsx(
|
|
2375
2375
|
z,
|
|
2376
2376
|
{
|
|
@@ -2385,7 +2385,7 @@ function VI({ children: t, api: e, buttons: r, showBorder: o = !0 }) {
|
|
|
2385
2385
|
a
|
|
2386
2386
|
)) }) });
|
|
2387
2387
|
}
|
|
2388
|
-
function
|
|
2388
|
+
function WI({
|
|
2389
2389
|
children: t,
|
|
2390
2390
|
api: e,
|
|
2391
2391
|
showCrossBtn: r = !0,
|
|
@@ -2448,7 +2448,7 @@ function Eu({
|
|
|
2448
2448
|
}));
|
|
2449
2449
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: u });
|
|
2450
2450
|
}
|
|
2451
|
-
function
|
|
2451
|
+
function MI({ children: t, api: e, styles: r, className: o }) {
|
|
2452
2452
|
return /* @__PURE__ */ n.jsx(
|
|
2453
2453
|
"button",
|
|
2454
2454
|
{
|
|
@@ -2511,10 +2511,10 @@ function Lu({
|
|
|
2511
2511
|
}
|
|
2512
2512
|
) });
|
|
2513
2513
|
}
|
|
2514
|
-
function
|
|
2514
|
+
function ZI({ children: t, api: e, styles: r, className: o }) {
|
|
2515
2515
|
return /* @__PURE__ */ n.jsx("div", { ...e == null ? void 0 : e.getDescriptionProps(), style: r, className: o, children: t });
|
|
2516
2516
|
}
|
|
2517
|
-
function
|
|
2517
|
+
function XI({ children: t, api: e, styles: r, className: o }) {
|
|
2518
2518
|
return /* @__PURE__ */ n.jsx("div", { ...e == null ? void 0 : e.getTitleProps(), style: r, className: o, children: t });
|
|
2519
2519
|
}
|
|
2520
2520
|
function Du({
|
|
@@ -2682,7 +2682,7 @@ const Vu = "_selectContainer_9l7og_1", Ou = "_errorMsg_9l7og_6", Hu = "_multiLab
|
|
|
2682
2682
|
),
|
|
2683
2683
|
/* @__PURE__ */ n.jsx("div", { className: w(be.label), children: /* @__PURE__ */ n.jsx("span", { children: t.data.label }) })
|
|
2684
2684
|
] }) });
|
|
2685
|
-
function
|
|
2685
|
+
function $I({
|
|
2686
2686
|
options: t,
|
|
2687
2687
|
onChange: e,
|
|
2688
2688
|
name: r,
|
|
@@ -5845,7 +5845,7 @@ var Zp = /* @__PURE__ */ ar(function(t, e) {
|
|
|
5845
5845
|
ref: e
|
|
5846
5846
|
}, o));
|
|
5847
5847
|
}), Xp = Zp;
|
|
5848
|
-
function
|
|
5848
|
+
function zI({
|
|
5849
5849
|
options: t,
|
|
5850
5850
|
onChange: e,
|
|
5851
5851
|
name: r,
|
|
@@ -5973,7 +5973,7 @@ var Yp = /* @__PURE__ */ ar(function(t, e) {
|
|
|
5973
5973
|
ref: e
|
|
5974
5974
|
}, o));
|
|
5975
5975
|
}), Jp = Yp;
|
|
5976
|
-
function
|
|
5976
|
+
function YI({
|
|
5977
5977
|
options: t,
|
|
5978
5978
|
onChange: e,
|
|
5979
5979
|
name: r,
|
|
@@ -6071,7 +6071,7 @@ const Up = "_checkbox_1dsyw_1", Qp = "_disabled_1dsyw_11", Kp = "_checkboxInput_
|
|
|
6071
6071
|
indeterminate: t2,
|
|
6072
6072
|
errorMsg: n2
|
|
6073
6073
|
};
|
|
6074
|
-
function
|
|
6074
|
+
function JI({
|
|
6075
6075
|
id: t,
|
|
6076
6076
|
name: e,
|
|
6077
6077
|
children: r,
|
|
@@ -6136,7 +6136,7 @@ const s2 = "_progressContainer_gc4j9_1", o2 = "_header_gc4j9_6", r2 = "_steps_gc
|
|
|
6136
6136
|
body: g2,
|
|
6137
6137
|
footer: h2
|
|
6138
6138
|
}, ca = "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";
|
|
6139
|
-
function
|
|
6139
|
+
function UI({
|
|
6140
6140
|
steps: t,
|
|
6141
6141
|
onCancelClick: e,
|
|
6142
6142
|
onFinalStepClick: r,
|
|
@@ -6214,7 +6214,7 @@ const b2 = "_segmentedControl_11npz_1", f2 = "_root_11npz_6", v2 = "_radio_11npz
|
|
|
6214
6214
|
radio: v2,
|
|
6215
6215
|
radioLabel: x2
|
|
6216
6216
|
};
|
|
6217
|
-
function
|
|
6217
|
+
function QI({ items: t, defaultValue: e, handleOnChange: r }) {
|
|
6218
6218
|
var l, c;
|
|
6219
6219
|
const [o, s] = Q(
|
|
6220
6220
|
Bn.machine({
|
|
@@ -6315,7 +6315,7 @@ const C2 = "_labelContainer_quv4s_1", y2 = "_heading_quv4s_5", A2 = "_optionsCon
|
|
|
6315
6315
|
function jn({ className: t, ...e }) {
|
|
6316
6316
|
return /* @__PURE__ */ n.jsx("span", { className: w(H2.container, t), ...e });
|
|
6317
6317
|
}
|
|
6318
|
-
function
|
|
6318
|
+
function KI({
|
|
6319
6319
|
items: t,
|
|
6320
6320
|
radioHeading: e,
|
|
6321
6321
|
defaultValue: r,
|
|
@@ -6399,7 +6399,7 @@ const W2 = "_tabList_1uplx_1", M2 = "_tab_1uplx_1", Mo = {
|
|
|
6399
6399
|
tabList: W2,
|
|
6400
6400
|
tab: M2
|
|
6401
6401
|
};
|
|
6402
|
-
function
|
|
6402
|
+
function qI({ tabs: t, defaultValue: e, tabClassName: r, onValueChange: o }) {
|
|
6403
6403
|
const [s, a] = Q(
|
|
6404
6404
|
po.machine({
|
|
6405
6405
|
id: I.useId(),
|
|
@@ -6553,7 +6553,7 @@ const lm = "_component_nfxra_1", cm = "_switchLabel_nfxra_7", um = "_subText_nfx
|
|
|
6553
6553
|
lg: gm,
|
|
6554
6554
|
disabled: hm
|
|
6555
6555
|
};
|
|
6556
|
-
function
|
|
6556
|
+
function e_({
|
|
6557
6557
|
isToggled: t,
|
|
6558
6558
|
handleToggleChange: e,
|
|
6559
6559
|
name: r,
|
|
@@ -6624,7 +6624,7 @@ const ds = {
|
|
|
6624
6624
|
color: "var(--status-error)"
|
|
6625
6625
|
}
|
|
6626
6626
|
};
|
|
6627
|
-
function
|
|
6627
|
+
function t_({ status: t, text: e, icon: r, customStyles: o = {} }) {
|
|
6628
6628
|
return /* @__PURE__ */ n.jsxs(
|
|
6629
6629
|
"div",
|
|
6630
6630
|
{
|
|
@@ -7854,7 +7854,7 @@ function $1({
|
|
|
7854
7854
|
}
|
|
7855
7855
|
) });
|
|
7856
7856
|
}
|
|
7857
|
-
function
|
|
7857
|
+
function n_({
|
|
7858
7858
|
data: t,
|
|
7859
7859
|
loaderConfig: e,
|
|
7860
7860
|
columns: r,
|
|
@@ -8172,7 +8172,7 @@ const Jo = (t, e, r, o) => {
|
|
|
8172
8172
|
swatchGroup: th,
|
|
8173
8173
|
swatchSingle: nh
|
|
8174
8174
|
};
|
|
8175
|
-
function
|
|
8175
|
+
function s_({
|
|
8176
8176
|
name: t,
|
|
8177
8177
|
label: e,
|
|
8178
8178
|
errorMsg: r,
|
|
@@ -8247,7 +8247,7 @@ const Uo = [
|
|
|
8247
8247
|
], sh = "_avatarImg_b4wd7_1", oh = {
|
|
8248
8248
|
avatarImg: sh
|
|
8249
8249
|
};
|
|
8250
|
-
function
|
|
8250
|
+
function o_({ user: t, imageStyles: e = {} }) {
|
|
8251
8251
|
return /* @__PURE__ */ n.jsx(
|
|
8252
8252
|
"img",
|
|
8253
8253
|
{
|
|
@@ -8291,7 +8291,7 @@ const bh = "_tabs_hb1nk_1", fh = "_tabBar_hb1nk_9", vh = "_tab_hb1nk_1", xh = "_
|
|
|
8291
8291
|
tab: vh,
|
|
8292
8292
|
activeTab: xh,
|
|
8293
8293
|
tabContent: Ih
|
|
8294
|
-
},
|
|
8294
|
+
}, r_ = ({
|
|
8295
8295
|
id: t,
|
|
8296
8296
|
activeKey: e,
|
|
8297
8297
|
onSelect: r,
|
|
@@ -8315,7 +8315,7 @@ const bh = "_tabs_hb1nk_1", fh = "_tabBar_hb1nk_9", vh = "_tab_hb1nk_1", xh = "_
|
|
|
8315
8315
|
(c) => c.props.eventKey === e ? c.props.children : null
|
|
8316
8316
|
) })
|
|
8317
8317
|
] });
|
|
8318
|
-
},
|
|
8318
|
+
}, a_ = ({
|
|
8319
8319
|
title: t,
|
|
8320
8320
|
isActive: e,
|
|
8321
8321
|
customClassName: r,
|
|
@@ -8597,10 +8597,18 @@ function ib({
|
|
|
8597
8597
|
}
|
|
8598
8598
|
Qs.GroupAction = xa;
|
|
8599
8599
|
Qs.ActionsDropdown = ib;
|
|
8600
|
-
|
|
8601
|
-
|
|
8602
|
-
return
|
|
8600
|
+
const gs = /* @__PURE__ */ new Map(), lb = (t) => {
|
|
8601
|
+
if (gs.has(t))
|
|
8602
|
+
return gs.get(t);
|
|
8603
|
+
let e = 0;
|
|
8604
|
+
for (let i = 0; i < t.length; i++) {
|
|
8605
|
+
const u = t.charCodeAt(i);
|
|
8606
|
+
e = (e << 5) - e + u, e |= 0;
|
|
8603
8607
|
}
|
|
8608
|
+
const r = Math.abs(e) % 360, o = Math.abs(e * 2) % 100, s = Math.min(Math.abs(e * 3) % 50 + 50, 80), a = `hsl(${r}, ${o}%, ${s - 20}%)`, l = `hsl(${r}, ${o}%, ${s + 20}%)`, c = { darkerColor: a, lighterColor: l };
|
|
8609
|
+
return gs.set(t, c), c;
|
|
8610
|
+
}, cb = (t) => typeof t == "object" && t !== null ? !Array.isArray(t) : !1, ub = (t) => typeof t == "string";
|
|
8611
|
+
function db({ data: t }) {
|
|
8604
8612
|
return /* @__PURE__ */ n.jsxs("div", { className: Je.card, children: [
|
|
8605
8613
|
/* @__PURE__ */ n.jsxs("div", { className: Je.taskSection, children: [
|
|
8606
8614
|
/* @__PURE__ */ n.jsx("div", { className: w(Je.taskName, "zap-content-semibold"), children: t.name }),
|
|
@@ -8610,23 +8618,23 @@ function lb({ data: t }) {
|
|
|
8610
8618
|
{
|
|
8611
8619
|
highlight: As.ICON,
|
|
8612
8620
|
icon: t.icon_url,
|
|
8613
|
-
status:
|
|
8621
|
+
status: pb[t.module_reference] || Ze.DEFAULT,
|
|
8614
8622
|
customSvgStyles: { width: "16px", height: "16px" },
|
|
8615
8623
|
children: t.module_name
|
|
8616
8624
|
}
|
|
8617
8625
|
)
|
|
8618
8626
|
] }),
|
|
8619
|
-
/* @__PURE__ */ n.jsx("div", { className: Je.detailsSection, children: t.details.map((
|
|
8620
|
-
/* @__PURE__ */ n.jsx("div", { className: w(Je.detailKey, "zap-subcontent-medium"), children:
|
|
8621
|
-
|
|
8627
|
+
/* @__PURE__ */ n.jsx("div", { className: Je.detailsSection, children: t.details.map((e, r) => /* @__PURE__ */ n.jsxs("div", { className: Je.detail, children: [
|
|
8628
|
+
/* @__PURE__ */ n.jsx("div", { className: w(Je.detailKey, "zap-subcontent-medium"), children: e.key }),
|
|
8629
|
+
e.value && cb(e.value) && Object.keys(e.value).length ? /* @__PURE__ */ n.jsx(
|
|
8622
8630
|
hh,
|
|
8623
8631
|
{
|
|
8624
|
-
username:
|
|
8625
|
-
profileImgUrl:
|
|
8632
|
+
username: e.value.first_name,
|
|
8633
|
+
profileImgUrl: e.value.profile_img_url
|
|
8626
8634
|
}
|
|
8627
|
-
) :
|
|
8628
|
-
] },
|
|
8629
|
-
/* @__PURE__ */ n.jsx("div", { className: Je.statusSection, children: /* @__PURE__ */ n.jsx(Qo, { highlight: As.DOT, status:
|
|
8635
|
+
) : ub(e.value) ? /* @__PURE__ */ n.jsx("div", { className: w(Je.detailValue, "zap-subcontent-medium"), children: e.value }) : /* @__PURE__ */ n.jsx("div", { className: w(Je.detailValueNA, "zap-subcontent-medium"), children: "N/A" })
|
|
8636
|
+
] }, r)) }),
|
|
8637
|
+
/* @__PURE__ */ n.jsx("div", { className: Je.statusSection, children: /* @__PURE__ */ n.jsx(Qo, { highlight: As.DOT, status: mb[t.status], children: t.status }) }),
|
|
8630
8638
|
/* @__PURE__ */ n.jsx("div", { className: Je.actionSection, children: /* @__PURE__ */ n.jsx(
|
|
8631
8639
|
Qs.ActionsDropdown,
|
|
8632
8640
|
{
|
|
@@ -8638,33 +8646,33 @@ function lb({ data: t }) {
|
|
|
8638
8646
|
) })
|
|
8639
8647
|
] });
|
|
8640
8648
|
}
|
|
8641
|
-
const
|
|
8649
|
+
const pb = {
|
|
8642
8650
|
profile: Ze.DEFAULT,
|
|
8643
8651
|
leave: Ze.POSITIVE,
|
|
8644
8652
|
it_request: Ze.NEGATIVE,
|
|
8645
8653
|
attendance: Ze.HIGHLIGHT,
|
|
8646
8654
|
reimbursement: Ze.DEFAULT,
|
|
8647
8655
|
document: Ze.HIGHLIGHT
|
|
8648
|
-
},
|
|
8656
|
+
}, mb = {
|
|
8649
8657
|
pending: Ze.WARNING,
|
|
8650
8658
|
declined: Ze.NEGATIVE,
|
|
8651
8659
|
pending_second_approver: Ze.WARNING,
|
|
8652
8660
|
cancelled: Ze.NEUTRAL,
|
|
8653
8661
|
approved: Ze.POSITIVE
|
|
8654
|
-
},
|
|
8655
|
-
taskCardHeader:
|
|
8662
|
+
}, gb = "_taskCardHeader_dnzg4_1", hb = {
|
|
8663
|
+
taskCardHeader: gb
|
|
8656
8664
|
};
|
|
8657
|
-
function
|
|
8658
|
-
return /* @__PURE__ */ n.jsx("div", { className:
|
|
8659
|
-
}
|
|
8660
|
-
const
|
|
8661
|
-
taskCardContainer:
|
|
8662
|
-
taskCard:
|
|
8663
|
-
emptyBox:
|
|
8664
|
-
emptyTxt:
|
|
8665
|
-
emptyIcon:
|
|
8665
|
+
function bb({ headers: t }) {
|
|
8666
|
+
return /* @__PURE__ */ n.jsx("div", { className: hb.taskCardHeader, children: t.map((e, r) => /* @__PURE__ */ n.jsx("div", { className: "zap-caption-medium", children: e }, r)) });
|
|
8667
|
+
}
|
|
8668
|
+
const fb = "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='M3.25%205A2.75%202.75%200%200%201%206%202.25h12a2.75%202.75%200%200%201%20.75%205.396V19A2.75%202.75%200%200%201%2016%2021.75H8A2.75%202.75%200%200%201%205.25%2019V7.646A2.75%202.75%200%200%201%203.25%205m3.5%202.75V19c0%20.69.56%201.25%201.25%201.25h8c.69%200%201.25-.56%201.25-1.25v-1.25H12A2.75%202.75%200%200%201%209.25%2015v-2A2.75%202.75%200%200%201%2012%2010.25h5.25v-2.5zm10.5%204H12c-.69%200-1.25.56-1.25%201.25v2c0%20.69.56%201.25%201.25%201.25h5.25v-1.5H15a.75.75%200%200%201%200-1.5h2.25zm2-6.75c0-.69-.56-1.25-1.25-1.25H6a1.25%201.25%200%201%200%200%202.5h12c.69%200%201.25-.56%201.25-1.25'%20fill='%23070F2C'/%3e%3c/svg%3e", vb = "_taskCardContainer_76nrl_1", xb = "_taskCard_76nrl_1", Ib = "_emptyBox_76nrl_12", _b = "_emptyTxt_76nrl_20", Cb = "_emptyIcon_76nrl_24", Et = {
|
|
8669
|
+
taskCardContainer: vb,
|
|
8670
|
+
taskCard: xb,
|
|
8671
|
+
emptyBox: Ib,
|
|
8672
|
+
emptyTxt: _b,
|
|
8673
|
+
emptyIcon: Cb
|
|
8666
8674
|
};
|
|
8667
|
-
function
|
|
8675
|
+
function i_({
|
|
8668
8676
|
headers: t,
|
|
8669
8677
|
data: e,
|
|
8670
8678
|
isLoading: r = !1,
|
|
@@ -8672,36 +8680,36 @@ function r_({
|
|
|
8672
8680
|
emptyText: s = "No requests"
|
|
8673
8681
|
}) {
|
|
8674
8682
|
return /* @__PURE__ */ n.jsx("div", { className: Et.taskCardContainer, children: /* @__PURE__ */ n.jsxs("div", { className: Et.taskCard, children: [
|
|
8675
|
-
/* @__PURE__ */ n.jsx(
|
|
8676
|
-
r ? /* @__PURE__ */ n.jsx(Ys, { containerStyle: { height: "164px" } }) : o ? /* @__PURE__ */ n.jsx(
|
|
8683
|
+
/* @__PURE__ */ n.jsx(bb, { headers: t }),
|
|
8684
|
+
r ? /* @__PURE__ */ n.jsx(Ys, { containerStyle: { height: "164px" } }) : o ? /* @__PURE__ */ n.jsx(yb, {}) : e.length > 0 ? e.map((a, l) => /* @__PURE__ */ n.jsx(db, { data: a }, l)) : /* @__PURE__ */ n.jsx(Ab, { emptyText: s })
|
|
8677
8685
|
] }) });
|
|
8678
8686
|
}
|
|
8679
|
-
function
|
|
8687
|
+
function yb() {
|
|
8680
8688
|
return /* @__PURE__ */ n.jsx("div", { className: Et.emptyBox, children: /* @__PURE__ */ n.jsx("p", { className: w(Et.emptyTxt, "zap-content-medium"), children: "Something went wrong, please try again later." }) });
|
|
8681
8689
|
}
|
|
8682
|
-
function
|
|
8690
|
+
function Ab({ emptyText: t }) {
|
|
8683
8691
|
return /* @__PURE__ */ n.jsxs("div", { className: Et.emptyBox, children: [
|
|
8684
|
-
/* @__PURE__ */ n.jsx("div", { children: /* @__PURE__ */ n.jsx(P, { path:
|
|
8692
|
+
/* @__PURE__ */ n.jsx("div", { children: /* @__PURE__ */ n.jsx(P, { path: fb, width: 24, height: 24, svgClassName: Et.emptyIcon }) }),
|
|
8685
8693
|
/* @__PURE__ */ n.jsx("p", { className: w(Et.emptyTxt, "zap-content-medium"), children: t })
|
|
8686
8694
|
] });
|
|
8687
8695
|
}
|
|
8688
|
-
const Ko = "data:image/svg+xml,%3csvg%20width='6'%20height='18'%20viewBox='0%200%206%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.99996%201L0.999962%2017'%20stroke='%239999B3'%20stroke-linecap='round'/%3e%3c/svg%3e",
|
|
8689
|
-
menu:
|
|
8690
|
-
menuItem:
|
|
8691
|
-
page:
|
|
8696
|
+
const Ko = "data:image/svg+xml,%3csvg%20width='6'%20height='18'%20viewBox='0%200%206%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.99996%201L0.999962%2017'%20stroke='%239999B3'%20stroke-linecap='round'/%3e%3c/svg%3e", jb = "_menu_1smlf_1", Nb = "_menuItem_1smlf_18", wb = "_page_1smlf_32", hs = {
|
|
8697
|
+
menu: jb,
|
|
8698
|
+
menuItem: Nb,
|
|
8699
|
+
page: wb
|
|
8692
8700
|
};
|
|
8693
|
-
function
|
|
8694
|
-
return /* @__PURE__ */ n.jsx("div", { className:
|
|
8695
|
-
}
|
|
8696
|
-
const
|
|
8697
|
-
breadcrumb:
|
|
8698
|
-
pageSection:
|
|
8699
|
-
page:
|
|
8700
|
-
activePage:
|
|
8701
|
-
dots:
|
|
8702
|
-
dotsActive:
|
|
8701
|
+
function Sb({ pages: t }) {
|
|
8702
|
+
return /* @__PURE__ */ n.jsx("div", { className: hs.menu, children: t.map((e, r) => /* @__PURE__ */ n.jsx("div", { className: w(hs.menuItem), children: /* @__PURE__ */ n.jsx("div", { className: hs.page, children: e.label }) }, r)) });
|
|
8703
|
+
}
|
|
8704
|
+
const Eb = "_breadcrumb_ezkee_1", Bb = "_pageSection_ezkee_6", Rb = "_page_ezkee_6", Fb = "_activePage_ezkee_26", Gb = "_dots_ezkee_33", Pb = "_dotsActive_ezkee_40", Ot = {
|
|
8705
|
+
breadcrumb: Eb,
|
|
8706
|
+
pageSection: Bb,
|
|
8707
|
+
page: Rb,
|
|
8708
|
+
activePage: Fb,
|
|
8709
|
+
dots: Gb,
|
|
8710
|
+
dotsActive: Pb
|
|
8703
8711
|
};
|
|
8704
|
-
function
|
|
8712
|
+
function l_({ pages: t }) {
|
|
8705
8713
|
const [e, r] = I.useState(!1), o = I.useRef(null), s = (a) => {
|
|
8706
8714
|
o.current && !o.current.contains(a.target) && r(!1);
|
|
8707
8715
|
};
|
|
@@ -8722,18 +8730,18 @@ function a_({ pages: t }) {
|
|
|
8722
8730
|
(Number(l) === t.length - 1 || Number(l) < 2) && /* @__PURE__ */ n.jsx("span", { className: w(Ot.page, `${Number(l) >= 2 && Ot.activePage}`), children: a.label }),
|
|
8723
8731
|
l !== t.length - 1 && Number(l) < 2 && /* @__PURE__ */ n.jsx("span", { children: /* @__PURE__ */ n.jsx(P, { path: Ko, width: 24, height: 24 }) })
|
|
8724
8732
|
] }) }, l)),
|
|
8725
|
-
e && /* @__PURE__ */ n.jsx("div", { ref: o, children: /* @__PURE__ */ n.jsx(
|
|
8733
|
+
e && /* @__PURE__ */ n.jsx("div", { ref: o, children: /* @__PURE__ */ n.jsx(Sb, { pages: t.slice(2, t.length - 1) }) })
|
|
8726
8734
|
] });
|
|
8727
8735
|
}
|
|
8728
|
-
const
|
|
8729
|
-
box:
|
|
8736
|
+
const kb = "_box_19fj2_1", Tb = {
|
|
8737
|
+
box: kb
|
|
8730
8738
|
};
|
|
8731
|
-
var
|
|
8732
|
-
function
|
|
8739
|
+
var Lb = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.NEUTRAL = "neutral", t.POSITIVE = "positive", t.WARNING = "warning", t.NEGATIVE = "negative", t.HIGHLIGHT = "highlight", t))(Lb || {});
|
|
8740
|
+
function c_({ status: t = "default", children: e }) {
|
|
8733
8741
|
return /* @__PURE__ */ n.jsx(
|
|
8734
8742
|
"div",
|
|
8735
8743
|
{
|
|
8736
|
-
className: w(
|
|
8744
|
+
className: w(Tb.box, "zap-caption-medium"),
|
|
8737
8745
|
style: {
|
|
8738
8746
|
backgroundColor: Nt[t].bg,
|
|
8739
8747
|
color: Nt[t].color
|
|
@@ -8742,21 +8750,21 @@ function i_({ status: t = "default", children: e }) {
|
|
|
8742
8750
|
}
|
|
8743
8751
|
);
|
|
8744
8752
|
}
|
|
8745
|
-
const
|
|
8746
|
-
box:
|
|
8747
|
-
loader:
|
|
8753
|
+
const Db = "_box_1mlf8_1", Vb = "_loader_1mlf8_11", qo = {
|
|
8754
|
+
box: Db,
|
|
8755
|
+
loader: Vb
|
|
8748
8756
|
};
|
|
8749
|
-
function
|
|
8757
|
+
function Ob({
|
|
8750
8758
|
text: t = "Getting data...",
|
|
8751
8759
|
isError: e
|
|
8752
8760
|
}) {
|
|
8753
8761
|
return /* @__PURE__ */ n.jsx("tbody", { className: qo.box, children: /* @__PURE__ */ n.jsx("tr", { className: qo.loader, children: !e && /* @__PURE__ */ n.jsx("td", { children: t }) }) });
|
|
8754
8762
|
}
|
|
8755
|
-
const
|
|
8756
|
-
box:
|
|
8757
|
-
empty:
|
|
8763
|
+
const Hb = "_box_11cjo_1", Wb = "_empty_11cjo_8", er = {
|
|
8764
|
+
box: Hb,
|
|
8765
|
+
empty: Wb
|
|
8758
8766
|
};
|
|
8759
|
-
function
|
|
8767
|
+
function Mb({
|
|
8760
8768
|
emptyStateConfig: t,
|
|
8761
8769
|
search: e
|
|
8762
8770
|
}) {
|
|
@@ -8771,20 +8779,20 @@ function Ob({
|
|
|
8771
8779
|
}
|
|
8772
8780
|
) }) }) }) : null;
|
|
8773
8781
|
}
|
|
8774
|
-
const
|
|
8775
|
-
box:
|
|
8776
|
-
texts:
|
|
8777
|
-
heading:
|
|
8778
|
-
actions:
|
|
8779
|
-
actionCommon:
|
|
8780
|
-
filterBtn:
|
|
8781
|
-
},
|
|
8782
|
-
selectedActions:
|
|
8783
|
-
actionsBtnIconSpan:
|
|
8784
|
-
btnIcon:
|
|
8785
|
-
selectedIcon:
|
|
8782
|
+
const Zb = "_box_1nkz5_1", Xb = "_texts_1nkz5_15", $b = "_heading_1nkz5_21", zb = "_actions_1nkz5_27", Yb = "_actionCommon_1nkz5_34", Jb = "_filterBtn_1nkz5_52", Ht = {
|
|
8783
|
+
box: Zb,
|
|
8784
|
+
texts: Xb,
|
|
8785
|
+
heading: $b,
|
|
8786
|
+
actions: zb,
|
|
8787
|
+
actionCommon: Yb,
|
|
8788
|
+
filterBtn: Jb
|
|
8789
|
+
}, Ub = "_selectedActions_jduip_1", Qb = "_actionsBtnIconSpan_jduip_8", Kb = "_btnIcon_jduip_13", qb = "_selectedIcon_jduip_18", yn = {
|
|
8790
|
+
selectedActions: Ub,
|
|
8791
|
+
actionsBtnIconSpan: Qb,
|
|
8792
|
+
btnIcon: Kb,
|
|
8793
|
+
selectedIcon: qb
|
|
8786
8794
|
};
|
|
8787
|
-
function
|
|
8795
|
+
function ef({
|
|
8788
8796
|
rowSelectionConfig: t,
|
|
8789
8797
|
rowSelection: e
|
|
8790
8798
|
}) {
|
|
@@ -8829,30 +8837,30 @@ function Qb({
|
|
|
8829
8837
|
c.text
|
|
8830
8838
|
)) }) }) });
|
|
8831
8839
|
}
|
|
8832
|
-
const
|
|
8833
|
-
filters:
|
|
8834
|
-
filtersInfo:
|
|
8835
|
-
filter:
|
|
8836
|
-
filterIcon2:
|
|
8837
|
-
filterCol:
|
|
8838
|
-
filterIcon:
|
|
8839
|
-
resetIcon2:
|
|
8840
|
-
totalSelected:
|
|
8841
|
-
positioner:
|
|
8842
|
-
dropdown:
|
|
8843
|
-
options:
|
|
8844
|
-
optionsEmpty:
|
|
8845
|
-
option:
|
|
8846
|
-
dropdownSearch:
|
|
8847
|
-
footerBox:
|
|
8848
|
-
footer:
|
|
8849
|
-
resetBtn:
|
|
8850
|
-
optionLabel:
|
|
8851
|
-
filterTooltip:
|
|
8852
|
-
filterValue:
|
|
8853
|
-
filterTooltipTrigger:
|
|
8840
|
+
const tf = "_filters_h44h8_1", nf = "_filtersInfo_h44h8_7", sf = "_filter_h44h8_1", of = "_filterIcon2_h44h8_26", rf = "_filterCol_h44h8_30", af = "_filterIcon_h44h8_26", lf = "_resetIcon2_h44h8_48", cf = "_totalSelected_h44h8_74", uf = "_positioner_h44h8_86", df = "_dropdown_h44h8_90", pf = "_options_h44h8_107", mf = "_optionsEmpty_h44h8_115", gf = "_option_h44h8_107", hf = "_dropdownSearch_h44h8_140", bf = "_footerBox_h44h8_149", ff = "_footer_h44h8_149", vf = "_resetBtn_h44h8_170", xf = "_optionLabel_h44h8_193", If = "_filterTooltip_h44h8_229", _f = "_filterValue_h44h8_245", Cf = "_filterTooltipTrigger_h44h8_259", ie = {
|
|
8841
|
+
filters: tf,
|
|
8842
|
+
filtersInfo: nf,
|
|
8843
|
+
filter: sf,
|
|
8844
|
+
filterIcon2: of,
|
|
8845
|
+
filterCol: rf,
|
|
8846
|
+
filterIcon: af,
|
|
8847
|
+
resetIcon2: lf,
|
|
8848
|
+
totalSelected: cf,
|
|
8849
|
+
positioner: uf,
|
|
8850
|
+
dropdown: df,
|
|
8851
|
+
options: pf,
|
|
8852
|
+
optionsEmpty: mf,
|
|
8853
|
+
option: gf,
|
|
8854
|
+
dropdownSearch: hf,
|
|
8855
|
+
footerBox: bf,
|
|
8856
|
+
footer: ff,
|
|
8857
|
+
resetBtn: vf,
|
|
8858
|
+
optionLabel: xf,
|
|
8859
|
+
filterTooltip: If,
|
|
8860
|
+
filterValue: _f,
|
|
8861
|
+
filterTooltipTrigger: Cf
|
|
8854
8862
|
};
|
|
8855
|
-
function
|
|
8863
|
+
function yf({
|
|
8856
8864
|
label: t,
|
|
8857
8865
|
value: e,
|
|
8858
8866
|
addFilters: r,
|
|
@@ -8894,7 +8902,7 @@ function If({
|
|
|
8894
8902
|
/* @__PURE__ */ n.jsx("input", { ...p.getHiddenInputProps() })
|
|
8895
8903
|
] });
|
|
8896
8904
|
}
|
|
8897
|
-
function
|
|
8905
|
+
function Af({ filter: t, tableFilter: e, selectedFilters: r }) {
|
|
8898
8906
|
var c;
|
|
8899
8907
|
const [o, s] = Q(_t.machine({ id: t.key })), a = _t.connect(o, s, K), l = (c = t.options) == null ? void 0 : c.filter((i) => e == null ? void 0 : e.values.includes(i.value));
|
|
8900
8908
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
@@ -8912,7 +8920,7 @@ function _f({ filter: t, tableFilter: e, selectedFilters: r }) {
|
|
|
8912
8920
|
a.open && r !== 0 && /* @__PURE__ */ n.jsx("div", { ...a.getPositionerProps(), children: /* @__PURE__ */ n.jsx("div", { ...a.getContentProps(), className: ie.filterTooltip, children: l.map((i) => /* @__PURE__ */ n.jsx("div", { className: ie.filterValue, children: i.name }, i.value)) }) })
|
|
8913
8921
|
] });
|
|
8914
8922
|
}
|
|
8915
|
-
function
|
|
8923
|
+
function jf({
|
|
8916
8924
|
filter: t,
|
|
8917
8925
|
tableFilters: e,
|
|
8918
8926
|
tableFilter: r,
|
|
@@ -8948,7 +8956,7 @@ function Cf({
|
|
|
8948
8956
|
...p.getTriggerProps(),
|
|
8949
8957
|
children: [
|
|
8950
8958
|
/* @__PURE__ */ n.jsx(
|
|
8951
|
-
|
|
8959
|
+
Af,
|
|
8952
8960
|
{
|
|
8953
8961
|
filter: t,
|
|
8954
8962
|
tableFilter: r,
|
|
@@ -8976,7 +8984,7 @@ function Cf({
|
|
|
8976
8984
|
...p.getItemProps({ value: h.value }),
|
|
8977
8985
|
className: ie.option,
|
|
8978
8986
|
children: /* @__PURE__ */ n.jsx(
|
|
8979
|
-
|
|
8987
|
+
yf,
|
|
8980
8988
|
{
|
|
8981
8989
|
label: h.name,
|
|
8982
8990
|
value: h.value,
|
|
@@ -9035,7 +9043,7 @@ const gn = js()(
|
|
|
9035
9043
|
}))
|
|
9036
9044
|
}))
|
|
9037
9045
|
);
|
|
9038
|
-
function
|
|
9046
|
+
function Nf({ filterConfig: t, filters: e }) {
|
|
9039
9047
|
const { isLoading: r, isError: o, filterDispatch: s, filterReset: a } = t, l = gn((m) => m.filters), { setDefaultFilters: c, addFilters: i, removeFilters: u, resetFilters: d, resetAllFilters: p } = gn((m) => ({
|
|
9040
9048
|
setDefaultFilters: m.setDefaultFilters,
|
|
9041
9049
|
addFilters: m.addFilters,
|
|
@@ -9046,7 +9054,7 @@ function yf({ filterConfig: t, filters: e }) {
|
|
|
9046
9054
|
return I.useEffect(() => {
|
|
9047
9055
|
!(e != null && e.length) || r || c((e == null ? void 0 : e.map((m) => ({ key: m.key, values: [] }))) || []);
|
|
9048
9056
|
}, [e == null ? void 0 : e.length, r]), !e || !e.length ? null : o ? /* @__PURE__ */ n.jsx("div", { className: ie.filtersInfo, children: "Error getting filters" }) : r ? /* @__PURE__ */ n.jsx("div", { className: ie.filtersInfo, children: "Getting filters..." }) : /* @__PURE__ */ n.jsx("div", { className: ie.filters, children: e.map((m, g) => /* @__PURE__ */ n.jsx(
|
|
9049
|
-
|
|
9057
|
+
jf,
|
|
9050
9058
|
{
|
|
9051
9059
|
filter: m,
|
|
9052
9060
|
tableFilters: l,
|
|
@@ -9059,7 +9067,7 @@ function yf({ filterConfig: t, filters: e }) {
|
|
|
9059
9067
|
m.id
|
|
9060
9068
|
)) });
|
|
9061
9069
|
}
|
|
9062
|
-
function
|
|
9070
|
+
function wf({
|
|
9063
9071
|
label: t,
|
|
9064
9072
|
value: e,
|
|
9065
9073
|
checked: r,
|
|
@@ -9107,28 +9115,28 @@ function Af({
|
|
|
9107
9115
|
/* @__PURE__ */ n.jsx("input", { ...p.getHiddenInputProps() })
|
|
9108
9116
|
] });
|
|
9109
9117
|
}
|
|
9110
|
-
const
|
|
9111
|
-
actionCommon:
|
|
9112
|
-
filterBtn:
|
|
9113
|
-
backdrop:
|
|
9114
|
-
content:
|
|
9115
|
-
drawerContent:
|
|
9116
|
-
drawerFooter:
|
|
9117
|
-
title:
|
|
9118
|
-
closeIconSpan:
|
|
9119
|
-
closeIcon:
|
|
9120
|
-
footer:
|
|
9121
|
-
filterBox:
|
|
9122
|
-
filters:
|
|
9123
|
-
filter:
|
|
9124
|
-
active:
|
|
9125
|
-
filterSingle:
|
|
9126
|
-
options:
|
|
9127
|
-
option:
|
|
9128
|
-
dropdownSearch:
|
|
9129
|
-
totalSelected:
|
|
9118
|
+
const Sf = "_actionCommon_dcn70_1", Ef = "_filterBtn_dcn70_19", Bf = "_backdrop_dcn70_29", Rf = "_content_dcn70_42", Ff = "_drawerContent_dcn70_64", Gf = "_drawerFooter_dcn70_70", Pf = "_title_dcn70_92", kf = "_closeIconSpan_dcn70_103", Tf = "_closeIcon_dcn70_103", Lf = "_footer_dcn70_123", Df = "_filterBox_dcn70_135", Vf = "_filters_dcn70_142", Of = "_filter_dcn70_19", Hf = "_active_dcn70_158", Wf = "_filterSingle_dcn70_179", Mf = "_options_dcn70_190", Zf = "_option_dcn70_190", Xf = "_dropdownSearch_dcn70_207", $f = "_totalSelected_dcn70_216", Ve = {
|
|
9119
|
+
actionCommon: Sf,
|
|
9120
|
+
filterBtn: Ef,
|
|
9121
|
+
backdrop: Bf,
|
|
9122
|
+
content: Rf,
|
|
9123
|
+
drawerContent: Ff,
|
|
9124
|
+
drawerFooter: Gf,
|
|
9125
|
+
title: Pf,
|
|
9126
|
+
closeIconSpan: kf,
|
|
9127
|
+
closeIcon: Tf,
|
|
9128
|
+
footer: Lf,
|
|
9129
|
+
filterBox: Df,
|
|
9130
|
+
filters: Vf,
|
|
9131
|
+
filter: Of,
|
|
9132
|
+
active: Hf,
|
|
9133
|
+
filterSingle: Wf,
|
|
9134
|
+
options: Mf,
|
|
9135
|
+
option: Zf,
|
|
9136
|
+
dropdownSearch: Xf,
|
|
9137
|
+
totalSelected: $f
|
|
9130
9138
|
};
|
|
9131
|
-
function
|
|
9139
|
+
function zf(t) {
|
|
9132
9140
|
const e = {};
|
|
9133
9141
|
for (const r in t) {
|
|
9134
9142
|
const s = t[r].filter((a) => a.checked).map((a) => a.value).join(",");
|
|
@@ -9151,7 +9159,7 @@ const tr = (t, e) => {
|
|
|
9151
9159
|
}));
|
|
9152
9160
|
}), r;
|
|
9153
9161
|
};
|
|
9154
|
-
function
|
|
9162
|
+
function Yf({ filterConfig: t }) {
|
|
9155
9163
|
var H, M, Z, F;
|
|
9156
9164
|
const { isOpen: e, onOpen: r, onClose: o } = ga(), [s, a] = I.useState({}), [l, c] = I.useState(""), { setDefaultFilters: i, resetAllFilters: u, changeFiltersDrawer: d } = gn((N) => ({
|
|
9157
9165
|
setDefaultFilters: N.setDefaultFilters,
|
|
@@ -9177,7 +9185,7 @@ function Xf({ filterConfig: t }) {
|
|
|
9177
9185
|
a(N);
|
|
9178
9186
|
}, [e]);
|
|
9179
9187
|
const E = (N, j) => !Object.keys(s).length || !s[N] ? !1 : s[N][j].checked, S = () => {
|
|
9180
|
-
const N =
|
|
9188
|
+
const N = zf(s);
|
|
9181
9189
|
Object.entries(N).forEach(([j, T]) => {
|
|
9182
9190
|
d(j, T ? T.split(",") : [], b);
|
|
9183
9191
|
}), o();
|
|
@@ -9261,7 +9269,7 @@ function Xf({ filterConfig: t }) {
|
|
|
9261
9269
|
display: l.length ? R.includes(N.value) ? void 0 : "none" : void 0
|
|
9262
9270
|
},
|
|
9263
9271
|
children: /* @__PURE__ */ n.jsx(
|
|
9264
|
-
|
|
9272
|
+
wf,
|
|
9265
9273
|
{
|
|
9266
9274
|
label: N.name,
|
|
9267
9275
|
value: N.value,
|
|
@@ -9284,27 +9292,27 @@ function Xf({ filterConfig: t }) {
|
|
|
9284
9292
|
) })
|
|
9285
9293
|
] });
|
|
9286
9294
|
}
|
|
9287
|
-
const
|
|
9288
|
-
actionCommon:
|
|
9289
|
-
error:
|
|
9290
|
-
backdrop:
|
|
9291
|
-
content:
|
|
9292
|
-
title:
|
|
9293
|
-
desc:
|
|
9294
|
-
closeIconSpan:
|
|
9295
|
-
closeIcon:
|
|
9296
|
-
footer:
|
|
9297
|
-
colBox:
|
|
9298
|
-
options:
|
|
9299
|
-
option:
|
|
9300
|
-
dropdownSearch:
|
|
9301
|
-
info:
|
|
9302
|
-
info2:
|
|
9303
|
-
optionLabel:
|
|
9304
|
-
optionDis:
|
|
9305
|
-
checkbox:
|
|
9306
|
-
draggable:
|
|
9307
|
-
optionDisabled:
|
|
9295
|
+
const Jf = "_actionCommon_1xrmw_1", Uf = "_error_1xrmw_19", Qf = "_backdrop_1xrmw_30", Kf = "_content_1xrmw_43", qf = "_title_1xrmw_74", ev = "_desc_1xrmw_88", tv = "_closeIconSpan_1xrmw_95", nv = "_closeIcon_1xrmw_95", sv = "_footer_1xrmw_115", ov = "_colBox_1xrmw_131", rv = "_options_1xrmw_144", av = "_option_1xrmw_144", iv = "_dropdownSearch_1xrmw_161", lv = "_info_1xrmw_171", cv = "_info2_1xrmw_172", uv = "_optionLabel_1xrmw_199", dv = "_optionDis_1xrmw_211", pv = "_checkbox_1xrmw_219", mv = "_draggable_1xrmw_237", gv = "_optionDisabled_1xrmw_241", ge = {
|
|
9296
|
+
actionCommon: Jf,
|
|
9297
|
+
error: Uf,
|
|
9298
|
+
backdrop: Qf,
|
|
9299
|
+
content: Kf,
|
|
9300
|
+
title: qf,
|
|
9301
|
+
desc: ev,
|
|
9302
|
+
closeIconSpan: tv,
|
|
9303
|
+
closeIcon: nv,
|
|
9304
|
+
footer: sv,
|
|
9305
|
+
colBox: ov,
|
|
9306
|
+
options: rv,
|
|
9307
|
+
option: av,
|
|
9308
|
+
dropdownSearch: iv,
|
|
9309
|
+
info: lv,
|
|
9310
|
+
info2: cv,
|
|
9311
|
+
optionLabel: uv,
|
|
9312
|
+
optionDis: dv,
|
|
9313
|
+
checkbox: pv,
|
|
9314
|
+
draggable: mv,
|
|
9315
|
+
optionDisabled: gv
|
|
9308
9316
|
};
|
|
9309
9317
|
function wn({
|
|
9310
9318
|
id: t,
|
|
@@ -9339,18 +9347,18 @@ function wn({
|
|
|
9339
9347
|
}
|
|
9340
9348
|
);
|
|
9341
9349
|
}
|
|
9342
|
-
const
|
|
9343
|
-
sortList:
|
|
9344
|
-
sort:
|
|
9345
|
-
sortHidden:
|
|
9346
|
-
dragHandle:
|
|
9350
|
+
const hv = "_sortList_c8sw0_1", bv = "_sort_c8sw0_1", fv = "_sortHidden_c8sw0_21", vv = "_dragHandle_c8sw0_25", Mn = {
|
|
9351
|
+
sortList: hv,
|
|
9352
|
+
sort: bv,
|
|
9353
|
+
sortHidden: fv,
|
|
9354
|
+
dragHandle: vv
|
|
9347
9355
|
}, Ia = I.createContext({
|
|
9348
9356
|
attributes: {},
|
|
9349
9357
|
listeners: void 0,
|
|
9350
9358
|
ref() {
|
|
9351
9359
|
}
|
|
9352
9360
|
});
|
|
9353
|
-
function
|
|
9361
|
+
function xv({ children: t, id: e, isHidden: r = !1 }) {
|
|
9354
9362
|
const {
|
|
9355
9363
|
attributes: o,
|
|
9356
9364
|
isDragging: s,
|
|
@@ -9381,7 +9389,7 @@ function bv({ children: t, id: e, isHidden: r = !1 }) {
|
|
|
9381
9389
|
}
|
|
9382
9390
|
) });
|
|
9383
9391
|
}
|
|
9384
|
-
function
|
|
9392
|
+
function Iv() {
|
|
9385
9393
|
const { attributes: t, listeners: e, ref: r } = I.useContext(Ia);
|
|
9386
9394
|
return /* @__PURE__ */ n.jsx("div", { className: Mn.dragHandle, ...t, ...e, ref: r, children: /* @__PURE__ */ n.jsxs(
|
|
9387
9395
|
"svg",
|
|
@@ -9450,7 +9458,7 @@ function fv() {
|
|
|
9450
9458
|
}
|
|
9451
9459
|
) });
|
|
9452
9460
|
}
|
|
9453
|
-
const
|
|
9461
|
+
const _v = {
|
|
9454
9462
|
sideEffects: ur({
|
|
9455
9463
|
styles: {
|
|
9456
9464
|
active: {
|
|
@@ -9459,8 +9467,8 @@ const vv = {
|
|
|
9459
9467
|
}
|
|
9460
9468
|
})
|
|
9461
9469
|
};
|
|
9462
|
-
function
|
|
9463
|
-
return /* @__PURE__ */ n.jsx(dr, { dropAnimation:
|
|
9470
|
+
function Cv({ children: t }) {
|
|
9471
|
+
return /* @__PURE__ */ n.jsx(dr, { dropAnimation: _v, children: t });
|
|
9464
9472
|
}
|
|
9465
9473
|
function un({
|
|
9466
9474
|
items: t,
|
|
@@ -9500,15 +9508,15 @@ function un({
|
|
|
9500
9508
|
},
|
|
9501
9509
|
children: [
|
|
9502
9510
|
/* @__PURE__ */ n.jsx(Ir, { items: s, children: /* @__PURE__ */ n.jsx("ul", { className: Mn.sortList, role: "application", children: s.map((u) => /* @__PURE__ */ n.jsx(I.Fragment, { children: r(u) }, u.id)) }) }),
|
|
9503
|
-
/* @__PURE__ */ n.jsx(
|
|
9511
|
+
/* @__PURE__ */ n.jsx(Cv, { children: c ? r(c) : null })
|
|
9504
9512
|
]
|
|
9505
9513
|
}
|
|
9506
9514
|
);
|
|
9507
9515
|
}
|
|
9508
|
-
un.Item =
|
|
9509
|
-
un.DragHandle =
|
|
9516
|
+
un.Item = xv;
|
|
9517
|
+
un.DragHandle = Iv;
|
|
9510
9518
|
const ut = "select", Bt = "dropdown-actions", It = "select-radio";
|
|
9511
|
-
function
|
|
9519
|
+
function yv({
|
|
9512
9520
|
customColumnConfig: t,
|
|
9513
9521
|
table: e,
|
|
9514
9522
|
isCheckbox: r,
|
|
@@ -9628,7 +9636,7 @@ function Iv({
|
|
|
9628
9636
|
)
|
|
9629
9637
|
] }),
|
|
9630
9638
|
/* @__PURE__ */ n.jsx(
|
|
9631
|
-
|
|
9639
|
+
Av,
|
|
9632
9640
|
{
|
|
9633
9641
|
cols: A,
|
|
9634
9642
|
text: "Not Selected",
|
|
@@ -9646,7 +9654,7 @@ function Iv({
|
|
|
9646
9654
|
] })
|
|
9647
9655
|
] });
|
|
9648
9656
|
}
|
|
9649
|
-
function
|
|
9657
|
+
function Av({ cols: t, text: e, textCn: r, checkedState: o, setCheckedState: s }) {
|
|
9650
9658
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
9651
9659
|
t.length > 0 && /* @__PURE__ */ n.jsx("p", { className: r, children: e }),
|
|
9652
9660
|
t.map((a) => /* @__PURE__ */ n.jsx("div", { className: ge.option, children: /* @__PURE__ */ n.jsx(
|
|
@@ -9660,7 +9668,7 @@ function _v({ cols: t, text: e, textCn: r, checkedState: o, setCheckedState: s }
|
|
|
9660
9668
|
) }, a.id))
|
|
9661
9669
|
] });
|
|
9662
9670
|
}
|
|
9663
|
-
function
|
|
9671
|
+
function jv({
|
|
9664
9672
|
rowSelectionConfig: t,
|
|
9665
9673
|
totalText: e,
|
|
9666
9674
|
searchConfig: r,
|
|
@@ -9689,7 +9697,7 @@ function Cv({
|
|
|
9689
9697
|
g ? "Selected" : ""
|
|
9690
9698
|
] }),
|
|
9691
9699
|
p && /* @__PURE__ */ n.jsx(
|
|
9692
|
-
|
|
9700
|
+
ef,
|
|
9693
9701
|
{
|
|
9694
9702
|
rowSelectionConfig: t,
|
|
9695
9703
|
rowSelection: l
|
|
@@ -9707,10 +9715,10 @@ function Cv({
|
|
|
9707
9715
|
clearIconClearFn: () => c({})
|
|
9708
9716
|
}
|
|
9709
9717
|
) }),
|
|
9710
|
-
typeof o == "object" && !!b && /* @__PURE__ */ n.jsx(
|
|
9711
|
-
typeof o == "object" && !o.isLoading && !!((y = (h = o.filters) == null ? void 0 : h.drawer) != null && y.length) && /* @__PURE__ */ n.jsx(
|
|
9718
|
+
typeof o == "object" && !!b && /* @__PURE__ */ n.jsx(Nf, { filterConfig: o, filters: b }),
|
|
9719
|
+
typeof o == "object" && !o.isLoading && !!((y = (h = o.filters) == null ? void 0 : h.drawer) != null && y.length) && /* @__PURE__ */ n.jsx(Yf, { filterConfig: o }),
|
|
9712
9720
|
typeof s == "object" && /* @__PURE__ */ n.jsx(
|
|
9713
|
-
|
|
9721
|
+
yv,
|
|
9714
9722
|
{
|
|
9715
9723
|
customColumnConfig: s,
|
|
9716
9724
|
table: i,
|
|
@@ -9722,11 +9730,11 @@ function Cv({
|
|
|
9722
9730
|
] })
|
|
9723
9731
|
] });
|
|
9724
9732
|
}
|
|
9725
|
-
const
|
|
9726
|
-
box:
|
|
9727
|
-
label:
|
|
9733
|
+
const Nv = "_box_2jf37_1", wv = "_label_2jf37_8", Sv = {
|
|
9734
|
+
box: Nv,
|
|
9735
|
+
label: wv
|
|
9728
9736
|
};
|
|
9729
|
-
function
|
|
9737
|
+
function Ev({ actionsConfig: t, data: e }) {
|
|
9730
9738
|
var l;
|
|
9731
9739
|
if (!t) return null;
|
|
9732
9740
|
const { menuItems: r = [], isDropdownActions: o } = t;
|
|
@@ -9737,30 +9745,30 @@ function Nv({ actionsConfig: t, data: e }) {
|
|
|
9737
9745
|
...c,
|
|
9738
9746
|
disabled: typeof c.disabled == "function" ? c.disabled(e) : !1
|
|
9739
9747
|
}));
|
|
9740
|
-
return /* @__PURE__ */ n.jsx("div", { className:
|
|
9741
|
-
}
|
|
9742
|
-
const
|
|
9743
|
-
box:
|
|
9744
|
-
pageBoxes:
|
|
9745
|
-
arrowIcon:
|
|
9746
|
-
pageBox:
|
|
9747
|
-
limitBox:
|
|
9748
|
-
limitContent:
|
|
9749
|
-
limitItem:
|
|
9750
|
-
limitTrigger:
|
|
9751
|
-
chevdownIcon:
|
|
9752
|
-
pos:
|
|
9753
|
-
paginationMenu:
|
|
9748
|
+
return /* @__PURE__ */ n.jsx("div", { className: Sv.box, children: /* @__PURE__ */ n.jsx(z.ActionsDropdown, { menuItems: a, data: e, isTable: !0 }) });
|
|
9749
|
+
}
|
|
9750
|
+
const Bv = "_box_f14da_1", Rv = "_pageBoxes_f14da_6", Fv = "_arrowIcon_f14da_11", Gv = "_pageBox_f14da_6", Pv = "_limitBox_f14da_47", kv = "_limitContent_f14da_56", Tv = "_limitItem_f14da_70", Lv = "_limitTrigger_f14da_84", Dv = "_chevdownIcon_f14da_100", Vv = "_pos_f14da_109", Ov = "_paginationMenu_f14da_116", xe = {
|
|
9751
|
+
box: Bv,
|
|
9752
|
+
pageBoxes: Rv,
|
|
9753
|
+
arrowIcon: Fv,
|
|
9754
|
+
pageBox: Gv,
|
|
9755
|
+
limitBox: Pv,
|
|
9756
|
+
limitContent: kv,
|
|
9757
|
+
limitItem: Tv,
|
|
9758
|
+
limitTrigger: Lv,
|
|
9759
|
+
chevdownIcon: Dv,
|
|
9760
|
+
pos: Vv,
|
|
9761
|
+
paginationMenu: Ov
|
|
9754
9762
|
};
|
|
9755
|
-
let
|
|
9763
|
+
let bs = [
|
|
9756
9764
|
{ label: "10", value: "10" },
|
|
9757
9765
|
{ label: "15", value: "15" },
|
|
9758
9766
|
{ label: "20", value: "20" },
|
|
9759
9767
|
{ label: "25", value: "25" }
|
|
9760
9768
|
];
|
|
9761
|
-
function
|
|
9769
|
+
function Hv({ setLimit: t, limit: e, totalItems: r, itemsOnPage: o }) {
|
|
9762
9770
|
const s = ze.collection({
|
|
9763
|
-
items:
|
|
9771
|
+
items: bs,
|
|
9764
9772
|
itemToString: (i) => i.label,
|
|
9765
9773
|
itemToValue: (i) => i.value
|
|
9766
9774
|
}), [a, l] = Q(
|
|
@@ -9777,7 +9785,7 @@ function Dv({ setLimit: t, limit: e, totalItems: r, itemsOnPage: o }) {
|
|
|
9777
9785
|
}
|
|
9778
9786
|
})
|
|
9779
9787
|
), c = ze.connect(a, l, K);
|
|
9780
|
-
return o && o < +
|
|
9788
|
+
return o && o < +bs[0].value ? /* @__PURE__ */ n.jsx("div", { className: xe.limitBox }) : /* @__PURE__ */ n.jsxs("div", { className: xe.limitBox, children: [
|
|
9781
9789
|
"Showing",
|
|
9782
9790
|
/* @__PURE__ */ n.jsxs("div", { ...c.getRootProps(), children: [
|
|
9783
9791
|
/* @__PURE__ */ n.jsx("div", { ...c.getControlProps(), children: /* @__PURE__ */ n.jsxs("button", { ...c.getTriggerProps(), className: xe.limitTrigger, children: [
|
|
@@ -9785,7 +9793,7 @@ function Dv({ setLimit: t, limit: e, totalItems: r, itemsOnPage: o }) {
|
|
|
9785
9793
|
/* @__PURE__ */ n.jsx(P, { path: Qe, svgClassName: xe.chevdownIcon })
|
|
9786
9794
|
] }) }),
|
|
9787
9795
|
c.open && // <Portal>
|
|
9788
|
-
/* @__PURE__ */ n.jsx("div", { ...c.getPositionerProps(), className: xe.pos, children: /* @__PURE__ */ n.jsx("ul", { ...c.getContentProps(), className: xe.limitContent, children:
|
|
9796
|
+
/* @__PURE__ */ n.jsx("div", { ...c.getPositionerProps(), className: xe.pos, children: /* @__PURE__ */ n.jsx("ul", { ...c.getContentProps(), className: xe.limitContent, children: bs.map((i) => /* @__PURE__ */ n.jsx(
|
|
9789
9797
|
"li",
|
|
9790
9798
|
{
|
|
9791
9799
|
...c.getItemProps({ item: i }),
|
|
@@ -9806,7 +9814,7 @@ const nr = (t, e) => {
|
|
|
9806
9814
|
r.push({ label: String(o), value: String(o) });
|
|
9807
9815
|
return r;
|
|
9808
9816
|
};
|
|
9809
|
-
function
|
|
9817
|
+
function Wv({ paginationApi: t, i: e }) {
|
|
9810
9818
|
const r = t.pages[e - 1].value, o = t.pages[e + 1].value, s = ze.collection({
|
|
9811
9819
|
items: nr(r, o),
|
|
9812
9820
|
itemToString: (i) => i.label,
|
|
@@ -9839,7 +9847,7 @@ function Vv({ paginationApi: t, i: e }) {
|
|
|
9839
9847
|
i.value
|
|
9840
9848
|
)) }) }) }));
|
|
9841
9849
|
}
|
|
9842
|
-
function
|
|
9850
|
+
function Mv({ paginationConfig: t }) {
|
|
9843
9851
|
if (!t) return null;
|
|
9844
9852
|
const { setLimit: e, limit: r, metaData: o } = t, [s, a] = Q(
|
|
9845
9853
|
Rn.machine({
|
|
@@ -9857,7 +9865,7 @@ function Ov({ paginationConfig: t }) {
|
|
|
9857
9865
|
l.setCount((o == null ? void 0 : o.total_items) || 0);
|
|
9858
9866
|
}, [o == null ? void 0 : o.total_items]), /* @__PURE__ */ n.jsxs("div", { className: xe.box, children: [
|
|
9859
9867
|
/* @__PURE__ */ n.jsx(
|
|
9860
|
-
|
|
9868
|
+
Hv,
|
|
9861
9869
|
{
|
|
9862
9870
|
setLimit: e,
|
|
9863
9871
|
limit: r,
|
|
@@ -9875,34 +9883,34 @@ function Ov({ paginationConfig: t }) {
|
|
|
9875
9883
|
children: c.value
|
|
9876
9884
|
},
|
|
9877
9885
|
c.value
|
|
9878
|
-
) : /* @__PURE__ */ n.jsx(I.Fragment, { children: /* @__PURE__ */ n.jsx(
|
|
9886
|
+
) : /* @__PURE__ */ n.jsx(I.Fragment, { children: /* @__PURE__ */ n.jsx(Wv, { paginationApi: l, i }) }, `ellipsis-${i}`)),
|
|
9879
9887
|
/* @__PURE__ */ n.jsx("div", { ...l.getNextTriggerProps(), className: xe.pageBox, children: /* @__PURE__ */ n.jsx(P, { path: Us, svgClassName: xe.arrowIcon }) })
|
|
9880
9888
|
] }) })
|
|
9881
9889
|
] });
|
|
9882
9890
|
}
|
|
9883
|
-
const
|
|
9884
|
-
box:
|
|
9885
|
-
header:
|
|
9886
|
-
meta:
|
|
9887
|
-
total:
|
|
9888
|
-
selectorGrp:
|
|
9889
|
-
table:
|
|
9890
|
-
tableHead:
|
|
9891
|
-
tableData:
|
|
9892
|
-
tableDataWithSelection:
|
|
9893
|
-
tableBody:
|
|
9894
|
-
tableRow:
|
|
9895
|
-
headerTxt:
|
|
9896
|
-
tableHeader:
|
|
9897
|
-
tableHeaderSort:
|
|
9898
|
-
tableHeaderSortSpan:
|
|
9899
|
-
tableHeaderSortIcon:
|
|
9900
|
-
tableScrollContainer:
|
|
9901
|
-
},
|
|
9902
|
-
checkboxSpan:
|
|
9903
|
-
checkbox:
|
|
9904
|
-
checkboxSelect:
|
|
9905
|
-
radio:
|
|
9891
|
+
const Zv = "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='M5.47%204.47a.75.75%200%200%201%201.06%200l2%202a.75.75%200%200%201-1.06%201.06l-.72-.72V10a.75.75%200%200%201-1.5%200V6.81l-.72.72a.75.75%200%200%201-1.06-1.06zM12%207.75a.75.75%200%200%201%200-1.5h8a.75.75%200%200%201%200%201.5zM11.25%2012a.75.75%200%200%201%20.75-.75h8a.75.75%200%200%201%200%201.5h-8a.75.75%200%200%201-.75-.75M6%2013.25a.75.75%200%200%201%20.75.75v3.19l.72-.72a.75.75%200%200%201%201.06%201.06l-2%202a.75.75%200%200%201-1.06%200l-2-2a.75.75%200%201%201%201.06-1.06l.72.72V14a.75.75%200%200%201%20.75-.75m14%204.5h-8a.75.75%200%200%201%200-1.5h8a.75.75%200%200%201%200%201.5'%20fill='%23070F2C'/%3e%3c/svg%3e", Xv = "_box_i5iwl_1", $v = "_header_i5iwl_8", zv = "_meta_i5iwl_20", Yv = "_total_i5iwl_27", Jv = "_selectorGrp_i5iwl_34", Uv = "_table_i5iwl_40", Qv = "_tableHead_i5iwl_47", Kv = "_tableData_i5iwl_57", qv = "_tableDataWithSelection_i5iwl_68", ex = "_tableBody_i5iwl_72", tx = "_tableRow_i5iwl_72", nx = "_headerTxt_i5iwl_77", sx = "_tableHeader_i5iwl_84", ox = "_tableHeaderSort_i5iwl_88", rx = "_tableHeaderSortSpan_i5iwl_93", ax = "_tableHeaderSortIcon_i5iwl_99", ix = "_tableScrollContainer_i5iwl_109", Fe = {
|
|
9892
|
+
box: Xv,
|
|
9893
|
+
header: $v,
|
|
9894
|
+
meta: zv,
|
|
9895
|
+
total: Yv,
|
|
9896
|
+
selectorGrp: Jv,
|
|
9897
|
+
table: Uv,
|
|
9898
|
+
tableHead: Qv,
|
|
9899
|
+
tableData: Kv,
|
|
9900
|
+
tableDataWithSelection: qv,
|
|
9901
|
+
tableBody: ex,
|
|
9902
|
+
tableRow: tx,
|
|
9903
|
+
headerTxt: nx,
|
|
9904
|
+
tableHeader: sx,
|
|
9905
|
+
tableHeaderSort: ox,
|
|
9906
|
+
tableHeaderSortSpan: rx,
|
|
9907
|
+
tableHeaderSortIcon: ax,
|
|
9908
|
+
tableScrollContainer: ix
|
|
9909
|
+
}, lx = "_checkboxSpan_1xai9_1", cx = "_checkbox_1xai9_1", ux = "_checkboxSelect_1xai9_35", dx = "_radio_1xai9_41", dn = {
|
|
9910
|
+
checkboxSpan: lx,
|
|
9911
|
+
checkbox: cx,
|
|
9912
|
+
checkboxSelect: ux,
|
|
9913
|
+
radio: dx
|
|
9906
9914
|
};
|
|
9907
9915
|
function sr({
|
|
9908
9916
|
indeterminate: t,
|
|
@@ -9923,7 +9931,7 @@ function sr({
|
|
|
9923
9931
|
}
|
|
9924
9932
|
) });
|
|
9925
9933
|
}
|
|
9926
|
-
function
|
|
9934
|
+
function px({
|
|
9927
9935
|
indeterminate: t,
|
|
9928
9936
|
row: e,
|
|
9929
9937
|
...r
|
|
@@ -9941,7 +9949,7 @@ function cx({
|
|
|
9941
9949
|
}
|
|
9942
9950
|
) });
|
|
9943
9951
|
}
|
|
9944
|
-
function
|
|
9952
|
+
function u_({
|
|
9945
9953
|
data: t,
|
|
9946
9954
|
loaderConfig: e,
|
|
9947
9955
|
columns: r,
|
|
@@ -10013,7 +10021,7 @@ function l_({
|
|
|
10013
10021
|
{
|
|
10014
10022
|
id: It,
|
|
10015
10023
|
cell: ({ row: j }) => /* @__PURE__ */ n.jsx(
|
|
10016
|
-
|
|
10024
|
+
px,
|
|
10017
10025
|
{
|
|
10018
10026
|
checked: j.getIsSelected(),
|
|
10019
10027
|
disabled: !j.getCanSelect(),
|
|
@@ -10028,7 +10036,7 @@ function l_({
|
|
|
10028
10036
|
...r,
|
|
10029
10037
|
{
|
|
10030
10038
|
id: Bt,
|
|
10031
|
-
cell: (j) => /* @__PURE__ */ n.jsx(
|
|
10039
|
+
cell: (j) => /* @__PURE__ */ n.jsx(Ev, { actionsConfig: l, data: j.row.original }),
|
|
10032
10040
|
header: "Actions",
|
|
10033
10041
|
size: 70,
|
|
10034
10042
|
enablePinning: !0
|
|
@@ -10091,7 +10099,7 @@ function l_({
|
|
|
10091
10099
|
children: [
|
|
10092
10100
|
/* @__PURE__ */ n.jsxs("div", { className: Fe.box, children: [
|
|
10093
10101
|
!e.isError && /* @__PURE__ */ n.jsx(
|
|
10094
|
-
|
|
10102
|
+
jv,
|
|
10095
10103
|
{
|
|
10096
10104
|
rowSelectionConfig: a,
|
|
10097
10105
|
searchConfig: c,
|
|
@@ -10107,7 +10115,7 @@ function l_({
|
|
|
10107
10115
|
}
|
|
10108
10116
|
),
|
|
10109
10117
|
/* @__PURE__ */ n.jsx(
|
|
10110
|
-
|
|
10118
|
+
mx,
|
|
10111
10119
|
{
|
|
10112
10120
|
table: N,
|
|
10113
10121
|
isCheckbox: H,
|
|
@@ -10120,12 +10128,12 @@ function l_({
|
|
|
10120
10128
|
}
|
|
10121
10129
|
)
|
|
10122
10130
|
] }),
|
|
10123
|
-
typeof u == "object" && !!u.metaData && /* @__PURE__ */ n.jsx(
|
|
10131
|
+
typeof u == "object" && !!u.metaData && /* @__PURE__ */ n.jsx(Mv, { paginationConfig: u })
|
|
10124
10132
|
]
|
|
10125
10133
|
}
|
|
10126
10134
|
);
|
|
10127
10135
|
}
|
|
10128
|
-
function
|
|
10136
|
+
function mx({
|
|
10129
10137
|
table: t,
|
|
10130
10138
|
isCheckbox: e,
|
|
10131
10139
|
isRadio: r,
|
|
@@ -10191,7 +10199,7 @@ function ux({
|
|
|
10191
10199
|
false: b.column.getCanSort() ? /* @__PURE__ */ n.jsx(
|
|
10192
10200
|
P,
|
|
10193
10201
|
{
|
|
10194
|
-
path:
|
|
10202
|
+
path: Zv,
|
|
10195
10203
|
spanClassName: Fe.tableHeaderSortSpan,
|
|
10196
10204
|
svgClassName: Fe.tableHeaderSort
|
|
10197
10205
|
}
|
|
@@ -10204,7 +10212,7 @@ function ux({
|
|
|
10204
10212
|
b.id
|
|
10205
10213
|
);
|
|
10206
10214
|
}) }, v.id)) }),
|
|
10207
|
-
o.isFetching ? /* @__PURE__ */ n.jsx(
|
|
10215
|
+
o.isFetching ? /* @__PURE__ */ n.jsx(Ob, { text: o.text, isError: o.isError }) : l ? /* @__PURE__ */ n.jsx(Mb, { emptyStateConfig: s, search: c }) : /* @__PURE__ */ n.jsx("tbody", { className: Fe.tableBody, children: t.getRowModel().rows.map((v, b, _) => /* @__PURE__ */ n.jsx("tr", { className: Fe.tableRow, children: v.getVisibleCells().map((x, h, y) => {
|
|
10208
10216
|
var R, E;
|
|
10209
10217
|
const A = (e || r) && (x.id === `${b}_${It}` || x.id === `${b}_${ut}`);
|
|
10210
10218
|
let C = !1;
|
|
@@ -10249,7 +10257,7 @@ const or = (t, e, r, o) => {
|
|
|
10249
10257
|
backgroundColor: o ? "var(--fill-highlight)" : "#ffffff",
|
|
10250
10258
|
marginRight: a ? "20px" : void 0
|
|
10251
10259
|
};
|
|
10252
|
-
},
|
|
10260
|
+
}, gx = {
|
|
10253
10261
|
control: (t, e) => ({
|
|
10254
10262
|
...t,
|
|
10255
10263
|
borderWidth: "1px",
|
|
@@ -10327,39 +10335,29 @@ const or = (t, e, r, o) => {
|
|
|
10327
10335
|
...t,
|
|
10328
10336
|
display: "none"
|
|
10329
10337
|
})
|
|
10330
|
-
},
|
|
10331
|
-
mainContainer:
|
|
10332
|
-
dropdownIcon:
|
|
10333
|
-
loadingMessage:
|
|
10334
|
-
option:
|
|
10335
|
-
tagOption:
|
|
10336
|
-
multiOptionValue:
|
|
10337
|
-
userOption:
|
|
10338
|
-
userOptionValue:
|
|
10339
|
-
label:
|
|
10340
|
-
selectedLabel:
|
|
10341
|
-
profileImg:
|
|
10342
|
-
initials:
|
|
10343
|
-
icon:
|
|
10344
|
-
selectedIcon:
|
|
10345
|
-
labelContainer:
|
|
10346
|
-
info:
|
|
10347
|
-
clearIcon:
|
|
10348
|
-
removeIcon:
|
|
10349
|
-
errorMsg:
|
|
10350
|
-
}, bs = /* @__PURE__ */ new Map(), Rx = (t) => {
|
|
10351
|
-
if (bs.has(t))
|
|
10352
|
-
return bs.get(t);
|
|
10353
|
-
let e = 0;
|
|
10354
|
-
for (let i = 0; i < t.length; i++) {
|
|
10355
|
-
const u = t.charCodeAt(i);
|
|
10356
|
-
e = (e << 5) - e + u, e |= 0;
|
|
10357
|
-
}
|
|
10358
|
-
const r = Math.abs(e) % 360, o = Math.abs(e * 2) % 100, s = Math.min(Math.abs(e * 3) % 50 + 50, 80), a = `hsl(${r}, ${o}%, ${s - 20}%)`, l = `hsl(${r}, ${o}%, ${s + 20}%)`, c = { darkerColor: a, lighterColor: l };
|
|
10359
|
-
return bs.set(t, c), c;
|
|
10338
|
+
}, hx = "_mainContainer_nwv94_1", bx = "_dropdownIcon_nwv94_8", fx = "_loadingMessage_nwv94_23", vx = "_option_nwv94_32", xx = "_tagOption_nwv94_38", Ix = "_multiOptionValue_nwv94_43", _x = "_userOption_nwv94_49", Cx = "_userOptionValue_nwv94_50", yx = "_label_nwv94_55", Ax = "_selectedLabel_nwv94_55", jx = "_profileImg_nwv94_59", Nx = "_initials_nwv94_60", wx = "_icon_nwv94_73", Sx = "_selectedIcon_nwv94_74", Ex = "_labelContainer_nwv94_100", Bx = "_info_nwv94_106", Rx = "_clearIcon_nwv94_110", Fx = "_removeIcon_nwv94_120", Gx = "_errorMsg_nwv94_136", Y = {
|
|
10339
|
+
mainContainer: hx,
|
|
10340
|
+
dropdownIcon: bx,
|
|
10341
|
+
loadingMessage: fx,
|
|
10342
|
+
option: vx,
|
|
10343
|
+
tagOption: xx,
|
|
10344
|
+
multiOptionValue: Ix,
|
|
10345
|
+
userOption: _x,
|
|
10346
|
+
userOptionValue: Cx,
|
|
10347
|
+
label: yx,
|
|
10348
|
+
selectedLabel: Ax,
|
|
10349
|
+
profileImg: jx,
|
|
10350
|
+
initials: Nx,
|
|
10351
|
+
icon: wx,
|
|
10352
|
+
selectedIcon: Sx,
|
|
10353
|
+
labelContainer: Ex,
|
|
10354
|
+
info: Bx,
|
|
10355
|
+
clearIcon: Rx,
|
|
10356
|
+
removeIcon: Fx,
|
|
10357
|
+
errorMsg: Gx
|
|
10360
10358
|
};
|
|
10361
10359
|
function _a(t) {
|
|
10362
|
-
return I.useMemo(() =>
|
|
10360
|
+
return I.useMemo(() => lb(t), [t]);
|
|
10363
10361
|
}
|
|
10364
10362
|
var Ge = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.USERS = "users", t.CHECKBOX = "checkbox", t.TAGS = "tags", t))(Ge || {});
|
|
10365
10363
|
function Ks({ src: t, alt: e, className: r, ...o }) {
|
|
@@ -10373,7 +10371,7 @@ function Ks({ src: t, alt: e, className: r, ...o }) {
|
|
|
10373
10371
|
};
|
|
10374
10372
|
}, [t]), /* @__PURE__ */ n.jsx(n.Fragment, { children: s ? /* @__PURE__ */ n.jsx("img", { src: t, alt: e, className: r, loading: "lazy", ...o }) : /* @__PURE__ */ n.jsx(jn, { className: r }) });
|
|
10375
10373
|
}
|
|
10376
|
-
const
|
|
10374
|
+
const Px = (t) => /* @__PURE__ */ n.jsx(He.DropdownIndicator, { ...t, children: /* @__PURE__ */ n.jsx(P, { path: va, spanClassName: Y.dropdownIcon }) }), kx = (t) => t.selectProps.isLoading ? null : /* @__PURE__ */ n.jsx(He.IndicatorsContainer, { ...t }), Tx = (t) => /* @__PURE__ */ n.jsx(He.Menu, { ...t, children: t.selectProps.isLoading ? /* @__PURE__ */ n.jsx("div", { className: Y.loadingMessage, children: "Loading options..." }) : t.children }), Lx = (t) => {
|
|
10377
10375
|
const { data: e, isSelected: r, isMulti: o, variant: s } = t, { label: a, subLabel: l, profileImgUrl: c, icon: i } = e, { darkerColor: u, lighterColor: d } = _a(a);
|
|
10378
10376
|
return /* @__PURE__ */ n.jsxs(He.Option, { ...t, children: [
|
|
10379
10377
|
/* @__PURE__ */ n.jsxs(
|
|
@@ -10406,14 +10404,14 @@ const Fx = (t) => /* @__PURE__ */ n.jsx(He.DropdownIndicator, { ...t, children:
|
|
|
10406
10404
|
),
|
|
10407
10405
|
r && /* @__PURE__ */ n.jsx(P, { path: ca, spanClassName: Y.selectedIcon })
|
|
10408
10406
|
] });
|
|
10409
|
-
},
|
|
10407
|
+
}, Dx = (t) => {
|
|
10410
10408
|
const { data: e } = t, { label: r, profileImgUrl: o, icon: s } = e;
|
|
10411
10409
|
return /* @__PURE__ */ n.jsx(He.SingleValue, { ...t, children: /* @__PURE__ */ n.jsxs("div", { className: w(Y.option, Y.selectedOption), children: [
|
|
10412
10410
|
o && /* @__PURE__ */ n.jsx(Ks, { src: o, alt: r, className: Y.profileImg }),
|
|
10413
10411
|
s && /* @__PURE__ */ n.jsx(P, { path: s, spanClassName: Y.icon }),
|
|
10414
10412
|
/* @__PURE__ */ n.jsx("div", { className: Y.labelContainer, children: /* @__PURE__ */ n.jsx("span", { className: Y.label, children: r }) })
|
|
10415
10413
|
] }) });
|
|
10416
|
-
},
|
|
10414
|
+
}, Vx = (t) => {
|
|
10417
10415
|
const { data: e, selectProps: r, variant: o } = t, { label: s, profileImgUrl: a, icon: l } = e, { isMulti: c } = r, { darkerColor: i, lighterColor: u } = _a(s);
|
|
10418
10416
|
return /* @__PURE__ */ n.jsx(
|
|
10419
10417
|
"div",
|
|
@@ -10440,11 +10438,11 @@ const Fx = (t) => /* @__PURE__ */ n.jsx(He.DropdownIndicator, { ...t, children:
|
|
|
10440
10438
|
] })
|
|
10441
10439
|
}
|
|
10442
10440
|
);
|
|
10443
|
-
},
|
|
10441
|
+
}, Ox = (t) => /* @__PURE__ */ n.jsx(He.MultiValueRemove, { ...t, children: /* @__PURE__ */ n.jsx(P, { path: pt, spanClassName: Y.removeIcon }) }), Hx = (t) => {
|
|
10444
10442
|
const { isMulti: e } = t;
|
|
10445
10443
|
return e ? null : /* @__PURE__ */ n.jsx(He.ClearIndicator, { ...t, children: /* @__PURE__ */ n.jsx(P, { path: pt, spanClassName: Y.clearIcon }) });
|
|
10446
10444
|
};
|
|
10447
|
-
function
|
|
10445
|
+
function d_(t) {
|
|
10448
10446
|
const {
|
|
10449
10447
|
options: e,
|
|
10450
10448
|
mainContainerClassName: r,
|
|
@@ -10467,19 +10465,19 @@ function c_(t) {
|
|
|
10467
10465
|
classNamePrefix: "react-select",
|
|
10468
10466
|
options: e,
|
|
10469
10467
|
unstyled: !0,
|
|
10470
|
-
styles:
|
|
10468
|
+
styles: gx,
|
|
10471
10469
|
isClearable: !0,
|
|
10472
10470
|
isSearchable: !0,
|
|
10473
10471
|
hideSelectedOptions: !1,
|
|
10474
10472
|
components: {
|
|
10475
|
-
Option: (i) => /* @__PURE__ */ n.jsx(
|
|
10476
|
-
MultiValue: (i) => /* @__PURE__ */ n.jsx(
|
|
10477
|
-
MultiValueRemove: (i) => /* @__PURE__ */ n.jsx(
|
|
10478
|
-
DropdownIndicator: (i) => /* @__PURE__ */ n.jsx(
|
|
10479
|
-
ClearIndicator: (i) => /* @__PURE__ */ n.jsx(
|
|
10480
|
-
SingleValue: (i) => /* @__PURE__ */ n.jsx(
|
|
10481
|
-
Menu: (i) => /* @__PURE__ */ n.jsx(
|
|
10482
|
-
IndicatorsContainer: (i) => /* @__PURE__ */ n.jsx(
|
|
10473
|
+
Option: (i) => /* @__PURE__ */ n.jsx(Lx, { ...i, variant: o }),
|
|
10474
|
+
MultiValue: (i) => /* @__PURE__ */ n.jsx(Vx, { ...i, variant: o }),
|
|
10475
|
+
MultiValueRemove: (i) => /* @__PURE__ */ n.jsx(Ox, { ...i, variant: o }),
|
|
10476
|
+
DropdownIndicator: (i) => /* @__PURE__ */ n.jsx(Px, { ...i, variant: o }),
|
|
10477
|
+
ClearIndicator: (i) => /* @__PURE__ */ n.jsx(Hx, { ...i, variant: o }),
|
|
10478
|
+
SingleValue: (i) => /* @__PURE__ */ n.jsx(Dx, { ...i, variant: o }),
|
|
10479
|
+
Menu: (i) => /* @__PURE__ */ n.jsx(Tx, { ...i, variant: o }),
|
|
10480
|
+
IndicatorsContainer: (i) => /* @__PURE__ */ n.jsx(kx, { ...i, variant: o })
|
|
10483
10481
|
},
|
|
10484
10482
|
onChange: c,
|
|
10485
10483
|
...l
|
|
@@ -10488,39 +10486,39 @@ function c_(t) {
|
|
|
10488
10486
|
s && /* @__PURE__ */ n.jsx("span", { className: w(Y.errorMsg, "zap-subcontent-regular"), children: s })
|
|
10489
10487
|
] });
|
|
10490
10488
|
}
|
|
10491
|
-
const
|
|
10492
|
-
datePicker:
|
|
10493
|
-
formButton:
|
|
10494
|
-
calendarIcon:
|
|
10495
|
-
errorMsg:
|
|
10496
|
-
popoverContent:
|
|
10497
|
-
buttonContent:
|
|
10498
|
-
calendarIconSpan:
|
|
10499
|
-
months:
|
|
10500
|
-
month:
|
|
10501
|
-
caption:
|
|
10502
|
-
captionLabel:
|
|
10503
|
-
captionDropdowns:
|
|
10504
|
-
nav:
|
|
10505
|
-
navButton:
|
|
10506
|
-
navButtonPrevious:
|
|
10507
|
-
navButtonNext:
|
|
10508
|
-
table:
|
|
10509
|
-
headRow:
|
|
10510
|
-
headCell:
|
|
10511
|
-
row:
|
|
10512
|
-
cell:
|
|
10513
|
-
day:
|
|
10514
|
-
dayHighlighted:
|
|
10515
|
-
daySelected:
|
|
10516
|
-
dayDisabled:
|
|
10517
|
-
dayToday:
|
|
10518
|
-
dayOutside:
|
|
10519
|
-
dayHidden:
|
|
10520
|
-
vHidden:
|
|
10521
|
-
dropdown:
|
|
10489
|
+
const Wx = "_datePicker_1e776_1", Mx = "_formButton_1e776_6", Zx = "_calendarIcon_1e776_12", Xx = "_errorMsg_1e776_16", $x = "_popoverContent_1e776_23", zx = "_buttonContent_1e776_30", Yx = "_calendarIconSpan_1e776_37", Jx = "_months_1e776_40", Ux = "_month_1e776_40", Qx = "_caption_1e776_47", Kx = "_captionLabel_1e776_51", qx = "_captionDropdowns_1e776_54", eI = "_nav_1e776_60", tI = "_navButton_1e776_65", nI = "_navButtonPrevious_1e776_85", sI = "_navButtonNext_1e776_88", oI = "_table_1e776_91", rI = "_headRow_1e776_97", aI = "_headCell_1e776_100", iI = "_row_1e776_111", lI = "_cell_1e776_117", cI = "_day_1e776_136", uI = "_dayHighlighted_1e776_153", dI = "_daySelected_1e776_157", pI = "_dayDisabled_1e776_165", mI = "_dayToday_1e776_168", gI = "_dayOutside_1e776_179", hI = "_dayHidden_1e776_188", bI = "_vHidden_1e776_191", fI = "_dropdown_1e776_194", U = {
|
|
10490
|
+
datePicker: Wx,
|
|
10491
|
+
formButton: Mx,
|
|
10492
|
+
calendarIcon: Zx,
|
|
10493
|
+
errorMsg: Xx,
|
|
10494
|
+
popoverContent: $x,
|
|
10495
|
+
buttonContent: zx,
|
|
10496
|
+
calendarIconSpan: Yx,
|
|
10497
|
+
months: Jx,
|
|
10498
|
+
month: Ux,
|
|
10499
|
+
caption: Qx,
|
|
10500
|
+
captionLabel: Kx,
|
|
10501
|
+
captionDropdowns: qx,
|
|
10502
|
+
nav: eI,
|
|
10503
|
+
navButton: tI,
|
|
10504
|
+
navButtonPrevious: nI,
|
|
10505
|
+
navButtonNext: sI,
|
|
10506
|
+
table: oI,
|
|
10507
|
+
headRow: rI,
|
|
10508
|
+
headCell: aI,
|
|
10509
|
+
row: iI,
|
|
10510
|
+
cell: lI,
|
|
10511
|
+
day: cI,
|
|
10512
|
+
dayHighlighted: uI,
|
|
10513
|
+
daySelected: dI,
|
|
10514
|
+
dayDisabled: pI,
|
|
10515
|
+
dayToday: mI,
|
|
10516
|
+
dayOutside: gI,
|
|
10517
|
+
dayHidden: hI,
|
|
10518
|
+
vHidden: bI,
|
|
10519
|
+
dropdown: fI
|
|
10522
10520
|
}, rr = "data:image/svg+xml,%3csvg%20width='16'%20height='18'%20viewBox='0%200%2016%2018'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.66665%200.875C5.01182%200.875%205.29165%201.15482%205.29165%201.5V2.54167H10.7083V1.5C10.7083%201.15482%2010.9881%200.875%2011.3333%200.875C11.6785%200.875%2011.9583%201.15482%2011.9583%201.5V2.54167H13C14.2656%202.54167%2015.2916%203.56768%2015.2916%204.83333V14.8333C15.2916%2016.099%2014.2656%2017.125%2013%2017.125H2.99998C1.73433%2017.125%200.708313%2016.099%200.708313%2014.8333V4.83333C0.708313%203.56768%201.73433%202.54167%202.99998%202.54167H4.04165V1.5C4.04165%201.15482%204.32147%200.875%204.66665%200.875ZM2.99998%203.79167C2.42468%203.79167%201.95831%204.25804%201.95831%204.83333V5.875H14.0416V4.83333C14.0416%204.25804%2013.5753%203.79167%2013%203.79167H2.99998ZM14.0416%207.125H1.95831V14.8333C1.95831%2015.4086%202.42468%2015.875%202.99998%2015.875H13C13.5753%2015.875%2014.0416%2015.4086%2014.0416%2014.8333V7.125Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
10523
|
-
function
|
|
10521
|
+
function p_({
|
|
10524
10522
|
value: t,
|
|
10525
10523
|
onChange: e,
|
|
10526
10524
|
mode: r = "single",
|
|
@@ -10667,7 +10665,7 @@ function u_({
|
|
|
10667
10665
|
export {
|
|
10668
10666
|
ib as ActionsDropdown,
|
|
10669
10667
|
Ks as AsyncImage,
|
|
10670
|
-
|
|
10668
|
+
o_ as Avatar,
|
|
10671
10669
|
As as BADGE_HIGHLIGHT,
|
|
10672
10670
|
Ze as BADGE_STATUS,
|
|
10673
10671
|
st as BUTTON_V2_SIZE,
|
|
@@ -10675,13 +10673,13 @@ export {
|
|
|
10675
10673
|
Me as BUTTON_V2_VARIANT,
|
|
10676
10674
|
ue as BUTTON_VARIANT,
|
|
10677
10675
|
Qo as Badge,
|
|
10678
|
-
|
|
10676
|
+
l_ as Breadcrumb,
|
|
10679
10677
|
z as Button,
|
|
10680
10678
|
Qs as ButtonV2,
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
|
|
10684
|
-
|
|
10679
|
+
JI as Checkbox,
|
|
10680
|
+
s_ as ColorPicker,
|
|
10681
|
+
YI as CreatableSelect,
|
|
10682
|
+
p_ as DatePicker,
|
|
10685
10683
|
yr as Drawer,
|
|
10686
10684
|
Es as EmptyState,
|
|
10687
10685
|
Ar as Input,
|
|
@@ -10693,42 +10691,42 @@ export {
|
|
|
10693
10691
|
Nr as InputRightAddon,
|
|
10694
10692
|
Sr as InputRightElement,
|
|
10695
10693
|
q2 as LOADER_VARIANT,
|
|
10696
|
-
|
|
10694
|
+
qI as LayoutTabs,
|
|
10697
10695
|
Ys as Loader,
|
|
10698
|
-
|
|
10699
|
-
|
|
10700
|
-
|
|
10701
|
-
|
|
10702
|
-
|
|
10696
|
+
DI as Modal,
|
|
10697
|
+
VI as ModalBody,
|
|
10698
|
+
OI as ModalContent,
|
|
10699
|
+
HI as ModalFooter,
|
|
10700
|
+
WI as ModalHeader,
|
|
10703
10701
|
Su as ModalOverlay,
|
|
10704
|
-
|
|
10705
|
-
|
|
10702
|
+
Lb as PILL_STATUS,
|
|
10703
|
+
c_ as Pill,
|
|
10706
10704
|
Eu as Popover,
|
|
10707
|
-
|
|
10705
|
+
MI as PopoverCloseButton,
|
|
10708
10706
|
Lu as PopoverContent,
|
|
10709
|
-
|
|
10710
|
-
|
|
10707
|
+
ZI as PopoverDescription,
|
|
10708
|
+
XI as PopoverTitle,
|
|
10711
10709
|
Du as PopoverTrigger,
|
|
10712
|
-
|
|
10713
|
-
|
|
10710
|
+
UI as Progress,
|
|
10711
|
+
KI as RadioGroup,
|
|
10714
10712
|
Ge as SELECT_VARIANT,
|
|
10715
10713
|
vm as STATUS_MAP,
|
|
10716
10714
|
P as SVG,
|
|
10717
10715
|
Ke as Search,
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10716
|
+
QI as SegmentedControl,
|
|
10717
|
+
$I as Select,
|
|
10718
|
+
zI as SelectAsync,
|
|
10719
|
+
d_ as SelectV2,
|
|
10722
10720
|
dc as Selectors,
|
|
10723
10721
|
jn as Skeleton,
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
|
|
10729
|
-
|
|
10730
|
-
|
|
10731
|
-
|
|
10722
|
+
e_ as Switch,
|
|
10723
|
+
a_ as Tab,
|
|
10724
|
+
LI as Table,
|
|
10725
|
+
n_ as TableV2,
|
|
10726
|
+
u_ as TableV3,
|
|
10727
|
+
r_ as Tabs,
|
|
10728
|
+
t_ as Tag,
|
|
10729
|
+
i_ as TaskCards,
|
|
10732
10730
|
rn as Tooltip,
|
|
10733
10731
|
_2 as TooltipV2,
|
|
10734
10732
|
gh as USER_CHIP_STATUS,
|