@hybridcore/ui 1.6.25 → 1.6.27
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/CATALOG.md +1 -0
- package/dist/{AccordionSummary-c6-Buzbq.js → AccordionSummary-B6-hHjCC.js} +3 -3
- package/dist/{Add-CB4mPrke.js → Add-eXYPgCCB.js} +1 -1
- package/dist/{Alert-BsT46Tgd.js → Alert-OoSOUjZM.js} +2 -2
- package/dist/{Button-BMUZn0cT.js → Button-gZFgy23t.js} +1 -1
- package/dist/{ButtonBase-DG5J0YgP.js → ButtonBase-Dgg9dzM8.js} +2 -2
- package/dist/{Delete-ofipLwkd.js → Delete-B8COyxKI.js} +1 -1
- package/dist/{IconButton-SJfF1cr9.js → IconButton-CQwROBzr.js} +1 -1
- package/dist/IconCheck-BcUcbvno.js +19 -0
- package/dist/{MenuItem-BjnnhDbD.js → MenuItem-BAKBPyZx.js} +3 -3
- package/dist/{Modal-Djf5pMjD.js → Modal-DVdqH5dj.js} +1 -1
- package/dist/{Select-nL91eUH9.js → Select-B4zhu5G_.js} +2 -2
- package/dist/{SwitchBase-BcJAJYsB.js → SwitchBase-BqUrfIHp.js} +1 -1
- package/dist/{TextField-Db63_GNb.js → TextField-Cx5T7iJn.js} +4 -3
- package/dist/components/button/styled.js +1 -1
- package/dist/components/charts/forecast-cone/index.js +1 -1
- package/dist/components/collapsible-card/index.js +1 -1
- package/dist/components/collapsible-card/styled.js +1 -1
- package/dist/components/color-picker/index.js +2 -2
- package/dist/components/color-picker/styled.js +1 -1
- package/dist/components/confirm/dialog.js +2 -2
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/data-list/index.js +139 -0
- package/dist/components/data-list/logic.js +224 -0
- package/dist/components/data-list/styled.js +260 -0
- package/dist/components/duration-select/index.js +1 -1
- package/dist/components/duration-select/styled.js +1 -1
- package/dist/components/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/instance-form/components/variable/index.js +3 -2
- package/dist/components/instance-form/components/variables/index.js +1 -1
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- package/dist/components/property-mapping/index.js +1 -1
- package/dist/components/status-indicator/logic.js +28 -41
- package/dist/components/template-form/components/default-value-input/index.js +120 -0
- package/dist/components/template-form/components/default-value-input/logic.js +76 -0
- package/dist/components/template-form/components/property-list/index.js +5 -5
- package/dist/components/template-form/components/property-list/property-list-columns.js +2 -2
- package/dist/components/template-form/components/property-list/property-list-form.js +245 -240
- package/dist/components/template-form/components/property-list/property-list-logic.js +59 -42
- package/dist/components/template-form/components/recognition-property-list/index.js +5 -5
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +5 -5
- package/dist/components/template-form/index.js +39 -37
- package/dist/components/template-form/logic.js +24 -23
- package/dist/components/template-property-filters/property.js +23 -20
- package/dist/createSvgIcon-Bi-IzY8I.js +83 -0
- package/dist/{dialog-CNxZ7uox.js → dialog-DwmnOp5c.js} +2 -2
- package/dist/{index-BQ4_OA4b.js → index-Dvh8D1yM.js} +26 -25
- package/dist/isMuiElement-CxT3_ACP.js +13 -0
- package/dist/main.d.ts +270 -50
- package/dist/main.js +117 -115
- package/dist/{styled-DObpn_Bi.js → styled-C5WQOj4E.js} +1 -1
- package/dist/{useIsFocusVisible-BHPF-Pml.js → useIsFocusVisible-CVnvB5M2.js} +1 -1
- package/dist/{useSlot-gpKOd92R.js → useSlot-BOHuz6Wu.js} +1 -1
- package/dist/{useTimeout-CM6EsHyp.js → useTimeout-D5vWrF1x.js} +2 -2
- package/dist/utils/ontology.js +49 -43
- package/package.json +1 -1
- package/dist/createSvgIcon-jKAqRXE2.js +0 -93
package/CATALOG.md
CHANGED
|
@@ -61,6 +61,7 @@ import { ComponentName } from '@hybridcore/ui';
|
|
|
61
61
|
| InstanceHierarchyTable | HCInstanceHierarchyTable | Accordion table showing template hierarchy with counts | data-table, hierarchy, accordion |
|
|
62
62
|
| SimplePivotTable | HCSimplePivotTable | Pivot table with row/column dimensions + aggregations (sum/avg/min/max) | data-table, pivot, aggregation |
|
|
63
63
|
| PaginatedList | HCPaginatedList | Paginated list with selection mode and snapshot export | data-list, pagination, selection |
|
|
64
|
+
| DataList | HCDataList | Dashboard list: leading icon states, composed meta line, trailing badge/progress slot | data-list, dashboard, badge, status |
|
|
64
65
|
| SortableList | HCSortableList | Drag-and-drop sortable list | data-list, sortable, drag |
|
|
65
66
|
| InstanceVariableList | HCInstanceVariableList | Renders typed instance variables with per-type widgets | data-list, ontology, variable, domain |
|
|
66
67
|
|
|
@@ -3,14 +3,14 @@ import * as a from "react";
|
|
|
3
3
|
import { r as po } from "./index-DH6qsPBn.js";
|
|
4
4
|
import { P as o } from "./index-CblbdqjE.js";
|
|
5
5
|
import { c as G } from "./clsx-OuTLNxxd.js";
|
|
6
|
-
import { u as uo } from "./useSlot-
|
|
6
|
+
import { u as uo } from "./useSlot-BOHuz6Wu.js";
|
|
7
7
|
import { g as q, a as F, s as T, u as H, k as fo, c as J } from "./styled-Ckq8ALHh.js";
|
|
8
8
|
import { jsx as g, jsxs as to } from "react/jsx-runtime";
|
|
9
9
|
import { T as mo, u as go, g as eo, P as bo } from "./Paper-BFDcMa0t.js";
|
|
10
10
|
import { u as ho } from "./useControlled-BYdyS7Pn.js";
|
|
11
|
-
import {
|
|
11
|
+
import { c as xo, u as yo } from "./useTimeout-D5vWrF1x.js";
|
|
12
12
|
import { e as Co, c as vo } from "./TransitionGroupContext-C_aW1Tei.js";
|
|
13
|
-
import { B as Eo } from "./ButtonBase-
|
|
13
|
+
import { B as Eo } from "./ButtonBase-Dgg9dzM8.js";
|
|
14
14
|
function To(e) {
|
|
15
15
|
return F("MuiCollapse", e);
|
|
16
16
|
}
|
|
@@ -5,7 +5,7 @@ import { c as m } from "./clsx-OuTLNxxd.js";
|
|
|
5
5
|
import { g as d, a as v, s as y, u as T, c as g, i as h } from "./styled-Ckq8ALHh.js";
|
|
6
6
|
import A, { jsx as _ } from "react/jsx-runtime";
|
|
7
7
|
import { T as x } from "./Typography-B_LKrxyI.js";
|
|
8
|
-
import { r as j } from "./createSvgIcon-
|
|
8
|
+
import { r as j } from "./createSvgIcon-Bi-IzY8I.js";
|
|
9
9
|
function R(t) {
|
|
10
10
|
return v("MuiAlertTitle", t);
|
|
11
11
|
}
|
|
@@ -3,11 +3,11 @@ import * as _ from "react";
|
|
|
3
3
|
import { P as o } from "./index-CblbdqjE.js";
|
|
4
4
|
import { c as H } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
import { g as U, a as V, s as u, b as g, h as S, l as M, u as F, c as D } from "./styled-Ckq8ALHh.js";
|
|
6
|
-
import { u as x } from "./useSlot-
|
|
6
|
+
import { u as x } from "./useSlot-BOHuz6Wu.js";
|
|
7
7
|
import { c as p } from "./createSvgIcon-Bx0mTP6n.js";
|
|
8
8
|
import { jsx as s, jsxs as Z } from "react/jsx-runtime";
|
|
9
9
|
import { P as q } from "./Paper-BFDcMa0t.js";
|
|
10
|
-
import { I as G } from "./IconButton-
|
|
10
|
+
import { I as G } from "./IconButton-CQwROBzr.js";
|
|
11
11
|
function J(e) {
|
|
12
12
|
return V("MuiAlert", e);
|
|
13
13
|
}
|
|
@@ -4,7 +4,7 @@ import { P as n } from "./index-CblbdqjE.js";
|
|
|
4
4
|
import { c as m } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
import { g as D, a as F, s as f, r as G, b as r, d as v, f as U, u as H, c as A } from "./styled-Ckq8ALHh.js";
|
|
6
6
|
import { jsx as R, jsxs as q } from "react/jsx-runtime";
|
|
7
|
-
import { B as J } from "./ButtonBase-
|
|
7
|
+
import { B as J } from "./ButtonBase-Dgg9dzM8.js";
|
|
8
8
|
function K(o) {
|
|
9
9
|
return F("MuiButton", o);
|
|
10
10
|
}
|
|
@@ -6,10 +6,10 @@ import { c as x } from "./clsx-OuTLNxxd.js";
|
|
|
6
6
|
import { g as ye, s as re, u as Te, a as Xe, c as Ye } from "./styled-Ckq8ALHh.js";
|
|
7
7
|
import { keyframes as se } from "@mui/system";
|
|
8
8
|
import { jsx as U, jsxs as Ae } from "react/jsx-runtime";
|
|
9
|
-
import {
|
|
9
|
+
import { c as qe, u as de, b as H } from "./useTimeout-D5vWrF1x.js";
|
|
10
10
|
import { _ as We } from "./assertThisInitialized-C1dAyb4j.js";
|
|
11
11
|
import { _ as He, T as he, r as Ge, e as Je } from "./TransitionGroupContext-C_aW1Tei.js";
|
|
12
|
-
import { u as Qe } from "./useIsFocusVisible-
|
|
12
|
+
import { u as Qe } from "./useIsFocusVisible-CVnvB5M2.js";
|
|
13
13
|
function ae(t, s) {
|
|
14
14
|
var a = function(n) {
|
|
15
15
|
return s && G(n) ? s(n) : n;
|
|
@@ -4,7 +4,7 @@ import { P as r } from "./index-CblbdqjE.js";
|
|
|
4
4
|
import { c as z } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
import { g as R, a as C, s as B, b as n, d as g, u as I, c as O } from "./styled-Ckq8ALHh.js";
|
|
6
6
|
import { jsx as x } from "react/jsx-runtime";
|
|
7
|
-
import { B as T } from "./ButtonBase-
|
|
7
|
+
import { B as T } from "./ButtonBase-Dgg9dzM8.js";
|
|
8
8
|
import { c as $ } from "./TransitionGroupContext-C_aW1Tei.js";
|
|
9
9
|
function k(o) {
|
|
10
10
|
return C("MuiIconButton", o);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { c as e } from "./createReactComponent-C7L-DMHj.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the MIT license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const t = [["path", { d: "M12 9v4", key: "svg-0" }], ["path", { d: "M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0", key: "svg-1" }], ["path", { d: "M12 16h.01", key: "svg-2" }]], c = e("outline", "alert-triangle", "AlertTriangle", t);
|
|
9
|
+
/**
|
|
10
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the MIT license.
|
|
13
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/
|
|
15
|
+
const a = [["path", { d: "M5 12l5 5l10 -10", key: "svg-0" }]], n = e("outline", "check", "Check", a);
|
|
16
|
+
export {
|
|
17
|
+
n as I,
|
|
18
|
+
c as a
|
|
19
|
+
};
|
|
@@ -3,10 +3,10 @@ import * as d from "react";
|
|
|
3
3
|
import { P as t } from "./index-CblbdqjE.js";
|
|
4
4
|
import { c as I } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
import { g as u, a as F, s as _, r as j, d as p, u as D, c as E } from "./styled-Ckq8ALHh.js";
|
|
6
|
-
import { L as $ } from "./Select-
|
|
6
|
+
import { L as $ } from "./Select-B4zhu5G_.js";
|
|
7
7
|
import { jsx as M } from "react/jsx-runtime";
|
|
8
|
-
import { B as G } from "./ButtonBase-
|
|
9
|
-
import { a as U, u as S } from "./useTimeout-
|
|
8
|
+
import { B as G } from "./ButtonBase-Dgg9dzM8.js";
|
|
9
|
+
import { a as U, u as S } from "./useTimeout-D5vWrF1x.js";
|
|
10
10
|
const O = u("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]), N = u("MuiListItemIcon", ["root", "alignItemsFlexStart"]), V = u("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
|
|
11
11
|
function H(e) {
|
|
12
12
|
return F("MuiMenuItem", e);
|
|
@@ -4,7 +4,7 @@ import { P as e } from "./index-CblbdqjE.js";
|
|
|
4
4
|
import { c as ee } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
import { g as he, a as Ee, s as ne, u as ge, c as ye } from "./styled-Ckq8ALHh.js";
|
|
6
6
|
import { o as $, a as oe } from "./ownerWindow-wg6foiOE.js";
|
|
7
|
-
import { u as K, a as le, s as ce,
|
|
7
|
+
import { u as K, a as le, s as ce, b as de } from "./useTimeout-D5vWrF1x.js";
|
|
8
8
|
import { r as Me, m as Fe, a as De, u as Ae, T as Be, b as Le, g as ue, e as _e } from "./Paper-BFDcMa0t.js";
|
|
9
9
|
import { c as pe } from "./createChainedFunction-C0nujS3O.js";
|
|
10
10
|
import { jsxs as Te, jsx as D } from "react/jsx-runtime";
|
|
@@ -5,9 +5,9 @@ import { c as de } from "./clsx-OuTLNxxd.js";
|
|
|
5
5
|
import { r as to } from "./index-DH6qsPBn.js";
|
|
6
6
|
import { jsx as N, jsxs as Ee } from "react/jsx-runtime";
|
|
7
7
|
import { g as ce, a as pe, s as _, u as ye, c as fe, r as ve, b as we, n as qo, o as wo, m as Go, T as Xo, p as ro } from "./styled-Ckq8ALHh.js";
|
|
8
|
-
import { g as Yo, e as Zo, a as So, M as Jo, u as ze, H as eo } from "./Modal-
|
|
8
|
+
import { g as Yo, e as Zo, a as So, M as Jo, u as ze, H as eo } from "./Modal-DVdqH5dj.js";
|
|
9
9
|
import { u as Qo, T as en, b as on, g as ho, P as nn, i as oo, c as tn } from "./Paper-BFDcMa0t.js";
|
|
10
|
-
import { a as Ve, u as Se,
|
|
10
|
+
import { a as Ve, u as Se, c as rn, b as sn } from "./useTimeout-D5vWrF1x.js";
|
|
11
11
|
import { o as _e, a as Ue } from "./ownerWindow-wg6foiOE.js";
|
|
12
12
|
import { d as Io } from "./debounce-46wSf_lW.js";
|
|
13
13
|
import { r as Ie, c as an, e as No } from "./TransitionGroupContext-C_aW1Tei.js";
|
|
@@ -5,7 +5,7 @@ import { c as V } from "./clsx-OuTLNxxd.js";
|
|
|
5
5
|
import { a as W, g as $, s as F, r as A, b as G, c as H } from "./styled-Ckq8ALHh.js";
|
|
6
6
|
import { u as J } from "./useFormControl-CatNKXAi.js";
|
|
7
7
|
import { jsxs as K, jsx as Q } from "react/jsx-runtime";
|
|
8
|
-
import { B as X } from "./ButtonBase-
|
|
8
|
+
import { B as X } from "./ButtonBase-Dgg9dzM8.js";
|
|
9
9
|
import { u as Y } from "./useControlled-BYdyS7Pn.js";
|
|
10
10
|
import { r as Z } from "./TransitionGroupContext-C_aW1Tei.js";
|
|
11
11
|
function ee(o) {
|
|
@@ -5,9 +5,9 @@ import { a as i, _ as J } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
|
5
5
|
import * as p from "react";
|
|
6
6
|
import { c as K } from "./clsx-OuTLNxxd.js";
|
|
7
7
|
import { jsx as y, jsxs as fe } from "react/jsx-runtime";
|
|
8
|
-
import { i as me, a as ee, S as be, I as ge, F as he, O as Te } from "./Select-
|
|
8
|
+
import { i as me, a as ee, S as be, I as ge, F as he, O as Te } from "./Select-B4zhu5G_.js";
|
|
9
9
|
import { F as ye, u as xe } from "./useFormControl-CatNKXAi.js";
|
|
10
|
-
import { i as U } from "./
|
|
10
|
+
import { i as U } from "./isMuiElement-CxT3_ACP.js";
|
|
11
11
|
import { u as Fe } from "./useId-BW-oWmul.js";
|
|
12
12
|
import { I as ve } from "./InputLabel-jPm6Xuco.js";
|
|
13
13
|
import { f as Ce } from "./formControlState-vgaj2ksH.js";
|
|
@@ -692,5 +692,6 @@ process.env.NODE_ENV !== "production" && (Le.propTypes = {
|
|
|
692
692
|
export {
|
|
693
693
|
Re as B,
|
|
694
694
|
te as F,
|
|
695
|
-
Le as T
|
|
695
|
+
Le as T,
|
|
696
|
+
ne as a
|
|
696
697
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import h, { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { i as u } from "../../../styled-Ckq8ALHh.js";
|
|
3
|
-
import { r as f } from "../../../createSvgIcon-
|
|
3
|
+
import { r as f } from "../../../createSvgIcon-Bi-IzY8I.js";
|
|
4
4
|
import { IconButton as d, Typography as c } from "@mui/material";
|
|
5
5
|
import { useForecastConeChartLogic as R } from "./logic.js";
|
|
6
6
|
import { ForecastConeChartRoot as $, ForecastConeChartCanvas as S, ForecastConeChartPager as F } from "./styled.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import d, { jsx as r, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import { i as c } from "../../styled-Ckq8ALHh.js";
|
|
3
|
-
import { r as l } from "../../createSvgIcon-
|
|
3
|
+
import { r as l } from "../../createSvgIcon-Bi-IzY8I.js";
|
|
4
4
|
import { Container as u } from "../container/index.js";
|
|
5
5
|
import { useCollapsibleCardLogic as s } from "./logic.js";
|
|
6
6
|
import { Accordion as m, AccordionSummary as x, SummaryHeader as f, SummaryActions as h, AccordionDetails as S } from "./styled.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { styled as a, Box as e } from "@mui/material";
|
|
2
|
-
import { A as n, a as t, b as i } from "../../AccordionSummary-
|
|
2
|
+
import { A as n, a as t, b as i } from "../../AccordionSummary-B6-hHjCC.js";
|
|
3
3
|
const r = (o) => o !== "ownerState", m = a(n, {
|
|
4
4
|
name: "HCCollapsibleCard",
|
|
5
5
|
slot: "accordion"
|
|
@@ -6,13 +6,13 @@ import { c as it } from "../../_commonjsHelpers-BkfeUUK-.js";
|
|
|
6
6
|
import { P as g } from "../../index-CblbdqjE.js";
|
|
7
7
|
import { IconButton as to } from "../icon-button/index.js";
|
|
8
8
|
import { useColorPickerLogic as ro } from "./logic.js";
|
|
9
|
-
import { R as no, C as Qr, a as ao, b as io, c as oo, d as so } from "../../styled-
|
|
9
|
+
import { R as no, C as Qr, a as ao, b as io, c as oo, d as so } from "../../styled-C5WQOj4E.js";
|
|
10
10
|
import { c as Ba } from "../../createReactComponent-C7L-DMHj.js";
|
|
11
11
|
import { _ as lo, a as co } from "../../objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
12
12
|
import { c as fo } from "../../clsx-OuTLNxxd.js";
|
|
13
13
|
import { g as uo, a as ho, c as po } from "../../styled-Ckq8ALHh.js";
|
|
14
14
|
import { u as go } from "../../useControlled-BYdyS7Pn.js";
|
|
15
|
-
import { u as vo } from "../../useTimeout-
|
|
15
|
+
import { u as vo } from "../../useTimeout-D5vWrF1x.js";
|
|
16
16
|
import { u as bo } from "../../useId-BW-oWmul.js";
|
|
17
17
|
import { F as yo } from "../../FormGroup-LH368jad.js";
|
|
18
18
|
import { I as mo } from "../../IconCircle-HcgE1lHy.js";
|
|
@@ -2,8 +2,8 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react-confirm";
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "@mui/icons-material";
|
|
5
|
-
import { D as e } from "../../dialog-
|
|
6
|
-
import "../../Button-
|
|
5
|
+
import { D as e } from "../../dialog-DwmnOp5c.js";
|
|
6
|
+
import "../../Button-gZFgy23t.js";
|
|
7
7
|
export {
|
|
8
8
|
e as default
|
|
9
9
|
};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { jsxs as o, jsx as a, Fragment as g } from "react/jsx-runtime";
|
|
2
|
+
import { Typography as k, Stack as u, Skeleton as L, CircularProgress as w, TablePagination as x } from "@mui/material";
|
|
3
|
+
import { LinearIndicator as m } from "../linear-indicator/index.js";
|
|
4
|
+
import { useDataListLogic as y } from "./logic.js";
|
|
5
|
+
import { DataListRoot as v, DataListHeader as A, DataListHeaderActionLink as B, DataListHeaderActionButton as R, DataListContent as E, DataListEmpty as H, DataListList as M, DataListLoadMore as T, DataListPagination as j, DataListItemRow as z, DataListItemButton as O, DataListItemEnd as V, DataListItemStart as f, DataListBadge as F, DataListEndLabel as b, DataListItemMain as N, DataListItemTitle as W, DataListItemMeta as _ } from "./styled.js";
|
|
6
|
+
const Q = (t) => {
|
|
7
|
+
const { refs: c, state: r, actions: d } = y(t), { ownerState: l, displayData: C } = r, D = !!(t.title || t.headerAction || t.actionLabel && (t.onActionClick || t.actionHref)), s = (e) => {
|
|
8
|
+
if (t.renderItemStart) return t.renderItemStart(e);
|
|
9
|
+
if (e.icon)
|
|
10
|
+
return /* @__PURE__ */ a(f, { ownerState: l, children: e.icon });
|
|
11
|
+
const i = r.getIcon(e);
|
|
12
|
+
if (!i) return null;
|
|
13
|
+
const n = r.getIconState(e);
|
|
14
|
+
return /* @__PURE__ */ a(
|
|
15
|
+
f,
|
|
16
|
+
{
|
|
17
|
+
ownerState: l,
|
|
18
|
+
iconColor: n == null ? void 0 : n.color,
|
|
19
|
+
iconBackground: n == null ? void 0 : n.backgroundColor,
|
|
20
|
+
role: n != null && n.label ? "img" : void 0,
|
|
21
|
+
"aria-label": n == null ? void 0 : n.label,
|
|
22
|
+
"aria-hidden": n != null && n.label ? void 0 : !0,
|
|
23
|
+
title: n == null ? void 0 : n.label,
|
|
24
|
+
children: /* @__PURE__ */ a(i, { size: l.dense ? 16 : 20 })
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
}, P = (e) => {
|
|
28
|
+
if (t.renderItemEnd) return t.renderItemEnd(e);
|
|
29
|
+
if (e.endContent) return e.endContent;
|
|
30
|
+
if (r.endSlot === "badge") {
|
|
31
|
+
const i = r.getBadgeLabel(e);
|
|
32
|
+
if (!i) return null;
|
|
33
|
+
const n = r.getBadgeState(e);
|
|
34
|
+
return /* @__PURE__ */ a(
|
|
35
|
+
F,
|
|
36
|
+
{
|
|
37
|
+
badgeColor: n == null ? void 0 : n.color,
|
|
38
|
+
badgeBackground: n == null ? void 0 : n.backgroundColor,
|
|
39
|
+
badgeBorder: n == null ? void 0 : n.borderColor,
|
|
40
|
+
children: i
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
if (r.endSlot === "progress")
|
|
45
|
+
return /* @__PURE__ */ o(g, { children: [
|
|
46
|
+
/* @__PURE__ */ a(
|
|
47
|
+
m,
|
|
48
|
+
{
|
|
49
|
+
value: r.getProgressValue(e),
|
|
50
|
+
sx: { flex: 1, minWidth: 0 }
|
|
51
|
+
}
|
|
52
|
+
),
|
|
53
|
+
e.endLabel && /* @__PURE__ */ a(b, { children: e.endLabel })
|
|
54
|
+
] });
|
|
55
|
+
if (r.endSlot === "text") {
|
|
56
|
+
const i = e.endLabel ?? e.endValue;
|
|
57
|
+
return i == null || `${i}`.trim() === "" ? null : /* @__PURE__ */ a(b, { children: i });
|
|
58
|
+
}
|
|
59
|
+
return null;
|
|
60
|
+
}, h = (e) => {
|
|
61
|
+
const i = r.getSecondaryText(e);
|
|
62
|
+
return /* @__PURE__ */ o(N, { ownerState: l, children: [
|
|
63
|
+
/* @__PURE__ */ a(W, { title: e.title, children: e.title }),
|
|
64
|
+
i && /* @__PURE__ */ a(_, { ownerState: l, title: i, children: i })
|
|
65
|
+
] });
|
|
66
|
+
}, I = (e) => {
|
|
67
|
+
const i = P(e);
|
|
68
|
+
return /* @__PURE__ */ o(z, { ownerState: l, children: [
|
|
69
|
+
r.isItemClickable(e) ? /* @__PURE__ */ o(
|
|
70
|
+
O,
|
|
71
|
+
{
|
|
72
|
+
onClick: d.handleItemClick(e),
|
|
73
|
+
disabled: e.disabled,
|
|
74
|
+
children: [
|
|
75
|
+
s(e),
|
|
76
|
+
h(e)
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
) : /* @__PURE__ */ o(g, { children: [
|
|
80
|
+
s(e),
|
|
81
|
+
h(e)
|
|
82
|
+
] }),
|
|
83
|
+
i && /* @__PURE__ */ a(V, { ownerState: l, children: i })
|
|
84
|
+
] }, e.id);
|
|
85
|
+
};
|
|
86
|
+
return /* @__PURE__ */ o(
|
|
87
|
+
v,
|
|
88
|
+
{
|
|
89
|
+
ownerState: l,
|
|
90
|
+
sx: t.sx,
|
|
91
|
+
elevation: 0,
|
|
92
|
+
"data-snapshot": r.snapshot,
|
|
93
|
+
children: [
|
|
94
|
+
D && /* @__PURE__ */ o(A, { ownerState: l, children: [
|
|
95
|
+
t.title && /* @__PURE__ */ a(k, { variant: "h3", children: t.title }),
|
|
96
|
+
t.headerAction ?? (t.actionLabel && (t.actionHref ? /* @__PURE__ */ a(
|
|
97
|
+
B,
|
|
98
|
+
{
|
|
99
|
+
href: t.actionHref,
|
|
100
|
+
onClick: t.onActionClick,
|
|
101
|
+
children: t.actionLabel
|
|
102
|
+
}
|
|
103
|
+
) : t.onActionClick && /* @__PURE__ */ a(
|
|
104
|
+
R,
|
|
105
|
+
{
|
|
106
|
+
type: "button",
|
|
107
|
+
onClick: t.onActionClick,
|
|
108
|
+
children: t.actionLabel
|
|
109
|
+
}
|
|
110
|
+
)))
|
|
111
|
+
] }),
|
|
112
|
+
/* @__PURE__ */ o(E, { ownerState: l, children: [
|
|
113
|
+
t.loading ? /* @__PURE__ */ a(u, { spacing: 2, padding: 2, children: Array.from({ length: t.loadingRows ?? 4 }).map((e, i) => /* @__PURE__ */ o(u, { spacing: 0.5, children: [
|
|
114
|
+
/* @__PURE__ */ a(L, { variant: "text", width: "60%" }),
|
|
115
|
+
/* @__PURE__ */ a(L, { variant: "text", width: "40%" })
|
|
116
|
+
] }, i)) }) : l.isEmpty ? /* @__PURE__ */ a(H, { ownerState: l, children: t.emptyMessage ?? "No records to display" }) : /* @__PURE__ */ o(M, { ownerState: l, ref: c.listRef, children: [
|
|
117
|
+
C.map(I),
|
|
118
|
+
r.hasMore && /* @__PURE__ */ a(T, { ownerState: l, ref: c.sentinelRef, children: r.isLoadingMore && /* @__PURE__ */ a(w, { size: 18 }) })
|
|
119
|
+
] }),
|
|
120
|
+
r.showPagination && /* @__PURE__ */ a(j, { ownerState: l, children: /* @__PURE__ */ a(
|
|
121
|
+
x,
|
|
122
|
+
{
|
|
123
|
+
component: "div",
|
|
124
|
+
count: r.count,
|
|
125
|
+
page: r.page,
|
|
126
|
+
rowsPerPage: r.rowsPerPage,
|
|
127
|
+
rowsPerPageOptions: r.rowsPerPageOptions,
|
|
128
|
+
onPageChange: d.handleChangePage,
|
|
129
|
+
onRowsPerPageChange: d.handleChangeRowsPerPage
|
|
130
|
+
}
|
|
131
|
+
) })
|
|
132
|
+
] })
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
);
|
|
136
|
+
};
|
|
137
|
+
export {
|
|
138
|
+
Q as DataList
|
|
139
|
+
};
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { useThemeProps as de } from "@mui/material";
|
|
2
|
+
import { useRef as f, useState as N, useMemo as S, useCallback as ge, useEffect as B } from "react";
|
|
3
|
+
import { c as s } from "../../createReactComponent-C7L-DMHj.js";
|
|
4
|
+
import { a as he, I as pe } from "../../IconCheck-BcUcbvno.js";
|
|
5
|
+
import { I as ve } from "../../IconCircle-HcgE1lHy.js";
|
|
6
|
+
/**
|
|
7
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license.
|
|
10
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
const fe = [["path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0", key: "svg-0" }], ["path", { d: "M12 8v4", key: "svg-1" }], ["path", { d: "M12 16h.01", key: "svg-2" }]], Me = s("outline", "alert-circle", "AlertCircle", fe);
|
|
13
|
+
/**
|
|
14
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license.
|
|
17
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/
|
|
19
|
+
const me = [["path", { d: "M10 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6", key: "svg-0" }], ["path", { d: "M9 17v1a3 3 0 0 0 6 0v-1", key: "svg-1" }]], ke = s("outline", "bell", "Bell", me);
|
|
20
|
+
/**
|
|
21
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license.
|
|
24
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/
|
|
26
|
+
const ye = [["path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0", key: "svg-0" }], ["path", { d: "M12 7v5l3 3", key: "svg-1" }]], _e = s("outline", "clock", "Clock", ye);
|
|
27
|
+
/**
|
|
28
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
29
|
+
*
|
|
30
|
+
* This source code is licensed under the MIT license.
|
|
31
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
32
|
+
*/
|
|
33
|
+
const Ie = [["path", { d: "M14 3v4a1 1 0 0 0 1 1h4", key: "svg-0" }], ["path", { d: "M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2", key: "svg-1" }], ["path", { d: "M9 9l1 0", key: "svg-2" }], ["path", { d: "M9 13l6 0", key: "svg-3" }], ["path", { d: "M9 17l6 0", key: "svg-4" }]], Pe = s("outline", "file-text", "FileText", Ie);
|
|
34
|
+
/**
|
|
35
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
36
|
+
*
|
|
37
|
+
* This source code is licensed under the MIT license.
|
|
38
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
39
|
+
*/
|
|
40
|
+
const be = [["path", { d: "M5 5a5 5 0 0 1 7 0a5 5 0 0 0 7 0v9a5 5 0 0 1 -7 0a5 5 0 0 0 -7 0v-9", key: "svg-0" }], ["path", { d: "M5 21v-7", key: "svg-1" }]], Ne = s("outline", "flag", "Flag", be);
|
|
41
|
+
/**
|
|
42
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
43
|
+
*
|
|
44
|
+
* This source code is licensed under the MIT license.
|
|
45
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
46
|
+
*/
|
|
47
|
+
const Se = [["path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0", key: "svg-0" }], ["path", { d: "M12 9h.01", key: "svg-1" }], ["path", { d: "M11 12h1v4h1", key: "svg-2" }]], we = s("outline", "info-circle", "InfoCircle", Se);
|
|
48
|
+
/**
|
|
49
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
50
|
+
*
|
|
51
|
+
* This source code is licensed under the MIT license.
|
|
52
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
53
|
+
*/
|
|
54
|
+
const Re = [["path", { d: "M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0", key: "svg-0" }], ["path", { d: "M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0", key: "svg-1" }]], $e = s("outline", "map-pin", "MapPin", Re);
|
|
55
|
+
/**
|
|
56
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
57
|
+
*
|
|
58
|
+
* This source code is licensed under the MIT license.
|
|
59
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
60
|
+
*/
|
|
61
|
+
const Ce = [["path", { d: "M8 9h8", key: "svg-0" }], ["path", { d: "M8 13h6", key: "svg-1" }], ["path", { d: "M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12", key: "svg-2" }]], Oe = s("outline", "message", "Message", Ce);
|
|
62
|
+
/**
|
|
63
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
64
|
+
*
|
|
65
|
+
* This source code is licensed under the MIT license.
|
|
66
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
67
|
+
*/
|
|
68
|
+
const Le = [["path", { d: "M15.04 19.745c-.942 .551 -1.964 .976 -3.04 1.255a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 .195 6.015", key: "svg-0" }], ["path", { d: "M19 16v3", key: "svg-1" }], ["path", { d: "M19 22v.01", key: "svg-2" }]], xe = s("outline", "shield-exclamation", "ShieldExclamation", Le);
|
|
69
|
+
/**
|
|
70
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the MIT license.
|
|
73
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
74
|
+
*/
|
|
75
|
+
const Te = [["path", { d: "M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3", key: "svg-0" }]], Ae = s("outline", "shield", "Shield", Te);
|
|
76
|
+
/**
|
|
77
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
78
|
+
*
|
|
79
|
+
* This source code is licensed under the MIT license.
|
|
80
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
81
|
+
*/
|
|
82
|
+
const Ee = [["path", { d: "M7 11v8a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-7a1 1 0 0 1 1 -1h3a4 4 0 0 0 4 -4v-1a2 2 0 0 1 4 0v5h3a2 2 0 0 1 2 2l-1 5a2 3 0 0 1 -2 2h-7a3 3 0 0 1 -3 -3", key: "svg-0" }]], Be = s("outline", "thumb-up", "ThumbUp", Ee);
|
|
83
|
+
/**
|
|
84
|
+
* @license @tabler/icons-react v3.44.0 - MIT
|
|
85
|
+
*
|
|
86
|
+
* This source code is licensed under the MIT license.
|
|
87
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
88
|
+
*/
|
|
89
|
+
const Fe = [["path", { d: "M5 7a4 4 0 1 0 8 0a4 4 0 1 0 -8 0", key: "svg-0" }], ["path", { d: "M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2", key: "svg-1" }], ["path", { d: "M16 3.13a4 4 0 0 1 0 7.75", key: "svg-2" }], ["path", { d: "M21 21v-2a4 4 0 0 0 -3 -3.85", key: "svg-3" }]], Ve = s("outline", "users", "Users", Fe), De = {
|
|
90
|
+
shield: Ae,
|
|
91
|
+
"shield-alert": xe,
|
|
92
|
+
"alert-triangle": he,
|
|
93
|
+
"alert-circle": Me,
|
|
94
|
+
info: we,
|
|
95
|
+
bell: ke,
|
|
96
|
+
check: pe,
|
|
97
|
+
clock: _e,
|
|
98
|
+
flag: Ne,
|
|
99
|
+
file: Pe,
|
|
100
|
+
"map-pin": $e,
|
|
101
|
+
message: Oe,
|
|
102
|
+
"thumb-up": Be,
|
|
103
|
+
users: Ve,
|
|
104
|
+
circle: ve
|
|
105
|
+
}, Ue = [5, 10, 25, 50], Ge = "120px", F = (g, d) => {
|
|
106
|
+
if (!(g != null && g.length) || d === void 0 || d === null) return;
|
|
107
|
+
const o = `${d}`.trim().toLowerCase();
|
|
108
|
+
if (o)
|
|
109
|
+
return g.find((k) => `${k.value}`.trim().toLowerCase() === o);
|
|
110
|
+
}, qe = (g) => {
|
|
111
|
+
const d = de({ props: g, name: "HCDataList" }), {
|
|
112
|
+
data: o = [],
|
|
113
|
+
totalCount: k,
|
|
114
|
+
payload: i,
|
|
115
|
+
onChange: r,
|
|
116
|
+
onItemClick: M,
|
|
117
|
+
iconStates: V,
|
|
118
|
+
iconShape: D = "circle",
|
|
119
|
+
badgeStates: U,
|
|
120
|
+
endSlot: w = "badge",
|
|
121
|
+
metaSeparator: G = "•",
|
|
122
|
+
descriptionLines: j = 1,
|
|
123
|
+
dense: H = !1,
|
|
124
|
+
divider: J = !0,
|
|
125
|
+
headerGutter: K = !1,
|
|
126
|
+
paginationMode: y = "infinite",
|
|
127
|
+
rowsPerPage: W = 10,
|
|
128
|
+
resetKey: q,
|
|
129
|
+
loading: _ = !1,
|
|
130
|
+
loadingMore: z = !1
|
|
131
|
+
} = d, R = f(null), $ = f(null), [Q, C] = N(0), [X, Y] = N(W), l = (i == null ? void 0 : i.pageNumber) ?? Q, a = (i == null ? void 0 : i.rows) ?? X, c = !!r, u = y === "infinite", [O, L] = N(a), p = f(/* @__PURE__ */ new Map()), m = `${q ?? ""}`, x = f(m), h = f(null);
|
|
132
|
+
x.current !== m && (x.current = m, p.current.clear(), h.current = null), c && u && (l === 0 && p.current.clear(), p.current.set(l, o), h.current === l && (h.current = null));
|
|
133
|
+
const T = S(() => !c || !u ? o : Array.from(p.current.keys()).sort((e, t) => e - t).flatMap((e) => p.current.get(e) ?? []), [c, u, o, l]), I = c ? k ?? 0 : o.length, v = S(() => u ? c ? T : o.slice(0, O) : c ? o : o.slice(l * a, (l + 1) * a), [u, c, T, o, O, l, a]), P = u && v.length < I, Z = y === "buttons" && I > a, b = ge(() => {
|
|
134
|
+
if (!c) {
|
|
135
|
+
L((t) => t + a);
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
const e = l + 1;
|
|
139
|
+
h.current === null && (h.current = e, r == null || r({ ...i, pageNumber: e, rows: a }));
|
|
140
|
+
}, [c, a, l, r, i]);
|
|
141
|
+
B(() => {
|
|
142
|
+
if (!u || !P || _) return;
|
|
143
|
+
const e = $.current;
|
|
144
|
+
if (!e || typeof IntersectionObserver > "u") return;
|
|
145
|
+
const t = new IntersectionObserver(
|
|
146
|
+
(n) => {
|
|
147
|
+
n.some((ue) => ue.isIntersecting) && b();
|
|
148
|
+
},
|
|
149
|
+
{ root: R.current, rootMargin: Ge }
|
|
150
|
+
);
|
|
151
|
+
return t.observe(e), () => t.disconnect();
|
|
152
|
+
}, [u, P, _, b]), B(() => {
|
|
153
|
+
u && !c && L(a);
|
|
154
|
+
}, [u, c, a, m, o.length]);
|
|
155
|
+
const ee = (e, t) => {
|
|
156
|
+
C(t), r == null || r({ ...i, pageNumber: t, rows: a });
|
|
157
|
+
}, te = (e) => {
|
|
158
|
+
const t = parseInt(e.target.value, 10);
|
|
159
|
+
Y(t), C(0), r == null || r({ ...i, pageNumber: 0, rows: t });
|
|
160
|
+
}, ne = (e) => () => {
|
|
161
|
+
e.disabled || M == null || M(e);
|
|
162
|
+
}, oe = (e) => !!M && !e.disabled, ae = (e) => {
|
|
163
|
+
if (!e.meta) return e.description;
|
|
164
|
+
const t = e.meta.filter((n) => n != null && `${n}`.trim() !== "").map((n) => `${n}`.trim());
|
|
165
|
+
return t.length ? t.join(` ${G} `) : void 0;
|
|
166
|
+
}, A = (e) => F(V, e.iconValue), se = (e) => {
|
|
167
|
+
var n;
|
|
168
|
+
const t = (n = A(e)) == null ? void 0 : n.icon;
|
|
169
|
+
return t ? De[t] : void 0;
|
|
170
|
+
}, E = (e) => F(U, e.status), re = (e) => {
|
|
171
|
+
var n;
|
|
172
|
+
const t = E(e);
|
|
173
|
+
return t ? t.label ?? t.value : ((n = e.status) == null ? void 0 : n.trim()) || void 0;
|
|
174
|
+
}, ce = (e) => {
|
|
175
|
+
const t = typeof e.endValue == "string" ? Number(e.endValue) : e.endValue;
|
|
176
|
+
return Number.isFinite(t) ? Math.min(100, Math.max(0, t)) : 0;
|
|
177
|
+
}, ie = S(
|
|
178
|
+
() => JSON.stringify({ title: d.title, data: v }),
|
|
179
|
+
[d.title, v]
|
|
180
|
+
), le = {
|
|
181
|
+
...d,
|
|
182
|
+
iconShape: D,
|
|
183
|
+
endSlot: w,
|
|
184
|
+
dense: H,
|
|
185
|
+
divider: J,
|
|
186
|
+
descriptionLines: j,
|
|
187
|
+
headerGutter: K,
|
|
188
|
+
paginationMode: y,
|
|
189
|
+
isEmpty: !_ && v.length === 0
|
|
190
|
+
};
|
|
191
|
+
return {
|
|
192
|
+
refs: { listRef: R, sentinelRef: $ },
|
|
193
|
+
state: {
|
|
194
|
+
ownerState: le,
|
|
195
|
+
displayData: v,
|
|
196
|
+
count: I,
|
|
197
|
+
page: l,
|
|
198
|
+
rowsPerPage: a,
|
|
199
|
+
rowsPerPageOptions: d.rowsPerPageOptions ?? Ue,
|
|
200
|
+
showPagination: Z,
|
|
201
|
+
hasMore: P,
|
|
202
|
+
// Either the caller says a request is running, or we know one is in flight.
|
|
203
|
+
isLoadingMore: z || h.current !== null,
|
|
204
|
+
snapshot: ie,
|
|
205
|
+
endSlot: w,
|
|
206
|
+
isItemClickable: oe,
|
|
207
|
+
getSecondaryText: ae,
|
|
208
|
+
getIconState: A,
|
|
209
|
+
getIcon: se,
|
|
210
|
+
getBadgeState: E,
|
|
211
|
+
getBadgeLabel: re,
|
|
212
|
+
getProgressValue: ce
|
|
213
|
+
},
|
|
214
|
+
actions: {
|
|
215
|
+
handleChangePage: ee,
|
|
216
|
+
handleChangeRowsPerPage: te,
|
|
217
|
+
handleItemClick: ne,
|
|
218
|
+
loadMore: b
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
export {
|
|
223
|
+
qe as useDataListLogic
|
|
224
|
+
};
|