@gnwebsoft/ui 2.18.31 → 2.18.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-M42TPRCN.mjs → chunk-KM5TYX5L.mjs} +70 -32
- package/dist/{chunk-7HKMAJKT.js → chunk-WEPRO2OO.js} +60 -22
- package/dist/components/index.d.mts +12 -7
- package/dist/components/index.d.ts +12 -7
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
|
@@ -25,7 +25,8 @@ var FilterButton = ({
|
|
|
25
25
|
show,
|
|
26
26
|
title,
|
|
27
27
|
icon,
|
|
28
|
-
sx
|
|
28
|
+
sx,
|
|
29
|
+
iconSx
|
|
29
30
|
}) => {
|
|
30
31
|
return /* @__PURE__ */ jsx2(
|
|
31
32
|
LoadingButton,
|
|
@@ -35,13 +36,13 @@ var FilterButton = ({
|
|
|
35
36
|
loading: isSubmitting,
|
|
36
37
|
disabled: !show,
|
|
37
38
|
disableRipple: true,
|
|
39
|
+
color: "primary",
|
|
38
40
|
sx: {
|
|
39
|
-
...sx,
|
|
40
|
-
bgcolor: "primary",
|
|
41
41
|
display: "flex",
|
|
42
|
-
alignItems: "center"
|
|
42
|
+
alignItems: "center",
|
|
43
|
+
...sx
|
|
43
44
|
},
|
|
44
|
-
startIcon: /* @__PURE__ */ jsx2(Badge, { color: "error", variant: "standard", children: icon ? icon : /* @__PURE__ */ jsx2(FilterAltIcon, { width: "20", height: "20" }) }),
|
|
45
|
+
startIcon: /* @__PURE__ */ jsx2(Badge, { color: "error", variant: "standard", children: icon ? icon : /* @__PURE__ */ jsx2(FilterAltIcon, { width: "20", height: "20", sx: iconSx }) }),
|
|
45
46
|
children: title?.trim() === "" || !title ? "Filter" : title
|
|
46
47
|
}
|
|
47
48
|
);
|
|
@@ -56,25 +57,30 @@ import {
|
|
|
56
57
|
CardHeader,
|
|
57
58
|
Divider,
|
|
58
59
|
Grid2,
|
|
59
|
-
Typography
|
|
60
|
+
Typography,
|
|
61
|
+
useTheme as useTheme2
|
|
60
62
|
} from "@mui/material";
|
|
61
63
|
import ManageSearchIcon from "@mui/icons-material/ManageSearch";
|
|
62
|
-
import { jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
64
|
+
import { Fragment, jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
63
65
|
var FilterWrapper = ({
|
|
64
66
|
children,
|
|
65
67
|
title,
|
|
68
|
+
filterCount,
|
|
66
69
|
cardSx,
|
|
67
70
|
textSx,
|
|
68
|
-
icon
|
|
71
|
+
icon,
|
|
72
|
+
iconSx,
|
|
73
|
+
showCount
|
|
69
74
|
}) => {
|
|
75
|
+
const theme = useTheme2();
|
|
70
76
|
return /* @__PURE__ */ jsxs(
|
|
71
77
|
Card,
|
|
72
78
|
{
|
|
73
79
|
sx: {
|
|
74
|
-
...cardSx,
|
|
75
80
|
position: "relative",
|
|
76
81
|
borderRadius: "0px",
|
|
77
|
-
mb: 2
|
|
82
|
+
mb: 2,
|
|
83
|
+
...cardSx
|
|
78
84
|
},
|
|
79
85
|
children: [
|
|
80
86
|
/* @__PURE__ */ jsx3(
|
|
@@ -91,13 +97,30 @@ var FilterWrapper = ({
|
|
|
91
97
|
alignItems: "center"
|
|
92
98
|
},
|
|
93
99
|
title: /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
|
|
94
|
-
icon ? icon : /* @__PURE__ */ jsx3(
|
|
95
|
-
|
|
100
|
+
icon ? icon : /* @__PURE__ */ jsx3(
|
|
101
|
+
ManageSearchIcon,
|
|
102
|
+
{
|
|
103
|
+
sx: {
|
|
104
|
+
height: "2.5rem",
|
|
105
|
+
color: theme.palette.primary.main,
|
|
106
|
+
...iconSx
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
),
|
|
110
|
+
/* @__PURE__ */ jsxs(
|
|
96
111
|
Typography,
|
|
97
112
|
{
|
|
98
113
|
variant: "h5",
|
|
99
|
-
sx: {
|
|
100
|
-
|
|
114
|
+
sx: {
|
|
115
|
+
fontWeight: "bold",
|
|
116
|
+
color: theme.palette.primary.main,
|
|
117
|
+
...textSx
|
|
118
|
+
},
|
|
119
|
+
children: [
|
|
120
|
+
title ? title : "Filter",
|
|
121
|
+
" ",
|
|
122
|
+
showCount ? `(${filterCount ? filterCount : 0})` : /* @__PURE__ */ jsx3(Fragment, {})
|
|
123
|
+
]
|
|
101
124
|
}
|
|
102
125
|
)
|
|
103
126
|
] })
|
|
@@ -135,9 +158,9 @@ var FormWrapper = ({
|
|
|
135
158
|
Card2,
|
|
136
159
|
{
|
|
137
160
|
sx: {
|
|
138
|
-
...cardSx,
|
|
139
161
|
position: "relative",
|
|
140
|
-
borderRadius: "0px"
|
|
162
|
+
borderRadius: "0px",
|
|
163
|
+
...cardSx
|
|
141
164
|
},
|
|
142
165
|
children: [
|
|
143
166
|
/* @__PURE__ */ jsx4(
|
|
@@ -163,7 +186,7 @@ var FormWrapper = ({
|
|
|
163
186
|
children: [
|
|
164
187
|
/* @__PURE__ */ jsxs2(Box2, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
|
|
165
188
|
icon ?? icon,
|
|
166
|
-
/* @__PURE__ */ jsx4(Typography2, { color: "primary", sx: textSx, children:
|
|
189
|
+
/* @__PURE__ */ jsx4(Typography2, { color: "primary", sx: textSx, children: title })
|
|
167
190
|
] }),
|
|
168
191
|
actionButton
|
|
169
192
|
]
|
|
@@ -260,10 +283,11 @@ import {
|
|
|
260
283
|
CardHeader as CardHeader3,
|
|
261
284
|
Divider as Divider3,
|
|
262
285
|
Grid2 as Grid24,
|
|
263
|
-
Typography as Typography4
|
|
286
|
+
Typography as Typography4,
|
|
287
|
+
useTheme as useTheme3
|
|
264
288
|
} from "@mui/material";
|
|
265
289
|
import ManageSearchIcon2 from "@mui/icons-material/ManageSearch";
|
|
266
|
-
import { Fragment, jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
290
|
+
import { Fragment as Fragment2, jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
267
291
|
var ListWrapper = ({
|
|
268
292
|
children,
|
|
269
293
|
title,
|
|
@@ -273,16 +297,18 @@ var ListWrapper = ({
|
|
|
273
297
|
cardSx,
|
|
274
298
|
textSx,
|
|
275
299
|
icon,
|
|
300
|
+
iconSx,
|
|
276
301
|
showCount = true
|
|
277
302
|
}) => {
|
|
278
|
-
|
|
303
|
+
const theme = useTheme3();
|
|
304
|
+
if (!show) return /* @__PURE__ */ jsx6(Fragment2, {});
|
|
279
305
|
return /* @__PURE__ */ jsxs4(
|
|
280
306
|
Card3,
|
|
281
307
|
{
|
|
282
308
|
sx: {
|
|
283
|
-
...cardSx,
|
|
284
309
|
position: "relative",
|
|
285
|
-
borderRadius: "0px"
|
|
310
|
+
borderRadius: "0px",
|
|
311
|
+
...cardSx
|
|
286
312
|
},
|
|
287
313
|
children: [
|
|
288
314
|
/* @__PURE__ */ jsx6(
|
|
@@ -308,16 +334,28 @@ var ListWrapper = ({
|
|
|
308
334
|
},
|
|
309
335
|
children: [
|
|
310
336
|
/* @__PURE__ */ jsxs4(Box3, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
|
|
311
|
-
icon ? icon : /* @__PURE__ */ jsx6(
|
|
337
|
+
icon ? icon : /* @__PURE__ */ jsx6(
|
|
338
|
+
ManageSearchIcon2,
|
|
339
|
+
{
|
|
340
|
+
sx: {
|
|
341
|
+
height: "2.5rem",
|
|
342
|
+
color: theme.palette.primary.main,
|
|
343
|
+
...iconSx
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
),
|
|
312
347
|
/* @__PURE__ */ jsxs4(
|
|
313
348
|
Typography4,
|
|
314
349
|
{
|
|
315
350
|
variant: "h5",
|
|
316
|
-
sx: {
|
|
351
|
+
sx: {
|
|
352
|
+
fontWeight: "bold",
|
|
353
|
+
color: theme.palette.primary.main,
|
|
354
|
+
...textSx
|
|
355
|
+
},
|
|
317
356
|
children: [
|
|
318
|
-
title,
|
|
319
|
-
|
|
320
|
-
showCount ? `$(${count ? count : 0})` : /* @__PURE__ */ jsx6(Fragment, {})
|
|
357
|
+
title ? title : "List",
|
|
358
|
+
showCount ? `(${count ? count : 0})` : /* @__PURE__ */ jsx6(Fragment2, {})
|
|
321
359
|
]
|
|
322
360
|
}
|
|
323
361
|
)
|
|
@@ -372,19 +410,19 @@ var SimpleToolbar_default = SimpleToolbar;
|
|
|
372
410
|
|
|
373
411
|
// src/components/SimpleButton/SimpleButton.tsx
|
|
374
412
|
import { Button as Button2 } from "@mui/material";
|
|
375
|
-
import { Fragment as
|
|
413
|
+
import { Fragment as Fragment3, jsx as jsx8 } from "react/jsx-runtime";
|
|
376
414
|
var SimpleButton = function SelectMultiElement(props) {
|
|
377
415
|
const { show, ...rest } = props;
|
|
378
|
-
if (!!show) return /* @__PURE__ */ jsx8(
|
|
416
|
+
if (!!show) return /* @__PURE__ */ jsx8(Fragment3, {});
|
|
379
417
|
return /* @__PURE__ */ jsx8(Button2, { ...rest });
|
|
380
418
|
};
|
|
381
419
|
var SimpleButton_default = SimpleButton;
|
|
382
420
|
|
|
383
421
|
// src/components/AuthorizedView/AuthorizedView.tsx
|
|
384
|
-
import { Fragment as
|
|
422
|
+
import { Fragment as Fragment4, jsx as jsx9 } from "react/jsx-runtime";
|
|
385
423
|
var AuthorizedView = ({ children, show }) => {
|
|
386
|
-
if (!show) return /* @__PURE__ */ jsx9(
|
|
387
|
-
return /* @__PURE__ */ jsx9(
|
|
424
|
+
if (!show) return /* @__PURE__ */ jsx9(Fragment4, {});
|
|
425
|
+
return /* @__PURE__ */ jsx9(Fragment4, { children });
|
|
388
426
|
};
|
|
389
427
|
var AuthorizedView_default = AuthorizedView;
|
|
390
428
|
|
|
@@ -25,7 +25,8 @@ var FilterButton = ({
|
|
|
25
25
|
show,
|
|
26
26
|
title,
|
|
27
27
|
icon,
|
|
28
|
-
sx
|
|
28
|
+
sx,
|
|
29
|
+
iconSx
|
|
29
30
|
}) => {
|
|
30
31
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31
32
|
_lab.LoadingButton,
|
|
@@ -35,13 +36,13 @@ var FilterButton = ({
|
|
|
35
36
|
loading: isSubmitting,
|
|
36
37
|
disabled: !show,
|
|
37
38
|
disableRipple: true,
|
|
39
|
+
color: "primary",
|
|
38
40
|
sx: {
|
|
39
|
-
...sx,
|
|
40
|
-
bgcolor: "primary",
|
|
41
41
|
display: "flex",
|
|
42
|
-
alignItems: "center"
|
|
42
|
+
alignItems: "center",
|
|
43
|
+
...sx
|
|
43
44
|
},
|
|
44
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Badge, { color: "error", variant: "standard", children: icon ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FilterAlt2.default, { width: "20", height: "20" }) }),
|
|
45
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Badge, { color: "error", variant: "standard", children: icon ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FilterAlt2.default, { width: "20", height: "20", sx: iconSx }) }),
|
|
45
46
|
children: _optionalChain([title, 'optionalAccess', _ => _.trim, 'call', _2 => _2()]) === "" || !title ? "Filter" : title
|
|
46
47
|
}
|
|
47
48
|
);
|
|
@@ -58,23 +59,28 @@ var FilterButton_default = FilterButton;
|
|
|
58
59
|
|
|
59
60
|
|
|
60
61
|
|
|
62
|
+
|
|
61
63
|
var _ManageSearch = require('@mui/icons-material/ManageSearch'); var _ManageSearch2 = _interopRequireDefault(_ManageSearch);
|
|
62
64
|
|
|
63
65
|
var FilterWrapper = ({
|
|
64
66
|
children,
|
|
65
67
|
title,
|
|
68
|
+
filterCount,
|
|
66
69
|
cardSx,
|
|
67
70
|
textSx,
|
|
68
|
-
icon
|
|
71
|
+
icon,
|
|
72
|
+
iconSx,
|
|
73
|
+
showCount
|
|
69
74
|
}) => {
|
|
75
|
+
const theme = _material.useTheme.call(void 0, );
|
|
70
76
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
71
77
|
_material.Card,
|
|
72
78
|
{
|
|
73
79
|
sx: {
|
|
74
|
-
...cardSx,
|
|
75
80
|
position: "relative",
|
|
76
81
|
borderRadius: "0px",
|
|
77
|
-
mb: 2
|
|
82
|
+
mb: 2,
|
|
83
|
+
...cardSx
|
|
78
84
|
},
|
|
79
85
|
children: [
|
|
80
86
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -91,13 +97,30 @@ var FilterWrapper = ({
|
|
|
91
97
|
alignItems: "center"
|
|
92
98
|
},
|
|
93
99
|
title: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _material.Box, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
|
|
94
|
-
icon ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
95
|
-
|
|
100
|
+
icon ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
101
|
+
_ManageSearch2.default,
|
|
102
|
+
{
|
|
103
|
+
sx: {
|
|
104
|
+
height: "2.5rem",
|
|
105
|
+
color: theme.palette.primary.main,
|
|
106
|
+
...iconSx
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
),
|
|
110
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
96
111
|
_material.Typography,
|
|
97
112
|
{
|
|
98
113
|
variant: "h5",
|
|
99
|
-
sx: {
|
|
100
|
-
|
|
114
|
+
sx: {
|
|
115
|
+
fontWeight: "bold",
|
|
116
|
+
color: theme.palette.primary.main,
|
|
117
|
+
...textSx
|
|
118
|
+
},
|
|
119
|
+
children: [
|
|
120
|
+
title ? title : "Filter",
|
|
121
|
+
" ",
|
|
122
|
+
showCount ? `(${filterCount ? filterCount : 0})` : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {})
|
|
123
|
+
]
|
|
101
124
|
}
|
|
102
125
|
)
|
|
103
126
|
] })
|
|
@@ -135,9 +158,9 @@ var FormWrapper = ({
|
|
|
135
158
|
_material.Card,
|
|
136
159
|
{
|
|
137
160
|
sx: {
|
|
138
|
-
...cardSx,
|
|
139
161
|
position: "relative",
|
|
140
|
-
borderRadius: "0px"
|
|
162
|
+
borderRadius: "0px",
|
|
163
|
+
...cardSx
|
|
141
164
|
},
|
|
142
165
|
children: [
|
|
143
166
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -163,7 +186,7 @@ var FormWrapper = ({
|
|
|
163
186
|
children: [
|
|
164
187
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _material.Box, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
|
|
165
188
|
_nullishCoalesce(icon, () => ( icon)),
|
|
166
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Typography, { color: "primary", sx: textSx, children:
|
|
189
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Typography, { color: "primary", sx: textSx, children: title })
|
|
167
190
|
] }),
|
|
168
191
|
actionButton
|
|
169
192
|
]
|
|
@@ -264,6 +287,7 @@ var LabelText_default = LabelText;
|
|
|
264
287
|
|
|
265
288
|
|
|
266
289
|
|
|
290
|
+
|
|
267
291
|
var ListWrapper = ({
|
|
268
292
|
children,
|
|
269
293
|
title,
|
|
@@ -273,16 +297,18 @@ var ListWrapper = ({
|
|
|
273
297
|
cardSx,
|
|
274
298
|
textSx,
|
|
275
299
|
icon,
|
|
300
|
+
iconSx,
|
|
276
301
|
showCount = true
|
|
277
302
|
}) => {
|
|
303
|
+
const theme = _material.useTheme.call(void 0, );
|
|
278
304
|
if (!show) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
|
|
279
305
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
280
306
|
_material.Card,
|
|
281
307
|
{
|
|
282
308
|
sx: {
|
|
283
|
-
...cardSx,
|
|
284
309
|
position: "relative",
|
|
285
|
-
borderRadius: "0px"
|
|
310
|
+
borderRadius: "0px",
|
|
311
|
+
...cardSx
|
|
286
312
|
},
|
|
287
313
|
children: [
|
|
288
314
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -308,16 +334,28 @@ var ListWrapper = ({
|
|
|
308
334
|
},
|
|
309
335
|
children: [
|
|
310
336
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _material.Box, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
|
|
311
|
-
icon ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
+
icon ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
338
|
+
_ManageSearch2.default,
|
|
339
|
+
{
|
|
340
|
+
sx: {
|
|
341
|
+
height: "2.5rem",
|
|
342
|
+
color: theme.palette.primary.main,
|
|
343
|
+
...iconSx
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
),
|
|
312
347
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
313
348
|
_material.Typography,
|
|
314
349
|
{
|
|
315
350
|
variant: "h5",
|
|
316
|
-
sx: {
|
|
351
|
+
sx: {
|
|
352
|
+
fontWeight: "bold",
|
|
353
|
+
color: theme.palette.primary.main,
|
|
354
|
+
...textSx
|
|
355
|
+
},
|
|
317
356
|
children: [
|
|
318
|
-
title,
|
|
319
|
-
|
|
320
|
-
showCount ? `$(${count ? count : 0})` : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {})
|
|
357
|
+
title ? title : "List",
|
|
358
|
+
showCount ? `(${count ? count : 0})` : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {})
|
|
321
359
|
]
|
|
322
360
|
}
|
|
323
361
|
)
|
|
@@ -16,20 +16,24 @@ type FilterButtonProps = {
|
|
|
16
16
|
title?: string;
|
|
17
17
|
icon?: React.ReactNode;
|
|
18
18
|
sx?: SxProps;
|
|
19
|
+
iconSx?: SxProps;
|
|
19
20
|
};
|
|
20
|
-
declare const FilterButton: ({ isSubmitting, show, title, icon, sx, }: FilterButtonProps) => react_jsx_runtime.JSX.Element;
|
|
21
|
+
declare const FilterButton: ({ isSubmitting, show, title, icon, sx, iconSx, }: FilterButtonProps) => react_jsx_runtime.JSX.Element;
|
|
21
22
|
|
|
22
23
|
type FilterWrapperProps = PropsWithChildren<{
|
|
23
|
-
title
|
|
24
|
+
title?: string;
|
|
25
|
+
filterCount?: number;
|
|
24
26
|
cardSx?: SxProps;
|
|
25
27
|
textSx?: SxProps;
|
|
26
28
|
icon?: ReactNode;
|
|
29
|
+
iconSx?: SxProps;
|
|
30
|
+
showCount?: boolean;
|
|
27
31
|
}>;
|
|
28
|
-
declare const FilterWrapper: ({ children, title, cardSx, textSx, icon, }: FilterWrapperProps) => react_jsx_runtime.JSX.Element;
|
|
32
|
+
declare const FilterWrapper: ({ children, title, filterCount, cardSx, textSx, icon, iconSx, showCount, }: FilterWrapperProps) => react_jsx_runtime.JSX.Element;
|
|
29
33
|
|
|
30
34
|
type FormWrapper = PropsWithChildren<{
|
|
31
35
|
title: string;
|
|
32
|
-
editMode
|
|
36
|
+
editMode?: boolean;
|
|
33
37
|
icon?: ReactNode;
|
|
34
38
|
cardSx?: SxProps;
|
|
35
39
|
textSx?: SxProps;
|
|
@@ -63,16 +67,17 @@ type LabelTextProps = {
|
|
|
63
67
|
declare const LabelText: ({ label, value, gridSize, containerSize, labelSx, valueSx, }: LabelTextProps) => react_jsx_runtime.JSX.Element;
|
|
64
68
|
|
|
65
69
|
type ListWrapperProps = PropsWithChildren<{
|
|
66
|
-
title
|
|
67
|
-
count
|
|
70
|
+
title?: string;
|
|
71
|
+
count?: number;
|
|
68
72
|
show?: boolean;
|
|
69
73
|
actionButton?: ReactNode;
|
|
70
74
|
cardSx?: SxProps;
|
|
71
75
|
textSx?: SxProps;
|
|
72
76
|
icon?: ReactNode;
|
|
73
77
|
showCount?: boolean;
|
|
78
|
+
iconSx?: SxProps;
|
|
74
79
|
}>;
|
|
75
|
-
declare const ListWrapper: ({ children, title, count, show, actionButton, cardSx, textSx, icon, showCount, }: ListWrapperProps) => react_jsx_runtime.JSX.Element;
|
|
80
|
+
declare const ListWrapper: ({ children, title, count, show, actionButton, cardSx, textSx, icon, iconSx, showCount, }: ListWrapperProps) => react_jsx_runtime.JSX.Element;
|
|
76
81
|
|
|
77
82
|
declare const SimpleToolbar: () => react_jsx_runtime.JSX.Element;
|
|
78
83
|
|
|
@@ -16,20 +16,24 @@ type FilterButtonProps = {
|
|
|
16
16
|
title?: string;
|
|
17
17
|
icon?: React.ReactNode;
|
|
18
18
|
sx?: SxProps;
|
|
19
|
+
iconSx?: SxProps;
|
|
19
20
|
};
|
|
20
|
-
declare const FilterButton: ({ isSubmitting, show, title, icon, sx, }: FilterButtonProps) => react_jsx_runtime.JSX.Element;
|
|
21
|
+
declare const FilterButton: ({ isSubmitting, show, title, icon, sx, iconSx, }: FilterButtonProps) => react_jsx_runtime.JSX.Element;
|
|
21
22
|
|
|
22
23
|
type FilterWrapperProps = PropsWithChildren<{
|
|
23
|
-
title
|
|
24
|
+
title?: string;
|
|
25
|
+
filterCount?: number;
|
|
24
26
|
cardSx?: SxProps;
|
|
25
27
|
textSx?: SxProps;
|
|
26
28
|
icon?: ReactNode;
|
|
29
|
+
iconSx?: SxProps;
|
|
30
|
+
showCount?: boolean;
|
|
27
31
|
}>;
|
|
28
|
-
declare const FilterWrapper: ({ children, title, cardSx, textSx, icon, }: FilterWrapperProps) => react_jsx_runtime.JSX.Element;
|
|
32
|
+
declare const FilterWrapper: ({ children, title, filterCount, cardSx, textSx, icon, iconSx, showCount, }: FilterWrapperProps) => react_jsx_runtime.JSX.Element;
|
|
29
33
|
|
|
30
34
|
type FormWrapper = PropsWithChildren<{
|
|
31
35
|
title: string;
|
|
32
|
-
editMode
|
|
36
|
+
editMode?: boolean;
|
|
33
37
|
icon?: ReactNode;
|
|
34
38
|
cardSx?: SxProps;
|
|
35
39
|
textSx?: SxProps;
|
|
@@ -63,16 +67,17 @@ type LabelTextProps = {
|
|
|
63
67
|
declare const LabelText: ({ label, value, gridSize, containerSize, labelSx, valueSx, }: LabelTextProps) => react_jsx_runtime.JSX.Element;
|
|
64
68
|
|
|
65
69
|
type ListWrapperProps = PropsWithChildren<{
|
|
66
|
-
title
|
|
67
|
-
count
|
|
70
|
+
title?: string;
|
|
71
|
+
count?: number;
|
|
68
72
|
show?: boolean;
|
|
69
73
|
actionButton?: ReactNode;
|
|
70
74
|
cardSx?: SxProps;
|
|
71
75
|
textSx?: SxProps;
|
|
72
76
|
icon?: ReactNode;
|
|
73
77
|
showCount?: boolean;
|
|
78
|
+
iconSx?: SxProps;
|
|
74
79
|
}>;
|
|
75
|
-
declare const ListWrapper: ({ children, title, count, show, actionButton, cardSx, textSx, icon, showCount, }: ListWrapperProps) => react_jsx_runtime.JSX.Element;
|
|
80
|
+
declare const ListWrapper: ({ children, title, count, show, actionButton, cardSx, textSx, icon, iconSx, showCount, }: ListWrapperProps) => react_jsx_runtime.JSX.Element;
|
|
76
81
|
|
|
77
82
|
declare const SimpleToolbar: () => react_jsx_runtime.JSX.Element;
|
|
78
83
|
|
package/dist/components/index.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkWEPRO2OOjs = require('../chunk-WEPRO2OO.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -19,4 +19,4 @@ var _chunk7HKMAJKTjs = require('../chunk-7HKMAJKT.js');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.AuthorizedView =
|
|
22
|
+
exports.AuthorizedView = _chunkWEPRO2OOjs.AuthorizedView_default; exports.ClearButton = _chunkWEPRO2OOjs.ClearButton_default; exports.FilterButton = _chunkWEPRO2OOjs.FilterButton_default; exports.FilterWrapper = _chunkWEPRO2OOjs.FilterWrapper_default; exports.FormWrapper = _chunkWEPRO2OOjs.FormWrapper_default; exports.LabelText = _chunkWEPRO2OOjs.LabelText_default; exports.ListWrapper = _chunkWEPRO2OOjs.ListWrapper_default; exports.SimpleButton = _chunkWEPRO2OOjs.SimpleButton_default; exports.SimpleToolbar = _chunkWEPRO2OOjs.SimpleToolbar_default;
|
package/dist/index.js
CHANGED
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkWEPRO2OOjs = require('./chunk-WEPRO2OO.js');
|
|
12
12
|
require('./chunk-7M2VOCYN.js');
|
|
13
13
|
require('./chunk-6BGQA4BQ.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk4E6AXVK7js = require('./chunk-4E6AXVK7.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkSTC2BZ2Ljs = require('./chunk-STC2BZ2L.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunk6JZ35VQJjs = require('./chunk-6JZ35VQJ.js');
|
|
@@ -53,4 +53,4 @@ var _chunkDKBPCLECjs = require('./chunk-DKBPCLEC.js');
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
exports.AuthorizedView =
|
|
56
|
+
exports.AuthorizedView = _chunkWEPRO2OOjs.AuthorizedView_default; exports.ClearButton = _chunkWEPRO2OOjs.ClearButton_default; exports.Field = _chunk4E6AXVK7js.Field_default; exports.Field2 = _chunkSTC2BZ2Ljs.Field_default; exports.FilterButton = _chunkWEPRO2OOjs.FilterButton_default; exports.FilterWrapper = _chunkWEPRO2OOjs.FilterWrapper_default; exports.FormWrapper = _chunkWEPRO2OOjs.FormWrapper_default; exports.LabelText = _chunkWEPRO2OOjs.LabelText_default; exports.ListWrapper = _chunkWEPRO2OOjs.ListWrapper_default; exports.SimpleButton = _chunkWEPRO2OOjs.SimpleButton_default; exports.SimpleToolbar = _chunkWEPRO2OOjs.SimpleToolbar_default; exports.api = _chunkDKBPCLECjs.api; exports.api2 = _chunkDKBPCLECjs.api2; exports.flattenObjectKeys = _chunkDKBPCLECjs.flattenObjectKeys; exports.getTimezone = _chunkDKBPCLECjs.getTimezone; exports.handleServerErrors = _chunkDKBPCLECjs.handleServerErrors; exports.propertyExists = _chunkDKBPCLECjs.propertyExists; exports.readValueAsDate = _chunkDKBPCLECjs.readValueAsDate; exports.removeLeadingTrailingSlashes = _chunkDKBPCLECjs.removeLeadingTrailingSlashes; exports.schemaTools = _chunkDKBPCLECjs.schemaTools; exports.useTransform = _chunk6JZ35VQJjs.useTransform;
|
package/dist/index.mjs
CHANGED
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
ListWrapper_default,
|
|
9
9
|
SimpleButton_default,
|
|
10
10
|
SimpleToolbar_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KM5TYX5L.mjs";
|
|
12
12
|
import "./chunk-2JFL7TS5.mjs";
|
|
13
13
|
import "./chunk-EVPUCTZA.mjs";
|
|
14
|
-
import {
|
|
15
|
-
Field_default as Field_default2
|
|
16
|
-
} from "./chunk-34X2YRTY.mjs";
|
|
17
14
|
import {
|
|
18
15
|
Field_default
|
|
19
16
|
} from "./chunk-MRZZQRKX.mjs";
|
|
17
|
+
import {
|
|
18
|
+
Field_default as Field_default2
|
|
19
|
+
} from "./chunk-34X2YRTY.mjs";
|
|
20
20
|
import {
|
|
21
21
|
useTransform
|
|
22
22
|
} from "./chunk-GFSTK7KN.mjs";
|