@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,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 f from "@mui/material/TableCell";
|
|
3
|
+
import { parseMetadataType as c } from "@vidispine/vdt-js";
|
|
4
|
+
import T from "../../EntityAvatar/index.js";
|
|
5
|
+
const i = ({
|
|
6
|
+
itemType: a,
|
|
7
7
|
collectionType: t,
|
|
8
|
-
isLoading:
|
|
9
|
-
avatarVariant:
|
|
10
|
-
entityAvatar:
|
|
11
|
-
...
|
|
8
|
+
isLoading: o,
|
|
9
|
+
avatarVariant: n,
|
|
10
|
+
entityAvatar: l,
|
|
11
|
+
...m
|
|
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: s,
|
|
17
|
+
mimeType: e
|
|
18
|
+
} = c(p, {
|
|
19
19
|
flat: !0,
|
|
20
20
|
arrayOnSingleValue: !1
|
|
21
|
-
}),
|
|
22
|
-
return /* @__PURE__ */ r(
|
|
21
|
+
}), y = typeof e == "string" ? e.split("/")[0] : void 0;
|
|
22
|
+
return /* @__PURE__ */ r(f, { padding: "checkbox", ...m, children: /* @__PURE__ */ r(T, { entityType: d || void 0, mediaType: s || y, variant: n, isLoading: o, ...l || {} }) });
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
i.defaultProps = {};
|
|
25
|
+
const x = i;
|
|
25
26
|
export {
|
|
26
|
-
|
|
27
|
+
x as default
|
|
27
28
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
isLoading:
|
|
6
|
-
itemType:
|
|
2
|
+
import p from "@mui/material/TableCell";
|
|
3
|
+
import r from "@mui/material/Skeleton";
|
|
4
|
+
const t = ({
|
|
5
|
+
isLoading: o,
|
|
6
|
+
itemType: a,
|
|
7
7
|
// ignore (exists as MUI string prop)
|
|
8
|
-
children:
|
|
8
|
+
children: l,
|
|
9
9
|
...i
|
|
10
|
-
}) => /* @__PURE__ */ e(
|
|
10
|
+
}) => /* @__PURE__ */ e(p, { padding: "checkbox", ...i, children: o ? /* @__PURE__ */ e(r, { sx: {
|
|
11
11
|
width: "18px",
|
|
12
12
|
height: "36px",
|
|
13
13
|
margin: "auto"
|
|
14
|
-
} }) :
|
|
15
|
-
|
|
14
|
+
} }) : l });
|
|
15
|
+
t.defaultProps = {};
|
|
16
|
+
const c = t;
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
+
c as default
|
|
18
19
|
};
|
|
@@ -3,5 +3,5 @@ type EntityObject = {
|
|
|
3
3
|
itemType?: ItemType;
|
|
4
4
|
collectionType?: CollectionType;
|
|
5
5
|
};
|
|
6
|
-
export declare const getEntityText: (funcOrFieldName: string | ((entity: EntityObject) => string), { itemType, collectionType }: EntityObject) => any;
|
|
6
|
+
export declare const getEntityText: (funcOrFieldName: string | JSX.Element | ((entity: EntityObject) => string | JSX.Element), { itemType, collectionType }: EntityObject) => any;
|
|
7
7
|
export {};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Box as MuiBox } from '@mui/material';
|
|
3
|
+
import type { SearchResultType } from '@vidispine/types';
|
|
4
|
+
import { WithOverrideProps, StyledComponent } from '../../_types';
|
|
5
|
+
import VdtVirtualizedList from '../../general/VirtualizedList';
|
|
6
|
+
import VdtEventListItem from '../EventListItem';
|
|
7
|
+
import VdtEventListHeader from './components/EventListHeader';
|
|
8
|
+
declare const StyledMuiBox: any;
|
|
9
|
+
declare const StyledMuiBoxWrapper: any;
|
|
10
|
+
type StyledMuiBoxListWrapperType = StyledComponent<typeof MuiBox, {
|
|
11
|
+
horizontal?: boolean;
|
|
12
|
+
horizontalItemHeight: number;
|
|
13
|
+
verticalContainerHeight: string;
|
|
14
|
+
}>;
|
|
15
|
+
declare const StyledMuiBoxListWrapper: StyledMuiBoxListWrapperType;
|
|
16
|
+
declare const defaultComponents: {
|
|
17
|
+
Root: typeof StyledMuiBox;
|
|
18
|
+
Wrapper: typeof StyledMuiBoxWrapper;
|
|
19
|
+
ListWrapper: typeof StyledMuiBoxListWrapper;
|
|
20
|
+
ListHeader: typeof VdtEventListHeader;
|
|
21
|
+
List: typeof VdtVirtualizedList;
|
|
22
|
+
ListItem: typeof VdtEventListItem;
|
|
23
|
+
};
|
|
24
|
+
export interface EventListProps extends WithOverrideProps<typeof defaultComponents> {
|
|
25
|
+
/**
|
|
26
|
+
* The `SearchResultType` to get the event timespans from
|
|
27
|
+
*/
|
|
28
|
+
searchResultType?: SearchResultType;
|
|
29
|
+
/**
|
|
30
|
+
* To use with relative path thumbnails
|
|
31
|
+
*/
|
|
32
|
+
baseUrl?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Group events by item/collection
|
|
35
|
+
*/
|
|
36
|
+
groupByEntity?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Display list in horizontal orientation
|
|
39
|
+
*/
|
|
40
|
+
horizontal?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Horizontal only.
|
|
43
|
+
* Height of the event list items, if variable pick highest.
|
|
44
|
+
* Used to calculate container height.
|
|
45
|
+
*/
|
|
46
|
+
horizontalItemHeight?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Vertical only.
|
|
49
|
+
* Height of the scrollable container.
|
|
50
|
+
* Valid css height property.
|
|
51
|
+
*/
|
|
52
|
+
verticalContainerHeight?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Estimated size of the list item, width for horizontal, height for vertical orientation.
|
|
55
|
+
* Pick the highest value if variable.
|
|
56
|
+
* Used to calculate scroll size.
|
|
57
|
+
*/
|
|
58
|
+
estimateItemSize?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Callback for ListItem click event
|
|
61
|
+
*
|
|
62
|
+
* Set to `undefined` to disable
|
|
63
|
+
*/
|
|
64
|
+
onItemClick?: (event: React.MouseEvent<HTMLDivElement>, payload: any) => void;
|
|
65
|
+
}
|
|
66
|
+
declare const EventList: React.FC<EventListProps>;
|
|
67
|
+
export default EventList;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { jsx as i, jsxs as T } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as R } from "react";
|
|
3
|
+
import l from "@mui/material/Box";
|
|
4
|
+
import { styled as c } from "@mui/material/styles";
|
|
5
|
+
import { parseSearchResultEvents as S } from "@vidispine/vdt-js";
|
|
6
|
+
import V from "../../general/VirtualizedList/index.js";
|
|
7
|
+
import $ from "../EventListItem/index.js";
|
|
8
|
+
import b from "./components/EventListHeader.js";
|
|
9
|
+
const k = c(l)(() => ({})), j = c(l)(({
|
|
10
|
+
theme: t
|
|
11
|
+
}) => ({
|
|
12
|
+
backgroundColor: t.palette.background.paper
|
|
13
|
+
})), w = c(l, {
|
|
14
|
+
shouldForwardProp: (t) => !["horizontal", "horizontalItemHeight", "verticalContainerHeight"].includes(t)
|
|
15
|
+
})(({
|
|
16
|
+
theme: t,
|
|
17
|
+
horizontal: n,
|
|
18
|
+
horizontalItemHeight: s,
|
|
19
|
+
verticalContainerHeight: o
|
|
20
|
+
}) => ({
|
|
21
|
+
height: n ? `calc(${s}px + ${t.spacing(4)})` : o,
|
|
22
|
+
paddingTop: t.spacing(2),
|
|
23
|
+
paddingLeft: t.spacing(1),
|
|
24
|
+
paddingRight: t.spacing(1),
|
|
25
|
+
marginTop: t.spacing(2),
|
|
26
|
+
marginBottom: t.spacing(2),
|
|
27
|
+
display: "flex",
|
|
28
|
+
alignItems: "center"
|
|
29
|
+
})), y = {
|
|
30
|
+
Root: k,
|
|
31
|
+
Wrapper: j,
|
|
32
|
+
ListWrapper: w,
|
|
33
|
+
ListHeader: b,
|
|
34
|
+
List: V,
|
|
35
|
+
ListItem: $
|
|
36
|
+
}, E = ({
|
|
37
|
+
searchResultType: t,
|
|
38
|
+
baseUrl: n,
|
|
39
|
+
groupByEntity: s,
|
|
40
|
+
horizontal: o,
|
|
41
|
+
horizontalItemHeight: m,
|
|
42
|
+
verticalContainerHeight: u,
|
|
43
|
+
estimateItemSize: v,
|
|
44
|
+
onItemClick: a,
|
|
45
|
+
components: H,
|
|
46
|
+
componentsProps: r
|
|
47
|
+
}) => {
|
|
48
|
+
const {
|
|
49
|
+
Root: M,
|
|
50
|
+
Wrapper: g,
|
|
51
|
+
ListWrapper: f,
|
|
52
|
+
ListHeader: B,
|
|
53
|
+
List: L,
|
|
54
|
+
ListItem: h
|
|
55
|
+
} = H, I = R(() => S(t, {
|
|
56
|
+
includeGroupMetadata: !0,
|
|
57
|
+
flatEvents: !s,
|
|
58
|
+
includeEntityType: !0,
|
|
59
|
+
includeNearestThumbnail: !0
|
|
60
|
+
}), [s, t]), C = (e, x, p) => {
|
|
61
|
+
const {
|
|
62
|
+
events: W,
|
|
63
|
+
...d
|
|
64
|
+
} = x;
|
|
65
|
+
a(e, {
|
|
66
|
+
...d,
|
|
67
|
+
...p
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
return /* @__PURE__ */ i(M, { style: {
|
|
71
|
+
height: "100%"
|
|
72
|
+
}, ...r.root, children: s ? I.map((e) => {
|
|
73
|
+
const {
|
|
74
|
+
events: x,
|
|
75
|
+
...p
|
|
76
|
+
} = e;
|
|
77
|
+
return /* @__PURE__ */ T(g, { ...r.wrapper, children: [
|
|
78
|
+
/* @__PURE__ */ i(B, { variant: "h6", entry: e, ...r.listHeader }),
|
|
79
|
+
/* @__PURE__ */ i(f, { horizontal: o, horizontalItemHeight: m, verticalContainerHeight: u, ...r.listWrapper, children: /* @__PURE__ */ i(L, { listItems: e == null ? void 0 : e.events, horizontal: o, estimateItemSize: v, onItemClick: a ? (W, d) => C(W, e, d) : void 0, components: {
|
|
80
|
+
ListItem: h
|
|
81
|
+
}, componentsProps: {
|
|
82
|
+
listItem: {
|
|
83
|
+
baseUrl: n,
|
|
84
|
+
entry: p,
|
|
85
|
+
...r.listItem
|
|
86
|
+
}
|
|
87
|
+
} }) })
|
|
88
|
+
] }, `${e.entityType}${e.entityId}`);
|
|
89
|
+
}) : /* @__PURE__ */ i(g, { children: /* @__PURE__ */ i(f, { horizontal: o, horizontalItemHeight: m, verticalContainerHeight: u, children: /* @__PURE__ */ i(L, { listItems: I, horizontal: o, estimateItemSize: v, onItemClick: a, components: {
|
|
90
|
+
ListItem: h
|
|
91
|
+
}, componentsProps: {
|
|
92
|
+
listItem: {
|
|
93
|
+
baseUrl: n,
|
|
94
|
+
...r.listItem
|
|
95
|
+
}
|
|
96
|
+
} }) }) }) });
|
|
97
|
+
};
|
|
98
|
+
E.defaultProps = {
|
|
99
|
+
searchResultType: {},
|
|
100
|
+
baseUrl: void 0,
|
|
101
|
+
groupByEntity: !0,
|
|
102
|
+
horizontal: !0,
|
|
103
|
+
horizontalItemHeight: void 0,
|
|
104
|
+
verticalContainerHeight: void 0,
|
|
105
|
+
estimateItemSize: void 0,
|
|
106
|
+
onItemClick: void 0,
|
|
107
|
+
components: y,
|
|
108
|
+
componentsProps: void 0
|
|
109
|
+
};
|
|
110
|
+
const K = E;
|
|
111
|
+
export {
|
|
112
|
+
K as default
|
|
113
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TypographyProps } from '@mui/material';
|
|
3
|
+
import { ParsedSearchResultEntryType } from '@vidispine/vdt-js';
|
|
4
|
+
export interface EventListHeaderProps extends TypographyProps {
|
|
5
|
+
entry: ParsedSearchResultEntryType;
|
|
6
|
+
}
|
|
7
|
+
declare const EventListHeader: React.FC<EventListHeaderProps>;
|
|
8
|
+
export default EventListHeader;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import i from "@mui/material/Typography";
|
|
3
|
+
import { styled as p } from "@mui/material/styles";
|
|
4
|
+
import { parseMetadataType as n } from "@vidispine/vdt-js";
|
|
5
|
+
const s = p(i)(({
|
|
6
|
+
theme: t
|
|
7
|
+
}) => ({
|
|
8
|
+
marginBottom: `-${t.spacing(4)}`,
|
|
9
|
+
marginLeft: t.spacing(2),
|
|
10
|
+
paddingTop: t.spacing(1)
|
|
11
|
+
})), d = ({
|
|
12
|
+
entry: t,
|
|
13
|
+
...a
|
|
14
|
+
}) => {
|
|
15
|
+
const {
|
|
16
|
+
itemType: {
|
|
17
|
+
metadata: o
|
|
18
|
+
} = {}
|
|
19
|
+
} = t, {
|
|
20
|
+
title: r
|
|
21
|
+
} = n(o, {
|
|
22
|
+
joinValue: ",",
|
|
23
|
+
flat: !0
|
|
24
|
+
});
|
|
25
|
+
return /* @__PURE__ */ e(s, { ...a, children: r || t.entityId });
|
|
26
|
+
}, f = d;
|
|
27
|
+
export {
|
|
28
|
+
f as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { styled as p } from "@mui/material/styles";
|
|
2
|
+
import e from "./EventList.js";
|
|
3
|
+
import { withOverrides as s } from "../../_utils/withOverrides.js";
|
|
4
|
+
const t = "EventList", n = `Vdt${t}`, m = s(n)(e), o = p(m, {
|
|
5
|
+
name: n,
|
|
6
|
+
overridesResolver: (i, r) => r.root
|
|
7
|
+
})(() => ({}));
|
|
8
|
+
o.propTypes = e.propTypes;
|
|
9
|
+
o.displayName = t;
|
|
10
|
+
const l = o;
|
|
11
|
+
export {
|
|
12
|
+
l as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Box as MuiBox } from '@mui/material';
|
|
3
|
+
import type { CollectionType, ItemType, MetadataGroupValueType } from '@vidispine/types';
|
|
4
|
+
import { StyledComponent, WithOverrideProps } from '../../_types';
|
|
5
|
+
type StyledMuiBoxImageType = StyledComponent<typeof MuiBox, {
|
|
6
|
+
image?: string;
|
|
7
|
+
cover?: boolean;
|
|
8
|
+
}>;
|
|
9
|
+
declare const defaultComponents: {
|
|
10
|
+
Root: StyledMuiBoxImageType;
|
|
11
|
+
};
|
|
12
|
+
export type EventListItemEventType = {
|
|
13
|
+
entityType: 'Item' | 'Collection';
|
|
14
|
+
entityId: string;
|
|
15
|
+
group?: MetadataGroupValueType;
|
|
16
|
+
start?: string;
|
|
17
|
+
end?: string;
|
|
18
|
+
thumbnail?: string;
|
|
19
|
+
startSeconds?: number;
|
|
20
|
+
endSeconds?: number;
|
|
21
|
+
};
|
|
22
|
+
export type EventListItemEntryType = {
|
|
23
|
+
entityType: 'Item' | 'Collection';
|
|
24
|
+
entityId: string;
|
|
25
|
+
events?: EventListItemEventType[];
|
|
26
|
+
itemType?: ItemType;
|
|
27
|
+
collectionType?: CollectionType;
|
|
28
|
+
};
|
|
29
|
+
export interface EventListItemProps extends WithOverrideProps<typeof defaultComponents> {
|
|
30
|
+
/**
|
|
31
|
+
* Parsed entry timespan from parseSearchResultEvents
|
|
32
|
+
*/
|
|
33
|
+
listItem?: EventListItemEventType;
|
|
34
|
+
/**
|
|
35
|
+
* To use with relative path thumbnails
|
|
36
|
+
*
|
|
37
|
+
* _You typically set this to the externally accessible vidicore uri_
|
|
38
|
+
*/
|
|
39
|
+
baseUrl?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Parsed entry from parseSearchResultEvents
|
|
42
|
+
*/
|
|
43
|
+
entry?: EventListItemEntryType;
|
|
44
|
+
/**
|
|
45
|
+
* Whether to use background-size: cover on the background image, otherwise contain
|
|
46
|
+
*/
|
|
47
|
+
cover?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Callback fired when clicking the item
|
|
50
|
+
*/
|
|
51
|
+
onClick?: (event: React.MouseEvent<HTMLDivElement>, payload: EventListItemEventType & EventListItemEntryType) => void;
|
|
52
|
+
/**
|
|
53
|
+
* Callback fired when clicking open icon
|
|
54
|
+
*/
|
|
55
|
+
onOpenClick?: (event: React.MouseEvent<HTMLButtonElement>, payload: EventListItemEventType & EventListItemEntryType) => void;
|
|
56
|
+
}
|
|
57
|
+
declare const EventListItem: React.FC<EventListItemProps>;
|
|
58
|
+
export default EventListItem;
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { jsxs as r, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useState as $ } from "react";
|
|
3
|
+
import j from "@mui/icons-material/esm/Launch";
|
|
4
|
+
import A from "@mui/icons-material/esm/FolderOutlined";
|
|
5
|
+
import F from "@mui/icons-material/esm/TextSnippetOutlined";
|
|
6
|
+
import d from "@mui/material/Box";
|
|
7
|
+
import V from "@mui/material/IconButton";
|
|
8
|
+
import I from "@mui/material/Tooltip";
|
|
9
|
+
import N from "@mui/material/Popover";
|
|
10
|
+
import { styled as e } from "@mui/material/styles";
|
|
11
|
+
import { formatTimeCodeText as W } from "@vidispine/vdt-js";
|
|
12
|
+
import D from "../../metadata/MetadataGroupTreeView/index.js";
|
|
13
|
+
const G = e(d, {
|
|
14
|
+
shouldForwardProp: (o) => !["image", "cover"].includes(o)
|
|
15
|
+
})(({
|
|
16
|
+
theme: o,
|
|
17
|
+
image: i,
|
|
18
|
+
cover: a,
|
|
19
|
+
onClick: l
|
|
20
|
+
}) => ({
|
|
21
|
+
position: "relative",
|
|
22
|
+
display: "flex",
|
|
23
|
+
flexDirection: "column",
|
|
24
|
+
justifyContent: "space-between",
|
|
25
|
+
padding: o.spacing(0.25),
|
|
26
|
+
margin: o.spacing(1),
|
|
27
|
+
height: "95px",
|
|
28
|
+
width: "168px",
|
|
29
|
+
zIndex: 5,
|
|
30
|
+
transition: "all .3s ease-in-out",
|
|
31
|
+
backgroundColor: "rgba(0, 0, 0, 0.8)",
|
|
32
|
+
backgroundImage: i ? `url(${i})` : "none",
|
|
33
|
+
backgroundPosition: "center",
|
|
34
|
+
backgroundRepeat: "no-repeat",
|
|
35
|
+
borderRadius: "4px",
|
|
36
|
+
cursor: l ? "pointer" : "initial",
|
|
37
|
+
...a ? {
|
|
38
|
+
backgroundSize: "cover"
|
|
39
|
+
} : {
|
|
40
|
+
backgroundSize: "contain"
|
|
41
|
+
},
|
|
42
|
+
"&:hover": {
|
|
43
|
+
"& .VdtEventListItemActions": {
|
|
44
|
+
opacity: 1
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
})), q = e("div", {
|
|
48
|
+
shouldForwardProp: (o) => !["infoOpen"].includes(o)
|
|
49
|
+
})(({
|
|
50
|
+
theme: o,
|
|
51
|
+
infoOpen: i
|
|
52
|
+
}) => ({
|
|
53
|
+
display: "flex",
|
|
54
|
+
justifyContent: "flex-end",
|
|
55
|
+
opacity: i ? 1 : 0,
|
|
56
|
+
transition: "opacity .15s ease-in-out",
|
|
57
|
+
gap: o.spacing(0.25)
|
|
58
|
+
})), S = e(V)(({
|
|
59
|
+
theme: o
|
|
60
|
+
}) => ({
|
|
61
|
+
padding: o.spacing(0.25),
|
|
62
|
+
borderRadius: "4px",
|
|
63
|
+
backgroundColor: "rgba(0,0,0,0.5)",
|
|
64
|
+
color: o.palette.common.white,
|
|
65
|
+
"&:hover": {
|
|
66
|
+
backgroundColor: "rgba(0,0,0,0.7)"
|
|
67
|
+
},
|
|
68
|
+
"&.MuiIconButton-root": {
|
|
69
|
+
"& .MuiTouchRipple-child": {
|
|
70
|
+
borderRadius: "4px"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
})), H = e("div")(() => ({
|
|
74
|
+
display: "flex",
|
|
75
|
+
justifyContent: "space-between"
|
|
76
|
+
})), J = e("div")(() => ({
|
|
77
|
+
position: "absolute",
|
|
78
|
+
top: "50%",
|
|
79
|
+
left: "50%",
|
|
80
|
+
transform: "translate(-50%, -50%)",
|
|
81
|
+
color: "rgba(255,255,255,0.6)",
|
|
82
|
+
"& .MuiSvgIcon-root": {
|
|
83
|
+
height: "1.75em",
|
|
84
|
+
width: "1.75em"
|
|
85
|
+
}
|
|
86
|
+
})), k = e("div")(({
|
|
87
|
+
theme: o
|
|
88
|
+
}) => ({
|
|
89
|
+
backgroundColor: "rgba(0,0,0,0.6)",
|
|
90
|
+
paddingLeft: o.spacing(0.5),
|
|
91
|
+
paddingRight: o.spacing(0.5),
|
|
92
|
+
paddingTop: o.spacing(0.25),
|
|
93
|
+
paddingBottom: o.spacing(0.25),
|
|
94
|
+
borderRadius: "3px",
|
|
95
|
+
display: "flex",
|
|
96
|
+
alignItems: "center",
|
|
97
|
+
"& span": {
|
|
98
|
+
fontSize: "0.75rem",
|
|
99
|
+
fontWeight: 700,
|
|
100
|
+
color: o.palette.common.white
|
|
101
|
+
}
|
|
102
|
+
})), s = e("span")(() => ({
|
|
103
|
+
fontWeight: 600,
|
|
104
|
+
fontSize: ".75rem"
|
|
105
|
+
})), y = e("span")(() => ({
|
|
106
|
+
fontSize: ".75rem"
|
|
107
|
+
})), K = {
|
|
108
|
+
Root: G
|
|
109
|
+
}, R = ({
|
|
110
|
+
listItem: o,
|
|
111
|
+
entry: i,
|
|
112
|
+
baseUrl: a,
|
|
113
|
+
cover: l,
|
|
114
|
+
onClick: w,
|
|
115
|
+
onOpenClick: p,
|
|
116
|
+
components: L,
|
|
117
|
+
componentsProps: O
|
|
118
|
+
}) => {
|
|
119
|
+
const {
|
|
120
|
+
Root: P
|
|
121
|
+
} = L, {
|
|
122
|
+
thumbnail: c,
|
|
123
|
+
group: z,
|
|
124
|
+
start: g,
|
|
125
|
+
end: u
|
|
126
|
+
} = o || {}, {
|
|
127
|
+
entityType: m
|
|
128
|
+
} = i || o, h = (t) => t === "-INF" ? "Start" : t === "+INF" ? "End" : W(t).toSmpte(), f = h(g), b = h(u), [x, C] = $(null), v = !!x, M = (t) => {
|
|
129
|
+
w(t, {
|
|
130
|
+
...o,
|
|
131
|
+
...i || {}
|
|
132
|
+
});
|
|
133
|
+
}, T = (t) => {
|
|
134
|
+
t.stopPropagation(), C(t.currentTarget);
|
|
135
|
+
}, B = (t) => {
|
|
136
|
+
t.stopPropagation(), p(t, {
|
|
137
|
+
...o,
|
|
138
|
+
...i || {}
|
|
139
|
+
});
|
|
140
|
+
}, E = () => {
|
|
141
|
+
C(null);
|
|
142
|
+
};
|
|
143
|
+
return /* @__PURE__ */ r(P, { onClick: M, cover: l, image: a && c ? `${a}/APInoauth/thumbnail/${c}` : c, ...O.root, children: [
|
|
144
|
+
!c && /* @__PURE__ */ n(J, { children: /* @__PURE__ */ n(A, {}) }),
|
|
145
|
+
/* @__PURE__ */ r(q, { className: "VdtEventListItemActions", infoOpen: v, children: [
|
|
146
|
+
p && /* @__PURE__ */ n(I, { title: m === "Item" && "Open Item" || m === "Collection" && "Open Collection" || "Open", children: /* @__PURE__ */ n(S, { size: "small", onClick: B, children: /* @__PURE__ */ n(j, {}) }) }),
|
|
147
|
+
/* @__PURE__ */ n(I, { title: "Show event info", children: /* @__PURE__ */ n(S, { size: "small", onClick: T, children: /* @__PURE__ */ n(F, {}) }) })
|
|
148
|
+
] }),
|
|
149
|
+
/* @__PURE__ */ r(H, { children: [
|
|
150
|
+
/* @__PURE__ */ n(k, { children: /* @__PURE__ */ n("span", { children: f }) }),
|
|
151
|
+
/* @__PURE__ */ n(k, { children: /* @__PURE__ */ n("span", { children: b }) })
|
|
152
|
+
] }),
|
|
153
|
+
/* @__PURE__ */ r(N, { onClick: (t) => t.stopPropagation(), open: v, anchorEl: x, onClose: E, anchorOrigin: {
|
|
154
|
+
vertical: "bottom",
|
|
155
|
+
horizontal: "right"
|
|
156
|
+
}, transformOrigin: {
|
|
157
|
+
vertical: "top",
|
|
158
|
+
horizontal: "right"
|
|
159
|
+
}, slotProps: {
|
|
160
|
+
paper: {
|
|
161
|
+
sx: {
|
|
162
|
+
width: 400,
|
|
163
|
+
maxWidth: 400,
|
|
164
|
+
padding: 1
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}, children: [
|
|
168
|
+
/* @__PURE__ */ r(d, { sx: {
|
|
169
|
+
paddingLeft: 1,
|
|
170
|
+
paddingRight: 1
|
|
171
|
+
}, children: [
|
|
172
|
+
/* @__PURE__ */ n(s, { children: "Start timecode: " }),
|
|
173
|
+
/* @__PURE__ */ n(y, { children: `${f} (${g})` })
|
|
174
|
+
] }),
|
|
175
|
+
/* @__PURE__ */ r(d, { sx: {
|
|
176
|
+
paddingLeft: 1,
|
|
177
|
+
paddingRight: 1
|
|
178
|
+
}, children: [
|
|
179
|
+
/* @__PURE__ */ n(s, { children: "End timecode: " }),
|
|
180
|
+
/* @__PURE__ */ n(y, { children: `${b} (${u})` })
|
|
181
|
+
] }),
|
|
182
|
+
/* @__PURE__ */ n(d, { sx: {
|
|
183
|
+
paddingLeft: 1,
|
|
184
|
+
paddingRight: 1
|
|
185
|
+
}, children: /* @__PURE__ */ n(s, { children: "Metadata group: " }) }),
|
|
186
|
+
/* @__PURE__ */ n(D, { group: z })
|
|
187
|
+
] })
|
|
188
|
+
] });
|
|
189
|
+
};
|
|
190
|
+
R.defaultProps = {
|
|
191
|
+
listItem: void 0,
|
|
192
|
+
baseUrl: void 0,
|
|
193
|
+
entry: void 0,
|
|
194
|
+
cover: !1,
|
|
195
|
+
onClick: void 0,
|
|
196
|
+
onOpenClick: void 0,
|
|
197
|
+
components: K,
|
|
198
|
+
componentsProps: void 0
|
|
199
|
+
};
|
|
200
|
+
const ao = R;
|
|
201
|
+
export {
|
|
202
|
+
ao as default
|
|
203
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { styled as s } from "@mui/material/styles";
|
|
2
|
+
import o from "./EventListItem.js";
|
|
3
|
+
import { withOverrides as m } from "../../_utils/withOverrides.js";
|
|
4
|
+
const e = "EventListItem", r = `Vdt${e}`, p = m(r)(o), t = s(p, {
|
|
5
|
+
name: r,
|
|
6
|
+
overridesResolver: (i, n) => n.root
|
|
7
|
+
})(() => ({}));
|
|
8
|
+
t.propTypes = o.propTypes;
|
|
9
|
+
t.displayName = e;
|
|
10
|
+
const v = t;
|
|
11
|
+
export {
|
|
12
|
+
v as default
|
|
13
|
+
};
|