kdpa-components 1.0.0 → 1.2.0
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/CHANGELOG.md +7 -0
- package/dist/Accordion/index.js +17 -19
- package/dist/Alert/index.js +19 -20
- package/dist/{ArrowDropDown-4bc3084f.js → ArrowDropDown-07b9ccae.js} +19 -20
- package/dist/Avatar/index.js +7 -8
- package/dist/Badge/index.js +22 -24
- package/dist/{Box-af81b133.js → Box-032e9a1d.js} +25 -27
- package/dist/{Button-da8592f4.js → Button-9d9cc0bd.js} +18 -20
- package/dist/{ButtonBase-496494a5.js → ButtonBase-fa4630c8.js} +35 -37
- package/dist/Buttons/index.js +28 -30
- package/dist/{CSSTransition-5496e075.js → CSSTransition-7e2d0e80.js} +3 -3
- package/dist/Cards/index.d.ts +2 -0
- package/dist/Cards/index.d.ts.map +1 -1
- package/dist/Cards/index.js +150 -1
- package/dist/CheckBox/index.js +13 -14
- package/dist/Chip/index.js +17 -19
- package/dist/{Chip-2dfcd6e9.js → Chip-e5751770.js} +25 -27
- package/dist/{CircularProgress-e1f22f2a.js → CircularProgress-01a8929e.js} +19 -21
- package/dist/{Close-319784e1.js → Close-db7afda5.js} +2 -2
- package/dist/Collapse/index.js +10 -12
- package/dist/{Collapse-75d5ed79.js → Collapse-547e6c7a.js} +27 -30
- package/dist/CopyToClipboard/index.js +24 -26
- package/dist/{Dialog-0eadb508.js → Dialog-652a3ad4.js} +19 -21
- package/dist/Divider/index.js +7 -8
- package/dist/DropZone/index.js +34 -36
- package/dist/{Fade-6a96fc41.js → Fade-7ee2c0a4.js} +23 -25
- package/dist/FormControl/index.js +12 -13
- package/dist/{FormControl-c914b3de.js → FormControl-ca7447ab.js} +13 -15
- package/dist/FullScreenDialog/index.js +20 -22
- package/dist/Grid/index.js +9 -10
- package/dist/{Grid-4cbef6c7.js → Grid-9708b9ca.js} +65 -67
- package/dist/{Grow-8a97586f.js → Grow-55d0786d.js} +17 -19
- package/dist/{IconButton-b4e677f7.js → IconButton-48d87778.js} +30 -32
- package/dist/Input/index.js +27 -29
- package/dist/{KdpaAccordions-60fefaf0.js → KdpaAccordions-2ae65dd1.js} +126 -115
- package/dist/{KdpaAlertTitle-497100ba.js → KdpaAlertTitle-f1549035.js} +93 -82
- package/dist/{KdpaAutoComplete-9c0b8d4d.js → KdpaAutoComplete-8a11974a.js} +237 -234
- package/dist/{KdpaAvatar-da84b516.js → KdpaAvatar-d297ef8a.js} +75 -72
- package/dist/{KdpaCheckBox-d06c93b0.js → KdpaCheckBox-84d56486.js} +33 -30
- package/dist/KdpaChip-10899788.js +51 -0
- package/dist/KdpaCircularProgress-6c4605cd.js +76 -0
- package/dist/KdpaCollapse-2d23c312.js +12 -0
- package/dist/KdpaCollapse-73c03e02.js +23 -0
- package/dist/{KdpaCopyToClipboard-2c36d593.js → KdpaCopyToClipboard-53aa97d3.js} +196 -160
- package/dist/{KdpaDateTimePicker-8e9da3c8.js → KdpaDateTimePicker-cb4a16d0.js} +10530 -13197
- package/dist/{KdpaDivider-10de74db.js → KdpaDivider-1c62c65a.js} +95 -84
- package/dist/{KdpaDropZone-85943160.js → KdpaDropZone-b21d2304.js} +631 -531
- package/dist/KdpaFormControl-135b070d.js +10 -0
- package/dist/{KdpaFormControlLabel-8a6ff2a6.js → KdpaFormControlLabel-249b7622.js} +57 -54
- package/dist/KdpaFullScreenDialog-e56db731.js +24 -0
- package/dist/KdpaGrid-2a3f9346.js +12 -0
- package/dist/{KdpaGridBadge-d8a8e388.js → KdpaGridBadge-65b88a7a.js} +123 -104
- package/dist/KdpaIconButton-a0ee669c.js +35 -0
- package/dist/KdpaInputMultiline-231a2be1.js +68 -0
- package/dist/{KdpaLazyDrop-347b6e24.js → KdpaLazyDrop-1985fc75.js} +254 -217
- package/dist/KdpaMenuItem-99cde871.js +56 -0
- package/dist/{KdpaSimpleModal-6ab72b9c.js → KdpaModalImage-eb732bf0.js} +176 -185
- package/dist/{KdpaPaginationGrid-6e4cd782.js → KdpaPaginationGrid-97a5b164.js} +343 -283
- package/dist/{KdpaRadioGroup-de6c67d4.js → KdpaRadioGroup-87122ec7.js} +129 -122
- package/dist/{KdpaRtlProvider-d7cc5029.js → KdpaRtlProvider-495e4bb0.js} +169 -162
- package/dist/KdpaSecondaryButton-a70aafe5.js +44 -0
- package/dist/KdpaSkeleton-f8f3aefc.js +580 -0
- package/dist/{KdpaSlider-93a991f0.js → KdpaSlider-b7226e20.js} +196 -182
- package/dist/{KdpaSwitch-2f07cd38.js → KdpaSwitch-b2ba7c23.js} +50 -43
- package/dist/KdpaTabs-ab618f36.js +50 -0
- package/dist/{KdpaTooltip-e30e1eea.js → KdpaTooltip-653424c7.js} +95 -88
- package/dist/{KdpaTree-8428a368.js → KdpaTree-2e1df83d.js} +348 -304
- package/dist/{KdpaTreeSelect-7fe5581c.js → KdpaTreeSelect-0152302e.js} +625 -609
- package/dist/KdpaTypography-763c3238.js +10 -0
- package/dist/KdpaZoom-1b0f3404.js +22 -0
- package/dist/KpdaPrimaryButton-5416aa2c.js +79 -0
- package/dist/LazyDrop/index.js +24 -24
- package/dist/{ListItem-da6701a3.js → ListItem-ddec0b28.js} +14 -16
- package/dist/Loading/KdpaProgress/index.js +12 -13
- package/dist/Loading/index.js +11 -12
- package/dist/{MenuItem-b9a45c1d.js → MenuItem-057c85a3.js} +44 -46
- package/dist/Modal/index.d.ts +0 -2
- package/dist/Modal/index.d.ts.map +1 -1
- package/dist/Modal/index.js +3 -17
- package/dist/{Modal-1e4a342f.js → Modal-daf2a588.js} +18 -20
- package/dist/PaginationGrid/index.js +33 -34
- package/dist/{Paper-ad7ba238.js → Paper-00aea968.js} +16 -18
- package/dist/Pickers/index.d.ts +2 -1
- package/dist/Pickers/index.d.ts.map +1 -1
- package/dist/Pickers/index.js +43 -45
- package/dist/{Popper-20f4d1e9.js → Popper-7adcd815.js} +13 -15
- package/dist/{Portal-1b00a402.js → Portal-de5e310c.js} +6 -7
- package/dist/Radio/index.js +14 -15
- package/dist/Selects/index.js +39 -40
- package/dist/{Slide-d61a6d2b.js → Slide-803fd098.js} +17 -19
- package/dist/Slider/index.js +8 -9
- package/dist/Switch/index.js +12 -13
- package/dist/{SwitchBase-e8b18f94.js → SwitchBase-64e5662e.js} +14 -16
- package/dist/Tabs/index.js +16 -17
- package/dist/{Tabs-1cc5862d.js → Tabs-1140d353.js} +87 -89
- package/dist/{TextField-c2c0172a.js → TextField-57c51dbe.js} +52 -54
- package/dist/ThemeProvider/index.js +7 -8
- package/dist/Tooltips/index.js +16 -18
- package/dist/{TransitionGroup-68fd1866.js → TransitionGroup-f9877c5b.js} +2 -2
- package/dist/Transitions/index.js +22 -24
- package/dist/Tree/index.js +2 -2
- package/dist/TreeSelect/index.js +3 -3
- package/dist/Typography/index.js +8 -9
- package/dist/{Typography-9a28b393.js → Typography-db7e5ea2.js} +42 -44
- package/dist/{Zoom-64a4beac.js → Zoom-36a189bb.js} +22 -24
- package/dist/{createSvgIcon-5cb90f79.js → createSvgIcon-1aa1b2b2.js} +20 -22
- package/dist/{dividerClasses-6f4cb6be.js → dividerClasses-a9b8b1ae.js} +2 -2
- package/dist/{elementAcceptingRef-332a290a.js → elementAcceptingRef-bd96c731.js} +1 -1
- package/dist/{elementTypeAcceptingRef-05dea79e.js → elementTypeAcceptingRef-dea9e62a.js} +1 -1
- package/dist/{emotion-react.browser.esm-921c014a.js → emotion-react.browser.esm-3fa5f721.js} +1 -1
- package/dist/{exactProp-7fadf441.js → exactProp-86f148d5.js} +1 -1
- package/dist/{extendSxProp-eacd850e.js → extendSxProp-d294b946.js} +2 -2
- package/dist/{extends-393586f3.js → extends-135d7828.js} +2 -2
- package/dist/identifier-2647f844.js +3775 -0
- package/dist/{index-456f3e1b.js → index-5f8afc53.js} +5 -5
- package/dist/index.js +140 -142
- package/dist/jsx-dev-runtime-48fdc504.js +615 -0
- package/dist/kdpaSelect-4ed993c7.js +1 -0
- package/dist/{listItemTextClasses-f7759ba4.js → listItemTextClasses-da281500.js} +2 -2
- package/dist/{refType-7c2b090c.js → refType-450337d6.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useSlotProps-db1ead27.js → useSlotProps-3b927bcb.js} +2 -2
- package/dist/{useTheme-2bb6b2df.js → useTheme-6ea322ec.js} +2 -2
- package/dist/{useThemeProps-114e8d66.js → useThemeProps-ea792506.js} +11 -11
- package/dist/{Transition-2ecbc61d.js → utils-acd98a68.js} +113 -98
- package/package.json +90 -87
- package/dist/KdpaChip-f94c5b7e.js +0 -31
- package/dist/KdpaCircularProgress-aed28149.js +0 -44
- package/dist/KdpaCollapse-73e5e40c.js +0 -8
- package/dist/KdpaCollapse-7f12a32a.js +0 -11
- package/dist/KdpaFormControl-ae8f7241.js +0 -6
- package/dist/KdpaFullScreenDialog-f60e21f3.js +0 -16
- package/dist/KdpaGrid-b93fab29.js +0 -8
- package/dist/KdpaIconButton-f5146164.js +0 -23
- package/dist/KdpaInputMultiline-71dfbfe5.js +0 -48
- package/dist/KdpaMenuItem-9a9ece89.js +0 -35
- package/dist/KdpaSecondaryButton-9b81f97d.js +0 -28
- package/dist/KdpaSkeleton-4696fadd.js +0 -541
- package/dist/KdpaTabs-a76a17a7.js +0 -38
- package/dist/KdpaTypography-17403558.js +0 -6
- package/dist/KdpaZoom-96a648cb.js +0 -10
- package/dist/KpdaPrimaryButton-9a5d8d6d.js +0 -47
- package/dist/Sanitizer/index.d.ts +0 -3
- package/dist/Sanitizer/index.d.ts.map +0 -1
- package/dist/Sanitizer/index.js +0 -492
- package/dist/identifier-5cabf5ae.js +0 -2481
- package/dist/index-f4329b29.js +0 -669
- package/dist/jsx-runtime-944c88e2.js +0 -631
- package/dist/utils-8a7b223e.js +0 -18
|
@@ -1,541 +0,0 @@
|
|
|
1
|
-
import { j as i } from "./jsx-runtime-944c88e2.js";
|
|
2
|
-
import { G as F } from "./iconBase-800b43ff.js";
|
|
3
|
-
import { C as G } from "./CircularProgress-e1f22f2a.js";
|
|
4
|
-
import { _ as s, a as U } from "./extends-393586f3.js";
|
|
5
|
-
import * as D from "react";
|
|
6
|
-
import { P as a } from "./index-f4329b29.js";
|
|
7
|
-
import { g as q, s as C, u as E, c as A, a as K } from "./useThemeProps-114e8d66.js";
|
|
8
|
-
import { u as W } from "./useTheme-2bb6b2df.js";
|
|
9
|
-
import { g as z, c, l as Y, d as H, a as J } from "./identifier-5cabf5ae.js";
|
|
10
|
-
import { k as x, c as y } from "./emotion-react.browser.esm-921c014a.js";
|
|
11
|
-
function Q(r) {
|
|
12
|
-
return String(r).match(/[\d.\-+]*\s*(.*)/)[1] || "";
|
|
13
|
-
}
|
|
14
|
-
function Z(r) {
|
|
15
|
-
return parseFloat(r);
|
|
16
|
-
}
|
|
17
|
-
function rr(r) {
|
|
18
|
-
return z("MuiLinearProgress", r);
|
|
19
|
-
}
|
|
20
|
-
q("MuiLinearProgress", ["root", "colorPrimary", "colorSecondary", "determinate", "indeterminate", "buffer", "query", "dashed", "dashedColorPrimary", "dashedColorSecondary", "bar", "barColorPrimary", "barColorSecondary", "bar1Indeterminate", "bar1Determinate", "bar1Buffer", "bar2Indeterminate", "bar2Buffer"]);
|
|
21
|
-
const er = ["className", "color", "value", "valueBuffer", "variant"];
|
|
22
|
-
let g = (r) => r, O, R, _, w, L, B;
|
|
23
|
-
const j = 4, tr = x(O || (O = g`
|
|
24
|
-
0% {
|
|
25
|
-
left: -35%;
|
|
26
|
-
right: 100%;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
60% {
|
|
30
|
-
left: 100%;
|
|
31
|
-
right: -90%;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
100% {
|
|
35
|
-
left: 100%;
|
|
36
|
-
right: -90%;
|
|
37
|
-
}
|
|
38
|
-
`)), ar = x(R || (R = g`
|
|
39
|
-
0% {
|
|
40
|
-
left: -200%;
|
|
41
|
-
right: 100%;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
60% {
|
|
45
|
-
left: 107%;
|
|
46
|
-
right: -8%;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
100% {
|
|
50
|
-
left: 107%;
|
|
51
|
-
right: -8%;
|
|
52
|
-
}
|
|
53
|
-
`)), nr = x(_ || (_ = g`
|
|
54
|
-
0% {
|
|
55
|
-
opacity: 1;
|
|
56
|
-
background-position: 0 -23px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
60% {
|
|
60
|
-
opacity: 0;
|
|
61
|
-
background-position: 0 -23px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
100% {
|
|
65
|
-
opacity: 1;
|
|
66
|
-
background-position: -200px -23px;
|
|
67
|
-
}
|
|
68
|
-
`)), or = (r) => {
|
|
69
|
-
const {
|
|
70
|
-
classes: e,
|
|
71
|
-
variant: t,
|
|
72
|
-
color: n
|
|
73
|
-
} = r, o = {
|
|
74
|
-
root: ["root", `color${c(n)}`, t],
|
|
75
|
-
dashed: ["dashed", `dashedColor${c(n)}`],
|
|
76
|
-
bar1: ["bar", `barColor${c(n)}`, (t === "indeterminate" || t === "query") && "bar1Indeterminate", t === "determinate" && "bar1Determinate", t === "buffer" && "bar1Buffer"],
|
|
77
|
-
bar2: ["bar", t !== "buffer" && `barColor${c(n)}`, t === "buffer" && `color${c(n)}`, (t === "indeterminate" || t === "query") && "bar2Indeterminate", t === "buffer" && "bar2Buffer"]
|
|
78
|
-
};
|
|
79
|
-
return K(o, rr, e);
|
|
80
|
-
}, N = (r, e) => e === "inherit" ? "currentColor" : r.vars ? r.vars.palette.LinearProgress[`${e}Bg`] : r.palette.mode === "light" ? Y(r.palette[e].main, 0.62) : H(r.palette[e].main, 0.5), ir = C("span", {
|
|
81
|
-
name: "MuiLinearProgress",
|
|
82
|
-
slot: "Root",
|
|
83
|
-
overridesResolver: (r, e) => {
|
|
84
|
-
const {
|
|
85
|
-
ownerState: t
|
|
86
|
-
} = r;
|
|
87
|
-
return [e.root, e[`color${c(t.color)}`], e[t.variant]];
|
|
88
|
-
}
|
|
89
|
-
})(({
|
|
90
|
-
ownerState: r,
|
|
91
|
-
theme: e
|
|
92
|
-
}) => s({
|
|
93
|
-
position: "relative",
|
|
94
|
-
overflow: "hidden",
|
|
95
|
-
display: "block",
|
|
96
|
-
height: 4,
|
|
97
|
-
zIndex: 0,
|
|
98
|
-
// Fix Safari's bug during composition of different paint.
|
|
99
|
-
"@media print": {
|
|
100
|
-
colorAdjust: "exact"
|
|
101
|
-
},
|
|
102
|
-
backgroundColor: N(e, r.color)
|
|
103
|
-
}, r.color === "inherit" && r.variant !== "buffer" && {
|
|
104
|
-
backgroundColor: "none",
|
|
105
|
-
"&::before": {
|
|
106
|
-
content: '""',
|
|
107
|
-
position: "absolute",
|
|
108
|
-
left: 0,
|
|
109
|
-
top: 0,
|
|
110
|
-
right: 0,
|
|
111
|
-
bottom: 0,
|
|
112
|
-
backgroundColor: "currentColor",
|
|
113
|
-
opacity: 0.3
|
|
114
|
-
}
|
|
115
|
-
}, r.variant === "buffer" && {
|
|
116
|
-
backgroundColor: "transparent"
|
|
117
|
-
}, r.variant === "query" && {
|
|
118
|
-
transform: "rotate(180deg)"
|
|
119
|
-
})), sr = C("span", {
|
|
120
|
-
name: "MuiLinearProgress",
|
|
121
|
-
slot: "Dashed",
|
|
122
|
-
overridesResolver: (r, e) => {
|
|
123
|
-
const {
|
|
124
|
-
ownerState: t
|
|
125
|
-
} = r;
|
|
126
|
-
return [e.dashed, e[`dashedColor${c(t.color)}`]];
|
|
127
|
-
}
|
|
128
|
-
})(({
|
|
129
|
-
ownerState: r,
|
|
130
|
-
theme: e
|
|
131
|
-
}) => {
|
|
132
|
-
const t = N(e, r.color);
|
|
133
|
-
return s({
|
|
134
|
-
position: "absolute",
|
|
135
|
-
marginTop: 0,
|
|
136
|
-
height: "100%",
|
|
137
|
-
width: "100%"
|
|
138
|
-
}, r.color === "inherit" && {
|
|
139
|
-
opacity: 0.3
|
|
140
|
-
}, {
|
|
141
|
-
backgroundImage: `radial-gradient(${t} 0%, ${t} 16%, transparent 42%)`,
|
|
142
|
-
backgroundSize: "10px 10px",
|
|
143
|
-
backgroundPosition: "0 -23px"
|
|
144
|
-
});
|
|
145
|
-
}, y(w || (w = g`
|
|
146
|
-
animation: ${0} 3s infinite linear;
|
|
147
|
-
`), nr)), lr = C("span", {
|
|
148
|
-
name: "MuiLinearProgress",
|
|
149
|
-
slot: "Bar1",
|
|
150
|
-
overridesResolver: (r, e) => {
|
|
151
|
-
const {
|
|
152
|
-
ownerState: t
|
|
153
|
-
} = r;
|
|
154
|
-
return [e.bar, e[`barColor${c(t.color)}`], (t.variant === "indeterminate" || t.variant === "query") && e.bar1Indeterminate, t.variant === "determinate" && e.bar1Determinate, t.variant === "buffer" && e.bar1Buffer];
|
|
155
|
-
}
|
|
156
|
-
})(({
|
|
157
|
-
ownerState: r,
|
|
158
|
-
theme: e
|
|
159
|
-
}) => s({
|
|
160
|
-
width: "100%",
|
|
161
|
-
position: "absolute",
|
|
162
|
-
left: 0,
|
|
163
|
-
bottom: 0,
|
|
164
|
-
top: 0,
|
|
165
|
-
transition: "transform 0.2s linear",
|
|
166
|
-
transformOrigin: "left",
|
|
167
|
-
backgroundColor: r.color === "inherit" ? "currentColor" : (e.vars || e).palette[r.color].main
|
|
168
|
-
}, r.variant === "determinate" && {
|
|
169
|
-
transition: `transform .${j}s linear`
|
|
170
|
-
}, r.variant === "buffer" && {
|
|
171
|
-
zIndex: 1,
|
|
172
|
-
transition: `transform .${j}s linear`
|
|
173
|
-
}), ({
|
|
174
|
-
ownerState: r
|
|
175
|
-
}) => (r.variant === "indeterminate" || r.variant === "query") && y(L || (L = g`
|
|
176
|
-
width: auto;
|
|
177
|
-
animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
178
|
-
`), tr)), cr = C("span", {
|
|
179
|
-
name: "MuiLinearProgress",
|
|
180
|
-
slot: "Bar2",
|
|
181
|
-
overridesResolver: (r, e) => {
|
|
182
|
-
const {
|
|
183
|
-
ownerState: t
|
|
184
|
-
} = r;
|
|
185
|
-
return [e.bar, e[`barColor${c(t.color)}`], (t.variant === "indeterminate" || t.variant === "query") && e.bar2Indeterminate, t.variant === "buffer" && e.bar2Buffer];
|
|
186
|
-
}
|
|
187
|
-
})(({
|
|
188
|
-
ownerState: r,
|
|
189
|
-
theme: e
|
|
190
|
-
}) => s({
|
|
191
|
-
width: "100%",
|
|
192
|
-
position: "absolute",
|
|
193
|
-
left: 0,
|
|
194
|
-
bottom: 0,
|
|
195
|
-
top: 0,
|
|
196
|
-
transition: "transform 0.2s linear",
|
|
197
|
-
transformOrigin: "left"
|
|
198
|
-
}, r.variant !== "buffer" && {
|
|
199
|
-
backgroundColor: r.color === "inherit" ? "currentColor" : (e.vars || e).palette[r.color].main
|
|
200
|
-
}, r.color === "inherit" && {
|
|
201
|
-
opacity: 0.3
|
|
202
|
-
}, r.variant === "buffer" && {
|
|
203
|
-
backgroundColor: N(e, r.color),
|
|
204
|
-
transition: `transform .${j}s linear`
|
|
205
|
-
}), ({
|
|
206
|
-
ownerState: r
|
|
207
|
-
}) => (r.variant === "indeterminate" || r.variant === "query") && y(B || (B = g`
|
|
208
|
-
width: auto;
|
|
209
|
-
animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
210
|
-
`), ar)), V = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
211
|
-
const n = E({
|
|
212
|
-
props: e,
|
|
213
|
-
name: "MuiLinearProgress"
|
|
214
|
-
}), {
|
|
215
|
-
className: o,
|
|
216
|
-
color: b = "primary",
|
|
217
|
-
value: l,
|
|
218
|
-
valueBuffer: u,
|
|
219
|
-
variant: d = "indeterminate"
|
|
220
|
-
} = n, P = U(n, er), f = s({}, n, {
|
|
221
|
-
color: b,
|
|
222
|
-
variant: d
|
|
223
|
-
}), p = or(f), v = W(), h = {}, k = {
|
|
224
|
-
bar1: {},
|
|
225
|
-
bar2: {}
|
|
226
|
-
};
|
|
227
|
-
if (d === "determinate" || d === "buffer")
|
|
228
|
-
if (l !== void 0) {
|
|
229
|
-
h["aria-valuenow"] = Math.round(l), h["aria-valuemin"] = 0, h["aria-valuemax"] = 100;
|
|
230
|
-
let m = l - 100;
|
|
231
|
-
v.direction === "rtl" && (m = -m), k.bar1.transform = `translateX(${m}%)`;
|
|
232
|
-
} else
|
|
233
|
-
process.env.NODE_ENV !== "production" && console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");
|
|
234
|
-
if (d === "buffer")
|
|
235
|
-
if (u !== void 0) {
|
|
236
|
-
let m = (u || 0) - 100;
|
|
237
|
-
v.direction === "rtl" && (m = -m), k.bar2.transform = `translateX(${m}%)`;
|
|
238
|
-
} else
|
|
239
|
-
process.env.NODE_ENV !== "production" && console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");
|
|
240
|
-
return /* @__PURE__ */ i.jsxs(ir, s({
|
|
241
|
-
className: A(p.root, o),
|
|
242
|
-
ownerState: f,
|
|
243
|
-
role: "progressbar"
|
|
244
|
-
}, h, {
|
|
245
|
-
ref: t
|
|
246
|
-
}, P, {
|
|
247
|
-
children: [d === "buffer" ? /* @__PURE__ */ i.jsx(sr, {
|
|
248
|
-
className: p.dashed,
|
|
249
|
-
ownerState: f
|
|
250
|
-
}) : null, /* @__PURE__ */ i.jsx(lr, {
|
|
251
|
-
className: p.bar1,
|
|
252
|
-
ownerState: f,
|
|
253
|
-
style: k.bar1
|
|
254
|
-
}), d === "determinate" ? null : /* @__PURE__ */ i.jsx(cr, {
|
|
255
|
-
className: p.bar2,
|
|
256
|
-
ownerState: f,
|
|
257
|
-
style: k.bar2
|
|
258
|
-
})]
|
|
259
|
-
}));
|
|
260
|
-
});
|
|
261
|
-
process.env.NODE_ENV !== "production" && (V.propTypes = {
|
|
262
|
-
// ----------------------------- Warning --------------------------------
|
|
263
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
264
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
265
|
-
// ----------------------------------------------------------------------
|
|
266
|
-
/**
|
|
267
|
-
* Override or extend the styles applied to the component.
|
|
268
|
-
*/
|
|
269
|
-
classes: a.object,
|
|
270
|
-
/**
|
|
271
|
-
* @ignore
|
|
272
|
-
*/
|
|
273
|
-
className: a.string,
|
|
274
|
-
/**
|
|
275
|
-
* The color of the component.
|
|
276
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
277
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
|
|
278
|
-
* @default 'primary'
|
|
279
|
-
*/
|
|
280
|
-
color: a.oneOfType([a.oneOf(["inherit", "primary", "secondary"]), a.string]),
|
|
281
|
-
/**
|
|
282
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
283
|
-
*/
|
|
284
|
-
sx: a.oneOfType([a.arrayOf(a.oneOfType([a.func, a.object, a.bool])), a.func, a.object]),
|
|
285
|
-
/**
|
|
286
|
-
* The value of the progress indicator for the determinate and buffer variants.
|
|
287
|
-
* Value between 0 and 100.
|
|
288
|
-
*/
|
|
289
|
-
value: a.number,
|
|
290
|
-
/**
|
|
291
|
-
* The value for the buffer variant.
|
|
292
|
-
* Value between 0 and 100.
|
|
293
|
-
*/
|
|
294
|
-
valueBuffer: a.number,
|
|
295
|
-
/**
|
|
296
|
-
* The variant to use.
|
|
297
|
-
* Use indeterminate or query when there is no progress value.
|
|
298
|
-
* @default 'indeterminate'
|
|
299
|
-
*/
|
|
300
|
-
variant: a.oneOf(["buffer", "determinate", "indeterminate", "query"])
|
|
301
|
-
});
|
|
302
|
-
const dr = V;
|
|
303
|
-
function ur(r) {
|
|
304
|
-
return z("MuiSkeleton", r);
|
|
305
|
-
}
|
|
306
|
-
q("MuiSkeleton", ["root", "text", "rectangular", "rounded", "circular", "pulse", "wave", "withChildren", "fitContent", "heightAuto"]);
|
|
307
|
-
const fr = ["animation", "className", "component", "height", "style", "variant", "width"];
|
|
308
|
-
let $ = (r) => r, T, I, M, S;
|
|
309
|
-
const pr = (r) => {
|
|
310
|
-
const {
|
|
311
|
-
classes: e,
|
|
312
|
-
variant: t,
|
|
313
|
-
animation: n,
|
|
314
|
-
hasChildren: o,
|
|
315
|
-
width: b,
|
|
316
|
-
height: l
|
|
317
|
-
} = r;
|
|
318
|
-
return K({
|
|
319
|
-
root: ["root", t, n, o && "withChildren", o && !b && "fitContent", o && !l && "heightAuto"]
|
|
320
|
-
}, ur, e);
|
|
321
|
-
}, mr = x(T || (T = $`
|
|
322
|
-
0% {
|
|
323
|
-
opacity: 1;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
50% {
|
|
327
|
-
opacity: 0.4;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
100% {
|
|
331
|
-
opacity: 1;
|
|
332
|
-
}
|
|
333
|
-
`)), br = x(I || (I = $`
|
|
334
|
-
0% {
|
|
335
|
-
transform: translateX(-100%);
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
50% {
|
|
339
|
-
/* +0.5s of delay between each loop */
|
|
340
|
-
transform: translateX(100%);
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
100% {
|
|
344
|
-
transform: translateX(100%);
|
|
345
|
-
}
|
|
346
|
-
`)), hr = C("span", {
|
|
347
|
-
name: "MuiSkeleton",
|
|
348
|
-
slot: "Root",
|
|
349
|
-
overridesResolver: (r, e) => {
|
|
350
|
-
const {
|
|
351
|
-
ownerState: t
|
|
352
|
-
} = r;
|
|
353
|
-
return [e.root, e[t.variant], t.animation !== !1 && e[t.animation], t.hasChildren && e.withChildren, t.hasChildren && !t.width && e.fitContent, t.hasChildren && !t.height && e.heightAuto];
|
|
354
|
-
}
|
|
355
|
-
})(({
|
|
356
|
-
theme: r,
|
|
357
|
-
ownerState: e
|
|
358
|
-
}) => {
|
|
359
|
-
const t = Q(r.shape.borderRadius) || "px", n = Z(r.shape.borderRadius);
|
|
360
|
-
return s({
|
|
361
|
-
display: "block",
|
|
362
|
-
// Create a "on paper" color with sufficient contrast retaining the color
|
|
363
|
-
backgroundColor: r.vars ? r.vars.palette.Skeleton.bg : J(r.palette.text.primary, r.palette.mode === "light" ? 0.11 : 0.13),
|
|
364
|
-
height: "1.2em"
|
|
365
|
-
}, e.variant === "text" && {
|
|
366
|
-
marginTop: 0,
|
|
367
|
-
marginBottom: 0,
|
|
368
|
-
height: "auto",
|
|
369
|
-
transformOrigin: "0 55%",
|
|
370
|
-
transform: "scale(1, 0.60)",
|
|
371
|
-
borderRadius: `${n}${t}/${Math.round(n / 0.6 * 10) / 10}${t}`,
|
|
372
|
-
"&:empty:before": {
|
|
373
|
-
content: '"\\00a0"'
|
|
374
|
-
}
|
|
375
|
-
}, e.variant === "circular" && {
|
|
376
|
-
borderRadius: "50%"
|
|
377
|
-
}, e.variant === "rounded" && {
|
|
378
|
-
borderRadius: (r.vars || r).shape.borderRadius
|
|
379
|
-
}, e.hasChildren && {
|
|
380
|
-
"& > *": {
|
|
381
|
-
visibility: "hidden"
|
|
382
|
-
}
|
|
383
|
-
}, e.hasChildren && !e.width && {
|
|
384
|
-
maxWidth: "fit-content"
|
|
385
|
-
}, e.hasChildren && !e.height && {
|
|
386
|
-
height: "auto"
|
|
387
|
-
});
|
|
388
|
-
}, ({
|
|
389
|
-
ownerState: r
|
|
390
|
-
}) => r.animation === "pulse" && y(M || (M = $`
|
|
391
|
-
animation: ${0} 1.5s ease-in-out 0.5s infinite;
|
|
392
|
-
`), mr), ({
|
|
393
|
-
ownerState: r,
|
|
394
|
-
theme: e
|
|
395
|
-
}) => r.animation === "wave" && y(S || (S = $`
|
|
396
|
-
position: relative;
|
|
397
|
-
overflow: hidden;
|
|
398
|
-
|
|
399
|
-
/* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
|
|
400
|
-
-webkit-mask-image: -webkit-radial-gradient(white, black);
|
|
401
|
-
|
|
402
|
-
&::after {
|
|
403
|
-
animation: ${0} 1.6s linear 0.5s infinite;
|
|
404
|
-
background: linear-gradient(
|
|
405
|
-
90deg,
|
|
406
|
-
transparent,
|
|
407
|
-
${0},
|
|
408
|
-
transparent
|
|
409
|
-
);
|
|
410
|
-
content: '';
|
|
411
|
-
position: absolute;
|
|
412
|
-
transform: translateX(-100%); /* Avoid flash during server-side hydration */
|
|
413
|
-
bottom: 0;
|
|
414
|
-
left: 0;
|
|
415
|
-
right: 0;
|
|
416
|
-
top: 0;
|
|
417
|
-
}
|
|
418
|
-
`), br, (e.vars || e).palette.action.hover)), X = /* @__PURE__ */ D.forwardRef(function(e, t) {
|
|
419
|
-
const n = E({
|
|
420
|
-
props: e,
|
|
421
|
-
name: "MuiSkeleton"
|
|
422
|
-
}), {
|
|
423
|
-
animation: o = "pulse",
|
|
424
|
-
className: b,
|
|
425
|
-
component: l = "span",
|
|
426
|
-
height: u,
|
|
427
|
-
style: d,
|
|
428
|
-
variant: P = "text",
|
|
429
|
-
width: f
|
|
430
|
-
} = n, p = U(n, fr), v = s({}, n, {
|
|
431
|
-
animation: o,
|
|
432
|
-
component: l,
|
|
433
|
-
variant: P,
|
|
434
|
-
hasChildren: !!p.children
|
|
435
|
-
}), h = pr(v);
|
|
436
|
-
return /* @__PURE__ */ i.jsx(hr, s({
|
|
437
|
-
as: l,
|
|
438
|
-
ref: t,
|
|
439
|
-
className: A(h.root, b),
|
|
440
|
-
ownerState: v
|
|
441
|
-
}, p, {
|
|
442
|
-
style: s({
|
|
443
|
-
width: f,
|
|
444
|
-
height: u
|
|
445
|
-
}, d)
|
|
446
|
-
}));
|
|
447
|
-
});
|
|
448
|
-
process.env.NODE_ENV !== "production" && (X.propTypes = {
|
|
449
|
-
// ----------------------------- Warning --------------------------------
|
|
450
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
451
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
452
|
-
// ----------------------------------------------------------------------
|
|
453
|
-
/**
|
|
454
|
-
* The animation.
|
|
455
|
-
* If `false` the animation effect is disabled.
|
|
456
|
-
* @default 'pulse'
|
|
457
|
-
*/
|
|
458
|
-
animation: a.oneOf(["pulse", "wave", !1]),
|
|
459
|
-
/**
|
|
460
|
-
* Optional children to infer width and height from.
|
|
461
|
-
*/
|
|
462
|
-
children: a.node,
|
|
463
|
-
/**
|
|
464
|
-
* Override or extend the styles applied to the component.
|
|
465
|
-
*/
|
|
466
|
-
classes: a.object,
|
|
467
|
-
/**
|
|
468
|
-
* @ignore
|
|
469
|
-
*/
|
|
470
|
-
className: a.string,
|
|
471
|
-
/**
|
|
472
|
-
* The component used for the root node.
|
|
473
|
-
* Either a string to use a HTML element or a component.
|
|
474
|
-
*/
|
|
475
|
-
component: a.elementType,
|
|
476
|
-
/**
|
|
477
|
-
* Height of the skeleton.
|
|
478
|
-
* Useful when you don't want to adapt the skeleton to a text element but for instance a card.
|
|
479
|
-
*/
|
|
480
|
-
height: a.oneOfType([a.number, a.string]),
|
|
481
|
-
/**
|
|
482
|
-
* @ignore
|
|
483
|
-
*/
|
|
484
|
-
style: a.object,
|
|
485
|
-
/**
|
|
486
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
487
|
-
*/
|
|
488
|
-
sx: a.oneOfType([a.arrayOf(a.oneOfType([a.func, a.object, a.bool])), a.func, a.object]),
|
|
489
|
-
/**
|
|
490
|
-
* The type of content that will be rendered.
|
|
491
|
-
* @default 'text'
|
|
492
|
-
*/
|
|
493
|
-
variant: a.oneOfType([a.oneOf(["circular", "rectangular", "rounded", "text"]), a.string]),
|
|
494
|
-
/**
|
|
495
|
-
* Width of the skeleton.
|
|
496
|
-
* Useful when the skeleton is inside an inline element with no width of its own.
|
|
497
|
-
*/
|
|
498
|
-
width: a.oneOfType([a.number, a.string])
|
|
499
|
-
});
|
|
500
|
-
const gr = X;
|
|
501
|
-
function vr(r) {
|
|
502
|
-
return F({ tag: "svg", attr: { viewBox: "0 0 16 16", fill: "currentColor" }, child: [{ tag: "path", attr: { fillRule: "evenodd", clipRule: "evenodd", d: "M13.917 7A6.002 6.002 0 0 0 2.083 7H1.071a7.002 7.002 0 0 1 13.858 0h-1.012z" } }] })(r);
|
|
503
|
-
}
|
|
504
|
-
const Rr = ({
|
|
505
|
-
size: r = 18,
|
|
506
|
-
customIcon: e = vr,
|
|
507
|
-
className: t,
|
|
508
|
-
style: n
|
|
509
|
-
}) => /* @__PURE__ */ i.jsx("div", { className: "kdpa-inline-spinner", style: n, children: /* @__PURE__ */ i.jsx(e, { size: r, className: `inline-spinner ${t}` }) });
|
|
510
|
-
function _r({
|
|
511
|
-
children: r,
|
|
512
|
-
loading: e = !1,
|
|
513
|
-
fade: t = !0,
|
|
514
|
-
type: n = "spinner",
|
|
515
|
-
value: o,
|
|
516
|
-
position: b = "center",
|
|
517
|
-
color: l = "",
|
|
518
|
-
size: u = 30
|
|
519
|
-
}) {
|
|
520
|
-
return e ? /* @__PURE__ */ i.jsxs("div", { children: [
|
|
521
|
-
/* @__PURE__ */ i.jsx("div", { children: r }),
|
|
522
|
-
n === "spinner" ? /* @__PURE__ */ i.jsx(
|
|
523
|
-
G,
|
|
524
|
-
{
|
|
525
|
-
size: u,
|
|
526
|
-
...o ? { value: o, variant: "determinate" } : { variant: "indeterminate" }
|
|
527
|
-
}
|
|
528
|
-
) : /* @__PURE__ */ i.jsx(
|
|
529
|
-
dr,
|
|
530
|
-
{
|
|
531
|
-
...o ? { value: o, variant: "determinate" } : { variant: "indeterminate" }
|
|
532
|
-
}
|
|
533
|
-
)
|
|
534
|
-
] }) : /* @__PURE__ */ i.jsx(i.Fragment, { children: r });
|
|
535
|
-
}
|
|
536
|
-
const wr = (r) => /* @__PURE__ */ i.jsx(gr, { ...r, children: r.children });
|
|
537
|
-
export {
|
|
538
|
-
_r as B,
|
|
539
|
-
Rr as K,
|
|
540
|
-
wr as a
|
|
541
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { j as o } from "./jsx-runtime-944c88e2.js";
|
|
2
|
-
import { a as n, T as i } from "./Tabs-1cc5862d.js";
|
|
3
|
-
import { useRef as s, useEffect as u } from "react";
|
|
4
|
-
import { u as c } from "./useTheme-2bb6b2df.js";
|
|
5
|
-
function m(t) {
|
|
6
|
-
return {
|
|
7
|
-
id: `full-width-tab-${t}`,
|
|
8
|
-
"aria-controls": `full-width-tabpanel-${t}`
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
function T(t, r) {
|
|
12
|
-
return /* @__PURE__ */ o.jsx(n, { iconPosition: "start", ...m(r), ...t });
|
|
13
|
-
}
|
|
14
|
-
function b(t) {
|
|
15
|
-
const r = c(), a = s();
|
|
16
|
-
return u(() => {
|
|
17
|
-
const e = setTimeout(() => {
|
|
18
|
-
a.current && a.current.updateIndicator();
|
|
19
|
-
}, 300);
|
|
20
|
-
return () => {
|
|
21
|
-
clearTimeout(e);
|
|
22
|
-
};
|
|
23
|
-
}, [r]), /* @__PURE__ */ o.jsx(
|
|
24
|
-
i,
|
|
25
|
-
{
|
|
26
|
-
sx: {
|
|
27
|
-
minHeight: 20
|
|
28
|
-
},
|
|
29
|
-
action: a,
|
|
30
|
-
...t,
|
|
31
|
-
children: t.children
|
|
32
|
-
}
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
export {
|
|
36
|
-
T as K,
|
|
37
|
-
b as a
|
|
38
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { j as s } from "./jsx-runtime-944c88e2.js";
|
|
2
|
-
import { G as t } from "./Grow-8a97586f.js";
|
|
3
|
-
import { S as a } from "./Slide-d61a6d2b.js";
|
|
4
|
-
import { Z as m } from "./Zoom-64a4beac.js";
|
|
5
|
-
const x = ({ children: o, ...r }) => /* @__PURE__ */ s.jsx(t, { ...r, children: o }), d = ({ children: o, ...r }) => /* @__PURE__ */ s.jsx(a, { ...r, children: o }), j = ({ children: o, ...r }) => /* @__PURE__ */ s.jsx(m, { ...r, children: o });
|
|
6
|
-
export {
|
|
7
|
-
x as K,
|
|
8
|
-
d as a,
|
|
9
|
-
j as b
|
|
10
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { j as a } from "./jsx-runtime-944c88e2.js";
|
|
2
|
-
import { K as m } from "./KdpaTooltip-e30e1eea.js";
|
|
3
|
-
import "./kdpaButton-4ed993c7.js";
|
|
4
|
-
import { B as o } from "./Button-da8592f4.js";
|
|
5
|
-
import "./kdpaPrimaryButton-4ed993c7.js";
|
|
6
|
-
function c({
|
|
7
|
-
children: t,
|
|
8
|
-
tooltipText: r = "",
|
|
9
|
-
variant: i = "contained",
|
|
10
|
-
...n
|
|
11
|
-
}) {
|
|
12
|
-
return /* @__PURE__ */ a.jsx(m, { title: r, ...n, children: /* @__PURE__ */ a.jsx(
|
|
13
|
-
o,
|
|
14
|
-
{
|
|
15
|
-
className: `kdpa-material-button ${!t && "kdpa-material-button__noname"}`,
|
|
16
|
-
variant: i,
|
|
17
|
-
...n,
|
|
18
|
-
children: /* @__PURE__ */ a.jsxs("span", { className: "kdpa-material-button__name", children: [
|
|
19
|
-
" ",
|
|
20
|
-
t
|
|
21
|
-
] })
|
|
22
|
-
}
|
|
23
|
-
) });
|
|
24
|
-
}
|
|
25
|
-
function x({
|
|
26
|
-
children: t,
|
|
27
|
-
icon: r,
|
|
28
|
-
tooltipText: i,
|
|
29
|
-
onClick: n,
|
|
30
|
-
...e
|
|
31
|
-
}) {
|
|
32
|
-
return /* @__PURE__ */ a.jsx(m, { title: i, children: /* @__PURE__ */ a.jsx(
|
|
33
|
-
o,
|
|
34
|
-
{
|
|
35
|
-
className: `kdpa-material-primaryButton${!t && "kdpa-material-primaryButton__noname"}`,
|
|
36
|
-
onClick: n,
|
|
37
|
-
variant: "contained",
|
|
38
|
-
startIcon: r,
|
|
39
|
-
...e,
|
|
40
|
-
children: /* @__PURE__ */ a.jsx("span", { className: "kdpa-material-primaryButton__name", children: t })
|
|
41
|
-
}
|
|
42
|
-
) });
|
|
43
|
-
}
|
|
44
|
-
export {
|
|
45
|
-
c as K,
|
|
46
|
-
x as a
|
|
47
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Sanitizer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|