asma-core-ui 2.19.98 → 2.19.100

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.
@@ -220,4 +220,4 @@ function YV(e,t){return"function"==typeof e?e(t):e}function ZV(e,t){return n=>{t
220
220
  *
221
221
  * @license MIT
222
222
  */
223
- function H$(t,n){return t?function(e){return function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(e)||"function"==typeof e||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(e)}(t)?e.createElement(t,n):t:null}function B$({table:e,stickyHeader:t=!1,hideHeader:n=!1}){return Me.jsxs("thead",{className:vo("table-header-group z-50 bg-[#fcfcfd] cursor-default",n&&"h-0 opacity-0"),style:t&&{position:"sticky",top:-.2}||{},children:[Me.jsx(U$,{}),e.getHeaderGroups().map((e=>Me.jsx("tr",{children:e.headers.map((e=>{var t;let o=e.getSize();o&&(o=`min-w-[${o}px] w-[${o}px] max-w-[${o}px]`);const r="actions"===(null==(t=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}(e.headerGroup.headers))?void 0:t.id),i=e.headerGroup.headers[e.headerGroup.headers.length-(r?2:1)];return((null==i?void 0:i.id)===e.id||!o)&&(o="w-full"),Me.jsx("th",{colSpan:e.colSpan,className:vo(o,"px-2.5 py-0","text-delta-500 bg-transparent border-none text-start text-[10px] font-semibold uppercase justify-start"),style:{maxWidth:e.column.columnDef.maxSize,minWidth:e.column.columnDef.minSize},children:e.isPlaceholder?null:Me.jsxs("div",{className:vo("flex items-center justify-left",n?"h-0":"h-[30px]",e.column.getCanSort()||"actions"===e.column.id?"cursor-pointer select-none":"",e.column.columnDef.className),onClick:e.column.getToggleSortingHandler(),children:[H$(e.column.columnDef.header,e.getContext()),{asc:Me.jsx(Al,{className:"text-delta-800"}),desc:Me.jsx(Ll,{className:"text-delta-800"})}[e.column.getIsSorted()]??null]})},e.id)}))},e.id))),Me.jsx(U$,{})]})}const U$=()=>Me.jsx("tr",{className:"bg-[#fcfcfd] w-full relative table-row",children:Me.jsx("th",{className:"w-[calc(100%-1px)] p-0 bg-[#fcfcfd] border-b-solid border-t-transparent border-x-0 border-[0.5px] border-b-delta-300 h-full absolute-center"})});const W$=e=>Me.jsx(O,{...e});function G$({tableData:e,actions:t}){const{anchorEl:n,open:o,handleClose:r,handleOpen:i}=SV();return Me.jsxs("div",{className:"flex justify-center items-center",children:[Me.jsx(ER,{dataTest:"test",variant:"text",size:"small",onClick:e=>{e.stopPropagation(),e.preventDefault(),i(e)},onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onMouseUp:e=>{e.stopPropagation(),e.preventDefault()},children:Me.jsx(Il,{className:"!text-delta-800",width:20,height:20})}),Me.jsx(W$,{open:o,anchorEl:n,onClose:r,onClick:r,anchorOrigin:{horizontal:"center",vertical:"bottom"},transformOrigin:{vertical:"top",horizontal:"right"},children:t(e.row).filter((e=>!e.hide)).map((t=>Me.jsx(FV,{className:t.className,disabled:t.disabled,onClick:()=>{var n;null==(n=t.onClick)||n.call(t,e.row)},onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onMouseUp:e=>{e.stopPropagation(),e.preventDefault()},children:t.label},t.label)))})]})}function K$({headerData:e}){const{anchorEl:t,open:n,handleClose:o,handleOpen:r}=SV();return Me.jsxs("div",{className:"w-full flex items-center justify-end ",children:[Me.jsx(ER,{dataTest:"data-test-pin",variant:"text",size:"small",onClick:r,children:Me.jsx(tl,{icon:"mdi:pin",className:"text-delta-600 min-w-[20px] min-h-[20px]"})}),Me.jsx(W$,{anchorEl:t,anchorOrigin:{horizontal:"left",vertical:"bottom"},open:n,onClose:o,children:e.table.getAllLeafColumns().filter((e=>e.getCanHide()&&e.id!==WV)).map((e=>e.columnDef.header?Me.jsxs(FV,{onClick:()=>e.toggleVisibility(!e.getIsVisible()),children:[Me.jsx(RN,{size:"small",dataTest:"test",disableRipple:!0,className:"p-0 pr-2",checked:e.getIsVisible()}),"string"==typeof e.columnDef.header?e.columnDef.header:e.id]},e.id):null))})]})}function Y$({columns:e,expandArrow:t,enableRowSelection:n,headerPin:o,actions:r,customActionsNode:i}){!e.find((e=>"actions"===e.id))&&(r||i||o)&&e.push(function(e){const{headerPin:t,actions:n,customActionsNode:o}=e;return{id:"actions",enableHiding:!1,enableSorting:!1,accessorFn:e=>e,header:e=>t?Me.jsx(K$,{headerData:e}):null,cell:e=>n||o?Me.jsxs("div",{className:"flex gap-2 items-center justify-end",children:[o&&(null==o?void 0:o(e)),n&&Me.jsx(G$,{tableData:e,actions:n})]}):null,size:50}}({headerPin:o||!1,actions:r,customActionsNode:i})),n&&!e.find((e=>e.id===WV))&&e.unshift({id:WV,minSize:40,maxSize:40,size:40,header:({table:e})=>Me.jsx("div",{className:"w-[25px]",children:Me.jsx(RN,{size:"small",dataTest:"cell-select-all",checked:e.getIsAllRowsSelected(),indeterminate:e.getIsSomeRowsSelected(),onChange:e.getToggleAllRowsSelectedHandler()})}),cell:({cell:e})=>Me.jsx("div",{className:"w-[25px]",children:Me.jsx(RN,{size:"small",dataTest:"cell-select",checked:e.row.getIsSelected(),disabled:!e.row.getCanSelect(),onClick:e=>e.stopPropagation(),onChange:e.row.getToggleSelectedHandler()})})}),t&&!e.find((e=>e.id===GV))&&e.unshift({id:GV,minSize:40,maxSize:40,size:40,enableHiding:!1,enableSorting:!1,header:()=>null,cell:({cell:e})=>{const t=e.row.getIsExpanded();return e.row.getCanExpand()?Me.jsx("span",{className:"flex w-fit h-fit px-2 bg-transparent outline-none focus:outline-none items-center justify-center",onClick:()=>e.row.getToggleExpandedHandler()(),children:t?Me.jsx(Hl,{width:24,height:24}):Me.jsx(ql,{width:24,height:24})}):null}})}function Z$({table:e,locale:t}){const{anchorEl:n,open:o,handleClose:r,handleOpen:i}=SV(),l="no"===t,a=()=>{var e;const t=document.querySelectorAll('[data-index="0"]');null==(e=null==t?void 0:t[0])||e.scrollIntoView({behavior:"smooth",block:"end",inline:"end"})},s=e.getPageCount(),u=e.getState().pagination.pageIndex+1,c=Array.from({length:s},((e,t)=>t+1));return s>1?Me.jsxs("div",{className:"w-fit animate-opacity-in-5 justify-end flex items-center bg-transparent gap-2",children:[Me.jsx(Cr,{title:l?"Nåværende side":"Current Page",children:Me.jsx("div",{children:Me.jsxs(ER,{variant:"outlined",dataTest:"list-pages",className:"w-[134px]",onClick:e=>{i(e)},endIcon:o?Me.jsx(Hl,{height:24,width:24}):Me.jsx(ql,{height:24,width:24}),children:[l?"Side":"Page"," ",u," ",l?"av":"of"," ",s]})})}),Me.jsx(W$,{open:o,anchorEl:n,onClose:r,anchorOrigin:{vertical:-5,horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"},children:Me.jsx("div",{className:"max-h-[200px] w-[134px] overflow-auto",children:c.map((t=>Me.jsxs("div",{className:vo("h-[36px] relative flex items-center pl-10 cursor-pointer hover:bg-delta-50",u===t&&"bg-gama-50"),onClick:()=>{e.setPageIndex(t-1),r(),a()},children:[u===t&&Me.jsx(Ul,{className:"absolute left-2 top-1 text-gama-500",height:24,width:24}),Me.jsxs("span",{children:[l?"Side":"Page"," ",t]})]},t)))})}),Me.jsx(Cr,{title:1===u?"":l?"Forrige side":"Previous Page",children:Me.jsx("div",{children:Me.jsx(ER,{variant:"outlined",dataTest:"pagination-ChevronLeftIcon",startIcon:Me.jsx(sl,{height:24,width:24}),onClick:()=>{e.previousPage(),a()},disabled:!e.getCanPreviousPage()})})}),Me.jsx(Cr,{title:u===s?"":l?"Neste side":"Next Page",children:Me.jsx("div",{children:Me.jsx(ER,{variant:"outlined",dataTest:"pagination-ChevronRightIcon",startIcon:Me.jsx(al,{height:24,width:24}),onClick:()=>{e.nextPage(),a()},disabled:!e.getCanNextPage()})})})]}):null}function X$({table:e,locale:t,children:n}){return Me.jsxs("div",{className:"w-full gap-2 bg-transparent flex flex-row py-1 my-1 items-center justify-end ",children:[n,Me.jsx(Z$,{table:e,locale:t})]})}const Q$=({actions:t,columns:n,data:o,customSubRowData:r,initialState:i,enableRowSelection:l,headerPin:a=!0,loading:s,noRowsOverlay:u,tableInstanceRef:c,className:d,rowHeight:p,tdClassName:f,getRowClassName:h,onRowClick:m,renderSubRows:g,customActionsNode:v,focusable:y,stickyHeader:w,expandArrow:x,height:C,locale:O="en",footer:k,hideHeader:S,hideFooter:E,...R})=>{Y$({columns:n,expandArrow:x,enableRowSelection:l,headerPin:a,actions:t,customActionsNode:v});const T=function(t){const n={state:{},onStateChange:()=>{},renderFallbackValue:null,...t},[o]=e.useState((()=>({current:L$(n)}))),[r,i]=e.useState((()=>o.current.initialState));return o.current.setOptions((e=>({...e,...t,state:{...r,...t.state},onStateChange:e=>{i(e),null==t.onStateChange||t.onStateChange(e)}}))),o.current}({...R,columns:n,data:o,initialState:{pagination:{pageIndex:0,pageSize:50},columnVisibility:{...null==i?void 0:i.columnVisibility,[WV]:!1},...i},enableRowSelection:l,getCoreRowModel:e=>QV((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},o=function(t,r,i){void 0===r&&(r=0);const l=[];for(let s=0;s<t.length;s++){const u=V$(e,e._getRowId(t[s],s,i),t[s],s,r,void 0,null==i?void 0:i.id);var a;n.flatRows.push(u),n.rowsById[u.id]=u,l.push(u),e.options.getSubRows&&(u.originalSubRows=e.options.getSubRows(t[s],s),null!=(a=u.originalSubRows)&&a.length&&(u.subRows=o(u.originalSubRows,r+1,u)))}return l};return n.rows=o(t),n}),{key:"development"===process.env.NODE_ENV&&"getRowModel",debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}}),getExpandedRowModel:e=>QV((()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows]),((e,t,n)=>t.rows.length&&(!0===e||Object.keys(e??{}).length)&&n?q$(t):t),{key:"development"===process.env.NODE_ENV&&"getExpandedRowModel",debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable}}),getFilteredRowModel:e=>QV((()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter]),((t,n,o)=>{if(!t.rows.length||(null==n||!n.length)&&!o){for(let e=0;e<t.flatRows.length;e++)t.flatRows[e].columnFilters={},t.flatRows[e].columnFiltersMeta={};return t}const r=[],i=[];(n??[]).forEach((t=>{var n;const o=e.getColumn(t.id);if(!o)return;const i=o.getFilterFn();i?r.push({id:t.id,filterFn:i,resolvedValue:null!=(n=null==i.resolveFilterValue?void 0:i.resolveFilterValue(t.value))?n:t.value}):"production"!==process.env.NODE_ENV&&console.warn(`Could not find a valid 'column.filterFn' for column with the ID: ${o.id}.`)}));const l=n.map((e=>e.id)),a=e.getGlobalFilterFn(),s=e.getAllLeafColumns().filter((e=>e.getCanGlobalFilter()));let u,c;o&&a&&s.length&&(l.push("__global__"),s.forEach((e=>{var t;i.push({id:e.id,filterFn:a,resolvedValue:null!=(t=null==a.resolveFilterValue?void 0:a.resolveFilterValue(o))?t:o})})));for(let e=0;e<t.flatRows.length;e++){const n=t.flatRows[e];if(n.columnFilters={},r.length)for(let e=0;e<r.length;e++){u=r[e];const t=u.id;n.columnFilters[t]=u.filterFn(n,t,u.resolvedValue,(e=>{n.columnFiltersMeta[t]=e}))}if(i.length){for(let e=0;e<i.length;e++){c=i[e];const t=c.id;if(c.filterFn(n,t,c.resolvedValue,(e=>{n.columnFiltersMeta[t]=e}))){n.columnFilters.__global__=!0;break}}!0!==n.columnFilters.__global__&&(n.columnFilters.__global__=!1)}}return z$(t.rows,(e=>{for(let t=0;t<l.length;t++)if(!1===e.columnFilters[l[t]])return!1;return!0}),e)}),{key:"development"===process.env.NODE_ENV&&"getFilteredRowModel",debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}}),getSortedRowModel:e=>QV((()=>[e.getState().sorting,e.getPreSortedRowModel()]),((t,n)=>{if(!n.rows.length||null==t||!t.length)return n;const o=e.getState().sorting,r=[],i=o.filter((t=>{var n;return null==(n=e.getColumn(t.id))?void 0:n.getCanSort()})),l={};i.forEach((t=>{const n=e.getColumn(t.id);n&&(l[t.id]={sortUndefined:n.columnDef.sortUndefined,invertSorting:n.columnDef.invertSorting,sortingFn:n.getSortingFn()})}));const a=e=>{const t=[...e];return t.sort(((e,t)=>{for(let o=0;o<i.length;o+=1){var n;const r=i[o],a=l[r.id],s=null!=(n=null==r?void 0:r.desc)&&n;let u=0;if(a.sortUndefined){const n=void 0===e.getValue(r.id),o=void 0===t.getValue(r.id);(n||o)&&(u=n&&o?0:n?a.sortUndefined:-a.sortUndefined)}if(0===u&&(u=a.sortingFn(e,t,r.id)),0!==u)return s&&(u*=-1),a.invertSorting&&(u*=-1),u}return e.index-t.index})),t.forEach((e=>{var t;r.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=a(e.subRows))})),t};return{rows:a(n.rows),flatRows:r,rowsById:n.rowsById}}),{key:"development"===process.env.NODE_ENV&&"getSortedRowModel",debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}}),getPaginationRowModel:e=>QV((()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded]),((t,n)=>{if(!n.rows.length)return n;const{pageSize:o,pageIndex:r}=t;let{rows:i,flatRows:l,rowsById:a}=n;const s=o*r,u=s+o;let c;i=i.slice(s,u),c=e.options.paginateExpandedRows?{rows:i,flatRows:l,rowsById:a}:q$({rows:i,flatRows:l,rowsById:a}),c.flatRows=[];const d=e=>{c.flatRows.push(e),e.subRows.length&&e.subRows.forEach(d)};return c.rows.forEach(d),c}),{key:"development"===process.env.NODE_ENV&&"getPaginationRowModel",debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable}}),getRowId:R.getRowId||((e,t,n)=>n?[n.id,e.id].join("."):e.id.toString())});c&&(c.current=T);const N=E?T.getCoreRowModel().rows:T.getRowModel().rows;return Me.jsxs("div",{children:[Me.jsx("div",{className:vo("overflow-auto w-full",d),style:{height:C},children:Me.jsxs("table",{className:vo("table box-border border-collapse animate-opacity-appear-3 border-spacing-[1px] max-w-[inherit] m-0 w-[calc(100%-5px)]"),children:[!s&&Me.jsx(B$,{table:T,stickyHeader:w,hideHeader:S}),Me.jsxs("tbody",{className:"table-row-group align-middle max-w-[inherit]",children:[o.length>0&&s?Me.jsx(Fl,{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-primary-500 z-10",width:50,height:50}):null,0===o.length&&s?Me.jsx(Me.Fragment,{children:Array.from({length:5}).map(((e,t)=>Me.jsx("tr",{children:Me.jsx("td",{colSpan:n.length,children:Me.jsx(ne,{variant:"text",width:"100%",height:50},t)})},t)))}):o.length>0?N.map(((e,t)=>((e,t)=>Me.jsxs(b,{children:[Me.jsx("tr",{"data-index":t,"data-test":e.id,id:e.id,tabIndex:y?-1:void 0,className:vo("table-row align-middle border-solid border-x border-t border-b-0 last:border-b-transparent first:border-t-transparent border-x-transparent border-y-delta-300 hover:cursor-pointer hover:bg-primary-25 focus:bg-primary-50 focus:border focus:border-primary-500",(e.getIsExpanded()||e.getIsSelected())&&"bg-primary-50",s&&"opacity-50",null==h?void 0:h(e)),style:{height:p?`${p}px`:"inherit"},onMouseDown:t=>{t.target.classList.contains("MuiModal-backdrop")||"INPUT"===t.target.nodeName||"BUTTON"===t.target.nodeName||(e.getCanExpand()&&!x&&e.getToggleExpandedHandler()(),m&&m(t,e))},children:e.getVisibleCells().map((e=>Me.jsx("td",{className:vo("break-words table-cell align-middle text-sm text-delta-900 whitespace-pre-wrap","px-2.5 py-0",f),children:H$(e.column.columnDef.cell,e.getContext())},e.id)))}),e.getIsExpanded()&&Me.jsx(Me.Fragment,{children:r&&g&&g({rows:r.get(e.original.id.toString())??[],row:e.original})})]},e.id))(e,t))):Me.jsx("tr",{className:"h-28",children:Me.jsx("td",{colSpan:n.length,className:"text-center align-middle text-sm text-delta-900",children:u})})]})]})}),!E&&Me.jsx(X$,{table:T,locale:O,children:null==k?void 0:k(T)})]})},J$="_title_17oo0_1",ez=function(e){return Me.jsx("div",{className:J$,children:e.children})},tz=function(e){return Me.jsx("h1",{"data-test":e.dataTest,className:"font-roboto md:mb-2 mb-5 text-2xl font-bold leading-10 text-[#17232E]",children:e.children})},nz=()=>{const[e,t]=l(null),n=()=>{t((()=>null))};return{anchorEl:e,onClose:n,onAnchorClick:o=>{e?n():(e=>{t((()=>e.currentTarget))})(o)}}},oz=({filterIsActive:e,popoverContent:t,dataTest:n,disabled:o})=>{const{onAnchorClick:r,onClose:i,anchorEl:l}=nz();return Me.jsxs(Me.Fragment,{children:[Me.jsxs("div",{className:"w-fit h-fit relative",children:[Me.jsx(ER,{disabled:o,variant:"outlined",startIcon:Me.jsx(ta,{width:24,height:24}),onClick:r,size:"large",dataTest:n,children:"Filter"}),e&&Me.jsx("div",{className:"h-2 w-2 bg-primary-400 rounded-full absolute top-2 right-2"})]}),Me.jsx(W$,{open:!!l,anchorEl:l,onClose:i,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},className:"my-1",children:t})]})};export{KV as ACTIONS_COLUMN_ID,Vl as ArchiveIcon,xl as AssignmentIcon,Cl as AssignmentOutlineIcon,il as BellIcon,rl as BellOutlineIcon,la as CalendarBlankOutlineIcon,yl as CalendarIcon,wl as CalendarRangeIcon,zl as CheckBoxCheckedIcon,vl as CheckFactOutlineIcon,Ul as CheckIcon,bl as CheckOutlineIcon,ul as ChevronDoubleLeftIcon,cl as ChevronDoubleRightIcon,ql as ChevronDownIcon,sl as ChevronLeftIcon,al as ChevronRightIcon,Hl as ChevronUpIcon,Bl as CloseIcon,fl as DashboardViewIcon,hl as DashboardViewOutlineIcon,ea as DeleteOutlineIcon,Il as DotsVerticalIcon,$l as DownloadIcon,Ql as DragHorizontalIcon,Ll as DropDownIcon,Al as DropUpIcon,oa as DvrIcon,GV as EXPAND_COLUMN_ID,fa as EarthIcon,Xl as EmptyPageIcon,ra as ErrorOutlineIcon,sa as FastCheckOutlineIcon,Jl as FilePdfIcon,ta as FilterIcon,Pl as FindReplaceIcon,Ml as FindReplacePeopleIcon,IO as GridRow,ll as HamburgerIcon,Kl as InboxOutboxIcon,Yl as InboxOutboxOutlineIcon,aa as LinkOutlineIcon,Ol as ListNumberedIcon,pa as ListSettingsLineIcon,ca as ListStatusIcon,Fl as LoadingIcon,na as LockIcon,kl as MessageProcessingIcon,Sl as MessageProcessingOutlineIcon,pl as PdfIcon,ma as PencilOutlineIcon,gl as PeopleIcon,ml as PeopleOutlineIcon,Wl as PermMediaIcon,Gl as PermMediaOutline,jl as PersonIcon,_l as PersonOutlineIcon,dl as QnrIcon,ia as ReplayIcon,El as ReportBoxIcon,Rl as ReportBoxOutlineIcon,PI as RichInput,WV as SELECT_COLUMN_ID,Dl as SearchIcon,Tl as SettingsIcon,ha as SettingsMenuHorizontalIcon,Nl as SettingsOutlineIcon,xN as SnackbarProvider,HV as StyledAccordion,UV as StyledAccordionDetails,BV as StyledAccordionSummary,MR as StyledAlert,jR as StyledAlertTitle,je as StyledBadge,ER as StyledButton,RN as StyledCheckbox,_e as StyledChip,qV as StyledContainer,OR as StyledDataGrid,OV as StyledDatePicker,RR as StyledDialog,TR as StyledDialogActions,NR as StyledDialogContent,PR as StyledDialogTitle,IV as StyledDrawer,oz as StyledFilterMenu,kL as StyledFormControl,NV as StyledFormControlLabel,uR as StyledFormGroup,PV as StyledFormHelperText,MV as StyledFormLabel,kR as StyledGridActionsCellItem,NN as StyledInput,PN as StyledInputField,jV as StyledInputLabel,VV as StyledLink,DV as StyledMenu,FV as StyledMenuItem,AV as StyledMenuList,tz as StyledModuleTitle,W$ as StyledPopover,FI as StyledRadio,AI as StyledRadioGroup,MI as StyledSelect,_I as StyledSelectAutocomplete,jI as StyledSelectItem,II as StyledSlider,CN as StyledSnackbar,_V as StyledStack,DI as StyledSwitch,$V as StyledTab,Q$ as StyledTable,zV as StyledTabs,jN as StyledTextarea,TV as StyledTimePicker,Cr as StyledTooltip,ga as StyledTypography,ez as StyledWidgetTitle,da as TextBoxCheckOutlineIcon,Zl as TopicIcon,ua as UnknownDocumentOutlineRoundedIcon,rN as closeSnackbar,$$ as createColumnHelper,ge as customPalettes,oN as enqueueSnackbar,xg as gridDateComparator,EN as message,pe as omit,fe as pick,ON as processAlertSnackBar,kN as processInfoSnackbar,Oe as theme,he as tokenOptimizer,vN as useSnackbar};
223
+ function H$(t,n){return t?function(e){return function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(e)||"function"==typeof e||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(e)}(t)?e.createElement(t,n):t:null}function B$({table:e,stickyHeader:t=!1,hideHeader:n=!1}){return Me.jsxs("thead",{className:vo("table-header-group z-50 bg-[#fcfcfd] cursor-default",n&&"h-0 opacity-0"),style:t&&{position:"sticky",top:-.2}||{},children:[Me.jsx(U$,{}),e.getHeaderGroups().map((e=>Me.jsx("tr",{children:e.headers.map((e=>{var t;let o=e.getSize();o&&(o=`min-w-[${o}px] w-[${o}px] max-w-[${o}px]`);const r="actions"===(null==(t=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}(e.headerGroup.headers))?void 0:t.id),i=e.headerGroup.headers[e.headerGroup.headers.length-(r?2:1)];return((null==i?void 0:i.id)===e.id||!o)&&(o="w-full"),Me.jsx("th",{colSpan:e.colSpan,className:vo(o,"px-2.5 py-0","text-delta-500 bg-transparent border-none text-start text-[10px] font-semibold uppercase justify-start"),style:{maxWidth:e.column.columnDef.maxSize,minWidth:e.column.columnDef.minSize},children:e.isPlaceholder?null:Me.jsxs("div",{className:vo("flex items-center justify-left",n?"h-0":"h-[30px]",e.column.getCanSort()||"actions"===e.column.id?"cursor-pointer select-none":"",e.column.columnDef.className),onClick:e.column.getToggleSortingHandler(),children:[H$(e.column.columnDef.header,e.getContext()),{asc:Me.jsx(Al,{className:"text-delta-800"}),desc:Me.jsx(Ll,{className:"text-delta-800"})}[e.column.getIsSorted()]??null]})},e.id)}))},e.id))),Me.jsx(U$,{})]})}const U$=()=>Me.jsx("tr",{className:"bg-[#fcfcfd] w-full relative table-row",children:Me.jsx("th",{className:"w-[calc(100%-1px)] p-0 bg-[#fcfcfd] border-b-solid border-t-transparent border-x-0 border-[0.5px] border-b-delta-300 h-full absolute-center"})});const W$=e=>Me.jsx(O,{...e});function G$({tableData:e,actions:t}){const{anchorEl:n,open:o,handleClose:r,handleOpen:i}=SV();return Me.jsxs("div",{className:"flex justify-center items-center",children:[Me.jsx(ER,{dataTest:"test",variant:"text",size:"small",onClick:e=>{e.stopPropagation(),e.preventDefault(),i(e)},onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onMouseUp:e=>{e.stopPropagation(),e.preventDefault()},children:Me.jsx(Il,{className:"!text-delta-800",width:20,height:20})}),Me.jsx(W$,{open:o,anchorEl:n,onClose:r,onClick:r,anchorOrigin:{horizontal:"center",vertical:"bottom"},transformOrigin:{vertical:"top",horizontal:"right"},children:t(e.row).filter((e=>!e.hide)).map((t=>Me.jsx(FV,{className:t.className,disabled:t.disabled,onClick:()=>{var n;null==(n=t.onClick)||n.call(t,e.row)},onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onMouseUp:e=>{e.stopPropagation(),e.preventDefault()},children:t.label},t.label)))})]})}function K$({headerData:e}){const{anchorEl:t,open:n,handleClose:o,handleOpen:r}=SV();return Me.jsxs("div",{className:"w-full flex items-center justify-end ",children:[Me.jsx(ER,{dataTest:"data-test-pin",variant:"text",size:"small",onClick:r,children:Me.jsx(tl,{icon:"mdi:pin",className:"text-delta-600 min-w-[20px] min-h-[20px]"})}),Me.jsx(W$,{anchorEl:t,anchorOrigin:{horizontal:"left",vertical:"bottom"},open:n,onClose:o,children:e.table.getAllLeafColumns().filter((e=>e.getCanHide()&&e.id!==WV)).map((e=>e.columnDef.header?Me.jsxs(FV,{onClick:()=>e.toggleVisibility(!e.getIsVisible()),children:[Me.jsx(RN,{size:"small",dataTest:"test",disableRipple:!0,className:"p-0 pr-2",checked:e.getIsVisible()}),"string"==typeof e.columnDef.header?e.columnDef.header:e.id]},e.id):null))})]})}function Y$({columns:e,expandArrow:t,enableRowSelection:n,headerPin:o,actions:r,customActionsNode:i}){!e.find((e=>"actions"===e.id))&&(r||i||o)&&e.push(function(e){const{headerPin:t,actions:n,customActionsNode:o}=e;return{id:"actions",enableHiding:!1,enableSorting:!1,accessorFn:e=>e,header:e=>t?Me.jsx(K$,{headerData:e}):null,cell:e=>n||o?Me.jsxs("div",{className:"flex gap-2 items-center justify-end",children:[o&&(null==o?void 0:o(e)),n&&Me.jsx(G$,{tableData:e,actions:n})]}):null,size:50}}({headerPin:o||!1,actions:r,customActionsNode:i})),n&&!e.find((e=>e.id===WV))&&e.unshift({id:WV,minSize:40,maxSize:40,size:40,header:({table:e})=>Me.jsx("div",{className:"w-[25px]",children:Me.jsx(RN,{size:"small",dataTest:"cell-select-all",checked:e.getIsAllRowsSelected(),indeterminate:e.getIsSomeRowsSelected(),onChange:e.getToggleAllRowsSelectedHandler()})}),cell:({cell:e})=>Me.jsx("div",{className:"w-[25px]",children:Me.jsx(RN,{size:"small",dataTest:"cell-select",checked:e.row.getIsSelected(),disabled:!e.row.getCanSelect(),onClick:e=>e.stopPropagation(),onChange:e.row.getToggleSelectedHandler()})})}),t&&!e.find((e=>e.id===GV))&&e.unshift({id:GV,minSize:40,maxSize:40,size:40,enableHiding:!1,enableSorting:!1,header:()=>null,cell:({cell:e})=>{const t=e.row.getIsExpanded();return e.row.getCanExpand()?Me.jsx("span",{className:"flex w-fit h-fit px-2 bg-transparent outline-none focus:outline-none items-center justify-center",onClick:()=>e.row.getToggleExpandedHandler()(),children:t?Me.jsx(Hl,{width:24,height:24}):Me.jsx(ql,{width:24,height:24})}):null}})}function Z$({table:e,locale:t}){const{anchorEl:n,open:o,handleClose:r,handleOpen:i}=SV(),l="no"===t,a=()=>{var e;const t=document.querySelectorAll('[data-index="0"]');null==(e=null==t?void 0:t[0])||e.scrollIntoView({behavior:"smooth",block:"end",inline:"end"})},s=e.getPageCount(),u=e.getState().pagination.pageIndex+1,c=Array.from({length:s},((e,t)=>t+1));return s>1?Me.jsxs("div",{className:"w-fit animate-opacity-in-5 justify-end flex items-center bg-transparent gap-2",children:[Me.jsx(Cr,{title:l?"Nåværende side":"Current Page",children:Me.jsx("div",{children:Me.jsxs(ER,{variant:"outlined",dataTest:"list-pages",className:"w-[134px]",onClick:e=>{i(e)},endIcon:o?Me.jsx(Hl,{height:24,width:24}):Me.jsx(ql,{height:24,width:24}),children:[l?"Side":"Page"," ",u," ",l?"av":"of"," ",s]})})}),Me.jsx(W$,{open:o,anchorEl:n,onClose:r,anchorOrigin:{vertical:-5,horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"},children:Me.jsx("div",{className:"max-h-[200px] w-[134px] overflow-auto",children:c.map((t=>Me.jsxs("div",{className:vo("h-[36px] relative flex items-center pl-10 cursor-pointer hover:bg-delta-50",u===t&&"bg-gama-50"),onClick:()=>{e.setPageIndex(t-1),r(),a()},children:[u===t&&Me.jsx(Ul,{className:"absolute left-2 top-1 text-gama-500",height:24,width:24}),Me.jsxs("span",{children:[l?"Side":"Page"," ",t]})]},t)))})}),Me.jsx(Cr,{title:1===u?"":l?"Forrige side":"Previous Page",children:Me.jsx("div",{children:Me.jsx(ER,{variant:"outlined",dataTest:"pagination-ChevronLeftIcon",startIcon:Me.jsx(sl,{height:24,width:24}),onClick:()=>{e.previousPage(),a()},disabled:!e.getCanPreviousPage()})})}),Me.jsx(Cr,{title:u===s?"":l?"Neste side":"Next Page",children:Me.jsx("div",{children:Me.jsx(ER,{variant:"outlined",dataTest:"pagination-ChevronRightIcon",startIcon:Me.jsx(al,{height:24,width:24}),onClick:()=>{e.nextPage(),a()},disabled:!e.getCanNextPage()})})})]}):null}function X$({table:e,locale:t,children:n}){return Me.jsxs("div",{className:"w-full gap-2 bg-transparent flex flex-row py-1 my-1 items-center justify-end ",children:[n,Me.jsx(Z$,{table:e,locale:t})]})}const Q$=({actions:t,columns:n,data:o,customSubRowData:r,initialState:i,enableRowSelection:l,headerPin:a=!0,loading:s,noRowsOverlay:u,tableInstanceRef:c,className:d,rowHeight:p,tdClassName:f,getRowClassName:h,onRowClick:m,renderSubRows:g,customActionsNode:v,focusable:y,stickyHeader:w,expandArrow:x,height:C,locale:O="en",footer:k,hideHeader:S,hideFooter:E,...R})=>{Y$({columns:n,expandArrow:x,enableRowSelection:l,headerPin:a,actions:t,customActionsNode:v});const T=function(t){const n={state:{},onStateChange:()=>{},renderFallbackValue:null,...t},[o]=e.useState((()=>({current:L$(n)}))),[r,i]=e.useState((()=>o.current.initialState));return o.current.setOptions((e=>({...e,...t,state:{...r,...t.state},onStateChange:e=>{i(e),null==t.onStateChange||t.onStateChange(e)}}))),o.current}({...R,columns:n,data:o,initialState:{pagination:{pageIndex:0,pageSize:50},columnVisibility:{...null==i?void 0:i.columnVisibility,[WV]:!1},...i},enableRowSelection:l,getCoreRowModel:e=>QV((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},o=function(t,r,i){void 0===r&&(r=0);const l=[];for(let s=0;s<t.length;s++){const u=V$(e,e._getRowId(t[s],s,i),t[s],s,r,void 0,null==i?void 0:i.id);var a;n.flatRows.push(u),n.rowsById[u.id]=u,l.push(u),e.options.getSubRows&&(u.originalSubRows=e.options.getSubRows(t[s],s),null!=(a=u.originalSubRows)&&a.length&&(u.subRows=o(u.originalSubRows,r+1,u)))}return l};return n.rows=o(t),n}),{key:"development"===process.env.NODE_ENV&&"getRowModel",debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}}),getExpandedRowModel:e=>QV((()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows]),((e,t,n)=>t.rows.length&&(!0===e||Object.keys(e??{}).length)&&n?q$(t):t),{key:"development"===process.env.NODE_ENV&&"getExpandedRowModel",debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable}}),getFilteredRowModel:e=>QV((()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter]),((t,n,o)=>{if(!t.rows.length||(null==n||!n.length)&&!o){for(let e=0;e<t.flatRows.length;e++)t.flatRows[e].columnFilters={},t.flatRows[e].columnFiltersMeta={};return t}const r=[],i=[];(n??[]).forEach((t=>{var n;const o=e.getColumn(t.id);if(!o)return;const i=o.getFilterFn();i?r.push({id:t.id,filterFn:i,resolvedValue:null!=(n=null==i.resolveFilterValue?void 0:i.resolveFilterValue(t.value))?n:t.value}):"production"!==process.env.NODE_ENV&&console.warn(`Could not find a valid 'column.filterFn' for column with the ID: ${o.id}.`)}));const l=n.map((e=>e.id)),a=e.getGlobalFilterFn(),s=e.getAllLeafColumns().filter((e=>e.getCanGlobalFilter()));let u,c;o&&a&&s.length&&(l.push("__global__"),s.forEach((e=>{var t;i.push({id:e.id,filterFn:a,resolvedValue:null!=(t=null==a.resolveFilterValue?void 0:a.resolveFilterValue(o))?t:o})})));for(let e=0;e<t.flatRows.length;e++){const n=t.flatRows[e];if(n.columnFilters={},r.length)for(let e=0;e<r.length;e++){u=r[e];const t=u.id;n.columnFilters[t]=u.filterFn(n,t,u.resolvedValue,(e=>{n.columnFiltersMeta[t]=e}))}if(i.length){for(let e=0;e<i.length;e++){c=i[e];const t=c.id;if(c.filterFn(n,t,c.resolvedValue,(e=>{n.columnFiltersMeta[t]=e}))){n.columnFilters.__global__=!0;break}}!0!==n.columnFilters.__global__&&(n.columnFilters.__global__=!1)}}return z$(t.rows,(e=>{for(let t=0;t<l.length;t++)if(!1===e.columnFilters[l[t]])return!1;return!0}),e)}),{key:"development"===process.env.NODE_ENV&&"getFilteredRowModel",debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}}),getSortedRowModel:e=>QV((()=>[e.getState().sorting,e.getPreSortedRowModel()]),((t,n)=>{if(!n.rows.length||null==t||!t.length)return n;const o=e.getState().sorting,r=[],i=o.filter((t=>{var n;return null==(n=e.getColumn(t.id))?void 0:n.getCanSort()})),l={};i.forEach((t=>{const n=e.getColumn(t.id);n&&(l[t.id]={sortUndefined:n.columnDef.sortUndefined,invertSorting:n.columnDef.invertSorting,sortingFn:n.getSortingFn()})}));const a=e=>{const t=[...e];return t.sort(((e,t)=>{for(let o=0;o<i.length;o+=1){var n;const r=i[o],a=l[r.id],s=null!=(n=null==r?void 0:r.desc)&&n;let u=0;if(a.sortUndefined){const n=void 0===e.getValue(r.id),o=void 0===t.getValue(r.id);(n||o)&&(u=n&&o?0:n?a.sortUndefined:-a.sortUndefined)}if(0===u&&(u=a.sortingFn(e,t,r.id)),0!==u)return s&&(u*=-1),a.invertSorting&&(u*=-1),u}return e.index-t.index})),t.forEach((e=>{var t;r.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=a(e.subRows))})),t};return{rows:a(n.rows),flatRows:r,rowsById:n.rowsById}}),{key:"development"===process.env.NODE_ENV&&"getSortedRowModel",debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}}),getPaginationRowModel:e=>QV((()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded]),((t,n)=>{if(!n.rows.length)return n;const{pageSize:o,pageIndex:r}=t;let{rows:i,flatRows:l,rowsById:a}=n;const s=o*r,u=s+o;let c;i=i.slice(s,u),c=e.options.paginateExpandedRows?{rows:i,flatRows:l,rowsById:a}:q$({rows:i,flatRows:l,rowsById:a}),c.flatRows=[];const d=e=>{c.flatRows.push(e),e.subRows.length&&e.subRows.forEach(d)};return c.rows.forEach(d),c}),{key:"development"===process.env.NODE_ENV&&"getPaginationRowModel",debug:()=>{var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable}}),getRowId:R.getRowId||((e,t,n)=>n?[n.id,e.id].join("."):e.id.toString())});c&&(c.current=T);const N=E?T.getCoreRowModel().rows:T.getRowModel().rows;return Me.jsxs("div",{children:[Me.jsx("div",{className:vo("overflow-auto w-full",d),style:{height:C},children:Me.jsxs("table",{className:vo("table box-border border-collapse animate-opacity-appear-3 border-spacing-[1px] max-w-[inherit] m-0 w-[calc(100%-5px)]"),children:[!s&&Me.jsx(B$,{table:T,stickyHeader:w,hideHeader:S}),Me.jsxs("tbody",{className:"table-row-group align-middle max-w-[inherit]",children:[o.length>0&&s?Me.jsx(Fl,{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-primary-500 z-10",width:50,height:50}):null,0===o.length&&s?Me.jsx(Me.Fragment,{children:Array.from({length:5}).map(((e,t)=>Me.jsx("tr",{children:Me.jsx("td",{colSpan:n.length,children:Me.jsx(ne,{variant:"text",width:"100%",height:50},t)})},t)))}):o.length>0?N.map(((e,t)=>((e,t)=>Me.jsxs(b,{children:[Me.jsx("tr",{"data-index":t,"data-test":e.id,id:e.id,tabIndex:y?-1:void 0,className:vo("table-row align-middle border-solid border-x border-t border-b-0 last:border-b-transparent first:border-t-transparent border-x-transparent border-y-delta-300 hover:cursor-pointer hover:bg-primary-25 focus:bg-primary-50 focus:border focus:border-primary-500",(e.getIsExpanded()||e.getIsSelected())&&"bg-primary-50",s&&"opacity-50",null==h?void 0:h(e)),style:{height:p?`${p}px`:"inherit"},onMouseDown:t=>{t.target.classList.contains("MuiModal-backdrop")||"INPUT"===t.target.nodeName||"BUTTON"===t.target.nodeName||(e.getCanExpand()&&!x&&e.getToggleExpandedHandler()(),m&&m(t,e))},children:e.getVisibleCells().map((e=>Me.jsx("td",{className:vo("break-words table-cell align-middle text-sm text-delta-900 whitespace-pre-wrap","px-2.5 py-0",f),children:H$(e.column.columnDef.cell,e.getContext())},e.id)))}),e.getIsExpanded()&&Me.jsx(Me.Fragment,{children:r&&g&&g({rows:r.get(e.original.id.toString())??[],row:e.original})})]},e.id))(e,t))):Me.jsx("tr",{className:"h-28",children:Me.jsx("td",{colSpan:n.length,className:"text-center align-middle text-sm text-delta-900",children:u})})]})]})}),!E&&Me.jsx(X$,{table:T,locale:O,children:null==k?void 0:k(T)})]})},J$="_title_17oo0_1",ez=function(e){return Me.jsx("div",{className:J$,children:e.children})},tz=function(e){return Me.jsx("h1",{"data-test":e.dataTest,className:"font-roboto md:mb-2 mb-5 text-2xl font-bold leading-10 text-[#17232E]",children:e.children})},nz=()=>{const[e,t]=l(null),n=()=>{t((()=>null))};return{anchorEl:e,onClose:n,onAnchorClick:o=>{e?n():(e=>{t((()=>e.currentTarget))})(o)}}},oz=({filterIsActive:e,popoverContent:t,dataTest:n,disabled:o,size:r="large",variant:i="outlined"})=>{const{onAnchorClick:l,onClose:a,anchorEl:s}=nz();return Me.jsxs(Me.Fragment,{children:[Me.jsxs("div",{className:"w-fit h-fit relative",children:[Me.jsx(ER,{disabled:o,variant:i,startIcon:Me.jsx(ta,{width:"large"===r?24:20,height:"large"===r?24:20}),onClick:l,size:r,dataTest:n,children:"Filter"}),e&&Me.jsx("div",{className:vo("h-2 w-2 bg-primary-400 rounded-full absolute","large"===r?"top-2 right-2":"top-1 right-1")})]}),Me.jsx(W$,{open:!!s,anchorEl:s,onClose:a,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},className:"my-1",children:t})]})};export{KV as ACTIONS_COLUMN_ID,Vl as ArchiveIcon,xl as AssignmentIcon,Cl as AssignmentOutlineIcon,il as BellIcon,rl as BellOutlineIcon,la as CalendarBlankOutlineIcon,yl as CalendarIcon,wl as CalendarRangeIcon,zl as CheckBoxCheckedIcon,vl as CheckFactOutlineIcon,Ul as CheckIcon,bl as CheckOutlineIcon,ul as ChevronDoubleLeftIcon,cl as ChevronDoubleRightIcon,ql as ChevronDownIcon,sl as ChevronLeftIcon,al as ChevronRightIcon,Hl as ChevronUpIcon,Bl as CloseIcon,fl as DashboardViewIcon,hl as DashboardViewOutlineIcon,ea as DeleteOutlineIcon,Il as DotsVerticalIcon,$l as DownloadIcon,Ql as DragHorizontalIcon,Ll as DropDownIcon,Al as DropUpIcon,oa as DvrIcon,GV as EXPAND_COLUMN_ID,fa as EarthIcon,Xl as EmptyPageIcon,ra as ErrorOutlineIcon,sa as FastCheckOutlineIcon,Jl as FilePdfIcon,ta as FilterIcon,Pl as FindReplaceIcon,Ml as FindReplacePeopleIcon,IO as GridRow,ll as HamburgerIcon,Kl as InboxOutboxIcon,Yl as InboxOutboxOutlineIcon,aa as LinkOutlineIcon,Ol as ListNumberedIcon,pa as ListSettingsLineIcon,ca as ListStatusIcon,Fl as LoadingIcon,na as LockIcon,kl as MessageProcessingIcon,Sl as MessageProcessingOutlineIcon,pl as PdfIcon,ma as PencilOutlineIcon,gl as PeopleIcon,ml as PeopleOutlineIcon,Wl as PermMediaIcon,Gl as PermMediaOutline,jl as PersonIcon,_l as PersonOutlineIcon,dl as QnrIcon,ia as ReplayIcon,El as ReportBoxIcon,Rl as ReportBoxOutlineIcon,PI as RichInput,WV as SELECT_COLUMN_ID,Dl as SearchIcon,Tl as SettingsIcon,ha as SettingsMenuHorizontalIcon,Nl as SettingsOutlineIcon,xN as SnackbarProvider,HV as StyledAccordion,UV as StyledAccordionDetails,BV as StyledAccordionSummary,MR as StyledAlert,jR as StyledAlertTitle,je as StyledBadge,ER as StyledButton,RN as StyledCheckbox,_e as StyledChip,qV as StyledContainer,OR as StyledDataGrid,OV as StyledDatePicker,RR as StyledDialog,TR as StyledDialogActions,NR as StyledDialogContent,PR as StyledDialogTitle,IV as StyledDrawer,oz as StyledFilterMenu,kL as StyledFormControl,NV as StyledFormControlLabel,uR as StyledFormGroup,PV as StyledFormHelperText,MV as StyledFormLabel,kR as StyledGridActionsCellItem,NN as StyledInput,PN as StyledInputField,jV as StyledInputLabel,VV as StyledLink,DV as StyledMenu,FV as StyledMenuItem,AV as StyledMenuList,tz as StyledModuleTitle,W$ as StyledPopover,FI as StyledRadio,AI as StyledRadioGroup,MI as StyledSelect,_I as StyledSelectAutocomplete,jI as StyledSelectItem,II as StyledSlider,CN as StyledSnackbar,_V as StyledStack,DI as StyledSwitch,$V as StyledTab,Q$ as StyledTable,zV as StyledTabs,jN as StyledTextarea,TV as StyledTimePicker,Cr as StyledTooltip,ga as StyledTypography,ez as StyledWidgetTitle,da as TextBoxCheckOutlineIcon,Zl as TopicIcon,ua as UnknownDocumentOutlineRoundedIcon,rN as closeSnackbar,$$ as createColumnHelper,ge as customPalettes,oN as enqueueSnackbar,xg as gridDateComparator,EN as message,pe as omit,fe as pick,ON as processAlertSnackBar,kN as processInfoSnackbar,Oe as theme,he as tokenOptimizer,vN as useSnackbar};
@@ -9,6 +9,8 @@ type StyledFilterMenuProps = {
9
9
  filterIsActive: boolean;
10
10
  popoverContent: React.ReactNode;
11
11
  disabled?: boolean;
12
+ size?: 'small' | 'large' | 'medium';
13
+ variant?: 'contained' | 'outlined' | 'text' | 'textGray';
12
14
  };
13
15
  export declare const StyledFilterMenu: React.FC<StyledFilterMenuProps>;
14
16
  export {};