@vidispine/vdt-mui 23.3.0-pre.6 → 23.4.0-pre.1
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/isDefinedValue.js +1 -1
- package/dist/cjs/entity/EntityCard/components/EntityCardHeader.js +1 -1
- package/dist/cjs/general/Form/Form.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/inputs/DateTimeInput/index.js +1 -1
- package/dist/cjs/inputs/NumberInput/NumberInput.js +1 -1
- package/dist/cjs/inputs/NumberInput/index.js +1 -1
- package/dist/cjs/inputs/SelectInput/index.js +1 -1
- package/dist/cjs/metadata/MetadataForm/MetadataForm.js +1 -0
- package/dist/cjs/metadata/MetadataForm/hooks/UseMetadataFormInputs.js +1 -0
- package/dist/cjs/metadata/MetadataForm/index.js +1 -0
- package/dist/es/_types.d.ts +1 -0
- package/dist/es/_utils/isDefinedValue.js +1 -1
- package/dist/es/_utils/withOverrides.d.ts +1 -2
- package/dist/es/entity/EntityCard/components/EntityCardHeader.d.ts +2 -1
- package/dist/es/entity/EntityCard/components/EntityCardHeader.js +25 -25
- package/dist/es/event/EventList/index.d.ts +2 -1
- package/dist/es/event/EventListItem/index.d.ts +2 -1
- package/dist/es/general/CalendarPicker/components/PickersDay.d.ts +1 -2
- package/dist/es/general/Form/Form.d.ts +4 -6
- package/dist/es/general/Form/Form.js +92 -91
- package/dist/es/general/MediaIcon/MediaIcon.d.ts +13 -10
- package/dist/es/general/Sort/Sort.d.ts +1 -3
- package/dist/es/index.d.ts +1 -0
- package/dist/es/index.js +42 -38
- package/dist/es/inputs/CheckboxGroupInput/components/CheckboxGroup.d.ts +1 -2
- package/dist/es/inputs/DateTimeInput/index.js +4 -4
- package/dist/es/inputs/MaskedTextInput/components/MaskedInputComponent.d.ts +2 -3
- package/dist/es/inputs/NumberInput/NumberInput.js +8 -8
- package/dist/es/inputs/NumberInput/index.js +3 -3
- package/dist/es/inputs/RadioGroupInput/components/RadioGroup.d.ts +1 -2
- package/dist/es/inputs/SelectInput/index.js +3 -3
- package/dist/es/inputs/SliderInput/components/Slider.d.ts +1 -2
- package/dist/es/metadata/MetadataForm/MetadataForm.d.ts +65 -0
- package/dist/es/metadata/MetadataForm/MetadataForm.js +70 -0
- package/dist/es/metadata/MetadataForm/hooks/UseMetadataFormInputs.d.ts +98 -0
- package/dist/es/metadata/MetadataForm/hooks/UseMetadataFormInputs.js +98 -0
- package/dist/es/metadata/MetadataForm/index.d.ts +3 -0
- package/dist/es/metadata/MetadataForm/index.js +12 -0
- package/dist/es/metadata/MetadataGroupTreeView/index.d.ts +2 -1
- package/dist/es/metadata/index.d.ts +1 -0
- package/dist/es/search/SearchFilterForm/hooks/UseSearchFilterFormInputs.d.ts +9 -10
- package/package.json +19 -19
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=(e,{includeDateRange:r=!1}={})=>Array.isArray(e)?e.length!==0&&e.every(t=>![null,void 0].includes(t)):r&&typeof e=="object"?!!(e!=null&&e.start)||!!(e!=null&&e.end):![null,void 0].includes(e);exports.isDefinedValue=i;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=(e,{includeDateRange:r=!1}={})=>Array.isArray(e)?e.length!==0&&e.every(t=>![null,void 0].includes(t)):r&&typeof e=="object"?!!(e!=null&&e.start)||!!(e!=null&&e.end):!["",null,void 0].includes(e);exports.isDefinedValue=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),q=require("@mui/material/CardHeader"),d=require("@mui/material/styles"),H=require("../../EntityAvatar/index.js"),
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),q=require("@mui/material/CardHeader"),d=require("@mui/material/styles"),H=require("../../EntityAvatar/index.js"),k=require("../../../general/AvatarMenu/index.js"),o=require("../../_utils/getEntityText.js"),W=require("../../_utils/getEntityProp.js"),j=d.styled(q)(({avatar:t,action:r})=>{const i=t?56:0,n=r?40+16:0;return{display:"inline-block",padding:16,width:"inherit","& .MuiCardHeader-avatar":{float:"left"},"& .MuiCardHeader-content":{float:"left",width:`calc(100% - ${i}px - ${n}px)`},"& .MuiCardHeader-action":{marginTop:0,float:"right"},float:"none"}}),A=d.styled(H)(({theme:t})=>({backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.54)":"#fff"})),O=d.styled(k)(({theme:t})=>({marginLeft:16,"& .MuiAvatar-root":{color:t.palette.mode==="light"?"rgba(0, 0, 0, 0.54)":"#fff",backgroundColor:"transparent","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.08)"}}})),y=({itemType:t,collectionType:r,title:i,subheader:n,menuOptions:a,onOptionClick:h,entityAvatar:u,avatarMenu:e,...f})=>{var l,p,g;const m=o.getEntityText(i,{itemType:t,collectionType:r}),x=o.getEntityText(n,{itemType:t,collectionType:r}),c=o.getEntityText("mimeType",{itemType:t}),b=(p=(l=typeof c=="string"?c:void 0)==null?void 0:l.split("/"))==null?void 0:p[0],C=o.getEntityText("mediaType",{itemType:t})||b,E=(P,T)=>{h(P,{option:T,...W.getEntityProp({itemType:t,collectionType:r})})};return s.jsx(j,{title:m,subheader:x,titleTypographyProps:{noWrap:!0},subheaderTypographyProps:{noWrap:!0},avatar:s.jsx(A,{entityType:t&&"item"||r&&"collection"||"library",mediaType:C,...u??{}}),action:a&&s.jsx(O,{minWidth:"unset",options:a,onOptionClick:E,componentsProps:{menu:{anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...((g=e==null?void 0:e.componentsProps)==null?void 0:g.menu)||{}},...(e==null?void 0:e.componentsProps)||{}},...e??{}}),...f})};y.defaultProps={};const S=y;module.exports=S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),y=require("react"),E=require("react-hook-form"),G=require("@mui/material/Box"),C=require("@mui/material/Button"),nt=require("@mui/material/ButtonGroup"),M=require("@mui/material/styles"),rt=M.styled(nt)(({theme:o})=>({marginTop:o.spacing(2),marginBottom:o.spacing(2),display:"flex",justifyContent:"center"})),ut=M.styled(G)(({theme:o})=>({"&:not(:first-of-type)":{paddingTop:o.spacing(2)}})),it={Root:G,InputContainer:ut,Controller:E.Controller,ButtonGroup:rt,ClearButton:C,ResetButton:C,SubmitButton:C},T=({inputs:o,inputProps:D,formProps:F,formReturnRef:h,size:g,variant:I,clearText:O,resetText:J,submitText:N,onClear:d,onReset:f,onChange:m,onSubmit:p,onError:b,components:w,componentsProps:r})=>{const{Root:H,InputContainer:W,Controller:_,ButtonGroup:$,ClearButton:z,ResetButton:A,SubmitButton:K}=w,j=y.useRef(),q=({multiple:t,range:e})=>t||e?[]:"",i=o.reduce((t,{name:e,defaultValue:s,...a})=>({...t,[e]:s||q(a)}),{}),R=E.useForm({defaultValues:i,...F||{}});h&&(h.current=R);const{handleSubmit:L,control:Q,reset:c,watch:V,formState:l}=R,{defaultValues:S,isDirty:v}=l,U=Object.keys((l==null?void 0:l.errors)||{}).length>0,X=t=>{const e=o.reduce((s,{name:a,defaultValue:P,...x})=>({...s,[a]:q(x)}),{});d&&d(t,e),c(e,{keepDefaultValues:!0})},Y=t=>{f&&f(t,i),c(i)};y.useEffect(()=>{const t=m?V(e=>m(j.current,e)):void 0;return()=>t==null?void 0:t.unsubscribe()},[m,V]);const Z=t=>typeof(t==null?void 0:t.required)=="string"||(t==null?void 0:t.required)===!0;return y.useEffect(()=>{JSON.stringify(i)!==JSON.stringify(S)&&c(i)},[i,S,c]),n.jsxs(H,{component:"form",onSubmit:L((t,e)=>typeof p=="function"&&p(e,t),(t,e)=>typeof b=="function"&&b(e,t)),...r.root,children:[o==null?void 0:o.map(({Component:t,name:e,rules:s,label:a,defaultValue:P,...x})=>n.jsx(W,{...r.inputContainer,children:n.jsx(_,{control:Q,name:e,rules:s,render:({field:{onChange:tt,...et},formState:{errors:B}})=>{var k;return n.jsx(t,{onChange:(ot,u)=>{j.current=ot,tt((u==null?void 0:u.value)!==void 0?u==null?void 0:u.value:u)},error:(k=B==null?void 0:B[e])==null?void 0:k.message,size:g,variant:I,label:Z(s)?`${a} *`:a,...et,...D||{},...x})},...r.controller})},e)),n.jsxs($,{variant:"text",size:g,fullWidth:!0,...r.buttonGroup,children:[d&&n.jsx(z,{onClick:X,...r.clearButton,children:O}),f&&n.jsx(A,{onClick:Y,disabled:!v,...r.resetButton,children:J}),p&&n.jsx(K,{type:"submit",disabled:U||!v,...r.submitButton,children:N})]})]})};T.defaultProps={inputs:[],inputProps:void 0,formProps:void 0,formReturn:void 0,variant:"standard",size:"medium",clearText:"Clear",resetText:"Reset",submitText:"Submit",onClear:void 0,onReset:void 0,onChange:void 0,onSubmit:void 0,onError:void 0,components:it,componentsProps:void 0};const st=T;module.exports=st;
|
package/dist/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./collection/CollectionList/index.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./collection/CollectionList/index.js"),r=require("./collection/CollectionListItem/index.js"),i=require("./collection/CollectionRepresentativeThumbnail/index.js"),t=require("./collection/CollectionCard/index.js"),o=require("./entity/EntityIcon/index.js"),u=require("./entity/EntityAvatar/index.js"),s=require("./entity/EntityList/index.js"),d=require("./general/AvatarMenu/index.js"),c=require("./general/BlurredBackground/index.js"),x=require("./general/CalendarPicker/index.js"),a=require("./general/CompactBadge/index.js"),q=require("./general/CompactLabel/index.js"),$=require("./general/CornerLabelPlacer/index.js"),m=require("./general/ExpandButton/index.js"),l=require("./general/ImageCollage/index.js"),I=require("./general/MediaIcon/index.js"),p=require("./general/MenuItem/index.js"),T=require("./general/VirtualizedList/index.js"),C=require("./general/ScrubLine/index.js"),b=require("./general/Sort/index.js"),L=require("./general/TablePagination/index.js"),g=require("./general/Form/index.js"),e=require("./general/ThemeContext/ThemeContext.js"),h=require("./item/ItemList/index.js"),M=require("./item/ItemListItem/index.js"),P=require("./item/ItemThumbnail/index.js"),v=require("./item/ItemCard/index.js"),B=require("./item/ItemTable/index.js"),S=require("./item/ItemTableRow/index.js"),E=require("./item/ItemPoster/index.js"),y=require("./item/ItemPosterViewer/index.js"),k=require("./item/ItemPosterList/index.js"),F=require("./inputs/BasicDateTimeInput/index.js"),w=require("./inputs/BooleanInput/index.js"),D=require("./inputs/CheckboxGroupInput/index.js"),G=require("./inputs/DateRangeInput/index.js"),R=require("./inputs/DateTimeInput/index.js"),A=require("./inputs/MaskedTextInput/index.js"),V=require("./inputs/NumberInput/index.js"),f=require("./inputs/RadioGroupInput/index.js"),j=require("./inputs/SelectInput/index.js"),z=require("./inputs/SliderInput/index.js"),N=require("./inputs/TagInput/index.js"),H=require("./inputs/TextInput/index.js"),J=require("./shape/ShapeMediaBadges/index.js"),K=require("./search/SearchFilterForm/index.js"),O=require("./transcode/TranscodePresetMediaBadges/index.js"),Q=require("./event/EventList/index.js"),U=require("./event/EventListItem/index.js"),W=require("./metadata/MetadataGroupTreeView/index.js"),X=require("./metadata/MetadataForm/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=d;exports.BlurredBackground=c;exports.CalendarPicker=x;exports.CompactBadge=a;exports.CompactLabel=q;exports.CornerLabelPlacer=$;exports.ExpandButton=m;exports.ImageCollage=l;exports.MediaIcon=I;exports.MenuItem=p;exports.VirtualizedList=T;exports.ScrubLine=C;exports.Sort=b;exports.TablePagination=L;exports.Form=g;exports.ThemeProvider=e.ThemeProvider;exports.useThemeContext=e.useThemeContext;exports.ItemList=h;exports.ItemListItem=M;exports.ItemThumbnail=P;exports.ItemCard=v;exports.ItemTable=B;exports.ItemTableRow=S;exports.ItemPoster=E;exports.ItemPosterViewer=y;exports.ItemPosterList=k;exports.BasicDateTimeInput=F;exports.BooleanInput=w;exports.CheckboxGroupInput=D;exports.DateRangeInput=G;exports.DateTimeInput=R;exports.MaskedTextInput=A;exports.NumberInput=V;exports.RadioGroupInput=f;exports.SelectInput=j;exports.SliderInput=z;exports.TagInput=N;exports.TextInput=H;exports.ShapeMediaBadges=J;exports.SearchFilterForm=K;exports.TranscodePresetMediaBadges=O;exports.EventList=Q;exports.EventListItem=U;exports.MetadataGroupTreeView=W;exports.MetadataForm=X;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("@mui/material/styles"),r=require("./DateTimeInput.js"),i=require("../../_utils/withOverrides.js"),e="DateTimeInput",t=`Vdt${e}`,c=i.withOverrides(t)(r),
|
|
1
|
+
"use strict";const n=require("@mui/material/styles"),r=require("./DateTimeInput.js"),i=require("../../_utils/withOverrides.js"),e="DateTimeInput",t=`Vdt${e}`,c=i.withOverrides(t)(r),s=n.styled(c,{name:t,overridesResolver:(m,o)=>o.root})({});s.displayName=e;const d=s;module.exports=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const V=require("react/jsx-runtime"),w=require("@mui/material/TextField"),y={Root:w},d=({name:
|
|
1
|
+
"use strict";const V=require("react/jsx-runtime"),w=require("@mui/material/TextField"),y={Root:w},d=({name:n,label:a,value:t,defaultValue:c,helperText:r,error:e,required:v,disabled:m,fullWidth:p,variant:f,size:x,onChange:C,onBlur:g,onFocus:h,components:b,componentsProps:T})=>{const{Root:q}=b,F=o=>{var i,s,u;const P=["",void 0].includes((i=o==null?void 0:o.target)==null?void 0:i.value)?(s=o==null?void 0:o.target)==null?void 0:s.value:Number((u=o==null?void 0:o.target)==null?void 0:u.value);C(o,{value:P})},R=t!==void 0,l=!!e,j=(e||"").trim();return V.jsx(q,{id:n,name:n,label:a,...R?{value:t===null?"":t}:{defaultValue:c},helperText:(j||r)&&l?e:r,error:l,required:v,disabled:m,fullWidth:p,variant:f,size:x,type:"number",autoComplete:"off",onChange:F,onBlur:g,onFocus:h,...T.root})};d.defaultProps={name:void 0,label:void 0,value:void 0,defaultValue:void 0,helperText:void 0,error:void 0,required:!1,disabled:!1,fullWidth:!0,variant:"outlined",size:"medium",onChange:()=>null,onBlur:void 0,onFocus:void 0,components:y,componentsProps:void 0};const z=d;module.exports=z;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const o=require("@mui/material/styles"),n=require("./NumberInput.js"),i=require("../../_utils/withOverrides.js"),e="NumberInput",t=`Vdt${e}`,c=i.withOverrides(t)(n),r=o.styled(c,{name:t,overridesResolver:(d,s)=>s.root})({});r.displayName=e;const u=r;module.exports=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("@mui/material/styles"),r=require("./SelectInput.js"),c=require("../../_utils/withOverrides.js"),e="SelectInput",t=`Vdt${e}`,i=c.withOverrides(t)(r),
|
|
1
|
+
"use strict";const n=require("@mui/material/styles"),r=require("./SelectInput.js"),c=require("../../_utils/withOverrides.js"),e="SelectInput",t=`Vdt${e}`,i=c.withOverrides(t)(r),s=n.styled(i,{name:t,overridesResolver:(l,o)=>o.root})({});s.displayName=e;const d=s;module.exports=d;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const u=require("react/jsx-runtime"),T=require("react"),g=require("@mui/material/Box"),l=require("@vidispine/vdt-js"),P=require("../../general/Form/index.js"),S=require("./hooks/UseMetadataFormInputs.js"),B={Root:g,Form:P},p=({fieldList:f,metadata:m,dataToPropsMap:h,inputsProps:v,onReset:x,onChange:n,onSubmit:r,onError:s,components:y,componentsProps:i})=>{const{Root:R,Form:F}=y,d=T.useRef(),a=t=>{const e=Object.keys(d.current.formState.dirtyFields);return Object.keys(t).reduce((C,o)=>{const c={...C};return e.includes(o)&&(c[o]=t[o]),c},{})},b=S({fieldList:f,metadata:m,dataToPropsMap:h,inputsProps:v}),q=typeof n!="function"?void 0:(t,e)=>{n(t,{values:e,metadata:l.createMetadataType(a(e))})},M=typeof r!="function"?void 0:(t,e)=>{r(t,{values:e,metadata:l.createMetadataType(a(e))})},j=typeof s!="function"?void 0:s;return u.jsx(R,{...i.root,children:u.jsx(F,{inputs:b,onReset:x,onChange:q,onSubmit:M,onError:j,formReturnRef:d,...i.form})})};p.defaultProps={fieldList:void 0,metadata:void 0,dataToPropsMap:{label:"label",helperText:"description",placeholder:"placeholder"},inputsProps:void 0,onReset:void 0,onChange:void 0,onSubmit:void 0,onError:void 0,components:B,componentsProps:void 0};const E=p;module.exports=E;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const i=require("react"),E=require("@vidispine/vdt-js"),_=require("../../../inputs/DateRangeInput/index.js"),k=require("../../../inputs/DateTimeInput/index.js"),A=require("../../../inputs/NumberInput/index.js"),U=require("../../../inputs/SelectInput/index.js"),j=require("../../../inputs/SliderInput/index.js"),p=require("../../../inputs/TagInput/index.js"),G=require("../../../inputs/TextInput/index.js"),J="Invalid value",w={TextInput:G,TagInput:p,SliderInput:j,DateRangeInput:_,DateTimeInput:k,NumberInput:A,SelectInput:U},z=({fieldList:d,metadata:I,dataToPropsMap:g,errorMessages:l,inputsProps:u})=>{const{TextInput:a,TagInput:f,DateTimeInput:x,NumberInput:q,SelectInput:b}=w,o=i.useMemo(()=>E.parseFieldDefinitionList(d),[d]),v=i.useMemo(()=>E.parseMetadataType(I,{flat:!0}),[I]),T=i.useCallback(e=>{const n=t=>{const c=e==null?void 0:e[t],r=l==null?void 0:l[t];if(c!==void 0)return{value:c,message:(typeof r=="function"?r(t):r)||J}};return{required:n("required"),minLength:n("minLength"),maxLength:n("maxLength"),min:n("minInclusive"),max:n("maxInclusive"),pattern:n("pattern")}},[l]),$=e=>["float","integer","long"].includes(e),R=e=>["string","string-exact"].includes(e),C=e=>e==="date",h=i.useCallback(({type:e,options:n,currentValue:t})=>R(e)?{freeSolo:!n.length,multiple:(t==null?void 0:t.length)>1}:{},[]),D=i.useCallback(({type:e},n,t)=>R(e)?(n==null?void 0:n.length)>1?f:t!=null&&t.length?b:a:$(e)?q:C(e)?x:a,[x,q,b,f,a]);return i.useMemo(()=>o==null?void 0:o.map(({name:e,restrictions:n,options:t,type:c,data:r,system:F})=>{const N={...(u==null?void 0:u[c])||{},...(u==null?void 0:u[e])||{}},L=T(n),s=v[e]||void 0,O={label:e,defaultValue:s||"",options:t,rules:L,disabled:F,...Object.fromEntries(Object.entries(g).map(([m,S])=>r[S]?[m,r[S]]:void 0).filter(m=>!!m)),...N},M={...h({type:c,options:t,currentValue:s}),...O};return{name:e,Component:D({type:c},s,t),...M}}),[g,D,h,T,u,o,v])},B=z;module.exports=B;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("@mui/material/styles"),n=require("./MetadataForm.js"),i=require("../../_utils/withOverrides.js"),e="MetadataForm",t=`Vdt${e}`,d=i.withOverrides(t)(n),o=s.styled(d,{name:t,overridesResolver:(c,r)=>r.root})({});o.displayName=e;const a=o;module.exports=a;
|
package/dist/es/_types.d.ts
CHANGED
|
@@ -19,3 +19,4 @@ export type ComponentsProps<TComponents> = {
|
|
|
19
19
|
[Key in Extract<keyof TComponents, string> as Uncapitalize<Key>]?: Partial<PropsFrom<TComponents[Key]>>;
|
|
20
20
|
};
|
|
21
21
|
export type StyledComponent<TComponent extends (props?: any) => any, TAdditionalProps extends any = unknown> = (props?: Partial<PropsFrom<TComponent>> & TAdditionalProps) => ReturnType<TComponent>;
|
|
22
|
+
export type ArrayElement<ArrayType> = ArrayType extends readonly (infer ElementType)[] ? ElementType : never;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const t = (e, {
|
|
2
2
|
includeDateRange: r = !1
|
|
3
|
-
} = {}) => Array.isArray(e) ? e.length !== 0 && e.every((n) => ![null, void 0].includes(n)) : r && typeof e == "object" ? !!(e != null && e.start) || !!(e != null && e.end) : ![null, void 0].includes(e);
|
|
3
|
+
} = {}) => Array.isArray(e) ? e.length !== 0 && e.every((n) => ![null, void 0].includes(n)) : r && typeof e == "object" ? !!(e != null && e.start) || !!(e != null && e.end) : !["", null, void 0].includes(e);
|
|
4
4
|
export {
|
|
5
5
|
t as isDefinedValue
|
|
6
6
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { ComponentType, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from 'react';
|
|
2
1
|
interface OverridesProps {
|
|
3
2
|
className: string;
|
|
4
3
|
components: any;
|
|
5
4
|
componentsProps: any;
|
|
6
5
|
}
|
|
7
|
-
export declare const withOverrides: (name: string) => <P extends Partial<OverridesProps> = {}>(Component: ComponentType<P>) => ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<any>>;
|
|
6
|
+
export declare const withOverrides: (name: string) => <P extends Partial<OverridesProps> = {}>(Component: import("react").ComponentType<P>) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<any>>;
|
|
8
7
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { CardHeaderProps as MuiCardHeaderProps } from '@mui/material';
|
|
3
3
|
import type { CollectionType, ItemType } from '@vidispine/types';
|
|
4
|
+
import { ArrayElement } from '../../../_types';
|
|
4
5
|
import { EntityAvatarProps } from '../../EntityAvatar/EntityAvatar';
|
|
5
6
|
import type { AvatarMenuProps } from '../../../general/AvatarMenu/AvatarMenu';
|
|
6
7
|
export interface EntityCardHeaderProps extends Omit<MuiCardHeaderProps, 'itemType' | 'title' | 'subheader'> {
|
|
@@ -16,7 +17,7 @@ export interface EntityCardHeaderProps extends Omit<MuiCardHeaderProps, 'itemTyp
|
|
|
16
17
|
}) => string);
|
|
17
18
|
menuOptions?: AvatarMenuProps['options'];
|
|
18
19
|
onOptionClick?: (event: React.MouseEvent<HTMLLIElement, MouseEvent>, payload: {
|
|
19
|
-
option: AvatarMenuProps['options']
|
|
20
|
+
option: ArrayElement<AvatarMenuProps['options']>;
|
|
20
21
|
} & ({
|
|
21
22
|
itemType?: ItemType;
|
|
22
23
|
} | {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import A from "@mui/material/CardHeader";
|
|
3
3
|
import { styled as d } from "@mui/material/styles";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import E from "../../EntityAvatar/index.js";
|
|
5
|
+
import W from "../../../general/AvatarMenu/index.js";
|
|
6
6
|
import { getEntityText as i } from "../../_utils/getEntityText.js";
|
|
7
|
-
import { getEntityProp as
|
|
8
|
-
const O = d(
|
|
7
|
+
import { getEntityProp as T } from "../../_utils/getEntityProp.js";
|
|
8
|
+
const O = d(A)(({
|
|
9
9
|
avatar: t,
|
|
10
10
|
action: r
|
|
11
11
|
}) => {
|
|
@@ -27,11 +27,11 @@ const O = d(k)(({
|
|
|
27
27
|
},
|
|
28
28
|
float: "none"
|
|
29
29
|
};
|
|
30
|
-
}), S = d(
|
|
30
|
+
}), S = d(E)(({
|
|
31
31
|
theme: t
|
|
32
32
|
}) => ({
|
|
33
33
|
backgroundColor: t.palette.mode === "light" ? "rgba(0, 0, 0, 0.54)" : "#fff"
|
|
34
|
-
})),
|
|
34
|
+
})), v = d(W)(({
|
|
35
35
|
theme: t
|
|
36
36
|
}) => ({
|
|
37
37
|
marginLeft: 16,
|
|
@@ -42,42 +42,42 @@ const O = d(k)(({
|
|
|
42
42
|
backgroundColor: "rgba(255, 255, 255, 0.08)"
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
})),
|
|
45
|
+
})), f = ({
|
|
46
46
|
itemType: t,
|
|
47
47
|
collectionType: r,
|
|
48
48
|
title: e,
|
|
49
49
|
subheader: n,
|
|
50
50
|
menuOptions: p,
|
|
51
|
-
onOptionClick:
|
|
51
|
+
onOptionClick: g,
|
|
52
52
|
entityAvatar: h,
|
|
53
53
|
avatarMenu: o,
|
|
54
|
-
...
|
|
54
|
+
...y
|
|
55
55
|
}) => {
|
|
56
|
-
var l,
|
|
57
|
-
const
|
|
56
|
+
var l, m, c;
|
|
57
|
+
const b = i(e, {
|
|
58
58
|
itemType: t,
|
|
59
59
|
collectionType: r
|
|
60
|
-
}),
|
|
60
|
+
}), C = i(n, {
|
|
61
61
|
itemType: t,
|
|
62
62
|
collectionType: r
|
|
63
|
-
}),
|
|
63
|
+
}), s = i("mimeType", {
|
|
64
64
|
itemType: t
|
|
65
|
-
})) == null ? void 0 : l.split("/")) == null ? void 0 :
|
|
65
|
+
}), u = (m = (l = typeof s == "string" ? s : void 0) == null ? void 0 : l.split("/")) == null ? void 0 : m[0], x = i("mediaType", {
|
|
66
66
|
itemType: t
|
|
67
|
-
}) ||
|
|
68
|
-
|
|
69
|
-
option:
|
|
70
|
-
...
|
|
67
|
+
}) || u, H = (P, k) => {
|
|
68
|
+
g(P, {
|
|
69
|
+
option: k,
|
|
70
|
+
...T({
|
|
71
71
|
itemType: t,
|
|
72
72
|
collectionType: r
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
};
|
|
76
|
-
return /* @__PURE__ */ a(O, { title:
|
|
76
|
+
return /* @__PURE__ */ a(O, { title: b, subheader: C, titleTypographyProps: {
|
|
77
77
|
noWrap: !0
|
|
78
78
|
}, subheaderTypographyProps: {
|
|
79
79
|
noWrap: !0
|
|
80
|
-
}, avatar: /* @__PURE__ */ a(S, { entityType: t && "item" || r && "collection" || "library", mediaType:
|
|
80
|
+
}, avatar: /* @__PURE__ */ a(S, { entityType: t && "item" || r && "collection" || "library", mediaType: x, ...h ?? {} }), action: p && /* @__PURE__ */ a(v, { minWidth: "unset", options: p, onOptionClick: H, componentsProps: {
|
|
81
81
|
menu: {
|
|
82
82
|
anchorOrigin: {
|
|
83
83
|
vertical: "bottom",
|
|
@@ -90,10 +90,10 @@ const O = d(k)(({
|
|
|
90
90
|
...((c = o == null ? void 0 : o.componentsProps) == null ? void 0 : c.menu) || {}
|
|
91
91
|
},
|
|
92
92
|
...(o == null ? void 0 : o.componentsProps) || {}
|
|
93
|
-
}, ...o ?? {} }), ...
|
|
93
|
+
}, ...o ?? {} }), ...y });
|
|
94
94
|
};
|
|
95
|
-
|
|
96
|
-
const
|
|
95
|
+
f.defaultProps = {};
|
|
96
|
+
const B = f;
|
|
97
97
|
export {
|
|
98
|
-
|
|
98
|
+
B as default
|
|
99
99
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
1
|
/// <reference types="react" />
|
|
3
2
|
import { Dayjs } from 'dayjs';
|
|
4
3
|
import { PickersDayProps } from '@mui/x-date-pickers';
|
|
@@ -11,5 +10,5 @@ export interface VdtPickersDayProps extends CustomPickerDayProps {
|
|
|
11
10
|
} | string | number;
|
|
12
11
|
locale?: string;
|
|
13
12
|
}
|
|
14
|
-
declare const VdtPickersDay: ForwardRefExoticComponent<Pick<VdtPickersDayProps, keyof VdtPickersDayProps> & RefAttributes<any>>;
|
|
13
|
+
declare const VdtPickersDay: import("react").ForwardRefExoticComponent<Pick<VdtPickersDayProps, keyof VdtPickersDayProps> & import("react").RefAttributes<any>>;
|
|
15
14
|
export default VdtPickersDay;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Controller as ReactHookFormController, FieldErrorsImpl, UseFormReturn } from 'react-hook-form';
|
|
2
|
+
import { Controller as ReactHookFormController, FieldErrorsImpl, UseFormReturn } from '../../../../../node_modules/react-hook-form/dist/index.d.ts';
|
|
3
3
|
import { Box as MuiBox, Button as MuiButton, ButtonGroup as MuiButtonGroup } from '@mui/material';
|
|
4
4
|
import type { WithOverrideProps } from '../../_types';
|
|
5
|
-
import type { UseControllerProps, UseFormProps } from 'react-hook-form';
|
|
5
|
+
import type { UseControllerProps, UseFormProps } from '../../../../../node_modules/react-hook-form/dist/index.d.ts';
|
|
6
6
|
declare const StyledMuiButtonGroup: typeof MuiButtonGroup;
|
|
7
7
|
declare const StyledMuiBoxInputContainer: typeof MuiBox;
|
|
8
8
|
declare const defaultComponents: {
|
|
@@ -78,11 +78,9 @@ export interface FormProps extends WithOverrideProps<typeof defaultComponents> {
|
|
|
78
78
|
*/
|
|
79
79
|
formProps?: UseFormProps;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
* _e.g. store in a "ref" to interact with the form_
|
|
81
|
+
* Store what's returned from useForm in a ref
|
|
84
82
|
*/
|
|
85
|
-
|
|
83
|
+
formReturnRef?: React.MutableRefObject<UseFormReturn>;
|
|
86
84
|
/**
|
|
87
85
|
* Set variant of filter inputs
|
|
88
86
|
*/
|
|
@@ -1,132 +1,133 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { useForm as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { styled as
|
|
8
|
-
const
|
|
1
|
+
import { jsxs as T, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as nt, useEffect as j } from "react";
|
|
3
|
+
import { useForm as rt, Controller as it } from "react-hook-form";
|
|
4
|
+
import k from "@mui/material/Box";
|
|
5
|
+
import y from "@mui/material/Button";
|
|
6
|
+
import ut from "@mui/material/ButtonGroup";
|
|
7
|
+
import { styled as D } from "@mui/material/styles";
|
|
8
|
+
const at = D(ut)(({
|
|
9
9
|
theme: o
|
|
10
10
|
}) => ({
|
|
11
11
|
marginTop: o.spacing(2),
|
|
12
12
|
marginBottom: o.spacing(2),
|
|
13
13
|
display: "flex",
|
|
14
14
|
justifyContent: "center"
|
|
15
|
-
})),
|
|
15
|
+
})), lt = D(k)(({
|
|
16
16
|
theme: o
|
|
17
17
|
}) => ({
|
|
18
18
|
"&:not(:first-of-type)": {
|
|
19
19
|
paddingTop: o.spacing(2)
|
|
20
20
|
}
|
|
21
|
-
})),
|
|
22
|
-
Root:
|
|
23
|
-
InputContainer:
|
|
24
|
-
Controller:
|
|
25
|
-
ButtonGroup:
|
|
26
|
-
ClearButton:
|
|
27
|
-
ResetButton:
|
|
28
|
-
SubmitButton:
|
|
29
|
-
},
|
|
21
|
+
})), dt = {
|
|
22
|
+
Root: k,
|
|
23
|
+
InputContainer: lt,
|
|
24
|
+
Controller: it,
|
|
25
|
+
ButtonGroup: at,
|
|
26
|
+
ClearButton: y,
|
|
27
|
+
ResetButton: y,
|
|
28
|
+
SubmitButton: y
|
|
29
|
+
}, E = ({
|
|
30
30
|
inputs: o,
|
|
31
|
-
inputProps:
|
|
32
|
-
formProps:
|
|
33
|
-
|
|
34
|
-
size:
|
|
35
|
-
variant:
|
|
36
|
-
clearText:
|
|
37
|
-
resetText:
|
|
38
|
-
submitText:
|
|
39
|
-
onClear:
|
|
40
|
-
onReset:
|
|
41
|
-
onChange:
|
|
42
|
-
onSubmit:
|
|
43
|
-
onError:
|
|
31
|
+
inputProps: q,
|
|
32
|
+
formProps: F,
|
|
33
|
+
formReturnRef: h,
|
|
34
|
+
size: g,
|
|
35
|
+
variant: I,
|
|
36
|
+
clearText: O,
|
|
37
|
+
resetText: J,
|
|
38
|
+
submitText: N,
|
|
39
|
+
onClear: f,
|
|
40
|
+
onReset: s,
|
|
41
|
+
onChange: m,
|
|
42
|
+
onSubmit: p,
|
|
43
|
+
onError: b,
|
|
44
44
|
components: w,
|
|
45
45
|
componentsProps: n
|
|
46
46
|
}) => {
|
|
47
47
|
const {
|
|
48
|
-
Root:
|
|
49
|
-
InputContainer:
|
|
50
|
-
Controller:
|
|
51
|
-
ButtonGroup:
|
|
52
|
-
ClearButton:
|
|
53
|
-
ResetButton:
|
|
54
|
-
SubmitButton:
|
|
55
|
-
} = w,
|
|
48
|
+
Root: W,
|
|
49
|
+
InputContainer: _,
|
|
50
|
+
Controller: $,
|
|
51
|
+
ButtonGroup: z,
|
|
52
|
+
ClearButton: A,
|
|
53
|
+
ResetButton: H,
|
|
54
|
+
SubmitButton: K
|
|
55
|
+
} = w, x = nt(), R = ({
|
|
56
56
|
multiple: t,
|
|
57
57
|
range: e
|
|
58
|
-
}) => t || e ? [] :
|
|
58
|
+
}) => t || e ? [] : "", i = o.reduce((t, {
|
|
59
59
|
name: e,
|
|
60
|
-
defaultValue:
|
|
61
|
-
...
|
|
60
|
+
defaultValue: u,
|
|
61
|
+
...a
|
|
62
62
|
}) => ({
|
|
63
63
|
...t,
|
|
64
|
-
[e]:
|
|
65
|
-
}), {}),
|
|
66
|
-
defaultValues:
|
|
67
|
-
...
|
|
64
|
+
[e]: u || R(a)
|
|
65
|
+
}), {}), V = rt({
|
|
66
|
+
defaultValues: i,
|
|
67
|
+
...F || {}
|
|
68
68
|
});
|
|
69
|
-
|
|
69
|
+
h && (h.current = V);
|
|
70
70
|
const {
|
|
71
|
-
handleSubmit:
|
|
72
|
-
control:
|
|
73
|
-
reset:
|
|
74
|
-
watch:
|
|
75
|
-
formState:
|
|
76
|
-
} =
|
|
77
|
-
defaultValues: v
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
71
|
+
handleSubmit: L,
|
|
72
|
+
control: Q,
|
|
73
|
+
reset: d,
|
|
74
|
+
watch: S,
|
|
75
|
+
formState: c
|
|
76
|
+
} = V, {
|
|
77
|
+
defaultValues: v,
|
|
78
|
+
isDirty: G
|
|
79
|
+
} = c, U = Object.keys((c == null ? void 0 : c.errors) || {}).length > 0, X = (t) => {
|
|
80
|
+
const e = o.reduce((u, {
|
|
81
|
+
name: a,
|
|
82
|
+
defaultValue: P,
|
|
83
|
+
...B
|
|
83
84
|
}) => ({
|
|
84
|
-
...
|
|
85
|
-
[
|
|
85
|
+
...u,
|
|
86
|
+
[a]: R(B)
|
|
86
87
|
}), {});
|
|
87
|
-
|
|
88
|
-
keepDefaultValues: !0
|
|
89
|
-
});
|
|
90
|
-
}, U = (t) => {
|
|
91
|
-
c && c(t, v), R(v, {
|
|
88
|
+
f && f(t, e), d(e, {
|
|
92
89
|
keepDefaultValues: !0
|
|
93
90
|
});
|
|
91
|
+
}, Y = (t) => {
|
|
92
|
+
s && s(t, i), d(i);
|
|
94
93
|
};
|
|
95
|
-
|
|
96
|
-
const t =
|
|
94
|
+
j(() => {
|
|
95
|
+
const t = m ? S((e) => m(x.current, e)) : void 0;
|
|
97
96
|
return () => t == null ? void 0 : t.unsubscribe();
|
|
98
|
-
}, [
|
|
99
|
-
const
|
|
100
|
-
return
|
|
97
|
+
}, [m, S]);
|
|
98
|
+
const Z = (t) => typeof (t == null ? void 0 : t.required) == "string" || (t == null ? void 0 : t.required) === !0;
|
|
99
|
+
return j(() => {
|
|
100
|
+
JSON.stringify(i) !== JSON.stringify(v) && d(i);
|
|
101
|
+
}, [i, v, d]), /* @__PURE__ */ T(W, { component: "form", onSubmit: L((t, e) => typeof p == "function" && p(e, t), (t, e) => typeof b == "function" && b(e, t)), ...n.root, children: [
|
|
101
102
|
o == null ? void 0 : o.map(({
|
|
102
103
|
Component: t,
|
|
103
104
|
name: e,
|
|
104
|
-
rules:
|
|
105
|
-
label:
|
|
106
|
-
defaultValue:
|
|
107
|
-
...
|
|
108
|
-
}) => /* @__PURE__ */
|
|
105
|
+
rules: u,
|
|
106
|
+
label: a,
|
|
107
|
+
defaultValue: P,
|
|
108
|
+
...B
|
|
109
|
+
}) => /* @__PURE__ */ l(_, { ...n.inputContainer, children: /* @__PURE__ */ l($, { control: Q, name: e, rules: u, render: ({
|
|
109
110
|
field: {
|
|
110
|
-
onChange:
|
|
111
|
-
...
|
|
111
|
+
onChange: tt,
|
|
112
|
+
...et
|
|
112
113
|
},
|
|
113
114
|
formState: {
|
|
114
|
-
errors:
|
|
115
|
+
errors: C
|
|
115
116
|
}
|
|
116
117
|
}) => {
|
|
117
|
-
var
|
|
118
|
-
return /* @__PURE__ */
|
|
119
|
-
|
|
120
|
-
}, error: (
|
|
118
|
+
var M;
|
|
119
|
+
return /* @__PURE__ */ l(t, { onChange: (ot, r) => {
|
|
120
|
+
x.current = ot, tt((r == null ? void 0 : r.value) !== void 0 ? r == null ? void 0 : r.value : r);
|
|
121
|
+
}, error: (M = C == null ? void 0 : C[e]) == null ? void 0 : M.message, size: g, variant: I, label: Z(u) ? `${a} *` : a, ...et, ...q || {}, ...B });
|
|
121
122
|
}, ...n.controller }) }, e)),
|
|
122
|
-
/* @__PURE__ */
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
/* @__PURE__ */ T(z, { variant: "text", size: g, fullWidth: !0, ...n.buttonGroup, children: [
|
|
124
|
+
f && /* @__PURE__ */ l(A, { onClick: X, ...n.clearButton, children: O }),
|
|
125
|
+
s && /* @__PURE__ */ l(H, { onClick: Y, disabled: !G, ...n.resetButton, children: J }),
|
|
126
|
+
p && /* @__PURE__ */ l(K, { type: "submit", disabled: U || !G, ...n.submitButton, children: N })
|
|
126
127
|
] })
|
|
127
128
|
] });
|
|
128
129
|
};
|
|
129
|
-
|
|
130
|
+
E.defaultProps = {
|
|
130
131
|
inputs: [],
|
|
131
132
|
inputProps: void 0,
|
|
132
133
|
formProps: void 0,
|
|
@@ -141,10 +142,10 @@ T.defaultProps = {
|
|
|
141
142
|
onChange: void 0,
|
|
142
143
|
onSubmit: void 0,
|
|
143
144
|
onError: void 0,
|
|
144
|
-
components:
|
|
145
|
+
components: dt,
|
|
145
146
|
componentsProps: void 0
|
|
146
147
|
};
|
|
147
|
-
const
|
|
148
|
+
const yt = E;
|
|
148
149
|
export {
|
|
149
|
-
|
|
150
|
+
yt as default
|
|
150
151
|
};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { Audiotrack as MuiAudioTrackIcon, Image as MuiImageIcon, InsertDriveFile as MuiInsertDriveFileIcon, Movie as MuiMovieIcon, NoteAdd as MuiNoteAddIcon, Article as MuiArticleIcon, DataThresholding as MuiDataThresholdingIcon, PictureAsPdf as MuiPictureAsPdfIcon, QuestionMark as MuiQuestionMarkIcon } from '@mui/icons-material';
|
|
3
|
+
import { Box as MuiBox } from '@mui/material';
|
|
2
4
|
import type { WithOverrideProps } from '../../_types';
|
|
5
|
+
declare const StyledMuiBox: typeof MuiBox;
|
|
3
6
|
declare const defaultComponents: {
|
|
4
|
-
Root:
|
|
5
|
-
PlaceholderIcon:
|
|
6
|
-
AudioIcon:
|
|
7
|
-
ImageIcon:
|
|
8
|
-
VideoIcon:
|
|
9
|
-
DocumentIcon:
|
|
10
|
-
DataIcon:
|
|
11
|
-
PdfIcon:
|
|
12
|
-
NoneIcon:
|
|
13
|
-
FileIcon:
|
|
7
|
+
Root: typeof StyledMuiBox;
|
|
8
|
+
PlaceholderIcon: typeof MuiNoteAddIcon;
|
|
9
|
+
AudioIcon: typeof MuiAudioTrackIcon;
|
|
10
|
+
ImageIcon: typeof MuiImageIcon;
|
|
11
|
+
VideoIcon: typeof MuiMovieIcon;
|
|
12
|
+
DocumentIcon: typeof MuiArticleIcon;
|
|
13
|
+
DataIcon: typeof MuiDataThresholdingIcon;
|
|
14
|
+
PdfIcon: typeof MuiPictureAsPdfIcon;
|
|
15
|
+
NoneIcon: typeof MuiQuestionMarkIcon;
|
|
16
|
+
FileIcon: typeof MuiInsertDriveFileIcon;
|
|
14
17
|
};
|
|
15
18
|
export interface MediaIconProps extends WithOverrideProps<typeof defaultComponents> {
|
|
16
19
|
/**
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { SortMenuItemProps } from './components/MenuItem';
|
|
2
|
-
import { FC } from 'react';
|
|
3
1
|
/// <reference types="react" />
|
|
4
2
|
import VdtButtonBase from './components/ButtonBase';
|
|
5
3
|
import type { StyledComponent, WithOverrideProps } from '../../_types';
|
|
@@ -13,7 +11,7 @@ type StyledVdtButtonBaseType = StyledComponent<typeof VdtButtonBase, {
|
|
|
13
11
|
declare const defaultComponents: {
|
|
14
12
|
Root: any;
|
|
15
13
|
Menu: any;
|
|
16
|
-
MenuItem: FC<SortMenuItemProps>;
|
|
14
|
+
MenuItem: import("react").FC<import("./components/MenuItem").SortMenuItemProps>;
|
|
17
15
|
ButtonBase: StyledVdtButtonBaseType;
|
|
18
16
|
};
|
|
19
17
|
export interface SortProps extends WithOverrideProps<typeof defaultComponents> {
|
package/dist/es/index.d.ts
CHANGED