@vidispine/vdt-materialui 23.3.0-pre.4 → 23.3.0-pre.6

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 (90) hide show
  1. package/dist/cjs/SplitButton.js +1 -1
  2. package/dist/cjs/analyze/BatonAnalysisDialog.js +1 -1
  3. package/dist/cjs/collection/AddToCollectionDialog/AddToCollectionDialog.js +1 -1
  4. package/dist/cjs/collection/CollectionContent/CollectionContent.js +1 -1
  5. package/dist/cjs/collection/CollectionContent/components/CollectionContentEntity.js +1 -1
  6. package/dist/cjs/collection/CollectionContent/components/CollectionContentItem.js +1 -1
  7. package/dist/cjs/collection/CollectionMetadataTab.js +1 -1
  8. package/dist/cjs/collection/CollectionRow/CollectionRow.js +1 -1
  9. package/dist/cjs/collection/CollectionSearchPicker/CollectionSearchPicker.js +1 -1
  10. package/dist/cjs/collection/CollectionTreeList/CollectionTreeList.js +1 -1
  11. package/dist/cjs/dnd/hoc/withDrag.js +1 -1
  12. package/dist/cjs/entity/BinList/BinList.js +1 -1
  13. package/dist/cjs/entity/EntityAccessAdd.js +1 -1
  14. package/dist/cjs/entity/EntityComment.js +1 -1
  15. package/dist/cjs/entity/EntityCommentCard.js +1 -1
  16. package/dist/cjs/entity/EntityDeleteDialog/EntityDeleteDialog.js +1 -1
  17. package/dist/cjs/entity/EntityTree.js +2 -2
  18. package/dist/cjs/events/Event/Event.js +1 -1
  19. package/dist/cjs/events/EventTimeline/EventTimeline.js +1 -1
  20. package/dist/cjs/fieldgroup/FieldGroupDesigner.js +1 -1
  21. package/dist/cjs/fields/AutocompleteConstraintField.js +1 -1
  22. package/dist/cjs/fields/CheckboxGroupField.js +1 -1
  23. package/dist/cjs/fields/SliderField.js +1 -1
  24. package/dist/cjs/fields/TagField.js +1 -1
  25. package/dist/cjs/filter/FilterCard.js +1 -1
  26. package/dist/cjs/forms/ExpandedFormControlLabel.js +1 -1
  27. package/dist/cjs/group/CreateGroupDialog/components/CreateGroupForm.js +1 -1
  28. package/dist/cjs/icons/BitmovinIcon.js +1 -1
  29. package/dist/cjs/icons/FolderMultipleIcon.js +1 -1
  30. package/dist/cjs/icons/MediaConvertIcon.js +1 -1
  31. package/dist/cjs/icons/VidispineIcon.js +1 -1
  32. package/dist/cjs/icons/bitmovin_24.svg.js +1 -1
  33. package/dist/cjs/icons/foldermultiple_24.svg.js +1 -1
  34. package/dist/cjs/icons/mediaconvert_24.svg.js +1 -1
  35. package/dist/cjs/icons/vidispine_24.svg.js +1 -1
  36. package/dist/cjs/item/AddRelationDialog.js +1 -1
  37. package/dist/cjs/item/ItemCard.js +1 -1
  38. package/dist/cjs/item/ItemCompoundMetadataTable.js +1 -1
  39. package/dist/cjs/item/ItemFileShareDialog.js +1 -1
  40. package/dist/cjs/item/ItemMetadataFormTable.js +1 -1
  41. package/dist/cjs/item/ItemMetadataListFieldGroupItem.js +1 -1
  42. package/dist/cjs/item/ItemParentsTab.js +1 -1
  43. package/dist/cjs/item/ItemRelationsTab.js +1 -1
  44. package/dist/cjs/item/ItemSearchPicker.js +1 -1
  45. package/dist/cjs/item/ItemShapeTable/components/ItemShapeMenu.js +1 -1
  46. package/dist/cjs/item/ItemShapeTable/components/ItemShapeRow.js +1 -1
  47. package/dist/cjs/item/ItemSidecarDownload/ItemSidecarDownload.js +1 -1
  48. package/dist/cjs/item/ItemSourceTable/components/ImageTypeTableBody.js +1 -1
  49. package/dist/cjs/item/ItemSourceTable/components/MetadataTypeTableBody.js +1 -1
  50. package/dist/cjs/item/ItemSourceTable/components/PdfTypeTableBody.js +1 -1
  51. package/dist/cjs/item/ItemTimespan/hooks/useConfidenceSlider.js +1 -1
  52. package/dist/cjs/item/ItemTimespan/hooks/useItemTimespanInterval.js +1 -1
  53. package/dist/cjs/item/player/ItemPlayer/ItemPlayer.js +1 -1
  54. package/dist/cjs/item/player/ItemVideoPlayer.js +1 -1
  55. package/dist/cjs/job/JobCard.js +1 -1
  56. package/dist/cjs/job/JobDataTable.js +1 -1
  57. package/dist/cjs/job/JobFooterContext.js +1 -1
  58. package/dist/cjs/media/MediaBadges.js +1 -1
  59. package/dist/cjs/media/MediaCard/MediaCard.js +1 -1
  60. package/dist/cjs/search/SavedSearch/SavedSearchRow.js +1 -1
  61. package/dist/cjs/search/SavedSearchFolder/AddFolderRow.js +1 -1
  62. package/dist/cjs/search/SavedSearchFolder/FolderRow.js +1 -1
  63. package/dist/cjs/search/SearchField/SearchField.js +1 -1
  64. package/dist/cjs/search/SearchInput/SearchInput.js +1 -1
  65. package/dist/cjs/search/Sort/Sort.js +1 -1
  66. package/dist/cjs/search/SortMenuItem.js +1 -1
  67. package/dist/cjs/search/querybuilder/QueryBuilder/QueryBuilder.js +1 -1
  68. package/dist/cjs/search/querybuilder/QueryEntry/QueryEntry.js +1 -1
  69. package/dist/cjs/storage/components/StorageTree.js +1 -1
  70. package/dist/cjs/storage/hooks/useSelectedFile.js +1 -1
  71. package/dist/cjs/storage/hooks/useSelectedStorage.js +1 -1
  72. package/dist/cjs/storage/hooks/useStorageList.js +1 -1
  73. package/dist/cjs/storage/hooks/useTreeView.js +1 -1
  74. package/dist/cjs/user/ChangePasswordForm.js +1 -1
  75. package/dist/cjs/user/ChangeUserPasswordDialog/components/UserPasswordForm.js +1 -1
  76. package/dist/cjs/user/CreateUserDialog/components/CreateUserForm.js +1 -1
  77. package/dist/cjs/user/EditUserDialog/components/EditUserForm.js +1 -1
  78. package/dist/cjs/user/UserDetails/UserDetails.js +1 -1
  79. package/dist/cjs/utils.js +1 -1
  80. package/dist/es/entity/EntityAccessAdd.js +143 -120
  81. package/dist/es/icons/BitmovinIcon.js +6 -5
  82. package/dist/es/icons/FolderMultipleIcon.js +6 -5
  83. package/dist/es/icons/MediaConvertIcon.js +6 -5
  84. package/dist/es/icons/VidispineIcon.js +6 -5
  85. package/dist/es/icons/bitmovin_24.svg.js +3 -2
  86. package/dist/es/icons/foldermultiple_24.svg.js +3 -2
  87. package/dist/es/icons/mediaconvert_24.svg.js +3 -2
  88. package/dist/es/icons/vidispine_24.svg.js +3 -2
  89. package/dist/es/search/SavedSearch/SavedSearchRow.js +120 -117
  90. package/package.json +13 -12
@@ -1,13 +1,13 @@
1
- import { jsxs as r, Fragment as _, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as i, Fragment as $, jsx as e } from "react/jsx-runtime";
2
2
  import { useRef as ye, useState as f } from "react";
3
- import be from "clsx";
4
- import { withStyles as Me, ListItem as xe, ListItemIcon as o, IconButton as Ne, ListItemText as l, TextField as Oe, InputAdornment as Re, ButtonBase as S, Menu as Te, MenuItem as c, Popover as Ae, Divider as Fe } from "@material-ui/core";
5
- import { ChevronLeft as Pe, Folder as ze, Search as j, CreateNewFolderOutlined as Be, YoutubeSearchedFor as Ue, Lock as Ve, Check as De, Close as Le, Edit as _e, Share as je, Delete as qe, MoreVert as We } from "@material-ui/icons";
6
- import { parseMetadataType as $e, createMetadataType as He } from "@vidispine/vdt-js";
7
- import we from "../../icons/FolderMultipleIcon.js";
8
- import Ge from "./SavedSearchAccessList.js";
9
- import Ke from "./ShareSearch.js";
10
- const q = "SHARE_MENU", v = "LISTACCESS_MENU", Ye = (t) => ({
3
+ import Me from "clsx";
4
+ import { withStyles as Ne, ListItem as xe, ListItemIcon as o, IconButton as Oe, ListItemText as l, TextField as Fe, InputAdornment as Re, ButtonBase as v, Menu as Te, MenuItem as c, Popover as Ae, Divider as Pe } from "@material-ui/core";
5
+ import { ChevronLeft as ze, Folder as Be, Search as j, CreateNewFolderOutlined as Ue, YoutubeSearchedFor as Ve, Lock as De, Check as Le, Close as _e, Edit as $e, Share as je, Delete as qe, MoreVert as We } from "@material-ui/icons";
6
+ import { parseMetadataType as He, createMetadataType as we } from "@vidispine/vdt-js";
7
+ import Ge from "../../icons/FolderMultipleIcon.js";
8
+ import Ke from "./SavedSearchAccessList.js";
9
+ import Ye from "./ShareSearch.js";
10
+ const q = "SHARE_MENU", I = "LISTACCESS_MENU", Je = (r) => ({
11
11
  root: {
12
12
  "&:hover $SubmitSearchIcon": {
13
13
  visibility: "visible"
@@ -27,120 +27,123 @@ const q = "SHARE_MENU", v = "LISTACCESS_MENU", Ye = (t) => ({
27
27
  },
28
28
  menuContext: {},
29
29
  menuExpand: {
30
- minWidth: t.breakpoints.values.sm / 2
30
+ minWidth: r.breakpoints.values.sm / 2
31
+ },
32
+ invisibleCursor: {
33
+ caretColor: "transparent"
31
34
  },
32
35
  CancelEditIcon: {
33
- marginRight: t.spacing(0.5),
36
+ marginRight: r.spacing(0.5),
34
37
  "&:hover": {
35
38
  color: "red"
36
39
  }
37
40
  },
38
41
  SubmitTitleIcon: {
39
- marginRight: t.spacing(0.5),
42
+ marginRight: r.spacing(0.5),
40
43
  "&:hover": {
41
44
  color: "green"
42
45
  }
43
46
  },
44
47
  OptionsIcon: {
45
- marginRight: t.spacing(0.5)
48
+ marginRight: r.spacing(0.5)
46
49
  }
47
50
  });
48
- function Je({
49
- classes: t,
51
+ function Qe({
52
+ classes: r,
50
53
  collectionType: W,
51
- onSelect: $,
52
- onAddRow: H,
53
- onExpand: w,
54
- onDelete: G,
55
- onUpdateSearchMetadata: K,
56
- disableDeletion: I,
57
- type: h,
58
- accessTranslate: Y,
59
- extraMenuItems: J = [],
60
- isFolderRow: Q = !1,
61
- hideSubFolderSharing: X = !1,
62
- isLoading: Z,
63
- allowDelete: E = () => !0,
54
+ onSelect: H,
55
+ onAddRow: w,
56
+ onExpand: G,
57
+ onDelete: K,
58
+ onUpdateSearchMetadata: Y,
59
+ disableDeletion: E,
60
+ type: d,
61
+ accessTranslate: J,
62
+ extraMenuItems: Q = [],
63
+ isFolderRow: X = !1,
64
+ hideSubFolderSharing: Z = !1,
65
+ isLoading: ee,
66
+ allowDelete: b = () => !0,
64
67
  allowShare: k = () => !0,
65
68
  allowListAccess: m = () => !0,
66
69
  allowEditTitle: y = () => !0,
67
- ListAccessComponent: ee = Ge,
68
- ListAccessProps: ne = {},
69
- ShareComponent: te = Ke,
70
+ ListAccessComponent: ne = Ke,
71
+ ListAccessProps: re = {},
72
+ ShareComponent: te = Ye,
70
73
  ShareProps: ie = {},
71
- addFolderText: re = "Add folder",
72
- addSearchText: oe = "Add search",
73
- editTitleText: le = "Edit",
74
- shareText: ce = "Share",
75
- listAccessText: ae = "Access",
76
- deleteText: b = "Delete",
77
- backText: de = "Back",
78
- FolderSingleIcon: se = ze,
79
- FolderMultiIcon: ue = we,
80
- QueryIcon: he = j,
81
- CreateFolderIcon: M = Be,
74
+ addFolderText: oe = "Add folder",
75
+ addSearchText: le = "Add search",
76
+ editTitleText: ce = "Edit",
77
+ shareText: ae = "Share",
78
+ listAccessText: de = "Access",
79
+ deleteText: M = "Delete",
80
+ backText: se = "Back",
81
+ FolderSingleIcon: ue = Be,
82
+ FolderMultiIcon: he = Ge,
83
+ QueryIcon: me = j,
84
+ CreateFolderIcon: N = Ue,
82
85
  AddNewSearch: x = j,
83
- SubmitSearchIcon: N = Ue,
84
- ListAccessIcon: O = Ve,
85
- SubmitTitleIcon: me = De,
86
- CancelEditIcon: pe = Le,
87
- EditTitleIcon: R = _e,
86
+ SubmitSearchIcon: O = Ve,
87
+ ListAccessIcon: F = De,
88
+ SubmitTitleIcon: pe = Le,
89
+ CancelEditIcon: fe = _e,
90
+ EditTitleIcon: R = $e,
88
91
  ShareSearchIcon: T = je,
89
92
  DeleteSearchIcon: A = qe,
90
- OptionsIcon: fe = We
93
+ OptionsIcon: Ce = We
91
94
  }) {
92
- const { metadata: F = {} } = W, i = $e(F, { joinValue: ",", flat: !0 }), P = ye(), [p, d] = f(null), [z, B] = f(i.title || ""), [C, s] = f(null), [a, g] = f(!1), Ce = (n) => {
93
- n.stopPropagation && n.stopPropagation(), s(n.currentTarget);
94
- }, u = (n = () => null, ke = "") => (L) => {
95
- L.stopPropagation && L.stopPropagation(), s(null), n(ke);
96
- }, U = () => K(He({ title: z })).then(() => g(!1)), ge = u(() => {
97
- g(!0), P.current.focus();
98
- }), Se = () => {
99
- B(i.title), g(!1);
100
- }, ve = u(G), V = u($), Ie = u(w), D = (n) => u(H, n), Ee = (n) => {
101
- n(F), s(null);
102
- };
103
- return /* @__PURE__ */ r(_, { children: [
104
- /* @__PURE__ */ r(
95
+ const { metadata: P = {} } = W, t = He(P, { joinValue: ",", flat: !0 }), z = ye(), [p, s] = f(null), [B, U] = f(t.title || ""), [C, u] = f(null), [a, g] = f(!1), ge = (n) => {
96
+ n.stopPropagation && n.stopPropagation(), u(n.currentTarget);
97
+ }, h = (n = () => null, ke = "") => (_) => {
98
+ _.stopPropagation && _.stopPropagation(), u(null), n(ke);
99
+ }, V = () => Y(we({ title: B })).then(() => g(!1)), Se = h(() => {
100
+ g(!0), z.current.focus();
101
+ }), ve = () => {
102
+ U(t.title), g(!1);
103
+ }, Ie = h(K), S = h(H), D = h(G), L = (n) => h(w, n), Ee = (n) => {
104
+ n(P), u(null);
105
+ }, be = d !== "folder" ? S : D;
106
+ return /* @__PURE__ */ i($, { children: [
107
+ /* @__PURE__ */ i(
105
108
  xe,
106
109
  {
107
110
  disableGutters: !0,
108
111
  dense: !0,
109
- className: t.root,
112
+ className: r.root,
110
113
  button: !0,
111
- onClick: h === "query" ? V : Ie,
112
- disabled: Z,
114
+ onClick: d === "query" ? S : D,
115
+ disabled: ee,
113
116
  children: [
114
- Q ? {
115
- folder: /* @__PURE__ */ e(o, { className: t.FolderIcon, children: I ? /* @__PURE__ */ e(ue, {}) : /* @__PURE__ */ e(se, {}) }),
116
- query: /* @__PURE__ */ e(o, { className: t.FolderIcon, children: /* @__PURE__ */ e(he, {}) })
117
- }[h] : N && /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(Ne, { size: "small", onClick: V, children: /* @__PURE__ */ e(N, { className: t.SubmitSearchIcon }) }) }),
117
+ X ? {
118
+ folder: /* @__PURE__ */ e(o, { className: r.FolderIcon, children: E ? /* @__PURE__ */ e(he, {}) : /* @__PURE__ */ e(ue, {}) }),
119
+ query: /* @__PURE__ */ e(o, { className: r.FolderIcon, children: /* @__PURE__ */ e(me, {}) })
120
+ }[d] : O && /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(Oe, { size: "small", onClick: S, children: /* @__PURE__ */ e(O, { className: r.SubmitSearchIcon }) }) }),
118
121
  /* @__PURE__ */ e(
119
122
  l,
120
123
  {
121
124
  primary: /* @__PURE__ */ e(
122
- Oe,
125
+ Fe,
123
126
  {
124
127
  fullWidth: !0,
125
- value: z,
126
- onChange: a ? (n) => B(n.target.value) : void 0,
127
- onClick: a ? (n) => n.stopPropagation() : void 0,
128
+ className: a ? "" : `${r.invisibleCursor}`,
129
+ value: B,
130
+ onChange: a ? (n) => U(n.target.value) : void 0,
131
+ onClick: a ? (n) => n.stopPropagation() : be,
128
132
  onKeyPress: (n) => {
129
- n.key === "Enter" && (n.preventDefault(), U());
133
+ n.key === "Enter" && (n.preventDefault(), V());
130
134
  },
131
135
  InputProps: {
132
136
  inputProps: {
133
- disabled: !a,
134
- ref: P,
135
- className: be(t.input, { [t.inputDisabled]: !a })
137
+ ref: z,
138
+ className: Me(r.input, { [r.inputDisabled]: !a })
136
139
  },
137
140
  disableUnderline: !a,
138
- endAdornment: /* @__PURE__ */ e(Re, { position: "end", children: a ? /* @__PURE__ */ r(_, { children: [
139
- /* @__PURE__ */ e(S, { size: "small", onClick: Se, children: /* @__PURE__ */ e(pe, { className: t.CancelEditIcon }) }),
140
- /* @__PURE__ */ e(S, { size: "small", onClick: U, children: /* @__PURE__ */ e(me, { className: t.SubmitTitleIcon }) })
141
- ] }) : [k, m, E, y].some(
142
- (n) => n(i)
143
- ) && /* @__PURE__ */ e(S, { size: "small", onClick: Ce, children: /* @__PURE__ */ e(fe, { className: t.OptionsIcon }) }) })
141
+ endAdornment: /* @__PURE__ */ e(Re, { position: "end", children: a ? /* @__PURE__ */ i($, { children: [
142
+ /* @__PURE__ */ e(v, { size: "small", onClick: ve, children: /* @__PURE__ */ e(fe, { className: r.CancelEditIcon }) }),
143
+ /* @__PURE__ */ e(v, { size: "small", onClick: V, children: /* @__PURE__ */ e(pe, { className: r.SubmitTitleIcon }) })
144
+ ] }) : [k, m, b, y].some(
145
+ (n) => n(t)
146
+ ) && /* @__PURE__ */ e(v, { size: "small", onClick: ge, children: /* @__PURE__ */ e(Ce, { className: r.OptionsIcon }) }) })
144
147
  }
145
148
  }
146
149
  )
@@ -155,7 +158,7 @@ function Je({
155
158
  anchorEl: C,
156
159
  open: !!C && p === null,
157
160
  keepMounted: !0,
158
- onClose: () => s(null),
161
+ onClose: () => u(null),
159
162
  getContentAnchorEl: null,
160
163
  anchorOrigin: {
161
164
  vertical: "bottom",
@@ -165,48 +168,48 @@ function Je({
165
168
  vertical: "top",
166
169
  horizontal: "right"
167
170
  },
168
- children: /* @__PURE__ */ r("div", { className: t.menuContext, children: [
169
- m(i) && h === "folder" && /* @__PURE__ */ r(
171
+ children: /* @__PURE__ */ i("div", { className: r.menuContext, children: [
172
+ m(t) && d === "folder" && /* @__PURE__ */ i(
170
173
  c,
171
174
  {
172
175
  dense: !0,
173
- onClick: D({ id: i.collectionId, type: "folder" }),
176
+ onClick: L({ id: t.collectionId, type: "folder" }),
174
177
  children: [
175
- M ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(M, {}) }) : null,
176
- /* @__PURE__ */ e(l, { primary: re })
178
+ N ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(N, {}) }) : null,
179
+ /* @__PURE__ */ e(l, { primary: oe })
177
180
  ]
178
181
  },
179
182
  1
180
183
  ),
181
- m(i) && h === "folder" && /* @__PURE__ */ r(
184
+ m(t) && d === "folder" && /* @__PURE__ */ i(
182
185
  c,
183
186
  {
184
187
  dense: !0,
185
- onClick: D({ id: i.collectionId, type: "query" }),
188
+ onClick: L({ id: t.collectionId, type: "query" }),
186
189
  children: [
187
190
  x ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(x, {}) }) : null,
188
- /* @__PURE__ */ e(l, { primary: oe })
191
+ /* @__PURE__ */ e(l, { primary: le })
189
192
  ]
190
193
  },
191
194
  2
192
195
  ),
193
- y(i) && /* @__PURE__ */ r(c, { dense: !0, onClick: ge, children: [
196
+ y(t) && /* @__PURE__ */ i(c, { dense: !0, onClick: Se, children: [
194
197
  R ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(R, {}) }) : null,
195
- /* @__PURE__ */ e(l, { primary: le })
198
+ /* @__PURE__ */ e(l, { primary: ce })
196
199
  ] }, 3),
197
- m(i) && /* @__PURE__ */ r(c, { dense: !0, onClick: () => d(v), children: [
198
- O ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(O, {}) }) : null,
199
- /* @__PURE__ */ e(l, { primary: ae })
200
+ m(t) && /* @__PURE__ */ i(c, { dense: !0, onClick: () => s(I), children: [
201
+ F ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(F, {}) }) : null,
202
+ /* @__PURE__ */ e(l, { primary: de })
200
203
  ] }, 4),
201
- k(i) && !X && /* @__PURE__ */ r(c, { dense: !0, onClick: () => d(q), children: [
204
+ k(t) && !Z && /* @__PURE__ */ i(c, { dense: !0, onClick: () => s(q), children: [
202
205
  T ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(T, {}) }) : null,
203
- /* @__PURE__ */ e(l, { primary: ce })
206
+ /* @__PURE__ */ e(l, { primary: ae })
204
207
  ] }, 5),
205
- E(i) && /* @__PURE__ */ r(c, { dense: !0, onClick: ve, disabled: I, children: [
208
+ b(t) && /* @__PURE__ */ i(c, { dense: !0, onClick: Ie, disabled: E, children: [
206
209
  A ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(A, {}) }) : null,
207
- /* @__PURE__ */ e(l, { primary: b })
210
+ /* @__PURE__ */ e(l, { primary: M })
208
211
  ] }, 6),
209
- J.map((n) => /* @__PURE__ */ r(
212
+ Q.map((n) => /* @__PURE__ */ i(
210
213
  c,
211
214
  {
212
215
  dense: !0,
@@ -235,29 +238,29 @@ function Je({
235
238
  horizontal: "right"
236
239
  },
237
240
  onClose: () => {
238
- d(null), s(null);
241
+ s(null), u(null);
239
242
  },
240
- children: /* @__PURE__ */ r("div", { className: t.menuExpand, children: [
241
- /* @__PURE__ */ r(c, { onClick: () => d(null), children: [
242
- /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(Pe, {}) }),
243
- /* @__PURE__ */ e(l, { primary: de })
243
+ children: /* @__PURE__ */ i("div", { className: r.menuExpand, children: [
244
+ /* @__PURE__ */ i(c, { onClick: () => s(null), children: [
245
+ /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(ze, {}) }),
246
+ /* @__PURE__ */ e(l, { primary: se })
244
247
  ] }),
245
- /* @__PURE__ */ e(Fe, {}),
248
+ /* @__PURE__ */ e(Pe, {}),
246
249
  p === q && /* @__PURE__ */ e(
247
250
  te,
248
251
  {
249
- collectionId: i.collectionId,
250
- onSuccess: () => d(v),
252
+ collectionId: t.collectionId,
253
+ onSuccess: () => s(I),
251
254
  ...ie
252
255
  }
253
256
  ),
254
- p === v && /* @__PURE__ */ e(
255
- ee,
257
+ p === I && /* @__PURE__ */ e(
258
+ ne,
256
259
  {
257
- entityAccessMenuText: b,
258
- collectionId: i.collectionId,
259
- accessTranslate: Y,
260
- ...ne
260
+ entityAccessMenuText: M,
261
+ collectionId: t.collectionId,
262
+ accessTranslate: J,
263
+ ...re
261
264
  }
262
265
  )
263
266
  ] })
@@ -265,7 +268,7 @@ function Je({
265
268
  )
266
269
  ] });
267
270
  }
268
- const cn = Me(Ye, { name: "VdtSavedSearchRow" })(Je);
271
+ const an = Ne(Je, { name: "VdtSavedSearchRow" })(Qe);
269
272
  export {
270
- cn as default
273
+ an as default
271
274
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidispine/vdt-materialui",
3
- "version": "23.3.0-pre.4",
3
+ "version": "23.3.0-pre.6",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -35,11 +35,11 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@babel/runtime": "^7.21.0",
38
- "@vidispine/proptypes": "23.3.0-pre.4",
39
- "@vidispine/vdt-api": "23.3.0-pre.4",
40
- "@vidispine/vdt-js": "23.3.0-pre.4",
41
- "@vidispine/vdt-react": "23.3.0-pre.4",
42
- "@vidispine/vdt-videojs-react": "23.3.0-pre.4",
38
+ "@vidispine/proptypes": "23.3.0-pre.6",
39
+ "@vidispine/vdt-api": "23.3.0-pre.6",
40
+ "@vidispine/vdt-js": "23.3.0-pre.6",
41
+ "@vidispine/vdt-react": "23.3.0-pre.6",
42
+ "@vidispine/vdt-videojs-react": "23.3.0-pre.6",
43
43
  "clsx": "^1.2.1",
44
44
  "filesize": "^10.0.6",
45
45
  "final-form": "^4.20.9",
@@ -70,11 +70,11 @@
70
70
  },
71
71
  "devDependencies": {
72
72
  "@types/jest": "28.1.8",
73
- "@vidispine/eslint-config-mdx": "23.3.0-pre.4",
74
- "@vidispine/eslint-config-react": "23.3.0-pre.4",
75
- "@vidispine/eslint-config-storybook": "23.3.0-pre.4",
76
- "@vidispine/prettier-config": "23.3.0-pre.4",
77
- "@vidispine/proptypes": "23.3.0-pre.4",
73
+ "@vidispine/eslint-config-mdx": "23.3.0-pre.6",
74
+ "@vidispine/eslint-config-react": "23.3.0-pre.6",
75
+ "@vidispine/eslint-config-storybook": "23.3.0-pre.6",
76
+ "@vidispine/prettier-config": "23.3.0-pre.6",
77
+ "@vidispine/proptypes": "23.3.0-pre.6",
78
78
  "@vitejs/plugin-react": "3.1.0",
79
79
  "@wojtekmaj/enzyme-adapter-react-17": "0.8.0",
80
80
  "axios": "0.21.4",
@@ -92,7 +92,8 @@
92
92
  "moment-duration-format": "2.3.2",
93
93
  "prettier": "2.8.4",
94
94
  "prop-types": "15.8.1",
95
- "vite": "4.3.9"
95
+ "vite": "4.3.9",
96
+ "vite-plugin-svgr": "3.2.0"
96
97
  },
97
98
  "scarfSettings": {
98
99
  "enabled": false