@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.
Files changed (272) hide show
  1. package/dist/cjs/collection/CollectionCard/CollectionCard.js +1 -1
  2. package/dist/cjs/collection/CollectionCard/components/CollectionCardMedia.js +1 -1
  3. package/dist/cjs/collection/CollectionCard/index.js +1 -1
  4. package/dist/cjs/collection/CollectionList/CollectionList.js +1 -1
  5. package/dist/cjs/collection/CollectionList/index.js +1 -1
  6. package/dist/cjs/collection/CollectionListItem/CollectionListItem.js +1 -1
  7. package/dist/cjs/collection/CollectionListItem/index.js +1 -1
  8. package/dist/cjs/collection/CollectionRepresentativeThumbnail/CollectionRepresentativeThumbnail.js +1 -1
  9. package/dist/cjs/collection/CollectionRepresentativeThumbnail/index.js +1 -1
  10. package/dist/cjs/entity/EntityAvatar/EntityAvatar.js +1 -1
  11. package/dist/cjs/entity/EntityAvatar/index.js +1 -1
  12. package/dist/cjs/entity/EntityCard/_components/Typography.js +1 -1
  13. package/dist/cjs/entity/EntityCard/components/EntityCardActions.js +1 -1
  14. package/dist/cjs/entity/EntityCard/components/EntityCardBase.js +1 -1
  15. package/dist/cjs/entity/EntityCard/components/EntityCardContent.js +1 -1
  16. package/dist/cjs/entity/EntityCard/components/EntityCardHeader.js +1 -1
  17. package/dist/cjs/entity/EntityIcon/EntityIcon.js +1 -1
  18. package/dist/cjs/entity/EntityIcon/index.js +1 -1
  19. package/dist/cjs/entity/EntityList/EntityList.js +1 -1
  20. package/dist/cjs/entity/EntityList/index.js +1 -1
  21. package/dist/cjs/entity/EntityListItem/components/EntityListItemAvatar.js +1 -1
  22. package/dist/cjs/entity/EntityListItem/components/EntityListItemButton.js +1 -1
  23. package/dist/cjs/entity/EntityListItem/components/EntityListItemSecondaryAction.js +1 -1
  24. package/dist/cjs/entity/EntityListItem/components/EntityListItemText.js +1 -1
  25. package/dist/cjs/entity/EntityTableRow/components/EntityTableCellAvatar.js +1 -1
  26. package/dist/cjs/entity/EntityTableRow/components/EntityTableCellCheckbox.js +1 -1
  27. package/dist/cjs/event/EventList/EventList.js +1 -0
  28. package/dist/cjs/event/EventList/components/EventListHeader.js +1 -0
  29. package/dist/cjs/event/EventList/index.js +1 -0
  30. package/dist/cjs/event/EventListItem/EventListItem.js +1 -0
  31. package/dist/cjs/event/EventListItem/index.js +1 -0
  32. package/dist/cjs/general/AvatarMenu/AvatarMenu.js +1 -1
  33. package/dist/cjs/general/AvatarMenu/components/Avatar.js +1 -1
  34. package/dist/cjs/general/AvatarMenu/components/MenuItem.js +1 -1
  35. package/dist/cjs/general/AvatarMenu/index.js +1 -1
  36. package/dist/cjs/general/BlurredBackground/BlurredBackground.js +1 -1
  37. package/dist/cjs/general/BlurredBackground/index.js +1 -1
  38. package/dist/cjs/general/CalendarPicker/CalendarPicker.js +1 -1
  39. package/dist/cjs/general/CalendarPicker/components/PickersDay.js +1 -1
  40. package/dist/cjs/general/CalendarPicker/index.js +1 -1
  41. package/dist/cjs/general/CompactBadge/CompactBadge.js +1 -1
  42. package/dist/cjs/general/CompactBadge/index.js +1 -1
  43. package/dist/cjs/general/CompactLabel/CompactLabel.js +1 -1
  44. package/dist/cjs/general/CompactLabel/index.js +1 -1
  45. package/dist/cjs/general/CornerLabelPlacer/CornerLabelPlacer.js +1 -1
  46. package/dist/cjs/general/CornerLabelPlacer/index.js +1 -1
  47. package/dist/cjs/general/ExpandButton/ExpandButton.js +1 -1
  48. package/dist/cjs/general/ExpandButton/index.js +1 -1
  49. package/dist/cjs/general/Form/Form.js +1 -1
  50. package/dist/cjs/general/Form/index.js +1 -1
  51. package/dist/cjs/general/ImageCollage/ImageCollage.js +1 -1
  52. package/dist/cjs/general/ImageCollage/index.js +1 -1
  53. package/dist/cjs/general/MediaIcon/MediaIcon.js +1 -1
  54. package/dist/cjs/general/MediaIcon/index.js +1 -1
  55. package/dist/cjs/general/MenuItem/MenuItem.js +1 -1
  56. package/dist/cjs/general/MenuItem/index.js +1 -1
  57. package/dist/cjs/general/ScrubLine/ScrubLine.js +1 -1
  58. package/dist/cjs/general/ScrubLine/index.js +1 -1
  59. package/dist/cjs/general/Sort/Sort.js +1 -1
  60. package/dist/cjs/general/Sort/components/ButtonBase.js +1 -1
  61. package/dist/cjs/general/Sort/components/MenuItem.js +1 -1
  62. package/dist/cjs/general/Sort/index.js +1 -1
  63. package/dist/cjs/general/TablePagination/TablePagination.js +1 -1
  64. package/dist/cjs/general/TablePagination/index.js +1 -1
  65. package/dist/cjs/general/VirtualizedList/VirtualizedList.js +1 -0
  66. package/dist/cjs/general/VirtualizedList/index.js +1 -0
  67. package/dist/cjs/index.js +1 -1
  68. package/dist/cjs/inputs/BasicDateTimeInput/BasicDateTimeInput.js +1 -1
  69. package/dist/cjs/inputs/BasicDateTimeInput/index.js +1 -1
  70. package/dist/cjs/inputs/BooleanInput/BooleanInput.js +1 -1
  71. package/dist/cjs/inputs/BooleanInput/index.js +1 -1
  72. package/dist/cjs/inputs/CheckboxGroupInput/CheckboxGroupInput.js +1 -1
  73. package/dist/cjs/inputs/CheckboxGroupInput/components/CheckboxGroup.js +1 -1
  74. package/dist/cjs/inputs/CheckboxGroupInput/index.js +1 -1
  75. package/dist/cjs/inputs/DateRangeInput/DateRangeInput.js +1 -1
  76. package/dist/cjs/inputs/DateRangeInput/index.js +1 -1
  77. package/dist/cjs/inputs/DateTimeInput/DateTimeInput.js +1 -1
  78. package/dist/cjs/inputs/DateTimeInput/index.js +1 -1
  79. package/dist/cjs/inputs/MaskedTextInput/MaskedTextInput.js +1 -1
  80. package/dist/cjs/inputs/MaskedTextInput/components/MaskedInputComponent.js +1 -1
  81. package/dist/cjs/inputs/MaskedTextInput/index.js +1 -1
  82. package/dist/cjs/inputs/NumberInput/NumberInput.js +1 -1
  83. package/dist/cjs/inputs/NumberInput/index.js +1 -1
  84. package/dist/cjs/inputs/RadioGroupInput/RadioGroupInput.js +1 -1
  85. package/dist/cjs/inputs/RadioGroupInput/components/RadioGroup.js +1 -1
  86. package/dist/cjs/inputs/RadioGroupInput/index.js +1 -1
  87. package/dist/cjs/inputs/SelectInput/SelectInput.js +1 -1
  88. package/dist/cjs/inputs/SelectInput/index.js +1 -1
  89. package/dist/cjs/inputs/SliderInput/SliderInput.js +1 -1
  90. package/dist/cjs/inputs/SliderInput/components/Slider.js +1 -1
  91. package/dist/cjs/inputs/SliderInput/index.js +1 -1
  92. package/dist/cjs/inputs/TagInput/TagInput.js +1 -1
  93. package/dist/cjs/inputs/TagInput/index.js +1 -1
  94. package/dist/cjs/inputs/TextInput/TextInput.js +1 -1
  95. package/dist/cjs/inputs/TextInput/index.js +1 -1
  96. package/dist/cjs/inputs/_components/FormControlLabel.js +1 -1
  97. package/dist/cjs/inputs/_components/MenuItem.js +1 -1
  98. package/dist/cjs/item/ItemCard/ItemCard.js +1 -1
  99. package/dist/cjs/item/ItemCard/components/ItemCardMedia.js +1 -1
  100. package/dist/cjs/item/ItemCard/index.js +1 -1
  101. package/dist/cjs/item/ItemList/ItemList.js +1 -1
  102. package/dist/cjs/item/ItemList/index.js +1 -1
  103. package/dist/cjs/item/ItemListItem/ItemListItem.js +1 -1
  104. package/dist/cjs/item/ItemListItem/index.js +1 -1
  105. package/dist/cjs/item/ItemPoster/ItemPoster.js +1 -1
  106. package/dist/cjs/item/ItemPoster/index.js +1 -1
  107. package/dist/cjs/item/ItemPosterList/ItemPosterList.js +1 -1
  108. package/dist/cjs/item/ItemPosterList/index.js +1 -1
  109. package/dist/cjs/item/ItemPosterViewer/ItemPosterViewer.js +1 -1
  110. package/dist/cjs/item/ItemPosterViewer/components/Toolbar.js +1 -1
  111. package/dist/cjs/item/ItemPosterViewer/index.js +1 -1
  112. package/dist/cjs/item/ItemTable/ItemTable.js +1 -1
  113. package/dist/cjs/item/ItemTable/components/ItemTableHead.js +1 -1
  114. package/dist/cjs/item/ItemTable/index.js +1 -1
  115. package/dist/cjs/item/ItemTableRow/ItemTableRow.js +1 -1
  116. package/dist/cjs/item/ItemTableRow/index.js +1 -1
  117. package/dist/cjs/item/ItemThumbnail/ItemThumbnail.js +1 -1
  118. package/dist/cjs/item/ItemThumbnail/index.js +1 -1
  119. package/dist/cjs/metadata/MetadataGroupTreeView/MetadataGroupTreeView.js +1 -0
  120. package/dist/cjs/metadata/MetadataGroupTreeView/index.js +1 -0
  121. package/dist/cjs/search/SearchFilterForm/SearchFilterForm.js +1 -1
  122. package/dist/cjs/search/SearchFilterForm/hooks/UseSearchFilterFormInputs.js +1 -1
  123. package/dist/cjs/search/SearchFilterForm/index.js +1 -1
  124. package/dist/cjs/search/SearchFilterForm/utils/mapValuesToFilter.js +1 -1
  125. package/dist/cjs/shape/ShapeMediaBadges/ShapeMediaBadges.js +1 -1
  126. package/dist/cjs/shape/ShapeMediaBadges/index.js +1 -1
  127. package/dist/cjs/transcode/TranscodePresetMediaBadges/TranscodePresetMediaBadges.js +1 -1
  128. package/dist/cjs/transcode/TranscodePresetMediaBadges/index.js +1 -1
  129. package/dist/es/collection/CollectionCard/CollectionCard.js +61 -60
  130. package/dist/es/collection/CollectionCard/components/CollectionCardMedia.js +10 -9
  131. package/dist/es/collection/CollectionCard/index.js +7 -6
  132. package/dist/es/collection/CollectionList/CollectionList.js +30 -30
  133. package/dist/es/collection/CollectionList/index.js +7 -6
  134. package/dist/es/collection/CollectionListItem/CollectionListItem.js +32 -31
  135. package/dist/es/collection/CollectionListItem/index.js +8 -7
  136. package/dist/es/collection/CollectionRepresentativeThumbnail/CollectionRepresentativeThumbnail.js +50 -61
  137. package/dist/es/collection/CollectionRepresentativeThumbnail/index.js +7 -6
  138. package/dist/es/entity/EntityAvatar/EntityAvatar.js +25 -24
  139. package/dist/es/entity/EntityAvatar/index.js +7 -6
  140. package/dist/es/entity/EntityCard/_components/Typography.js +5 -5
  141. package/dist/es/entity/EntityCard/components/EntityCardActions.js +37 -51
  142. package/dist/es/entity/EntityCard/components/EntityCardBase.js +9 -8
  143. package/dist/es/entity/EntityCard/components/EntityCardContent.js +20 -19
  144. package/dist/es/entity/EntityCard/components/EntityCardHeader.js +30 -45
  145. package/dist/es/entity/EntityIcon/EntityIcon.js +38 -51
  146. package/dist/es/entity/EntityIcon/index.js +7 -6
  147. package/dist/es/entity/EntityList/EntityList.js +42 -42
  148. package/dist/es/entity/EntityList/index.js +8 -7
  149. package/dist/es/entity/EntityListItem/components/EntityListItemAvatar.js +17 -16
  150. package/dist/es/entity/EntityListItem/components/EntityListItemButton.js +16 -16
  151. package/dist/es/entity/EntityListItem/components/EntityListItemSecondaryAction.js +13 -13
  152. package/dist/es/entity/EntityListItem/components/EntityListItemText.js +14 -13
  153. package/dist/es/entity/EntityTableRow/components/EntityTableCellAvatar.js +18 -17
  154. package/dist/es/entity/EntityTableRow/components/EntityTableCellCheckbox.js +11 -10
  155. package/dist/es/entity/_utils/getEntityText.d.ts +1 -1
  156. package/dist/es/event/EventList/EventList.d.ts +67 -0
  157. package/dist/es/event/EventList/EventList.js +113 -0
  158. package/dist/es/event/EventList/components/EventListHeader.d.ts +8 -0
  159. package/dist/es/event/EventList/components/EventListHeader.js +29 -0
  160. package/dist/es/event/EventList/index.d.ts +2 -0
  161. package/dist/es/event/EventList/index.js +13 -0
  162. package/dist/es/event/EventListItem/EventListItem.d.ts +58 -0
  163. package/dist/es/event/EventListItem/EventListItem.js +203 -0
  164. package/dist/es/event/EventListItem/index.d.ts +2 -0
  165. package/dist/es/event/EventListItem/index.js +13 -0
  166. package/dist/es/event/index.d.ts +2 -0
  167. package/dist/es/general/AvatarMenu/AvatarMenu.js +27 -26
  168. package/dist/es/general/AvatarMenu/components/Avatar.js +15 -14
  169. package/dist/es/general/AvatarMenu/components/MenuItem.js +14 -14
  170. package/dist/es/general/AvatarMenu/index.js +8 -7
  171. package/dist/es/general/BlurredBackground/BlurredBackground.js +14 -13
  172. package/dist/es/general/BlurredBackground/index.js +8 -7
  173. package/dist/es/general/CalendarPicker/CalendarPicker.js +59 -58
  174. package/dist/es/general/CalendarPicker/components/PickersDay.js +18 -17
  175. package/dist/es/general/CalendarPicker/index.js +8 -7
  176. package/dist/es/general/CompactBadge/CompactBadge.js +17 -16
  177. package/dist/es/general/CompactBadge/index.js +7 -6
  178. package/dist/es/general/CompactLabel/CompactLabel.js +19 -18
  179. package/dist/es/general/CompactLabel/index.js +7 -6
  180. package/dist/es/general/CornerLabelPlacer/CornerLabelPlacer.js +30 -29
  181. package/dist/es/general/CornerLabelPlacer/index.js +8 -7
  182. package/dist/es/general/ExpandButton/ExpandButton.js +21 -20
  183. package/dist/es/general/ExpandButton/index.js +7 -6
  184. package/dist/es/general/Form/Form.js +52 -51
  185. package/dist/es/general/Form/index.js +8 -7
  186. package/dist/es/general/ImageCollage/ImageCollage.js +37 -36
  187. package/dist/es/general/ImageCollage/index.js +6 -5
  188. package/dist/es/general/MediaIcon/MediaIcon.js +47 -46
  189. package/dist/es/general/MediaIcon/index.js +6 -5
  190. package/dist/es/general/MenuItem/MenuItem.js +28 -27
  191. package/dist/es/general/MenuItem/index.js +9 -8
  192. package/dist/es/general/ScrubLine/ScrubLine.js +36 -35
  193. package/dist/es/general/ScrubLine/index.js +7 -6
  194. package/dist/es/general/Sort/Sort.js +25 -24
  195. package/dist/es/general/Sort/components/ButtonBase.js +11 -11
  196. package/dist/es/general/Sort/components/MenuItem.js +10 -10
  197. package/dist/es/general/Sort/index.js +7 -6
  198. package/dist/es/general/TablePagination/TablePagination.js +27 -26
  199. package/dist/es/general/TablePagination/index.js +9 -8
  200. package/dist/es/general/ThemeContext/ThemeContext.d.ts +2 -14
  201. package/dist/es/general/VirtualizedList/VirtualizedList.d.ts +56 -0
  202. package/dist/es/general/VirtualizedList/VirtualizedList.js +90 -0
  203. package/dist/es/general/VirtualizedList/index.d.ts +3 -0
  204. package/dist/es/general/VirtualizedList/index.js +12 -0
  205. package/dist/es/general/index.d.ts +1 -0
  206. package/dist/es/index.d.ts +1 -0
  207. package/dist/es/index.js +67 -61
  208. package/dist/es/inputs/BasicDateTimeInput/BasicDateTimeInput.js +30 -29
  209. package/dist/es/inputs/BasicDateTimeInput/index.js +8 -7
  210. package/dist/es/inputs/BooleanInput/BooleanInput.js +48 -47
  211. package/dist/es/inputs/BooleanInput/index.js +8 -7
  212. package/dist/es/inputs/CheckboxGroupInput/CheckboxGroupInput.js +64 -63
  213. package/dist/es/inputs/CheckboxGroupInput/components/CheckboxGroup.js +37 -36
  214. package/dist/es/inputs/CheckboxGroupInput/index.js +7 -6
  215. package/dist/es/inputs/DateRangeInput/DateRangeInput.js +84 -84
  216. package/dist/es/inputs/DateRangeInput/index.js +8 -7
  217. package/dist/es/inputs/DateTimeInput/DateTimeInput.js +60 -59
  218. package/dist/es/inputs/DateTimeInput/index.js +8 -7
  219. package/dist/es/inputs/MaskedTextInput/MaskedTextInput.js +34 -33
  220. package/dist/es/inputs/MaskedTextInput/components/MaskedInputComponent.js +9 -8
  221. package/dist/es/inputs/MaskedTextInput/index.js +7 -6
  222. package/dist/es/inputs/NumberInput/NumberInput.js +25 -24
  223. package/dist/es/inputs/NumberInput/index.js +8 -7
  224. package/dist/es/inputs/RadioGroupInput/RadioGroupInput.js +62 -61
  225. package/dist/es/inputs/RadioGroupInput/components/RadioGroup.js +27 -26
  226. package/dist/es/inputs/RadioGroupInput/index.js +6 -5
  227. package/dist/es/inputs/SelectInput/SelectInput.js +36 -35
  228. package/dist/es/inputs/SelectInput/index.js +6 -5
  229. package/dist/es/inputs/SliderInput/SliderInput.js +75 -76
  230. package/dist/es/inputs/SliderInput/components/Slider.js +38 -38
  231. package/dist/es/inputs/SliderInput/index.js +8 -7
  232. package/dist/es/inputs/TagInput/TagInput.js +88 -87
  233. package/dist/es/inputs/TagInput/index.js +6 -5
  234. package/dist/es/inputs/TextInput/TextInput.js +32 -31
  235. package/dist/es/inputs/TextInput/index.js +6 -5
  236. package/dist/es/inputs/_components/FormControlLabel.js +11 -10
  237. package/dist/es/inputs/_components/MenuItem.js +18 -17
  238. package/dist/es/item/ItemCard/ItemCard.js +56 -55
  239. package/dist/es/item/ItemCard/components/ItemCardMedia.js +14 -13
  240. package/dist/es/item/ItemCard/index.js +8 -7
  241. package/dist/es/item/ItemList/ItemList.js +39 -39
  242. package/dist/es/item/ItemList/index.js +9 -8
  243. package/dist/es/item/ItemListItem/ItemListItem.js +32 -31
  244. package/dist/es/item/ItemListItem/index.js +9 -8
  245. package/dist/es/item/ItemPoster/ItemPoster.js +32 -45
  246. package/dist/es/item/ItemPoster/index.js +9 -8
  247. package/dist/es/item/ItemPosterList/ItemPosterList.js +27 -26
  248. package/dist/es/item/ItemPosterList/index.js +7 -6
  249. package/dist/es/item/ItemPosterViewer/ItemPosterViewer.js +47 -60
  250. package/dist/es/item/ItemPosterViewer/components/Toolbar.js +18 -17
  251. package/dist/es/item/ItemPosterViewer/index.js +9 -8
  252. package/dist/es/item/ItemTable/ItemTable.js +49 -50
  253. package/dist/es/item/ItemTable/components/ItemTableHead.js +22 -21
  254. package/dist/es/item/ItemTable/index.js +9 -8
  255. package/dist/es/item/ItemTableRow/ItemTableRow.js +38 -38
  256. package/dist/es/item/ItemTableRow/index.js +6 -5
  257. package/dist/es/item/ItemThumbnail/ItemThumbnail.js +46 -57
  258. package/dist/es/item/ItemThumbnail/index.js +9 -8
  259. package/dist/es/metadata/MetadataGroupTreeView/MetadataGroupTreeView.d.ts +16 -0
  260. package/dist/es/metadata/MetadataGroupTreeView/MetadataGroupTreeView.js +63 -0
  261. package/dist/es/metadata/MetadataGroupTreeView/index.d.ts +2 -0
  262. package/dist/es/metadata/MetadataGroupTreeView/index.js +12 -0
  263. package/dist/es/metadata/index.d.ts +1 -0
  264. package/dist/es/search/SearchFilterForm/SearchFilterForm.js +34 -33
  265. package/dist/es/search/SearchFilterForm/hooks/UseSearchFilterFormInputs.js +75 -75
  266. package/dist/es/search/SearchFilterForm/index.js +8 -7
  267. package/dist/es/search/SearchFilterForm/utils/mapValuesToFilter.js +11 -15
  268. package/dist/es/shape/ShapeMediaBadges/ShapeMediaBadges.js +22 -21
  269. package/dist/es/shape/ShapeMediaBadges/index.js +7 -6
  270. package/dist/es/transcode/TranscodePresetMediaBadges/TranscodePresetMediaBadges.js +21 -20
  271. package/dist/es/transcode/TranscodePresetMediaBadges/index.js +8 -7
  272. package/package.json +14 -13
@@ -1,42 +1,42 @@
1
1
  import { jsxs as a, jsx as o } from "react/jsx-runtime";
2
- import u from "@mui/material/ListItem";
3
- import y from "../../entity/EntityListItem/components/EntityListItemAvatar.js";
4
- import A from "../../entity/EntityListItem/components/EntityListItemButton.js";
5
- import x from "../../entity/EntityListItem/components/EntityListItemSecondaryAction.js";
6
- import B from "../../entity/EntityListItem/components/EntityListItemText.js";
7
- const E = {
8
- Root: u,
9
- ListItemButton: A,
10
- ListItemAvatar: y,
11
- ListItemText: B,
12
- ListItemSecondaryAction: x
13
- }, S = ({
14
- itemType: e,
15
- primary: s,
16
- secondary: n,
2
+ import A from "@mui/material/ListItem";
3
+ import x from "../../entity/EntityListItem/components/EntityListItemAvatar.js";
4
+ import V from "../../entity/EntityListItem/components/EntityListItemButton.js";
5
+ import p from "../../entity/EntityListItem/components/EntityListItemSecondaryAction.js";
6
+ import y from "../../entity/EntityListItem/components/EntityListItemText.js";
7
+ const B = {
8
+ Root: A,
9
+ ListItemButton: V,
10
+ ListItemAvatar: x,
11
+ ListItemText: y,
12
+ ListItemSecondaryAction: p
13
+ }, s = ({
14
+ itemType: i,
15
+ primary: n,
16
+ secondary: d,
17
17
  avatarVariant: I,
18
18
  isLoading: t,
19
- onClick: r,
20
- onDelete: d,
19
+ onClick: m,
20
+ onDelete: c,
21
21
  components: l,
22
- componentsProps: i
22
+ componentsProps: e
23
23
  }) => {
24
24
  const {
25
- Root: c,
26
- ListItemAvatar: L,
27
- ListItemText: v,
28
- ListItemButton: m,
29
- ListItemSecondaryAction: f
25
+ Root: L,
26
+ ListItemAvatar: v,
27
+ ListItemText: f,
28
+ ListItemButton: r,
29
+ ListItemSecondaryAction: u
30
30
  } = l;
31
- return /* @__PURE__ */ a(c, { disablePadding: !t && !!r && !!m, ...i.root, children: [
32
- /* @__PURE__ */ a(m, { itemType: e, onClick: r, isLoading: t, ...i.listItemButton, children: [
33
- /* @__PURE__ */ o(L, { itemType: e, variant: I, isLoading: t, ...i.listItemAvatar }),
34
- /* @__PURE__ */ o(v, { itemType: e, primary: s, secondary: n, isLoading: t, ...i.listItemText })
31
+ return /* @__PURE__ */ a(L, { disablePadding: !t && !!m && !!r, ...e.root, children: [
32
+ /* @__PURE__ */ a(r, { itemType: i, onClick: m, isLoading: t, ...e.listItemButton, children: [
33
+ /* @__PURE__ */ o(v, { itemType: i, variant: I, isLoading: t, ...e.listItemAvatar }),
34
+ /* @__PURE__ */ o(f, { itemType: i, primary: n, secondary: d, isLoading: t, ...e.listItemText })
35
35
  ] }),
36
- /* @__PURE__ */ o(f, { itemType: e, onDelete: d, isLoading: t, ...i.listItemSecondaryAction })
36
+ /* @__PURE__ */ o(u, { itemType: i, onDelete: c, isLoading: t, ...e.listItemSecondaryAction })
37
37
  ] });
38
38
  };
39
- S.defaultProps = {
39
+ s.defaultProps = {
40
40
  itemType: void 0,
41
41
  primary: "id",
42
42
  secondary: void 0,
@@ -44,9 +44,10 @@ S.defaultProps = {
44
44
  isLoading: !1,
45
45
  onClick: void 0,
46
46
  onDelete: void 0,
47
- components: E,
47
+ components: B,
48
48
  componentsProps: void 0
49
49
  };
50
+ const T = s;
50
51
  export {
51
- S as default
52
+ T as default
52
53
  };
@@ -1,11 +1,12 @@
1
- import { styled as m } from "@mui/material/styles";
2
- import { withOverrides as r } from "../../_utils/withOverrides.js";
3
- import s from "./ItemListItem.js";
4
- const t = "ItemListItem", e = `Vdt${t}`, i = r(e)(s), n = m(i, {
5
- name: e,
6
- overridesResolver: (d, o) => o.root
1
+ import { styled as r } from "@mui/material/styles";
2
+ import n from "./ItemListItem.js";
3
+ import { withOverrides as s } from "../../_utils/withOverrides.js";
4
+ const t = "ItemListItem", o = `Vdt${t}`, i = s(o)(n), e = r(i, {
5
+ name: o,
6
+ overridesResolver: (d, m) => m.root
7
7
  })({});
8
- n.displayName = t;
8
+ e.displayName = t;
9
+ const l = e;
9
10
  export {
10
- n as default
11
+ l as default
11
12
  };
@@ -1,22 +1,8 @@
1
- import { jsxs as k, jsx as m } from "react/jsx-runtime";
2
- import p from "@mui/material/Box";
3
- import { styled as e } from "@mui/material/styles";
4
- import "../../general/AvatarMenu/index.js";
5
- import x from "../../general/BlurredBackground/index.js";
6
- import "../../general/CalendarPicker/index.js";
7
- import "../../general/CompactBadge/index.js";
8
- import "../../general/CompactLabel/index.js";
9
- import "../../general/CornerLabelPlacer/index.js";
10
- import "../../general/ExpandButton/index.js";
11
- import "../../general/ImageCollage/index.js";
12
- import "../../general/MediaIcon/index.js";
13
- import "../../general/MenuItem/index.js";
14
- import "../../general/ScrubLine/index.js";
15
- import "../../general/Sort/index.js";
16
- import "../../general/TablePagination/index.js";
17
- import "../../general/Form/index.js";
18
- import "../../general/ThemeContext/ThemeContext.js";
19
- const f = e(p)(({
1
+ import { jsxs as x, jsx as c } from "react/jsx-runtime";
2
+ import u from "@mui/material/Box";
3
+ import { styled as n } from "@mui/material/styles";
4
+ import f from "../../general/BlurredBackground/index.js";
5
+ const v = n(u)(({
20
6
  onClick: o
21
7
  }) => ({
22
8
  height: "100%",
@@ -25,13 +11,13 @@ const f = e(p)(({
25
11
  ...o && {
26
12
  cursor: "pointer"
27
13
  }
28
- })), v = e(x)(() => ({
14
+ })), b = n(f)(() => ({
29
15
  height: "100%",
30
16
  width: "100%",
31
17
  position: "absolute",
32
18
  zIndex: 0,
33
19
  top: 0
34
- })), b = e(p, {
20
+ })), I = n(u, {
35
21
  shouldForwardProp: (o) => !["image", "backgroundSize"].includes(o)
36
22
  })(({
37
23
  image: o,
@@ -46,46 +32,47 @@ const f = e(p)(({
46
32
  backgroundPosition: "center",
47
33
  backgroundRepeat: "no-repeat",
48
34
  backgroundSize: t
49
- })), y = {
50
- Root: f,
51
- BlurredBackground: v,
52
- ImageBox: b
53
- }, I = ({
35
+ })), w = {
36
+ Root: v,
37
+ BlurredBackground: b,
38
+ ImageBox: I
39
+ }, l = ({
54
40
  itemType: o,
55
41
  posterIndex: t,
56
- showBlurredBackground: c,
57
- backgroundSize: u,
58
- onClick: n,
59
- components: l,
60
- componentsProps: r
42
+ showBlurredBackground: s,
43
+ backgroundSize: g,
44
+ onClick: i,
45
+ components: B,
46
+ componentsProps: e
61
47
  }) => {
62
48
  var a;
63
49
  const {
64
- Root: s,
65
- BlurredBackground: g,
66
- ImageBox: h
67
- } = l, {
68
- posters: i
69
- } = o || {}, d = (a = i == null ? void 0 : i.uri) == null ? void 0 : a[t];
70
- return /* @__PURE__ */ k(s, { onClick: typeof n != "function" ? void 0 : (B) => {
71
- n(B, {
50
+ Root: m,
51
+ BlurredBackground: h,
52
+ ImageBox: p
53
+ } = B, {
54
+ posters: r
55
+ } = o || {}, d = (a = r == null ? void 0 : r.uri) == null ? void 0 : a[t];
56
+ return /* @__PURE__ */ x(m, { onClick: typeof i != "function" ? void 0 : (k) => {
57
+ i(k, {
72
58
  itemType: o,
73
59
  posterIndex: t
74
60
  });
75
- }, ...r.root, children: [
76
- c && /* @__PURE__ */ m(g, { image: d, ...r.blurredBackground }),
77
- /* @__PURE__ */ m(h, { component: "div", image: d, backgroundSize: u, ...r.imageBox })
61
+ }, ...e.root, children: [
62
+ s && /* @__PURE__ */ c(h, { image: d, ...e.blurredBackground }),
63
+ /* @__PURE__ */ c(p, { component: "div", image: d, backgroundSize: g, ...e.imageBox })
78
64
  ] });
79
65
  };
80
- I.defaultProps = {
66
+ l.defaultProps = {
81
67
  itemType: void 0,
82
68
  posterIndex: 0,
83
69
  showBlurredBackground: !1,
84
70
  backgroundSize: "cover",
85
71
  onClick: void 0,
86
- components: y,
72
+ components: w,
87
73
  componentsProps: void 0
88
74
  };
75
+ const P = l;
89
76
  export {
90
- I as default
77
+ P as default
91
78
  };
@@ -1,11 +1,12 @@
1
- import { styled as r } from "@mui/material/styles";
2
- import { withOverrides as m } from "../../_utils/withOverrides.js";
3
- import s from "./ItemPoster.js";
4
- const o = "ItemPoster", e = `Vdt${o}`, n = m(e)(s), i = r(n, {
5
- name: e,
6
- overridesResolver: (d, t) => t.root
1
+ import { styled as m } from "@mui/material/styles";
2
+ import n from "./ItemPoster.js";
3
+ import { withOverrides as s } from "../../_utils/withOverrides.js";
4
+ const o = "ItemPoster", t = `Vdt${o}`, d = s(t)(n), e = m(d, {
5
+ name: t,
6
+ overridesResolver: (i, r) => r.root
7
7
  })({});
8
- i.displayName = o;
8
+ e.displayName = o;
9
+ const l = e;
9
10
  export {
10
- i as default
11
+ l as default
11
12
  };
@@ -1,47 +1,48 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import u from "@mui/material/ImageList";
3
- import g from "@mui/material/ImageListItem";
2
+ import l from "@mui/material/ImageList";
3
+ import f from "@mui/material/ImageListItem";
4
4
  import { styled as e } from "@mui/material/styles";
5
- import f from "../ItemPoster/index.js";
6
- const L = e(u)({
5
+ import L from "../ItemPoster/index.js";
6
+ const h = e(l)({
7
7
  height: "100%",
8
8
  width: "100%",
9
9
  margin: "auto"
10
- }), h = e(g)({
10
+ }), P = e(f)({
11
11
  cursor: "default"
12
- }), y = e(f)({
12
+ }), v = e(L)({
13
13
  objectFit: "cover"
14
- }), P = {
15
- Root: L,
16
- ImageListItem: h,
17
- ItemPoster: y
18
- }, v = ({
19
- itemType: i,
20
- cols: m,
21
- gap: s,
22
- onClick: r,
23
- components: a,
14
+ }), y = {
15
+ Root: h,
16
+ ImageListItem: P,
17
+ ItemPoster: v
18
+ }, m = ({
19
+ itemType: s,
20
+ cols: i,
21
+ gap: r,
22
+ onClick: a,
23
+ components: n,
24
24
  componentsProps: t
25
25
  }) => {
26
26
  const {
27
- Root: d,
28
- ImageListItem: n,
29
- ItemPoster: I
30
- } = a, {
27
+ Root: I,
28
+ ImageListItem: d,
29
+ ItemPoster: c
30
+ } = n, {
31
31
  posters: {
32
- uri: c = []
32
+ uri: p = []
33
33
  } = {}
34
- } = i || {};
35
- return /* @__PURE__ */ o(d, { cols: m, gap: s, rowHeight: "auto", ...t.root, children: c.map((l, p) => /* @__PURE__ */ o(n, { ...t.imageListItem, children: /* @__PURE__ */ o(I, { itemType: i, posterIndex: p, onClick: r, ...t.itemPoster }) }, l)) });
34
+ } = s || {};
35
+ return /* @__PURE__ */ o(I, { cols: i, gap: r, rowHeight: "auto", ...t.root, children: p.map((u, g) => /* @__PURE__ */ o(d, { ...t.imageListItem, children: /* @__PURE__ */ o(c, { itemType: s, posterIndex: g, onClick: a, ...t.itemPoster }) }, u)) });
36
36
  };
37
- v.defaultProps = {
37
+ m.defaultProps = {
38
38
  itemType: void 0,
39
39
  cols: 2,
40
40
  gap: 4,
41
41
  onClick: void 0,
42
- components: P,
42
+ components: y,
43
43
  componentsProps: void 0
44
44
  };
45
+ const w = m;
45
46
  export {
46
- v as default
47
+ w as default
47
48
  };
@@ -1,11 +1,12 @@
1
1
  import { styled as r } from "@mui/material/styles";
2
- import { withOverrides as s } from "../../_utils/withOverrides.js";
3
2
  import m from "./ItemPosterList.js";
4
- const t = "ItemPosterList", o = `Vdt${t}`, i = s(o)(m), n = r(i, {
5
- name: o,
6
- overridesResolver: (d, e) => e.root
3
+ import { withOverrides as s } from "../../_utils/withOverrides.js";
4
+ const o = "ItemPosterList", t = `Vdt${o}`, i = s(t)(m), e = r(i, {
5
+ name: t,
6
+ overridesResolver: (p, n) => n.root
7
7
  })({});
8
- n.displayName = t;
8
+ e.displayName = o;
9
+ const l = e;
9
10
  export {
10
- n as default
11
+ l as default
11
12
  };
@@ -1,25 +1,11 @@
1
- import { jsxs as V, jsx as g } from "react/jsx-runtime";
2
- import { useRef as E, useState as B, useCallback as F, useEffect as L } from "react";
3
- import j from "@mui/material/Paper";
4
- import N from "@mui/material/Box";
1
+ import { jsxs as E, jsx as p } from "react/jsx-runtime";
2
+ import { useRef as F, useState as w, useCallback as L, useEffect as j } from "react";
3
+ import N from "@mui/material/Paper";
4
+ import O from "@mui/material/Box";
5
5
  import { styled as l } from "@mui/material/styles";
6
- import "../../general/AvatarMenu/index.js";
7
- import O from "../../general/BlurredBackground/index.js";
8
- import "../../general/CalendarPicker/index.js";
9
- import "../../general/CompactBadge/index.js";
10
- import "../../general/CompactLabel/index.js";
11
- import "../../general/CornerLabelPlacer/index.js";
12
- import "../../general/ExpandButton/index.js";
13
- import "../../general/ImageCollage/index.js";
14
- import "../../general/MediaIcon/index.js";
15
- import "../../general/MenuItem/index.js";
16
- import "../../general/ScrubLine/index.js";
17
- import "../../general/Sort/index.js";
18
- import "../../general/TablePagination/index.js";
19
- import "../../general/Form/index.js";
20
- import "../../general/ThemeContext/ThemeContext.js";
21
6
  import H from "./components/Toolbar.js";
22
- const W = l(j, {
7
+ import W from "../../general/BlurredBackground/index.js";
8
+ const $ = l(N, {
23
9
  shouldForwardProp: (o) => o !== "toolbarOnBottom"
24
10
  })(({
25
11
  toolbarOnBottom: o
@@ -31,14 +17,14 @@ const W = l(j, {
31
17
  width: "100%",
32
18
  height: "100%",
33
19
  position: "relative"
34
- })), $ = l(H)({
20
+ })), q = l(H)({
35
21
  gridArea: "toolbar",
36
22
  maxHeight: "48px",
37
23
  zIndex: 25,
38
24
  "&:focus-visible": {
39
25
  outline: "none"
40
26
  }
41
- }), q = l(O, {
27
+ }), G = l(W, {
42
28
  shouldForwardProp: (o) => o !== "toolbarOnBottom"
43
29
  })(({
44
30
  toolbarOnBottom: o
@@ -53,7 +39,7 @@ const W = l(j, {
53
39
  } : {
54
40
  bottom: 0
55
41
  }
56
- })), G = l(N, {
42
+ })), J = l(O, {
57
43
  shouldForwardProp: (o) => !["image", "backgroundSize"].includes(o)
58
44
  })(({
59
45
  image: o,
@@ -71,57 +57,57 @@ const W = l(j, {
71
57
  "&:focus-visible": {
72
58
  outline: "none"
73
59
  }
74
- })), J = {
75
- Root: W,
76
- Toolbar: $,
77
- BlurredBackground: q,
78
- ImageBox: G
79
- }, Q = ({
60
+ })), Q = {
61
+ Root: $,
62
+ Toolbar: q,
63
+ BlurredBackground: G,
64
+ ImageBox: J
65
+ }, k = ({
80
66
  itemType: o,
81
67
  index: i,
82
68
  showBlurredBackground: s,
83
- backgroundSize: k,
69
+ backgroundSize: y,
84
70
  toolbarOnBottom: f,
85
71
  onPrevious: h,
86
72
  onNext: x,
87
- onClose: y,
88
- onDownload: P,
73
+ onClose: P,
74
+ onDownload: R,
89
75
  components: S,
90
76
  componentsProps: a
91
77
  }) => {
92
78
  const {
93
- Root: R,
94
- Toolbar: z,
95
- BlurredBackground: D,
96
- ImageBox: T
79
+ Root: z,
80
+ Toolbar: D,
81
+ BlurredBackground: T,
82
+ ImageBox: C
97
83
  } = S, {
98
84
  posters: {
99
- uri: n = []
85
+ uri: r = []
100
86
  } = {}
101
- } = o || {}, m = i !== void 0, c = E(0), [C, b] = B(0), d = m ? i : C, e = n[d], [A, K] = B(e), v = (t) => {
102
- m || b((r) => r > 0 ? r - 1 : n.length - 1), h && h(t, d > 0 ? d - 1 : n.length - 1);
103
- }, I = (t) => {
104
- m || b((r) => (r + 1) % n.length), x && x(t, (d + 1) % n.length);
105
- }, u = (t) => {
106
- t.stopPropagation(), t.code === "ArrowRight" && I(t), t.code === "ArrowLeft" && v(t);
107
- }, w = F((t) => {
108
- const r = (M, U) => () => {
109
- c.current === U && K(e), M.remove();
110
- }, p = document.createElement("img");
111
- p.src = t, c.current += 1, p.addEventListener("load", r(p, c.current));
112
- }, [e]);
113
- return L(() => {
114
- s && w(e);
115
- }, [e, s, w]), /* @__PURE__ */ V(R, { toolbarOnBottom: f, onKeyDown: u, ...a.root, children: [
116
- /* @__PURE__ */ g(z, { onPrevious: v, onNext: I, onClose: y, onDownload: (t) => P(t, {
117
- url: e,
87
+ } = o || {}, c = i !== void 0, u = F(0), [V, b] = w(0), d = c ? i : V, t = r[d], [A, K] = w(t), v = (e) => {
88
+ c || b((n) => n > 0 ? n - 1 : r.length - 1), h && h(e, d > 0 ? d - 1 : r.length - 1);
89
+ }, B = (e) => {
90
+ c || b((n) => (n + 1) % r.length), x && x(e, (d + 1) % r.length);
91
+ }, m = (e) => {
92
+ e.stopPropagation(), e.code === "ArrowRight" && B(e), e.code === "ArrowLeft" && v(e);
93
+ }, I = L((e) => {
94
+ const n = (M, U) => () => {
95
+ u.current === U && K(t), M.remove();
96
+ }, g = document.createElement("img");
97
+ g.src = e, u.current += 1, g.addEventListener("load", n(g, u.current));
98
+ }, [t]);
99
+ return j(() => {
100
+ s && I(t);
101
+ }, [t, s, I]), /* @__PURE__ */ E(z, { toolbarOnBottom: f, onKeyDown: m, ...a.root, children: [
102
+ /* @__PURE__ */ p(D, { onPrevious: v, onNext: B, onClose: P, onDownload: (e) => R(e, {
103
+ url: t,
118
104
  itemType: o
119
- }), tabIndex: -1, onKeyDown: u, ...a.toolbar }),
120
- s && /* @__PURE__ */ g(D, { image: A, toolbarOnBottom: f, ...a.blurredBackground }),
121
- /* @__PURE__ */ g(T, { component: "div", image: e, backgroundSize: k, tabIndex: -1, onKeyDown: u, ...a.imageBox })
105
+ }), tabIndex: -1, onKeyDown: m, ...a.toolbar }),
106
+ s && /* @__PURE__ */ p(T, { image: A, toolbarOnBottom: f, ...a.blurredBackground }),
107
+ /* @__PURE__ */ p(C, { component: "div", image: t, backgroundSize: y, tabIndex: -1, onKeyDown: m, ...a.imageBox })
122
108
  ] });
123
109
  };
124
- Q.defaultProps = {
110
+ k.defaultProps = {
125
111
  itemType: void 0,
126
112
  index: void 0,
127
113
  showBlurredBackground: !0,
@@ -131,9 +117,10 @@ Q.defaultProps = {
131
117
  onClose: void 0,
132
118
  onDownload: void 0,
133
119
  toolbarOnBottom: !1,
134
- components: J,
120
+ components: Q,
135
121
  componentsProps: void 0
136
122
  };
123
+ const no = k;
137
124
  export {
138
- Q as default
125
+ no as default
139
126
  };
@@ -1,31 +1,32 @@
1
1
  import { jsx as o, jsxs as t } from "react/jsx-runtime";
2
2
  import m from "@mui/icons-material/esm/Close";
3
- import a from "@mui/icons-material/esm/NavigateBefore";
3
+ import s from "@mui/icons-material/esm/NavigateBefore";
4
4
  import p from "@mui/icons-material/esm/NavigateNext";
5
- import s from "@mui/icons-material/esm/SaveAlt";
6
- import f from "@mui/material/Toolbar";
5
+ import f from "@mui/icons-material/esm/SaveAlt";
6
+ import h from "@mui/material/Toolbar";
7
7
  import n from "@mui/material/Box";
8
- import e from "@mui/material/IconButton";
9
- const h = ({
10
- onPrevious: d,
11
- onNext: l,
12
- onClose: i,
13
- onDownload: r,
14
- ...c
15
- }) => /* @__PURE__ */ o(f, { ...c, children: /* @__PURE__ */ t(n, { display: "flex", justifyContent: "space-between", width: "100%", children: [
16
- i ? /* @__PURE__ */ o(e, { edge: "start", onClick: i, children: /* @__PURE__ */ o(m, {}) }) : /* @__PURE__ */ o("span", {}),
8
+ import r from "@mui/material/IconButton";
9
+ const d = ({
10
+ onPrevious: l,
11
+ onNext: c,
12
+ onClose: e,
13
+ onDownload: i,
14
+ ...a
15
+ }) => /* @__PURE__ */ o(h, { ...a, children: /* @__PURE__ */ t(n, { display: "flex", justifyContent: "space-between", width: "100%", children: [
16
+ e ? /* @__PURE__ */ o(r, { edge: "start", onClick: e, children: /* @__PURE__ */ o(m, {}) }) : /* @__PURE__ */ o("span", {}),
17
17
  /* @__PURE__ */ t(n, { children: [
18
- /* @__PURE__ */ o(e, { onClick: d, children: /* @__PURE__ */ o(a, {}) }),
19
- /* @__PURE__ */ o(e, { onClick: l, children: /* @__PURE__ */ o(p, {}) })
18
+ /* @__PURE__ */ o(r, { onClick: l, children: /* @__PURE__ */ o(s, {}) }),
19
+ /* @__PURE__ */ o(r, { onClick: c, children: /* @__PURE__ */ o(p, {}) })
20
20
  ] }),
21
- r ? /* @__PURE__ */ o(e, { edge: "end", onClick: r, children: /* @__PURE__ */ o(s, {}) }) : /* @__PURE__ */ o("span", {})
21
+ i ? /* @__PURE__ */ o(r, { edge: "end", onClick: i, children: /* @__PURE__ */ o(f, {}) }) : /* @__PURE__ */ o("span", {})
22
22
  ] }) });
23
- h.defaultProps = {
23
+ d.defaultProps = {
24
24
  onPrevious: void 0,
25
25
  onNext: void 0,
26
26
  onClose: void 0,
27
27
  onDownload: void 0
28
28
  };
29
+ const N = d;
29
30
  export {
30
- h as default
31
+ N as default
31
32
  };
@@ -1,11 +1,12 @@
1
- import { styled as r } from "@mui/material/styles";
2
- import { withOverrides as m } from "../../_utils/withOverrides.js";
3
- import s from "./ItemPosterViewer.js";
4
- const e = "ItemPosterViewer", o = `Vdt${e}`, i = m(o)(s), n = r(i, {
5
- name: o,
6
- overridesResolver: (d, t) => t.root
1
+ import { styled as n } from "@mui/material/styles";
2
+ import m from "./ItemPosterViewer.js";
3
+ import { withOverrides as s } from "../../_utils/withOverrides.js";
4
+ const o = "ItemPosterViewer", e = `Vdt${o}`, i = s(e)(m), t = n(i, {
5
+ name: e,
6
+ overridesResolver: (p, r) => r.root
7
7
  })({});
8
- n.displayName = e;
8
+ t.displayName = o;
9
+ const l = t;
9
10
  export {
10
- n as default
11
+ l as default
11
12
  };