@hybr1d-tech/charizard 0.6.37 → 0.6.38
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 +172 -197
- package/dist/hybr1d-ui.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/package.json +2 -5
- package/dist/components/task-card/components/card/Card.d.ts +0 -5
- package/dist/components/task-card/components/header/Header.d.ts +0 -3
- package/dist/components/task-card/types.d.ts +0 -20
package/dist/hybr1d-ui.js
CHANGED
|
@@ -823,7 +823,7 @@ function br({
|
|
|
823
823
|
"button",
|
|
824
824
|
{
|
|
825
825
|
className: S(
|
|
826
|
-
"
|
|
826
|
+
"zap-reset-btn",
|
|
827
827
|
D.customTrigger,
|
|
828
828
|
v.open && D.customTriggerActive
|
|
829
829
|
),
|
|
@@ -1031,7 +1031,7 @@ function cl({ filter: t, tableFilter: e, selectedFilters: r }) {
|
|
|
1031
1031
|
"div",
|
|
1032
1032
|
{
|
|
1033
1033
|
...a.getTriggerProps(),
|
|
1034
|
-
className: S("
|
|
1034
|
+
className: S("zap-reset-btn", ne.filterTooltipTrigger),
|
|
1035
1035
|
children: [
|
|
1036
1036
|
/* @__PURE__ */ n.jsx("div", { className: ne.filterCol, children: t.name }),
|
|
1037
1037
|
r !== 0 && /* @__PURE__ */ n.jsx("span", { className: ne.totalSelected, children: r })
|
|
@@ -1113,7 +1113,7 @@ function bl({
|
|
|
1113
1113
|
/* @__PURE__ */ n.jsxs(
|
|
1114
1114
|
"button",
|
|
1115
1115
|
{
|
|
1116
|
-
className: S("
|
|
1116
|
+
className: S("zap-reset-btn", ne.filter, p.open && ne.filterActive),
|
|
1117
1117
|
...p.getTriggerProps(),
|
|
1118
1118
|
children: [
|
|
1119
1119
|
/* @__PURE__ */ n.jsx(
|
|
@@ -1170,7 +1170,7 @@ function bl({
|
|
|
1170
1170
|
/* @__PURE__ */ n.jsxs(
|
|
1171
1171
|
"button",
|
|
1172
1172
|
{
|
|
1173
|
-
className: S("
|
|
1173
|
+
className: S("zap-reset-btn", ne.resetBtn),
|
|
1174
1174
|
onClick: v,
|
|
1175
1175
|
children: [
|
|
1176
1176
|
/* @__PURE__ */ n.jsx(T, { path: ul, svgClassName: ne.resetIcon }),
|
|
@@ -2402,7 +2402,7 @@ function Ux({
|
|
|
2402
2402
|
...e.getCloseTriggerProps(),
|
|
2403
2403
|
type: "button",
|
|
2404
2404
|
onClick: () => e == null ? void 0 : e.setOpen(!1),
|
|
2405
|
-
className: "
|
|
2405
|
+
className: "zap-reset-btn",
|
|
2406
2406
|
children: /* @__PURE__ */ n.jsx(
|
|
2407
2407
|
T,
|
|
2408
2408
|
{
|
|
@@ -2452,7 +2452,7 @@ function Kx({ children: t, api: e, styles: r, className: o }) {
|
|
|
2452
2452
|
{
|
|
2453
2453
|
...e == null ? void 0 : e.getCloseTriggerProps(),
|
|
2454
2454
|
style: r,
|
|
2455
|
-
className: S("
|
|
2455
|
+
className: S("zap-reset-btn", o),
|
|
2456
2456
|
onClick: () => e == null ? void 0 : e.setOpen(!1),
|
|
2457
2457
|
children: t
|
|
2458
2458
|
}
|
|
@@ -2530,7 +2530,7 @@ function nI({
|
|
|
2530
2530
|
},
|
|
2531
2531
|
onMouseLeave: r ? () => e == null ? void 0 : e.setOpen(!1) : () => {
|
|
2532
2532
|
},
|
|
2533
|
-
className: S("
|
|
2533
|
+
className: S("zap-reset-btn", Ht.trigger, s),
|
|
2534
2534
|
style: o,
|
|
2535
2535
|
children: t
|
|
2536
2536
|
}
|
|
@@ -6806,7 +6806,7 @@ function z2({ filter: t, tableFilter: e, selectedFilters: r }) {
|
|
|
6806
6806
|
"div",
|
|
6807
6807
|
{
|
|
6808
6808
|
...a.getTriggerProps(),
|
|
6809
|
-
className: S("
|
|
6809
|
+
className: S("zap-reset-btn", re.filterTooltipTrigger),
|
|
6810
6810
|
children: [
|
|
6811
6811
|
/* @__PURE__ */ n.jsx("div", { className: re.filterCol, children: t.name }),
|
|
6812
6812
|
r !== 0 && /* @__PURE__ */ n.jsx("span", { className: re.totalSelected, children: r })
|
|
@@ -6848,7 +6848,7 @@ function Y2({
|
|
|
6848
6848
|
/* @__PURE__ */ n.jsxs(
|
|
6849
6849
|
"button",
|
|
6850
6850
|
{
|
|
6851
|
-
className: S("
|
|
6851
|
+
className: S("zap-reset-btn", re.filter, p.open && re.filterActive),
|
|
6852
6852
|
...p.getTriggerProps(),
|
|
6853
6853
|
children: [
|
|
6854
6854
|
/* @__PURE__ */ n.jsx(
|
|
@@ -6900,7 +6900,7 @@ function Y2({
|
|
|
6900
6900
|
/* @__PURE__ */ n.jsx("div", { className: re.footerBox, children: /* @__PURE__ */ n.jsx("div", { className: re.footer, children: /* @__PURE__ */ n.jsx(
|
|
6901
6901
|
"button",
|
|
6902
6902
|
{
|
|
6903
|
-
className: S("
|
|
6903
|
+
className: S("zap-reset-btn", re.resetBtn),
|
|
6904
6904
|
onClick: v,
|
|
6905
6905
|
children: "Reset"
|
|
6906
6906
|
}
|
|
@@ -7097,7 +7097,7 @@ function fg({ filterConfig: t }) {
|
|
|
7097
7097
|
/* @__PURE__ */ n.jsxs(
|
|
7098
7098
|
"button",
|
|
7099
7099
|
{
|
|
7100
|
-
className: S("
|
|
7100
|
+
className: S("zap-reset-btn", De.actionCommon, De.filterBtn),
|
|
7101
7101
|
onClick: r,
|
|
7102
7102
|
children: [
|
|
7103
7103
|
/* @__PURE__ */ n.jsx(T, { path: ia, width: 22, height: 22 }),
|
|
@@ -7461,14 +7461,7 @@ function $g({
|
|
|
7461
7461
|
(A) => A.label.toLowerCase().includes(d.toLowerCase())
|
|
7462
7462
|
);
|
|
7463
7463
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
7464
|
-
/* @__PURE__ */ n.jsx(
|
|
7465
|
-
"button",
|
|
7466
|
-
{
|
|
7467
|
-
...v.getTriggerProps(),
|
|
7468
|
-
className: S("hybr1d-ui-reset-btn", de.actionCommon),
|
|
7469
|
-
children: /* @__PURE__ */ n.jsx(T, { path: ca, width: 22, height: 22 })
|
|
7470
|
-
}
|
|
7471
|
-
),
|
|
7464
|
+
/* @__PURE__ */ n.jsx("button", { ...v.getTriggerProps(), className: S("zap-reset-btn", de.actionCommon), children: /* @__PURE__ */ n.jsx(T, { path: ca, width: 22, height: 22 }) }),
|
|
7472
7465
|
v.open && /* @__PURE__ */ n.jsxs(qe, { children: [
|
|
7473
7466
|
/* @__PURE__ */ n.jsx("div", { ...v.getBackdropProps(), className: de.backdrop }),
|
|
7474
7467
|
/* @__PURE__ */ n.jsx("div", { ...v.getPositionerProps(), style: { ...v.getPositionerProps().style }, children: /* @__PURE__ */ n.jsxs("div", { ...v.getContentProps(), className: de.content, children: [
|
|
@@ -7477,22 +7470,14 @@ function $g({
|
|
|
7477
7470
|
/* @__PURE__ */ n.jsx("span", { children: "Columns" }),
|
|
7478
7471
|
/* @__PURE__ */ n.jsx("p", { ...v.getDescriptionProps(), className: de.desc, children: (t == null ? void 0 : t.description) || "Description here" })
|
|
7479
7472
|
] }),
|
|
7480
|
-
/* @__PURE__ */ n.jsx(
|
|
7481
|
-
|
|
7473
|
+
/* @__PURE__ */ n.jsx("button", { ...v.getCloseTriggerProps(), type: "button", className: "zap-reset-btn", children: /* @__PURE__ */ n.jsx(
|
|
7474
|
+
T,
|
|
7482
7475
|
{
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
children: /* @__PURE__ */ n.jsx(
|
|
7487
|
-
T,
|
|
7488
|
-
{
|
|
7489
|
-
path: dt,
|
|
7490
|
-
svgClassName: de.closeIcon,
|
|
7491
|
-
spanClassName: de.closeIconSpan
|
|
7492
|
-
}
|
|
7493
|
-
)
|
|
7476
|
+
path: dt,
|
|
7477
|
+
svgClassName: de.closeIcon,
|
|
7478
|
+
spanClassName: de.closeIconSpan
|
|
7494
7479
|
}
|
|
7495
|
-
)
|
|
7480
|
+
) })
|
|
7496
7481
|
] }),
|
|
7497
7482
|
l ? /* @__PURE__ */ n.jsx("div", { className: de.error, children: "Something went wrong, please try again later." }) : a ? /* @__PURE__ */ n.jsx(zs, {}) : /* @__PURE__ */ n.jsxs("div", { className: de.colBox, children: [
|
|
7498
7483
|
/* @__PURE__ */ n.jsx("div", { className: de.dropdownSearch, children: /* @__PURE__ */ n.jsx(
|
|
@@ -7665,18 +7650,18 @@ function Kg({ actionsConfig: t, data: e }) {
|
|
|
7665
7650
|
}));
|
|
7666
7651
|
return /* @__PURE__ */ n.jsx("div", { className: Qg.box, children: /* @__PURE__ */ n.jsx(Y.ActionsDropdown, { menuItems: a, data: e, isTable: !0 }) });
|
|
7667
7652
|
}
|
|
7668
|
-
const da = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.53%206.47a.75.75%200%200%201%200%201.06L10.06%2012l4.47%204.47a.75.75%200%201%201-1.06%201.06l-5-5a.75.75%200%200%201%200-1.06l5-5a.75.75%200%200%201%201.06%200Z'%20fill='%23B3B2B8'/%3e%3c/svg%3e", pa = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.47%206.47a.75.75%200%200%201%201.06%200l5%205a.75.75%200%200%201%200%201.06l-5%205a.75.75%200%201%201-1.06-1.06L13.94%2012%209.47%207.53a.75.75%200%200%201%200-1.06Z'%20fill='%23B3B2B8'/%3e%3c/svg%3e", qg = "_box_f14da_1",
|
|
7653
|
+
const da = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.53%206.47a.75.75%200%200%201%200%201.06L10.06%2012l4.47%204.47a.75.75%200%201%201-1.06%201.06l-5-5a.75.75%200%200%201%200-1.06l5-5a.75.75%200%200%201%201.06%200Z'%20fill='%23B3B2B8'/%3e%3c/svg%3e", pa = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.47%206.47a.75.75%200%200%201%201.06%200l5%205a.75.75%200%200%201%200%201.06l-5%205a.75.75%200%201%201-1.06-1.06L13.94%2012%209.47%207.53a.75.75%200%200%201%200-1.06Z'%20fill='%23B3B2B8'/%3e%3c/svg%3e", qg = "_box_f14da_1", e1 = "_pageBoxes_f14da_6", t1 = "_arrowIcon_f14da_11", n1 = "_pageBox_f14da_6", s1 = "_limitBox_f14da_47", o1 = "_limitContent_f14da_56", r1 = "_limitItem_f14da_70", a1 = "_limitTrigger_f14da_84", i1 = "_chevdownIcon_f14da_100", l1 = "_pos_f14da_109", c1 = "_paginationMenu_f14da_116", fe = {
|
|
7669
7654
|
box: qg,
|
|
7670
|
-
pageBoxes:
|
|
7671
|
-
arrowIcon:
|
|
7672
|
-
pageBox:
|
|
7673
|
-
limitBox:
|
|
7674
|
-
limitContent:
|
|
7675
|
-
limitItem:
|
|
7676
|
-
limitTrigger:
|
|
7677
|
-
chevdownIcon:
|
|
7678
|
-
pos:
|
|
7679
|
-
paginationMenu:
|
|
7655
|
+
pageBoxes: e1,
|
|
7656
|
+
arrowIcon: t1,
|
|
7657
|
+
pageBox: n1,
|
|
7658
|
+
limitBox: s1,
|
|
7659
|
+
limitContent: o1,
|
|
7660
|
+
limitItem: r1,
|
|
7661
|
+
limitTrigger: a1,
|
|
7662
|
+
chevdownIcon: i1,
|
|
7663
|
+
pos: l1,
|
|
7664
|
+
paginationMenu: c1
|
|
7680
7665
|
};
|
|
7681
7666
|
let ds = [
|
|
7682
7667
|
{ label: "10", value: "10" },
|
|
@@ -7684,7 +7669,7 @@ let ds = [
|
|
|
7684
7669
|
{ label: "20", value: "20" },
|
|
7685
7670
|
{ label: "25", value: "25" }
|
|
7686
7671
|
];
|
|
7687
|
-
function
|
|
7672
|
+
function u1({ setLimit: t, limit: e, totalItems: r, itemsOnPage: o }) {
|
|
7688
7673
|
const s = ze.collection({
|
|
7689
7674
|
items: ds,
|
|
7690
7675
|
itemToString: (i) => i.label,
|
|
@@ -7732,7 +7717,7 @@ const Wo = (t, e) => {
|
|
|
7732
7717
|
r.push({ label: String(o), value: String(o) });
|
|
7733
7718
|
return r;
|
|
7734
7719
|
};
|
|
7735
|
-
function
|
|
7720
|
+
function d1({ paginationApi: t, i: e }) {
|
|
7736
7721
|
const r = t.pages[e - 1].value, o = t.pages[e + 1].value, s = ze.collection({
|
|
7737
7722
|
items: Wo(r, o),
|
|
7738
7723
|
itemToString: (i) => i.label,
|
|
@@ -7747,7 +7732,7 @@ function dh({ paginationApi: t, i: e }) {
|
|
|
7747
7732
|
}
|
|
7748
7733
|
})
|
|
7749
7734
|
), c = ze.connect(a, l, Q);
|
|
7750
|
-
return /* @__PURE__ */ Sn("div", { ...c.getRootProps(), key: `ellipsis-${e}` }, /* @__PURE__ */ n.jsx("div", { ...c.getControlProps(), children: /* @__PURE__ */ n.jsx("button", { ...c.getTriggerProps(), className: "
|
|
7735
|
+
return /* @__PURE__ */ Sn("div", { ...c.getRootProps(), key: `ellipsis-${e}` }, /* @__PURE__ */ n.jsx("div", { ...c.getControlProps(), children: /* @__PURE__ */ n.jsx("button", { ...c.getTriggerProps(), className: "zap-reset-btn", children: /* @__PURE__ */ n.jsx(
|
|
7751
7736
|
"div",
|
|
7752
7737
|
{
|
|
7753
7738
|
...t.getEllipsisProps({ index: e }),
|
|
@@ -7765,7 +7750,7 @@ function dh({ paginationApi: t, i: e }) {
|
|
|
7765
7750
|
i.value
|
|
7766
7751
|
)) }) }) }));
|
|
7767
7752
|
}
|
|
7768
|
-
function
|
|
7753
|
+
function p1({ paginationConfig: t }) {
|
|
7769
7754
|
if (!t) return null;
|
|
7770
7755
|
const { setLimit: e, limit: r, metaData: o } = t, [s, a] = U(
|
|
7771
7756
|
En.machine({
|
|
@@ -7783,7 +7768,7 @@ function ph({ paginationConfig: t }) {
|
|
|
7783
7768
|
l.setCount((o == null ? void 0 : o.total_items) || 0);
|
|
7784
7769
|
}, [o == null ? void 0 : o.total_items]), /* @__PURE__ */ n.jsxs("div", { className: fe.box, children: [
|
|
7785
7770
|
/* @__PURE__ */ n.jsx(
|
|
7786
|
-
|
|
7771
|
+
u1,
|
|
7787
7772
|
{
|
|
7788
7773
|
setLimit: e,
|
|
7789
7774
|
limit: r,
|
|
@@ -7801,34 +7786,34 @@ function ph({ paginationConfig: t }) {
|
|
|
7801
7786
|
children: c.value
|
|
7802
7787
|
},
|
|
7803
7788
|
c.value
|
|
7804
|
-
) : /* @__PURE__ */ n.jsx(x.Fragment, { children: /* @__PURE__ */ n.jsx(
|
|
7789
|
+
) : /* @__PURE__ */ n.jsx(x.Fragment, { children: /* @__PURE__ */ n.jsx(d1, { paginationApi: l, i }) }, `ellipsis-${i}`)),
|
|
7805
7790
|
/* @__PURE__ */ n.jsx("div", { ...l.getNextTriggerProps(), className: fe.pageBox, children: /* @__PURE__ */ n.jsx(T, { path: pa, svgClassName: fe.arrowIcon }) })
|
|
7806
7791
|
] }) })
|
|
7807
7792
|
] });
|
|
7808
7793
|
}
|
|
7809
|
-
const
|
|
7810
|
-
box:
|
|
7811
|
-
header:
|
|
7812
|
-
meta:
|
|
7813
|
-
total:
|
|
7814
|
-
selectorGrp:
|
|
7815
|
-
table:
|
|
7816
|
-
tableHead:
|
|
7817
|
-
tableData:
|
|
7818
|
-
tableDataWithSelection:
|
|
7819
|
-
tableBody:
|
|
7820
|
-
tableRow:
|
|
7821
|
-
headerTxt:
|
|
7822
|
-
tableHeader:
|
|
7823
|
-
tableHeaderSort:
|
|
7824
|
-
tableHeaderSortSpan:
|
|
7825
|
-
tableHeaderSortIcon:
|
|
7826
|
-
tableScrollContainer:
|
|
7827
|
-
},
|
|
7828
|
-
checkboxSpan:
|
|
7829
|
-
checkbox:
|
|
7830
|
-
checkboxSelect:
|
|
7831
|
-
radio:
|
|
7794
|
+
const m1 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.28033%205.21967C8.98744%204.92678%208.51256%204.92678%208.21967%205.21967L5.21967%208.21967C4.92678%208.51256%204.92678%208.98744%205.21967%209.28033C5.51256%209.57322%205.98744%209.57322%206.28033%209.28033L8%207.56066V17.75C8%2018.1642%208.33579%2018.5%208.75%2018.5C9.16421%2018.5%209.5%2018.1642%209.5%2017.75V7.56066L11.2197%209.28033C11.5126%209.57322%2011.9874%209.57322%2012.2803%209.28033C12.5732%208.98744%2012.5732%208.51256%2012.2803%208.21967L9.28033%205.21967ZM15.2197%2018.2803C15.5126%2018.5732%2015.9874%2018.5732%2016.2803%2018.2803L19.2803%2015.2803C19.5732%2014.9874%2019.5732%2014.5126%2019.2803%2014.2197C18.9874%2013.9268%2018.5126%2013.9268%2018.2197%2014.2197L16.5%2015.9393L16.5%205.75C16.5%205.33579%2016.1642%205%2015.75%205C15.3358%205%2015%205.33579%2015%205.75L15%2015.9393L13.2803%2014.2197C12.9874%2013.9268%2012.5126%2013.9268%2012.2197%2014.2197C11.9268%2014.5126%2011.9268%2014.9874%2012.2197%2015.2803L15.2197%2018.2803Z'%20fill='%23555580'/%3e%3c/svg%3e", g1 = "_box_1r0tv_1", h1 = "_header_1r0tv_8", b1 = "_meta_1r0tv_20", f1 = "_total_1r0tv_27", v1 = "_selectorGrp_1r0tv_34", x1 = "_table_1r0tv_40", I1 = "_tableHead_1r0tv_47", _1 = "_tableData_1r0tv_55", C1 = "_tableDataWithSelection_1r0tv_66", y1 = "_tableBody_1r0tv_70", A1 = "_tableRow_1r0tv_70", N1 = "_headerTxt_1r0tv_79", j1 = "_tableHeader_1r0tv_86", S1 = "_tableHeaderSort_1r0tv_95", w1 = "_tableHeaderSortSpan_1r0tv_100", E1 = "_tableHeaderSortIcon_1r0tv_106", R1 = "_tableScrollContainer_1r0tv_116", Be = {
|
|
7795
|
+
box: g1,
|
|
7796
|
+
header: h1,
|
|
7797
|
+
meta: b1,
|
|
7798
|
+
total: f1,
|
|
7799
|
+
selectorGrp: v1,
|
|
7800
|
+
table: x1,
|
|
7801
|
+
tableHead: I1,
|
|
7802
|
+
tableData: _1,
|
|
7803
|
+
tableDataWithSelection: C1,
|
|
7804
|
+
tableBody: y1,
|
|
7805
|
+
tableRow: A1,
|
|
7806
|
+
headerTxt: N1,
|
|
7807
|
+
tableHeader: j1,
|
|
7808
|
+
tableHeaderSort: S1,
|
|
7809
|
+
tableHeaderSortSpan: w1,
|
|
7810
|
+
tableHeaderSortIcon: E1,
|
|
7811
|
+
tableScrollContainer: R1
|
|
7812
|
+
}, B1 = "_checkboxSpan_1xai9_1", F1 = "_checkbox_1xai9_1", G1 = "_checkboxSelect_1xai9_35", T1 = "_radio_1xai9_41", an = {
|
|
7813
|
+
checkboxSpan: B1,
|
|
7814
|
+
checkbox: F1,
|
|
7815
|
+
checkboxSelect: G1,
|
|
7816
|
+
radio: T1
|
|
7832
7817
|
};
|
|
7833
7818
|
function Mo({
|
|
7834
7819
|
indeterminate: t,
|
|
@@ -7849,7 +7834,7 @@ function Mo({
|
|
|
7849
7834
|
}
|
|
7850
7835
|
) });
|
|
7851
7836
|
}
|
|
7852
|
-
function
|
|
7837
|
+
function k1({
|
|
7853
7838
|
indeterminate: t,
|
|
7854
7839
|
row: e,
|
|
7855
7840
|
...r
|
|
@@ -7939,7 +7924,7 @@ function mI({
|
|
|
7939
7924
|
{
|
|
7940
7925
|
id: vt,
|
|
7941
7926
|
cell: ({ row: N }) => /* @__PURE__ */ n.jsx(
|
|
7942
|
-
|
|
7927
|
+
k1,
|
|
7943
7928
|
{
|
|
7944
7929
|
checked: N.getIsSelected(),
|
|
7945
7930
|
disabled: !N.getCanSelect(),
|
|
@@ -8033,7 +8018,7 @@ function mI({
|
|
|
8033
8018
|
}
|
|
8034
8019
|
),
|
|
8035
8020
|
/* @__PURE__ */ n.jsx(
|
|
8036
|
-
|
|
8021
|
+
P1,
|
|
8037
8022
|
{
|
|
8038
8023
|
table: j,
|
|
8039
8024
|
isCheckbox: H,
|
|
@@ -8046,12 +8031,12 @@ function mI({
|
|
|
8046
8031
|
}
|
|
8047
8032
|
)
|
|
8048
8033
|
] }),
|
|
8049
|
-
typeof u == "object" && !!u.metaData && /* @__PURE__ */ n.jsx(
|
|
8034
|
+
typeof u == "object" && !!u.metaData && /* @__PURE__ */ n.jsx(p1, { paginationConfig: u })
|
|
8050
8035
|
]
|
|
8051
8036
|
}
|
|
8052
8037
|
);
|
|
8053
8038
|
}
|
|
8054
|
-
function
|
|
8039
|
+
function P1({
|
|
8055
8040
|
table: t,
|
|
8056
8041
|
isCheckbox: e,
|
|
8057
8042
|
isRadio: r,
|
|
@@ -8116,7 +8101,7 @@ function Ph({
|
|
|
8116
8101
|
false: g.column.getCanSort() ? /* @__PURE__ */ n.jsx(
|
|
8117
8102
|
T,
|
|
8118
8103
|
{
|
|
8119
|
-
path:
|
|
8104
|
+
path: m1,
|
|
8120
8105
|
spanClassName: Be.tableHeaderSortSpan,
|
|
8121
8106
|
svgClassName: Be.tableHeaderSort
|
|
8122
8107
|
}
|
|
@@ -8174,16 +8159,16 @@ const Zo = (t, e, r, o) => {
|
|
|
8174
8159
|
backgroundColor: o ? "var(--neutral-arch-10)" : "#ffffff",
|
|
8175
8160
|
marginRight: a ? "20px" : void 0
|
|
8176
8161
|
};
|
|
8177
|
-
},
|
|
8178
|
-
root:
|
|
8179
|
-
control:
|
|
8180
|
-
trigger:
|
|
8181
|
-
svg:
|
|
8182
|
-
swatch:
|
|
8183
|
-
positioner:
|
|
8184
|
-
content:
|
|
8185
|
-
swatchGroup:
|
|
8186
|
-
swatchSingle:
|
|
8162
|
+
}, L1 = "_root_1r58e_1", D1 = "_control_1r58e_5", V1 = "_trigger_1r58e_10", O1 = "_svg_1r58e_23", H1 = "_swatch_1r58e_32", W1 = "_positioner_1r58e_39", M1 = "_content_1r58e_43", Z1 = "_swatchGroup_1r58e_50", X1 = "_swatchSingle_1r58e_58", it = {
|
|
8163
|
+
root: L1,
|
|
8164
|
+
control: D1,
|
|
8165
|
+
trigger: V1,
|
|
8166
|
+
svg: O1,
|
|
8167
|
+
swatch: H1,
|
|
8168
|
+
positioner: W1,
|
|
8169
|
+
content: M1,
|
|
8170
|
+
swatchGroup: Z1,
|
|
8171
|
+
swatchSingle: X1
|
|
8187
8172
|
};
|
|
8188
8173
|
function gI({
|
|
8189
8174
|
name: t,
|
|
@@ -8203,7 +8188,7 @@ function gI({
|
|
|
8203
8188
|
return /* @__PURE__ */ n.jsxs("div", { ...i.getRootProps(), className: it.root, children: [
|
|
8204
8189
|
e && /* @__PURE__ */ n.jsx(Zn, { required: o, children: e }),
|
|
8205
8190
|
/* @__PURE__ */ n.jsx("input", { ...i.getHiddenInputProps() }),
|
|
8206
|
-
/* @__PURE__ */ n.jsx("div", { ...i.getControlProps(), className: it.control, children: /* @__PURE__ */ n.jsxs("button", { ...i.getTriggerProps(), className: S("
|
|
8191
|
+
/* @__PURE__ */ n.jsx("div", { ...i.getControlProps(), className: it.control, children: /* @__PURE__ */ n.jsxs("button", { ...i.getTriggerProps(), className: S("zap-reset-btn", it.trigger), children: [
|
|
8207
8192
|
/* @__PURE__ */ n.jsx("div", { ...i.getSwatchProps({ value: i.value }), className: it.swatch }),
|
|
8208
8193
|
/* @__PURE__ */ n.jsx(T, { path: Ke, svgClassName: it.svg })
|
|
8209
8194
|
] }) }),
|
|
@@ -8211,7 +8196,7 @@ function gI({
|
|
|
8211
8196
|
"button",
|
|
8212
8197
|
{
|
|
8213
8198
|
...i.getSwatchTriggerProps({ value: u }),
|
|
8214
|
-
className: "
|
|
8199
|
+
className: "zap-reset-btn",
|
|
8215
8200
|
onClick: () => {
|
|
8216
8201
|
s(u), i.setValue(bn.parse(u)), i.setOpen(!1);
|
|
8217
8202
|
},
|
|
@@ -8219,7 +8204,7 @@ function gI({
|
|
|
8219
8204
|
},
|
|
8220
8205
|
u
|
|
8221
8206
|
)) }) }) }),
|
|
8222
|
-
r && /* @__PURE__ */ n.jsx("p", { className: "
|
|
8207
|
+
r && /* @__PURE__ */ n.jsx("p", { className: "zap-error-msg ", children: r })
|
|
8223
8208
|
] });
|
|
8224
8209
|
}
|
|
8225
8210
|
const Xo = [
|
|
@@ -8257,8 +8242,8 @@ const Xo = [
|
|
|
8257
8242
|
// wet asphalt (dark blue)
|
|
8258
8243
|
"#95a5a6"
|
|
8259
8244
|
// concrete (gray)
|
|
8260
|
-
], $
|
|
8261
|
-
avatarImg: $
|
|
8245
|
+
], $1 = "_avatarImg_b4wd7_1", z1 = {
|
|
8246
|
+
avatarImg: $1
|
|
8262
8247
|
};
|
|
8263
8248
|
function hI({ user: t, imageStyles: e = {} }) {
|
|
8264
8249
|
return /* @__PURE__ */ n.jsx(
|
|
@@ -8266,27 +8251,27 @@ function hI({ user: t, imageStyles: e = {} }) {
|
|
|
8266
8251
|
{
|
|
8267
8252
|
src: (t == null ? void 0 : t.profile_img_url) || "",
|
|
8268
8253
|
alt: "avatar",
|
|
8269
|
-
className:
|
|
8254
|
+
className: z1.avatarImg,
|
|
8270
8255
|
style: {
|
|
8271
8256
|
...e
|
|
8272
8257
|
}
|
|
8273
8258
|
}
|
|
8274
8259
|
);
|
|
8275
8260
|
}
|
|
8276
|
-
const ma = "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%205.47a.75.75%200%200%201%201.06%200L12%2010.94l5.47-5.47a.75.75%200%201%201%201.06%201.06L13.06%2012l5.47%205.47a.75.75%200%201%201-1.06%201.06L12%2013.06l-5.47%205.47a.75.75%200%200%201-1.06-1.06L10.94%2012%205.47%206.53a.75.75%200%200%201%200-1.06'%20fill='%23070F2C'/%3e%3c/svg%3e",
|
|
8277
|
-
box:
|
|
8278
|
-
neutral:
|
|
8261
|
+
const ma = "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%205.47a.75.75%200%200%201%201.06%200L12%2010.94l5.47-5.47a.75.75%200%201%201%201.06%201.06L13.06%2012l5.47%205.47a.75.75%200%201%201-1.06%201.06L12%2013.06l-5.47%205.47a.75.75%200%200%201-1.06-1.06L10.94%2012%205.47%206.53a.75.75%200%200%201%200-1.06'%20fill='%23070F2C'/%3e%3c/svg%3e", Y1 = "_box_onnk9_1", J1 = "_neutral_onnk9_10", U1 = "_positive_onnk9_20", Q1 = "_warning_onnk9_25", K1 = "_error_onnk9_30", q1 = "_highlight_onnk9_35", eh = "_white_onnk9_40", th = "_avatar_onnk9_45", nh = "_icon_onnk9_51", qt = {
|
|
8262
|
+
box: Y1,
|
|
8263
|
+
neutral: J1,
|
|
8279
8264
|
default: "_default_onnk9_15",
|
|
8280
|
-
positive:
|
|
8281
|
-
warning:
|
|
8282
|
-
error:
|
|
8283
|
-
highlight:
|
|
8284
|
-
white:
|
|
8285
|
-
avatar:
|
|
8286
|
-
icon:
|
|
8265
|
+
positive: U1,
|
|
8266
|
+
warning: Q1,
|
|
8267
|
+
error: K1,
|
|
8268
|
+
highlight: q1,
|
|
8269
|
+
white: eh,
|
|
8270
|
+
avatar: th,
|
|
8271
|
+
icon: nh
|
|
8287
8272
|
};
|
|
8288
|
-
var
|
|
8289
|
-
function
|
|
8273
|
+
var sh = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.NEUTRAL = "neutral", t.POSITIVE = "positive", t.WARNING = "warning", t.ERROR = "error", t.HIGHLIGHT = "highlight", t.WHITE = "white", t))(sh || {});
|
|
8274
|
+
function oh({
|
|
8290
8275
|
status: t = "default",
|
|
8291
8276
|
selected: e = !1,
|
|
8292
8277
|
username: r,
|
|
@@ -8298,12 +8283,12 @@ function o1({
|
|
|
8298
8283
|
e && /* @__PURE__ */ n.jsx(T, { path: ma, svgClassName: qt.icon })
|
|
8299
8284
|
] });
|
|
8300
8285
|
}
|
|
8301
|
-
const
|
|
8302
|
-
tabs:
|
|
8303
|
-
tabBar:
|
|
8304
|
-
tab:
|
|
8305
|
-
activeTab:
|
|
8306
|
-
tabContent:
|
|
8286
|
+
const rh = "_tabs_hb1nk_1", ah = "_tabBar_hb1nk_9", ih = "_tab_hb1nk_1", lh = "_activeTab_hb1nk_32", ch = "_tabContent_hb1nk_49", ln = {
|
|
8287
|
+
tabs: rh,
|
|
8288
|
+
tabBar: ah,
|
|
8289
|
+
tab: ih,
|
|
8290
|
+
activeTab: lh,
|
|
8291
|
+
tabContent: ch
|
|
8307
8292
|
}, bI = ({
|
|
8308
8293
|
id: t,
|
|
8309
8294
|
activeKey: e,
|
|
@@ -8337,26 +8322,31 @@ const r1 = "_tabs_hb1nk_1", a1 = "_tabBar_hb1nk_9", i1 = "_tab_hb1nk_1", l1 = "_
|
|
|
8337
8322
|
}) => /* @__PURE__ */ n.jsx(
|
|
8338
8323
|
"button",
|
|
8339
8324
|
{
|
|
8340
|
-
className: S(
|
|
8325
|
+
className: S(
|
|
8326
|
+
ln.tab,
|
|
8327
|
+
e ? ln.activeTab : "",
|
|
8328
|
+
"zap-content-semibold",
|
|
8329
|
+
r
|
|
8330
|
+
),
|
|
8341
8331
|
style: o,
|
|
8342
8332
|
onClick: s,
|
|
8343
8333
|
children: t
|
|
8344
8334
|
}
|
|
8345
|
-
),
|
|
8346
|
-
card:
|
|
8347
|
-
taskSection:
|
|
8348
|
-
taskName:
|
|
8349
|
-
dateAndTime:
|
|
8350
|
-
detailsSection:
|
|
8351
|
-
detail:
|
|
8352
|
-
detailKey:
|
|
8353
|
-
detailValue:
|
|
8354
|
-
detailValueNA:
|
|
8355
|
-
actionSection:
|
|
8356
|
-
},
|
|
8357
|
-
box:
|
|
8358
|
-
icon:
|
|
8359
|
-
dot:
|
|
8335
|
+
), uh = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2010.5a.5.5%200%200%200%20.5-.5V8a.5.5%200%200%200-1%200v2a.5.5%200%200%200%20.5.5m0-4a.5.5%200%201%200-.5-.5.5.5%200%200%200%20.5.5'%20fill='%23070F2C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.61%202.5a.17.17%200%200%200-.118.049L2.549%205.492a.17.17%200%200%200-.049.117v4.781q.001.07.049.118l2.943%202.943a.17.17%200%200%200%20.117.049h4.781a.17.17%200%200%200%20.118-.049l2.943-2.943a.17.17%200%200%200%20.049-.117V5.608a.17.17%200%200%200-.049-.117l-2.943-2.943a.17.17%200%200%200-.117-.049zm-.825-.658c.218-.22.515-.342.824-.342h4.781c.31%200%20.607.123.825.342l2.943%202.943c.22.218.342.515.342.824v4.781c0%20.31-.123.607-.342.825l-2.942%202.943a1.17%201.17%200%200%201-.825.342H5.608c-.309%200-.606-.123-.824-.342l-2.943-2.942a1.17%201.17%200%200%201-.342-.825V5.608c0-.309.123-.606.342-.824z'%20fill='%23070F2C'/%3e%3c/svg%3e", dh = "_card_1exgx_1", ph = "_taskSection_1exgx_14", mh = "_taskName_1exgx_22", gh = "_dateAndTime_1exgx_26", hh = "_detailsSection_1exgx_31", bh = "_detail_1exgx_31", fh = "_detailKey_1exgx_47", vh = "_detailValue_1exgx_51", xh = "_detailValueNA_1exgx_55", Ih = "_actionSection_1exgx_59", Ue = {
|
|
8336
|
+
card: dh,
|
|
8337
|
+
taskSection: ph,
|
|
8338
|
+
taskName: mh,
|
|
8339
|
+
dateAndTime: gh,
|
|
8340
|
+
detailsSection: hh,
|
|
8341
|
+
detail: bh,
|
|
8342
|
+
detailKey: fh,
|
|
8343
|
+
detailValue: vh,
|
|
8344
|
+
detailValueNA: xh,
|
|
8345
|
+
actionSection: Ih
|
|
8346
|
+
}, _h = "_box_1edp7_1", Ch = "_icon_1edp7_9", yh = "_dot_1edp7_14", ps = {
|
|
8347
|
+
box: _h,
|
|
8348
|
+
icon: Ch,
|
|
8349
|
+
dot: yh
|
|
8360
8350
|
};
|
|
8361
8351
|
var Me = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.NEUTRAL = "neutral", t.POSITIVE = "positive", t.WARNING = "warning", t.NEGATIVE = "negative", t.HIGHLIGHT = "highlight", t))(Me || {}), ys = /* @__PURE__ */ ((t) => (t.ICON = "icon", t.DOT = "dot", t.NONE = "none", t))(ys || {});
|
|
8362
8352
|
function $o({
|
|
@@ -8415,30 +8405,30 @@ const Nt = {
|
|
|
8415
8405
|
highlight: { bg: "var(--status-info-i10)", color: "var(--status-info-i70)" },
|
|
8416
8406
|
warning: { bg: "var(--status-warning-w10)", color: "var(--status-warning-w70)" },
|
|
8417
8407
|
negative: { bg: "var(--status-error-e10)", color: "var(--status-error-e70)" }
|
|
8418
|
-
}, ga = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.1296%205.5226C13.4012%205.79427%2013.4012%206.23473%2013.1296%206.5064L8.49188%2011.1441C8.22021%2011.4158%207.77975%2011.4158%207.50808%2011.1441L2.8704%206.5064C2.59873%206.23473%202.59873%205.79427%202.8704%205.5226C3.14207%205.25093%203.58253%205.25093%203.8542%205.5226L7.99998%209.66838L12.1458%205.5226C12.4174%205.25093%2012.8579%205.25093%2013.1296%205.5226Z'%20fill='currentColor'/%3e%3c/svg%3e",
|
|
8419
|
-
btn:
|
|
8420
|
-
disabled:
|
|
8421
|
-
btnSmall:
|
|
8422
|
-
btnDefault:
|
|
8423
|
-
btnPrimary:
|
|
8424
|
-
btnSecondary:
|
|
8425
|
-
btnTertiary:
|
|
8426
|
-
iconOnlySmall:
|
|
8427
|
-
iconOnlyDefault:
|
|
8428
|
-
menus:
|
|
8429
|
-
menu:
|
|
8430
|
-
menuDisabled:
|
|
8431
|
-
btnGrp:
|
|
8432
|
-
grpTextBtn:
|
|
8433
|
-
grpIconBtn:
|
|
8434
|
-
btnAddonSmall:
|
|
8435
|
-
btnAddonPrimary:
|
|
8436
|
-
btnAddonSecondary:
|
|
8437
|
-
btnAddonTertiary:
|
|
8438
|
-
btnActions:
|
|
8439
|
-
moreMenuIcon:
|
|
8440
|
-
moreMenuIconSecondary: $
|
|
8441
|
-
moreMenuIconTertiary:
|
|
8408
|
+
}, ga = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.1296%205.5226C13.4012%205.79427%2013.4012%206.23473%2013.1296%206.5064L8.49188%2011.1441C8.22021%2011.4158%207.77975%2011.4158%207.50808%2011.1441L2.8704%206.5064C2.59873%206.23473%202.59873%205.79427%202.8704%205.5226C3.14207%205.25093%203.58253%205.25093%203.8542%205.5226L7.99998%209.66838L12.1458%205.5226C12.4174%205.25093%2012.8579%205.25093%2013.1296%205.5226Z'%20fill='currentColor'/%3e%3c/svg%3e", Ah = "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='M10%2012c0-1.105.89-2%201.987-2h.026c1.098%200%201.987.895%201.987%202s-.89%202-1.987%202h-.026A1.993%201.993%200%200%201%2010%2012m-6%200c0-1.105.89-2%201.987-2h.026C7.111%2010%208%2010.895%208%2012s-.89%202-1.987%202h-.026A1.993%201.993%200%200%201%204%2012m12%200c0-1.105.89-2%201.987-2h.026C19.11%2010%2020%2010.895%2020%2012s-.89%202-1.987%202h-.026A1.993%201.993%200%200%201%2016%2012'%20fill='%23070F2C'/%3e%3c/svg%3e", Nh = "_btn_hemwe_2", jh = "_disabled_hemwe_23", Sh = "_btnSmall_hemwe_31", wh = "_btnDefault_hemwe_39", Eh = "_btnPrimary_hemwe_48", Rh = "_btnSecondary_hemwe_62", Bh = "_btnTertiary_hemwe_79", Fh = "_iconOnlySmall_hemwe_97", Gh = "_iconOnlyDefault_hemwe_102", Th = "_menus_hemwe_110", kh = "_menu_hemwe_110", Ph = "_menuDisabled_hemwe_140", Lh = "_btnGrp_hemwe_149", Dh = "_grpTextBtn_hemwe_154", Vh = "_grpIconBtn_hemwe_159", Oh = "_btnAddonSmall_hemwe_167", Hh = "_btnAddonPrimary_hemwe_172", Wh = "_btnAddonSecondary_hemwe_176", Mh = "_btnAddonTertiary_hemwe_180", Zh = "_btnActions_hemwe_186", Xh = "_moreMenuIcon_hemwe_194", $h = "_moreMenuIconSecondary_hemwe_198", zh = "_moreMenuIconTertiary_hemwe_202", X = {
|
|
8409
|
+
btn: Nh,
|
|
8410
|
+
disabled: jh,
|
|
8411
|
+
btnSmall: Sh,
|
|
8412
|
+
btnDefault: wh,
|
|
8413
|
+
btnPrimary: Eh,
|
|
8414
|
+
btnSecondary: Rh,
|
|
8415
|
+
btnTertiary: Bh,
|
|
8416
|
+
iconOnlySmall: Fh,
|
|
8417
|
+
iconOnlyDefault: Gh,
|
|
8418
|
+
menus: Th,
|
|
8419
|
+
menu: kh,
|
|
8420
|
+
menuDisabled: Ph,
|
|
8421
|
+
btnGrp: Lh,
|
|
8422
|
+
grpTextBtn: Dh,
|
|
8423
|
+
grpIconBtn: Vh,
|
|
8424
|
+
btnAddonSmall: Oh,
|
|
8425
|
+
btnAddonPrimary: Hh,
|
|
8426
|
+
btnAddonSecondary: Wh,
|
|
8427
|
+
btnAddonTertiary: Mh,
|
|
8428
|
+
btnActions: Zh,
|
|
8429
|
+
moreMenuIcon: Xh,
|
|
8430
|
+
moreMenuIconSecondary: $h,
|
|
8431
|
+
moreMenuIconTertiary: zh
|
|
8442
8432
|
};
|
|
8443
8433
|
var me = /* @__PURE__ */ ((t) => (t.PRIMARY = "primary", t.SECONDARY = "secondary", t.TERTIARY = "tertiary", t))(me || {}), $e = /* @__PURE__ */ ((t) => (t.SMALL = "small", t.DEFAULT = "default", t))($e || {}), At = /* @__PURE__ */ ((t) => (t.BASIC = "basic", t.ICON_LEFT = "iconLeft", t.ICON_RIGHT = "iconRight", t.ICON_ONLY = "iconOnly", t))(At || {});
|
|
8444
8434
|
function Ys({
|
|
@@ -8476,7 +8466,7 @@ function Ys({
|
|
|
8476
8466
|
}
|
|
8477
8467
|
);
|
|
8478
8468
|
}
|
|
8479
|
-
function
|
|
8469
|
+
function Yh({
|
|
8480
8470
|
children: t,
|
|
8481
8471
|
variant: e = me.PRIMARY,
|
|
8482
8472
|
disabled: r = !1,
|
|
@@ -8556,7 +8546,7 @@ function Y1({
|
|
|
8556
8546
|
i ? /* @__PURE__ */ n.jsx(qe, { children: v }) : v
|
|
8557
8547
|
] });
|
|
8558
8548
|
}
|
|
8559
|
-
function
|
|
8549
|
+
function Jh({
|
|
8560
8550
|
variant: t = me.PRIMARY,
|
|
8561
8551
|
disabled: e = !1,
|
|
8562
8552
|
menuItems: r,
|
|
@@ -8618,7 +8608,7 @@ function J1({
|
|
|
8618
8608
|
children: /* @__PURE__ */ n.jsx(
|
|
8619
8609
|
T,
|
|
8620
8610
|
{
|
|
8621
|
-
path:
|
|
8611
|
+
path: Ah,
|
|
8622
8612
|
width: 16,
|
|
8623
8613
|
height: 16,
|
|
8624
8614
|
svgClassName: S(
|
|
@@ -8633,9 +8623,9 @@ function J1({
|
|
|
8633
8623
|
c ? /* @__PURE__ */ n.jsx(qe, { children: b }) : b
|
|
8634
8624
|
] });
|
|
8635
8625
|
}
|
|
8636
|
-
Ys.GroupAction =
|
|
8637
|
-
Ys.ActionsDropdown =
|
|
8638
|
-
function
|
|
8626
|
+
Ys.GroupAction = Yh;
|
|
8627
|
+
Ys.ActionsDropdown = Jh;
|
|
8628
|
+
function Uh({ data: t }) {
|
|
8639
8629
|
function e(r) {
|
|
8640
8630
|
return typeof r == "object" && r !== null && "first_name" in r;
|
|
8641
8631
|
}
|
|
@@ -8648,7 +8638,7 @@ function U1({ data: t }) {
|
|
|
8648
8638
|
{
|
|
8649
8639
|
highlight: ys.ICON,
|
|
8650
8640
|
icon: t.icon_url,
|
|
8651
|
-
status:
|
|
8641
|
+
status: Qh[t.module_reference] || Me.DEFAULT,
|
|
8652
8642
|
customSvgStyles: { width: "16px", height: "16px" },
|
|
8653
8643
|
children: t.module_name
|
|
8654
8644
|
}
|
|
@@ -8657,40 +8647,40 @@ function U1({ data: t }) {
|
|
|
8657
8647
|
/* @__PURE__ */ n.jsx("div", { className: Ue.detailsSection, children: t.details.map((r, o) => /* @__PURE__ */ n.jsxs("div", { className: Ue.detail, children: [
|
|
8658
8648
|
/* @__PURE__ */ n.jsx("div", { className: S(Ue.detailKey, "zap-subcontent-medium"), children: r.key }),
|
|
8659
8649
|
r.value && e(r.value) ? /* @__PURE__ */ n.jsx(
|
|
8660
|
-
|
|
8650
|
+
oh,
|
|
8661
8651
|
{
|
|
8662
8652
|
username: r.value.first_name,
|
|
8663
8653
|
profileImgUrl: r.value.profile_img_url
|
|
8664
8654
|
}
|
|
8665
8655
|
) : r.value === null ? /* @__PURE__ */ n.jsx("div", { className: S(Ue.detailValueNA, "zap-subcontent-medium"), children: "N/A" }) : /* @__PURE__ */ n.jsx("div", { className: S(Ue.detailValue, "zap-subcontent-medium"), children: r.value })
|
|
8666
8656
|
] }, o)) }),
|
|
8667
|
-
/* @__PURE__ */ n.jsx("div", { className: Ue.statusSection, children: /* @__PURE__ */ n.jsx($o, { highlight: ys.DOT, status:
|
|
8657
|
+
/* @__PURE__ */ n.jsx("div", { className: Ue.statusSection, children: /* @__PURE__ */ n.jsx($o, { highlight: ys.DOT, status: Kh[t.status], children: t.status }) }),
|
|
8668
8658
|
/* @__PURE__ */ n.jsx("div", { className: Ue.actionSection, children: /* @__PURE__ */ n.jsx(
|
|
8669
8659
|
Ys.ActionsDropdown,
|
|
8670
8660
|
{
|
|
8671
8661
|
menuItems: [{ label: "See Details", onClick: () => {
|
|
8672
|
-
}, iconSrc:
|
|
8662
|
+
}, iconSrc: uh }],
|
|
8673
8663
|
variant: me.TERTIARY,
|
|
8674
8664
|
size: $e.SMALL
|
|
8675
8665
|
}
|
|
8676
8666
|
) })
|
|
8677
8667
|
] });
|
|
8678
8668
|
}
|
|
8679
|
-
const
|
|
8669
|
+
const Qh = {
|
|
8680
8670
|
profile: Me.DEFAULT,
|
|
8681
8671
|
leave: Me.POSITIVE,
|
|
8682
8672
|
it_request: Me.NEGATIVE,
|
|
8683
8673
|
attendance: Me.HIGHLIGHT,
|
|
8684
8674
|
reimbursement: Me.DEFAULT,
|
|
8685
8675
|
document: Me.HIGHLIGHT
|
|
8686
|
-
},
|
|
8676
|
+
}, Kh = {
|
|
8687
8677
|
pending: Me.WARNING,
|
|
8688
8678
|
declined: Me.NEGATIVE,
|
|
8689
8679
|
pending_second_approver: Me.WARNING,
|
|
8690
8680
|
cancelled: Me.NEUTRAL,
|
|
8691
8681
|
approved: Me.POSITIVE
|
|
8692
|
-
},
|
|
8693
|
-
taskCardHeader:
|
|
8682
|
+
}, qh = "_taskCardHeader_dnzg4_1", eb = {
|
|
8683
|
+
taskCardHeader: qh
|
|
8694
8684
|
};
|
|
8695
8685
|
function tb({ headers: t }) {
|
|
8696
8686
|
return /* @__PURE__ */ n.jsx("div", { className: eb.taskCardHeader, children: t.map((e, r) => /* @__PURE__ */ n.jsx("div", { className: "zap-caption-medium", children: e }, r)) });
|
|
@@ -8711,7 +8701,7 @@ function vI({
|
|
|
8711
8701
|
}) {
|
|
8712
8702
|
return /* @__PURE__ */ n.jsx("div", { className: wt.taskCardContainer, children: /* @__PURE__ */ n.jsxs("div", { className: wt.taskCard, children: [
|
|
8713
8703
|
/* @__PURE__ */ n.jsx(tb, { headers: t }),
|
|
8714
|
-
r ? /* @__PURE__ */ n.jsx(zs, { containerStyle: { height: "164px" } }) : o ? /* @__PURE__ */ n.jsx(lb, {}) : e.length > 0 ? e.map((a, l) => /* @__PURE__ */ n.jsx(
|
|
8704
|
+
r ? /* @__PURE__ */ n.jsx(zs, { containerStyle: { height: "164px" } }) : o ? /* @__PURE__ */ n.jsx(lb, {}) : e.length > 0 ? e.map((a, l) => /* @__PURE__ */ n.jsx(Uh, { data: a }, l)) : /* @__PURE__ */ n.jsx(cb, { emptyText: s })
|
|
8715
8705
|
] }) });
|
|
8716
8706
|
}
|
|
8717
8707
|
function lb() {
|
|
@@ -8940,7 +8930,7 @@ function cf({ filter: t, tableFilter: e, selectedFilters: r }) {
|
|
|
8940
8930
|
"div",
|
|
8941
8931
|
{
|
|
8942
8932
|
...a.getTriggerProps(),
|
|
8943
|
-
className: S("
|
|
8933
|
+
className: S("zap-reset-btn", ae.filterTooltipTrigger),
|
|
8944
8934
|
children: [
|
|
8945
8935
|
/* @__PURE__ */ n.jsx("div", { className: ae.filterCol, children: t.name }),
|
|
8946
8936
|
r !== 0 && /* @__PURE__ */ n.jsx("span", { className: ae.totalSelected, children: r })
|
|
@@ -8982,7 +8972,7 @@ function uf({
|
|
|
8982
8972
|
/* @__PURE__ */ n.jsxs(
|
|
8983
8973
|
"button",
|
|
8984
8974
|
{
|
|
8985
|
-
className: S("
|
|
8975
|
+
className: S("zap-reset-btn", ae.filter, p.open && ae.filterActive),
|
|
8986
8976
|
...p.getTriggerProps(),
|
|
8987
8977
|
children: [
|
|
8988
8978
|
/* @__PURE__ */ n.jsx(
|
|
@@ -9034,7 +9024,7 @@ function uf({
|
|
|
9034
9024
|
/* @__PURE__ */ n.jsx("div", { className: ae.footerBox, children: /* @__PURE__ */ n.jsx("div", { className: ae.footer, children: /* @__PURE__ */ n.jsx(
|
|
9035
9025
|
"button",
|
|
9036
9026
|
{
|
|
9037
|
-
className: S("
|
|
9027
|
+
className: S("zap-reset-btn", ae.resetBtn),
|
|
9038
9028
|
onClick: v,
|
|
9039
9029
|
children: "Reset"
|
|
9040
9030
|
}
|
|
@@ -9224,7 +9214,7 @@ function Gf({ filterConfig: t }) {
|
|
|
9224
9214
|
/* @__PURE__ */ n.jsxs(
|
|
9225
9215
|
"button",
|
|
9226
9216
|
{
|
|
9227
|
-
className: S("
|
|
9217
|
+
className: S("zap-reset-btn", Ve.actionCommon, Ve.filterBtn),
|
|
9228
9218
|
onClick: r,
|
|
9229
9219
|
children: [
|
|
9230
9220
|
/* @__PURE__ */ n.jsx(T, { path: ia, width: 22, height: 22 }),
|
|
@@ -9588,14 +9578,7 @@ function lv({
|
|
|
9588
9578
|
(A) => A.label.toLowerCase().includes(d.toLowerCase())
|
|
9589
9579
|
);
|
|
9590
9580
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
9591
|
-
/* @__PURE__ */ n.jsx(
|
|
9592
|
-
"button",
|
|
9593
|
-
{
|
|
9594
|
-
...v.getTriggerProps(),
|
|
9595
|
-
className: S("hybr1d-ui-reset-btn", pe.actionCommon),
|
|
9596
|
-
children: /* @__PURE__ */ n.jsx(T, { path: ca, width: 22, height: 22 })
|
|
9597
|
-
}
|
|
9598
|
-
),
|
|
9581
|
+
/* @__PURE__ */ n.jsx("button", { ...v.getTriggerProps(), className: S("zap-reset-btn", pe.actionCommon), children: /* @__PURE__ */ n.jsx(T, { path: ca, width: 22, height: 22 }) }),
|
|
9599
9582
|
v.open && /* @__PURE__ */ n.jsxs(qe, { children: [
|
|
9600
9583
|
/* @__PURE__ */ n.jsx("div", { ...v.getBackdropProps(), className: pe.backdrop }),
|
|
9601
9584
|
/* @__PURE__ */ n.jsx("div", { ...v.getPositionerProps(), style: { ...v.getPositionerProps().style }, children: /* @__PURE__ */ n.jsxs("div", { ...v.getContentProps(), className: pe.content, children: [
|
|
@@ -9604,22 +9587,14 @@ function lv({
|
|
|
9604
9587
|
/* @__PURE__ */ n.jsx("span", { children: "Columns" }),
|
|
9605
9588
|
/* @__PURE__ */ n.jsx("p", { ...v.getDescriptionProps(), className: pe.desc, children: (t == null ? void 0 : t.description) || "Description here" })
|
|
9606
9589
|
] }),
|
|
9607
|
-
/* @__PURE__ */ n.jsx(
|
|
9608
|
-
|
|
9590
|
+
/* @__PURE__ */ n.jsx("button", { ...v.getCloseTriggerProps(), type: "button", className: "zap-reset-btn", children: /* @__PURE__ */ n.jsx(
|
|
9591
|
+
T,
|
|
9609
9592
|
{
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
children: /* @__PURE__ */ n.jsx(
|
|
9614
|
-
T,
|
|
9615
|
-
{
|
|
9616
|
-
path: dt,
|
|
9617
|
-
svgClassName: pe.closeIcon,
|
|
9618
|
-
spanClassName: pe.closeIconSpan
|
|
9619
|
-
}
|
|
9620
|
-
)
|
|
9593
|
+
path: dt,
|
|
9594
|
+
svgClassName: pe.closeIcon,
|
|
9595
|
+
spanClassName: pe.closeIconSpan
|
|
9621
9596
|
}
|
|
9622
|
-
)
|
|
9597
|
+
) })
|
|
9623
9598
|
] }),
|
|
9624
9599
|
l ? /* @__PURE__ */ n.jsx("div", { className: pe.error, children: "Something went wrong, please try again later." }) : a ? /* @__PURE__ */ n.jsx(zs, {}) : /* @__PURE__ */ n.jsxs("div", { className: pe.colBox, children: [
|
|
9625
9600
|
/* @__PURE__ */ n.jsx("div", { className: pe.dropdownSearch, children: /* @__PURE__ */ n.jsx(
|
|
@@ -9874,7 +9849,7 @@ function Sv({ paginationApi: t, i: e }) {
|
|
|
9874
9849
|
}
|
|
9875
9850
|
})
|
|
9876
9851
|
), c = ze.connect(a, l, Q);
|
|
9877
|
-
return /* @__PURE__ */ Sn("div", { ...c.getRootProps(), key: `ellipsis-${e}` }, /* @__PURE__ */ n.jsx("div", { ...c.getControlProps(), children: /* @__PURE__ */ n.jsx("button", { ...c.getTriggerProps(), className: "
|
|
9852
|
+
return /* @__PURE__ */ Sn("div", { ...c.getRootProps(), key: `ellipsis-${e}` }, /* @__PURE__ */ n.jsx("div", { ...c.getControlProps(), children: /* @__PURE__ */ n.jsx("button", { ...c.getTriggerProps(), className: "zap-reset-btn", children: /* @__PURE__ */ n.jsx(
|
|
9878
9853
|
"div",
|
|
9879
9854
|
{
|
|
9880
9855
|
...t.getEllipsisProps({ index: e }),
|
|
@@ -10593,7 +10568,7 @@ export {
|
|
|
10593
10568
|
vI as TaskCards,
|
|
10594
10569
|
on as Tooltip,
|
|
10595
10570
|
um as TooltipV2,
|
|
10596
|
-
|
|
10597
|
-
|
|
10571
|
+
sh as USER_CHIP_STATUS,
|
|
10572
|
+
oh as UserChip,
|
|
10598
10573
|
Nt as statusMap
|
|
10599
10574
|
};
|