cecomponent 2.0.42 → 2.0.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var br = Object.defineProperty;
|
|
2
2
|
var Er = (e, t, n) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
-
var
|
|
3
|
+
var jt = (e, t, n) => Er(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import React__default, { useState, forwardRef, useRef, useEffect, useContext, isValidElement, cloneElement, Children, useMemo, useCallback, createContext, PureComponent, useImperativeHandle, createElement, useLayoutEffect, Component } from "react";
|
|
6
6
|
import * as ReactDOM from "react-dom";
|
|
@@ -10418,11 +10418,11 @@ function useOnMount(e) {
|
|
|
10418
10418
|
}
|
|
10419
10419
|
class Timeout {
|
|
10420
10420
|
constructor() {
|
|
10421
|
-
|
|
10422
|
-
|
|
10421
|
+
jt(this, "currentId", null);
|
|
10422
|
+
jt(this, "clear", () => {
|
|
10423
10423
|
this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
|
|
10424
10424
|
});
|
|
10425
|
-
|
|
10425
|
+
jt(this, "disposeEffect", () => this.clear);
|
|
10426
10426
|
}
|
|
10427
10427
|
static create() {
|
|
10428
10428
|
return new Timeout();
|
|
@@ -10771,7 +10771,7 @@ function isFocusVisible(e) {
|
|
|
10771
10771
|
}
|
|
10772
10772
|
class LazyRipple {
|
|
10773
10773
|
constructor() {
|
|
10774
|
-
|
|
10774
|
+
jt(this, "mountEffect", () => {
|
|
10775
10775
|
this.shouldMount && !this.didMount && this.ref.current !== null && (this.didMount = !0, this.mounted.resolve());
|
|
10776
10776
|
});
|
|
10777
10777
|
this.ref = {
|
|
@@ -15036,7 +15036,7 @@ const Tooltip$1 = /* @__PURE__ */ React.forwardRef(function(t, n) {
|
|
|
15036
15036
|
...ut == null ? void 0 : ut.popperOptions,
|
|
15037
15037
|
modifiers: He
|
|
15038
15038
|
};
|
|
15039
|
-
}, [L, X.popperOptions, ut == null ? void 0 : ut.popperOptions]), gt = useUtilityClasses$6(lt),
|
|
15039
|
+
}, [L, X.popperOptions, ut == null ? void 0 : ut.popperOptions]), gt = useUtilityClasses$6(lt), Dt = typeof z.transition == "function" ? z.transition(lt) : z.transition, bt = {
|
|
15040
15040
|
slots: {
|
|
15041
15041
|
popper: f.Popper,
|
|
15042
15042
|
transition: f.Transition ?? ee,
|
|
@@ -15054,7 +15054,7 @@ const Tooltip$1 = /* @__PURE__ */ React.forwardRef(function(t, n) {
|
|
|
15054
15054
|
tooltip: z.tooltip ?? p.tooltip,
|
|
15055
15055
|
transition: {
|
|
15056
15056
|
...Q,
|
|
15057
|
-
...
|
|
15057
|
+
...Dt ?? p.transition
|
|
15058
15058
|
}
|
|
15059
15059
|
}
|
|
15060
15060
|
}, [xt, Je] = useSlot("popper", {
|
|
@@ -15071,7 +15071,7 @@ const Tooltip$1 = /* @__PURE__ */ React.forwardRef(function(t, n) {
|
|
|
15071
15071
|
className: gt.tooltip,
|
|
15072
15072
|
externalForwardedProps: bt,
|
|
15073
15073
|
ownerState: lt
|
|
15074
|
-
}), [
|
|
15074
|
+
}), [Nt, kt] = useSlot("arrow", {
|
|
15075
15075
|
elementType: TooltipArrow,
|
|
15076
15076
|
className: gt.arrow,
|
|
15077
15077
|
externalForwardedProps: bt,
|
|
@@ -15107,8 +15107,8 @@ const Tooltip$1 = /* @__PURE__ */ React.forwardRef(function(t, n) {
|
|
|
15107
15107
|
...mt,
|
|
15108
15108
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(it, {
|
|
15109
15109
|
...pt,
|
|
15110
|
-
children: [H, o ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
15111
|
-
...
|
|
15110
|
+
children: [H, o ? /* @__PURE__ */ jsxRuntimeExports.jsx(Nt, {
|
|
15111
|
+
...kt
|
|
15112
15112
|
}) : null]
|
|
15113
15113
|
})
|
|
15114
15114
|
})
|
|
@@ -25778,11 +25778,11 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
25778
25778
|
at[xe].name = "!Directory", se > 0 && Te !== H && (at[Te].name = "!MiniFAT"), at[de[0]].name = "!FAT", at.fat_addrs = de, at.ssz = ne;
|
|
25779
25779
|
var Qe = {}, ft = [], Pt = [], Rt = [];
|
|
25780
25780
|
A(xe, at, Ge, ft, se, Qe, Pt, Te), S(Pt, Rt, ft), ft.shift();
|
|
25781
|
-
var
|
|
25781
|
+
var It = {
|
|
25782
25782
|
FileIndex: Pt,
|
|
25783
25783
|
FullPaths: Rt
|
|
25784
25784
|
};
|
|
25785
|
-
return ae && ae.raw && (
|
|
25785
|
+
return ae && ae.raw && (It.raw = { header: $e, sectors: Ge }), It;
|
|
25786
25786
|
}
|
|
25787
25787
|
function g(Z) {
|
|
25788
25788
|
if (Z[Z.l] == 80 && Z[Z.l + 1] == 75) return [0, 0];
|
|
@@ -25993,7 +25993,7 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
25993
25993
|
Qe > 0 && (Qe < 4096 ? De += Qe + 63 >> 6 : Le += Qe + 511 >> 9);
|
|
25994
25994
|
}
|
|
25995
25995
|
}
|
|
25996
|
-
for (var ft = Fe.FullPaths.length + 3 >> 2, Pt = De + 7 >> 3, Rt = De + 127 >> 7,
|
|
25996
|
+
for (var ft = Fe.FullPaths.length + 3 >> 2, Pt = De + 7 >> 3, Rt = De + 127 >> 7, It = Pt + Le + ft + Rt, At = It + 127 >> 7, Mt = At <= 109 ? 0 : Math.ceil((At - 109) / 127); It + At + Mt + 127 >> 7 > At; ) Mt = ++At <= 109 ? 0 : Math.ceil((At - 109) / 127);
|
|
25997
25997
|
var ct = [1, Mt, At, Rt, ft, Le, De, 0];
|
|
25998
25998
|
return Fe.FileIndex[0].size = De << 6, ct[7] = (Fe.FileIndex[0].start = ct[0] + ct[1] + ct[2] + ct[3] + ct[4] + ct[5]) + (ct[6] + 7 >> 3), ct;
|
|
25999
25999
|
})(Z), se = new_buf(ne[7] << 9), oe = 0, xe = 0;
|
|
@@ -26331,7 +26331,7 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
26331
26331
|
for ($e = ne; $e < 30; ++$e) Qe[$e] = 0;
|
|
26332
26332
|
return ut = qe(at, tt, 286), Ct = qe(Qe, vt, 30), ae;
|
|
26333
26333
|
}
|
|
26334
|
-
function
|
|
26334
|
+
function Dt(Z, ae) {
|
|
26335
26335
|
if (Z[0] == 3 && !(Z[1] & 3))
|
|
26336
26336
|
return [new_raw_buf(ae), 2];
|
|
26337
26337
|
for (var te = 0, ne = 0, se = new_unsafe_buf(ae || 1 << 18), oe = 0, xe = se.length >>> 0, Te = 0, ve = 0; (ne & 1) == 0; ) {
|
|
@@ -26365,7 +26365,7 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
26365
26365
|
return ae ? [se, te + 7 >>> 3] : [se.slice(0, oe), te + 7 >>> 3];
|
|
26366
26366
|
}
|
|
26367
26367
|
function bt(Z, ae) {
|
|
26368
|
-
var te = Z.slice(Z.l || 0), ne =
|
|
26368
|
+
var te = Z.slice(Z.l || 0), ne = Dt(te, ae);
|
|
26369
26369
|
return Z.l += ne[1], ne[0];
|
|
26370
26370
|
}
|
|
26371
26371
|
function xt(Z, ae) {
|
|
@@ -26471,13 +26471,13 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
26471
26471
|
var te = Z.name || "", ne = te.match(/\.([^\.]+)$/);
|
|
26472
26472
|
return ne && it[ne[1]] || ae && (ne = (te = ae).match(/[\.\\]([^\.\\])+$/), ne && it[ne[1]]) ? it[ne[1]] : "application/octet-stream";
|
|
26473
26473
|
}
|
|
26474
|
-
function
|
|
26474
|
+
function Nt(Z) {
|
|
26475
26475
|
for (var ae = Base64_encode(Z), te = [], ne = 0; ne < ae.length; ne += 76) te.push(ae.slice(ne, ne + 76));
|
|
26476
26476
|
return te.join(`\r
|
|
26477
26477
|
`) + `\r
|
|
26478
26478
|
`;
|
|
26479
26479
|
}
|
|
26480
|
-
function
|
|
26480
|
+
function kt(Z) {
|
|
26481
26481
|
var ae = Z.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g, function(de) {
|
|
26482
26482
|
var be = de.charCodeAt(0).toString(16).toUpperCase();
|
|
26483
26483
|
return "=" + (be.length == 1 ? "0" + be : be);
|
|
@@ -26581,13 +26581,13 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
26581
26581
|
});
|
|
26582
26582
|
for (var de = Te.content, be = has_buf && Buffer.isBuffer(de) ? de.toString("binary") : V(de), ke = 0, $e = Math.min(1024, be.length), Fe = 0, De = 0; De <= $e; ++De) (Fe = be.charCodeAt(De)) >= 32 && Fe < 128 && ++ke;
|
|
26583
26583
|
var Le = ke >= $e * 4 / 5;
|
|
26584
|
-
se.push(ne), se.push("Content-Location: " + (te.root || "file:///C:/SheetJS/") + xe), se.push("Content-Transfer-Encoding: " + (Le ? "quoted-printable" : "base64")), se.push("Content-Type: " + pt(Te, xe)), se.push(""), se.push(Le ?
|
|
26584
|
+
se.push(ne), se.push("Content-Location: " + (te.root || "file:///C:/SheetJS/") + xe), se.push("Content-Transfer-Encoding: " + (Le ? "quoted-printable" : "base64")), se.push("Content-Type: " + pt(Te, xe)), se.push(""), se.push(Le ? kt(be) : Nt(be));
|
|
26585
26585
|
}
|
|
26586
26586
|
return se.push(ne + `--\r
|
|
26587
26587
|
`), se.join(`\r
|
|
26588
26588
|
`);
|
|
26589
26589
|
}
|
|
26590
|
-
function
|
|
26590
|
+
function Ot(Z) {
|
|
26591
26591
|
var ae = {};
|
|
26592
26592
|
return D(ae, Z), ae;
|
|
26593
26593
|
}
|
|
@@ -26623,7 +26623,7 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
26623
26623
|
B(Z, !0);
|
|
26624
26624
|
}
|
|
26625
26625
|
return t.find = z, t.read = j, t.parse = d, t.write = G, t.writeFile = N, t.utils = {
|
|
26626
|
-
cfb_new:
|
|
26626
|
+
cfb_new: Ot,
|
|
26627
26627
|
cfb_add: ot,
|
|
26628
26628
|
cfb_del: _t,
|
|
26629
26629
|
cfb_mov: St,
|
|
@@ -40588,15 +40588,13 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
40588
40588
|
children: i.map((o) => /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: o, children: o }, o))
|
|
40589
40589
|
}
|
|
40590
40590
|
)
|
|
40591
|
-
] }), EntriesInfo = ({ dataLength: e, currentPage: t, rowsPerPage: n }) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "entries-info", children: e > 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
40592
|
-
|
|
40593
|
-
|
|
40594
|
-
|
|
40595
|
-
|
|
40596
|
-
|
|
40597
|
-
|
|
40598
|
-
e,
|
|
40599
|
-
" ",
|
|
40591
|
+
] }), EntriesInfo = ({ dataLength: e, currentPage: t, rowsPerPage: n, totalRecords: i }) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "entries-info", children: e > 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
40592
|
+
(() => {
|
|
40593
|
+
const o = i ?? e;
|
|
40594
|
+
if (o === 0) return "Showing 0 to 0 of 0 entries";
|
|
40595
|
+
const l = t * n + 1, u = Math.min((t + 1) * n, o);
|
|
40596
|
+
return `Showing ${l} to ${u} of ${o} entries`;
|
|
40597
|
+
})(),
|
|
40600
40598
|
"entries"
|
|
40601
40599
|
] }) }), CEDataGridDynamicTable = ({
|
|
40602
40600
|
title: e,
|
|
@@ -40627,7 +40625,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
40627
40625
|
handleCopyClick: B,
|
|
40628
40626
|
handleViewClick: X,
|
|
40629
40627
|
noOfPagesPerPage: z,
|
|
40630
|
-
|
|
40628
|
+
totalRecords: M,
|
|
40631
40629
|
clickableColumns: H,
|
|
40632
40630
|
conditionalClickableColumns: ee,
|
|
40633
40631
|
// NEW PROP
|
|
@@ -40659,16 +40657,16 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
40659
40657
|
{}
|
|
40660
40658
|
), [Se, Ae] = useState([]), [Ie, Be] = useState([]), [Me, nt] = useState(!1), [Ke, qe] = useState(null), [Xe, et] = useState(
|
|
40661
40659
|
/* @__PURE__ */ new Set()
|
|
40662
|
-
), [Ye, st] = useState(null), [yt, tt] = useState(!1), [vt, lt] = useState(""), [ut, Ct] = useState(null), [gt,
|
|
40663
|
-
|
|
40664
|
-
), [
|
|
40660
|
+
), [Ye, st] = useState(null), [yt, tt] = useState(!1), [vt, lt] = useState(""), [ut, Ct] = useState(null), [gt, Dt] = useState("contains"), [bt, xt] = useState(""), [Je, ht] = useState({}), [mt, it] = useState(0), [pt, Nt] = useState(
|
|
40661
|
+
z ?? 10
|
|
40662
|
+
), [kt, He] = useState(/* @__PURE__ */ new Set()), [rt, Et] = useState(""), [Lt, Ot] = useState(!1), [ot, _t] = useState(/* @__PURE__ */ new Set()), [St, wt] = useState([]), Z = useMemo(() => {
|
|
40665
40663
|
const le = (n ?? []).map((pe) => pe.id).join("|");
|
|
40666
40664
|
return `ce-grid:${typeof e == "string" ? e : "grid"}:${le}`;
|
|
40667
40665
|
}, [n, e]), [ae, te] = useState(null), ne = useRef(null), se = useRef(null), oe = useRef(null), xe = useRef(null), [Te, ve] = useState(/* @__PURE__ */ new Set()), [de, be] = useState([]), [ke, $e] = useState(!1), [Fe, De] = useState(null), [Le, Ge] = useState(!1), [at, Qe] = useState(!0), ft = useRef([]), Pt = useRef(void 0), Rt = useRef(!1);
|
|
40668
40666
|
useEffect(() => {
|
|
40669
|
-
|
|
40670
|
-
}, [
|
|
40671
|
-
const
|
|
40667
|
+
z != null && z > 0 && (Nt(z), it(0));
|
|
40668
|
+
}, [z]);
|
|
40669
|
+
const It = () => Ge(!0), At = () => Ge(!1), Mt = (le) => {
|
|
40672
40670
|
if (it(le), typeof _e == "function")
|
|
40673
40671
|
try {
|
|
40674
40672
|
_e(le);
|
|
@@ -40992,7 +40990,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
40992
40990
|
const pe = new Set(ot);
|
|
40993
40991
|
pe.has(le) ? pe.size > 1 && pe.delete(le) : pe.add(le), _t(pe);
|
|
40994
40992
|
}, Yt = (le, fe = null) => {
|
|
40995
|
-
const pe = fe ? `${le}-${fe}` : `${le}`, ge = new Set(
|
|
40993
|
+
const pe = fe ? `${le}-${fe}` : `${le}`, ge = new Set(kt);
|
|
40996
40994
|
ge.has(pe) ? ge.delete(pe) : (Array.from(ge).forEach((ye) => {
|
|
40997
40995
|
ye.startsWith(`${le}`) && ge.delete(ye);
|
|
40998
40996
|
}), ge.add(pe)), He(ge);
|
|
@@ -41139,7 +41137,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
41139
41137
|
if (le) {
|
|
41140
41138
|
const ge = { ...Je };
|
|
41141
41139
|
if (fe === "" && (pe === "contains" || pe === "equals")) {
|
|
41142
|
-
lt(le),
|
|
41140
|
+
lt(le), Dt(pe || gt), xt(""), tt(!0);
|
|
41143
41141
|
return;
|
|
41144
41142
|
} else fe && fe.trim() !== "" ? ge[le] = {
|
|
41145
41143
|
value: fe,
|
|
@@ -41267,7 +41265,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
41267
41265
|
}, [yt]), useEffect(() => () => {
|
|
41268
41266
|
}, [Ye]), useEffect(() => {
|
|
41269
41267
|
const le = (fe) => {
|
|
41270
|
-
Lt && xe.current && !xe.current.contains(fe.target) &&
|
|
41268
|
+
Lt && xe.current && !xe.current.contains(fe.target) && Ot(!1);
|
|
41271
41269
|
};
|
|
41272
41270
|
return document.addEventListener("mousedown", le), () => {
|
|
41273
41271
|
document.removeEventListener("mousedown", le);
|
|
@@ -41879,7 +41877,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
41879
41877
|
{
|
|
41880
41878
|
className: "expand-button",
|
|
41881
41879
|
onClick: () => Yt(fe),
|
|
41882
|
-
children: Array.from(
|
|
41880
|
+
children: Array.from(kt).some(
|
|
41883
41881
|
(ge) => ge.startsWith(`${fe}`)
|
|
41884
41882
|
) ? "▼" : "▶"
|
|
41885
41883
|
}
|
|
@@ -42096,7 +42094,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
42096
42094
|
]
|
|
42097
42095
|
}
|
|
42098
42096
|
),
|
|
42099
|
-
Array.from(
|
|
42097
|
+
Array.from(kt).map((ge) => {
|
|
42100
42098
|
const [ye, Ce] = ge.split("-");
|
|
42101
42099
|
if (Number(ye) === fe) {
|
|
42102
42100
|
const Pe = Ce ? { [Ce]: le[Ce] } : Object.keys(le).filter(
|
|
@@ -42169,7 +42167,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
42169
42167
|
RowsPerPageSelector,
|
|
42170
42168
|
{
|
|
42171
42169
|
rowsPerPage: pt,
|
|
42172
|
-
setRowsPerPage:
|
|
42170
|
+
setRowsPerPage: Nt,
|
|
42173
42171
|
setCurrentPage: Mt,
|
|
42174
42172
|
pageSizeOptions: he
|
|
42175
42173
|
}
|
|
@@ -42224,7 +42222,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
42224
42222
|
"select",
|
|
42225
42223
|
{
|
|
42226
42224
|
value: gt,
|
|
42227
|
-
onChange: (le) =>
|
|
42225
|
+
onChange: (le) => Dt(le.target.value),
|
|
42228
42226
|
className: "filter-select",
|
|
42229
42227
|
"aria-label": "Filter operator",
|
|
42230
42228
|
title: "Select filter operator",
|
|
@@ -42322,7 +42320,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
42322
42320
|
ht({});
|
|
42323
42321
|
try {
|
|
42324
42322
|
const le = de.filter((pe) => pe.shouldDisplay !== !1).map((pe) => pe.id), fe = de.filter((pe) => pe.shouldVisible !== !1).map((pe) => pe.id);
|
|
42325
|
-
_t(new Set(le)), wt(fe),
|
|
42323
|
+
_t(new Set(le)), wt(fe), Ot(!1);
|
|
42326
42324
|
} catch {
|
|
42327
42325
|
}
|
|
42328
42326
|
Qe(!1);
|
|
@@ -42330,7 +42328,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
42330
42328
|
Ae(t), Be(t), it(0), Et(""), xt(""), lt(""), ht({}), De(null);
|
|
42331
42329
|
try {
|
|
42332
42330
|
const le = de.filter((pe) => pe.shouldDisplay !== !1).map((pe) => pe.id), fe = de.filter((pe) => pe.shouldVisible !== !1).map((pe) => pe.id);
|
|
42333
|
-
_t(new Set(le)), wt(fe),
|
|
42331
|
+
_t(new Set(le)), wt(fe), Ot(!1);
|
|
42334
42332
|
} catch {
|
|
42335
42333
|
}
|
|
42336
42334
|
Qe(!1);
|
|
@@ -42390,7 +42388,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
42390
42388
|
filter: Tt.length === 0 ? "grayscale(100%)" : "none"
|
|
42391
42389
|
},
|
|
42392
42390
|
onClick: () => {
|
|
42393
|
-
Tt.length > 0 &&
|
|
42391
|
+
Tt.length > 0 && Ot(!0);
|
|
42394
42392
|
}
|
|
42395
42393
|
}
|
|
42396
42394
|
),
|
|
@@ -42496,7 +42494,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
42496
42494
|
"button",
|
|
42497
42495
|
{
|
|
42498
42496
|
className: "fullscreen-button",
|
|
42499
|
-
onClick: Le ? At :
|
|
42497
|
+
onClick: Le ? At : It,
|
|
42500
42498
|
title: Le ? "Exit Full Screen" : "Full Screen",
|
|
42501
42499
|
children: Le ? "⤫" : "⤢"
|
|
42502
42500
|
}
|
|
@@ -42508,7 +42506,7 @@ const CESkeletonTable = ({ columns: e, rows: t }) => /* @__PURE__ */ jsxRuntimeE
|
|
|
42508
42506
|
"button",
|
|
42509
42507
|
{
|
|
42510
42508
|
className: "modal-close-button",
|
|
42511
|
-
onClick: () =>
|
|
42509
|
+
onClick: () => Ot(!1),
|
|
42512
42510
|
children: "×"
|
|
42513
42511
|
}
|
|
42514
42512
|
) }),
|
|
@@ -49753,8 +49751,8 @@ function noop$3() {
|
|
|
49753
49751
|
}
|
|
49754
49752
|
var task = "task", listener = "listener", completed = "completed", cancelled = "cancelled", taskCancelled = `task-${cancelled}`, taskCompleted = `task-${completed}`, listenerCancelled = `${listener}-${cancelled}`, listenerCompleted = `${listener}-${completed}`, TaskAbortError = class {
|
|
49755
49753
|
constructor(e) {
|
|
49756
|
-
|
|
49757
|
-
|
|
49754
|
+
jt(this, "name", "TaskAbortError");
|
|
49755
|
+
jt(this, "message");
|
|
49758
49756
|
this.code = e, this.message = `${task} ${cancelled} (reason: ${e})`;
|
|
49759
49757
|
}
|
|
49760
49758
|
}, assertFunction = (e, t) => {
|
|
@@ -34,7 +34,8 @@ interface CEDataGridDynamicTableProps {
|
|
|
34
34
|
isCopyButtonRequired?: boolean;
|
|
35
35
|
isViewButtonRequired?: boolean;
|
|
36
36
|
noOfPagesPerPage?: number;
|
|
37
|
-
|
|
37
|
+
/** Optional total number of records available for the grid (for display only). */
|
|
38
|
+
totalRecords?: number;
|
|
38
39
|
handleEditClick?: (row: any, rowIndex: number) => void;
|
|
39
40
|
handleAddClick?: () => void;
|
|
40
41
|
handleDeleteClick?: (row: any, rowIndex: number) => void;
|
package/package.json
CHANGED