@vidispine/vdt-mui 23.2.0-pre.2 → 23.2.0
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/_utils/generateBadges.js +1 -0
- package/dist/cjs/_utils/isDefinedValue.js +1 -0
- package/dist/cjs/_utils/omit.js +1 -0
- package/dist/cjs/_utils/showSlot.js +1 -0
- package/dist/cjs/_utils/uuidv4.js +1 -0
- package/dist/cjs/_utils/withOverrides.js +1 -0
- package/dist/cjs/collection/CollectionCard/CollectionCard.js +1 -0
- package/dist/cjs/collection/CollectionCard/components/CollectionCardMedia.js +1 -0
- package/dist/cjs/collection/CollectionCard/index.js +1 -0
- package/dist/cjs/collection/CollectionList/CollectionList.js +1 -0
- package/dist/cjs/collection/CollectionList/index.js +1 -0
- package/dist/cjs/collection/CollectionListItem/CollectionListItem.js +1 -0
- package/dist/cjs/collection/CollectionListItem/index.js +1 -0
- package/dist/cjs/collection/CollectionRepresentativeThumbnail/CollectionRepresentativeThumbnail.js +1 -0
- package/dist/cjs/collection/CollectionRepresentativeThumbnail/index.js +1 -0
- package/dist/cjs/entity/EntityAvatar/EntityAvatar.js +1 -0
- package/dist/cjs/entity/EntityAvatar/index.js +1 -0
- package/dist/cjs/entity/EntityCard/components/EntityCardActions.js +1 -0
- package/dist/cjs/entity/EntityCard/components/EntityCardBase.js +1 -0
- package/dist/cjs/entity/EntityCard/components/EntityCardContent.js +1 -0
- package/dist/cjs/entity/EntityCard/components/EntityCardHeader.js +1 -0
- package/dist/cjs/entity/EntityIcon/EntityIcon.js +1 -0
- package/dist/cjs/entity/EntityIcon/index.js +1 -0
- package/dist/cjs/entity/EntityList/EntityList.js +1 -0
- package/dist/cjs/entity/EntityList/index.js +1 -0
- package/dist/cjs/entity/EntityListItem/components/EntityListItemAvatar.js +1 -0
- package/dist/cjs/entity/EntityListItem/components/EntityListItemButton.js +1 -0
- package/dist/cjs/entity/EntityListItem/components/EntityListItemSecondaryAction.js +1 -0
- package/dist/cjs/entity/EntityListItem/components/EntityListItemText.js +1 -0
- package/dist/cjs/entity/EntityTableRow/components/EntityTableCellAvatar.js +1 -0
- package/dist/cjs/entity/EntityTableRow/components/EntityTableCellCheckbox.js +1 -0
- package/dist/cjs/entity/_utils/getEntityProp.js +1 -0
- package/dist/cjs/entity/_utils/getEntityText.js +1 -0
- package/dist/cjs/general/AvatarMenu/AvatarMenu.js +1 -0
- package/dist/cjs/general/AvatarMenu/components/Avatar.js +1 -0
- package/dist/cjs/general/AvatarMenu/components/MenuItem.js +1 -0
- package/dist/cjs/general/AvatarMenu/index.js +1 -0
- package/dist/cjs/general/BlurredBackground/BlurredBackground.js +1 -0
- package/dist/cjs/general/BlurredBackground/index.js +1 -0
- package/dist/cjs/general/CalendarPicker/CalendarPicker.js +1 -0
- package/dist/cjs/general/CalendarPicker/components/PickersDay.js +1 -0
- package/dist/cjs/general/CalendarPicker/index.js +1 -0
- package/dist/cjs/general/CalendarPicker/utils/index.js +1 -0
- package/dist/cjs/general/CompactBadge/CompactBadge.js +1 -0
- package/dist/cjs/general/CompactBadge/index.js +1 -0
- package/dist/cjs/general/CompactLabel/CompactLabel.js +1 -0
- package/dist/cjs/general/CompactLabel/index.js +1 -0
- package/dist/cjs/general/CornerLabelPlacer/CornerLabelPlacer.js +1 -0
- package/dist/cjs/general/CornerLabelPlacer/index.js +1 -0
- package/dist/cjs/general/ExpandButton/ExpandButton.js +1 -0
- package/dist/cjs/general/ExpandButton/index.js +1 -0
- package/dist/cjs/general/Form/Form.js +1 -0
- package/dist/cjs/general/Form/index.js +1 -0
- package/dist/cjs/general/ImageCollage/ImageCollage.js +1 -0
- package/dist/cjs/general/ImageCollage/index.js +1 -0
- package/dist/cjs/general/MediaIcon/MediaIcon.js +1 -0
- package/dist/cjs/general/MediaIcon/index.js +1 -0
- package/dist/cjs/general/MenuItem/MenuItem.js +1 -0
- package/dist/cjs/general/MenuItem/index.js +1 -0
- package/dist/cjs/general/ScrubLine/ScrubLine.js +1 -0
- package/dist/cjs/general/ScrubLine/index.js +1 -0
- package/dist/cjs/general/Sort/Sort.js +1 -0
- package/dist/cjs/general/Sort/components/ButtonBase.js +1 -0
- package/dist/cjs/general/Sort/components/MenuItem.js +1 -0
- package/dist/cjs/general/Sort/index.js +1 -0
- package/dist/cjs/general/TablePagination/TablePagination.js +1 -0
- package/dist/cjs/general/TablePagination/index.js +1 -0
- package/dist/cjs/general/ThemeContext/ThemeContext.js +1 -0
- package/dist/cjs/inputs/BasicDateTimeInput/BasicDateTimeInput.js +1 -0
- package/dist/cjs/inputs/BasicDateTimeInput/index.js +1 -0
- package/dist/cjs/inputs/BooleanInput/BooleanInput.js +1 -0
- package/dist/cjs/inputs/BooleanInput/index.js +1 -0
- package/dist/cjs/inputs/CheckboxGroupInput/CheckboxGroupInput.js +1 -0
- package/dist/cjs/inputs/CheckboxGroupInput/components/CheckboxGroup.js +1 -0
- package/dist/cjs/inputs/CheckboxGroupInput/index.js +1 -0
- package/dist/cjs/inputs/DateRangeInput/DateRangeInput.js +1 -0
- package/dist/cjs/inputs/DateRangeInput/components/utils/valueManagers.js +1 -0
- package/dist/cjs/inputs/DateRangeInput/index.js +1 -0
- package/dist/cjs/inputs/DateRangeInput/utils/dateHelpers.js +1 -0
- package/dist/cjs/inputs/DateTimeInput/DateTimeInput.js +1 -0
- package/dist/cjs/inputs/DateTimeInput/index.js +1 -0
- package/dist/cjs/inputs/MaskedTextInput/MaskedTextInput.js +1 -0
- package/dist/cjs/inputs/MaskedTextInput/components/MaskedInputComponent.js +1 -0
- package/dist/cjs/inputs/MaskedTextInput/index.js +1 -0
- package/dist/cjs/inputs/NumberInput/NumberInput.js +1 -0
- package/dist/cjs/inputs/NumberInput/index.js +1 -0
- package/dist/cjs/inputs/RadioGroupInput/RadioGroupInput.js +1 -0
- package/dist/cjs/inputs/RadioGroupInput/components/RadioGroup.js +1 -0
- package/dist/cjs/inputs/RadioGroupInput/index.js +1 -0
- package/dist/cjs/inputs/SelectInput/SelectInput.js +1 -0
- package/dist/cjs/inputs/SelectInput/index.js +1 -0
- package/dist/cjs/inputs/SliderInput/SliderInput.js +1 -0
- package/dist/cjs/inputs/SliderInput/components/Slider.js +1 -0
- package/dist/cjs/inputs/SliderInput/index.js +1 -0
- package/dist/cjs/inputs/TagInput/TagInput.js +1 -0
- package/dist/cjs/inputs/TagInput/index.js +1 -0
- package/dist/cjs/inputs/TextInput/TextInput.js +1 -0
- package/dist/cjs/inputs/TextInput/index.js +1 -0
- package/dist/cjs/inputs/_components/FormControlLabel.js +1 -0
- package/dist/cjs/inputs/_components/MenuItem.js +1 -0
- package/dist/cjs/item/ItemCard/ItemCard.js +1 -0
- package/dist/cjs/item/ItemCard/components/ItemCardMedia.js +1 -0
- package/dist/cjs/item/ItemCard/index.js +1 -0
- package/dist/cjs/item/ItemList/ItemList.js +1 -0
- package/dist/cjs/item/ItemList/index.js +1 -0
- package/dist/cjs/item/ItemListItem/ItemListItem.js +1 -0
- package/dist/cjs/item/ItemListItem/index.js +1 -0
- package/dist/cjs/item/ItemPoster/ItemPoster.js +1 -0
- package/dist/cjs/item/ItemPoster/index.js +1 -0
- package/dist/cjs/item/ItemPosterList/ItemPosterList.js +1 -0
- package/dist/cjs/item/ItemPosterList/index.js +1 -0
- package/dist/cjs/item/ItemPosterViewer/ItemPosterViewer.js +1 -0
- package/dist/cjs/item/ItemPosterViewer/components/Toolbar.js +1 -0
- package/dist/cjs/item/ItemPosterViewer/index.js +1 -0
- package/dist/cjs/item/ItemTable/ItemTable.js +1 -0
- package/dist/cjs/item/ItemTable/components/ItemTableHead.js +1 -0
- package/dist/cjs/item/ItemTable/index.js +1 -0
- package/dist/cjs/item/ItemTableRow/ItemTableRow.js +1 -0
- package/dist/cjs/item/ItemTableRow/index.js +1 -0
- package/dist/cjs/item/ItemThumbnail/ItemThumbnail.js +1 -0
- package/dist/cjs/item/ItemThumbnail/index.js +1 -0
- package/dist/cjs/search/SearchFilterForm/SearchFilterForm.js +1 -0
- package/dist/cjs/search/SearchFilterForm/hooks/UseSearchFilterFormInputs.js +1 -0
- package/dist/cjs/search/SearchFilterForm/index.js +1 -0
- package/dist/cjs/search/SearchFilterForm/utils/mapValuesToFilter.js +1 -0
- package/dist/cjs/shape/ShapeMediaBadges/ShapeMediaBadges.js +1 -0
- package/dist/cjs/shape/ShapeMediaBadges/index.js +1 -0
- package/dist/cjs/transcode/TranscodePresetMediaBadges/TranscodePresetMediaBadges.js +1 -0
- package/dist/cjs/transcode/TranscodePresetMediaBadges/index.js +1 -0
- package/dist/es/_utils/generateBadges.js +75 -0
- package/dist/es/_utils/isDefinedValue.js +6 -0
- package/dist/es/_utils/omit.js +9 -0
- package/dist/es/_utils/showSlot.js +4 -0
- package/dist/es/_utils/uuidv4.js +7 -0
- package/dist/es/_utils/withOverrides.js +37 -0
- package/dist/es/collection/CollectionCard/CollectionCard.js +292 -0
- package/dist/es/collection/CollectionCard/components/CollectionCardMedia.js +14 -0
- package/dist/es/collection/CollectionCard/index.js +11 -0
- package/dist/es/collection/CollectionList/CollectionList.js +159 -0
- package/dist/es/collection/CollectionList/index.js +11 -0
- package/dist/es/collection/CollectionListItem/CollectionListItem.js +122 -0
- package/dist/es/collection/CollectionListItem/index.js +11 -0
- package/dist/es/collection/CollectionRepresentativeThumbnail/CollectionRepresentativeThumbnail.js +169 -0
- package/dist/es/collection/CollectionRepresentativeThumbnail/index.js +11 -0
- package/dist/es/entity/EntityAvatar/EntityAvatar.js +102 -0
- package/dist/es/entity/EntityAvatar/index.js +11 -0
- package/dist/es/entity/EntityCard/components/EntityCardActions.js +68 -0
- package/dist/es/entity/EntityCard/components/EntityCardBase.js +43 -0
- package/dist/es/entity/EntityCard/components/EntityCardContent.js +34 -0
- package/dist/es/entity/EntityCard/components/EntityCardHeader.js +115 -0
- package/dist/es/entity/EntityIcon/EntityIcon.js +107 -0
- package/dist/es/entity/EntityIcon/index.js +11 -0
- package/dist/es/entity/EntityList/EntityList.js +211 -0
- package/dist/es/entity/EntityList/index.js +11 -0
- package/dist/es/entity/EntityListItem/components/EntityListItemAvatar.js +26 -0
- package/dist/es/entity/EntityListItem/components/EntityListItemButton.js +27 -0
- package/dist/es/entity/EntityListItem/components/EntityListItemSecondaryAction.js +27 -0
- package/dist/es/entity/EntityListItem/components/EntityListItemText.js +26 -0
- package/dist/es/entity/EntityTableRow/components/EntityTableCellAvatar.js +26 -0
- package/dist/es/entity/EntityTableRow/components/EntityTableCellCheckbox.js +19 -0
- package/dist/es/entity/_utils/getEntityProp.js +11 -0
- package/dist/es/entity/_utils/getEntityText.js +34 -0
- package/dist/es/general/AvatarMenu/AvatarMenu.js +153 -0
- package/dist/es/general/AvatarMenu/components/Avatar.js +30 -0
- package/dist/es/general/AvatarMenu/components/MenuItem.js +29 -0
- package/dist/es/general/AvatarMenu/index.js +11 -0
- package/dist/es/general/BlurredBackground/BlurredBackground.js +85 -0
- package/dist/es/general/BlurredBackground/index.js +11 -0
- package/dist/es/general/CalendarPicker/CalendarPicker.js +397 -0
- package/dist/es/general/CalendarPicker/components/PickersDay.js +71 -0
- package/dist/es/general/CalendarPicker/index.js +11 -0
- package/dist/es/general/CalendarPicker/utils/index.js +17 -0
- package/dist/es/general/CompactBadge/CompactBadge.js +65 -0
- package/dist/es/general/CompactBadge/index.js +11 -0
- package/dist/es/general/CompactLabel/CompactLabel.js +70 -0
- package/dist/es/general/CompactLabel/index.js +11 -0
- package/dist/es/general/CornerLabelPlacer/CornerLabelPlacer.js +105 -0
- package/dist/es/general/CornerLabelPlacer/index.js +11 -0
- package/dist/es/general/ExpandButton/ExpandButton.js +81 -0
- package/dist/es/general/ExpandButton/index.js +11 -0
- package/dist/es/general/Form/Form.js +230 -0
- package/dist/es/general/Form/index.js +11 -0
- package/dist/es/general/ImageCollage/ImageCollage.js +151 -0
- package/dist/es/general/ImageCollage/index.js +11 -0
- package/dist/es/general/MediaIcon/MediaIcon.js +101 -0
- package/dist/es/general/MediaIcon/index.js +11 -0
- package/dist/es/general/MenuItem/MenuItem.js +91 -0
- package/dist/es/general/MenuItem/index.js +11 -0
- package/dist/es/general/ScrubLine/ScrubLine.js +141 -0
- package/dist/es/general/ScrubLine/index.js +11 -0
- package/dist/es/general/Sort/Sort.js +179 -0
- package/dist/es/general/Sort/components/ButtonBase.js +19 -0
- package/dist/es/general/Sort/components/MenuItem.js +15 -0
- package/dist/es/general/Sort/index.js +11 -0
- package/dist/es/general/TablePagination/TablePagination.js +104 -0
- package/dist/es/general/TablePagination/index.js +11 -0
- package/dist/es/general/ThemeContext/ThemeContext.js +96 -0
- package/dist/es/inputs/BasicDateTimeInput/BasicDateTimeInput.js +133 -0
- package/dist/es/inputs/BasicDateTimeInput/index.js +11 -0
- package/dist/es/inputs/BooleanInput/BooleanInput.js +196 -0
- package/dist/es/inputs/BooleanInput/index.js +11 -0
- package/dist/es/inputs/CheckboxGroupInput/CheckboxGroupInput.js +292 -0
- package/dist/es/inputs/CheckboxGroupInput/components/CheckboxGroup.js +81 -0
- package/dist/es/inputs/CheckboxGroupInput/index.js +11 -0
- package/dist/es/inputs/DateRangeInput/DateRangeInput.js +362 -0
- package/dist/es/inputs/DateRangeInput/components/utils/valueManagers.js +20 -0
- package/dist/es/inputs/DateRangeInput/index.js +11 -0
- package/dist/es/inputs/DateRangeInput/utils/dateHelpers.js +31 -0
- package/dist/es/inputs/DateTimeInput/DateTimeInput.js +250 -0
- package/dist/es/inputs/DateTimeInput/index.js +11 -0
- package/dist/es/inputs/MaskedTextInput/MaskedTextInput.js +235 -0
- package/dist/es/inputs/MaskedTextInput/components/MaskedInputComponent.js +13 -0
- package/dist/es/inputs/MaskedTextInput/index.js +11 -0
- package/dist/es/inputs/NumberInput/NumberInput.js +134 -0
- package/dist/es/inputs/NumberInput/index.js +11 -0
- package/dist/es/inputs/RadioGroupInput/RadioGroupInput.js +287 -0
- package/dist/es/inputs/RadioGroupInput/components/RadioGroup.js +72 -0
- package/dist/es/inputs/RadioGroupInput/index.js +11 -0
- package/dist/es/inputs/SelectInput/SelectInput.js +195 -0
- package/dist/es/inputs/SelectInput/index.js +11 -0
- package/dist/es/inputs/SliderInput/SliderInput.js +350 -0
- package/dist/es/inputs/SliderInput/components/Slider.js +124 -0
- package/dist/es/inputs/SliderInput/index.js +11 -0
- package/dist/es/inputs/TagInput/TagInput.js +356 -0
- package/dist/es/inputs/TagInput/index.js +11 -0
- package/dist/es/inputs/TextInput/TextInput.js +154 -0
- package/dist/es/inputs/TextInput/index.js +11 -0
- package/dist/es/inputs/_components/FormControlLabel.js +60 -0
- package/dist/es/inputs/_components/MenuItem.js +23 -0
- package/dist/es/item/ItemCard/ItemCard.js +293 -0
- package/dist/es/item/ItemCard/components/ItemCardMedia.js +20 -0
- package/dist/es/item/ItemCard/index.js +11 -0
- package/dist/es/item/ItemList/ItemList.js +158 -0
- package/dist/es/item/ItemList/index.js +11 -0
- package/dist/es/item/ItemListItem/ItemListItem.js +122 -0
- package/dist/es/item/ItemListItem/index.js +11 -0
- package/dist/es/item/ItemPoster/ItemPoster.js +132 -0
- package/dist/es/item/ItemPoster/index.js +11 -0
- package/dist/es/item/ItemPosterList/ItemPosterList.js +99 -0
- package/dist/es/item/ItemPosterList/index.js +11 -0
- package/dist/es/item/ItemPosterViewer/ItemPosterViewer.js +190 -0
- package/dist/es/item/ItemPosterViewer/components/Toolbar.js +27 -0
- package/dist/es/item/ItemPosterViewer/index.js +11 -0
- package/dist/es/item/ItemTable/ItemTable.js +201 -0
- package/dist/es/item/ItemTable/components/ItemTableHead.js +35 -0
- package/dist/es/item/ItemTable/index.js +11 -0
- package/dist/es/item/ItemTableRow/ItemTableRow.js +150 -0
- package/dist/es/item/ItemTableRow/index.js +11 -0
- package/dist/es/item/ItemThumbnail/ItemThumbnail.js +210 -0
- package/dist/es/item/ItemThumbnail/index.js +11 -0
- package/dist/es/search/SearchFilterForm/SearchFilterForm.js +138 -0
- package/dist/es/search/SearchFilterForm/hooks/UseSearchFilterFormInputs.js +130 -0
- package/dist/es/search/SearchFilterForm/index.js +12 -0
- package/dist/es/search/SearchFilterForm/utils/mapValuesToFilter.js +84 -0
- package/dist/es/shape/ShapeMediaBadges/ShapeMediaBadges.js +78 -0
- package/dist/es/shape/ShapeMediaBadges/index.js +11 -0
- package/dist/es/transcode/TranscodePresetMediaBadges/TranscodePresetMediaBadges.js +78 -0
- package/dist/es/transcode/TranscodePresetMediaBadges/index.js +11 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.es.js +93 -0
- package/package.json +35 -19
- package/dist/index.js +0 -13109
- package/dist/index.umd.cjs +0 -6
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { styled as m } from "@mui/material/styles";
|
|
2
|
+
import { withOverrides as n } from "../../_utils/withOverrides.js";
|
|
3
|
+
import i from "./SearchFilterForm.js";
|
|
4
|
+
const e = "SearchFilterForm", o = `Vdt${e}`, s = n(o)(i), r = m(s, {
|
|
5
|
+
name: o,
|
|
6
|
+
overridesResolver: (a, t) => t.root
|
|
7
|
+
})(() => ({}));
|
|
8
|
+
r.displayName = e;
|
|
9
|
+
r.name = e;
|
|
10
|
+
export {
|
|
11
|
+
r as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "clsx";
|
|
4
|
+
import "@mui/material/styles";
|
|
5
|
+
import { isDefinedValue as N } from "../../../_utils/isDefinedValue.js";
|
|
6
|
+
const w = (a, i) => {
|
|
7
|
+
const d = i == null ? void 0 : i.filter(({
|
|
8
|
+
options: t
|
|
9
|
+
}) => t == null ? void 0 : t.some((r) => !!(r != null && r.rangeValues))), g = (t) => t.every((r) => typeof r == "number"), f = (t) => {
|
|
10
|
+
if (!t)
|
|
11
|
+
return !1;
|
|
12
|
+
const r = new Date(t);
|
|
13
|
+
return r instanceof Date && !Number.isNaN(r.getTime());
|
|
14
|
+
}, S = (t) => f(t == null ? void 0 : t.start) || f(t == null ? void 0 : t.end), o = (t, r, m, s) => {
|
|
15
|
+
var c, D;
|
|
16
|
+
if (Array.isArray(t))
|
|
17
|
+
return g(t) ? {
|
|
18
|
+
range: [{
|
|
19
|
+
value: [((c = r == null ? void 0 : r.find((e) => e.value === t[0])) == null ? void 0 : c.rangeValues[0]) || t[0], ((D = r == null ? void 0 : r.find((e) => e.value === t[1])) == null ? void 0 : D.rangeValues[1]) || t[1]].map((e) => e === Number.MIN_SAFE_INTEGER && {
|
|
20
|
+
minimum: !0
|
|
21
|
+
} || e === Number.MAX_SAFE_INTEGER && {
|
|
22
|
+
maximum: !0
|
|
23
|
+
} || {
|
|
24
|
+
value: e
|
|
25
|
+
})
|
|
26
|
+
}]
|
|
27
|
+
} : {
|
|
28
|
+
value: t.map((n) => ({
|
|
29
|
+
value: n
|
|
30
|
+
}))
|
|
31
|
+
};
|
|
32
|
+
if (m) {
|
|
33
|
+
const n = new Date(t), e = new Date(t);
|
|
34
|
+
return e.setDate(e.getDate() + 1), {
|
|
35
|
+
range: [{
|
|
36
|
+
value: [{
|
|
37
|
+
value: n.toISOString()
|
|
38
|
+
}, {
|
|
39
|
+
value: e.toISOString()
|
|
40
|
+
}]
|
|
41
|
+
}]
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
if (s) {
|
|
45
|
+
const n = (t == null ? void 0 : t.start) && new Date(t == null ? void 0 : t.start), e = (t == null ? void 0 : t.end) && new Date(t == null ? void 0 : t.end);
|
|
46
|
+
return e && e.setDate(e.getDate() + 1), {
|
|
47
|
+
range: [{
|
|
48
|
+
value: [n ? {
|
|
49
|
+
value: n.toISOString()
|
|
50
|
+
} : {
|
|
51
|
+
minimum: !0
|
|
52
|
+
}, e ? {
|
|
53
|
+
value: e.toISOString()
|
|
54
|
+
} : {
|
|
55
|
+
maximum: !0
|
|
56
|
+
}]
|
|
57
|
+
}]
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
value: [{
|
|
62
|
+
value: t
|
|
63
|
+
}]
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
return {
|
|
67
|
+
filter: Object.entries(a).filter(([, t]) => N(t, {
|
|
68
|
+
includeDateRange: !0
|
|
69
|
+
})).map(([t, r]) => {
|
|
70
|
+
var m;
|
|
71
|
+
return {
|
|
72
|
+
name: t,
|
|
73
|
+
field: [{
|
|
74
|
+
name: t,
|
|
75
|
+
...o(r, (m = d.find((s) => s.name === t)) == null ? void 0 : m.options, f(r), S(r))
|
|
76
|
+
}]
|
|
77
|
+
};
|
|
78
|
+
}),
|
|
79
|
+
values: a
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
export {
|
|
83
|
+
w as default
|
|
84
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import e from "prop-types";
|
|
3
|
+
import l from "@mui/material/Stack";
|
|
4
|
+
import { styled as u } from "@mui/material/styles";
|
|
5
|
+
import y from "@vidispine/proptypes";
|
|
6
|
+
import { parseShapeType as B } from "@vidispine/vdt-js";
|
|
7
|
+
import { generateBadges as S } from "../../_utils/generateBadges.js";
|
|
8
|
+
import h from "../../general/CompactBadge/index.js";
|
|
9
|
+
const T = u(l)(() => ({
|
|
10
|
+
alignItems: "center"
|
|
11
|
+
})), v = {
|
|
12
|
+
Root: T,
|
|
13
|
+
CompactBadge: h
|
|
14
|
+
};
|
|
15
|
+
function n({
|
|
16
|
+
shape: a,
|
|
17
|
+
direction: i,
|
|
18
|
+
spacing: o,
|
|
19
|
+
dividerSlot: m,
|
|
20
|
+
generateBadges: s,
|
|
21
|
+
components: c,
|
|
22
|
+
componentsProps: t
|
|
23
|
+
}) {
|
|
24
|
+
const {
|
|
25
|
+
Root: d,
|
|
26
|
+
CompactBadge: f
|
|
27
|
+
} = c, g = s(B(a));
|
|
28
|
+
return /* @__PURE__ */ r(d, { direction: i, spacing: o > 0 ? o : 0, divider: m, ...t.root, children: g.map((p) => /* @__PURE__ */ r(f, { text: p, ...t.compactBadge }, p)) });
|
|
29
|
+
}
|
|
30
|
+
n.propTypes = {
|
|
31
|
+
/**
|
|
32
|
+
* A shape type to generate badges from
|
|
33
|
+
*/
|
|
34
|
+
shape: y.ShapeType,
|
|
35
|
+
/**
|
|
36
|
+
* Direction the badges should be displayed
|
|
37
|
+
*/
|
|
38
|
+
direction: e.oneOf(["column", "row"]),
|
|
39
|
+
/**
|
|
40
|
+
* Defines the space between immediate children.
|
|
41
|
+
*/
|
|
42
|
+
spacing: e.number,
|
|
43
|
+
/**
|
|
44
|
+
* Add a divider component between badges
|
|
45
|
+
*/
|
|
46
|
+
dividerSlot: e.node,
|
|
47
|
+
/**
|
|
48
|
+
* Replace the function that generates the badges
|
|
49
|
+
*/
|
|
50
|
+
generateBadges: e.func,
|
|
51
|
+
// Overrides
|
|
52
|
+
/**
|
|
53
|
+
* Replace internal components
|
|
54
|
+
*/
|
|
55
|
+
components: e.shape({
|
|
56
|
+
Root: e.elementType,
|
|
57
|
+
CompactBadge: e.elementType
|
|
58
|
+
}),
|
|
59
|
+
/**
|
|
60
|
+
* Add internal component props
|
|
61
|
+
*/
|
|
62
|
+
componentsProps: e.shape({
|
|
63
|
+
root: e.instanceOf(Object),
|
|
64
|
+
compactBadge: e.instanceOf(Object)
|
|
65
|
+
})
|
|
66
|
+
};
|
|
67
|
+
n.defaultProps = {
|
|
68
|
+
shape: {},
|
|
69
|
+
direction: "row",
|
|
70
|
+
spacing: 1,
|
|
71
|
+
dividerSlot: void 0,
|
|
72
|
+
generateBadges: S,
|
|
73
|
+
components: v,
|
|
74
|
+
componentsProps: void 0
|
|
75
|
+
};
|
|
76
|
+
export {
|
|
77
|
+
n as default
|
|
78
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { styled as r } from "@mui/material/styles";
|
|
2
|
+
import { withOverrides as s } from "../../_utils/withOverrides.js";
|
|
3
|
+
import a from "./ShapeMediaBadges.js";
|
|
4
|
+
const e = "ShapeMediaBadges", o = `Vdt${e}`, d = s(o)(a), m = r(d, {
|
|
5
|
+
name: o,
|
|
6
|
+
overridesResolver: (i, t) => t.root
|
|
7
|
+
})(() => ({}));
|
|
8
|
+
m.displayName = e;
|
|
9
|
+
export {
|
|
10
|
+
m as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import e from "prop-types";
|
|
3
|
+
import l from "@mui/material/Stack";
|
|
4
|
+
import { styled as u } from "@mui/material/styles";
|
|
5
|
+
import y from "@vidispine/proptypes";
|
|
6
|
+
import { parseTranscodePreset as B } from "@vidispine/vdt-js";
|
|
7
|
+
import { generateBadges as P } from "../../_utils/generateBadges.js";
|
|
8
|
+
import T from "../../general/CompactBadge/index.js";
|
|
9
|
+
const S = u(l)(() => ({
|
|
10
|
+
alignItems: "center"
|
|
11
|
+
})), v = {
|
|
12
|
+
Root: S,
|
|
13
|
+
CompactBadge: T
|
|
14
|
+
};
|
|
15
|
+
function s({
|
|
16
|
+
transcodePreset: a,
|
|
17
|
+
direction: p,
|
|
18
|
+
spacing: o,
|
|
19
|
+
dividerSlot: c,
|
|
20
|
+
generateBadges: d,
|
|
21
|
+
components: i,
|
|
22
|
+
componentsProps: t
|
|
23
|
+
}) {
|
|
24
|
+
const {
|
|
25
|
+
Root: m,
|
|
26
|
+
CompactBadge: f
|
|
27
|
+
} = i, g = d(B(a));
|
|
28
|
+
return /* @__PURE__ */ n(m, { direction: p, spacing: o > 0 ? o : 0, divider: c, ...t.root, children: g.map((r) => /* @__PURE__ */ n(f, { text: r, ...t.compactBadge }, r)) });
|
|
29
|
+
}
|
|
30
|
+
s.propTypes = {
|
|
31
|
+
/**
|
|
32
|
+
* A transcode preset type to generate badges from
|
|
33
|
+
*/
|
|
34
|
+
transcodePreset: y.TranscodePresetType,
|
|
35
|
+
/**
|
|
36
|
+
* Direction the badges should be displayed
|
|
37
|
+
*/
|
|
38
|
+
direction: e.oneOf(["column", "row"]),
|
|
39
|
+
/**
|
|
40
|
+
* Defines the space between immediate children.
|
|
41
|
+
*/
|
|
42
|
+
spacing: e.number,
|
|
43
|
+
/**
|
|
44
|
+
* Add a divider component between badges
|
|
45
|
+
*/
|
|
46
|
+
dividerSlot: e.node,
|
|
47
|
+
/**
|
|
48
|
+
* Replace the function that generates the badges
|
|
49
|
+
*/
|
|
50
|
+
generateBadges: e.func,
|
|
51
|
+
// Overrides
|
|
52
|
+
/**
|
|
53
|
+
* Replace internal components
|
|
54
|
+
*/
|
|
55
|
+
components: e.shape({
|
|
56
|
+
Root: e.elementType,
|
|
57
|
+
CompactBadge: e.elementType
|
|
58
|
+
}),
|
|
59
|
+
/**
|
|
60
|
+
* Add internal component props
|
|
61
|
+
*/
|
|
62
|
+
componentsProps: e.shape({
|
|
63
|
+
root: e.instanceOf(Object),
|
|
64
|
+
compactBadge: e.instanceOf(Object)
|
|
65
|
+
})
|
|
66
|
+
};
|
|
67
|
+
s.defaultProps = {
|
|
68
|
+
transcodePreset: void 0,
|
|
69
|
+
direction: "row",
|
|
70
|
+
spacing: 1,
|
|
71
|
+
dividerSlot: void 0,
|
|
72
|
+
generateBadges: P,
|
|
73
|
+
components: v,
|
|
74
|
+
componentsProps: void 0
|
|
75
|
+
};
|
|
76
|
+
export {
|
|
77
|
+
s as default
|
|
78
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { styled as r } from "@mui/material/styles";
|
|
2
|
+
import { withOverrides as s } from "../../_utils/withOverrides.js";
|
|
3
|
+
import d from "./TranscodePresetMediaBadges.js";
|
|
4
|
+
const e = "TranscodePresetMediaBadges", o = `Vdt${e}`, n = s(o)(d), a = r(n, {
|
|
5
|
+
name: o,
|
|
6
|
+
overridesResolver: (m, t) => t.root
|
|
7
|
+
})(() => ({}));
|
|
8
|
+
a.displayName = e;
|
|
9
|
+
export {
|
|
10
|
+
a as default
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./cjs/collection/CollectionList/index.js"),r=require("./cjs/collection/CollectionListItem/index.js"),i=require("./cjs/collection/CollectionRepresentativeThumbnail/index.js"),t=require("./cjs/collection/CollectionCard/index.js"),o=require("./cjs/entity/EntityIcon/index.js"),u=require("./cjs/entity/EntityAvatar/index.js"),s=require("./cjs/entity/EntityList/index.js"),c=require("./cjs/general/AvatarMenu/index.js"),d=require("./cjs/general/BlurredBackground/index.js"),x=require("./cjs/general/CalendarPicker/index.js"),a=require("./cjs/general/CompactBadge/index.js"),q=require("./cjs/general/CompactLabel/index.js"),$=require("./cjs/general/CornerLabelPlacer/index.js"),l=require("./cjs/general/ExpandButton/index.js"),m=require("./cjs/general/ImageCollage/index.js"),I=require("./cjs/general/MediaIcon/index.js"),p=require("./cjs/general/MenuItem/index.js"),T=require("./cjs/general/ScrubLine/index.js"),C=require("./cjs/general/Sort/index.js"),b=require("./cjs/general/TablePagination/index.js"),e=require("./cjs/general/ThemeContext/ThemeContext.js"),g=require("./cjs/item/ItemList/index.js"),h=require("./cjs/item/ItemListItem/index.js"),P=require("./cjs/item/ItemThumbnail/index.js"),B=require("./cjs/item/ItemCard/index.js"),L=require("./cjs/item/ItemTable/index.js"),S=require("./cjs/item/ItemTableRow/index.js"),v=require("./cjs/item/ItemPoster/index.js"),M=require("./cjs/item/ItemPosterViewer/index.js"),y=require("./cjs/item/ItemPosterList/index.js"),k=require("./cjs/inputs/BasicDateTimeInput/index.js"),E=require("./cjs/inputs/BooleanInput/index.js"),D=require("./cjs/inputs/CheckboxGroupInput/index.js"),R=require("./cjs/inputs/DateRangeInput/index.js"),w=require("./cjs/inputs/DateTimeInput/index.js"),A=require("./cjs/inputs/MaskedTextInput/index.js"),F=require("./cjs/inputs/NumberInput/index.js"),G=require("./cjs/inputs/RadioGroupInput/index.js"),f=require("./cjs/inputs/SelectInput/index.js"),j=require("./cjs/inputs/SliderInput/index.js"),z=require("./cjs/inputs/TagInput/index.js"),H=require("./cjs/inputs/TextInput/index.js"),N=require("./cjs/shape/ShapeMediaBadges/index.js"),O=require("./cjs/search/SearchFilterForm/index.js"),V=require("./cjs/transcode/TranscodePresetMediaBadges/index.js");exports.CollectionList=n;exports.CollectionListItem=r;exports.CollectionRepresentativeThumbnail=i;exports.CollectionCard=t;exports.EntityIcon=o;exports.EntityAvatar=u;exports.EntityList=s;exports.AvatarMenu=c;exports.BlurredBackground=d;exports.CalendarPicker=x;exports.CompactBadge=a;exports.CompactLabel=q;exports.CornerLabelPlacer=$;exports.ExpandButton=l;exports.ImageCollage=m;exports.MediaIcon=I;exports.MenuItem=p;exports.ScrubLine=T;exports.Sort=C;exports.TablePagination=b;exports.ThemeProvider=e.ThemeProvider;exports.useThemeContext=e.useThemeContext;exports.ItemList=g;exports.ItemListItem=h;exports.ItemThumbnail=P;exports.ItemCard=B;exports.ItemTable=L;exports.ItemTableRow=S;exports.ItemPoster=v;exports.ItemPosterViewer=M;exports.ItemPosterList=y;exports.BasicDateTimeInput=k;exports.BooleanInput=E;exports.CheckboxGroupInput=D;exports.DateRangeInput=R;exports.DateTimeInput=w;exports.MaskedTextInput=A;exports.NumberInput=F;exports.RadioGroupInput=G;exports.SelectInput=f;exports.SliderInput=j;exports.TagInput=z;exports.TextInput=H;exports.ShapeMediaBadges=N;exports.SearchFilterForm=O;exports.TranscodePresetMediaBadges=V;
|
package/dist/index.es.js
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { default as a } from "./es/collection/CollectionList/index.js";
|
|
2
|
+
import { default as r } from "./es/collection/CollectionListItem/index.js";
|
|
3
|
+
import { default as l } from "./es/collection/CollectionRepresentativeThumbnail/index.js";
|
|
4
|
+
import { default as u } from "./es/collection/CollectionCard/index.js";
|
|
5
|
+
import { default as d } from "./es/entity/EntityIcon/index.js";
|
|
6
|
+
import { default as x } from "./es/entity/EntityAvatar/index.js";
|
|
7
|
+
import { default as i } from "./es/entity/EntityList/index.js";
|
|
8
|
+
import { default as c } from "./es/general/AvatarMenu/index.js";
|
|
9
|
+
import { default as T } from "./es/general/BlurredBackground/index.js";
|
|
10
|
+
import { default as g } from "./es/general/CalendarPicker/index.js";
|
|
11
|
+
import { default as B } from "./es/general/CompactBadge/index.js";
|
|
12
|
+
import { default as h } from "./es/general/CompactLabel/index.js";
|
|
13
|
+
import { default as S } from "./es/general/CornerLabelPlacer/index.js";
|
|
14
|
+
import { default as v } from "./es/general/ExpandButton/index.js";
|
|
15
|
+
import { default as R } from "./es/general/ImageCollage/index.js";
|
|
16
|
+
import { default as D } from "./es/general/MediaIcon/index.js";
|
|
17
|
+
import { default as A } from "./es/general/MenuItem/index.js";
|
|
18
|
+
import { default as G } from "./es/general/ScrubLine/index.js";
|
|
19
|
+
import { default as V } from "./es/general/Sort/index.js";
|
|
20
|
+
import { default as q } from "./es/general/TablePagination/index.js";
|
|
21
|
+
import { ThemeProvider as H, useThemeContext as J } from "./es/general/ThemeContext/ThemeContext.js";
|
|
22
|
+
import { default as O } from "./es/item/ItemList/index.js";
|
|
23
|
+
import { default as U } from "./es/item/ItemListItem/index.js";
|
|
24
|
+
import { default as X } from "./es/item/ItemThumbnail/index.js";
|
|
25
|
+
import { default as Z } from "./es/item/ItemCard/index.js";
|
|
26
|
+
import { default as $ } from "./es/item/ItemTable/index.js";
|
|
27
|
+
import { default as te } from "./es/item/ItemTableRow/index.js";
|
|
28
|
+
import { default as oe } from "./es/item/ItemPoster/index.js";
|
|
29
|
+
import { default as fe } from "./es/item/ItemPosterViewer/index.js";
|
|
30
|
+
import { default as me } from "./es/item/ItemPosterList/index.js";
|
|
31
|
+
import { default as pe } from "./es/inputs/BasicDateTimeInput/index.js";
|
|
32
|
+
import { default as se } from "./es/inputs/BooleanInput/index.js";
|
|
33
|
+
import { default as ne } from "./es/inputs/CheckboxGroupInput/index.js";
|
|
34
|
+
import { default as Ie } from "./es/inputs/DateRangeInput/index.js";
|
|
35
|
+
import { default as Ce } from "./es/inputs/DateTimeInput/index.js";
|
|
36
|
+
import { default as be } from "./es/inputs/MaskedTextInput/index.js";
|
|
37
|
+
import { default as Le } from "./es/inputs/NumberInput/index.js";
|
|
38
|
+
import { default as Pe } from "./es/inputs/RadioGroupInput/index.js";
|
|
39
|
+
import { default as Me } from "./es/inputs/SelectInput/index.js";
|
|
40
|
+
import { default as ke } from "./es/inputs/SliderInput/index.js";
|
|
41
|
+
import { default as Ee } from "./es/inputs/TagInput/index.js";
|
|
42
|
+
import { default as ye } from "./es/inputs/TextInput/index.js";
|
|
43
|
+
import { default as we } from "./es/shape/ShapeMediaBadges/index.js";
|
|
44
|
+
import { default as Fe } from "./es/search/SearchFilterForm/index.js";
|
|
45
|
+
import { default as Ne } from "./es/transcode/TranscodePresetMediaBadges/index.js";
|
|
46
|
+
export {
|
|
47
|
+
c as AvatarMenu,
|
|
48
|
+
pe as BasicDateTimeInput,
|
|
49
|
+
T as BlurredBackground,
|
|
50
|
+
se as BooleanInput,
|
|
51
|
+
g as CalendarPicker,
|
|
52
|
+
ne as CheckboxGroupInput,
|
|
53
|
+
u as CollectionCard,
|
|
54
|
+
a as CollectionList,
|
|
55
|
+
r as CollectionListItem,
|
|
56
|
+
l as CollectionRepresentativeThumbnail,
|
|
57
|
+
B as CompactBadge,
|
|
58
|
+
h as CompactLabel,
|
|
59
|
+
S as CornerLabelPlacer,
|
|
60
|
+
Ie as DateRangeInput,
|
|
61
|
+
Ce as DateTimeInput,
|
|
62
|
+
x as EntityAvatar,
|
|
63
|
+
d as EntityIcon,
|
|
64
|
+
i as EntityList,
|
|
65
|
+
v as ExpandButton,
|
|
66
|
+
R as ImageCollage,
|
|
67
|
+
Z as ItemCard,
|
|
68
|
+
O as ItemList,
|
|
69
|
+
U as ItemListItem,
|
|
70
|
+
oe as ItemPoster,
|
|
71
|
+
me as ItemPosterList,
|
|
72
|
+
fe as ItemPosterViewer,
|
|
73
|
+
$ as ItemTable,
|
|
74
|
+
te as ItemTableRow,
|
|
75
|
+
X as ItemThumbnail,
|
|
76
|
+
be as MaskedTextInput,
|
|
77
|
+
D as MediaIcon,
|
|
78
|
+
A as MenuItem,
|
|
79
|
+
Le as NumberInput,
|
|
80
|
+
Pe as RadioGroupInput,
|
|
81
|
+
G as ScrubLine,
|
|
82
|
+
Fe as SearchFilterForm,
|
|
83
|
+
Me as SelectInput,
|
|
84
|
+
we as ShapeMediaBadges,
|
|
85
|
+
ke as SliderInput,
|
|
86
|
+
V as Sort,
|
|
87
|
+
q as TablePagination,
|
|
88
|
+
Ee as TagInput,
|
|
89
|
+
ye as TextInput,
|
|
90
|
+
H as ThemeProvider,
|
|
91
|
+
Ne as TranscodePresetMediaBadges,
|
|
92
|
+
J as useThemeContext
|
|
93
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vidispine/vdt-mui",
|
|
3
|
-
"version": "23.2.0
|
|
3
|
+
"version": "23.2.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"directory": "packages/vdt-mui"
|
|
14
14
|
},
|
|
15
15
|
"type": "module",
|
|
16
|
-
"main": "./dist/index.
|
|
17
|
-
"module": "./dist/index.js",
|
|
16
|
+
"main": "./dist/index.cjs.js",
|
|
17
|
+
"module": "./dist/index.es.js",
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
|
-
"import": "./dist/index.js",
|
|
21
|
-
"require": "./dist/index.
|
|
20
|
+
"import": "./dist/index.es.js",
|
|
21
|
+
"require": "./dist/index.cjs.js"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
@@ -27,7 +27,9 @@
|
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "yarn vite build",
|
|
29
29
|
"build:watch": "yarn vite build --watch --mode development",
|
|
30
|
-
"
|
|
30
|
+
"test": "jest --config ./tests/jest.config.cjs",
|
|
31
|
+
"test:watch": "yarn test --watchAll",
|
|
32
|
+
"lint": "eslint . --cache --max-warnings=0 --ext .js,.jsx,.ts,.tsx,.md,.mdx",
|
|
31
33
|
"format": "prettier . --check",
|
|
32
34
|
"new:component": "hygen new component"
|
|
33
35
|
},
|
|
@@ -35,9 +37,11 @@
|
|
|
35
37
|
"@mui/icons-material": "^5.11.9",
|
|
36
38
|
"@mui/lab": "^5.0.0-alpha.120",
|
|
37
39
|
"@mui/material": "^5.11.10",
|
|
38
|
-
"@vidispine/
|
|
39
|
-
"@vidispine/
|
|
40
|
-
"@vidispine/vdt-
|
|
40
|
+
"@vidispine/proptypes": "23.2.0",
|
|
41
|
+
"@vidispine/types": "23.2.0",
|
|
42
|
+
"@vidispine/vdt-api": "23.2.0",
|
|
43
|
+
"@vidispine/vdt-js": "23.2.0",
|
|
44
|
+
"@vidispine/vdt-react": "23.2.0",
|
|
41
45
|
"clsx": "^1.2.1"
|
|
42
46
|
},
|
|
43
47
|
"peerDependencies": {
|
|
@@ -49,21 +53,20 @@
|
|
|
49
53
|
"react-imask": "^6.4.3"
|
|
50
54
|
},
|
|
51
55
|
"devDependencies": {
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
54
|
-
"@vidispine/eslint-config-
|
|
55
|
-
"@vidispine/
|
|
56
|
-
"@vidispine/
|
|
57
|
-
"@vidispine/
|
|
58
|
-
"@vidispine/proptypes": "23.2.0-pre.2",
|
|
56
|
+
"@vidispine/eslint-config-mdx": "23.2.0",
|
|
57
|
+
"@vidispine/eslint-config-react": "23.2.0",
|
|
58
|
+
"@vidispine/eslint-config-storybook": "23.2.0",
|
|
59
|
+
"@vidispine/prettier-config": "23.2.0",
|
|
60
|
+
"@vidispine/proptypes": "23.2.0",
|
|
61
|
+
"@vidispine/tests": "23.2.0",
|
|
59
62
|
"@vitejs/plugin-react": "3.1.0",
|
|
63
|
+
"babel-plugin-transform-import": "1.5.4",
|
|
60
64
|
"eslint": "8.34.0",
|
|
61
65
|
"hygen": "6.2.11",
|
|
62
66
|
"prettier": "2.8.4",
|
|
63
67
|
"prop-types": "15.8.1",
|
|
64
|
-
"react-hook-form": "^7.39.7",
|
|
65
68
|
"rimraf": "3.0.2",
|
|
66
|
-
"vite": "4.
|
|
69
|
+
"vite": "4.3.1"
|
|
67
70
|
},
|
|
68
71
|
"eslintConfig": {
|
|
69
72
|
"extends": [
|
|
@@ -122,7 +125,20 @@
|
|
|
122
125
|
"newlines-between": "always"
|
|
123
126
|
}
|
|
124
127
|
]
|
|
125
|
-
}
|
|
128
|
+
},
|
|
129
|
+
"overrides": [
|
|
130
|
+
{
|
|
131
|
+
"files": [
|
|
132
|
+
"*.test.[jt]s?(x)"
|
|
133
|
+
],
|
|
134
|
+
"extends": [
|
|
135
|
+
"plugin:testing-library/react"
|
|
136
|
+
],
|
|
137
|
+
"rules": {
|
|
138
|
+
"testing-library/no-debugging-utils": "warn"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
]
|
|
126
142
|
},
|
|
127
143
|
"prettier": "@vidispine/prettier-config"
|
|
128
144
|
}
|