@vidispine/vdt-mui 23.4.0-pre.2 → 23.4.0-pre.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/collection/CollectionList/CollectionList.js +1 -1
- package/dist/cjs/entity/EntityList/EntityList.js +1 -1
- package/dist/cjs/event/EventList/components/EventListHeader.js +1 -1
- package/dist/cjs/event/EventListItem/EventListItem.js +1 -1
- package/dist/cjs/general/AvatarMenu/components/MenuItem.js +1 -1
- package/dist/cjs/general/CompactLabel/CompactLabel.js +1 -1
- package/dist/cjs/general/Form/Form.js +1 -1
- package/dist/cjs/general/MediaIcon/index.js +1 -1
- package/dist/cjs/general/MenuItem/MenuItem.js +1 -1
- package/dist/cjs/general/Sort/Sort.js +1 -1
- package/dist/cjs/general/Sort/components/MenuItem.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/inputs/BooleanInput/BooleanInput.js +1 -1
- package/dist/cjs/inputs/_components/MenuItem.js +1 -1
- package/dist/cjs/item/ItemList/ItemList.js +1 -1
- package/dist/cjs/metadata/MetadataGroupTreeView/MetadataGroupTreeView.js +1 -1
- package/dist/cjs/upload/UploadDropzone/UploadDropzone.js +1 -0
- package/dist/cjs/upload/UploadDropzone/index.js +1 -0
- package/dist/cjs/upload/UploadFileTree/UploadFileTree.js +1 -0
- package/dist/cjs/upload/UploadFileTree/index.js +1 -0
- package/dist/cjs/upload/UploadFileTreeItem/UploadFileTreeItem.js +1 -0
- package/dist/cjs/upload/UploadFileTreeItem/index.js +1 -0
- package/dist/cjs/upload/UploadListItem/UploadListItem.js +1 -0
- package/dist/cjs/upload/UploadListItem/components/UploadListItemProgress.js +1 -0
- package/dist/cjs/upload/UploadListItem/components/UploadListItemSecondaryAction.js +1 -0
- package/dist/cjs/upload/UploadListItem/components/UploadListItemText.js +1 -0
- package/dist/cjs/upload/UploadListItem/components/UploadListItemThumbnail.js +1 -0
- package/dist/cjs/upload/UploadListItem/index.js +1 -0
- package/dist/es/_utils/withOverrides.d.ts +1 -0
- package/dist/es/collection/CollectionList/CollectionList.js +8 -8
- package/dist/es/entity/EntityIcon/EntityIcon.js +10 -10
- package/dist/es/entity/EntityList/EntityList.js +4 -4
- package/dist/es/event/EventListItem/EventListItem.js +25 -25
- package/dist/es/general/AvatarMenu/components/MenuItem.js +6 -6
- package/dist/es/general/CalendarPicker/components/PickersDay.d.ts +1 -1
- package/dist/es/general/CompactBadge/CompactBadge.js +2 -2
- package/dist/es/general/CompactLabel/CompactLabel.js +3 -3
- package/dist/es/general/Form/Form.js +1 -1
- package/dist/es/general/MediaIcon/index.js +2 -2
- package/dist/es/general/Sort/Sort.js +1 -1
- package/dist/es/general/Sort/components/MenuItem.js +4 -4
- package/dist/es/general/ThemeContext/ThemeContext.d.ts +1 -1
- package/dist/es/general/index.d.ts +1 -1
- package/dist/es/index.d.ts +1 -0
- package/dist/es/index.js +57 -49
- package/dist/es/inputs/BooleanInput/BooleanInput.d.ts +2 -2
- package/dist/es/inputs/BooleanInput/BooleanInput.js +61 -58
- package/dist/es/inputs/CheckboxGroupInput/components/CheckboxGroup.d.ts +1 -1
- package/dist/es/inputs/RadioGroupInput/components/RadioGroup.d.ts +1 -1
- package/dist/es/inputs/SliderInput/components/Slider.d.ts +1 -1
- package/dist/es/inputs/_components/MenuItem.js +2 -2
- package/dist/es/item/ItemList/ItemList.js +13 -13
- package/dist/es/metadata/MetadataForm/hooks/UseMetadataFormInputs.d.ts +1 -0
- package/dist/es/metadata/MetadataGroupTreeView/MetadataGroupTreeView.d.ts +3 -3
- package/dist/es/metadata/MetadataGroupTreeView/MetadataGroupTreeView.js +21 -22
- package/dist/es/search/SearchFilterForm/hooks/UseSearchFilterFormInputs.d.ts +1 -0
- package/dist/es/upload/UploadDropzone/UploadDropzone.d.ts +59 -0
- package/dist/es/upload/UploadDropzone/UploadDropzone.js +111 -0
- package/dist/es/upload/UploadDropzone/index.d.ts +3 -0
- package/dist/es/upload/UploadDropzone/index.js +12 -0
- package/dist/es/upload/UploadFileTree/UploadFileTree.d.ts +35 -0
- package/dist/es/upload/UploadFileTree/UploadFileTree.js +30 -0
- package/dist/es/upload/UploadFileTree/index.d.ts +3 -0
- package/dist/es/upload/UploadFileTree/index.js +12 -0
- package/dist/es/upload/UploadFileTreeItem/UploadFileTreeItem.d.ts +34 -0
- package/dist/es/upload/UploadFileTreeItem/UploadFileTreeItem.js +55 -0
- package/dist/es/upload/UploadFileTreeItem/index.d.ts +3 -0
- package/dist/es/upload/UploadFileTreeItem/index.js +12 -0
- package/dist/es/upload/UploadListItem/UploadListItem.d.ts +48 -0
- package/dist/es/upload/UploadListItem/UploadListItem.js +90 -0
- package/dist/es/upload/UploadListItem/components/UploadListItemProgress.d.ts +7 -0
- package/dist/es/upload/UploadListItem/components/UploadListItemProgress.js +16 -0
- package/dist/es/upload/UploadListItem/components/UploadListItemSecondaryAction.d.ts +9 -0
- package/dist/es/upload/UploadListItem/components/UploadListItemSecondaryAction.js +33 -0
- package/dist/es/upload/UploadListItem/components/UploadListItemText.d.ts +8 -0
- package/dist/es/upload/UploadListItem/components/UploadListItemText.js +30 -0
- package/dist/es/upload/UploadListItem/components/UploadListItemThumbnail.d.ts +6 -0
- package/dist/es/upload/UploadListItem/components/UploadListItemThumbnail.js +52 -0
- package/dist/es/upload/UploadListItem/index.d.ts +3 -0
- package/dist/es/upload/UploadListItem/index.js +12 -0
- package/dist/es/upload/_utils.d.ts +6 -0
- package/dist/es/upload/index.d.ts +4 -0
- package/package.json +30 -25
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),f=require("react"),g=require("@mui/material/List"),k=require("@mui/material/ListSubheader"),C=require("@mui/material/Typography"),M=require("@mui/material/styles"),b=require("../CollectionListItem/index.js"),u=require("../../_utils/uuidv4.js"),w=require("../../_utils/showSlot.js"),R=()=>e.jsx(C,{children:"No collections found..."}),D=M.styled(g)(()=>({width:"100%",padding:0})),A={Root:D,ListSubheader:k,ListItem:b},d=({collectionListType:t,header:a,primary:c,secondary:l,avatarVariant:m,dense:h,amountLoading:q,isLoading:o,onListItemClick:v,onListItemDelete:x,emptySlot:y,components:S,componentsProps:i})=>{const{Root:p,ListSubheader:L,ListItem:I}=S,j=[...Array(Math.max(q,0)).keys()].map(()=>({key:u.uuidv4()})),n=f.useMemo(()=>{var s;return((s=t==null?void 0:t.collection)==null?void 0:s.map(r=>({key:u.uuidv4(),collectionType:r})))||[]},[t.collection]);return e.jsxs(p,{dense:h,...i.root,children:[e.jsx(L,{...i.listSubheader,children:a}),e.jsxs(e.Fragment,{children:[!o&&n.length===0&&w.showSlot(y),(o?j:n).map(({key:s,collectionType:r})=>e.jsx(I,{collectionType:r,primary:c,secondary:l,avatarVariant:m,isLoading:o,onClick:v,onDelete:x,...i.listItem},s))]})]})};d.defaultProps={collectionListType:{},header:void 0,primary:"id",secondary:void 0,avatarVariant:"square",dense:!1,isLoading:!1,amountLoading:3,onListItemClick:void 0,onListItemDelete:void 0,emptySlot:R,components:A,componentsProps:void 0};const E=d;module.exports=E;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),E=require("react"),A=require("@mui/material/List"),F=require("@mui/material/ListSubheader"),N=require("@mui/material/Typography"),T=require("@mui/material/styles"),V=require("../../collection/CollectionListItem/index.js"),l=require("../../item/ItemListItem/index.js"),m=require("../../_utils/uuidv4.js"),$=require("../../_utils/showSlot.js"),z=()=>i.jsx(N,{children:"No entities found..."}),B=T.styled(A)(()=>({width:"100%"})),G={Root:B,ListSubheader:F,CollectionListItem:V,ItemListItem:l,LoadingListItem:l,ListItem:null},u=({entities:r,header:d,primary:a,secondary:c,avatarVariant:L,dense:I,amountLoading:h,isLoading:o,onListItemClick:p,onListItemDelete:q,emptySlot:x,components:v,componentsProps:e})=>{const{Root:S,ListSubheader:g,CollectionListItem:f,ItemListItem:C,LoadingListItem:
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),E=require("react"),A=require("@mui/material/List"),F=require("@mui/material/ListSubheader"),N=require("@mui/material/Typography"),T=require("@mui/material/styles"),V=require("../../collection/CollectionListItem/index.js"),l=require("../../item/ItemListItem/index.js"),m=require("../../_utils/uuidv4.js"),$=require("../../_utils/showSlot.js"),z=()=>i.jsx(N,{children:"No entities found..."}),B=T.styled(A)(()=>({width:"100%"})),G={Root:B,ListSubheader:F,CollectionListItem:V,ItemListItem:l,LoadingListItem:l,ListItem:null},u=({entities:r,header:d,primary:a,secondary:c,avatarVariant:L,dense:I,amountLoading:h,isLoading:o,onListItemClick:p,onListItemDelete:q,emptySlot:x,components:v,componentsProps:e})=>{const{Root:S,ListSubheader:g,CollectionListItem:f,ItemListItem:C,LoadingListItem:k}=v,M=[...Array(Math.max(h,0)).keys()].map(()=>({key:m.uuidv4()})),n=E.useMemo(()=>r.map(t=>({key:m.uuidv4(),..."item"in t?{itemType:t==null?void 0:t.item}:{},..."collection"in t?{collectionType:t==null?void 0:t.collection}:{}}))||[],[r]),w=({itemType:t,collectionType:s})=>t?{component:C,props:{itemType:t,...e.listItem,...e.itemListItem}}:s?{component:f,props:{collectionType:s,...e.listItem,...e.collectionListItem}}:{component:k,props:{...e.listItem,...e.loadingListItem}};return i.jsxs(S,{dense:I,...e.root,children:[i.jsx(g,{...e.listSubheader,children:d}),i.jsxs(i.Fragment,{children:[!o&&n.length===0&&$.showSlot(x),(o?M:n).map(({key:t,itemType:s,collectionType:y})=>{const{component:R,props:D}=w({itemType:s,collectionType:y});return i.jsx(R,{primary:a,secondary:c,avatarVariant:L,isLoading:o,onClick:p,onDelete:q,...D},t)})]})]})};u.defaultProps={entities:[],header:void 0,primary:"id",secondary:void 0,avatarVariant:"square",dense:!1,isLoading:!1,amountLoading:3,onListItemClick:void 0,onListItemDelete:void 0,emptySlot:z,components:G,componentsProps:void 0};const H=u;module.exports=H;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),a=require("@mui/material/Typography"),i=require("@mui/material/styles"),o=require("@vidispine/vdt-js"),c=i.styled(a)(({theme:t})=>({marginBottom:`-${t.spacing(4)}`,marginLeft:t.spacing(2),paddingTop:t.spacing(1)})),p=({entry:t,...e})=>{const{itemType:{metadata:s}={}}=t,{title:n}=o.parseMetadataType(s,{joinValue:",",flat:!0});return r.jsx(c,{...e,children:n||t.entityId})},d=p;module.exports=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),B=require("react"),T=require("@mui/icons-material/esm/Launch"),E=require("@mui/icons-material/esm/FolderOutlined"),$=require("@mui/icons-material/esm/TextSnippetOutlined"),c=require("@mui/material/Box"),A=require("@mui/material/IconButton"),
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),B=require("react"),T=require("@mui/icons-material/esm/Launch"),E=require("@mui/icons-material/esm/FolderOutlined"),$=require("@mui/icons-material/esm/TextSnippetOutlined"),c=require("@mui/material/Box"),A=require("@mui/material/IconButton"),v=require("@mui/material/Tooltip"),F=require("@mui/material/Popover"),i=require("@mui/material/styles"),N=require("@vidispine/vdt-js"),V=require("../../metadata/MetadataGroupTreeView/index.js"),W=i.styled(c,{shouldForwardProp:o=>!["image","cover"].includes(o)})(({theme:o,image:e,cover:s,onClick:a})=>({position:"relative",display:"flex",flexDirection:"column",justifyContent:"space-between",padding:o.spacing(.25),margin:o.spacing(1),height:"95px",width:"168px",zIndex:5,transition:"all .3s ease-in-out",backgroundColor:"rgba(0, 0, 0, 0.8)",backgroundImage:e?`url(${e})`:"none",backgroundPosition:"center",backgroundRepeat:"no-repeat",borderRadius:"4px",cursor:a?"pointer":"initial",...s?{backgroundSize:"cover"}:{backgroundSize:"contain"},"&:hover":{"& .VdtEventListItemActions":{opacity:1}}})),D=i.styled("div",{shouldForwardProp:o=>!["infoOpen"].includes(o)})(({theme:o,infoOpen:e})=>({display:"flex",justifyContent:"flex-end",opacity:e?1:0,transition:"opacity .15s ease-in-out",gap:o.spacing(.25)})),y=i.styled(A)(({theme:o})=>({padding:o.spacing(.25),borderRadius:"4px",backgroundColor:"rgba(0,0,0,0.5)",color:o.palette.common.white,"&:hover":{backgroundColor:"rgba(0,0,0,0.7)"},"&.MuiIconButton-root":{"& .MuiTouchRipple-child":{borderRadius:"4px"}}})),J=i.styled("div")(()=>({display:"flex",justifyContent:"space-between"})),G=i.styled("div")(()=>({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:"rgba(255,255,255,0.6)","& .MuiSvgIcon-root":{height:"1.75em",width:"1.75em"}})),I=i.styled("div")(({theme:o})=>({backgroundColor:"rgba(0,0,0,0.6)",paddingLeft:o.spacing(.5),paddingRight:o.spacing(.5),paddingTop:o.spacing(.25),paddingBottom:o.spacing(.25),borderRadius:"3px",display:"flex",alignItems:"center","& span":{fontSize:"0.75rem",fontWeight:700,color:o.palette.common.white}})),d=i.styled("span")(()=>({fontWeight:600,fontSize:".75rem"})),S=i.styled("span")(()=>({fontSize:".75rem"})),H={Root:W},k=({listItem:o,entry:e,baseUrl:s,cover:a,onClick:l,onOpenClick:p,components:R,componentsProps:q})=>{const{Root:L}=R,{thumbnail:r,group:O,start:u,end:g}=o||{},{entityType:h}=e||o,x=t=>t==="-INF"?"Start":t==="+INF"?"End":N.formatTimeCodeText(t).toSmpte(),f=x(u),m=x(g),[j,b]=B.useState(null),C=!!j,P=t=>{l&&l(t,{...o,...e||{}})},w=t=>{t.stopPropagation(),b(t.currentTarget)},z=t=>{t.stopPropagation(),p(t,{...o,...e||{}})},M=()=>{b(null)};return n.jsxs(L,{onClick:P,cover:a,image:s&&r?`${s}/APInoauth/thumbnail/${r}`:r,...q.root,children:[!r&&n.jsx(G,{children:n.jsx(E,{})}),n.jsxs(D,{className:"VdtEventListItemActions",infoOpen:C,children:[p&&n.jsx(v,{title:h==="Item"&&"Open Item"||h==="Collection"&&"Open Collection"||"Open",children:n.jsx(y,{size:"small",onClick:z,children:n.jsx(T,{})})}),n.jsx(v,{title:"Show event info",children:n.jsx(y,{size:"small",onClick:w,children:n.jsx($,{})})})]}),n.jsxs(J,{children:[n.jsx(I,{children:n.jsx("span",{children:f})}),n.jsx(I,{children:n.jsx("span",{children:m})})]}),n.jsxs(F,{onClick:t=>t.stopPropagation(),open:C,anchorEl:j,onClose:M,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{sx:{width:400,maxWidth:400,padding:1}}},children:[n.jsxs(c,{sx:{paddingLeft:1,paddingRight:1},children:[n.jsx(d,{children:"Start timecode: "}),n.jsx(S,{children:`${f} (${u})`})]}),n.jsxs(c,{sx:{paddingLeft:1,paddingRight:1},children:[n.jsx(d,{children:"End timecode: "}),n.jsx(S,{children:`${m} (${g})`})]}),n.jsx(c,{sx:{paddingLeft:1,paddingRight:1},children:n.jsx(d,{children:"Metadata group: "})}),n.jsx(V,{group:O})]})]})};k.defaultProps={listItem:void 0,baseUrl:void 0,entry:void 0,cover:!1,onClick:void 0,onOpenClick:void 0,components:H,componentsProps:void 0};const K=k;module.exports=K;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),o=require("@mui/material/MenuItem"),i=require("@mui/material/ListItemIcon"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),o=require("@mui/material/MenuItem"),i=require("@mui/material/ListItemIcon"),l=require("@mui/material/ListItemText"),u=require("@mui/material/Typography"),a=require("@mui/material/styles"),d=a.styled(u)(({theme:t})=>({marginLeft:t.spacing(3)})),y=({option:t,...r})=>{const{icon:s,label:c,secondaryLabel:n}=t||{};return e.jsxs(o,{...r,children:[s&&e.jsx(i,{children:e.jsx(s,{fontSize:"small"})}),e.jsx(l,{children:c}),n&&e.jsx(d,{variant:"body2",color:"text.secondary",children:n})]})},x=y;module.exports=x;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),c=require("@mui/material/Typography"),
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),c=require("@mui/material/Typography"),p=require("@mui/material/styles"),i=p.styled(c,{shouldForwardProp:o=>o!=="dark"})(({theme:o,dark:n})=>({maxWidth:"100%",lineHeight:"unset",borderRadius:"0.3em",userSelect:"none",pointerEvents:"none",margin:o.spacing(.5),paddingLeft:o.spacing(.5),paddingRight:o.spacing(.5),color:o.palette.common.black,backgroundColor:o.palette.common.white,...n&&{color:o.palette.common.white,backgroundColor:o.palette.common.black}})),l={Root:i},t=({dark:o,children:n,components:r,componentsProps:e})=>{const{Root:a}=r;return s.jsx(a,{dark:o,variant:"caption","aria-hidden":"true",noWrap:!0,...e.root,children:n})};t.defaultProps={dark:!0,children:null,components:l,componentsProps:void 0};const d=t;module.exports=d;
|
|
@@ -1 +1 @@
|
|
|
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(),
|
|
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(),R=({multiple:t,range:e})=>t||e?[]:"",i=o.reduce((t,{name:e,defaultValue:s,...a})=>({...t,[e]:s||R(a)}),{}),q=E.useForm({defaultValues:i,...F||{}});h&&(h.current=q);const{handleSubmit:L,control:Q,reset:c,watch:V,formState:l}=q,{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]:R(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,formReturnRef: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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("@mui/material/styles"),r=require("./MediaIcon.js"),i=require("../../_utils/withOverrides.js"),e="MediaIcon",
|
|
1
|
+
"use strict";const n=require("@mui/material/styles"),r=require("./MediaIcon.js"),i=require("../../_utils/withOverrides.js"),e="MediaIcon",o=`Vdt${e}`,c=i.withOverrides(o)(r),t=n.styled(c,{name:o,overridesResolver:(a,s)=>s.root})(()=>({}));t.displayName=e;const d=t;module.exports=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),h=require("@mui/material/MenuItem"),m=require("@mui/material/ListItemText"),x=require("@mui/material/Typography"),g=require("@mui/material/styles"),T=g.styled(x)(({theme:t})=>({height:24,lineHeight:1.7,marginLeft:t.spacing(2)})),I={Root:h,ListItemText:m,Typography:T},s=({value:t,label:n,count:i,selected:r,onClick:c,components:d,componentsProps:e,...l})=>{const{Root:
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),h=require("@mui/material/MenuItem"),m=require("@mui/material/ListItemText"),x=require("@mui/material/Typography"),g=require("@mui/material/styles"),T=g.styled(x)(({theme:t})=>({height:24,lineHeight:1.7,marginLeft:t.spacing(2)})),I={Root:h,ListItemText:m,Typography:T},s=({value:t,label:n,count:i,selected:r,onClick:c,components:d,componentsProps:e,...l})=>{const{Root:y,ListItemText:p,Typography:u}=d;return o.jsxs(y,{value:t,selected:r,onClick:a=>c(a,{value:t}),...l,...e.root,children:[o.jsx(p,{...e.listItemText,children:n||t}),i!==void 0&&o.jsx(u,{variant:"body2",color:"text.secondary",...e.typography,children:i})]})};s.defaultProps={value:void 0,label:void 0,count:void 0,selected:!1,onClick:void 0,components:I,componentsProps:void 0};const v=s;module.exports=v;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const g=require("react/jsx-runtime"),b=require("react"),T=require("@mui/material/Box"),L=require("@mui/material/Menu"),l=require("@mui/material/styles"),z=require("./components/ButtonBase.js"),E=require("./components/MenuItem.js"),r={descending:"descending",ascending:"ascending"},W=l.styled(T)(({theme:t})=>{var e;return{color:(e=t.palette)==null?void 0:e.secondary.main,paddingLeft:9,paddingRight:9,borderRadius:4}}),A=l.styled(L)(()=>({minWidth:150,marginTop:4})),D=l.styled(E)(({theme:t})=>{var e,i,n,s;return{"&$selected":{backgroundColor:t.palette&&l.alpha((i=(e=t.palette)==null?void 0:e.secondary)==null?void 0:i.main,.16),color:(s=(n=t.palette)==null?void 0:n.secondary)==null?void 0:s.main}}}),F=l.styled(z,{shouldForwardProp:t=>t!=="descending"})(({theme:t,descending:e})=>{var i,n;return{"& .MuiBox-root":{marginRight:"-2px",marginLeft:"4px",color:(n=(i=t.palette)==null?void 0:i.secondary)==null?void 0:n.main,transition:"transform .2s ease-out",transform:"rotate(180deg)",...e&&{transform:"rotate(0deg)"}}}}),V={Root:W,Menu:A,MenuItem:D,ButtonBase:F},f=({caption:t,options:e,initialSort:i,onChange:n,components:s,componentsProps:a})=>{var p,y;const{Root:B,Menu:S,MenuItem:x,ButtonBase:C}=s,[m,v]=b.useState(null),q=o=>{v(o.currentTarget)},h=()=>{v(null)},[d,R]=b.useState(i||{option:{value:void 0,label:void 0},direction:r.descending}),I=(o,M)=>{let{option:c,direction:u}=d;M!==c.value?c=e.find(k=>k.value===M):u=u===r.descending?r.ascending:r.descending,R({option:c,direction:u}),n&&n(o,{value:c.value,direction:u}),h()},O=e===void 0||e.length===0,j=d.direction!==r.ascending;return g.jsxs(B,{...a.root,children:[g.jsx(C,{onClick:q,disabled:O,label:t,optionLabel:d.option.label||"",descending:j,role:"button",...a.buttonBase}),g.jsx(S,{anchorEl:m,keepMounted:!0,open:!!m,onClose:h,elevation:1,marginThreshold:0,PaperProps:{style:{minWidth:150,marginTop:4}},...a.menu,anchorOrigin:{vertical:"bottom",horizontal:"left",...((p=a.menu)==null?void 0:p.anchorOrigin)||{}},transformOrigin:{vertical:"top",horizontal:"left",...((y=a.menu)==null?void 0:y.transformOrigin)||{}},children:e.map(o=>g.jsx(x,{value:o.value,label:o.label,onClick:I,selected:o.value===d.option.value,...a.menuItem},o.value))})]})};f.defaultProps={caption:"Sort by",onChange:void 0,initialSort:void 0,options:[],components:V,componentsProps:void 0};const $=f;module.exports=$;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),o=require("@mui/material/MenuItem"),u=require("@mui/material/Typography"),a=({value:t,label:n="",selected:r,onClick:s,...i})=>e.jsx(o,{selected:r,onClick:c=>s(c,t),dense:!0,...i,children:e.jsx(u,{variant:"caption",children:n??""})}),d=a;module.exports=d;
|
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"),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"),
|
|
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"),d=require("./entity/EntityList/index.js"),s=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"),l=require("./general/ExpandButton/index.js"),m=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"),L=require("./general/Sort/index.js"),b=require("./general/TablePagination/index.js"),g=require("./general/Form/index.js"),e=require("./general/ThemeContext/ThemeContext.js"),h=require("./item/ItemList/index.js"),P=require("./item/ItemListItem/index.js"),M=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"),F=require("./item/ItemPosterViewer/index.js"),y=require("./item/ItemPosterList/index.js"),k=require("./inputs/BasicDateTimeInput/index.js"),D=require("./inputs/BooleanInput/index.js"),R=require("./inputs/CheckboxGroupInput/index.js"),w=require("./inputs/DateRangeInput/index.js"),G=require("./inputs/DateTimeInput/index.js"),U=require("./inputs/MaskedTextInput/index.js"),z=require("./inputs/NumberInput/index.js"),A=require("./inputs/RadioGroupInput/index.js"),V=require("./inputs/SelectInput/index.js"),f=require("./inputs/SliderInput/index.js"),j=require("./inputs/TagInput/index.js"),N=require("./inputs/TextInput/index.js"),O=require("./shape/ShapeMediaBadges/index.js"),H=require("./search/SearchFilterForm/index.js"),J=require("./transcode/TranscodePresetMediaBadges/index.js"),K=require("./upload/UploadDropzone/index.js"),Q=require("./upload/UploadListItem/index.js"),W=require("./upload/UploadFileTree/index.js"),X=require("./upload/UploadFileTreeItem/index.js"),Y=require("./event/EventList/index.js"),Z=require("./event/EventListItem/index.js"),_=require("./metadata/MetadataGroupTreeView/index.js"),ee=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=d;exports.AvatarMenu=s;exports.BlurredBackground=c;exports.CalendarPicker=x;exports.CompactBadge=a;exports.CompactLabel=q;exports.CornerLabelPlacer=$;exports.ExpandButton=l;exports.ImageCollage=m;exports.MediaIcon=I;exports.MenuItem=p;exports.VirtualizedList=T;exports.ScrubLine=C;exports.Sort=L;exports.TablePagination=b;exports.Form=g;exports.ThemeProvider=e.ThemeProvider;exports.useThemeContext=e.useThemeContext;exports.ItemList=h;exports.ItemListItem=P;exports.ItemThumbnail=M;exports.ItemCard=v;exports.ItemTable=B;exports.ItemTableRow=S;exports.ItemPoster=E;exports.ItemPosterViewer=F;exports.ItemPosterList=y;exports.BasicDateTimeInput=k;exports.BooleanInput=D;exports.CheckboxGroupInput=R;exports.DateRangeInput=w;exports.DateTimeInput=G;exports.MaskedTextInput=U;exports.NumberInput=z;exports.RadioGroupInput=A;exports.SelectInput=V;exports.SliderInput=f;exports.TagInput=j;exports.TextInput=N;exports.ShapeMediaBadges=O;exports.SearchFilterForm=H;exports.TranscodePresetMediaBadges=J;exports.UploadDropzone=K;exports.UploadListItem=Q;exports.UploadFileTree=W;exports.UploadFileTreeItem=X;exports.EventList=Y;exports.EventListItem=Z;exports.MetadataGroupTreeView=_;exports.MetadataForm=ee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),B=require("@mui/material/FormControl"),I=require("@mui/material/FormControlLabel"),D=require("@mui/material/FormHelperText"),E=require("@mui/material/Switch"),P=require("@mui/material/Checkbox"),C=require("@mui/material/styles"),V=C.styled(I,{shouldForwardProp:e=>e!=="size"})(({theme:e,size:o,labelPlacement:t})=>({"& .MuiTypography-root":{...o==="small"&&{fontSize:"0.8rem"}},"&.Mui-error":{color:e.palette.error.main},...t==="end"?{marginRight:0}:{},...t==="start"?{marginLeft:0}:{},...["bottom","top"].includes(t)?{marginRight:0,marginLeft:0}:{}})),W=C.styled(D,{shouldForwardProp:e=>!["fullWidth","textAlign"].includes(e)})(({fullWidth:e,textAlign:o})=>e?{textAlign:o}:{}),$={Root:B,FormControlLabel:V,FormHelperText:W,Switch:E,Checkbox:P},b=({name:e,label:o,value:t,defaultValue:i,helperText:d,error:u,required:m,disabled:F,labelPlacement:h,size:x,fullWidth:p,type:y,onChange:k,onBlur:v,onFocus:T,components:L,componentsProps:r})=>{const{Root:q,FormControlLabel:w,FormHelperText:M,Switch:S,Checkbox:j}=L,H={end:"left",start:"right",top:"center",bottom:"center"};let s,c;typeof i=="string"?s=i==="true":s=i,typeof t=="string"?c=t==="true":c=t;const R=n=>{var g;k(n,{value:(g=n==null?void 0:n.target)==null?void 0:g.checked})},a=!!u,f=(u||"").trim(),[A,z]=y==="switch"?[S,r.switch]:[j,r.checkbox];return l.jsxs(q,{error:a,required:m,disabled:F,fullWidth:p,...r.root,children:[l.jsx(w,{label:m?`${o} *`:o,labelPlacement:o?h:"end",size:x,control:l.jsx(A,{id:e,name:e,checked:c,size:x,type:"checkbox",defaultChecked:s,...a?{color:"error"}:{},onChange:R,onBlur:v,onFocus:T,...z}),...r.formControlLabel}),(f||d)&&l.jsx(M,{fullWidth:p,textAlign:H[h],...r.formHelperText,children:a?f:d})]})};b.defaultProps={name:void 0,label:void 0,value:void 0,defaultValue:void 0,helperText:void 0,error:void 0,required:!1,disabled:!1,fullWidth:!1,labelPlacement:"end",size:"medium",type:"checkbox",onChange:()=>null,onBlur:void 0,onFocus:void 0,components:$,componentsProps:void 0};const G=b;module.exports=G;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),x=require("@mui/material/MenuItem"),a=require("@mui/material/ListItemText"),l=require("@mui/material/Typography"),o=({value:e,label:c,count:r,selected:
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),x=require("@mui/material/MenuItem"),a=require("@mui/material/ListItemText"),l=require("@mui/material/Typography"),o=({value:e,label:c,count:r,selected:n,onClick:i,...s})=>{const d=typeof i!="function"?void 0:u=>i(u,{value:e});return t.jsxs(x,{value:e,selected:n!==void 0?n:!!s["aria-selected"],onClick:d,...s,children:[t.jsx(a,{children:c||e}),r!==void 0&&t.jsx(l,{variant:"body2",color:"text.secondary",children:r})]})};o.defaultProps={};const h=o;module.exports=h;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),f=require("react"),g=require("@mui/material/List"),k=require("@mui/material/ListSubheader"),M=require("@mui/material/Typography"),b=require("@mui/material/styles"),C=require("../ItemListItem/index.js"),u=require("../../_utils/uuidv4.js"),w=require("../../_utils/showSlot.js"),R=()=>e.jsx(M,{children:"No items found..."}),D=b.styled(g)(()=>({width:"100%",padding:0})),A={Root:D,ListSubheader:k,ListItem:C},d=({itemListType:t,header:a,primary:c,secondary:l,avatarVariant:m,dense:h,amountLoading:q,isLoading:o,onListItemClick:v,onListItemDelete:x,emptySlot:y,components:S,componentsProps:i})=>{const{Root:p,ListSubheader:I,ListItem:L}=S,j=[...Array(Math.max(q,0)).keys()].map(()=>({key:u.uuidv4()})),n=f.useMemo(()=>{var s;return((s=t==null?void 0:t.item)==null?void 0:s.map(r=>({key:u.uuidv4(),itemType:r})))||[]},[t.item]);return e.jsxs(p,{dense:h,...i.root,children:[e.jsx(I,{...i.listSubheader,children:a}),e.jsxs(e.Fragment,{children:[!o&&n.length===0&&w.showSlot(y),(o?j:n).map(({key:s,itemType:r})=>e.jsx(L,{itemType:r,primary:c,secondary:l,avatarVariant:m,isLoading:o,onClick:v,onDelete:x,...i.listItem},s))]})]})};d.defaultProps={itemListType:{},header:void 0,primary:"id",secondary:void 0,avatarVariant:"square",dense:!1,isLoading:!1,amountLoading:3,onListItemClick:void 0,onListItemDelete:void 0,emptySlot:R,components:A,componentsProps:void 0};const E=d;module.exports=E;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),j=require("@mui/icons-material/esm/ChevronRight"),p=require("@mui/icons-material/esm/ExpandMore"),l=require("@mui/material/styles"),c=require("@mui/x-tree-view"),b=require("@vidispine/vdt-js"),o=l.styled(c.TreeItem)(()=>({userSelect:"all","&:focus, &:hover, &.Mui-selected":{"& > .MuiTreeItem-content, .MuiTreeItem-label":{backgroundColor:"unset",cursor:"default"}},"& .Mui-selected":{backgroundColor:"unset !important"}})),g={Root:c.TreeView,GroupTreeItem:o,FieldTreeItem:o},a=l.styled("span")(()=>({fontWeight:600,fontSize:".75rem"})),M=l.styled("span")(()=>({fontSize:".75rem"})),m=({group:n,components:I,componentsProps:r})=>{const{Root:x,GroupTreeItem:T,FieldTreeItem:f}=I,h=(e={})=>t.jsx(f,{nodeId:e.uuid,label:t.jsxs(t.Fragment,{children:[t.jsx(a,{children:`${e.name}: `}),t.jsx(M,{children:e.value.join(", ")})]}),...r.fieldTreeItem},e.uuid),i=(e={})=>{var d,u;return t.jsxs(T,{nodeId:e.uuid,label:t.jsx(a,{children:e.name}),...r.groupTreeItem,children:[((d=e.field)==null?void 0:d.length)>0?b.parseFieldList(e.field,{includeFieldAttributes:!0,fieldAsList:!0,arrayOnSingleValue:!0}).map(s=>h(s)):null,((u=e.group)==null?void 0:u.length)>0?e.group.map(s=>i(s)):null]},e.uuid)};return t.jsx(x,{defaultCollapseIcon:t.jsx(p,{}),defaultExpanded:[n==null?void 0:n.uuid],defaultExpandIcon:t.jsx(j,{}),sx:{maxWidth:400},...r.root,children:i(n)})};m.defaultProps={group:void 0,components:g,componentsProps:void 0};const q=m;module.exports=q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),p=require("react"),P=require("react-dropzone"),c=require("@mui/material/Box"),R=require("@mui/material/Typography"),F=require("@mui/material/LinearProgress"),r=require("@mui/material/styles"),z=r.styled(c)(({theme:o})=>({height:"100%",cursor:"pointer",marginTop:o.spacing(1),marginBottom:o.spacing(1),transition:"min-height 0.3s"})),k=r.styled(c,{shouldForwardProp:o=>o!=="isDragActive"})(({theme:o,isDragActive:i})=>({position:"relative",height:"100%",marginTop:o.spacing(.5),borderWidth:2,borderColor:o.palette.primary.main,borderRadius:3,borderStyle:"dotted",backgroundColor:i?"rgba(0,0,0,0.2)":"rgba(0,0,0,0.05)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"})),O=r.styled("input")(()=>({})),w=r.styled(R)(({theme:o})=>({color:o.palette.primary.main,marginTop:o.spacing(1),marginBottom:o.spacing(1),pointerEvents:"none"})),E=r.styled(F)(()=>({width:"calc(100% - 2px)",position:"absolute",bottom:0})),A={Root:z,Box:k,Input:O,Typography:w,LinearProgress:E},d=({text:o,disabled:i,dropzoneOptions:g,onAdd:n,onDragEnter:u,onDragLeave:y,onFileDialogOpen:a,onFileDialogCancel:l,components:x,componentsProps:e})=>{const{Root:h,Box:D,Input:f,Typography:m,LinearProgress:v}=x,[b,s]=p.useState(!1),C=p.useCallback((T,I,M)=>{s(!1),n&&n(M,{files:T,rejectedFiles:I})},[n]),j=()=>{s(!0),a&&a()},q=()=>{s(!1),l&&l()},{getRootProps:B,getInputProps:L,isDragActive:S}=P.useDropzone({disabled:i,onDrop:C,onDragEnter:u,onDragLeave:y,onFileDialogOpen:j,onFileDialogCancel:q,...g});return t.jsx(h,{...e.root,children:t.jsxs(D,{...e.box,isDragActive:S,...B(),children:[t.jsx(f,{...e.input,...L()}),t.jsx(m,{...e.typography,children:o}),b&&t.jsx(v,{...e.linearProgress})]})})};d.defaultProps={text:"Drop files or click to open",dropzoneOptions:{},onAdd:void 0,onDragEnter:void 0,onDragLeave:void 0,onFileDialogOpen:void 0,onFileDialogCancel:void 0,components:A,componentsProps:void 0};const N=d;module.exports=N;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("@mui/material/styles"),n=require("./UploadDropzone.js"),i=require("../../_utils/withOverrides.js"),e="UploadFileTree",o=`Vdt${e}`,d=i.withOverrides(o)(n),t=s.styled(d,{name:o,overridesResolver:(l,r)=>r.root})(()=>({}));t.displayName=e;const c=t;module.exports=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),d=require("@mui/x-tree-view"),l=require("../UploadFileTreeItem/index.js"),m={Root:d.TreeView,TreeItem:l},r=({fileTree:e,onClick:n,onRemove:i,components:s,componentsProps:o})=>{const{Root:c,TreeItem:u}=s;return e?t.jsx(c,{...o.root,children:t.jsx(u,{fileTree:e,onClick:n,onRemove:i,...o.treeItem})}):null};r.defaultProps={fileTree:{},onClick:void 0,onRemove:void 0,components:m,componentsProps:void 0};const p=r;module.exports=p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("@mui/material/styles"),n=require("./UploadFileTree.js"),i=require("../../_utils/withOverrides.js"),e="UploadFileTree",t=`Vdt${e}`,d=i.withOverrides(t)(n),o=s.styled(d,{name:t,overridesResolver:(l,r)=>r.root})(()=>({}));o.displayName=e;const c=o;module.exports=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),T=require("@mui/material/styles"),b=require("@mui/x-tree-view"),j=require("../UploadListItem/index.js"),y=T.styled(b.TreeItem)(({theme:t})=>({"& .MuiTreeItem-content":{padding:0,"&.Mui-selected":{backgroundColor:`${t.palette.primary.main}`,"&.Mui-focused":{backgroundColor:`${t.palette.primary.main}`}}},"& .MuiTreeItem-iconContainer":{display:"none !important"}})),I={Root:y,Label:j},d=({fileTree:t,onClick:o,onRemove:r,components:a,componentsProps:i})=>{const{Root:u,Label:m}=a;return e.jsx(e.Fragment,{children:Object.entries(t).map(([,n])=>{const{file:p,path:s,progress:x,files:c}=n;return e.jsx(u,{nodeId:s,icon:e.jsx("div",{}),label:e.jsx(m,{file:p,progress:x,onRemove:r?l=>r(l,n):void 0,onClick:o?l=>o(l,n):void 0,...i.label},s),...i.root,children:Object.keys(c??{}).length>0&&e.jsx(d,{fileTree:c,onClick:o,onRemove:r,components:a,componentsProps:i})},s)})})};d.defaultProps={fileTree:{},onClick:void 0,onRemove:void 0,components:I,componentsProps:void 0};const g=d;module.exports=g;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("@mui/material/styles"),i=require("./UploadFileTreeItem.js"),n=require("../../_utils/withOverrides.js"),e="UploadFileTreeItem",t=`Vdt${e}`,d=n.withOverrides(t)(i),o=s.styled(d,{name:t,overridesResolver:(c,r)=>r.root})({});o.displayName=e;const l=o;module.exports=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),h=require("@mui/material/ListItem"),l=require("@mui/material/styles"),x=require("./components/UploadListItemSecondaryAction.js"),g=require("./components/UploadListItemText.js"),T=require("./components/UploadListItemThumbnail.js"),U=l.styled(h,{shouldForwardProp:e=>typeof e!="string"||!["isComplete","selected"].includes(e)})(({isComplete:e,selected:t,theme:o})=>({cursor:e?"default":"pointer","&:not(:first-of-type)":{marginTop:o.spacing(.5)},paddingLeft:8,backgroundColor:l.emphasize(o.palette.background.paper,.05),"&:hover":{...!t&&{backgroundColor:o.palette.background.paper},"& .UploadListItemActions-completeIcon":{visibility:"hidden"},"& .UploadListItemActions-progressIcon":{visibility:"hidden"},"& .UploadListItemActions-deleteIcon":{visibility:"visible"}}})),C=l.styled(g)(()=>({margin:4})),A={Root:U,ListItemThumbnail:T,ListItemText:C,ListItemSecondaryAction:x},a=({file:e,progress:t,onClick:o,onRemove:r,selected:m,isUploading:p,components:u,componentsProps:i})=>{const{Root:I,ListItemThumbnail:L,ListItemText:y,ListItemSecondaryAction:f}=u,c=t&&t.transferredBytes?Math.floor(t.transferredBytes/t.totalBytes*100):0,d=c===100,v=s=>{s.stopPropagation(),r&&r(s)},b=s=>{o&&o(s)};return n.jsxs(I,{component:"div",isComplete:d,onClick:d?void 0:b,selected:m,...i.root,children:[n.jsx(L,{file:e,...i.listItemThumbnail}),n.jsx(y,{file:e,showProgress:!!t,progressPercent:c,...i.listItemText}),n.jsx(f,{progress:t,isComplete:d,onRemove:v,isUploading:p,...i.listItemSecondaryAction})]})};a.defaultProps={file:void 0,progress:void 0,selected:!1,isUploading:!1,onClick:void 0,onRemove:void 0,components:A,componentsProps:void 0};const k=a;module.exports=k;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),s=require("@mui/material/Box"),n=require("@mui/material/LinearProgress"),o=require("@mui/material/Typography"),t=({value:e,...i})=>r.jsxs(s,{display:"flex",alignItems:"center",...i,children:[r.jsx(s,{width:"100%",mr:1,children:r.jsx(n,{variant:"determinate",value:e})}),r.jsx(s,{minWidth:35,children:e&&r.jsx(o,{variant:"body2",color:"textSecondary",children:`${Math.round(e)}%`})})]});t.defaultProps={};const c=t;module.exports=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),l=require("@mui/icons-material/esm/CheckCircle"),r=require("@mui/icons-material/esm/Delete"),d=require("@mui/icons-material/esm/QueryBuilder"),a=require("@mui/material/IconButton"),u=require("@mui/material/ListItemSecondaryAction"),t=require("@mui/material/styles"),I=t.styled(u)(()=>({position:"initial",transform:"unset"})),y=t.styled(l)(({theme:s})=>({color:s.palette.success.main})),m=t.styled(d)(()=>({color:"initial"})),p=t.styled(r)(()=>({position:"absolute",visibility:"hidden"})),o=({progress:s,isComplete:c,onRemove:i,isUploading:n})=>e.jsx(I,{children:e.jsxs(a,{edge:"end",onClick:i,disabled:n,children:[s&&(c?e.jsx(y,{className:"UploadListItemActions-completeIcon"}):e.jsx(m,{className:"UploadListItemActions-progressIcon"})),e.jsx(p,{className:"UploadListItemActions-deleteIcon"})]})});o.defaultProps={};const S=o;module.exports=S;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),l=require("filesize"),p=require("@mui/material/Box"),d=require("@mui/material/ListItemText"),r=require("@mui/material/Typography"),u=require("./UploadListItemProgress.js"),i=({file:n,showProgress:o,progressPercent:a})=>{const{size:s,name:c}=n||{},t=s?l.filesize(s):void 0;return e.jsx(d,{disableTypography:!0,sx:{marginLeft:1},primary:e.jsxs(e.Fragment,{children:[e.jsx(r,{variant:"body1",component:"span",display:"block",noWrap:!0,children:c}),t&&e.jsx(r,{variant:"body2",component:"span",display:"block",noWrap:!0,children:t}),e.jsx(p,{sx:{minHeight:16},children:o&&e.jsx(u,{value:a})})]})})};i.defaultProps={};const x=i;module.exports=x;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),a=require("react"),u=require("@mui/icons-material/esm/Folder"),l=require("@mui/material/ListItemAvatar"),h=require("@mui/material/Avatar"),d=require("@mui/material/Box"),o=require("@mui/material/styles"),x=require("../../../general/MediaIcon/index.js"),m=o.styled(d)(()=>({display:"flex",margin:8,borderRadius:2,border:"1px solid #eaeaea",width:80,height:80,padding:4,boxSizing:"border-box",overflow:"hidden"})),g=o.styled(l)(()=>({width:"100%",height:"100%"})),p=o.styled(h)(()=>({width:"100%",height:"100%"})),n=o.styled(d)(()=>({display:"block",width:"auto",height:"100%"})),i=["video/mp4"],c=({file:r})=>{const e=r==null?void 0:r.type,s=a.useMemo(()=>{try{return e!=="folder"?URL.createObjectURL(r):void 0}catch{return}},[r,e]);return t.jsx(m,{children:e&&(e!=null&&e.includes("image"))?t.jsx(n,{component:"img",src:s,alt:s}):e&&(i!=null&&i.includes(e))?t.jsx(n,{component:"video",autoPlay:!0,muted:!0,children:t.jsx("source",{src:s,type:e})}):t.jsx(g,{children:t.jsx(p,{variant:"square",children:e==="folder"?t.jsx(u,{fontSize:"large"}):t.jsx(x,{type:e!=null&&e.includes("/")?e==null?void 0:e.split("/")[0]:e,componentsProps:{root:{fontSize:"large"}}})})})})};c.defaultProps={};const j=c;module.exports=j;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("@mui/material/styles"),i=require("./UploadListItem.js"),n=require("../../_utils/withOverrides.js"),e="UploadListItem",t=`Vdt${e}`,d=n.withOverrides(t)(i),s=r.styled(d,{name:t,overridesResolver:(m,o)=>o.root})(()=>({}));s.displayName=e;const c=s;module.exports=c;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as n, jsx as m, Fragment as
|
|
1
|
+
import { jsxs as n, jsx as m, Fragment as M } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as b } from "react";
|
|
3
3
|
import x from "@mui/material/List";
|
|
4
4
|
import j from "@mui/material/ListSubheader";
|
|
@@ -17,8 +17,8 @@ const q = () => /* @__PURE__ */ m(w, { children: "No collections found..." }), A
|
|
|
17
17
|
}, d = ({
|
|
18
18
|
collectionListType: t,
|
|
19
19
|
header: l,
|
|
20
|
-
primary:
|
|
21
|
-
secondary:
|
|
20
|
+
primary: p,
|
|
21
|
+
secondary: u,
|
|
22
22
|
avatarVariant: c,
|
|
23
23
|
dense: f,
|
|
24
24
|
amountLoading: h,
|
|
@@ -32,8 +32,8 @@ const q = () => /* @__PURE__ */ m(w, { children: "No collections found..." }), A
|
|
|
32
32
|
const {
|
|
33
33
|
Root: v,
|
|
34
34
|
ListSubheader: C,
|
|
35
|
-
ListItem:
|
|
36
|
-
} = S,
|
|
35
|
+
ListItem: g
|
|
36
|
+
} = S, k = [...Array(Math.max(h, 0)).keys()].map(() => ({
|
|
37
37
|
key: a()
|
|
38
38
|
})), s = b(() => {
|
|
39
39
|
var o;
|
|
@@ -44,12 +44,12 @@ const q = () => /* @__PURE__ */ m(w, { children: "No collections found..." }), A
|
|
|
44
44
|
}, [t.collection]);
|
|
45
45
|
return /* @__PURE__ */ n(v, { dense: f, ...i.root, children: [
|
|
46
46
|
/* @__PURE__ */ m(C, { ...i.listSubheader, children: l }),
|
|
47
|
-
/* @__PURE__ */ n(
|
|
47
|
+
/* @__PURE__ */ n(M, { children: [
|
|
48
48
|
!e && s.length === 0 && V(I),
|
|
49
|
-
(e ?
|
|
49
|
+
(e ? k : s).map(({
|
|
50
50
|
key: o,
|
|
51
51
|
collectionType: r
|
|
52
|
-
}) => /* @__PURE__ */ m(
|
|
52
|
+
}) => /* @__PURE__ */ m(g, { collectionType: r, primary: p, secondary: u, avatarVariant: c, isLoading: e, onClick: L, onDelete: y, ...i.listItem }, o))
|
|
53
53
|
] })
|
|
54
54
|
] });
|
|
55
55
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as f, jsx as
|
|
1
|
+
import { jsxs as f, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import y from "@mui/icons-material/esm/Folder";
|
|
3
3
|
import b from "@mui/icons-material/esm/NoteAdd";
|
|
4
4
|
import e from "@mui/icons-material/esm/LibraryBooks";
|
|
@@ -26,20 +26,20 @@ const C = i(L)(({
|
|
|
26
26
|
}, I = ({
|
|
27
27
|
entityType: o,
|
|
28
28
|
mediaType: c,
|
|
29
|
-
components:
|
|
29
|
+
components: m,
|
|
30
30
|
componentsProps: r
|
|
31
31
|
}) => {
|
|
32
32
|
const {
|
|
33
|
-
Root:
|
|
34
|
-
PlaceholderIcon:
|
|
33
|
+
Root: a,
|
|
34
|
+
PlaceholderIcon: d,
|
|
35
35
|
ItemIcon: s,
|
|
36
36
|
CollectionIcon: p,
|
|
37
37
|
LibraryIcon: u
|
|
38
|
-
} =
|
|
39
|
-
return /* @__PURE__ */ f(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
} = m, n = o == null ? void 0 : o.toLowerCase();
|
|
39
|
+
return /* @__PURE__ */ f(a, { component: "span", ...r.root, children: [
|
|
40
|
+
n === "item" && /* @__PURE__ */ t(s, { type: c, ...r.itemIcon }),
|
|
41
|
+
n === "collection" && /* @__PURE__ */ t(p, { type: c, ...r.collectionIcon }),
|
|
42
|
+
n === "library" && /* @__PURE__ */ t(u, { type: c, ...r.libraryIcon, components: {
|
|
43
43
|
PlaceholderIcon: e,
|
|
44
44
|
FileIcon: e,
|
|
45
45
|
AudioIcon: h,
|
|
@@ -47,7 +47,7 @@ const C = i(L)(({
|
|
|
47
47
|
ImageIcon: M,
|
|
48
48
|
...r.libraryIcon.components || {}
|
|
49
49
|
} }),
|
|
50
|
-
!["item", "collection", "library"].includes(
|
|
50
|
+
!["item", "collection", "library"].includes(n) && /* @__PURE__ */ t(d, { type: c, ...r.placeholderIcon })
|
|
51
51
|
] });
|
|
52
52
|
};
|
|
53
53
|
I.defaultProps = {
|
|
@@ -35,8 +35,8 @@ const H = () => /* @__PURE__ */ m(T, { children: "No entities found..." }), J =
|
|
|
35
35
|
}) => {
|
|
36
36
|
const {
|
|
37
37
|
Root: v,
|
|
38
|
-
ListSubheader:
|
|
39
|
-
CollectionListItem:
|
|
38
|
+
ListSubheader: k,
|
|
39
|
+
CollectionListItem: M,
|
|
40
40
|
ItemListItem: x,
|
|
41
41
|
LoadingListItem: V
|
|
42
42
|
} = S, w = [...Array(Math.max(c, 0)).keys()].map(() => ({
|
|
@@ -60,7 +60,7 @@ const H = () => /* @__PURE__ */ m(T, { children: "No entities found..." }), J =
|
|
|
60
60
|
...o.itemListItem
|
|
61
61
|
}
|
|
62
62
|
} : i ? {
|
|
63
|
-
component:
|
|
63
|
+
component: M,
|
|
64
64
|
props: {
|
|
65
65
|
collectionType: i,
|
|
66
66
|
...o.listItem,
|
|
@@ -75,7 +75,7 @@ const H = () => /* @__PURE__ */ m(T, { children: "No entities found..." }), J =
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
return /* @__PURE__ */ l(v, { dense: f, ...o.root, children: [
|
|
78
|
-
/* @__PURE__ */ m(
|
|
78
|
+
/* @__PURE__ */ m(k, { ...o.listSubheader, children: L }),
|
|
79
79
|
/* @__PURE__ */ l(q, { children: [
|
|
80
80
|
!e && s.length === 0 && G(C),
|
|
81
81
|
(e ? w : s).map(({
|
|
@@ -5,7 +5,7 @@ import A from "@mui/icons-material/esm/FolderOutlined";
|
|
|
5
5
|
import F from "@mui/icons-material/esm/TextSnippetOutlined";
|
|
6
6
|
import d from "@mui/material/Box";
|
|
7
7
|
import V from "@mui/material/IconButton";
|
|
8
|
-
import
|
|
8
|
+
import S from "@mui/material/Tooltip";
|
|
9
9
|
import N from "@mui/material/Popover";
|
|
10
10
|
import { styled as e } from "@mui/material/styles";
|
|
11
11
|
import { formatTimeCodeText as W } from "@vidispine/vdt-js";
|
|
@@ -55,7 +55,7 @@ const G = e(d, {
|
|
|
55
55
|
opacity: i ? 1 : 0,
|
|
56
56
|
transition: "opacity .15s ease-in-out",
|
|
57
57
|
gap: o.spacing(0.25)
|
|
58
|
-
})),
|
|
58
|
+
})), k = e(V)(({
|
|
59
59
|
theme: o
|
|
60
60
|
}) => ({
|
|
61
61
|
padding: o.spacing(0.25),
|
|
@@ -83,7 +83,7 @@ const G = e(d, {
|
|
|
83
83
|
height: "1.75em",
|
|
84
84
|
width: "1.75em"
|
|
85
85
|
}
|
|
86
|
-
})),
|
|
86
|
+
})), y = e("div")(({
|
|
87
87
|
theme: o
|
|
88
88
|
}) => ({
|
|
89
89
|
backgroundColor: "rgba(0,0,0,0.6)",
|
|
@@ -102,17 +102,17 @@ const G = e(d, {
|
|
|
102
102
|
})), s = e("span")(() => ({
|
|
103
103
|
fontWeight: 600,
|
|
104
104
|
fontSize: ".75rem"
|
|
105
|
-
})),
|
|
105
|
+
})), R = e("span")(() => ({
|
|
106
106
|
fontSize: ".75rem"
|
|
107
107
|
})), K = {
|
|
108
108
|
Root: G
|
|
109
|
-
},
|
|
109
|
+
}, w = ({
|
|
110
110
|
listItem: o,
|
|
111
111
|
entry: i,
|
|
112
112
|
baseUrl: a,
|
|
113
113
|
cover: l,
|
|
114
|
-
onClick:
|
|
115
|
-
onOpenClick:
|
|
114
|
+
onClick: p,
|
|
115
|
+
onOpenClick: g,
|
|
116
116
|
components: L,
|
|
117
117
|
componentsProps: O
|
|
118
118
|
}) => {
|
|
@@ -121,36 +121,36 @@ const G = e(d, {
|
|
|
121
121
|
} = L, {
|
|
122
122
|
thumbnail: c,
|
|
123
123
|
group: z,
|
|
124
|
-
start:
|
|
125
|
-
end:
|
|
124
|
+
start: u,
|
|
125
|
+
end: m
|
|
126
126
|
} = o || {}, {
|
|
127
|
-
entityType:
|
|
128
|
-
} = i || o,
|
|
129
|
-
|
|
127
|
+
entityType: h
|
|
128
|
+
} = i || o, f = (t) => t === "-INF" ? "Start" : t === "+INF" ? "End" : W(t).toSmpte(), b = f(u), x = f(m), [C, v] = $(null), I = !!C, M = (t) => {
|
|
129
|
+
p && p(t, {
|
|
130
130
|
...o,
|
|
131
131
|
...i || {}
|
|
132
132
|
});
|
|
133
133
|
}, T = (t) => {
|
|
134
|
-
t.stopPropagation(),
|
|
134
|
+
t.stopPropagation(), v(t.currentTarget);
|
|
135
135
|
}, B = (t) => {
|
|
136
|
-
t.stopPropagation(),
|
|
136
|
+
t.stopPropagation(), g(t, {
|
|
137
137
|
...o,
|
|
138
138
|
...i || {}
|
|
139
139
|
});
|
|
140
140
|
}, E = () => {
|
|
141
|
-
|
|
141
|
+
v(null);
|
|
142
142
|
};
|
|
143
143
|
return /* @__PURE__ */ r(P, { onClick: M, cover: l, image: a && c ? `${a}/APInoauth/thumbnail/${c}` : c, ...O.root, children: [
|
|
144
144
|
!c && /* @__PURE__ */ n(J, { children: /* @__PURE__ */ n(A, {}) }),
|
|
145
|
-
/* @__PURE__ */ r(q, { className: "VdtEventListItemActions", infoOpen:
|
|
146
|
-
|
|
147
|
-
/* @__PURE__ */ n(
|
|
145
|
+
/* @__PURE__ */ r(q, { className: "VdtEventListItemActions", infoOpen: I, children: [
|
|
146
|
+
g && /* @__PURE__ */ n(S, { title: h === "Item" && "Open Item" || h === "Collection" && "Open Collection" || "Open", children: /* @__PURE__ */ n(k, { size: "small", onClick: B, children: /* @__PURE__ */ n(j, {}) }) }),
|
|
147
|
+
/* @__PURE__ */ n(S, { title: "Show event info", children: /* @__PURE__ */ n(k, { size: "small", onClick: T, children: /* @__PURE__ */ n(F, {}) }) })
|
|
148
148
|
] }),
|
|
149
149
|
/* @__PURE__ */ r(H, { children: [
|
|
150
|
-
/* @__PURE__ */ n(
|
|
151
|
-
/* @__PURE__ */ n(
|
|
150
|
+
/* @__PURE__ */ n(y, { children: /* @__PURE__ */ n("span", { children: b }) }),
|
|
151
|
+
/* @__PURE__ */ n(y, { children: /* @__PURE__ */ n("span", { children: x }) })
|
|
152
152
|
] }),
|
|
153
|
-
/* @__PURE__ */ r(N, { onClick: (t) => t.stopPropagation(), open:
|
|
153
|
+
/* @__PURE__ */ r(N, { onClick: (t) => t.stopPropagation(), open: I, anchorEl: C, onClose: E, anchorOrigin: {
|
|
154
154
|
vertical: "bottom",
|
|
155
155
|
horizontal: "right"
|
|
156
156
|
}, transformOrigin: {
|
|
@@ -170,14 +170,14 @@ const G = e(d, {
|
|
|
170
170
|
paddingRight: 1
|
|
171
171
|
}, children: [
|
|
172
172
|
/* @__PURE__ */ n(s, { children: "Start timecode: " }),
|
|
173
|
-
/* @__PURE__ */ n(
|
|
173
|
+
/* @__PURE__ */ n(R, { children: `${b} (${u})` })
|
|
174
174
|
] }),
|
|
175
175
|
/* @__PURE__ */ r(d, { sx: {
|
|
176
176
|
paddingLeft: 1,
|
|
177
177
|
paddingRight: 1
|
|
178
178
|
}, children: [
|
|
179
179
|
/* @__PURE__ */ n(s, { children: "End timecode: " }),
|
|
180
|
-
/* @__PURE__ */ n(
|
|
180
|
+
/* @__PURE__ */ n(R, { children: `${x} (${m})` })
|
|
181
181
|
] }),
|
|
182
182
|
/* @__PURE__ */ n(d, { sx: {
|
|
183
183
|
paddingLeft: 1,
|
|
@@ -187,7 +187,7 @@ const G = e(d, {
|
|
|
187
187
|
] })
|
|
188
188
|
] });
|
|
189
189
|
};
|
|
190
|
-
|
|
190
|
+
w.defaultProps = {
|
|
191
191
|
listItem: void 0,
|
|
192
192
|
baseUrl: void 0,
|
|
193
193
|
entry: void 0,
|
|
@@ -197,7 +197,7 @@ R.defaultProps = {
|
|
|
197
197
|
components: K,
|
|
198
198
|
componentsProps: void 0
|
|
199
199
|
};
|
|
200
|
-
const ao =
|
|
200
|
+
const ao = w;
|
|
201
201
|
export {
|
|
202
202
|
ao as default
|
|
203
203
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import c from "@mui/material/MenuItem";
|
|
3
3
|
import s from "@mui/material/ListItemIcon";
|
|
4
4
|
import a from "@mui/material/ListItemText";
|
|
@@ -14,15 +14,15 @@ const d = p(l)(({
|
|
|
14
14
|
}) => {
|
|
15
15
|
const {
|
|
16
16
|
icon: r,
|
|
17
|
-
label:
|
|
17
|
+
label: m,
|
|
18
18
|
secondaryLabel: e
|
|
19
19
|
} = o || {};
|
|
20
|
-
return /* @__PURE__ */
|
|
20
|
+
return /* @__PURE__ */ i(c, { ...n, children: [
|
|
21
21
|
r && /* @__PURE__ */ t(s, { children: /* @__PURE__ */ t(r, { fontSize: "small" }) }),
|
|
22
|
-
/* @__PURE__ */ t(a, { children:
|
|
22
|
+
/* @__PURE__ */ t(a, { children: m }),
|
|
23
23
|
e && /* @__PURE__ */ t(d, { variant: "body2", color: "text.secondary", children: e })
|
|
24
24
|
] });
|
|
25
|
-
},
|
|
25
|
+
}, L = f;
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
L as default
|
|
28
28
|
};
|
|
@@ -10,5 +10,5 @@ export interface VdtPickersDayProps extends CustomPickerDayProps {
|
|
|
10
10
|
} | string | number;
|
|
11
11
|
locale?: string;
|
|
12
12
|
}
|
|
13
|
-
declare const VdtPickersDay: import("react").ForwardRefExoticComponent<
|
|
13
|
+
declare const VdtPickersDay: import("react").ForwardRefExoticComponent<Omit<VdtPickersDayProps, "ref"> & import("react").RefAttributes<any>>;
|
|
14
14
|
export default VdtPickersDay;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { styled as
|
|
4
|
-
const d = c
|
|
2
|
+
import c from "@mui/material/Typography";
|
|
3
|
+
import { styled as i } from "@mui/material/styles";
|
|
4
|
+
const d = i(c, {
|
|
5
5
|
shouldForwardProp: (o) => o !== "dark"
|
|
6
6
|
})(({
|
|
7
7
|
theme: o,
|