@hybridcore/ui 1.6.1 → 1.6.2
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 +179 -0
- package/README.md +1 -2
- package/dist/AccordionSummary-CJppWeqF.js +781 -0
- package/dist/Add-CqcD1PWb.js +403 -0
- package/dist/Box-DqUMmZjL.js +31 -0
- package/dist/Button-C5yquWAB.js +357 -0
- package/dist/ButtonBase-BEF7oTOe.js +887 -0
- package/dist/{Delete-fBLhTHbF.js → Delete-BdyYpINH.js} +9 -8
- package/dist/{DialogContent-CGJ7alb8.js → DialogContent-BvVjD9z3.js} +127 -122
- package/dist/FormGroup-CpBsIyYR.js +89 -0
- package/dist/{IconButton-_opV1iNK.js → IconButton-BoGwbvrP.js} +26 -26
- package/dist/{InputLabel-rEwwnD4_.js → InputLabel-Dd8RrneV.js} +140 -153
- package/dist/{MenuItem-DrE50M_p.js → MenuItem-DwqJqzuM.js} +65 -89
- package/dist/Modal-MUZygjmQ.js +1158 -0
- package/dist/Paper-BkQLdsCI.js +582 -0
- package/dist/Select-DHUl_uG3.js +3916 -0
- package/dist/SwitchBase-DTndTqI8.js +235 -0
- package/dist/TextField-e2oKaUN1.js +669 -0
- package/dist/TransitionGroupContext-BDAp2T0O.js +96 -0
- package/dist/{Typography-B-Z5Y0Xq.js → Typography-DgsSLCFC.js} +28 -26
- package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
- package/dist/assets/index4.css +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/access/helpers.js +1 -1
- package/dist/components/access/logic.js +1 -1
- package/dist/components/button/index.js +10 -0
- package/dist/components/button/logic.js +26 -0
- package/dist/components/button/styled.js +9 -0
- package/dist/components/charts/_common/chart-error.js +19 -0
- package/dist/components/charts/candlestick/index.js +3 -3
- package/dist/components/charts/candlestick/logic.js +123 -113
- package/dist/components/charts/chart-wrapper/index.js +5 -5
- package/dist/components/charts/column-line-mix/index.js +9 -8
- package/dist/components/charts/column-line-mix/logic.js +68 -71
- package/dist/components/charts/drill-down-treemap/index.js +8 -7
- package/dist/components/charts/drill-down-treemap/logic.js +138 -144
- package/dist/components/charts/drill-down-voronoi-treemap/index.js +9 -8
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +222 -228
- package/dist/components/charts/heatmap/index.js +9 -8
- package/dist/components/charts/heatmap/logic.js +167 -173
- package/dist/components/charts/highlighting-line-data/index.js +3 -3
- package/dist/components/charts/line/index.js +9 -8
- package/dist/components/charts/line/logic.js +74 -79
- package/dist/components/charts/logaritmic-scale/index.js +9 -8
- package/dist/components/charts/logaritmic-scale/logic.js +63 -69
- package/dist/components/charts/multiple-value-axes/index.js +9 -8
- package/dist/components/charts/multiple-value-axes/logic.js +101 -107
- package/dist/components/charts/nested-pie/index.js +9 -8
- package/dist/components/charts/nested-pie/logic.js +62 -68
- package/dist/components/charts/packed-circles/index.js +7 -6
- package/dist/components/charts/packed-circles/logic.js +50 -56
- package/dist/components/charts/pie-chart/index.js +9 -8
- package/dist/components/charts/pie-chart/logic.js +49 -54
- package/dist/components/charts/stacked-area-radar/index.js +8 -7
- package/dist/components/charts/stacked-area-radar/logic.js +113 -118
- package/dist/components/charts/stacked-column-chart/index.js +9 -8
- package/dist/components/charts/stacked-column-chart/logic.js +78 -84
- package/dist/components/charts/xy-chart/index.js +9 -8
- package/dist/components/charts/xy-chart/logic.js +56 -60
- package/dist/components/collapsible-card/index.js +11 -10
- package/dist/components/collapsible-card/styled.js +1 -1
- package/dist/components/color-picker/index.js +7120 -0
- package/dist/components/color-picker/logic.js +18 -0
- package/dist/components/color-picker/styled.js +7 -0
- package/dist/components/confirm/dialog.js +3 -3
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/data-grid/index.js +22 -0
- package/dist/components/data-grid/logic.js +15 -0
- package/dist/components/data-grid/styled.js +20 -0
- package/dist/components/data-map/components/controls/index.js +4 -6
- package/dist/components/data-map/index.js +11 -11
- package/dist/components/data-security-selectors/dissemination-list/index.js +192 -191
- package/dist/components/data-security-selectors/dissemination-list/styled.js +12 -12
- package/dist/components/data-security-selectors/security-level/index.js +18 -15
- package/dist/components/data-security-selectors/security-level/logic.js +18 -63
- package/dist/components/data-security-selectors/security-level/styled.js +23 -17
- package/dist/components/date-picker-with-custom-range/index.js +1 -1
- package/dist/components/date-range-picker/index.js +2748 -0
- package/dist/components/date-range-picker/styled.js +14 -0
- package/dist/components/date-time-picker/index.js +45 -46
- package/dist/components/divider/index.js +11 -11
- package/dist/components/document-viewer/components/action-buttons/index.js +15 -15
- package/dist/components/document-viewer/components/navigation/index.js +9 -9
- package/dist/components/document-viewer/components/viewer/index.js +31 -35
- package/dist/components/document-viewer/index.js +31 -39
- package/dist/components/document-viewer/logic.js +41 -34
- package/dist/components/document-viewer/styled.js +115 -27
- package/dist/components/duration-select/index.js +27 -0
- package/dist/components/duration-select/logic.js +21 -0
- package/dist/components/duration-select/styled.js +26 -0
- package/dist/components/editable-text/index.js +20 -0
- package/dist/components/editable-text/logic.js +18 -0
- package/dist/components/editable-text/styled.js +22 -0
- package/dist/components/geometry-picker/coordinate/index.js +29 -29
- package/dist/components/geometry-picker/edit/index.js +18 -18
- package/dist/components/geometry-picker/geometry/index.js +67 -67
- package/dist/components/geometry-picker/geometry/map-overlay.js +6 -6
- package/dist/components/geometry-picker/index.js +69 -86
- package/dist/components/geometry-picker/kml/index.js +16 -16
- package/dist/components/geometry-picker/logic.js +50 -57
- package/dist/components/geometry-picker/map/index.js +8 -8
- package/dist/components/geometry-picker/parser/coordinate-input/index.js +4 -4
- package/dist/components/geometry-picker/parser/index.js +46 -50
- package/dist/components/geometry-picker/parser/styled.js +22 -4
- package/dist/components/geometry-picker/styled.js +97 -37
- package/dist/components/geometry-picker/wkt/index.js +13 -13
- package/dist/components/heat-map/components/controls/index.js +4 -6
- package/dist/components/heat-map/components/legend/index.js +15 -17
- package/dist/components/heat-map/index.js +7 -7
- package/dist/components/instance-form/components/TopLabelWrapper.js +8 -48
- package/dist/components/instance-form/components/composite-list/index.js +5 -3
- package/dist/components/instance-form/components/composite-matrix/components/editable-table/index.js +83 -74
- package/dist/components/instance-form/components/composite-matrix/components/editor/index.js +45 -66
- package/dist/components/instance-form/components/composite-matrix/components/form/index.js +60 -75
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2425 -2422
- package/dist/components/instance-form/components/composite-matrix/components/table/index.js +33 -52
- package/dist/components/instance-form/components/composite-matrix/index.js +30 -36
- package/dist/components/instance-form/components/policy-list/index.js +47 -81
- package/dist/components/instance-form/components/variable/index.js +6 -9
- package/dist/components/instance-form/components/variables/index.js +48 -55
- package/dist/components/instance-form/helpers.js +9 -0
- package/dist/components/instance-form/index.js +402 -518
- package/dist/components/instance-form/logic.js +115 -0
- package/dist/components/instance-form/styled.js +487 -0
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- package/dist/components/instance-variable-list/index.js +11 -11
- package/dist/components/map/index.js +28 -6
- package/dist/components/map/styled.js +1 -1
- package/dist/components/notification/index.js +67 -0
- package/dist/components/notification/logic.js +30 -0
- package/dist/components/notification/store.js +23 -0
- package/dist/components/notification/styled.js +52 -0
- package/dist/components/object-profile-card/components/avatar/index.js +9 -10
- package/dist/components/object-profile-card/index.js +19 -20
- package/dist/components/paginated-list/index.js +2 -3
- package/dist/components/placeholder/index.js +10 -0
- package/dist/components/placeholder/logic.js +12 -0
- package/dist/components/placeholder/styled.js +32 -0
- package/dist/components/positional-tooltip/index.js +24 -0
- package/dist/components/positional-tooltip/styled.js +17 -0
- package/dist/components/property-mapping/index.js +204 -423
- package/dist/components/property-mapping/logic.js +156 -0
- package/dist/components/property-mapping/styled.js +199 -0
- package/dist/components/prr-map/components/controls/index.js +4 -6
- package/dist/components/prr-map/components/legend/index.js +26 -28
- package/dist/components/prr-map/index.js +5 -5
- package/dist/components/range-selector/styled.js +1106 -1034
- package/dist/components/raster-grid-map/components/controls/index.js +4 -6
- package/dist/components/raster-grid-map/components/legend/index.js +4 -6
- package/dist/components/raster-grid-map/index.js +5 -5
- package/dist/components/scroll-drag/index.js +22 -0
- package/dist/components/scroll-drag/logic.js +39 -0
- package/dist/components/scroll-drag/styled.js +17 -0
- package/dist/components/search-input/logic.js +35 -33
- package/dist/components/simple-pivot-table/index.js +12 -12
- package/dist/components/sortable-list/index.js +599 -0
- package/dist/components/sortable-list/logic.js +18 -0
- package/dist/components/sortable-list/styled.js +38 -0
- package/dist/components/static-text/index.js +6 -6
- package/dist/components/stats-box/index.js +12 -0
- package/dist/components/stats-box/styled.js +36 -0
- package/dist/components/template-form/components/property-list/index.js +27 -26
- package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
- package/dist/components/template-form/components/property-list/property-list-form.js +758 -12
- package/dist/components/template-form/components/recognition-property-list/index.js +11 -11
- 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 +24 -22
- package/dist/components/template-form/components/select-icon/index.js +24 -24
- package/dist/components/template-form/helpers.js +17 -0
- package/dist/components/template-form/index.js +270 -308
- package/dist/components/template-form/logic.js +69 -0
- package/dist/components/template-form/styled.js +84 -0
- package/dist/components/text-overflow/index.js +6 -0
- package/dist/components/text-overflow/styled.js +13 -0
- package/dist/components/timeline/index.js +12 -12
- package/dist/components/toggle-view-button/index.js +35 -0
- package/dist/components/toggle-view-button/logic.js +22 -0
- package/dist/components/toggle-view-button/styled.js +11 -0
- package/dist/components/tree-select/index.js +1 -1
- package/dist/components/visually-hidden-input/index.js +4 -0
- package/dist/components/visually-hidden-input/styled.js +18 -0
- package/dist/createChainedFunction-C0nujS3O.js +9 -0
- package/dist/{createSvgIcon-DX-SqL8M.js → createSvgIcon-Ch_cT8az.js} +68 -65
- package/dist/createSvgIcon-DuDuASu1.js +62 -0
- package/dist/debounce-46wSf_lW.js +15 -0
- package/dist/{dialog-cf4HUXXl.js → dialog-BYRnCztH.js} +30 -29
- package/dist/formControlState-vgaj2ksH.js +10 -0
- package/dist/generateUtilityClasses-C3ivN9Ie.js +2973 -0
- package/dist/{helpers-B4UL9NMD.js → helpers-D4uXfBfO.js} +2 -2
- package/dist/index-BtlzPygz.js +470 -0
- package/dist/index-DH6qsPBn.js +153 -0
- package/dist/{index-C8C3YXle.js → index-e9xTIYWt.js} +139 -137
- package/dist/main.d.ts +1054 -330
- package/dist/main.js +163 -130
- package/dist/ownerWindow-wg6foiOE.js +10 -0
- package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
- package/dist/styled-Db1RdcPA.js +323 -0
- package/dist/unsupportedProp-DuqR2hj9.js +36 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useId-BW-oWmul.js +19 -0
- package/dist/{useMobilePicker-B-M3dnTn.js → useMobilePicker-CY8ndYRL.js} +4777 -4491
- package/dist/useSlot-B_Q4vnX5.js +42 -0
- package/package.json +15 -7
- package/dist/AccordionSummary-CMg08YSA.js +0 -739
- package/dist/Add-DuVVJeQU.js +0 -380
- package/dist/ButtonBase-sObABYY2.js +0 -965
- package/dist/FormControl-BCurCxRj.js +0 -1294
- package/dist/FormControlLabel-BkRfrhNy.js +0 -601
- package/dist/InputAdornment-C7PEvvYr.js +0 -155
- package/dist/Modal-DlB6GH-f.js +0 -1659
- package/dist/Paper-q9kKjAKx.js +0 -527
- package/dist/TextField-DSDIEEKu.js +0 -3161
- package/dist/assertThisInitialized-BUtkG-md.js +0 -13
- package/dist/capitalize-quqpGCFu.js +0 -9
- package/dist/components/instance-form/components/composite-list/styled.js +0 -73
- package/dist/components/instance-form/components/composite-matrix/components/editor/styled.js +0 -1
- package/dist/components/instance-form/components/composite-matrix/styled.js +0 -69
- package/dist/components/key-protection/index.js +0 -47
- package/dist/components/key-protection/logic.js +0 -40
- package/dist/components/key-protection/styled.js +0 -45
- package/dist/components/key-protection/utils.js +0 -10
- package/dist/createSvgIcon-BM3-TsGy.js +0 -70
- package/dist/index-BMS1Otro.js +0 -183
- package/dist/index-DPKUmQnz.js +0 -501
- package/dist/index-kCJ_Zvl8.js +0 -34
- package/dist/isMuiElement-BkJ72LB3.js +0 -26
- package/dist/property-list-form-DL_dEoNn.js +0 -381
- package/dist/styled-Bsjp3kFh.js +0 -668
- package/dist/unsupportedProp-BND8AB6O.js +0 -25
- package/dist/useId-B4-oF9Mq.js +0 -34
- package/dist/utils-Cxu-fHjQ.js +0 -115
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { styled as e, TextField as l, FormGroup as a, Box as o, Button as m, FormLabel as n } from "@mui/material";
|
|
2
|
+
const s = e("form", {
|
|
3
|
+
name: "HCTemplateForm",
|
|
4
|
+
slot: "root"
|
|
5
|
+
})({}), p = e(l, {
|
|
6
|
+
name: "HCTemplateForm",
|
|
7
|
+
slot: "field"
|
|
8
|
+
})(({ theme: t }) => ({
|
|
9
|
+
marginBottom: t.spacing(2)
|
|
10
|
+
})), c = e(a, {
|
|
11
|
+
name: "HCTemplateForm",
|
|
12
|
+
slot: "fieldGroup"
|
|
13
|
+
})(({ theme: t }) => ({
|
|
14
|
+
marginBottom: t.spacing(2)
|
|
15
|
+
})), i = e(a, {
|
|
16
|
+
name: "HCTemplateForm",
|
|
17
|
+
slot: "checkboxesRow"
|
|
18
|
+
})(({ theme: t }) => ({
|
|
19
|
+
marginBottom: t.spacing(2)
|
|
20
|
+
})), T = e(o, {
|
|
21
|
+
name: "HCTemplateForm",
|
|
22
|
+
slot: "actionsRow"
|
|
23
|
+
})(({ theme: t }) => ({
|
|
24
|
+
display: "flex",
|
|
25
|
+
justifyContent: "space-between",
|
|
26
|
+
marginTop: t.spacing(3)
|
|
27
|
+
})), F = e(o, {
|
|
28
|
+
name: "HCTemplateForm",
|
|
29
|
+
slot: "actionsRight"
|
|
30
|
+
})({}), C = e(m, {
|
|
31
|
+
name: "HCTemplateForm",
|
|
32
|
+
slot: "cancelButton"
|
|
33
|
+
})({
|
|
34
|
+
textTransform: "none"
|
|
35
|
+
}), f = e(m, {
|
|
36
|
+
name: "HCTemplateForm",
|
|
37
|
+
slot: "saveButton"
|
|
38
|
+
})({
|
|
39
|
+
textTransform: "none"
|
|
40
|
+
}), g = e(m, {
|
|
41
|
+
name: "HCTemplateForm",
|
|
42
|
+
slot: "extraSaveButton"
|
|
43
|
+
})(({ theme: t }) => ({
|
|
44
|
+
marginLeft: t.spacing(1),
|
|
45
|
+
textTransform: "none"
|
|
46
|
+
})), u = e(n, {
|
|
47
|
+
name: "HCTemplateForm",
|
|
48
|
+
slot: "topLabel"
|
|
49
|
+
})(({ theme: t }) => ({
|
|
50
|
+
display: "block",
|
|
51
|
+
marginBottom: t.spacing(0.5)
|
|
52
|
+
})), B = e(o, {
|
|
53
|
+
name: "HCTemplateForm",
|
|
54
|
+
slot: "leftLayout"
|
|
55
|
+
})(({ theme: t }) => ({
|
|
56
|
+
display: "flex",
|
|
57
|
+
alignItems: "center",
|
|
58
|
+
marginBottom: t.spacing(2)
|
|
59
|
+
})), H = e(n, {
|
|
60
|
+
name: "HCTemplateForm",
|
|
61
|
+
slot: "leftLabel"
|
|
62
|
+
})({
|
|
63
|
+
width: "32%"
|
|
64
|
+
}), x = e(o, {
|
|
65
|
+
name: "HCTemplateForm",
|
|
66
|
+
slot: "leftContent"
|
|
67
|
+
})({
|
|
68
|
+
width: "68%"
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
F as TemplateFormActionsRight,
|
|
72
|
+
T as TemplateFormActionsRow,
|
|
73
|
+
C as TemplateFormCancelButton,
|
|
74
|
+
i as TemplateFormCheckboxesRow,
|
|
75
|
+
g as TemplateFormExtraSaveButton,
|
|
76
|
+
p as TemplateFormField,
|
|
77
|
+
c as TemplateFormFieldGroup,
|
|
78
|
+
x as TemplateFormLeftContent,
|
|
79
|
+
H as TemplateFormLeftLabel,
|
|
80
|
+
B as TemplateFormLeftLayout,
|
|
81
|
+
s as TemplateFormRoot,
|
|
82
|
+
f as TemplateFormSaveButton,
|
|
83
|
+
u as TemplateFormTopLabel
|
|
84
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { styled as e, Box as o } from "@mui/material";
|
|
2
|
+
const l = e(o, {
|
|
3
|
+
name: "HCTextOverflow",
|
|
4
|
+
slot: "root"
|
|
5
|
+
})({
|
|
6
|
+
display: "table-cell",
|
|
7
|
+
whiteSpace: "nowrap",
|
|
8
|
+
textOverflow: "ellipsis",
|
|
9
|
+
overflow: "hidden"
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
l as TextOverflowRoot
|
|
13
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import { Timeline as C, TimelineItem as v, TimelineOppositeContent as M, TimelineSeparator as S, TimelineConnector as d, TimelineContent as W } from "@mui/lab";
|
|
3
3
|
import { Skeleton as b, Typography as o, Divider as c, Box as k, Button as w } from "@mui/material";
|
|
4
4
|
import { useTimelineLogic as D } from "./logic.js";
|
|
5
5
|
import { TimelineRoot as h, TimelineContentWrap as m, TimelineHeader as L, TimelineDotStyled as j, LoadMoreWrap as B } from "./styled.js";
|
|
6
|
-
|
|
6
|
+
const q = (p) => {
|
|
7
7
|
const {
|
|
8
8
|
items: s,
|
|
9
9
|
hasMore: T,
|
|
@@ -16,11 +16,11 @@ function q(p) {
|
|
|
16
16
|
sx: l,
|
|
17
17
|
other: a
|
|
18
18
|
} = D(p);
|
|
19
|
-
return u ? /* @__PURE__ */ e(h, { ownerState: i, sx: l, ...a, children: /* @__PURE__ */ e(m, { ownerState: i, children: /* @__PURE__ */ e(b, { variant: "rectangular", width: "100%", height: "100%" }) }) }) : /* @__PURE__ */
|
|
19
|
+
return u ? /* @__PURE__ */ e(h, { ownerState: i, sx: l, ...a, children: /* @__PURE__ */ e(m, { ownerState: i, children: /* @__PURE__ */ e(b, { variant: "rectangular", width: "100%", height: "100%" }) }) }) : /* @__PURE__ */ r(h, { ownerState: i, sx: l, ...a, children: [
|
|
20
20
|
t && /* @__PURE__ */ e(L, { ownerState: i, children: /* @__PURE__ */ e(o, { variant: "h2", children: t }) }),
|
|
21
|
-
/* @__PURE__ */
|
|
21
|
+
/* @__PURE__ */ r(m, { ownerState: i, children: [
|
|
22
22
|
/* @__PURE__ */ e(c, {}),
|
|
23
|
-
/* @__PURE__ */ e(C, { children: s.map((
|
|
23
|
+
/* @__PURE__ */ e(C, { children: s.map((n) => /* @__PURE__ */ r(v, { children: [
|
|
24
24
|
/* @__PURE__ */ e(
|
|
25
25
|
M,
|
|
26
26
|
{
|
|
@@ -28,10 +28,10 @@ function q(p) {
|
|
|
28
28
|
align: "right",
|
|
29
29
|
variant: "caption",
|
|
30
30
|
color: "text.secondary",
|
|
31
|
-
children: g(
|
|
31
|
+
children: g(n)
|
|
32
32
|
}
|
|
33
33
|
),
|
|
34
|
-
/* @__PURE__ */
|
|
34
|
+
/* @__PURE__ */ r(S, { children: [
|
|
35
35
|
/* @__PURE__ */ e(d, {}),
|
|
36
36
|
/* @__PURE__ */ e(j, { children: f || /* @__PURE__ */ e(
|
|
37
37
|
k,
|
|
@@ -46,16 +46,16 @@ function q(p) {
|
|
|
46
46
|
) }),
|
|
47
47
|
/* @__PURE__ */ e(d, {})
|
|
48
48
|
] }),
|
|
49
|
-
/* @__PURE__ */
|
|
50
|
-
/* @__PURE__ */ e(o, { variant: "body2", component: "span", children:
|
|
51
|
-
/* @__PURE__ */ e(o, { component: "span", children:
|
|
49
|
+
/* @__PURE__ */ r(W, { sx: { py: "12px", px: 2 }, children: [
|
|
50
|
+
/* @__PURE__ */ e(o, { variant: "body2", component: "span", children: n.title }),
|
|
51
|
+
/* @__PURE__ */ e(o, { component: "span", children: n.description })
|
|
52
52
|
] })
|
|
53
|
-
] },
|
|
53
|
+
] }, n.id)) }),
|
|
54
54
|
/* @__PURE__ */ e(c, {}),
|
|
55
55
|
T && /* @__PURE__ */ e(B, { ownerState: i, children: /* @__PURE__ */ e(w, { onClick: x, fullWidth: !0, size: "large", children: "Load More" }) })
|
|
56
56
|
] })
|
|
57
57
|
] });
|
|
58
|
-
}
|
|
58
|
+
};
|
|
59
59
|
export {
|
|
60
60
|
q as TimelineWidget
|
|
61
61
|
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { FormControlLabel as r, Radio as d, Button as u, Tooltip as m, IconButton as h } from "@mui/material";
|
|
3
|
+
import { useToggleViewButtonLogic as s } from "./logic.js";
|
|
4
|
+
import { ToggleViewButtonRoot as l } from "./styled.js";
|
|
5
|
+
const b = (t) => {
|
|
6
|
+
const { state: a, actions: i } = s(t), { ownerState: o, isActive: n, type: c } = a;
|
|
7
|
+
return c === "radio" ? /* @__PURE__ */ e(l, { ownerState: o, sx: t.sx, children: /* @__PURE__ */ e(
|
|
8
|
+
r,
|
|
9
|
+
{
|
|
10
|
+
value: t.view,
|
|
11
|
+
control: /* @__PURE__ */ e(d, { size: t.size }),
|
|
12
|
+
label: t.label,
|
|
13
|
+
sx: t.size === "small" ? { "& .MuiTypography-root": { fontSize: 14 } } : void 0,
|
|
14
|
+
onClick: i.handleClick
|
|
15
|
+
}
|
|
16
|
+
) }) : c === "button" ? /* @__PURE__ */ e(l, { ownerState: o, sx: t.sx, children: /* @__PURE__ */ e(
|
|
17
|
+
u,
|
|
18
|
+
{
|
|
19
|
+
variant: n ? "contained" : "outlined",
|
|
20
|
+
onClick: i.handleClick,
|
|
21
|
+
startIcon: t.icon,
|
|
22
|
+
children: t.label
|
|
23
|
+
}
|
|
24
|
+
) }) : /* @__PURE__ */ e(l, { ownerState: o, sx: t.sx, children: /* @__PURE__ */ e(m, { title: t.label, placement: "top", children: /* @__PURE__ */ e(
|
|
25
|
+
h,
|
|
26
|
+
{
|
|
27
|
+
color: n ? "primary" : "default",
|
|
28
|
+
onClick: i.handleClick,
|
|
29
|
+
children: t.icon
|
|
30
|
+
}
|
|
31
|
+
) }) });
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
b as ToggleViewButton
|
|
35
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { useThemeProps as s } from "@mui/material";
|
|
2
|
+
const a = (c) => {
|
|
3
|
+
const e = s({
|
|
4
|
+
props: c,
|
|
5
|
+
name: "HCToggleViewButton"
|
|
6
|
+
}), t = e.type ?? "icononly", o = e.currentView === e.view, i = {
|
|
7
|
+
...e,
|
|
8
|
+
type: t,
|
|
9
|
+
isActive: o
|
|
10
|
+
};
|
|
11
|
+
return {
|
|
12
|
+
refs: {},
|
|
13
|
+
state: { ownerState: i, isActive: o, type: t },
|
|
14
|
+
actions: { handleClick: () => {
|
|
15
|
+
var n;
|
|
16
|
+
(n = e.onClick) == null || n.call(e, e.view);
|
|
17
|
+
} }
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
a as useToggleViewButtonLogic
|
|
22
|
+
};
|
|
@@ -3,7 +3,7 @@ import c from "lodash";
|
|
|
3
3
|
import { TreeViewFilter as T } from "../treeview-filter/index.js";
|
|
4
4
|
import { useTreeSelectLogic as f } from "./logic.js";
|
|
5
5
|
import { TreeSelectRoot as g, TreeSelectLabel as S, TreeSelectFormControl as x, TreeSelectInput as C, TreeSelectMenuItem as v, TreeSelectDialog as I, TreeSelectDialogContent as W, TreeSelectDialogActions as D, TreeSelectConfirmButton as L } from "./styled.js";
|
|
6
|
-
import { I as O } from "../../InputLabel-
|
|
6
|
+
import { I as O } from "../../InputLabel-Dd8RrneV.js";
|
|
7
7
|
const K = (e) => {
|
|
8
8
|
const { state: h, actions: t } = f(e), { ownerState: s, open: u, expanded: m, selectedItems: i, idKey: o, variant: r, labelPosition: a } = h;
|
|
9
9
|
return /* @__PURE__ */ d(g, { ownerState: s, sx: e.sx, children: [
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { styled as t } from "@mui/material";
|
|
2
|
+
const o = t("input", {
|
|
3
|
+
name: "HCVisuallyHiddenInput",
|
|
4
|
+
slot: "root"
|
|
5
|
+
})({
|
|
6
|
+
clip: "rect(0 0 0 0)",
|
|
7
|
+
clipPath: "inset(50%)",
|
|
8
|
+
height: 1,
|
|
9
|
+
overflow: "hidden",
|
|
10
|
+
position: "absolute",
|
|
11
|
+
bottom: 0,
|
|
12
|
+
left: 0,
|
|
13
|
+
whiteSpace: "nowrap",
|
|
14
|
+
width: 1
|
|
15
|
+
});
|
|
16
|
+
export {
|
|
17
|
+
o as VisuallyHiddenInput
|
|
18
|
+
};
|
|
@@ -1,103 +1,106 @@
|
|
|
1
|
-
import { _ as b, a as
|
|
2
|
-
import * as
|
|
3
|
-
import { jsxs as I, jsx as
|
|
1
|
+
import { _ as b, a as S } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
2
|
+
import * as g from "react";
|
|
3
|
+
import { jsxs as I, jsx as _ } from "react/jsx-runtime";
|
|
4
4
|
import { P as o } from "./index-C__OZmYy.js";
|
|
5
|
-
import {
|
|
6
|
-
import { c as
|
|
7
|
-
function
|
|
8
|
-
return
|
|
5
|
+
import { c as w } from "./clsx-OuTLNxxd.js";
|
|
6
|
+
import { a as C, g as N, s as T, b as v, u as R, c as O } from "./generateUtilityClasses-C3ivN9Ie.js";
|
|
7
|
+
function B(e) {
|
|
8
|
+
return C("MuiSvgIcon", e);
|
|
9
9
|
}
|
|
10
10
|
N("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
11
|
-
const
|
|
11
|
+
const j = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], A = (e) => {
|
|
12
12
|
const {
|
|
13
13
|
color: t,
|
|
14
14
|
fontSize: n,
|
|
15
|
-
classes:
|
|
16
|
-
} = e,
|
|
17
|
-
root: ["root", t !== "inherit" && `color${
|
|
15
|
+
classes: r
|
|
16
|
+
} = e, i = {
|
|
17
|
+
root: ["root", t !== "inherit" && `color${v(t)}`, `fontSize${v(n)}`]
|
|
18
18
|
};
|
|
19
|
-
return
|
|
20
|
-
},
|
|
19
|
+
return O(i, B, r);
|
|
20
|
+
}, E = T("svg", {
|
|
21
21
|
name: "MuiSvgIcon",
|
|
22
22
|
slot: "Root",
|
|
23
23
|
overridesResolver: (e, t) => {
|
|
24
24
|
const {
|
|
25
25
|
ownerState: n
|
|
26
26
|
} = e;
|
|
27
|
-
return [t.root, n.color !== "inherit" && t[`color${
|
|
27
|
+
return [t.root, n.color !== "inherit" && t[`color${v(n.color)}`], t[`fontSize${v(n.fontSize)}`]];
|
|
28
28
|
}
|
|
29
29
|
})(({
|
|
30
30
|
theme: e,
|
|
31
31
|
ownerState: t
|
|
32
32
|
}) => {
|
|
33
|
-
var n, i,
|
|
33
|
+
var n, r, i, u, f, c, h, d, m, s, a, p, l;
|
|
34
34
|
return {
|
|
35
35
|
userSelect: "none",
|
|
36
36
|
width: "1em",
|
|
37
37
|
height: "1em",
|
|
38
38
|
display: "inline-block",
|
|
39
|
-
|
|
39
|
+
// the <svg> will define the property that has `currentColor`
|
|
40
|
+
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
41
|
+
fill: t.hasSvgAsChild ? void 0 : "currentColor",
|
|
40
42
|
flexShrink: 0,
|
|
41
|
-
transition: (n = e.transitions) == null || (
|
|
42
|
-
duration: (
|
|
43
|
+
transition: (n = e.transitions) == null || (r = n.create) == null ? void 0 : r.call(n, "fill", {
|
|
44
|
+
duration: (i = e.transitions) == null || (i = i.duration) == null ? void 0 : i.shorter
|
|
43
45
|
}),
|
|
44
46
|
fontSize: {
|
|
45
47
|
inherit: "inherit",
|
|
46
|
-
small: ((
|
|
47
|
-
medium: ((
|
|
48
|
-
large: ((
|
|
48
|
+
small: ((u = e.typography) == null || (f = u.pxToRem) == null ? void 0 : f.call(u, 20)) || "1.25rem",
|
|
49
|
+
medium: ((c = e.typography) == null || (h = c.pxToRem) == null ? void 0 : h.call(c, 24)) || "1.5rem",
|
|
50
|
+
large: ((d = e.typography) == null || (m = d.pxToRem) == null ? void 0 : m.call(d, 35)) || "2.1875rem"
|
|
49
51
|
}[t.fontSize],
|
|
50
52
|
// TODO v5 deprecate, v6 remove for sx
|
|
51
|
-
color: (
|
|
52
|
-
action: (
|
|
53
|
-
disabled: (
|
|
53
|
+
color: (s = (a = (e.vars || e).palette) == null || (a = a[t.color]) == null ? void 0 : a.main) != null ? s : {
|
|
54
|
+
action: (p = (e.vars || e).palette) == null || (p = p.action) == null ? void 0 : p.active,
|
|
55
|
+
disabled: (l = (e.vars || e).palette) == null || (l = l.action) == null ? void 0 : l.disabled,
|
|
54
56
|
inherit: void 0
|
|
55
57
|
}[t.color]
|
|
56
58
|
};
|
|
57
|
-
}),
|
|
58
|
-
const
|
|
59
|
+
}), y = /* @__PURE__ */ g.forwardRef(function(t, n) {
|
|
60
|
+
const r = R({
|
|
59
61
|
props: t,
|
|
60
62
|
name: "MuiSvgIcon"
|
|
61
63
|
}), {
|
|
62
|
-
children:
|
|
63
|
-
className:
|
|
64
|
-
color:
|
|
64
|
+
children: i,
|
|
65
|
+
className: u,
|
|
66
|
+
color: f = "inherit",
|
|
65
67
|
component: c = "svg",
|
|
66
|
-
fontSize:
|
|
67
|
-
htmlColor:
|
|
68
|
-
inheritViewBox:
|
|
69
|
-
titleAccess:
|
|
70
|
-
viewBox:
|
|
71
|
-
} =
|
|
72
|
-
color:
|
|
68
|
+
fontSize: h = "medium",
|
|
69
|
+
htmlColor: d,
|
|
70
|
+
inheritViewBox: m = !1,
|
|
71
|
+
titleAccess: s,
|
|
72
|
+
viewBox: a = "0 0 24 24"
|
|
73
|
+
} = r, p = b(r, j), l = /* @__PURE__ */ g.isValidElement(i) && i.type === "svg", x = S({}, r, {
|
|
74
|
+
color: f,
|
|
73
75
|
component: c,
|
|
74
|
-
fontSize:
|
|
76
|
+
fontSize: h,
|
|
75
77
|
instanceFontSize: t.fontSize,
|
|
76
|
-
inheritViewBox:
|
|
77
|
-
viewBox:
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
inheritViewBox: m,
|
|
79
|
+
viewBox: a,
|
|
80
|
+
hasSvgAsChild: l
|
|
81
|
+
}), $ = {};
|
|
82
|
+
m || ($.viewBox = a);
|
|
83
|
+
const z = A(x);
|
|
84
|
+
return /* @__PURE__ */ I(E, S({
|
|
82
85
|
as: c,
|
|
83
|
-
className:
|
|
86
|
+
className: w(z.root, u),
|
|
84
87
|
focusable: "false",
|
|
85
|
-
color:
|
|
86
|
-
"aria-hidden":
|
|
87
|
-
role:
|
|
88
|
+
color: d,
|
|
89
|
+
"aria-hidden": s ? void 0 : !0,
|
|
90
|
+
role: s ? "img" : void 0,
|
|
88
91
|
ref: n
|
|
89
|
-
},
|
|
90
|
-
ownerState:
|
|
91
|
-
children: [
|
|
92
|
-
children:
|
|
92
|
+
}, $, p, l && i.props, {
|
|
93
|
+
ownerState: x,
|
|
94
|
+
children: [l ? i.props.children : i, s ? /* @__PURE__ */ _("title", {
|
|
95
|
+
children: s
|
|
93
96
|
}) : null]
|
|
94
97
|
}));
|
|
95
98
|
});
|
|
96
|
-
process.env.NODE_ENV !== "production" && (
|
|
97
|
-
//
|
|
98
|
-
//
|
|
99
|
-
//
|
|
100
|
-
//
|
|
99
|
+
process.env.NODE_ENV !== "production" && (y.propTypes = {
|
|
100
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
101
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
102
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
103
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
101
104
|
/**
|
|
102
105
|
* Node passed into the SVG element.
|
|
103
106
|
*/
|
|
@@ -113,7 +116,7 @@ process.env.NODE_ENV !== "production" && (S.propTypes = {
|
|
|
113
116
|
/**
|
|
114
117
|
* The color of the component.
|
|
115
118
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
116
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
119
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
117
120
|
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
118
121
|
* @default 'inherit'
|
|
119
122
|
*/
|
|
@@ -165,18 +168,18 @@ process.env.NODE_ENV !== "production" && (S.propTypes = {
|
|
|
165
168
|
*/
|
|
166
169
|
viewBox: o.string
|
|
167
170
|
});
|
|
168
|
-
|
|
169
|
-
function
|
|
170
|
-
function n(
|
|
171
|
-
return /* @__PURE__ */
|
|
171
|
+
y.muiName = "SvgIcon";
|
|
172
|
+
function k(e, t) {
|
|
173
|
+
function n(r, i) {
|
|
174
|
+
return /* @__PURE__ */ _(y, S({
|
|
172
175
|
"data-testid": `${t}Icon`,
|
|
173
|
-
ref:
|
|
174
|
-
},
|
|
176
|
+
ref: i
|
|
177
|
+
}, r, {
|
|
175
178
|
children: e
|
|
176
179
|
}));
|
|
177
180
|
}
|
|
178
|
-
return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName =
|
|
181
|
+
return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = y.muiName, /* @__PURE__ */ g.memo(/* @__PURE__ */ g.forwardRef(n));
|
|
179
182
|
}
|
|
180
183
|
export {
|
|
181
|
-
|
|
184
|
+
k as c
|
|
182
185
|
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { g as l } from "./_commonjsHelpers-BVfed4GL.js";
|
|
2
|
+
import { c as f } from "./createSvgIcon-Ch_cT8az.js";
|
|
3
|
+
import { C as d, b as p } from "./generateUtilityClasses-C3ivN9Ie.js";
|
|
4
|
+
import { d as g } from "./debounce-46wSf_lW.js";
|
|
5
|
+
import { o as b, a as v } from "./ownerWindow-wg6foiOE.js";
|
|
6
|
+
import { i as h, r as _, u as E } from "./unsupportedProp-DuqR2hj9.js";
|
|
7
|
+
import { s as N, a as C, b as I, u as S } from "./TransitionGroupContext-BDAp2T0O.js";
|
|
8
|
+
import { c as y } from "./createChainedFunction-C0nujS3O.js";
|
|
9
|
+
import { u as $ } from "./useId-BW-oWmul.js";
|
|
10
|
+
import { u as O } from "./useControlled-BYdyS7Pn.js";
|
|
11
|
+
import { u as P } from "./ButtonBase-BEF7oTOe.js";
|
|
12
|
+
var t = {};
|
|
13
|
+
function j(e, r) {
|
|
14
|
+
return process.env.NODE_ENV === "production" ? () => null : (s, o, n, u, i) => {
|
|
15
|
+
const c = n || "<<anonymous>>", m = i || o;
|
|
16
|
+
return typeof s[o] < "u" ? new Error(`The ${u} \`${m}\` of \`${c}\` is deprecated. ${r}`) : null;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
const w = {
|
|
20
|
+
configure: (e) => {
|
|
21
|
+
process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
|
|
22
|
+
`)), d.configure(e);
|
|
23
|
+
}
|
|
24
|
+
}, F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
|
+
__proto__: null,
|
|
26
|
+
capitalize: p,
|
|
27
|
+
createChainedFunction: y,
|
|
28
|
+
createSvgIcon: f,
|
|
29
|
+
debounce: g,
|
|
30
|
+
deprecatedPropType: j,
|
|
31
|
+
isMuiElement: h,
|
|
32
|
+
ownerDocument: b,
|
|
33
|
+
ownerWindow: v,
|
|
34
|
+
requirePropFactory: _,
|
|
35
|
+
setRef: N,
|
|
36
|
+
unstable_ClassNameGenerator: w,
|
|
37
|
+
unstable_useEnhancedEffect: C,
|
|
38
|
+
unstable_useId: $,
|
|
39
|
+
unsupportedProp: E,
|
|
40
|
+
useControlled: O,
|
|
41
|
+
useEventCallback: I,
|
|
42
|
+
useForkRef: S,
|
|
43
|
+
useIsFocusVisible: P
|
|
44
|
+
}, Symbol.toStringTag, { value: "Module" })), T = /* @__PURE__ */ l(F);
|
|
45
|
+
var a;
|
|
46
|
+
function W() {
|
|
47
|
+
return a || (a = 1, function(e) {
|
|
48
|
+
"use client";
|
|
49
|
+
Object.defineProperty(e, "__esModule", {
|
|
50
|
+
value: !0
|
|
51
|
+
}), Object.defineProperty(e, "default", {
|
|
52
|
+
enumerable: !0,
|
|
53
|
+
get: function() {
|
|
54
|
+
return r.createSvgIcon;
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
var r = T;
|
|
58
|
+
}(t)), t;
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
W as r
|
|
62
|
+
};
|