@vidispine/vdt-mui 23.3.0-pre.3 → 23.3.0-pre.5
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/cjs/collection/CollectionCard/CollectionCard.js +1 -1
- package/dist/cjs/collection/CollectionCard/components/CollectionCardMedia.js +1 -1
- package/dist/cjs/collection/CollectionCard/index.js +1 -1
- package/dist/cjs/collection/CollectionList/CollectionList.js +1 -1
- package/dist/cjs/collection/CollectionList/index.js +1 -1
- package/dist/cjs/collection/CollectionListItem/CollectionListItem.js +1 -1
- package/dist/cjs/collection/CollectionListItem/index.js +1 -1
- package/dist/cjs/collection/CollectionRepresentativeThumbnail/CollectionRepresentativeThumbnail.js +1 -1
- package/dist/cjs/collection/CollectionRepresentativeThumbnail/index.js +1 -1
- package/dist/cjs/entity/EntityAvatar/EntityAvatar.js +1 -1
- package/dist/cjs/entity/EntityAvatar/index.js +1 -1
- package/dist/cjs/entity/EntityCard/_components/Typography.js +1 -1
- package/dist/cjs/entity/EntityCard/components/EntityCardActions.js +1 -1
- package/dist/cjs/entity/EntityCard/components/EntityCardBase.js +1 -1
- package/dist/cjs/entity/EntityCard/components/EntityCardContent.js +1 -1
- package/dist/cjs/entity/EntityCard/components/EntityCardHeader.js +1 -1
- package/dist/cjs/entity/EntityIcon/EntityIcon.js +1 -1
- package/dist/cjs/entity/EntityIcon/index.js +1 -1
- package/dist/cjs/entity/EntityList/EntityList.js +1 -1
- package/dist/cjs/entity/EntityList/index.js +1 -1
- package/dist/cjs/entity/EntityListItem/components/EntityListItemAvatar.js +1 -1
- package/dist/cjs/entity/EntityListItem/components/EntityListItemButton.js +1 -1
- package/dist/cjs/entity/EntityListItem/components/EntityListItemSecondaryAction.js +1 -1
- package/dist/cjs/entity/EntityListItem/components/EntityListItemText.js +1 -1
- package/dist/cjs/entity/EntityTableRow/components/EntityTableCellAvatar.js +1 -1
- package/dist/cjs/entity/EntityTableRow/components/EntityTableCellCheckbox.js +1 -1
- package/dist/cjs/event/EventList/EventList.js +1 -0
- package/dist/cjs/event/EventList/components/EventListHeader.js +1 -0
- package/dist/cjs/event/EventList/index.js +1 -0
- package/dist/cjs/event/EventListItem/EventListItem.js +1 -0
- package/dist/cjs/event/EventListItem/index.js +1 -0
- package/dist/cjs/general/AvatarMenu/AvatarMenu.js +1 -1
- package/dist/cjs/general/AvatarMenu/components/Avatar.js +1 -1
- package/dist/cjs/general/AvatarMenu/components/MenuItem.js +1 -1
- package/dist/cjs/general/AvatarMenu/index.js +1 -1
- package/dist/cjs/general/BlurredBackground/BlurredBackground.js +1 -1
- package/dist/cjs/general/BlurredBackground/index.js +1 -1
- package/dist/cjs/general/CalendarPicker/CalendarPicker.js +1 -1
- package/dist/cjs/general/CalendarPicker/components/PickersDay.js +1 -1
- package/dist/cjs/general/CalendarPicker/index.js +1 -1
- package/dist/cjs/general/CompactBadge/CompactBadge.js +1 -1
- package/dist/cjs/general/CompactBadge/index.js +1 -1
- package/dist/cjs/general/CompactLabel/CompactLabel.js +1 -1
- package/dist/cjs/general/CompactLabel/index.js +1 -1
- package/dist/cjs/general/CornerLabelPlacer/CornerLabelPlacer.js +1 -1
- package/dist/cjs/general/CornerLabelPlacer/index.js +1 -1
- package/dist/cjs/general/ExpandButton/ExpandButton.js +1 -1
- package/dist/cjs/general/ExpandButton/index.js +1 -1
- package/dist/cjs/general/Form/Form.js +1 -1
- package/dist/cjs/general/Form/index.js +1 -1
- package/dist/cjs/general/ImageCollage/ImageCollage.js +1 -1
- package/dist/cjs/general/ImageCollage/index.js +1 -1
- package/dist/cjs/general/MediaIcon/MediaIcon.js +1 -1
- package/dist/cjs/general/MediaIcon/index.js +1 -1
- package/dist/cjs/general/MenuItem/MenuItem.js +1 -1
- package/dist/cjs/general/MenuItem/index.js +1 -1
- package/dist/cjs/general/ScrubLine/ScrubLine.js +1 -1
- package/dist/cjs/general/ScrubLine/index.js +1 -1
- package/dist/cjs/general/Sort/Sort.js +1 -1
- package/dist/cjs/general/Sort/components/ButtonBase.js +1 -1
- package/dist/cjs/general/Sort/components/MenuItem.js +1 -1
- package/dist/cjs/general/Sort/index.js +1 -1
- package/dist/cjs/general/TablePagination/TablePagination.js +1 -1
- package/dist/cjs/general/TablePagination/index.js +1 -1
- package/dist/cjs/general/VirtualizedList/VirtualizedList.js +1 -0
- package/dist/cjs/general/VirtualizedList/index.js +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/inputs/BasicDateTimeInput/BasicDateTimeInput.js +1 -1
- package/dist/cjs/inputs/BasicDateTimeInput/index.js +1 -1
- package/dist/cjs/inputs/BooleanInput/BooleanInput.js +1 -1
- package/dist/cjs/inputs/BooleanInput/index.js +1 -1
- package/dist/cjs/inputs/CheckboxGroupInput/CheckboxGroupInput.js +1 -1
- package/dist/cjs/inputs/CheckboxGroupInput/components/CheckboxGroup.js +1 -1
- package/dist/cjs/inputs/CheckboxGroupInput/index.js +1 -1
- package/dist/cjs/inputs/DateRangeInput/DateRangeInput.js +1 -1
- package/dist/cjs/inputs/DateRangeInput/index.js +1 -1
- package/dist/cjs/inputs/DateTimeInput/DateTimeInput.js +1 -1
- package/dist/cjs/inputs/DateTimeInput/index.js +1 -1
- package/dist/cjs/inputs/MaskedTextInput/MaskedTextInput.js +1 -1
- package/dist/cjs/inputs/MaskedTextInput/components/MaskedInputComponent.js +1 -1
- package/dist/cjs/inputs/MaskedTextInput/index.js +1 -1
- package/dist/cjs/inputs/NumberInput/NumberInput.js +1 -1
- package/dist/cjs/inputs/NumberInput/index.js +1 -1
- package/dist/cjs/inputs/RadioGroupInput/RadioGroupInput.js +1 -1
- package/dist/cjs/inputs/RadioGroupInput/components/RadioGroup.js +1 -1
- package/dist/cjs/inputs/RadioGroupInput/index.js +1 -1
- package/dist/cjs/inputs/SelectInput/SelectInput.js +1 -1
- package/dist/cjs/inputs/SelectInput/index.js +1 -1
- package/dist/cjs/inputs/SliderInput/SliderInput.js +1 -1
- package/dist/cjs/inputs/SliderInput/components/Slider.js +1 -1
- package/dist/cjs/inputs/SliderInput/index.js +1 -1
- package/dist/cjs/inputs/TagInput/TagInput.js +1 -1
- package/dist/cjs/inputs/TagInput/index.js +1 -1
- package/dist/cjs/inputs/TextInput/TextInput.js +1 -1
- package/dist/cjs/inputs/TextInput/index.js +1 -1
- package/dist/cjs/inputs/_components/FormControlLabel.js +1 -1
- package/dist/cjs/inputs/_components/MenuItem.js +1 -1
- package/dist/cjs/item/ItemCard/ItemCard.js +1 -1
- package/dist/cjs/item/ItemCard/components/ItemCardMedia.js +1 -1
- package/dist/cjs/item/ItemCard/index.js +1 -1
- package/dist/cjs/item/ItemList/ItemList.js +1 -1
- package/dist/cjs/item/ItemList/index.js +1 -1
- package/dist/cjs/item/ItemListItem/ItemListItem.js +1 -1
- package/dist/cjs/item/ItemListItem/index.js +1 -1
- package/dist/cjs/item/ItemPoster/ItemPoster.js +1 -1
- package/dist/cjs/item/ItemPoster/index.js +1 -1
- package/dist/cjs/item/ItemPosterList/ItemPosterList.js +1 -1
- package/dist/cjs/item/ItemPosterList/index.js +1 -1
- package/dist/cjs/item/ItemPosterViewer/ItemPosterViewer.js +1 -1
- package/dist/cjs/item/ItemPosterViewer/components/Toolbar.js +1 -1
- package/dist/cjs/item/ItemPosterViewer/index.js +1 -1
- package/dist/cjs/item/ItemTable/ItemTable.js +1 -1
- package/dist/cjs/item/ItemTable/components/ItemTableHead.js +1 -1
- package/dist/cjs/item/ItemTable/index.js +1 -1
- package/dist/cjs/item/ItemTableRow/ItemTableRow.js +1 -1
- package/dist/cjs/item/ItemTableRow/index.js +1 -1
- package/dist/cjs/item/ItemThumbnail/ItemThumbnail.js +1 -1
- package/dist/cjs/item/ItemThumbnail/index.js +1 -1
- package/dist/cjs/metadata/MetadataGroupTreeView/MetadataGroupTreeView.js +1 -0
- package/dist/cjs/metadata/MetadataGroupTreeView/index.js +1 -0
- package/dist/cjs/search/SearchFilterForm/SearchFilterForm.js +1 -1
- package/dist/cjs/search/SearchFilterForm/hooks/UseSearchFilterFormInputs.js +1 -1
- package/dist/cjs/search/SearchFilterForm/index.js +1 -1
- package/dist/cjs/search/SearchFilterForm/utils/mapValuesToFilter.js +1 -1
- package/dist/cjs/shape/ShapeMediaBadges/ShapeMediaBadges.js +1 -1
- package/dist/cjs/shape/ShapeMediaBadges/index.js +1 -1
- package/dist/cjs/transcode/TranscodePresetMediaBadges/TranscodePresetMediaBadges.js +1 -1
- package/dist/cjs/transcode/TranscodePresetMediaBadges/index.js +1 -1
- package/dist/es/collection/CollectionCard/CollectionCard.js +61 -60
- package/dist/es/collection/CollectionCard/components/CollectionCardMedia.js +10 -9
- package/dist/es/collection/CollectionCard/index.js +7 -6
- package/dist/es/collection/CollectionList/CollectionList.js +30 -30
- package/dist/es/collection/CollectionList/index.js +7 -6
- package/dist/es/collection/CollectionListItem/CollectionListItem.js +32 -31
- package/dist/es/collection/CollectionListItem/index.js +8 -7
- package/dist/es/collection/CollectionRepresentativeThumbnail/CollectionRepresentativeThumbnail.js +50 -61
- package/dist/es/collection/CollectionRepresentativeThumbnail/index.js +7 -6
- package/dist/es/entity/EntityAvatar/EntityAvatar.js +25 -24
- package/dist/es/entity/EntityAvatar/index.js +7 -6
- package/dist/es/entity/EntityCard/_components/Typography.js +5 -5
- package/dist/es/entity/EntityCard/components/EntityCardActions.js +37 -51
- package/dist/es/entity/EntityCard/components/EntityCardBase.js +9 -8
- package/dist/es/entity/EntityCard/components/EntityCardContent.js +20 -19
- package/dist/es/entity/EntityCard/components/EntityCardHeader.js +30 -45
- package/dist/es/entity/EntityIcon/EntityIcon.js +38 -51
- package/dist/es/entity/EntityIcon/index.js +7 -6
- package/dist/es/entity/EntityList/EntityList.js +42 -42
- package/dist/es/entity/EntityList/index.js +8 -7
- package/dist/es/entity/EntityListItem/components/EntityListItemAvatar.js +17 -16
- package/dist/es/entity/EntityListItem/components/EntityListItemButton.js +16 -16
- package/dist/es/entity/EntityListItem/components/EntityListItemSecondaryAction.js +13 -13
- package/dist/es/entity/EntityListItem/components/EntityListItemText.js +14 -13
- package/dist/es/entity/EntityTableRow/components/EntityTableCellAvatar.js +18 -17
- package/dist/es/entity/EntityTableRow/components/EntityTableCellCheckbox.js +11 -10
- package/dist/es/entity/_utils/getEntityText.d.ts +1 -1
- package/dist/es/event/EventList/EventList.d.ts +67 -0
- package/dist/es/event/EventList/EventList.js +113 -0
- package/dist/es/event/EventList/components/EventListHeader.d.ts +8 -0
- package/dist/es/event/EventList/components/EventListHeader.js +29 -0
- package/dist/es/event/EventList/index.d.ts +2 -0
- package/dist/es/event/EventList/index.js +13 -0
- package/dist/es/event/EventListItem/EventListItem.d.ts +58 -0
- package/dist/es/event/EventListItem/EventListItem.js +203 -0
- package/dist/es/event/EventListItem/index.d.ts +2 -0
- package/dist/es/event/EventListItem/index.js +13 -0
- package/dist/es/event/index.d.ts +2 -0
- package/dist/es/general/AvatarMenu/AvatarMenu.js +27 -26
- package/dist/es/general/AvatarMenu/components/Avatar.js +15 -14
- package/dist/es/general/AvatarMenu/components/MenuItem.js +14 -14
- package/dist/es/general/AvatarMenu/index.js +8 -7
- package/dist/es/general/BlurredBackground/BlurredBackground.js +14 -13
- package/dist/es/general/BlurredBackground/index.js +8 -7
- package/dist/es/general/CalendarPicker/CalendarPicker.js +59 -58
- package/dist/es/general/CalendarPicker/components/PickersDay.js +18 -17
- package/dist/es/general/CalendarPicker/index.js +8 -7
- package/dist/es/general/CompactBadge/CompactBadge.js +17 -16
- package/dist/es/general/CompactBadge/index.js +7 -6
- package/dist/es/general/CompactLabel/CompactLabel.js +19 -18
- package/dist/es/general/CompactLabel/index.js +7 -6
- package/dist/es/general/CornerLabelPlacer/CornerLabelPlacer.js +30 -29
- package/dist/es/general/CornerLabelPlacer/index.js +8 -7
- package/dist/es/general/ExpandButton/ExpandButton.js +21 -20
- package/dist/es/general/ExpandButton/index.js +7 -6
- package/dist/es/general/Form/Form.js +52 -51
- package/dist/es/general/Form/index.js +8 -7
- package/dist/es/general/ImageCollage/ImageCollage.js +37 -36
- package/dist/es/general/ImageCollage/index.js +6 -5
- package/dist/es/general/MediaIcon/MediaIcon.js +47 -46
- package/dist/es/general/MediaIcon/index.js +6 -5
- package/dist/es/general/MenuItem/MenuItem.js +28 -27
- package/dist/es/general/MenuItem/index.js +9 -8
- package/dist/es/general/ScrubLine/ScrubLine.js +36 -35
- package/dist/es/general/ScrubLine/index.js +7 -6
- package/dist/es/general/Sort/Sort.js +25 -24
- package/dist/es/general/Sort/components/ButtonBase.js +11 -11
- package/dist/es/general/Sort/components/MenuItem.js +10 -10
- package/dist/es/general/Sort/index.js +7 -6
- package/dist/es/general/TablePagination/TablePagination.js +27 -26
- package/dist/es/general/TablePagination/index.js +9 -8
- package/dist/es/general/ThemeContext/ThemeContext.d.ts +2 -14
- package/dist/es/general/VirtualizedList/VirtualizedList.d.ts +56 -0
- package/dist/es/general/VirtualizedList/VirtualizedList.js +90 -0
- package/dist/es/general/VirtualizedList/index.d.ts +3 -0
- package/dist/es/general/VirtualizedList/index.js +12 -0
- package/dist/es/general/index.d.ts +1 -0
- package/dist/es/index.d.ts +1 -0
- package/dist/es/index.js +67 -61
- package/dist/es/inputs/BasicDateTimeInput/BasicDateTimeInput.js +30 -29
- package/dist/es/inputs/BasicDateTimeInput/index.js +8 -7
- package/dist/es/inputs/BooleanInput/BooleanInput.js +48 -47
- package/dist/es/inputs/BooleanInput/index.js +8 -7
- package/dist/es/inputs/CheckboxGroupInput/CheckboxGroupInput.js +64 -63
- package/dist/es/inputs/CheckboxGroupInput/components/CheckboxGroup.js +37 -36
- package/dist/es/inputs/CheckboxGroupInput/index.js +7 -6
- package/dist/es/inputs/DateRangeInput/DateRangeInput.js +84 -84
- package/dist/es/inputs/DateRangeInput/index.js +8 -7
- package/dist/es/inputs/DateTimeInput/DateTimeInput.js +60 -59
- package/dist/es/inputs/DateTimeInput/index.js +8 -7
- package/dist/es/inputs/MaskedTextInput/MaskedTextInput.js +34 -33
- package/dist/es/inputs/MaskedTextInput/components/MaskedInputComponent.js +9 -8
- package/dist/es/inputs/MaskedTextInput/index.js +7 -6
- package/dist/es/inputs/NumberInput/NumberInput.js +25 -24
- package/dist/es/inputs/NumberInput/index.js +8 -7
- package/dist/es/inputs/RadioGroupInput/RadioGroupInput.js +62 -61
- package/dist/es/inputs/RadioGroupInput/components/RadioGroup.js +27 -26
- package/dist/es/inputs/RadioGroupInput/index.js +6 -5
- package/dist/es/inputs/SelectInput/SelectInput.js +36 -35
- package/dist/es/inputs/SelectInput/index.js +6 -5
- package/dist/es/inputs/SliderInput/SliderInput.js +75 -76
- package/dist/es/inputs/SliderInput/components/Slider.js +38 -38
- package/dist/es/inputs/SliderInput/index.js +8 -7
- package/dist/es/inputs/TagInput/TagInput.js +88 -87
- package/dist/es/inputs/TagInput/index.js +6 -5
- package/dist/es/inputs/TextInput/TextInput.js +32 -31
- package/dist/es/inputs/TextInput/index.js +6 -5
- package/dist/es/inputs/_components/FormControlLabel.js +11 -10
- package/dist/es/inputs/_components/MenuItem.js +18 -17
- package/dist/es/item/ItemCard/ItemCard.js +56 -55
- package/dist/es/item/ItemCard/components/ItemCardMedia.js +14 -13
- package/dist/es/item/ItemCard/index.js +8 -7
- package/dist/es/item/ItemList/ItemList.js +39 -39
- package/dist/es/item/ItemList/index.js +9 -8
- package/dist/es/item/ItemListItem/ItemListItem.js +32 -31
- package/dist/es/item/ItemListItem/index.js +9 -8
- package/dist/es/item/ItemPoster/ItemPoster.js +32 -45
- package/dist/es/item/ItemPoster/index.js +9 -8
- package/dist/es/item/ItemPosterList/ItemPosterList.js +27 -26
- package/dist/es/item/ItemPosterList/index.js +7 -6
- package/dist/es/item/ItemPosterViewer/ItemPosterViewer.js +47 -60
- package/dist/es/item/ItemPosterViewer/components/Toolbar.js +18 -17
- package/dist/es/item/ItemPosterViewer/index.js +9 -8
- package/dist/es/item/ItemTable/ItemTable.js +49 -50
- package/dist/es/item/ItemTable/components/ItemTableHead.js +22 -21
- package/dist/es/item/ItemTable/index.js +9 -8
- package/dist/es/item/ItemTableRow/ItemTableRow.js +38 -38
- package/dist/es/item/ItemTableRow/index.js +6 -5
- package/dist/es/item/ItemThumbnail/ItemThumbnail.js +46 -57
- package/dist/es/item/ItemThumbnail/index.js +9 -8
- package/dist/es/metadata/MetadataGroupTreeView/MetadataGroupTreeView.d.ts +16 -0
- package/dist/es/metadata/MetadataGroupTreeView/MetadataGroupTreeView.js +63 -0
- package/dist/es/metadata/MetadataGroupTreeView/index.d.ts +2 -0
- package/dist/es/metadata/MetadataGroupTreeView/index.js +12 -0
- package/dist/es/metadata/index.d.ts +1 -0
- package/dist/es/search/SearchFilterForm/SearchFilterForm.js +34 -33
- package/dist/es/search/SearchFilterForm/hooks/UseSearchFilterFormInputs.js +75 -75
- package/dist/es/search/SearchFilterForm/index.js +8 -7
- package/dist/es/search/SearchFilterForm/utils/mapValuesToFilter.js +11 -15
- package/dist/es/shape/ShapeMediaBadges/ShapeMediaBadges.js +22 -21
- package/dist/es/shape/ShapeMediaBadges/index.js +7 -6
- package/dist/es/transcode/TranscodePresetMediaBadges/TranscodePresetMediaBadges.js +21 -20
- package/dist/es/transcode/TranscodePresetMediaBadges/index.js +8 -7
- package/package.json +14 -13
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
Root:
|
|
5
|
-
},
|
|
1
|
+
import { jsx as q } from "react/jsx-runtime";
|
|
2
|
+
import w from "@mui/material/TextField";
|
|
3
|
+
const y = {
|
|
4
|
+
Root: w
|
|
5
|
+
}, u = ({
|
|
6
6
|
name: e,
|
|
7
|
-
label:
|
|
7
|
+
label: s,
|
|
8
8
|
value: n,
|
|
9
|
-
defaultValue:
|
|
9
|
+
defaultValue: m,
|
|
10
10
|
helperText: r,
|
|
11
11
|
error: t,
|
|
12
|
-
required:
|
|
13
|
-
disabled:
|
|
14
|
-
fullWidth:
|
|
12
|
+
required: v,
|
|
13
|
+
disabled: c,
|
|
14
|
+
fullWidth: p,
|
|
15
15
|
variant: f,
|
|
16
|
-
size:
|
|
16
|
+
size: C,
|
|
17
17
|
onChange: g,
|
|
18
18
|
onBlur: h,
|
|
19
19
|
onFocus: x,
|
|
20
|
-
components:
|
|
21
|
-
componentsProps:
|
|
20
|
+
components: b,
|
|
21
|
+
componentsProps: T
|
|
22
22
|
}) => {
|
|
23
23
|
const {
|
|
24
|
-
Root:
|
|
25
|
-
} =
|
|
24
|
+
Root: F
|
|
25
|
+
} = b, P = (o) => {
|
|
26
26
|
var a, d, i;
|
|
27
|
-
const
|
|
27
|
+
const j = ["", void 0].includes((a = o == null ? void 0 : o.target) == null ? void 0 : a.value) ? (d = o == null ? void 0 : o.target) == null ? void 0 : d.value : Number((i = o == null ? void 0 : o.target) == null ? void 0 : i.value);
|
|
28
28
|
g(o, {
|
|
29
|
-
value:
|
|
29
|
+
value: j
|
|
30
30
|
});
|
|
31
|
-
},
|
|
32
|
-
return /* @__PURE__ */
|
|
31
|
+
}, R = n !== void 0, l = !!t, V = (t || "").trim();
|
|
32
|
+
return /* @__PURE__ */ q(F, { id: e, name: e, label: s, ...R ? {
|
|
33
33
|
value: n
|
|
34
34
|
} : {
|
|
35
|
-
defaultValue:
|
|
36
|
-
}, helperText: (
|
|
35
|
+
defaultValue: m
|
|
36
|
+
}, helperText: (V || r) && l ? t : r, error: l, required: v, disabled: c, fullWidth: p, variant: f, size: C, type: "number", autoComplete: "off", onChange: P, onBlur: h, onFocus: x, ...T.root });
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
u.defaultProps = {
|
|
39
39
|
name: void 0,
|
|
40
40
|
label: void 0,
|
|
41
41
|
value: void 0,
|
|
@@ -50,9 +50,10 @@ y.defaultProps = {
|
|
|
50
50
|
onChange: () => null,
|
|
51
51
|
onBlur: void 0,
|
|
52
52
|
onFocus: void 0,
|
|
53
|
-
components:
|
|
53
|
+
components: y,
|
|
54
54
|
componentsProps: void 0
|
|
55
55
|
};
|
|
56
|
+
const E = u;
|
|
56
57
|
export {
|
|
57
|
-
|
|
58
|
+
E as default
|
|
58
59
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { styled as r } from "@mui/material/styles";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const o = "NumberInput",
|
|
5
|
-
name:
|
|
6
|
-
overridesResolver: (
|
|
2
|
+
import m from "./NumberInput.js";
|
|
3
|
+
import { withOverrides as s } from "../../_utils/withOverrides.js";
|
|
4
|
+
const o = "NumberInput", t = `Vdt${o}`, p = s(t)(m), e = r(p, {
|
|
5
|
+
name: t,
|
|
6
|
+
overridesResolver: (d, n) => n.root
|
|
7
7
|
})({});
|
|
8
|
-
|
|
8
|
+
e.displayName = o;
|
|
9
|
+
const l = e;
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
+
l as default
|
|
11
12
|
};
|
|
@@ -4,12 +4,12 @@ import W from "@mui/material/FormHelperText";
|
|
|
4
4
|
import k from "@mui/material/InputLabel";
|
|
5
5
|
import q from "@mui/material/OutlinedInput";
|
|
6
6
|
import E from "@mui/material/FilledInput";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
7
|
+
import $ from "@mui/material/Input";
|
|
8
|
+
import w from "@mui/material/Radio";
|
|
9
9
|
import { styled as i } from "@mui/material/styles";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
const
|
|
10
|
+
import A from "../_components/FormControlLabel.js";
|
|
11
|
+
import D from "./components/RadioGroup.js";
|
|
12
|
+
const J = i(q)(() => ({
|
|
13
13
|
paddingLeft: 14,
|
|
14
14
|
paddingRight: 14,
|
|
15
15
|
// Medium Size (56px)
|
|
@@ -21,7 +21,7 @@ const D = i(q)(() => ({
|
|
|
21
21
|
"&.MuiInputBase-sizeSmall": {
|
|
22
22
|
paddingTop: 2
|
|
23
23
|
}
|
|
24
|
-
})),
|
|
24
|
+
})), K = i(E)(() => ({
|
|
25
25
|
// Medium Size
|
|
26
26
|
"&:not(.MuiInputBase-sizeSmall)": {
|
|
27
27
|
paddingLeft: 12,
|
|
@@ -42,7 +42,7 @@ const D = i(q)(() => ({
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
})),
|
|
45
|
+
})), Q = i($)(() => ({
|
|
46
46
|
// Medium Size
|
|
47
47
|
"&:not(.MuiInputBase-sizeSmall)": {
|
|
48
48
|
paddingLeft: 11,
|
|
@@ -59,56 +59,56 @@ const D = i(q)(() => ({
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
})),
|
|
62
|
+
})), X = i(k)(() => ({
|
|
63
63
|
paddingRight: 8
|
|
64
|
-
})),
|
|
64
|
+
})), Y = {
|
|
65
65
|
Root: U,
|
|
66
66
|
FormHelperText: W,
|
|
67
|
-
InputLabel:
|
|
68
|
-
Input:
|
|
67
|
+
InputLabel: X,
|
|
68
|
+
Input: Q,
|
|
69
69
|
// Standard Input
|
|
70
|
-
FilledInput:
|
|
71
|
-
OutlinedInput:
|
|
72
|
-
RadioGroup:
|
|
73
|
-
FormControlLabel:
|
|
74
|
-
Radio:
|
|
75
|
-
},
|
|
70
|
+
FilledInput: K,
|
|
71
|
+
OutlinedInput: J,
|
|
72
|
+
RadioGroup: D,
|
|
73
|
+
FormControlLabel: A,
|
|
74
|
+
Radio: w
|
|
75
|
+
}, s = ({
|
|
76
76
|
name: t,
|
|
77
77
|
label: n,
|
|
78
|
-
value:
|
|
79
|
-
defaultValue:
|
|
80
|
-
options:
|
|
78
|
+
value: f,
|
|
79
|
+
defaultValue: g,
|
|
80
|
+
options: I,
|
|
81
81
|
helperText: l,
|
|
82
82
|
error: r,
|
|
83
|
-
required:
|
|
83
|
+
required: C,
|
|
84
84
|
disabled: M,
|
|
85
85
|
fullWidth: a,
|
|
86
|
-
orientation:
|
|
87
|
-
labelPlacement:
|
|
88
|
-
justifyContent:
|
|
86
|
+
orientation: b,
|
|
87
|
+
labelPlacement: h,
|
|
88
|
+
justifyContent: L,
|
|
89
89
|
variant: d,
|
|
90
90
|
size: u,
|
|
91
|
-
onChange:
|
|
92
|
-
onBlur:
|
|
93
|
-
onFocus:
|
|
94
|
-
components:
|
|
91
|
+
onChange: R,
|
|
92
|
+
onBlur: F,
|
|
93
|
+
onFocus: c,
|
|
94
|
+
components: x,
|
|
95
95
|
componentsProps: o
|
|
96
96
|
}) => {
|
|
97
97
|
const {
|
|
98
|
-
Root:
|
|
99
|
-
FormHelperText:
|
|
100
|
-
InputLabel:
|
|
101
|
-
Input:
|
|
102
|
-
FilledInput:
|
|
103
|
-
OutlinedInput:
|
|
104
|
-
RadioGroup:
|
|
105
|
-
FormControlLabel:
|
|
106
|
-
Radio:
|
|
107
|
-
} =
|
|
108
|
-
standard:
|
|
109
|
-
filled:
|
|
110
|
-
outlined:
|
|
111
|
-
}[d],
|
|
98
|
+
Root: v,
|
|
99
|
+
FormHelperText: B,
|
|
100
|
+
InputLabel: S,
|
|
101
|
+
Input: T,
|
|
102
|
+
FilledInput: z,
|
|
103
|
+
OutlinedInput: y,
|
|
104
|
+
RadioGroup: G,
|
|
105
|
+
FormControlLabel: H,
|
|
106
|
+
Radio: O
|
|
107
|
+
} = x, j = {
|
|
108
|
+
standard: T,
|
|
109
|
+
filled: z,
|
|
110
|
+
outlined: y
|
|
111
|
+
}[d], V = {
|
|
112
112
|
standard: {
|
|
113
113
|
disableUnderline: !0,
|
|
114
114
|
...o.input
|
|
@@ -123,31 +123,31 @@ const D = i(q)(() => ({
|
|
|
123
123
|
...o.outlinedInput
|
|
124
124
|
}
|
|
125
125
|
}[d], p = !!r, m = (r || "").trim();
|
|
126
|
-
return /* @__PURE__ */ N(
|
|
127
|
-
/* @__PURE__ */ e(
|
|
128
|
-
/* @__PURE__ */ e(
|
|
126
|
+
return /* @__PURE__ */ N(v, { error: p, required: C, disabled: M, variant: d, fullWidth: a, ...o.root, children: [
|
|
127
|
+
/* @__PURE__ */ e(S, { htmlFor: t, id: `${t}-label`, shrink: !0, ...o.inputLabel, children: n }),
|
|
128
|
+
/* @__PURE__ */ e(j, { id: t, name: t, fullWidth: a, size: u, inputComponent: G, inputProps: {
|
|
129
129
|
id: t,
|
|
130
|
-
value:
|
|
131
|
-
defaultValue:
|
|
132
|
-
options:
|
|
133
|
-
orientation:
|
|
134
|
-
labelPlacement:
|
|
135
|
-
justifyContent:
|
|
130
|
+
value: f,
|
|
131
|
+
defaultValue: g,
|
|
132
|
+
options: I,
|
|
133
|
+
orientation: b,
|
|
134
|
+
labelPlacement: h,
|
|
135
|
+
justifyContent: L,
|
|
136
136
|
size: u,
|
|
137
|
-
onChange:
|
|
138
|
-
onFocus:
|
|
139
|
-
onBlur:
|
|
140
|
-
FormControlLabelComponent:
|
|
137
|
+
onChange: R,
|
|
138
|
+
onFocus: c,
|
|
139
|
+
onBlur: F,
|
|
140
|
+
FormControlLabelComponent: H,
|
|
141
141
|
formControlLabelProps: o.formControlLabel,
|
|
142
|
-
RadioComponent:
|
|
142
|
+
RadioComponent: O,
|
|
143
143
|
radioProps: o.radio,
|
|
144
144
|
vdtClassNames: o.radioGroup.className,
|
|
145
145
|
...o.radioGroup
|
|
146
|
-
}, ...
|
|
147
|
-
(m || l) && /* @__PURE__ */ e(
|
|
146
|
+
}, ...V }),
|
|
147
|
+
(m || l) && /* @__PURE__ */ e(B, { ...o.formHelperText, children: p ? m : l })
|
|
148
148
|
] });
|
|
149
149
|
};
|
|
150
|
-
|
|
150
|
+
s.defaultProps = {
|
|
151
151
|
name: void 0,
|
|
152
152
|
label: void 0,
|
|
153
153
|
value: void 0,
|
|
@@ -166,9 +166,10 @@ Y.defaultProps = {
|
|
|
166
166
|
onChange: () => null,
|
|
167
167
|
onBlur: void 0,
|
|
168
168
|
onFocus: void 0,
|
|
169
|
-
components:
|
|
169
|
+
components: Y,
|
|
170
170
|
componentsProps: void 0
|
|
171
171
|
};
|
|
172
|
+
const uo = s;
|
|
172
173
|
export {
|
|
173
|
-
|
|
174
|
+
uo as default
|
|
174
175
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import
|
|
2
|
+
import { forwardRef as N } from "react";
|
|
3
|
+
import $ from "@mui/material/RadioGroup";
|
|
4
4
|
import n from "@mui/material/FormControlLabel";
|
|
5
5
|
import m from "@mui/material/Radio";
|
|
6
|
-
import { styled as
|
|
7
|
-
const
|
|
6
|
+
import { styled as j } from "@mui/material/styles";
|
|
7
|
+
const x = j($, {
|
|
8
8
|
shouldForwardProp: (o) => o !== "justifyContent"
|
|
9
9
|
})(({
|
|
10
10
|
row: o,
|
|
@@ -22,25 +22,25 @@ const j = $(N, {
|
|
|
22
22
|
marginLeft: 0,
|
|
23
23
|
marginRight: 1.5
|
|
24
24
|
}
|
|
25
|
-
})),
|
|
25
|
+
})), s = N(({
|
|
26
26
|
id: o,
|
|
27
27
|
value: l,
|
|
28
|
-
defaultValue:
|
|
29
|
-
disabled:
|
|
28
|
+
defaultValue: u,
|
|
29
|
+
disabled: p,
|
|
30
30
|
options: e,
|
|
31
31
|
orientation: d,
|
|
32
32
|
labelPlacement: v,
|
|
33
33
|
justifyContent: C,
|
|
34
34
|
size: i,
|
|
35
|
-
onChange:
|
|
36
|
-
FormControlLabelComponent:
|
|
37
|
-
formControlLabelProps:
|
|
38
|
-
RadioComponent:
|
|
39
|
-
radioProps:
|
|
40
|
-
...
|
|
35
|
+
onChange: c,
|
|
36
|
+
FormControlLabelComponent: f = n,
|
|
37
|
+
formControlLabelProps: b,
|
|
38
|
+
RadioComponent: h = m,
|
|
39
|
+
radioProps: g,
|
|
40
|
+
...R
|
|
41
41
|
}, P) => {
|
|
42
42
|
const {
|
|
43
|
-
vdtClassNames:
|
|
43
|
+
vdtClassNames: L,
|
|
44
44
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
45
45
|
className: S,
|
|
46
46
|
// ignore as it adds styles we don't want
|
|
@@ -48,27 +48,27 @@ const j = $(N, {
|
|
|
48
48
|
autoFocus: E,
|
|
49
49
|
rows: _,
|
|
50
50
|
type: k,
|
|
51
|
-
...
|
|
52
|
-
} =
|
|
53
|
-
return /* @__PURE__ */ t(
|
|
51
|
+
...F
|
|
52
|
+
} = R;
|
|
53
|
+
return /* @__PURE__ */ t(x, { ref: P, id: o, className: L, ...l !== void 0 ? {
|
|
54
54
|
value: l
|
|
55
55
|
} : {
|
|
56
|
-
defaultValue:
|
|
56
|
+
defaultValue: u
|
|
57
57
|
}, row: d === "horizontal", justifyContent: C, onChange: (a) => {
|
|
58
58
|
var r;
|
|
59
|
-
|
|
59
|
+
c(a, {
|
|
60
60
|
value: (r = a == null ? void 0 : a.target) == null ? void 0 : r.value
|
|
61
61
|
});
|
|
62
|
-
}, ...
|
|
62
|
+
}, ...F, children: e == null ? void 0 : e.map(({
|
|
63
63
|
name: a,
|
|
64
64
|
value: r,
|
|
65
|
-
label:
|
|
66
|
-
count:
|
|
65
|
+
label: w,
|
|
66
|
+
count: G,
|
|
67
67
|
disabled: y,
|
|
68
|
-
...
|
|
69
|
-
}) => /* @__PURE__ */ t(
|
|
68
|
+
...M
|
|
69
|
+
}) => /* @__PURE__ */ t(f, { label: w, count: G, labelPlacement: v, orientation: d, size: i, control: /* @__PURE__ */ t(h, { id: `${o}-${a || r}`, value: r, disabled: y || p, size: i, ...M, ...g ?? {} }), ...b ?? {} }, `${o}-${r}`)) });
|
|
70
70
|
});
|
|
71
|
-
|
|
71
|
+
s.defaultProps = {
|
|
72
72
|
value: void 0,
|
|
73
73
|
defaultValue: void 0,
|
|
74
74
|
disabled: void 0,
|
|
@@ -83,6 +83,7 @@ x.defaultProps = {
|
|
|
83
83
|
RadioComponent: m,
|
|
84
84
|
radioProps: void 0
|
|
85
85
|
};
|
|
86
|
+
const O = s;
|
|
86
87
|
export {
|
|
87
|
-
|
|
88
|
+
O as default
|
|
88
89
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { styled as r } from "@mui/material/styles";
|
|
2
|
-
import { withOverrides as n } from "../../_utils/withOverrides.js";
|
|
3
2
|
import m from "./RadioGroupInput.js";
|
|
4
|
-
|
|
3
|
+
import { withOverrides as p } from "../../_utils/withOverrides.js";
|
|
4
|
+
const o = "RadioGroupInput", t = `Vdt${o}`, s = p(t)(m), e = r(s, {
|
|
5
5
|
name: t,
|
|
6
|
-
overridesResolver: (
|
|
6
|
+
overridesResolver: (d, n) => n.root
|
|
7
7
|
})({});
|
|
8
|
-
|
|
8
|
+
e.displayName = o;
|
|
9
|
+
const l = e;
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
+
l as default
|
|
11
12
|
};
|
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import { jsx as v } from "react/jsx-runtime";
|
|
2
2
|
import $ from "@mui/material/TextField";
|
|
3
3
|
import { styled as k } from "@mui/material/styles";
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import q from "../_components/MenuItem.js";
|
|
5
|
+
const z = k($)(() => ({
|
|
6
6
|
// Show label correctly with ellipsis
|
|
7
7
|
minWidth: 72,
|
|
8
8
|
"& .MuiFormLabel-root": {
|
|
9
9
|
minWidth: 16,
|
|
10
10
|
paddingRight: 16
|
|
11
11
|
}
|
|
12
|
-
})),
|
|
13
|
-
Root:
|
|
14
|
-
MenuItem:
|
|
15
|
-
},
|
|
12
|
+
})), B = {
|
|
13
|
+
Root: z,
|
|
14
|
+
MenuItem: q
|
|
15
|
+
}, g = ({
|
|
16
16
|
name: a,
|
|
17
|
-
label:
|
|
17
|
+
label: h,
|
|
18
18
|
value: i,
|
|
19
19
|
defaultValue: o,
|
|
20
20
|
options: e,
|
|
21
21
|
helperText: c,
|
|
22
22
|
error: u,
|
|
23
|
-
required:
|
|
24
|
-
disabled:
|
|
25
|
-
fullWidth:
|
|
23
|
+
required: b,
|
|
24
|
+
disabled: x,
|
|
25
|
+
fullWidth: C,
|
|
26
26
|
variant: I,
|
|
27
27
|
size: A,
|
|
28
28
|
placeholder: n,
|
|
29
29
|
multiple: s,
|
|
30
|
-
onChange:
|
|
31
|
-
onBlur:
|
|
32
|
-
onFocus:
|
|
33
|
-
onOpen:
|
|
34
|
-
onClose:
|
|
35
|
-
components:
|
|
36
|
-
componentsProps:
|
|
30
|
+
onChange: M,
|
|
31
|
+
onBlur: F,
|
|
32
|
+
onFocus: T,
|
|
33
|
+
onOpen: L,
|
|
34
|
+
onClose: S,
|
|
35
|
+
components: P,
|
|
36
|
+
componentsProps: d
|
|
37
37
|
}) => {
|
|
38
38
|
const {
|
|
39
|
-
Root:
|
|
40
|
-
MenuItem:
|
|
41
|
-
} =
|
|
39
|
+
Root: R,
|
|
40
|
+
MenuItem: W
|
|
41
|
+
} = P, m = i !== void 0, j = m && s && i !== void 0 && !Array.isArray(i) ? [i] : i, p = !m && s && !Array.isArray(o) ? o && [o] || [] : o || "", E = (r) => {
|
|
42
42
|
var t;
|
|
43
|
-
|
|
43
|
+
M(r, {
|
|
44
44
|
value: (t = r == null ? void 0 : r.target) == null ? void 0 : t.value
|
|
45
45
|
});
|
|
46
46
|
}, f = (r) => {
|
|
47
47
|
var t;
|
|
48
|
-
return ((t = e == null ? void 0 : e.find((
|
|
48
|
+
return ((t = e == null ? void 0 : e.find((l) => ((l == null ? void 0 : l.value) || l) === r)) == null ? void 0 : t.label) || r;
|
|
49
49
|
}, y = !!u, O = (u || "").trim();
|
|
50
|
-
return /* @__PURE__ */ v(
|
|
51
|
-
value:
|
|
50
|
+
return /* @__PURE__ */ v(R, { id: a, name: a, label: h, ...m ? {
|
|
51
|
+
value: j
|
|
52
52
|
} : {
|
|
53
|
-
defaultValue:
|
|
54
|
-
}, helperText: (O || c) && y ? u : c, error: y, required:
|
|
53
|
+
defaultValue: p
|
|
54
|
+
}, helperText: (O || c) && y ? u : c, error: y, required: b, disabled: x, fullWidth: C, variant: I, size: A, select: !0, onChange: E, onBlur: F, onFocus: T, InputLabelProps: {
|
|
55
55
|
...n !== void 0 ? {
|
|
56
56
|
shrink: !0
|
|
57
57
|
} : {},
|
|
58
|
-
...
|
|
59
|
-
}, ...
|
|
58
|
+
...d.root.InputLabelProps || {}
|
|
59
|
+
}, ...d.root, SelectProps: {
|
|
60
60
|
multiple: s,
|
|
61
|
-
onOpen:
|
|
62
|
-
onClose:
|
|
61
|
+
onOpen: L,
|
|
62
|
+
onClose: S,
|
|
63
63
|
displayEmpty: !0,
|
|
64
64
|
renderValue: (r) => (n == null ? void 0 : n.length) > 0 && r.length === 0 ? /* @__PURE__ */ v("span", { style: {
|
|
65
65
|
color: "#81858a"
|
|
66
66
|
}, children: n }) : Array.isArray(r) ? r.map((t) => f(t)).join(", ") : f(r),
|
|
67
|
-
...
|
|
68
|
-
}, children: e == null ? void 0 : e.map((r) => /* @__PURE__ */ v(
|
|
67
|
+
...d.root.SelectProps || {}
|
|
68
|
+
}, children: e == null ? void 0 : e.map((r) => /* @__PURE__ */ v(W, { ...r, ...d.menuItem }, `select-${a}-${r == null ? void 0 : r.value}`)) });
|
|
69
69
|
};
|
|
70
|
-
|
|
70
|
+
g.defaultProps = {
|
|
71
71
|
name: void 0,
|
|
72
72
|
label: void 0,
|
|
73
73
|
value: void 0,
|
|
@@ -87,9 +87,10 @@ B.defaultProps = {
|
|
|
87
87
|
onFocus: void 0,
|
|
88
88
|
onOpen: void 0,
|
|
89
89
|
onClose: void 0,
|
|
90
|
-
components:
|
|
90
|
+
components: B,
|
|
91
91
|
componentsProps: void 0
|
|
92
92
|
};
|
|
93
|
+
const J = g;
|
|
93
94
|
export {
|
|
94
|
-
|
|
95
|
+
J as default
|
|
95
96
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { styled as r } from "@mui/material/styles";
|
|
2
|
-
import { withOverrides as n } from "../../_utils/withOverrides.js";
|
|
3
2
|
import m from "./SelectInput.js";
|
|
4
|
-
|
|
3
|
+
import { withOverrides as s } from "../../_utils/withOverrides.js";
|
|
4
|
+
const o = "SelectInput", t = `Vdt${o}`, p = s(t)(m), e = r(p, {
|
|
5
5
|
name: t,
|
|
6
|
-
overridesResolver: (
|
|
6
|
+
overridesResolver: (d, n) => n.root
|
|
7
7
|
})({});
|
|
8
|
-
|
|
8
|
+
e.displayName = o;
|
|
9
|
+
const a = e;
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
+
a as default
|
|
11
12
|
};
|