@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,31 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import k from "@mui/material/CardHeader";
|
|
3
|
-
import { styled as
|
|
4
|
-
import "../../
|
|
5
|
-
import
|
|
6
|
-
import "../../EntityList/index.js";
|
|
7
|
-
import S from "../../../general/AvatarMenu/index.js";
|
|
8
|
-
import "../../../general/BlurredBackground/index.js";
|
|
9
|
-
import "../../../general/CalendarPicker/index.js";
|
|
10
|
-
import "../../../general/CompactBadge/index.js";
|
|
11
|
-
import "../../../general/CompactLabel/index.js";
|
|
12
|
-
import "../../../general/CornerLabelPlacer/index.js";
|
|
13
|
-
import "../../../general/ExpandButton/index.js";
|
|
14
|
-
import "../../../general/ImageCollage/index.js";
|
|
15
|
-
import "../../../general/MediaIcon/index.js";
|
|
16
|
-
import "../../../general/MenuItem/index.js";
|
|
17
|
-
import "../../../general/ScrubLine/index.js";
|
|
18
|
-
import "../../../general/Sort/index.js";
|
|
19
|
-
import "../../../general/TablePagination/index.js";
|
|
20
|
-
import "../../../general/Form/index.js";
|
|
21
|
-
import "../../../general/ThemeContext/ThemeContext.js";
|
|
22
|
-
import { getEntityProp as W } from "../../_utils/getEntityProp.js";
|
|
3
|
+
import { styled as d } from "@mui/material/styles";
|
|
4
|
+
import A from "../../EntityAvatar/index.js";
|
|
5
|
+
import E from "../../../general/AvatarMenu/index.js";
|
|
23
6
|
import { getEntityText as i } from "../../_utils/getEntityText.js";
|
|
24
|
-
|
|
7
|
+
import { getEntityProp as W } from "../../_utils/getEntityProp.js";
|
|
8
|
+
const O = d(k)(({
|
|
25
9
|
avatar: t,
|
|
26
10
|
action: r
|
|
27
11
|
}) => {
|
|
28
|
-
const e = t ? 56 : 0,
|
|
12
|
+
const e = t ? 56 : 0, n = r ? 40 + 16 : 0;
|
|
29
13
|
return {
|
|
30
14
|
display: "inline-block",
|
|
31
15
|
padding: 16,
|
|
@@ -35,7 +19,7 @@ const E = m(k)(({
|
|
|
35
19
|
},
|
|
36
20
|
"& .MuiCardHeader-content": {
|
|
37
21
|
float: "left",
|
|
38
|
-
width: `calc(100% - ${e}px - ${
|
|
22
|
+
width: `calc(100% - ${e}px - ${n}px)`
|
|
39
23
|
},
|
|
40
24
|
"& .MuiCardHeader-action": {
|
|
41
25
|
marginTop: 0,
|
|
@@ -43,11 +27,11 @@ const E = m(k)(({
|
|
|
43
27
|
},
|
|
44
28
|
float: "none"
|
|
45
29
|
};
|
|
46
|
-
}),
|
|
30
|
+
}), S = d(A)(({
|
|
47
31
|
theme: t
|
|
48
32
|
}) => ({
|
|
49
33
|
backgroundColor: t.palette.mode === "light" ? "rgba(0, 0, 0, 0.54)" : "#fff"
|
|
50
|
-
})),
|
|
34
|
+
})), T = d(E)(({
|
|
51
35
|
theme: t
|
|
52
36
|
}) => ({
|
|
53
37
|
marginLeft: 16,
|
|
@@ -58,30 +42,30 @@ const E = m(k)(({
|
|
|
58
42
|
backgroundColor: "rgba(255, 255, 255, 0.08)"
|
|
59
43
|
}
|
|
60
44
|
}
|
|
61
|
-
})),
|
|
45
|
+
})), m = ({
|
|
62
46
|
itemType: t,
|
|
63
47
|
collectionType: r,
|
|
64
48
|
title: e,
|
|
65
|
-
subheader:
|
|
66
|
-
menuOptions:
|
|
67
|
-
onOptionClick:
|
|
68
|
-
entityAvatar:
|
|
49
|
+
subheader: n,
|
|
50
|
+
menuOptions: p,
|
|
51
|
+
onOptionClick: f,
|
|
52
|
+
entityAvatar: h,
|
|
69
53
|
avatarMenu: o,
|
|
70
|
-
...
|
|
54
|
+
...g
|
|
71
55
|
}) => {
|
|
72
|
-
var
|
|
73
|
-
const
|
|
56
|
+
var l, s, c;
|
|
57
|
+
const y = i(e, {
|
|
74
58
|
itemType: t,
|
|
75
59
|
collectionType: r
|
|
76
|
-
}),
|
|
60
|
+
}), b = i(n, {
|
|
77
61
|
itemType: t,
|
|
78
62
|
collectionType: r
|
|
79
|
-
}), C = (
|
|
63
|
+
}), C = (s = (l = i("mimeType", {
|
|
80
64
|
itemType: t
|
|
81
|
-
})) == null ? void 0 :
|
|
65
|
+
})) == null ? void 0 : l.split("/")) == null ? void 0 : s[0], u = i("mediaType", {
|
|
82
66
|
itemType: t
|
|
83
|
-
}) || C,
|
|
84
|
-
|
|
67
|
+
}) || C, x = (H, P) => {
|
|
68
|
+
f(H, {
|
|
85
69
|
option: P,
|
|
86
70
|
...W({
|
|
87
71
|
itemType: t,
|
|
@@ -89,11 +73,11 @@ const E = m(k)(({
|
|
|
89
73
|
})
|
|
90
74
|
});
|
|
91
75
|
};
|
|
92
|
-
return /* @__PURE__ */
|
|
76
|
+
return /* @__PURE__ */ a(O, { title: y, subheader: b, titleTypographyProps: {
|
|
93
77
|
noWrap: !0
|
|
94
78
|
}, subheaderTypographyProps: {
|
|
95
79
|
noWrap: !0
|
|
96
|
-
}, avatar: /* @__PURE__ */
|
|
80
|
+
}, avatar: /* @__PURE__ */ a(S, { entityType: t && "item" || r && "collection" || "library", mediaType: u, ...h ?? {} }), action: p && /* @__PURE__ */ a(T, { minWidth: "unset", options: p, onOptionClick: x, componentsProps: {
|
|
97
81
|
menu: {
|
|
98
82
|
anchorOrigin: {
|
|
99
83
|
vertical: "bottom",
|
|
@@ -103,12 +87,13 @@ const E = m(k)(({
|
|
|
103
87
|
vertical: "top",
|
|
104
88
|
horizontal: "right"
|
|
105
89
|
},
|
|
106
|
-
...((
|
|
90
|
+
...((c = o == null ? void 0 : o.componentsProps) == null ? void 0 : c.menu) || {}
|
|
107
91
|
},
|
|
108
92
|
...(o == null ? void 0 : o.componentsProps) || {}
|
|
109
|
-
}, ...o ?? {} }), ...
|
|
93
|
+
}, ...o ?? {} }), ...g });
|
|
110
94
|
};
|
|
111
|
-
|
|
95
|
+
m.defaultProps = {};
|
|
96
|
+
const q = m;
|
|
112
97
|
export {
|
|
113
|
-
|
|
98
|
+
q as default
|
|
114
99
|
};
|
|
@@ -1,73 +1,60 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as f, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import y from "@mui/icons-material/esm/Folder";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import b from "@mui/icons-material/esm/NoteAdd";
|
|
4
|
+
import e from "@mui/icons-material/esm/LibraryBooks";
|
|
5
|
+
import h from "@mui/icons-material/esm/LibraryMusic";
|
|
6
|
+
import M from "@mui/icons-material/esm/PhotoLibrary";
|
|
7
7
|
import x from "@mui/icons-material/esm/VideoLibrary";
|
|
8
8
|
import L from "@mui/material/Box";
|
|
9
|
-
import { styled as
|
|
10
|
-
import "../../general/
|
|
11
|
-
|
|
12
|
-
import "../../general/CalendarPicker/index.js";
|
|
13
|
-
import "../../general/CompactBadge/index.js";
|
|
14
|
-
import "../../general/CompactLabel/index.js";
|
|
15
|
-
import "../../general/CornerLabelPlacer/index.js";
|
|
16
|
-
import "../../general/ExpandButton/index.js";
|
|
17
|
-
import "../../general/ImageCollage/index.js";
|
|
18
|
-
import e from "../../general/MediaIcon/index.js";
|
|
19
|
-
import "../../general/MenuItem/index.js";
|
|
20
|
-
import "../../general/ScrubLine/index.js";
|
|
21
|
-
import "../../general/Sort/index.js";
|
|
22
|
-
import "../../general/TablePagination/index.js";
|
|
23
|
-
import "../../general/Form/index.js";
|
|
24
|
-
import "../../general/ThemeContext/ThemeContext.js";
|
|
25
|
-
const M = n(L)(({
|
|
9
|
+
import { styled as i } from "@mui/material/styles";
|
|
10
|
+
import l from "../../general/MediaIcon/index.js";
|
|
11
|
+
const C = i(L)(({
|
|
26
12
|
theme: o
|
|
27
13
|
}) => ({
|
|
28
14
|
display: "flex",
|
|
29
15
|
color: o.palette.primary.main
|
|
30
|
-
})),
|
|
16
|
+
})), F = i(b, {
|
|
31
17
|
shouldForwardProp: (o) => o !== "mediaType"
|
|
32
|
-
})(() => ({})),
|
|
18
|
+
})(() => ({})), w = i(y, {
|
|
33
19
|
shouldForwardProp: (o) => o !== "mediaType"
|
|
34
|
-
})(() => ({})),
|
|
35
|
-
Root:
|
|
36
|
-
ItemIcon:
|
|
37
|
-
LibraryIcon:
|
|
38
|
-
PlaceholderIcon:
|
|
39
|
-
CollectionIcon:
|
|
40
|
-
},
|
|
20
|
+
})(() => ({})), B = {
|
|
21
|
+
Root: C,
|
|
22
|
+
ItemIcon: l,
|
|
23
|
+
LibraryIcon: l,
|
|
24
|
+
PlaceholderIcon: F,
|
|
25
|
+
CollectionIcon: w
|
|
26
|
+
}, I = ({
|
|
41
27
|
entityType: o,
|
|
42
|
-
mediaType:
|
|
43
|
-
components:
|
|
28
|
+
mediaType: c,
|
|
29
|
+
components: d,
|
|
44
30
|
componentsProps: r
|
|
45
31
|
}) => {
|
|
46
32
|
const {
|
|
47
|
-
Root:
|
|
48
|
-
PlaceholderIcon:
|
|
49
|
-
ItemIcon:
|
|
50
|
-
CollectionIcon:
|
|
51
|
-
LibraryIcon:
|
|
52
|
-
} =
|
|
53
|
-
return /* @__PURE__ */
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
PlaceholderIcon:
|
|
58
|
-
FileIcon:
|
|
59
|
-
AudioIcon:
|
|
33
|
+
Root: m,
|
|
34
|
+
PlaceholderIcon: a,
|
|
35
|
+
ItemIcon: s,
|
|
36
|
+
CollectionIcon: p,
|
|
37
|
+
LibraryIcon: u
|
|
38
|
+
} = d, t = o == null ? void 0 : o.toLowerCase();
|
|
39
|
+
return /* @__PURE__ */ f(m, { component: "span", ...r.root, children: [
|
|
40
|
+
t === "item" && /* @__PURE__ */ n(s, { type: c, ...r.itemIcon }),
|
|
41
|
+
t === "collection" && /* @__PURE__ */ n(p, { type: c, ...r.collectionIcon }),
|
|
42
|
+
t === "library" && /* @__PURE__ */ n(u, { type: c, ...r.libraryIcon, components: {
|
|
43
|
+
PlaceholderIcon: e,
|
|
44
|
+
FileIcon: e,
|
|
45
|
+
AudioIcon: h,
|
|
60
46
|
VideoIcon: x,
|
|
61
|
-
ImageIcon:
|
|
47
|
+
ImageIcon: M,
|
|
62
48
|
...r.libraryIcon.components || {}
|
|
63
49
|
} }),
|
|
64
|
-
!["item", "collection", "library"].includes(
|
|
50
|
+
!["item", "collection", "library"].includes(t) && /* @__PURE__ */ n(a, { type: c, ...r.placeholderIcon })
|
|
65
51
|
] });
|
|
66
52
|
};
|
|
67
|
-
|
|
68
|
-
components:
|
|
53
|
+
I.defaultProps = {
|
|
54
|
+
components: B,
|
|
69
55
|
componentsProps: void 0
|
|
70
56
|
};
|
|
57
|
+
const v = I;
|
|
71
58
|
export {
|
|
72
|
-
|
|
59
|
+
v as default
|
|
73
60
|
};
|
|
@@ -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 "./EntityIcon.js";
|
|
4
|
-
|
|
3
|
+
import { withOverrides as s } from "../../_utils/withOverrides.js";
|
|
4
|
+
const o = "EntityIcon", t = `Vdt${o}`, i = s(t)(m), e = r(i, {
|
|
5
5
|
name: t,
|
|
6
|
-
overridesResolver: (d,
|
|
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
|
};
|
|
@@ -3,65 +3,64 @@ import { useMemo as A } from "react";
|
|
|
3
3
|
import F from "@mui/material/List";
|
|
4
4
|
import N from "@mui/material/ListSubheader";
|
|
5
5
|
import T from "@mui/material/Typography";
|
|
6
|
-
import { styled as
|
|
7
|
-
import
|
|
8
|
-
import "
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
const B = () => /* @__PURE__ */ m(T, { children: "No entities found..." }), G = V(F)(() => ({
|
|
6
|
+
import { styled as z } from "@mui/material/styles";
|
|
7
|
+
import B from "../../collection/CollectionListItem/index.js";
|
|
8
|
+
import n from "../../item/ItemListItem/index.js";
|
|
9
|
+
import { uuidv4 as a } from "../../_utils/uuidv4.js";
|
|
10
|
+
import { showSlot as G } from "../../_utils/showSlot.js";
|
|
11
|
+
const H = () => /* @__PURE__ */ m(T, { children: "No entities found..." }), J = z(F)(() => ({
|
|
13
12
|
width: "100%"
|
|
14
|
-
})),
|
|
15
|
-
Root:
|
|
13
|
+
})), K = {
|
|
14
|
+
Root: J,
|
|
16
15
|
ListSubheader: N,
|
|
17
|
-
CollectionListItem:
|
|
18
|
-
ItemListItem:
|
|
19
|
-
LoadingListItem:
|
|
16
|
+
CollectionListItem: B,
|
|
17
|
+
ItemListItem: n,
|
|
18
|
+
LoadingListItem: n,
|
|
20
19
|
ListItem: null
|
|
21
20
|
// for shared componentsProps
|
|
22
|
-
},
|
|
21
|
+
}, d = ({
|
|
23
22
|
entities: r,
|
|
24
|
-
header:
|
|
23
|
+
header: L,
|
|
25
24
|
primary: p,
|
|
26
|
-
secondary:
|
|
25
|
+
secondary: I,
|
|
27
26
|
avatarVariant: u,
|
|
28
|
-
dense:
|
|
29
|
-
amountLoading:
|
|
27
|
+
dense: f,
|
|
28
|
+
amountLoading: c,
|
|
30
29
|
isLoading: e,
|
|
31
30
|
onListItemClick: h,
|
|
32
|
-
onListItemDelete:
|
|
33
|
-
emptySlot:
|
|
34
|
-
components:
|
|
31
|
+
onListItemDelete: g,
|
|
32
|
+
emptySlot: C,
|
|
33
|
+
components: S,
|
|
35
34
|
componentsProps: o
|
|
36
35
|
}) => {
|
|
37
36
|
const {
|
|
38
|
-
Root:
|
|
39
|
-
ListSubheader:
|
|
40
|
-
CollectionListItem:
|
|
41
|
-
ItemListItem:
|
|
42
|
-
LoadingListItem:
|
|
43
|
-
} =
|
|
44
|
-
key:
|
|
37
|
+
Root: v,
|
|
38
|
+
ListSubheader: M,
|
|
39
|
+
CollectionListItem: k,
|
|
40
|
+
ItemListItem: x,
|
|
41
|
+
LoadingListItem: V
|
|
42
|
+
} = S, w = [...Array(Math.max(c, 0)).keys()].map(() => ({
|
|
43
|
+
key: a()
|
|
45
44
|
})), s = A(() => r.map((t) => ({
|
|
46
|
-
key:
|
|
45
|
+
key: a(),
|
|
47
46
|
..."item" in t ? {
|
|
48
47
|
itemType: t == null ? void 0 : t.item
|
|
49
48
|
} : {},
|
|
50
49
|
..."collection" in t ? {
|
|
51
50
|
collectionType: t == null ? void 0 : t.collection
|
|
52
51
|
} : {}
|
|
53
|
-
})) || [], [r]),
|
|
52
|
+
})) || [], [r]), y = ({
|
|
54
53
|
itemType: t,
|
|
55
54
|
collectionType: i
|
|
56
55
|
}) => t ? {
|
|
57
|
-
component:
|
|
56
|
+
component: x,
|
|
58
57
|
props: {
|
|
59
58
|
itemType: t,
|
|
60
59
|
...o.listItem,
|
|
61
60
|
...o.itemListItem
|
|
62
61
|
}
|
|
63
62
|
} : i ? {
|
|
64
|
-
component:
|
|
63
|
+
component: k,
|
|
65
64
|
props: {
|
|
66
65
|
collectionType: i,
|
|
67
66
|
...o.listItem,
|
|
@@ -69,17 +68,17 @@ const B = () => /* @__PURE__ */ m(T, { children: "No entities found..." }), G =
|
|
|
69
68
|
}
|
|
70
69
|
} : {
|
|
71
70
|
// Default to an ItemListItem (use it as loading list)
|
|
72
|
-
component:
|
|
71
|
+
component: V,
|
|
73
72
|
props: {
|
|
74
73
|
...o.listItem,
|
|
75
74
|
...o.loadingListItem
|
|
76
75
|
}
|
|
77
76
|
};
|
|
78
|
-
return /* @__PURE__ */ l(
|
|
79
|
-
/* @__PURE__ */ m(
|
|
77
|
+
return /* @__PURE__ */ l(v, { dense: f, ...o.root, children: [
|
|
78
|
+
/* @__PURE__ */ m(M, { ...o.listSubheader, children: L }),
|
|
80
79
|
/* @__PURE__ */ l(q, { children: [
|
|
81
|
-
!e && s.length === 0 &&
|
|
82
|
-
(e ?
|
|
80
|
+
!e && s.length === 0 && G(C),
|
|
81
|
+
(e ? w : s).map(({
|
|
83
82
|
key: t,
|
|
84
83
|
itemType: i,
|
|
85
84
|
collectionType: D
|
|
@@ -87,16 +86,16 @@ const B = () => /* @__PURE__ */ m(T, { children: "No entities found..." }), G =
|
|
|
87
86
|
const {
|
|
88
87
|
component: E,
|
|
89
88
|
props: R
|
|
90
|
-
} =
|
|
89
|
+
} = y({
|
|
91
90
|
itemType: i,
|
|
92
91
|
collectionType: D
|
|
93
92
|
});
|
|
94
|
-
return /* @__PURE__ */ m(E, { primary: p, secondary:
|
|
93
|
+
return /* @__PURE__ */ m(E, { primary: p, secondary: I, avatarVariant: u, isLoading: e, onClick: h, onDelete: g, ...R }, t);
|
|
95
94
|
})
|
|
96
95
|
] })
|
|
97
96
|
] });
|
|
98
97
|
};
|
|
99
|
-
|
|
98
|
+
d.defaultProps = {
|
|
100
99
|
entities: [],
|
|
101
100
|
header: void 0,
|
|
102
101
|
primary: "id",
|
|
@@ -107,10 +106,11 @@ J.defaultProps = {
|
|
|
107
106
|
amountLoading: 3,
|
|
108
107
|
onListItemClick: void 0,
|
|
109
108
|
onListItemDelete: void 0,
|
|
110
|
-
emptySlot:
|
|
111
|
-
components:
|
|
109
|
+
emptySlot: H,
|
|
110
|
+
components: K,
|
|
112
111
|
componentsProps: void 0
|
|
113
112
|
};
|
|
113
|
+
const j = d;
|
|
114
114
|
export {
|
|
115
|
-
|
|
115
|
+
j as default
|
|
116
116
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { styled as r } from "@mui/material/styles";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
name:
|
|
6
|
-
overridesResolver: (
|
|
2
|
+
import m from "./EntityList.js";
|
|
3
|
+
import { withOverrides as s } from "../../_utils/withOverrides.js";
|
|
4
|
+
const o = "EntityList", t = `Vdt${o}`, i = s(t)(m), e = r(i, {
|
|
5
|
+
name: t,
|
|
6
|
+
overridesResolver: (p, 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,27 +1,28 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { parseMetadataType as
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
itemType:
|
|
2
|
+
import l from "@mui/material/ListItemAvatar";
|
|
3
|
+
import { parseMetadataType as v } from "@vidispine/vdt-js";
|
|
4
|
+
import c from "../../EntityAvatar/index.js";
|
|
5
|
+
const i = ({
|
|
6
|
+
itemType: a,
|
|
7
7
|
collectionType: t,
|
|
8
|
-
isLoading:
|
|
9
|
-
variant:
|
|
10
|
-
entityAvatar:
|
|
8
|
+
isLoading: m,
|
|
9
|
+
variant: o,
|
|
10
|
+
entityAvatar: s,
|
|
11
11
|
...n
|
|
12
12
|
}) => {
|
|
13
13
|
const {
|
|
14
14
|
metadata: p
|
|
15
|
-
} =
|
|
16
|
-
mediaType:
|
|
17
|
-
mimeType:
|
|
18
|
-
} =
|
|
15
|
+
} = a || t || {}, d = a && "item" || t && "collection" || t && "library", {
|
|
16
|
+
mediaType: y,
|
|
17
|
+
mimeType: e
|
|
18
|
+
} = v(p, {
|
|
19
19
|
flat: !0,
|
|
20
20
|
arrayOnSingleValue: !1
|
|
21
|
-
}),
|
|
22
|
-
return /* @__PURE__ */ r(
|
|
21
|
+
}), f = typeof e == "string" ? e.split("/")[0] : void 0;
|
|
22
|
+
return /* @__PURE__ */ r(l, { ...n, children: /* @__PURE__ */ r(c, { entityType: d || void 0, mediaType: y || f, isLoading: m, variant: o, ...s }) });
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
i.defaultProps = {};
|
|
25
|
+
const L = i;
|
|
25
26
|
export {
|
|
26
|
-
|
|
27
|
+
L as default
|
|
27
28
|
};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Fragment as
|
|
3
|
-
import
|
|
4
|
-
import { getEntityProp as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
collectionType: r,
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { Fragment as a } from "react";
|
|
3
|
+
import d from "@mui/material/ListItemButton";
|
|
4
|
+
import { getEntityProp as f } from "../../_utils/getEntityProp.js";
|
|
5
|
+
const i = ({
|
|
6
|
+
itemType: e,
|
|
7
|
+
collectionType: m,
|
|
9
8
|
onClick: o,
|
|
10
|
-
isLoading:
|
|
9
|
+
isLoading: r,
|
|
11
10
|
...t
|
|
12
11
|
}) => {
|
|
13
|
-
const n = !
|
|
12
|
+
const n = !r && !!o, l = n ? d : a, c = n ? {
|
|
14
13
|
role: void 0,
|
|
15
|
-
onClick: (
|
|
16
|
-
itemType:
|
|
17
|
-
collectionType:
|
|
14
|
+
onClick: (s) => o(s, f({
|
|
15
|
+
itemType: e,
|
|
16
|
+
collectionType: m
|
|
18
17
|
})),
|
|
19
18
|
...t
|
|
20
19
|
} : {
|
|
21
20
|
children: t == null ? void 0 : t.children
|
|
22
21
|
};
|
|
23
|
-
return /* @__PURE__ */
|
|
22
|
+
return /* @__PURE__ */ u(l, { ...c });
|
|
24
23
|
};
|
|
25
|
-
|
|
24
|
+
i.defaultProps = {};
|
|
25
|
+
const g = i;
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
g as default
|
|
28
28
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import m from "@mui/icons-material/esm/Delete";
|
|
3
3
|
import l from "@mui/material/IconButton";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { getEntityProp as
|
|
7
|
-
|
|
8
|
-
const s = () => /* @__PURE__ */ t("div", { style: {
|
|
4
|
+
import a from "@mui/material/ListItemSecondaryAction";
|
|
5
|
+
import p from "@mui/material/Skeleton";
|
|
6
|
+
import { getEntityProp as s } from "../../_utils/getEntityProp.js";
|
|
7
|
+
const f = () => /* @__PURE__ */ t("div", { style: {
|
|
9
8
|
paddingRight: 10
|
|
10
|
-
}, children: /* @__PURE__ */ t(
|
|
9
|
+
}, children: /* @__PURE__ */ t(p, { width: 18, height: 36 }) }), n = ({
|
|
11
10
|
itemType: r,
|
|
12
11
|
collectionType: i,
|
|
13
|
-
isLoading:
|
|
12
|
+
isLoading: c,
|
|
14
13
|
onDelete: e,
|
|
15
|
-
...
|
|
16
|
-
}) => /* @__PURE__ */ t(
|
|
14
|
+
...d
|
|
15
|
+
}) => /* @__PURE__ */ t(a, { ...d, children: e && (c ? /* @__PURE__ */ t(f, {}) : /* @__PURE__ */ t(l, { onClick: (o) => (o.stopPropagation(), o.preventDefault(), e(o, s({
|
|
17
16
|
itemType: r,
|
|
18
17
|
collectionType: i
|
|
19
|
-
}))), children: /* @__PURE__ */ t(
|
|
20
|
-
|
|
18
|
+
}))), children: /* @__PURE__ */ t(m, {}) })) });
|
|
19
|
+
n.defaultProps = {};
|
|
20
|
+
const S = n;
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
S as default
|
|
23
23
|
};
|
|
@@ -2,24 +2,25 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import p from "@mui/material/ListItemText";
|
|
3
3
|
import m from "@mui/material/Skeleton";
|
|
4
4
|
import { getEntityText as s } from "../../_utils/getEntityText.js";
|
|
5
|
-
const
|
|
5
|
+
const i = ({
|
|
6
6
|
itemType: r,
|
|
7
|
-
collectionType:
|
|
8
|
-
primary:
|
|
9
|
-
secondary:
|
|
10
|
-
isLoading:
|
|
11
|
-
...
|
|
7
|
+
collectionType: e,
|
|
8
|
+
primary: n,
|
|
9
|
+
secondary: x,
|
|
10
|
+
isLoading: o,
|
|
11
|
+
...a
|
|
12
12
|
}) => {
|
|
13
|
-
const
|
|
13
|
+
const d = s(n, {
|
|
14
14
|
itemType: r,
|
|
15
|
-
collectionType:
|
|
16
|
-
}), f = s(
|
|
15
|
+
collectionType: e
|
|
16
|
+
}), f = s(x, {
|
|
17
17
|
itemType: r,
|
|
18
|
-
collectionType:
|
|
18
|
+
collectionType: e
|
|
19
19
|
});
|
|
20
|
-
return /* @__PURE__ */ t(p, { primary:
|
|
20
|
+
return /* @__PURE__ */ t(p, { primary: o ? /* @__PURE__ */ t(m, { width: 60 }) : d, secondary: o ? /* @__PURE__ */ t(m, { width: 120 }) : f, ...a });
|
|
21
21
|
};
|
|
22
|
-
|
|
22
|
+
i.defaultProps = {};
|
|
23
|
+
const I = i;
|
|
23
24
|
export {
|
|
24
|
-
|
|
25
|
+
I as default
|
|
25
26
|
};
|