@vidispine/vdt-mui 23.3.0-pre.4 → 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,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { styled as
|
|
5
|
-
const d =
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import a from "@mui/material/Box";
|
|
3
|
+
import p from "@mui/material/Typography";
|
|
4
|
+
import { styled as s } from "@mui/material/styles";
|
|
5
|
+
const d = s(a)(({
|
|
6
6
|
theme: o
|
|
7
7
|
}) => ({
|
|
8
8
|
height: "1rem",
|
|
@@ -21,24 +21,25 @@ const d = p(i)(({
|
|
|
21
21
|
minWidth: 32,
|
|
22
22
|
textAlign: "center",
|
|
23
23
|
userSelect: "none"
|
|
24
|
-
})),
|
|
24
|
+
})), m = {
|
|
25
25
|
Root: d,
|
|
26
|
-
Badge:
|
|
27
|
-
},
|
|
26
|
+
Badge: p
|
|
27
|
+
}, t = ({
|
|
28
28
|
text: o,
|
|
29
|
-
components:
|
|
30
|
-
componentsProps:
|
|
29
|
+
components: e,
|
|
30
|
+
componentsProps: r
|
|
31
31
|
}) => {
|
|
32
32
|
const {
|
|
33
|
-
Root:
|
|
34
|
-
} =
|
|
35
|
-
return /* @__PURE__ */ n
|
|
33
|
+
Root: n
|
|
34
|
+
} = e;
|
|
35
|
+
return /* @__PURE__ */ i(n, { component: "span", ...r.root, children: o });
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
t.defaultProps = {
|
|
38
38
|
text: void 0,
|
|
39
|
-
components:
|
|
39
|
+
components: m,
|
|
40
40
|
componentsProps: void 0
|
|
41
41
|
};
|
|
42
|
+
const g = t;
|
|
42
43
|
export {
|
|
43
|
-
|
|
44
|
+
g as default
|
|
44
45
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { styled as r } from "@mui/material/styles";
|
|
2
|
-
import { withOverrides as m } from "../../_utils/withOverrides.js";
|
|
3
2
|
import n from "./CompactBadge.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import { withOverrides as s } from "../../_utils/withOverrides.js";
|
|
4
|
+
const o = "CompactBadge", t = `Vdt${o}`, d = s(t)(n), e = r(d, {
|
|
5
|
+
name: t,
|
|
6
|
+
overridesResolver: (p, m) => m.root
|
|
7
7
|
})({});
|
|
8
|
-
|
|
8
|
+
e.displayName = o;
|
|
9
|
+
const l = e;
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
+
l as default
|
|
11
12
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { styled as
|
|
4
|
-
const
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import i from "@mui/material/Typography";
|
|
3
|
+
import { styled as c } from "@mui/material/styles";
|
|
4
|
+
const d = c(i, {
|
|
5
5
|
shouldForwardProp: (o) => o !== "dark"
|
|
6
6
|
})(({
|
|
7
7
|
theme: o,
|
|
8
|
-
dark:
|
|
8
|
+
dark: n
|
|
9
9
|
}) => ({
|
|
10
10
|
maxWidth: "100%",
|
|
11
11
|
lineHeight: "unset",
|
|
@@ -17,29 +17,30 @@ const c = i(e, {
|
|
|
17
17
|
paddingRight: o.spacing(0.5),
|
|
18
18
|
color: o.palette.common.black,
|
|
19
19
|
backgroundColor: o.palette.common.white,
|
|
20
|
-
...
|
|
20
|
+
...n && {
|
|
21
21
|
color: o.palette.common.white,
|
|
22
22
|
backgroundColor: o.palette.common.black
|
|
23
23
|
}
|
|
24
|
-
})),
|
|
25
|
-
Root:
|
|
26
|
-
},
|
|
24
|
+
})), l = {
|
|
25
|
+
Root: d
|
|
26
|
+
}, t = ({
|
|
27
27
|
dark: o,
|
|
28
|
-
children:
|
|
29
|
-
components:
|
|
30
|
-
componentsProps:
|
|
28
|
+
children: n,
|
|
29
|
+
components: r,
|
|
30
|
+
componentsProps: a
|
|
31
31
|
}) => {
|
|
32
32
|
const {
|
|
33
|
-
Root:
|
|
34
|
-
} =
|
|
35
|
-
return /* @__PURE__ */ p
|
|
33
|
+
Root: p
|
|
34
|
+
} = r;
|
|
35
|
+
return /* @__PURE__ */ e(p, { dark: o, variant: "caption", "aria-hidden": "true", noWrap: !0, ...a.root, children: n });
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
t.defaultProps = {
|
|
38
38
|
dark: !0,
|
|
39
39
|
children: null,
|
|
40
|
-
components:
|
|
40
|
+
components: l,
|
|
41
41
|
componentsProps: void 0
|
|
42
42
|
};
|
|
43
|
+
const g = t;
|
|
43
44
|
export {
|
|
44
|
-
|
|
45
|
+
g as default
|
|
45
46
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { styled as r } from "@mui/material/styles";
|
|
2
|
-
import { withOverrides as m } from "../../_utils/withOverrides.js";
|
|
3
2
|
import n from "./CompactLabel.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import { withOverrides as s } from "../../_utils/withOverrides.js";
|
|
4
|
+
const o = "CompactLabel", t = `Vdt${o}`, p = s(t)(n), e = r(p, {
|
|
5
|
+
name: t,
|
|
6
|
+
overridesResolver: (a, m) => m.root
|
|
7
7
|
})({});
|
|
8
|
-
|
|
8
|
+
e.displayName = o;
|
|
9
|
+
const l = e;
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
+
l as default
|
|
11
12
|
};
|
|
@@ -1,64 +1,65 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as h, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import f from "@mui/material/Box";
|
|
3
3
|
import { styled as o } from "@mui/material/styles";
|
|
4
4
|
import a from "../CompactLabel/index.js";
|
|
5
|
-
const
|
|
5
|
+
const C = o(f)(() => ({
|
|
6
6
|
position: "relative",
|
|
7
7
|
width: "100%",
|
|
8
8
|
height: "100%",
|
|
9
9
|
zIndex: 3
|
|
10
|
-
})),
|
|
10
|
+
})), g = o(a)(() => ({
|
|
11
11
|
position: "absolute",
|
|
12
12
|
top: 0,
|
|
13
13
|
left: 0
|
|
14
|
-
})),
|
|
14
|
+
})), B = o(a)(() => ({
|
|
15
15
|
position: "absolute",
|
|
16
16
|
top: 0,
|
|
17
17
|
right: 0
|
|
18
|
-
})),
|
|
18
|
+
})), u = o(a)(() => ({
|
|
19
19
|
position: "absolute",
|
|
20
20
|
bottom: 0,
|
|
21
21
|
left: 0
|
|
22
|
-
})),
|
|
22
|
+
})), R = o(a)(() => ({
|
|
23
23
|
position: "absolute",
|
|
24
24
|
bottom: 0,
|
|
25
25
|
right: 0
|
|
26
|
-
})),
|
|
27
|
-
Root:
|
|
28
|
-
CompactLabelTopLeft:
|
|
29
|
-
CompactLabelTopRight:
|
|
30
|
-
CompactLabelBottomLeft:
|
|
31
|
-
CompactLabelBottomRight:
|
|
32
|
-
},
|
|
26
|
+
})), T = {
|
|
27
|
+
Root: C,
|
|
28
|
+
CompactLabelTopLeft: g,
|
|
29
|
+
CompactLabelTopRight: B,
|
|
30
|
+
CompactLabelBottomLeft: u,
|
|
31
|
+
CompactLabelBottomRight: R
|
|
32
|
+
}, c = ({
|
|
33
33
|
labelTopLeft: l,
|
|
34
34
|
labelTopRight: i,
|
|
35
35
|
labelBottomLeft: m,
|
|
36
36
|
labelBottomRight: p,
|
|
37
|
-
components:
|
|
37
|
+
components: d,
|
|
38
38
|
componentsProps: t
|
|
39
39
|
}) => {
|
|
40
40
|
const {
|
|
41
|
-
Root:
|
|
42
|
-
CompactLabelTopLeft:
|
|
43
|
-
CompactLabelTopRight:
|
|
44
|
-
CompactLabelBottomLeft:
|
|
45
|
-
CompactLabelBottomRight:
|
|
46
|
-
} =
|
|
47
|
-
return /* @__PURE__ */
|
|
48
|
-
l && /* @__PURE__ */ e(
|
|
49
|
-
i && /* @__PURE__ */ e(
|
|
50
|
-
m && /* @__PURE__ */ e(
|
|
51
|
-
p && /* @__PURE__ */ e(
|
|
41
|
+
Root: L,
|
|
42
|
+
CompactLabelTopLeft: b,
|
|
43
|
+
CompactLabelTopRight: n,
|
|
44
|
+
CompactLabelBottomLeft: r,
|
|
45
|
+
CompactLabelBottomRight: s
|
|
46
|
+
} = d;
|
|
47
|
+
return /* @__PURE__ */ h(L, { ...t.root, children: [
|
|
48
|
+
l && /* @__PURE__ */ e(b, { ...t.compactLabelTopLeft, children: l }),
|
|
49
|
+
i && /* @__PURE__ */ e(n, { ...t.compactLabelTopRight, children: i }),
|
|
50
|
+
m && /* @__PURE__ */ e(r, { ...t.compactLabelBottomLeft, children: m }),
|
|
51
|
+
p && /* @__PURE__ */ e(s, { ...t.compactLabelBottomRight, children: p })
|
|
52
52
|
] });
|
|
53
53
|
};
|
|
54
|
-
|
|
54
|
+
c.defaultProps = {
|
|
55
55
|
labelTopLeft: void 0,
|
|
56
56
|
labelTopRight: void 0,
|
|
57
57
|
labelBottomLeft: void 0,
|
|
58
58
|
labelBottomRight: void 0,
|
|
59
|
-
components:
|
|
59
|
+
components: T,
|
|
60
60
|
componentsProps: void 0
|
|
61
61
|
};
|
|
62
|
+
const V = c;
|
|
62
63
|
export {
|
|
63
|
-
|
|
64
|
+
V as default
|
|
64
65
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
import { withOverrides as n } from "../../_utils/withOverrides.js";
|
|
1
|
+
import { styled as n } from "@mui/material/styles";
|
|
3
2
|
import m from "./CornerLabelPlacer.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import { withOverrides as s } from "../../_utils/withOverrides.js";
|
|
4
|
+
const o = "CornerLabelPlacer", e = `Vdt${o}`, a = s(e)(m), r = n(a, {
|
|
5
|
+
name: e,
|
|
6
|
+
overridesResolver: (d, t) => t.root
|
|
7
7
|
})({});
|
|
8
|
-
|
|
8
|
+
r.displayName = o;
|
|
9
|
+
const c = r;
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
+
c as default
|
|
11
12
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import l from "@mui/icons-material/esm/ExpandMore";
|
|
3
|
+
import m from "@mui/material/Box";
|
|
4
|
+
import p from "@mui/material/IconButton";
|
|
5
5
|
import { styled as i } from "@mui/material/styles";
|
|
6
|
-
const
|
|
6
|
+
const f = i(m)(() => ({
|
|
7
7
|
height: "100%",
|
|
8
8
|
display: "flex",
|
|
9
9
|
alignItems: "flex-end"
|
|
10
|
-
})),
|
|
10
|
+
})), x = i(p, {
|
|
11
11
|
shouldForwardProp: (o) => o !== "expanded"
|
|
12
12
|
})(({
|
|
13
13
|
theme: o,
|
|
@@ -20,33 +20,34 @@ const p = i(l)(() => ({
|
|
|
20
20
|
...t ? {
|
|
21
21
|
transform: "rotate(180deg)"
|
|
22
22
|
} : {}
|
|
23
|
-
})),
|
|
23
|
+
})), B = i(l)(() => ({
|
|
24
24
|
transition: "color .2s ease-out"
|
|
25
|
-
})),
|
|
26
|
-
Root:
|
|
27
|
-
IconButton:
|
|
28
|
-
Icon:
|
|
29
|
-
},
|
|
25
|
+
})), I = {
|
|
26
|
+
Root: f,
|
|
27
|
+
IconButton: x,
|
|
28
|
+
Icon: B
|
|
29
|
+
}, e = ({
|
|
30
30
|
expanded: o,
|
|
31
31
|
onClick: t,
|
|
32
|
-
components:
|
|
32
|
+
components: s,
|
|
33
33
|
componentsProps: n
|
|
34
34
|
}) => {
|
|
35
35
|
const {
|
|
36
36
|
Root: a,
|
|
37
|
-
IconButton:
|
|
38
|
-
Icon:
|
|
39
|
-
} =
|
|
40
|
-
return /* @__PURE__ */ r(a, { component: "span", ...n.root, children: /* @__PURE__ */ r(
|
|
37
|
+
IconButton: c,
|
|
38
|
+
Icon: d
|
|
39
|
+
} = s;
|
|
40
|
+
return /* @__PURE__ */ r(a, { component: "span", ...n.root, children: /* @__PURE__ */ r(c, { expanded: o, onClick: (u) => t(u, {
|
|
41
41
|
value: !o
|
|
42
|
-
}), ...n.iconButton, children: /* @__PURE__ */ r(
|
|
42
|
+
}), ...n.iconButton, children: /* @__PURE__ */ r(d, { ...n.icon }) }) });
|
|
43
43
|
};
|
|
44
|
-
|
|
44
|
+
e.defaultProps = {
|
|
45
45
|
expanded: !1,
|
|
46
46
|
onClick: void 0,
|
|
47
|
-
components:
|
|
47
|
+
components: I,
|
|
48
48
|
componentsProps: void 0
|
|
49
49
|
};
|
|
50
|
+
const v = e;
|
|
50
51
|
export {
|
|
51
|
-
|
|
52
|
+
v as default
|
|
52
53
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
import { withOverrides as r } from "../../_utils/withOverrides.js";
|
|
1
|
+
import { styled as r } from "@mui/material/styles";
|
|
3
2
|
import m from "./ExpandButton.js";
|
|
4
|
-
|
|
3
|
+
import { withOverrides as s } from "../../_utils/withOverrides.js";
|
|
4
|
+
const o = "ExpandButton", 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 l = e;
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
+
l as default
|
|
11
12
|
};
|
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
import { jsxs as k, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { useForm as
|
|
2
|
+
import { useRef as et, useEffect as ot } from "react";
|
|
3
|
+
import { useForm as nt, Controller as ut } from "react-hook-form";
|
|
4
4
|
import G from "@mui/material/Box";
|
|
5
5
|
import B from "@mui/material/Button";
|
|
6
|
-
import
|
|
6
|
+
import rt from "@mui/material/ButtonGroup";
|
|
7
7
|
import { styled as M } from "@mui/material/styles";
|
|
8
|
-
const
|
|
8
|
+
const it = M(rt)(({
|
|
9
9
|
theme: o
|
|
10
10
|
}) => ({
|
|
11
11
|
marginTop: o.spacing(2),
|
|
12
12
|
marginBottom: o.spacing(2),
|
|
13
13
|
display: "flex",
|
|
14
14
|
justifyContent: "center"
|
|
15
|
-
})),
|
|
15
|
+
})), at = M(G)(({
|
|
16
16
|
theme: o
|
|
17
17
|
}) => ({
|
|
18
18
|
"&:not(:first-of-type)": {
|
|
19
19
|
paddingTop: o.spacing(2)
|
|
20
20
|
}
|
|
21
|
-
})),
|
|
21
|
+
})), lt = {
|
|
22
22
|
Root: G,
|
|
23
|
-
InputContainer:
|
|
24
|
-
Controller:
|
|
25
|
-
ButtonGroup:
|
|
23
|
+
InputContainer: at,
|
|
24
|
+
Controller: ut,
|
|
25
|
+
ButtonGroup: it,
|
|
26
26
|
ClearButton: B,
|
|
27
27
|
ResetButton: B,
|
|
28
28
|
SubmitButton: B
|
|
29
|
-
},
|
|
29
|
+
}, T = ({
|
|
30
30
|
inputs: o,
|
|
31
|
-
inputProps:
|
|
32
|
-
formProps:
|
|
31
|
+
inputProps: j,
|
|
32
|
+
formProps: E,
|
|
33
33
|
formReturn: C,
|
|
34
34
|
size: h,
|
|
35
|
-
variant:
|
|
36
|
-
clearText:
|
|
37
|
-
resetText:
|
|
38
|
-
submitText:
|
|
35
|
+
variant: q,
|
|
36
|
+
clearText: D,
|
|
37
|
+
resetText: F,
|
|
38
|
+
submitText: I,
|
|
39
39
|
onClear: d,
|
|
40
40
|
onReset: c,
|
|
41
41
|
onChange: f,
|
|
42
42
|
onSubmit: s,
|
|
43
43
|
onError: y,
|
|
44
|
-
components:
|
|
44
|
+
components: w,
|
|
45
45
|
componentsProps: n
|
|
46
46
|
}) => {
|
|
47
47
|
const {
|
|
48
|
-
Root:
|
|
49
|
-
InputContainer:
|
|
50
|
-
Controller:
|
|
51
|
-
ButtonGroup:
|
|
52
|
-
ClearButton:
|
|
53
|
-
ResetButton:
|
|
54
|
-
SubmitButton:
|
|
55
|
-
} =
|
|
48
|
+
Root: O,
|
|
49
|
+
InputContainer: W,
|
|
50
|
+
Controller: _,
|
|
51
|
+
ButtonGroup: $,
|
|
52
|
+
ClearButton: z,
|
|
53
|
+
ResetButton: A,
|
|
54
|
+
SubmitButton: H
|
|
55
|
+
} = w, b = et(), g = ({
|
|
56
56
|
multiple: t,
|
|
57
57
|
range: e
|
|
58
|
-
}) => t || e ? [] : null,
|
|
58
|
+
}) => t || e ? [] : null, J = o.reduce((t, {
|
|
59
59
|
name: e,
|
|
60
60
|
defaultValue: r,
|
|
61
61
|
...i
|
|
62
62
|
}) => ({
|
|
63
63
|
...t,
|
|
64
64
|
[e]: r || g(i)
|
|
65
|
-
}), {}), x =
|
|
66
|
-
defaultValues:
|
|
67
|
-
...
|
|
65
|
+
}), {}), x = nt({
|
|
66
|
+
defaultValues: J,
|
|
67
|
+
...E || {}
|
|
68
68
|
});
|
|
69
69
|
C && C(x);
|
|
70
70
|
const {
|
|
71
|
-
handleSubmit:
|
|
72
|
-
control:
|
|
71
|
+
handleSubmit: K,
|
|
72
|
+
control: L,
|
|
73
73
|
reset: R,
|
|
74
74
|
watch: V,
|
|
75
75
|
formState: l
|
|
76
76
|
} = x, {
|
|
77
77
|
defaultValues: v
|
|
78
|
-
} = l,
|
|
78
|
+
} = l, N = Object.keys((l == null ? void 0 : l.errors) || {}).length > 0, Q = (t) => {
|
|
79
79
|
const e = o.reduce((r, {
|
|
80
80
|
name: i,
|
|
81
|
-
defaultValue:
|
|
81
|
+
defaultValue: Y,
|
|
82
82
|
...m
|
|
83
83
|
}) => ({
|
|
84
84
|
...r,
|
|
@@ -87,46 +87,46 @@ const rt = M(ut)(({
|
|
|
87
87
|
d && d(t, e), R(e, {
|
|
88
88
|
keepDefaultValues: !0
|
|
89
89
|
});
|
|
90
|
-
},
|
|
90
|
+
}, U = (t) => {
|
|
91
91
|
c && c(t, v), R(v, {
|
|
92
92
|
keepDefaultValues: !0
|
|
93
93
|
});
|
|
94
94
|
};
|
|
95
|
-
|
|
95
|
+
ot(() => {
|
|
96
96
|
const t = f ? V((e) => f(b.current, e)) : void 0;
|
|
97
97
|
return () => t == null ? void 0 : t.unsubscribe();
|
|
98
98
|
}, [f, V]);
|
|
99
|
-
const
|
|
100
|
-
return /* @__PURE__ */ k(
|
|
99
|
+
const X = (t) => typeof (t == null ? void 0 : t.required) == "string" || (t == null ? void 0 : t.required) === !0;
|
|
100
|
+
return /* @__PURE__ */ k(O, { component: "form", onSubmit: K((t, e) => typeof s == "function" && s(e, t), (t, e) => typeof y == "function" && y(e, t)), ...n.root, children: [
|
|
101
101
|
o == null ? void 0 : o.map(({
|
|
102
102
|
Component: t,
|
|
103
103
|
name: e,
|
|
104
104
|
rules: r,
|
|
105
105
|
label: i,
|
|
106
|
-
defaultValue:
|
|
106
|
+
defaultValue: Y,
|
|
107
107
|
...m
|
|
108
|
-
}) => /* @__PURE__ */ a(
|
|
108
|
+
}) => /* @__PURE__ */ a(W, { ...n.inputContainer, children: /* @__PURE__ */ a(_, { control: L, name: e, rules: r, render: ({
|
|
109
109
|
field: {
|
|
110
|
-
onChange:
|
|
111
|
-
...
|
|
110
|
+
onChange: Z,
|
|
111
|
+
...P
|
|
112
112
|
},
|
|
113
113
|
formState: {
|
|
114
114
|
errors: p
|
|
115
115
|
}
|
|
116
116
|
}) => {
|
|
117
117
|
var S;
|
|
118
|
-
return /* @__PURE__ */ a(t, { onChange: (
|
|
119
|
-
b.current =
|
|
120
|
-
}, error: (S = p == null ? void 0 : p[e]) == null ? void 0 : S.message, size: h, variant:
|
|
118
|
+
return /* @__PURE__ */ a(t, { onChange: (tt, u) => {
|
|
119
|
+
b.current = tt, Z((u == null ? void 0 : u.value) !== void 0 ? u == null ? void 0 : u.value : u);
|
|
120
|
+
}, error: (S = p == null ? void 0 : p[e]) == null ? void 0 : S.message, size: h, variant: q, label: X(r) ? `${i} *` : i, ...P, ...j || {}, ...m });
|
|
121
121
|
}, ...n.controller }) }, e)),
|
|
122
|
-
/* @__PURE__ */ k(
|
|
123
|
-
d && /* @__PURE__ */ a(
|
|
124
|
-
c && /* @__PURE__ */ a(
|
|
125
|
-
s && /* @__PURE__ */ a(
|
|
122
|
+
/* @__PURE__ */ k($, { variant: "text", size: h, fullWidth: !0, ...n.buttonGroup, children: [
|
|
123
|
+
d && /* @__PURE__ */ a(z, { onClick: Q, ...n.clearButton, children: D }),
|
|
124
|
+
c && /* @__PURE__ */ a(A, { onClick: U, ...n.resetButton, children: F }),
|
|
125
|
+
s && /* @__PURE__ */ a(H, { type: "submit", disabled: N, ...n.submitButton, children: I })
|
|
126
126
|
] })
|
|
127
127
|
] });
|
|
128
128
|
};
|
|
129
|
-
|
|
129
|
+
T.defaultProps = {
|
|
130
130
|
inputs: [],
|
|
131
131
|
inputProps: void 0,
|
|
132
132
|
formProps: void 0,
|
|
@@ -141,9 +141,10 @@ lt.defaultProps = {
|
|
|
141
141
|
onChange: void 0,
|
|
142
142
|
onSubmit: void 0,
|
|
143
143
|
onError: void 0,
|
|
144
|
-
components:
|
|
144
|
+
components: lt,
|
|
145
145
|
componentsProps: void 0
|
|
146
146
|
};
|
|
147
|
+
const Ct = T;
|
|
147
148
|
export {
|
|
148
|
-
|
|
149
|
+
Ct as default
|
|
149
150
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
import { withOverrides as m } from "../../_utils/withOverrides.js";
|
|
1
|
+
import { styled as m } from "@mui/material/styles";
|
|
3
2
|
import n from "./Form.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import { withOverrides as s } from "../../_utils/withOverrides.js";
|
|
4
|
+
const o = "Form", t = `Vdt${o}`, d = s(t)(n), e = m(d, {
|
|
5
|
+
name: t,
|
|
6
|
+
overridesResolver: (i, r) => r.root
|
|
7
7
|
})({});
|
|
8
|
-
|
|
8
|
+
e.displayName = o;
|
|
9
|
+
const l = e;
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
+
l as default
|
|
11
12
|
};
|