@reltio/remotes 1.4.1614 → 1.4.1616
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/1039.js +1 -1
- package/1146.js +1 -1
- package/1148.js +1 -1
- package/1334.js +1 -1
- package/1425.js +1 -1
- package/1572.js +1 -1
- package/1572.js.map +1 -1
- package/1584.js +1 -1
- package/1664.js +1 -1
- package/1707.js +1 -1
- package/1790.js +1 -1
- package/1840.js +1 -1
- package/1925.js +1 -1
- package/1946.js +1 -1
- package/2049.js +1 -1
- package/2066.js +1 -1
- package/2201.js +1 -1
- package/2400.js +1 -1
- package/2463.js +1 -1
- package/2579.js +1 -1
- package/2641.js +1 -1
- package/2775.js +1 -1
- package/3096.js +1 -1
- package/3348.js +1 -1
- package/3358.js +1 -1
- package/3383.js +1 -1
- package/3424.js +1 -1
- package/3424.js.map +1 -1
- package/3463.js +1 -1
- package/3469.js +1 -1
- package/3538.js +1 -1
- package/3538.js.map +1 -1
- package/356.js +1 -1
- package/3875.js +1 -1
- package/3879.js +1 -1
- package/3902.js +1 -1
- package/3926.js +1 -1
- package/4212.js +1 -1
- package/4390.js +1 -1
- package/4481.js +1 -1
- package/4703.js +1 -1
- package/4780.js +1 -1
- package/4780.js.map +1 -1
- package/4788.js +1 -1
- package/4806.js +1 -1
- package/4826.js +1 -1
- package/50.js +1 -1
- package/5053.js +1 -1
- package/5108.js +1 -1
- package/5163.js +1 -1
- package/5171.js +1 -1
- package/5225.js +1 -1
- package/527.js +1 -1
- package/5617.js +1 -1
- package/6020.js +1 -1
- package/6287.js +1 -1
- package/6606.js +1 -1
- package/673.js +1 -1
- package/6799.js +1 -1
- package/6844.js +1 -1
- package/6853.js +1 -1
- package/6860.js +1 -1
- package/6890.js +1 -1
- package/6903.js +1 -1
- package/7293.js +1 -1
- package/735.js +1 -1
- package/7422.js +1 -1
- package/764.js +1 -1
- package/7829.js +1 -1
- package/7896.js +1 -1
- package/8075.js +1 -1
- package/820.js +1 -1
- package/8207.js +1 -1
- package/8322.js +1 -1
- package/8360.js +1 -1
- package/8565.js +1 -1
- package/8741.js +1 -1
- package/9016.js +1 -1
- package/9283.js +1 -1
- package/9309.js +1 -1
- package/9328.js +1 -1
- package/9387.js +1 -1
- package/9397.js +1 -1
- package/9397.js.map +1 -1
- package/9719.js +1 -1
- package/9736.js +1 -1
- package/9861.js +1 -1
- package/987.js +1 -1
- package/9898.js +1 -1
- package/9960.js +1 -1
- package/main.js +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
package/9328.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var o="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="f5efc286-052d-4d44-9505-315bde435d18",o._sentryDebugIdIdentifier="sentry-dbid-f5efc286-052d-4d44-9505-315bde435d18")}catch(o){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1615"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9328],{13961:(o,e,r)=>{r.d(e,{Z:()=>h});var t=r(31461),a=r(7896),i=r(24328),n=r(6277),l=r(69075),d=r(65992),s=r(43853),c=r(7342),p=r(12115),u=r(71467),v=r(52322);const g=["className","color","enableColorOnDark","position"],b=(o,e)=>o?`${null==o?void 0:o.replace(")","")}, ${e})`:e,f=(0,d.ZP)(p.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:r}=o;return[e.root,e[`position${(0,c.Z)(r.position)}`],e[`color${(0,c.Z)(r.color)}`]]}})((({theme:o,ownerState:e})=>{const r="light"===o.palette.mode?o.palette.grey[100]:o.palette.grey[900];return(0,a.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===e.position&&{position:"fixed",zIndex:(o.vars||o).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===e.position&&{position:"absolute",zIndex:(o.vars||o).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===e.position&&{position:"sticky",zIndex:(o.vars||o).zIndex.appBar,top:0,left:"auto",right:0},"static"===e.position&&{position:"static"},"relative"===e.position&&{position:"relative"},!o.vars&&(0,a.Z)({},"default"===e.color&&{backgroundColor:r,color:o.palette.getContrastText(r)},e.color&&"default"!==e.color&&"inherit"!==e.color&&"transparent"!==e.color&&{backgroundColor:o.palette[e.color].main,color:o.palette[e.color].contrastText},"inherit"===e.color&&{color:"inherit"},"dark"===o.palette.mode&&!e.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===e.color&&(0,a.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===o.palette.mode&&{backgroundImage:"none"})),o.vars&&(0,a.Z)({},"default"===e.color&&{"--AppBar-background":e.enableColorOnDark?o.vars.palette.AppBar.defaultBg:b(o.vars.palette.AppBar.darkBg,o.vars.palette.AppBar.defaultBg),"--AppBar-color":e.enableColorOnDark?o.vars.palette.text.primary:b(o.vars.palette.AppBar.darkColor,o.vars.palette.text.primary)},e.color&&!e.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":e.enableColorOnDark?o.vars.palette[e.color].main:b(o.vars.palette.AppBar.darkBg,o.vars.palette[e.color].main),"--AppBar-color":e.enableColorOnDark?o.vars.palette[e.color].contrastText:b(o.vars.palette.AppBar.darkColor,o.vars.palette[e.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===e.color?"inherit":"var(--AppBar-color)"},"transparent"===e.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),h=i.forwardRef((function(o,e){const r=(0,s.Z)({props:o,name:"MuiAppBar"}),{className:i,color:d="primary",enableColorOnDark:p=!1,position:b="fixed"}=r,h=(0,t.Z)(r,g),m=(0,a.Z)({},r,{color:d,position:b,enableColorOnDark:p}),Z=(o=>{const{color:e,position:r,classes:t}=o,a={root:["root",`color${(0,c.Z)(e)}`,`position${(0,c.Z)(r)}`]};return(0,l.Z)(a,u.I,t)})(m);return(0,v.jsx)(f,(0,a.Z)({square:!0,component:"header",ownerState:m,elevation:4,className:(0,n.default)(Z.root,i,"fixed"===b&&"mui-fixed"),ref:e},h))}))},71467:(o,e,r)=>{r.d(e,{I:()=>i,Z:()=>n});var t=r(69222),a=r(15672);function i(o){return(0,a.Z)("MuiAppBar",o)}const n=(0,t.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"])},65439:(o,e,r)=>{r.d(e,{Z:()=>m});var t=r(31461),a=r(7896),i=r(24328),n=r(6277),l=r(69075),d=r(65992),s=r(43853),c=r(6620),p=r(52322);const u=(0,c.Z)((0,p.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var v=r(87024);const g=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],b=(0,d.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:r}=o;return[e.root,e[r.variant],r.colorDefault&&e.colorDefault]}})((({theme:o,ownerState:e})=>(0,a.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:o.typography.fontFamily,fontSize:o.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===e.variant&&{borderRadius:(o.vars||o).shape.borderRadius},"square"===e.variant&&{borderRadius:0},e.colorDefault&&(0,a.Z)({color:(o.vars||o).palette.background.default},o.vars?{backgroundColor:o.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===o.palette.mode?o.palette.grey[400]:o.palette.grey[600]})))),f=(0,d.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(o,e)=>e.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),h=(0,d.ZP)(u,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(o,e)=>e.fallback})({width:"75%",height:"75%"}),m=i.forwardRef((function(o,e){const r=(0,s.Z)({props:o,name:"MuiAvatar"}),{alt:d,children:c,className:u,component:m="div",imgProps:Z,sizes:x,src:k,srcSet:y,variant:R="circular"}=r,B=(0,t.Z)(r,g);let $=null;const C=function({crossOrigin:o,referrerPolicy:e,src:r,srcSet:t}){const[a,n]=i.useState(!1);return i.useEffect((()=>{if(!r&&!t)return;n(!1);let a=!0;const i=new Image;return i.onload=()=>{a&&n("loaded")},i.onerror=()=>{a&&n("error")},i.crossOrigin=o,i.referrerPolicy=e,i.src=r,t&&(i.srcset=t),()=>{a=!1}}),[o,e,r,t]),a}((0,a.Z)({},Z,{src:k,srcSet:y})),w=k||y,S=w&&"error"!==C,z=(0,a.Z)({},r,{colorDefault:!S,component:m,variant:R}),A=(o=>{const{classes:e,variant:r,colorDefault:t}=o,a={root:["root",r,t&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,l.Z)(a,v.$,e)})(z);return $=S?(0,p.jsx)(f,(0,a.Z)({alt:d,src:k,srcSet:y,sizes:x,ownerState:z,className:A.img},Z)):null!=c?c:w&&d?d[0]:(0,p.jsx)(h,{ownerState:z,className:A.fallback}),(0,p.jsx)(b,(0,a.Z)({as:m,ownerState:z,className:(0,n.default)(A.root,u),ref:e},B,{children:$}))}))},87024:(o,e,r)=>{r.d(e,{$:()=>i,Z:()=>n});var t=r(69222),a=r(15672);function i(o){return(0,a.Z)("MuiAvatar",o)}const n=(0,t.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"])},15894:(o,e,r)=>{r.d(e,{Z:()=>h});var t=r(31461),a=r(7896),i=r(24328),n=r(6277),l=r(69075),d=r(47591),s=r(7342),c=r(65992),p=r(43853),u=r(30372),v=r(49146),g=r(52322);const b=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],f=(0,c.ZP)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:r}=o;return[{[`& .${u.Z.grouped}`]:e.grouped},{[`& .${u.Z.grouped}`]:e[`grouped${(0,s.Z)(r.orientation)}`]},{[`& .${u.Z.grouped}`]:e[`grouped${(0,s.Z)(r.variant)}`]},{[`& .${u.Z.grouped}`]:e[`grouped${(0,s.Z)(r.variant)}${(0,s.Z)(r.orientation)}`]},{[`& .${u.Z.grouped}`]:e[`grouped${(0,s.Z)(r.variant)}${(0,s.Z)(r.color)}`]},e.root,e[r.variant],!0===r.disableElevation&&e.disableElevation,r.fullWidth&&e.fullWidth,"vertical"===r.orientation&&e.vertical]}})((({theme:o,ownerState:e})=>(0,a.Z)({display:"inline-flex",borderRadius:(o.vars||o).shape.borderRadius},"contained"===e.variant&&{boxShadow:(o.vars||o).shadows[2]},e.disableElevation&&{boxShadow:"none"},e.fullWidth&&{width:"100%"},"vertical"===e.orientation&&{flexDirection:"column"},{[`& .${u.Z.grouped}`]:(0,a.Z)({minWidth:40,"&:not(:first-of-type)":(0,a.Z)({},"horizontal"===e.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===e.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===e.variant&&"horizontal"===e.orientation&&{marginLeft:-1},"outlined"===e.variant&&"vertical"===e.orientation&&{marginTop:-1}),"&:not(:last-of-type)":(0,a.Z)({},"horizontal"===e.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===e.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===e.variant&&"horizontal"===e.orientation&&{borderRight:o.vars?`1px solid rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===o.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${u.Z.disabled}`]:{borderRight:`1px solid ${(o.vars||o).palette.action.disabled}`}},"text"===e.variant&&"vertical"===e.orientation&&{borderBottom:o.vars?`1px solid rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===o.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${u.Z.disabled}`]:{borderBottom:`1px solid ${(o.vars||o).palette.action.disabled}`}},"text"===e.variant&&"inherit"!==e.color&&{borderColor:o.vars?`rgba(${o.vars.palette[e.color].mainChannel} / 0.5)`:(0,d.Fq)(o.palette[e.color].main,.5)},"outlined"===e.variant&&"horizontal"===e.orientation&&{borderRightColor:"transparent"},"outlined"===e.variant&&"vertical"===e.orientation&&{borderBottomColor:"transparent"},"contained"===e.variant&&"horizontal"===e.orientation&&{borderRight:`1px solid ${(o.vars||o).palette.grey[400]}`,[`&.${u.Z.disabled}`]:{borderRight:`1px solid ${(o.vars||o).palette.action.disabled}`}},"contained"===e.variant&&"vertical"===e.orientation&&{borderBottom:`1px solid ${(o.vars||o).palette.grey[400]}`,[`&.${u.Z.disabled}`]:{borderBottom:`1px solid ${(o.vars||o).palette.action.disabled}`}},"contained"===e.variant&&"inherit"!==e.color&&{borderColor:(o.vars||o).palette[e.color].dark},{"&:hover":(0,a.Z)({},"outlined"===e.variant&&"horizontal"===e.orientation&&{borderRightColor:"currentColor"},"outlined"===e.variant&&"vertical"===e.orientation&&{borderBottomColor:"currentColor"})}),"&:hover":(0,a.Z)({},"contained"===e.variant&&{boxShadow:"none"})},"contained"===e.variant&&{boxShadow:"none"})}))),h=i.forwardRef((function(o,e){const r=(0,p.Z)({props:o,name:"MuiButtonGroup"}),{children:d,className:c,color:h="primary",component:m="div",disabled:Z=!1,disableElevation:x=!1,disableFocusRipple:k=!1,disableRipple:y=!1,fullWidth:R=!1,orientation:B="horizontal",size:$="medium",variant:C="outlined"}=r,w=(0,t.Z)(r,b),S=(0,a.Z)({},r,{color:h,component:m,disabled:Z,disableElevation:x,disableFocusRipple:k,disableRipple:y,fullWidth:R,orientation:B,size:$,variant:C}),z=(o=>{const{classes:e,color:r,disabled:t,disableElevation:a,fullWidth:i,orientation:n,variant:d}=o,c={root:["root",d,"vertical"===n&&"vertical",i&&"fullWidth",a&&"disableElevation"],grouped:["grouped",`grouped${(0,s.Z)(n)}`,`grouped${(0,s.Z)(d)}`,`grouped${(0,s.Z)(d)}${(0,s.Z)(n)}`,`grouped${(0,s.Z)(d)}${(0,s.Z)(r)}`,t&&"disabled"]};return(0,l.Z)(c,u.l,e)})(S),A=i.useMemo((()=>({className:z.grouped,color:h,disabled:Z,disableElevation:x,disableFocusRipple:k,disableRipple:y,fullWidth:R,size:$,variant:C})),[h,Z,x,k,y,R,$,C,z.grouped]);return(0,g.jsx)(f,(0,a.Z)({as:m,role:"group",className:(0,n.default)(z.root,c),ref:e,ownerState:S},w,{children:(0,g.jsx)(v.Z.Provider,{value:A,children:d})}))}))},30372:(o,e,r)=>{r.d(e,{l:()=>i,Z:()=>n});var t=r(69222),a=r(15672);function i(o){return(0,a.Z)("MuiButtonGroup",o)}const n=(0,t.Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"])}}]);
|
|
1
|
+
!function(){try{var o="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="f5efc286-052d-4d44-9505-315bde435d18",o._sentryDebugIdIdentifier="sentry-dbid-f5efc286-052d-4d44-9505-315bde435d18")}catch(o){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1617"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9328],{13961:(o,e,r)=>{r.d(e,{Z:()=>h});var t=r(31461),a=r(7896),i=r(24328),n=r(6277),l=r(69075),d=r(65992),s=r(43853),c=r(7342),p=r(12115),u=r(71467),v=r(52322);const g=["className","color","enableColorOnDark","position"],b=(o,e)=>o?`${null==o?void 0:o.replace(")","")}, ${e})`:e,f=(0,d.ZP)(p.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:r}=o;return[e.root,e[`position${(0,c.Z)(r.position)}`],e[`color${(0,c.Z)(r.color)}`]]}})((({theme:o,ownerState:e})=>{const r="light"===o.palette.mode?o.palette.grey[100]:o.palette.grey[900];return(0,a.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===e.position&&{position:"fixed",zIndex:(o.vars||o).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===e.position&&{position:"absolute",zIndex:(o.vars||o).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===e.position&&{position:"sticky",zIndex:(o.vars||o).zIndex.appBar,top:0,left:"auto",right:0},"static"===e.position&&{position:"static"},"relative"===e.position&&{position:"relative"},!o.vars&&(0,a.Z)({},"default"===e.color&&{backgroundColor:r,color:o.palette.getContrastText(r)},e.color&&"default"!==e.color&&"inherit"!==e.color&&"transparent"!==e.color&&{backgroundColor:o.palette[e.color].main,color:o.palette[e.color].contrastText},"inherit"===e.color&&{color:"inherit"},"dark"===o.palette.mode&&!e.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===e.color&&(0,a.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===o.palette.mode&&{backgroundImage:"none"})),o.vars&&(0,a.Z)({},"default"===e.color&&{"--AppBar-background":e.enableColorOnDark?o.vars.palette.AppBar.defaultBg:b(o.vars.palette.AppBar.darkBg,o.vars.palette.AppBar.defaultBg),"--AppBar-color":e.enableColorOnDark?o.vars.palette.text.primary:b(o.vars.palette.AppBar.darkColor,o.vars.palette.text.primary)},e.color&&!e.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":e.enableColorOnDark?o.vars.palette[e.color].main:b(o.vars.palette.AppBar.darkBg,o.vars.palette[e.color].main),"--AppBar-color":e.enableColorOnDark?o.vars.palette[e.color].contrastText:b(o.vars.palette.AppBar.darkColor,o.vars.palette[e.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===e.color?"inherit":"var(--AppBar-color)"},"transparent"===e.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),h=i.forwardRef((function(o,e){const r=(0,s.Z)({props:o,name:"MuiAppBar"}),{className:i,color:d="primary",enableColorOnDark:p=!1,position:b="fixed"}=r,h=(0,t.Z)(r,g),m=(0,a.Z)({},r,{color:d,position:b,enableColorOnDark:p}),Z=(o=>{const{color:e,position:r,classes:t}=o,a={root:["root",`color${(0,c.Z)(e)}`,`position${(0,c.Z)(r)}`]};return(0,l.Z)(a,u.I,t)})(m);return(0,v.jsx)(f,(0,a.Z)({square:!0,component:"header",ownerState:m,elevation:4,className:(0,n.default)(Z.root,i,"fixed"===b&&"mui-fixed"),ref:e},h))}))},71467:(o,e,r)=>{r.d(e,{I:()=>i,Z:()=>n});var t=r(69222),a=r(15672);function i(o){return(0,a.Z)("MuiAppBar",o)}const n=(0,t.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"])},65439:(o,e,r)=>{r.d(e,{Z:()=>m});var t=r(31461),a=r(7896),i=r(24328),n=r(6277),l=r(69075),d=r(65992),s=r(43853),c=r(6620),p=r(52322);const u=(0,c.Z)((0,p.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var v=r(87024);const g=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],b=(0,d.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:r}=o;return[e.root,e[r.variant],r.colorDefault&&e.colorDefault]}})((({theme:o,ownerState:e})=>(0,a.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:o.typography.fontFamily,fontSize:o.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===e.variant&&{borderRadius:(o.vars||o).shape.borderRadius},"square"===e.variant&&{borderRadius:0},e.colorDefault&&(0,a.Z)({color:(o.vars||o).palette.background.default},o.vars?{backgroundColor:o.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===o.palette.mode?o.palette.grey[400]:o.palette.grey[600]})))),f=(0,d.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(o,e)=>e.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),h=(0,d.ZP)(u,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(o,e)=>e.fallback})({width:"75%",height:"75%"}),m=i.forwardRef((function(o,e){const r=(0,s.Z)({props:o,name:"MuiAvatar"}),{alt:d,children:c,className:u,component:m="div",imgProps:Z,sizes:x,src:k,srcSet:y,variant:R="circular"}=r,B=(0,t.Z)(r,g);let $=null;const C=function({crossOrigin:o,referrerPolicy:e,src:r,srcSet:t}){const[a,n]=i.useState(!1);return i.useEffect((()=>{if(!r&&!t)return;n(!1);let a=!0;const i=new Image;return i.onload=()=>{a&&n("loaded")},i.onerror=()=>{a&&n("error")},i.crossOrigin=o,i.referrerPolicy=e,i.src=r,t&&(i.srcset=t),()=>{a=!1}}),[o,e,r,t]),a}((0,a.Z)({},Z,{src:k,srcSet:y})),w=k||y,S=w&&"error"!==C,z=(0,a.Z)({},r,{colorDefault:!S,component:m,variant:R}),A=(o=>{const{classes:e,variant:r,colorDefault:t}=o,a={root:["root",r,t&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,l.Z)(a,v.$,e)})(z);return $=S?(0,p.jsx)(f,(0,a.Z)({alt:d,src:k,srcSet:y,sizes:x,ownerState:z,className:A.img},Z)):null!=c?c:w&&d?d[0]:(0,p.jsx)(h,{ownerState:z,className:A.fallback}),(0,p.jsx)(b,(0,a.Z)({as:m,ownerState:z,className:(0,n.default)(A.root,u),ref:e},B,{children:$}))}))},87024:(o,e,r)=>{r.d(e,{$:()=>i,Z:()=>n});var t=r(69222),a=r(15672);function i(o){return(0,a.Z)("MuiAvatar",o)}const n=(0,t.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"])},15894:(o,e,r)=>{r.d(e,{Z:()=>h});var t=r(31461),a=r(7896),i=r(24328),n=r(6277),l=r(69075),d=r(47591),s=r(7342),c=r(65992),p=r(43853),u=r(30372),v=r(49146),g=r(52322);const b=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],f=(0,c.ZP)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:r}=o;return[{[`& .${u.Z.grouped}`]:e.grouped},{[`& .${u.Z.grouped}`]:e[`grouped${(0,s.Z)(r.orientation)}`]},{[`& .${u.Z.grouped}`]:e[`grouped${(0,s.Z)(r.variant)}`]},{[`& .${u.Z.grouped}`]:e[`grouped${(0,s.Z)(r.variant)}${(0,s.Z)(r.orientation)}`]},{[`& .${u.Z.grouped}`]:e[`grouped${(0,s.Z)(r.variant)}${(0,s.Z)(r.color)}`]},e.root,e[r.variant],!0===r.disableElevation&&e.disableElevation,r.fullWidth&&e.fullWidth,"vertical"===r.orientation&&e.vertical]}})((({theme:o,ownerState:e})=>(0,a.Z)({display:"inline-flex",borderRadius:(o.vars||o).shape.borderRadius},"contained"===e.variant&&{boxShadow:(o.vars||o).shadows[2]},e.disableElevation&&{boxShadow:"none"},e.fullWidth&&{width:"100%"},"vertical"===e.orientation&&{flexDirection:"column"},{[`& .${u.Z.grouped}`]:(0,a.Z)({minWidth:40,"&:not(:first-of-type)":(0,a.Z)({},"horizontal"===e.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===e.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===e.variant&&"horizontal"===e.orientation&&{marginLeft:-1},"outlined"===e.variant&&"vertical"===e.orientation&&{marginTop:-1}),"&:not(:last-of-type)":(0,a.Z)({},"horizontal"===e.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===e.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===e.variant&&"horizontal"===e.orientation&&{borderRight:o.vars?`1px solid rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===o.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${u.Z.disabled}`]:{borderRight:`1px solid ${(o.vars||o).palette.action.disabled}`}},"text"===e.variant&&"vertical"===e.orientation&&{borderBottom:o.vars?`1px solid rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===o.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${u.Z.disabled}`]:{borderBottom:`1px solid ${(o.vars||o).palette.action.disabled}`}},"text"===e.variant&&"inherit"!==e.color&&{borderColor:o.vars?`rgba(${o.vars.palette[e.color].mainChannel} / 0.5)`:(0,d.Fq)(o.palette[e.color].main,.5)},"outlined"===e.variant&&"horizontal"===e.orientation&&{borderRightColor:"transparent"},"outlined"===e.variant&&"vertical"===e.orientation&&{borderBottomColor:"transparent"},"contained"===e.variant&&"horizontal"===e.orientation&&{borderRight:`1px solid ${(o.vars||o).palette.grey[400]}`,[`&.${u.Z.disabled}`]:{borderRight:`1px solid ${(o.vars||o).palette.action.disabled}`}},"contained"===e.variant&&"vertical"===e.orientation&&{borderBottom:`1px solid ${(o.vars||o).palette.grey[400]}`,[`&.${u.Z.disabled}`]:{borderBottom:`1px solid ${(o.vars||o).palette.action.disabled}`}},"contained"===e.variant&&"inherit"!==e.color&&{borderColor:(o.vars||o).palette[e.color].dark},{"&:hover":(0,a.Z)({},"outlined"===e.variant&&"horizontal"===e.orientation&&{borderRightColor:"currentColor"},"outlined"===e.variant&&"vertical"===e.orientation&&{borderBottomColor:"currentColor"})}),"&:hover":(0,a.Z)({},"contained"===e.variant&&{boxShadow:"none"})},"contained"===e.variant&&{boxShadow:"none"})}))),h=i.forwardRef((function(o,e){const r=(0,p.Z)({props:o,name:"MuiButtonGroup"}),{children:d,className:c,color:h="primary",component:m="div",disabled:Z=!1,disableElevation:x=!1,disableFocusRipple:k=!1,disableRipple:y=!1,fullWidth:R=!1,orientation:B="horizontal",size:$="medium",variant:C="outlined"}=r,w=(0,t.Z)(r,b),S=(0,a.Z)({},r,{color:h,component:m,disabled:Z,disableElevation:x,disableFocusRipple:k,disableRipple:y,fullWidth:R,orientation:B,size:$,variant:C}),z=(o=>{const{classes:e,color:r,disabled:t,disableElevation:a,fullWidth:i,orientation:n,variant:d}=o,c={root:["root",d,"vertical"===n&&"vertical",i&&"fullWidth",a&&"disableElevation"],grouped:["grouped",`grouped${(0,s.Z)(n)}`,`grouped${(0,s.Z)(d)}`,`grouped${(0,s.Z)(d)}${(0,s.Z)(n)}`,`grouped${(0,s.Z)(d)}${(0,s.Z)(r)}`,t&&"disabled"]};return(0,l.Z)(c,u.l,e)})(S),A=i.useMemo((()=>({className:z.grouped,color:h,disabled:Z,disableElevation:x,disableFocusRipple:k,disableRipple:y,fullWidth:R,size:$,variant:C})),[h,Z,x,k,y,R,$,C,z.grouped]);return(0,g.jsx)(f,(0,a.Z)({as:m,role:"group",className:(0,n.default)(z.root,c),ref:e,ownerState:S},w,{children:(0,g.jsx)(v.Z.Provider,{value:A,children:d})}))}))},30372:(o,e,r)=>{r.d(e,{l:()=>i,Z:()=>n});var t=r(69222),a=r(15672);function i(o){return(0,a.Z)("MuiButtonGroup",o)}const n=(0,t.Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"])}}]);
|
|
2
2
|
//# sourceMappingURL=9328.js.map
|
package/9387.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="dd626cf3-a525-4a6e-a236-e2a062a4a596",e._sentryDebugIdIdentifier="sentry-dbid-dd626cf3-a525-4a6e-a236-e2a062a4a596")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1615"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9387],{28504:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack");t.Z=r},89323:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator");t.Z=r},29754:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=r},42503:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"m9.31 17 2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"}),"EventBusy");t.Z=r},69208:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");t.Z=r},23468:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.Z=r},31373:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.Z=r},13264:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings");t.Z=r},26436:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=r},74607:(e,t,o)=>{o.d(t,{Z:()=>p});var a=o(31461),s=o(7896),n=o(24328),r=o(6277),i=o(69075),l=o(65992),c=o(43853),d=o(3875),h=o(60433),m=o(28734),u=o(52322);const f=["className","row"],y=(0,l.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.row&&t.row]}})((({ownerState:e})=>(0,s.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),p=n.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiFormGroup"}),{className:n,row:l=!1}=o,p=(0,a.Z)(o,f),g=(0,h.Z)(),v=(0,m.Z)({props:o,muiFormControl:g,states:["error"]}),M=(0,s.Z)({},o,{row:l,error:v.error}),Z=(e=>{const{classes:t,row:o,error:a}=e,s={root:["root",o&&"row",a&&"error"]};return(0,i.Z)(s,d.y,t)})(M);return(0,u.jsx)(y,(0,s.Z)({className:(0,r.default)(Z.root,n),ownerState:M,ref:t},p))}))},3875:(e,t,o)=>{o.d(t,{y:()=>n,Z:()=>r});var a=o(69222),s=o(15672);function n(e){return(0,s.Z)("MuiFormGroup",e)}const r=(0,a.Z)("MuiFormGroup",["root","row","error"])},63297:(e,t,o)=>{o.d(t,{Z:()=>z});var a=o(31461),s=o(7896),n=o(24328),r=o(6277),i=o(69075),l=o(47591),c=o(18205),d=o(43853),h=o(6620),m=o(52322);const u=(0,h.Z)((0,m.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),f=(0,h.Z)((0,m.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var y=o(65992);const p=(0,y.ZP)("span")({position:"relative",display:"flex"}),g=(0,y.ZP)(u)({transform:"scale(1)"}),v=(0,y.ZP)(f)((({theme:e,ownerState:t})=>(0,s.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}))),M=function(e){const{checked:t=!1,classes:o={},fontSize:a}=e,n=(0,s.Z)({},e,{checked:t});return(0,m.jsxs)(p,{className:o.root,ownerState:n,children:[(0,m.jsx)(g,{fontSize:a,className:o.background,ownerState:n}),(0,m.jsx)(v,{fontSize:a,className:o.dot,ownerState:n})]})};var Z=o(7342),T=o(5209),w=o(49240),D=o(62591);const b=["checked","checkedIcon","color","icon","name","onChange","size","className"],k=(0,y.ZP)(c.Z,{shouldForwardProp:e=>(0,y.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${(0,Z.Z)(o.color)}`]]}})((({theme:e,ownerState:t})=>(0,s.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${D.Z.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${D.Z.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),C=(0,m.jsx)(M,{checked:!0}),L=(0,m.jsx)(M,{}),z=n.forwardRef((function(e,t){var o,l;const c=(0,d.Z)({props:e,name:"MuiRadio"}),{checked:h,checkedIcon:u=C,color:f="primary",icon:y=L,name:p,onChange:g,size:v="medium",className:M}=c,z=(0,a.Z)(c,b),S=(0,s.Z)({},c,{color:f,size:v}),x=(e=>{const{classes:t,color:o}=e,a={root:["root",`color${(0,Z.Z)(o)}`]};return(0,s.Z)({},t,(0,i.Z)(a,D.l,t))})(S),O=(0,w.Z)();let Y=h;const H=(0,T.Z)(g,O&&O.onChange);let j=p;var A,I;return O&&(void 0===Y&&(A=O.value,Y="object"==typeof(I=c.value)&&null!==I?A===I:String(A)===String(I)),void 0===j&&(j=O.name)),(0,m.jsx)(k,(0,s.Z)({type:"radio",icon:n.cloneElement(y,{fontSize:null!=(o=L.props.fontSize)?o:v}),checkedIcon:n.cloneElement(u,{fontSize:null!=(l=C.props.fontSize)?l:v}),ownerState:S,classes:x,name:j,checked:Y,onChange:H,ref:t,className:(0,r.default)(x.root,M)},z))}))},62591:(e,t,o)=>{o.d(t,{l:()=>n,Z:()=>r});var a=o(69222),s=o(15672);function n(e){return(0,s.Z)("MuiRadio",e)}const r=(0,a.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"])},96758:(e,t,o)=>{o.d(t,{Z:()=>u});var a=o(7896),s=o(31461),n=o(24328),r=o(74607),i=o(98659),l=o(19570),c=o(64770),d=o(85954),h=o(52322);const m=["actions","children","defaultValue","name","onChange","value"],u=n.forwardRef((function(e,t){const{actions:o,children:u,defaultValue:f,name:y,onChange:p,value:g}=e,v=(0,s.Z)(e,m),M=n.useRef(null),[Z,T]=(0,l.Z)({controlled:g,default:f,name:"RadioGroup"});n.useImperativeHandle(o,(()=>({focus:()=>{let e=M.current.querySelector("input:not(:disabled):checked");e||(e=M.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const w=(0,i.Z)(t,M),D=(0,d.Z)(y),b=n.useMemo((()=>({name:D,onChange(e){T(e.target.value),p&&p(e,e.target.value)},value:Z})),[D,p,T,Z]);return(0,h.jsx)(c.Z.Provider,{value:b,children:(0,h.jsx)(r.Z,(0,a.Z)({role:"radiogroup",ref:w},v,{children:u}))})}))},64770:(e,t,o)=>{o.d(t,{Z:()=>a});const a=o(24328).createContext(void 0)},49240:(e,t,o)=>{o.d(t,{Z:()=>n});var a=o(24328),s=o(64770);function n(){return a.useContext(s.Z)}},9366:(e,t,o)=>{o.d(t,{Q:()=>c});var a=o(7896),s=o(95038),n=o.n(s);const r={Y:"year",YY:"year",YYYY:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"digit",maxLength:1},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},d:{sectionType:"weekDay",contentType:"digit",maxLength:1},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},i={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",weekday:"dddd",weekdayShort:"ddd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",fullDateWithWeekday:"dddd, LL",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",monthAndYear:"MMMM YYYY",monthAndDate:"MMMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",fullDateTime:"lll",fullDateTime12h:"ll hh:mm A",fullDateTime24h:"ll HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},l=["Missing timezone plugin","To be able to use timezones, you have to pass the default export from `moment-timezone` to the `dateLibInstance` prop of `LocalizationProvider`","Find more information on https://mui.com/x/react-date-pickers/timezone/#moment-and-timezone"].join("\n");class c{constructor({locale:e,formats:t,instance:o}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="moment",this.moment=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=r,this.setLocaleToValue=e=>{const t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasTimezonePlugin=()=>void 0!==this.moment.tz,this.createSystemDate=e=>{const t=this.moment(e).local();return void 0===this.locale?t:t.locale(this.locale)},this.createUTCDate=e=>{const t=this.moment.utc(e);return void 0===this.locale?t:t.locale(this.locale)},this.createTZDate=(e,t)=>{if(!this.hasTimezonePlugin())throw new Error(l);const o="default"===t?this.moment(e):this.moment.tz(e,t);return void 0===this.locale?o:o.locale(this.locale)},this.date=e=>{if(null===e)return null;const t=this.moment(e);return t.locale(this.getCurrentLocaleCode()),t},this.dateWithTimezone=(e,t)=>null===e?null:"UTC"===t?this.createUTCDate(e):"system"===t||"default"===t&&!this.hasTimezonePlugin()?this.createSystemDate(e):this.createTZDate(e,t),this.getTimezone=e=>{var t,o,a;if(e.isUTC())return"UTC";const s=null==(t=e._z)?void 0:t.name;return null!=(o=null!=s?s:null==(a=this.moment.defaultZone)?void 0:a.name)?o:"system"},this.setTimezone=(e,t)=>{var o,a;if("UTC"===t)return e.clone().utc();if("system"===t)return e.clone().local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw new Error(l)}const s="default"===t?null!=(o=null==(a=this.moment.defaultZone)?void 0:a.name)?o:"system":t,n=e.clone();return n.tz(s),n},this.toJsDate=e=>e.toDate(),this.parseISO=e=>this.moment(e,!0),this.toISO=e=>e.toISOString(),this.parse=(e,t)=>""===e?null:this.locale?this.moment(e,t,this.locale,!0):this.moment(e,t,!0),this.getCurrentLocaleCode=()=>this.locale||n().locale(),this.is12HourCycleInCurrentLocale=()=>/A|a/.test(n().localeData(this.getCurrentLocaleCode()).longDateFormat("LT")),this.expandFormat=e=>e.match(/(\[[^[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})|./g).map((e=>{const t=e[0];return"L"===t||";"===t?n().localeData(this.getCurrentLocaleCode()).longDateFormat(e):e})).join(""),this.getFormatHelperText=e=>this.expandFormat(e).replace(/a/gi,"(a|p)m").toLocaleLowerCase(),this.isNull=e=>null===e,this.isValid=e=>this.moment(e).isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>{const o=e.clone();return o.locale(this.getCurrentLocaleCode()),o.format(t)},this.formatNumber=e=>e,this.getDiff=(e,t,o)=>e.diff(t,o),this.isEqual=(e,t)=>null===e&&null===t||this.moment(e).isSame(t),this.isSameYear=(e,t)=>e.isSame(t,"year"),this.isSameMonth=(e,t)=>e.isSame(t,"month"),this.isSameDay=(e,t)=>e.isSame(t,"day"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e.isAfter(t),this.isAfterYear=(e,t)=>e.isAfter(t,"year"),this.isAfterDay=(e,t)=>e.isAfter(t,"day"),this.isBefore=(e,t)=>e.isBefore(t),this.isBeforeYear=(e,t)=>e.isBefore(t,"year"),this.isBeforeDay=(e,t)=>e.isBefore(t,"day"),this.isWithinRange=(e,[t,o])=>e.isBetween(t,o,null,"[]"),this.startOfYear=e=>e.clone().startOf("year"),this.startOfMonth=e=>e.clone().startOf("month"),this.startOfWeek=e=>e.clone().startOf("week"),this.startOfDay=e=>e.clone().startOf("day"),this.endOfYear=e=>e.clone().endOf("year"),this.endOfMonth=e=>e.clone().endOf("month"),this.endOfWeek=e=>e.clone().endOf("week"),this.endOfDay=e=>e.clone().endOf("day"),this.addYears=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"years"):e.clone().add(t,"years"),this.addMonths=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"months"):e.clone().add(t,"months"),this.addWeeks=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"weeks"):e.clone().add(t,"weeks"),this.addDays=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days"),this.addHours=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"hours"):e.clone().add(t,"hours"),this.addMinutes=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"minutes"):e.clone().add(t,"minutes"),this.addSeconds=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"seconds"):e.clone().add(t,"seconds"),this.getYear=e=>e.get("year"),this.getMonth=e=>e.get("month"),this.getDate=e=>e.get("date"),this.getHours=e=>e.get("hours"),this.getMinutes=e=>e.get("minutes"),this.getSeconds=e=>e.get("seconds"),this.getMilliseconds=e=>e.get("milliseconds"),this.setYear=(e,t)=>e.clone().year(t),this.setMonth=(e,t)=>e.clone().month(t),this.setDate=(e,t)=>e.clone().date(t),this.setHours=(e,t)=>e.clone().hours(t),this.setMinutes=(e,t)=>e.clone().minutes(t),this.setSeconds=(e,t)=>e.clone().seconds(t),this.setMilliseconds=(e,t)=>e.clone().milliseconds(t),this.getDaysInMonth=e=>e.daysInMonth(),this.getNextMonth=e=>e.clone().add(1,"month"),this.getPreviousMonth=e=>e.clone().subtract(1,"month"),this.getMonthArray=e=>{const t=[this.startOfYear(e)];for(;t.length<12;){const e=t[t.length-1];t.push(this.getNextMonth(e))}return t},this.mergeDateAndTime=(e,t)=>e.clone().hour(t.hour()).minute(t.minute()).second(t.second()),this.getWeekdays=()=>n().weekdaysShort(!0),this.getWeekArray=e=>{const t=this.setLocaleToValue(e),o=t.clone().startOf("month").startOf("week"),a=t.clone().endOf("month").endOf("week");let s=0,n=o;const r=[];for(;n.isBefore(a);){const e=Math.floor(s/7);r[e]=r[e]||[],r[e].push(n),n=n.clone().add(1,"day"),s+=1}return r},this.getWeekNumber=e=>e.week(),this.getYearRange=(e,t)=>{const o=this.moment(e).startOf("year"),a=this.moment(t).endOf("year"),s=[];let n=o;for(;n.isBefore(a);)s.push(n),n=n.clone().add(1,"year");return s},this.getMeridiemText=e=>this.is12HourCycleInCurrentLocale()?n().localeData(this.getCurrentLocaleCode()).meridiem("am"===e?0:13,0,!1):"am"===e?"AM":"PM",this.moment=o||n(),this.locale=e,this.formats=(0,a.Z)({},i,t)}}}}]);
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="dd626cf3-a525-4a6e-a236-e2a062a4a596",e._sentryDebugIdIdentifier="sentry-dbid-dd626cf3-a525-4a6e-a236-e2a062a4a596")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1617"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9387],{28504:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack");t.Z=r},89323:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator");t.Z=r},29754:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=r},42503:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"m9.31 17 2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"}),"EventBusy");t.Z=r},69208:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");t.Z=r},23468:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.Z=r},31373:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.Z=r},13264:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings");t.Z=r},26436:(e,t,o)=>{var a=o(71600);t.Z=void 0;var s=a(o(68671)),n=o(52322),r=(0,s.default)((0,n.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=r},74607:(e,t,o)=>{o.d(t,{Z:()=>p});var a=o(31461),s=o(7896),n=o(24328),r=o(6277),i=o(69075),l=o(65992),c=o(43853),d=o(3875),h=o(60433),m=o(28734),u=o(52322);const f=["className","row"],y=(0,l.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.row&&t.row]}})((({ownerState:e})=>(0,s.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),p=n.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiFormGroup"}),{className:n,row:l=!1}=o,p=(0,a.Z)(o,f),g=(0,h.Z)(),v=(0,m.Z)({props:o,muiFormControl:g,states:["error"]}),M=(0,s.Z)({},o,{row:l,error:v.error}),Z=(e=>{const{classes:t,row:o,error:a}=e,s={root:["root",o&&"row",a&&"error"]};return(0,i.Z)(s,d.y,t)})(M);return(0,u.jsx)(y,(0,s.Z)({className:(0,r.default)(Z.root,n),ownerState:M,ref:t},p))}))},3875:(e,t,o)=>{o.d(t,{y:()=>n,Z:()=>r});var a=o(69222),s=o(15672);function n(e){return(0,s.Z)("MuiFormGroup",e)}const r=(0,a.Z)("MuiFormGroup",["root","row","error"])},63297:(e,t,o)=>{o.d(t,{Z:()=>z});var a=o(31461),s=o(7896),n=o(24328),r=o(6277),i=o(69075),l=o(47591),c=o(18205),d=o(43853),h=o(6620),m=o(52322);const u=(0,h.Z)((0,m.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),f=(0,h.Z)((0,m.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var y=o(65992);const p=(0,y.ZP)("span")({position:"relative",display:"flex"}),g=(0,y.ZP)(u)({transform:"scale(1)"}),v=(0,y.ZP)(f)((({theme:e,ownerState:t})=>(0,s.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}))),M=function(e){const{checked:t=!1,classes:o={},fontSize:a}=e,n=(0,s.Z)({},e,{checked:t});return(0,m.jsxs)(p,{className:o.root,ownerState:n,children:[(0,m.jsx)(g,{fontSize:a,className:o.background,ownerState:n}),(0,m.jsx)(v,{fontSize:a,className:o.dot,ownerState:n})]})};var Z=o(7342),T=o(5209),w=o(49240),D=o(62591);const b=["checked","checkedIcon","color","icon","name","onChange","size","className"],k=(0,y.ZP)(c.Z,{shouldForwardProp:e=>(0,y.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${(0,Z.Z)(o.color)}`]]}})((({theme:e,ownerState:t})=>(0,s.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${D.Z.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${D.Z.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),C=(0,m.jsx)(M,{checked:!0}),L=(0,m.jsx)(M,{}),z=n.forwardRef((function(e,t){var o,l;const c=(0,d.Z)({props:e,name:"MuiRadio"}),{checked:h,checkedIcon:u=C,color:f="primary",icon:y=L,name:p,onChange:g,size:v="medium",className:M}=c,z=(0,a.Z)(c,b),S=(0,s.Z)({},c,{color:f,size:v}),x=(e=>{const{classes:t,color:o}=e,a={root:["root",`color${(0,Z.Z)(o)}`]};return(0,s.Z)({},t,(0,i.Z)(a,D.l,t))})(S),O=(0,w.Z)();let Y=h;const H=(0,T.Z)(g,O&&O.onChange);let j=p;var A,I;return O&&(void 0===Y&&(A=O.value,Y="object"==typeof(I=c.value)&&null!==I?A===I:String(A)===String(I)),void 0===j&&(j=O.name)),(0,m.jsx)(k,(0,s.Z)({type:"radio",icon:n.cloneElement(y,{fontSize:null!=(o=L.props.fontSize)?o:v}),checkedIcon:n.cloneElement(u,{fontSize:null!=(l=C.props.fontSize)?l:v}),ownerState:S,classes:x,name:j,checked:Y,onChange:H,ref:t,className:(0,r.default)(x.root,M)},z))}))},62591:(e,t,o)=>{o.d(t,{l:()=>n,Z:()=>r});var a=o(69222),s=o(15672);function n(e){return(0,s.Z)("MuiRadio",e)}const r=(0,a.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"])},96758:(e,t,o)=>{o.d(t,{Z:()=>u});var a=o(7896),s=o(31461),n=o(24328),r=o(74607),i=o(98659),l=o(19570),c=o(64770),d=o(85954),h=o(52322);const m=["actions","children","defaultValue","name","onChange","value"],u=n.forwardRef((function(e,t){const{actions:o,children:u,defaultValue:f,name:y,onChange:p,value:g}=e,v=(0,s.Z)(e,m),M=n.useRef(null),[Z,T]=(0,l.Z)({controlled:g,default:f,name:"RadioGroup"});n.useImperativeHandle(o,(()=>({focus:()=>{let e=M.current.querySelector("input:not(:disabled):checked");e||(e=M.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const w=(0,i.Z)(t,M),D=(0,d.Z)(y),b=n.useMemo((()=>({name:D,onChange(e){T(e.target.value),p&&p(e,e.target.value)},value:Z})),[D,p,T,Z]);return(0,h.jsx)(c.Z.Provider,{value:b,children:(0,h.jsx)(r.Z,(0,a.Z)({role:"radiogroup",ref:w},v,{children:u}))})}))},64770:(e,t,o)=>{o.d(t,{Z:()=>a});const a=o(24328).createContext(void 0)},49240:(e,t,o)=>{o.d(t,{Z:()=>n});var a=o(24328),s=o(64770);function n(){return a.useContext(s.Z)}},9366:(e,t,o)=>{o.d(t,{Q:()=>c});var a=o(7896),s=o(95038),n=o.n(s);const r={Y:"year",YY:"year",YYYY:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"digit",maxLength:1},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},d:{sectionType:"weekDay",contentType:"digit",maxLength:1},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},i={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",weekday:"dddd",weekdayShort:"ddd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",fullDateWithWeekday:"dddd, LL",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",monthAndYear:"MMMM YYYY",monthAndDate:"MMMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",fullDateTime:"lll",fullDateTime12h:"ll hh:mm A",fullDateTime24h:"ll HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},l=["Missing timezone plugin","To be able to use timezones, you have to pass the default export from `moment-timezone` to the `dateLibInstance` prop of `LocalizationProvider`","Find more information on https://mui.com/x/react-date-pickers/timezone/#moment-and-timezone"].join("\n");class c{constructor({locale:e,formats:t,instance:o}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="moment",this.moment=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=r,this.setLocaleToValue=e=>{const t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasTimezonePlugin=()=>void 0!==this.moment.tz,this.createSystemDate=e=>{const t=this.moment(e).local();return void 0===this.locale?t:t.locale(this.locale)},this.createUTCDate=e=>{const t=this.moment.utc(e);return void 0===this.locale?t:t.locale(this.locale)},this.createTZDate=(e,t)=>{if(!this.hasTimezonePlugin())throw new Error(l);const o="default"===t?this.moment(e):this.moment.tz(e,t);return void 0===this.locale?o:o.locale(this.locale)},this.date=e=>{if(null===e)return null;const t=this.moment(e);return t.locale(this.getCurrentLocaleCode()),t},this.dateWithTimezone=(e,t)=>null===e?null:"UTC"===t?this.createUTCDate(e):"system"===t||"default"===t&&!this.hasTimezonePlugin()?this.createSystemDate(e):this.createTZDate(e,t),this.getTimezone=e=>{var t,o,a;if(e.isUTC())return"UTC";const s=null==(t=e._z)?void 0:t.name;return null!=(o=null!=s?s:null==(a=this.moment.defaultZone)?void 0:a.name)?o:"system"},this.setTimezone=(e,t)=>{var o,a;if("UTC"===t)return e.clone().utc();if("system"===t)return e.clone().local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw new Error(l)}const s="default"===t?null!=(o=null==(a=this.moment.defaultZone)?void 0:a.name)?o:"system":t,n=e.clone();return n.tz(s),n},this.toJsDate=e=>e.toDate(),this.parseISO=e=>this.moment(e,!0),this.toISO=e=>e.toISOString(),this.parse=(e,t)=>""===e?null:this.locale?this.moment(e,t,this.locale,!0):this.moment(e,t,!0),this.getCurrentLocaleCode=()=>this.locale||n().locale(),this.is12HourCycleInCurrentLocale=()=>/A|a/.test(n().localeData(this.getCurrentLocaleCode()).longDateFormat("LT")),this.expandFormat=e=>e.match(/(\[[^[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})|./g).map((e=>{const t=e[0];return"L"===t||";"===t?n().localeData(this.getCurrentLocaleCode()).longDateFormat(e):e})).join(""),this.getFormatHelperText=e=>this.expandFormat(e).replace(/a/gi,"(a|p)m").toLocaleLowerCase(),this.isNull=e=>null===e,this.isValid=e=>this.moment(e).isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>{const o=e.clone();return o.locale(this.getCurrentLocaleCode()),o.format(t)},this.formatNumber=e=>e,this.getDiff=(e,t,o)=>e.diff(t,o),this.isEqual=(e,t)=>null===e&&null===t||this.moment(e).isSame(t),this.isSameYear=(e,t)=>e.isSame(t,"year"),this.isSameMonth=(e,t)=>e.isSame(t,"month"),this.isSameDay=(e,t)=>e.isSame(t,"day"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e.isAfter(t),this.isAfterYear=(e,t)=>e.isAfter(t,"year"),this.isAfterDay=(e,t)=>e.isAfter(t,"day"),this.isBefore=(e,t)=>e.isBefore(t),this.isBeforeYear=(e,t)=>e.isBefore(t,"year"),this.isBeforeDay=(e,t)=>e.isBefore(t,"day"),this.isWithinRange=(e,[t,o])=>e.isBetween(t,o,null,"[]"),this.startOfYear=e=>e.clone().startOf("year"),this.startOfMonth=e=>e.clone().startOf("month"),this.startOfWeek=e=>e.clone().startOf("week"),this.startOfDay=e=>e.clone().startOf("day"),this.endOfYear=e=>e.clone().endOf("year"),this.endOfMonth=e=>e.clone().endOf("month"),this.endOfWeek=e=>e.clone().endOf("week"),this.endOfDay=e=>e.clone().endOf("day"),this.addYears=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"years"):e.clone().add(t,"years"),this.addMonths=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"months"):e.clone().add(t,"months"),this.addWeeks=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"weeks"):e.clone().add(t,"weeks"),this.addDays=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days"),this.addHours=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"hours"):e.clone().add(t,"hours"),this.addMinutes=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"minutes"):e.clone().add(t,"minutes"),this.addSeconds=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"seconds"):e.clone().add(t,"seconds"),this.getYear=e=>e.get("year"),this.getMonth=e=>e.get("month"),this.getDate=e=>e.get("date"),this.getHours=e=>e.get("hours"),this.getMinutes=e=>e.get("minutes"),this.getSeconds=e=>e.get("seconds"),this.getMilliseconds=e=>e.get("milliseconds"),this.setYear=(e,t)=>e.clone().year(t),this.setMonth=(e,t)=>e.clone().month(t),this.setDate=(e,t)=>e.clone().date(t),this.setHours=(e,t)=>e.clone().hours(t),this.setMinutes=(e,t)=>e.clone().minutes(t),this.setSeconds=(e,t)=>e.clone().seconds(t),this.setMilliseconds=(e,t)=>e.clone().milliseconds(t),this.getDaysInMonth=e=>e.daysInMonth(),this.getNextMonth=e=>e.clone().add(1,"month"),this.getPreviousMonth=e=>e.clone().subtract(1,"month"),this.getMonthArray=e=>{const t=[this.startOfYear(e)];for(;t.length<12;){const e=t[t.length-1];t.push(this.getNextMonth(e))}return t},this.mergeDateAndTime=(e,t)=>e.clone().hour(t.hour()).minute(t.minute()).second(t.second()),this.getWeekdays=()=>n().weekdaysShort(!0),this.getWeekArray=e=>{const t=this.setLocaleToValue(e),o=t.clone().startOf("month").startOf("week"),a=t.clone().endOf("month").endOf("week");let s=0,n=o;const r=[];for(;n.isBefore(a);){const e=Math.floor(s/7);r[e]=r[e]||[],r[e].push(n),n=n.clone().add(1,"day"),s+=1}return r},this.getWeekNumber=e=>e.week(),this.getYearRange=(e,t)=>{const o=this.moment(e).startOf("year"),a=this.moment(t).endOf("year"),s=[];let n=o;for(;n.isBefore(a);)s.push(n),n=n.clone().add(1,"year");return s},this.getMeridiemText=e=>this.is12HourCycleInCurrentLocale()?n().localeData(this.getCurrentLocaleCode()).meridiem("am"===e?0:13,0,!1):"am"===e?"AM":"PM",this.moment=o||n(),this.locale=e,this.formats=(0,a.Z)({},i,t)}}}}]);
|
|
2
2
|
//# sourceMappingURL=9387.js.map
|
package/9397.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e8a969da-f7b4-418e-8a14-ef8deeda72e6",e._sentryDebugIdIdentifier="sentry-dbid-e8a969da-f7b4-418e-8a14-ef8deeda72e6")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1615"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9397],{30488:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(38748),o=r(50548);const i=e=>t=>(0,o.l)(n.X,e,t)},82565:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(24328),o=r.n(n),i=r(12115);function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){l(e,t,r[t])}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=(0,r(72342).makeStyles)((e=>({basicViewPaper:a({display:"flex",flexDirection:"column"},e.basicView)})));function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}const u=(0,n.forwardRef)(((e,t)=>{let{children:r,className:n}=e,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["children","className"]);const l=s();return o().createElement(i.Z,c({ref:t,className:n,classes:{root:l.basicViewPaper}},a),r)}));u.displayName="BasicView";const d=u},17998:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(24328),o=r.n(n),i=r(2507),a=r.n(i),l=r(26482),s=r(79312);const c=(0,r(72342).makeStyles)({toolbar:{minHeight:"48px",padding:"8px 24px",lineHeight:"28px"},title:{fontSize:"18px",fontWeight:"normal",lineHeight:"inherit",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}});function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}const d=e=>{let{title:t="",children:r=null,classes:n={}}=e,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["title","children","classes"]);const d=c();return o().createElement(l.Z,u({className:n.root,classes:{root:d.toolbar}},i),o().createElement(s.Z,{className:n.title,classes:{root:d.title},variant:"h6"},a().text(t)),r)}},89902:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),i=r(71153),a=r.n(i),l=r(50914);const s=(0,r(72342).makeStyles)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),c=e=>(0,l.is)(Number,e),u=e=>{let{className:t,width:r=0,maxWidth:i}=e;const l=s(),u=(0,n.useCallback)((e=>(i?100*e/i:0)+"%"),[i]);return r?o().createElement("div",{className:a()(l.bar,t),style:{width:c(r)?u(r):r}}):null}},98538:(e,t,r)=>{r.d(t,{Z:()=>O});var n=r(24328),o=r.n(n),i=r(71153),a=r.n(i),l=r(50914),s=r(38677),c=r(18960),u=r(55962),d=r(80852),p=r(95341),m=r(79312),h=r(78223),g=r(47591);const b=(0,r(72342).makeStyles)((e=>({buttonRoot:{"&$selected":{color:e.palette.action.active,backgroundColor:(0,g.Fq)(e.palette.action.active,.12),"&:hover":{backgroundColor:(0,g.Fq)(e.palette.action.active,.15)}}},selected:{},paper:{minWidth:"112px"},menuItem:{minHeight:"32px"},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0}}))),f=(0,h.Z)(p.Z),y=(0,n.forwardRef)(((e,t)=>{let{item:r,onMenuClose:n=l.identity}=e;const i=b(),{disabled:a,text:s,tooltip:c,onClick:u,id:p="",selectable:h,selected:g}=r;return o().createElement(f,{tooltipTitle:c,showForDisabled:!0,classes:{root:i.menuItem},onClick:e=>{n(e),u(e)},disabled:a,ref:t,"data-modal":!0,"data-reltio-id":`reltio-search-menu-item${p}`},h&&o().createElement(d.Z,{checked:g,color:"primary"}),o().createElement(m.Z,{classes:{root:i.menuText}},s))}));y.displayName="MenuItemRenderer";const v=y;function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(this,arguments)}function x(e){let{className:t,menuId:r,buttonComponent:i=s.Z,buttonContent:d,menuItems:p=[],buttonProps:m={},popoverProps:h={},onMenuOpen:g=l.identity,onMenuClose:f=l.identity,MenuItemRenderer:y=v}=e;const x=i,O=b(),k=(0,n.useRef)(),[S,E]=(0,n.useState)(!1);(0,u.D)((()=>{S?g():f()}),[S]);const j=(0,n.useCallback)((e=>{null==e||e.stopPropagation(),E((e=>!e))}),[]);return o().createElement(o().Fragment,null,o().createElement(x,w({ref:k,className:a()(O.buttonRoot,{[O.selected]:S},t),onClick:j,"aria-pressed":S,"aria-controls":S?r:void 0,"aria-haspopup":"true"},m),d),o().createElement(c.Z,w({id:r,variant:"menu",open:S,autoFocus:!1,classes:{paper:O.paper},anchorEl:k.current,onClose:j,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},elevation:2,MenuListProps:{autoFocusItem:S}},h),p.map(((e,t)=>o().createElement(y,{item:e,key:t,onMenuClose:j})))))}x.displayName="DropDownMenuButton";const O=x},7882:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(24328),o=r.n(n);class i extends o().Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){this.setState({error:e}),console.error(e)}render(){const{children:e,error:t}=this.props;return this.state.error?t:e}}},14593:(e,t,r)=>{r.d(t,{Z:()=>C});var n=r(24328),o=r.n(n),i=r(66244),a=r.n(i),l=r(44443),s=r(50914),c=r(71153),u=r.n(c);function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){p(e,t,r[t])}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const h=e=>{let{x:t,y:r,width:n,height:o,id:i,minWidth:a,minHeight:l,maxWidth:s,maxHeight:c,isStatic:u}=e;return{x:t,y:r,w:n,h:o,minW:a,minH:l,maxW:s,maxH:c,i,static:u}},g=e=>{let{x:t,y:r,w:n,h:o,maxW:i,minW:a,minH:l,maxH:s,i:c}=e;return{x:t,y:r,width:n,height:o,minWidth:a,minHeight:l,maxWidth:i,maxHeight:s,id:c,isStatic:m(e,["x","y","w","h","maxW","minW","minH","maxH","i"]).static}},b=e=>(e||[]).map(g),f=(0,s.curry)(((e,t)=>(e||[]).find((0,s.propEq)("id",t)))),y=(0,s.curry)(((e,t,r)=>(0,s.mergeAll)([r,(0,s.pick)(e,t)]))),v=(0,s.curry)(((e,t,r)=>(r||[]).map((r=>(0,s.pipe)((0,s.prop)("id"),f(t),(0,s.defaultTo)({}),y(e,s.__,r))(r))))),w=(0,s.curry)(((e,t)=>t.map((r=>{const n=t.filter((e=>e.y===r.y)).map((t=>e[t.id]||!t.autosizing&&t.minHeight||0)),o=Math.max(...n);if(r.height!==o&&o){const e=r.autosizing?{minHeight:o,maxHeight:o}:{};return d({},r,e,{height:o})}return r})))),x=(0,s.curry)(((e,t)=>t.map((t=>{const r=e[t.id];return r&&t.autosizing?d({},t,{minHeight:r,maxHeight:r,height:r}):t}))));var O=r(79573),k=r(72342),S=r(28045);const E=(0,k.makeStyles)((e=>({gridLayout:{position:"relative",width:"100%","& .react-grid-item":{"&.react-grid-placeholder":{background:"rgba(0, 0, 0, 0.03)",border:"2px dashed rgba(0, 0, 0, 0.3)",borderRadius:"3px",transitionDuration:"100ms",zIndex:7,userSelect:"none","& .react-resizable-handle":{display:"none"}},"&.static .react-resizable-handle":{display:"none"},"&.customView .react-resizable-handle":{width:"10px",height:"10px"},"&.cssTransforms":{transitionProperty:"transform"},"&.react-draggable-dragging":{transition:"none",zIndex:8,willChange:"transform","& .react-resizable-handle":{backgroundImage:"none"}},"& .react-resizable-handle":{position:"absolute",width:"14px",height:"14px",bottom:0,right:0,zIndex:20,backgroundImage:`url('${(0,S.m5F)('<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path stroke="#505050" stroke-opacity=".54" d="M9.5 0v10M0 9.5h9M7.5 4v4M4 7.5h3"/>\n</svg>')}')`,backgroundRepeat:"no-repeat",backgroundOrigin:"content-box",boxSizing:"border-box",cursor:"se-resize"},"&.fullscreen":{visibility:"visible",position:"unset",width:"100% !important",height:"100% !important",transform:"translate(0) !important"}}},gridFullscreen:{height:"100% !important",overflowY:"hidden","& .react-resizable-handle, & .react-grid-item":{visibility:"hidden"}},isResizing:{zIndex:9,willChange:"width, height",pointerEvents:"none"}})));function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}const z={cols:4,rowHeight:30,margin:[15,15]},H=e=>{let{views:t,layout:r,layoutOptions:i=z,onLayoutChanged:c=O.ZT,draggableHandle:d,LayoutItem:p,onRemove:m,onDrop:y,droppingItem:k,isDroppable:S,isStatic:H,classes:C}=e;const R=(0,n.useRef)(),I=(0,n.useRef)({}),P=E(),[Z,N]=(0,n.useState)(null),[D,M]=(0,n.useState)(null),[W,_]=(0,n.useState)(0),{cols:F,rowHeight:L,margin:T}=i,V=(0,n.useMemo)((()=>(e=>(e||[]).map(h))(r)),[r]),$=(0,s.pipe)(b,v(["autosizing"],r),(0,s.ifElse)((0,s.always)(H),w(I.current),x(I.current)),c),q=(0,n.useCallback)((e=>M((t=>t?null:e))),[]),A=null!==D;return o().createElement(o().Fragment,null,o().createElement(l.Z,{refreshMode:"debounce",refreshRate:50,handleWidth:!0,onResize:e=>_(e)}),!!W&&o().createElement(a(),{innerRef:R,layout:V,cols:F,draggableHandle:d,autoSize:!0,rowHeight:L,width:W,margin:T,onLayoutChange:H?void 0:$,isResizable:!H&&!A,isDraggable:!H&&!A,className:u()(null==C?void 0:C.root,P.gridLayout,{[P.gridFullscreen]:A}),onDrop:(e,t,r)=>{y&&y(b(e),g(t),r)},droppingItem:k,isDroppable:!H&&S,onResizeStart:(e,t)=>N(t.i),onResizeStop:()=>N(null),"data-reltio-id":"reltio-grid-layout"},V.map((e=>{const n=D===e.i,a=Z===e.i,s=(f(r,e.i)||{}).autosizing?{AutosizeComponent:(c=e.i,o().createElement(l.Z,{handleHeight:!0,onResize:(e,t)=>{if(t){const e=((e,t)=>{const{margin:r,rowHeight:n}=t;return Math.ceil((e+r[1])/(n+r[1]))})(t,i);e!==I.current[c]&&(I.current[c]=e,$(V))}}}))}:{};var c;return o().createElement(p,j({key:e.i,layoutItemConfig:e,views:t,onToggleFullscreen:q,onRemove:m,className:u()(null==C?void 0:C.item,{static:H,fullscreen:n,[P.isResizing]:a}),isFullscreen:n},s))}))))};H.displayName="ReltioGridLayout";const C=(0,n.memo)(H)},43129:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(24328),o=r.n(n),i=r(30750);const a=(0,r(72342).makeStyles)({loader:{width:"100%",top:0,left:0,position:"absolute",borderRadius:"2px"}}),l=()=>{const e=a();return o().createElement(i.Z,{color:"primary",className:e.loader,"data-reltio-id":"dashboard-item-loader"})}},65298:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(24328),o=r.n(n),i=r(82565),a=r(52388);const l=(0,r(72342).makeStyles)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden",boxShadow:"none"}}))),s=e=>{let{id:t,children:r}=e;const n=l();return o().createElement(a.H.Provider,{value:t},o().createElement(i.Z,{className:n.view,"data-reltio-id":`layout-item-${t}`},r))}},52388:(e,t,r)=>{r.d(t,{H:()=>o});var n=r(24328);const o=r.n(n)().createContext(null);o.displayName="DashboardViewIdContext"}}]);
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ff74af80-e240-4f35-8c0f-17085e025a1c",e._sentryDebugIdIdentifier="sentry-dbid-ff74af80-e240-4f35-8c0f-17085e025a1c")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1617"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9397],{30488:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(38748),o=r(50548);const i=e=>t=>(0,o.l)(n.X,e,t)},82565:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(24328),o=r.n(n),i=r(12115);function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){l(e,t,r[t])}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=(0,r(72342).makeStyles)((e=>({basicViewPaper:a({display:"flex",flexDirection:"column"},e.basicView)})));function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}const u=(0,n.forwardRef)(((e,t)=>{let{children:r,className:n}=e,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["children","className"]);const l=s();return o().createElement(i.Z,c({ref:t,className:n,classes:{root:l.basicViewPaper}},a),r)}));u.displayName="BasicView";const d=u},17998:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(24328),o=r.n(n),i=r(2507),a=r.n(i),l=r(26482),s=r(79312);const c=(0,r(72342).makeStyles)({toolbar:{minHeight:"48px",padding:"8px 24px",lineHeight:"28px"},title:{fontSize:"18px",fontWeight:"normal",lineHeight:"inherit",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}});function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}const d=e=>{let{title:t="",children:r=null,classes:n={}}=e,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["title","children","classes"]);const d=c();return o().createElement(l.Z,u({className:n.root,classes:{root:d.toolbar}},i),o().createElement(s.Z,{className:n.title,classes:{root:d.title},variant:"h6"},a().text(t)),r)}},89902:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),i=r(71153),a=r.n(i),l=r(50914);const s=(0,r(72342).makeStyles)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),c=e=>(0,l.is)(Number,e),u=e=>{let{className:t,width:r=0,maxWidth:i}=e;const l=s(),u=(0,n.useCallback)((e=>(i?100*e/i:0)+"%"),[i]);return r?o().createElement("div",{className:a()(l.bar,t),style:{width:c(r)?u(r):r}}):null}},98538:(e,t,r)=>{r.d(t,{Z:()=>O});var n=r(24328),o=r.n(n),i=r(71153),a=r.n(i),l=r(50914),s=r(38677),c=r(18960),u=r(55962),d=r(80852),p=r(95341),m=r(79312),h=r(78223),g=r(47591);const f=(0,r(72342).makeStyles)((e=>({buttonRoot:{"&$selected":{color:e.palette.action.active,backgroundColor:(0,g.Fq)(e.palette.action.active,.12),"&:hover":{backgroundColor:(0,g.Fq)(e.palette.action.active,.15)}}},selected:{},paper:{minWidth:"112px"},menuItem:{minHeight:"32px"},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0}}))),b=(0,h.Z)(p.Z),y=(0,n.forwardRef)(((e,t)=>{let{item:r,onMenuClose:n=l.identity}=e;const i=f(),{disabled:a,text:s,tooltip:c,onClick:u,id:p="",selectable:h,selected:g}=r;return o().createElement(b,{tooltipTitle:c,showForDisabled:!0,classes:{root:i.menuItem},onClick:e=>{n(e),u(e)},disabled:a,ref:t,"data-modal":!0,"data-reltio-id":`reltio-search-menu-item${p}`},h&&o().createElement(d.Z,{checked:g,color:"primary"}),o().createElement(m.Z,{classes:{root:i.menuText}},s))}));y.displayName="MenuItemRenderer";const v=y;function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(this,arguments)}function x(e){let{className:t,menuId:r,buttonComponent:i=s.Z,buttonContent:d,menuItems:p=[],buttonProps:m={},popoverProps:h={},onMenuOpen:g=l.identity,onMenuClose:b=l.identity,MenuItemRenderer:y=v}=e;const x=i,O=f(),k=(0,n.useRef)(),[S,E]=(0,n.useState)(!1);(0,u.D)((()=>{S?g():b()}),[S]);const j=(0,n.useCallback)((e=>{null==e||e.stopPropagation(),E((e=>!e))}),[]);return o().createElement(o().Fragment,null,o().createElement(x,w({"data-reltio-id":"drop-down-menu-button",ref:k,className:a()(O.buttonRoot,{[O.selected]:S},t),onClick:j,"aria-pressed":S,"aria-controls":S?r:void 0,"aria-haspopup":"true"},m),d),o().createElement(c.Z,w({id:r,variant:"menu",open:S,autoFocus:!1,classes:{paper:O.paper},anchorEl:k.current,onClose:j,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},elevation:2,MenuListProps:{autoFocusItem:S}},h),p.map(((e,t)=>o().createElement(y,{item:e,key:t,onMenuClose:j})))))}x.displayName="DropDownMenuButton";const O=x},7882:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(24328),o=r.n(n);class i extends o().Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){this.setState({error:e}),console.error(e)}render(){const{children:e,error:t}=this.props;return this.state.error?t:e}}},14593:(e,t,r)=>{r.d(t,{Z:()=>C});var n=r(24328),o=r.n(n),i=r(66244),a=r.n(i),l=r(44443),s=r(50914),c=r(71153),u=r.n(c);function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){p(e,t,r[t])}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const h=e=>{let{x:t,y:r,width:n,height:o,id:i,minWidth:a,minHeight:l,maxWidth:s,maxHeight:c,isStatic:u}=e;return{x:t,y:r,w:n,h:o,minW:a,minH:l,maxW:s,maxH:c,i,static:u}},g=e=>{let{x:t,y:r,w:n,h:o,maxW:i,minW:a,minH:l,maxH:s,i:c}=e;return{x:t,y:r,width:n,height:o,minWidth:a,minHeight:l,maxWidth:i,maxHeight:s,id:c,isStatic:m(e,["x","y","w","h","maxW","minW","minH","maxH","i"]).static}},f=e=>(e||[]).map(g),b=(0,s.curry)(((e,t)=>(e||[]).find((0,s.propEq)("id",t)))),y=(0,s.curry)(((e,t,r)=>(0,s.mergeAll)([r,(0,s.pick)(e,t)]))),v=(0,s.curry)(((e,t,r)=>(r||[]).map((r=>(0,s.pipe)((0,s.prop)("id"),b(t),(0,s.defaultTo)({}),y(e,s.__,r))(r))))),w=(0,s.curry)(((e,t)=>t.map((r=>{const n=t.filter((e=>e.y===r.y)).map((t=>e[t.id]||!t.autosizing&&t.minHeight||0)),o=Math.max(...n);if(r.height!==o&&o){const e=r.autosizing?{minHeight:o,maxHeight:o}:{};return d({},r,e,{height:o})}return r})))),x=(0,s.curry)(((e,t)=>t.map((t=>{const r=e[t.id];return r&&t.autosizing?d({},t,{minHeight:r,maxHeight:r,height:r}):t}))));var O=r(79573),k=r(72342),S=r(28045);const E=(0,k.makeStyles)((e=>({gridLayout:{position:"relative",width:"100%","& .react-grid-item":{"&.react-grid-placeholder":{background:"rgba(0, 0, 0, 0.03)",border:"2px dashed rgba(0, 0, 0, 0.3)",borderRadius:"3px",transitionDuration:"100ms",zIndex:7,userSelect:"none","& .react-resizable-handle":{display:"none"}},"&.static .react-resizable-handle":{display:"none"},"&.customView .react-resizable-handle":{width:"10px",height:"10px"},"&.cssTransforms":{transitionProperty:"transform"},"&.react-draggable-dragging":{transition:"none",zIndex:8,willChange:"transform","& .react-resizable-handle":{backgroundImage:"none"}},"& .react-resizable-handle":{position:"absolute",width:"14px",height:"14px",bottom:0,right:0,zIndex:20,backgroundImage:`url('${(0,S.m5F)('<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path stroke="#505050" stroke-opacity=".54" d="M9.5 0v10M0 9.5h9M7.5 4v4M4 7.5h3"/>\n</svg>')}')`,backgroundRepeat:"no-repeat",backgroundOrigin:"content-box",boxSizing:"border-box",cursor:"se-resize"},"&.fullscreen":{visibility:"visible",position:"unset",width:"100% !important",height:"100% !important",transform:"translate(0) !important"}}},gridFullscreen:{height:"100% !important",overflowY:"hidden","& .react-resizable-handle, & .react-grid-item":{visibility:"hidden"}},isResizing:{zIndex:9,willChange:"width, height",pointerEvents:"none"}})));function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}const z={cols:4,rowHeight:30,margin:[15,15]},H=e=>{let{views:t,layout:r,layoutOptions:i=z,onLayoutChanged:c=O.ZT,draggableHandle:d,LayoutItem:p,onRemove:m,onDrop:y,droppingItem:k,isDroppable:S,isStatic:H,classes:C}=e;const R=(0,n.useRef)(),I=(0,n.useRef)({}),P=E(),[Z,N]=(0,n.useState)(null),[D,M]=(0,n.useState)(null),[W,_]=(0,n.useState)(0),{cols:F,rowHeight:L,margin:T}=i,V=(0,n.useMemo)((()=>(e=>(e||[]).map(h))(r)),[r]),$=(0,s.pipe)(f,v(["autosizing"],r),(0,s.ifElse)((0,s.always)(H),w(I.current),x(I.current)),c),q=(0,n.useCallback)((e=>M((t=>t?null:e))),[]),A=null!==D;return o().createElement(o().Fragment,null,o().createElement(l.Z,{refreshMode:"debounce",refreshRate:50,handleWidth:!0,onResize:e=>_(e)}),!!W&&o().createElement(a(),{innerRef:R,layout:V,cols:F,draggableHandle:d,autoSize:!0,rowHeight:L,width:W,margin:T,onLayoutChange:H?void 0:$,isResizable:!H&&!A,isDraggable:!H&&!A,className:u()(null==C?void 0:C.root,P.gridLayout,{[P.gridFullscreen]:A}),onDrop:(e,t,r)=>{y&&y(f(e),g(t),r)},droppingItem:k,isDroppable:!H&&S,onResizeStart:(e,t)=>N(t.i),onResizeStop:()=>N(null),"data-reltio-id":"reltio-grid-layout"},V.map((e=>{const n=D===e.i,a=Z===e.i,s=(b(r,e.i)||{}).autosizing?{AutosizeComponent:(c=e.i,o().createElement(l.Z,{handleHeight:!0,onResize:(e,t)=>{if(t){const e=((e,t)=>{const{margin:r,rowHeight:n}=t;return Math.ceil((e+r[1])/(n+r[1]))})(t,i);e!==I.current[c]&&(I.current[c]=e,$(V))}}}))}:{};var c;return o().createElement(p,j({key:e.i,layoutItemConfig:e,views:t,onToggleFullscreen:q,onRemove:m,className:u()(null==C?void 0:C.item,{static:H,fullscreen:n,[P.isResizing]:a}),isFullscreen:n},s))}))))};H.displayName="ReltioGridLayout";const C=(0,n.memo)(H)},43129:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(24328),o=r.n(n),i=r(30750);const a=(0,r(72342).makeStyles)({loader:{width:"100%",top:0,left:0,position:"absolute",borderRadius:"2px"}}),l=()=>{const e=a();return o().createElement(i.Z,{color:"primary",className:e.loader,"data-reltio-id":"dashboard-item-loader"})}},65298:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(24328),o=r.n(n),i=r(82565),a=r(52388);const l=(0,r(72342).makeStyles)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden",boxShadow:"none"}}))),s=e=>{let{id:t,children:r}=e;const n=l();return o().createElement(a.H.Provider,{value:t},o().createElement(i.Z,{className:n.view,"data-reltio-id":`layout-item-${t}`},r))}},52388:(e,t,r)=>{r.d(t,{H:()=>o});var n=r(24328);const o=r.n(n)().createContext(null);o.displayName="DashboardViewIdContext"}}]);
|
|
2
2
|
//# sourceMappingURL=9397.js.map
|
package/9397.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"9397.js","mappings":"6nBAGA,MAGA,EAH0BA,GAAqBC,IAC3CC,EAAAA,EAAAA,GAAYC,EAAAA,EAAcH,EAAiBC,I,4gBCFxC,MAAMG,GAAYC,E,SAAAA,aAAYC,IAAD,CAChCC,eAAgB,EAAF,CACVC,QAAS,OACTC,cAAe,UACZH,EAAMI,e,gNCFjB,MAAMC,GAAYC,EAAAA,EAAAA,aACd,CAAC,EAAkDC,KAAyC,IAA3F,SAACC,EAAD,UAAWC,GAAgF,EAAlEC,E,kXAAkE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QAAQsI,KACjC5E,EAAW1D,QAAQsI,GAAgBxE,EACnCoD,EAAsBH,UA4ChB,GApDIuB,IAAAA,EAqDV,OACI,kBAACjC,EAAD,GACI1F,IAAKyC,EAAWjB,EAChBwG,iBAAkBvF,EAClB4C,MAAOA,EACPqB,mBAAoBA,EACpBf,SAAUA,EACVrM,UAAWwC,GAAAA,CAAWpC,MAAAA,OAAD,EAACA,EAASsD,KAAM,CACjCyE,OAAQR,EACRgH,WAAYT,EACZ,CAAChO,EAAOsL,YAAaA,IAEzBoD,aAAcV,GACVC,UAUpCrC,EAAiBxL,YAAc,mBAE/B,SAAeuO,EAAAA,EAAAA,MAAK/C,I,oECtKb,MAAMzM,GAAYC,E,SAAAA,YAAW,CAChCwP,OAAQ,CACJ5M,MAAO,OACPJ,IAAK,EACLC,KAAM,EACNJ,SAAU,WACVE,aAAc,SCCtB,EAL8B,KAC1B,MAAM3B,EAASb,IACf,OAAO,kBAAC0P,EAAA,EAAD,CAAgBpM,MAAM,UAAU3C,UAAWE,EAAO4O,OAAQ,iBAAe,4B,+ECJ7E,MAAMzP,GAAYC,E,SAAAA,aAAW,KAAM,CACtC0P,KAAM,CACFC,KAAM,EACN/M,MAAO,OACPF,OAAQ,OACRjB,SAAU,SACVmO,UAAW,YCenB,EAZuB,IAA2B,IAA1B,GAAClL,EAAD,SAAKjE,GAAqB,EAC9C,MAAMG,EAASb,IAEf,OACI,kBAAC8P,EAAA,WAAD,CAAiCC,MAAOpL,GACpC,kBAACpE,EAAA,EAAD,CAAWI,UAAWE,EAAO8O,KAAM,iBAAiB,eAAchL,KAC7DjE,M,gDCfV,MAAMoP,E,MAAyBvI,GAAAA,cAAoB,MAE1DuI,EAAuB7O,YAAc","sources":["webpack://@reltio/remotes/../components/src/components/BasicTableView/BasicTable/HOCs/withTableContext.js","webpack://@reltio/remotes/../components/src/components/BasicView/styles.ts","webpack://@reltio/remotes/../components/src/components/BasicView/BasicView.tsx","webpack://@reltio/remotes/../components/src/components/BasicViewHeader/styles.ts","webpack://@reltio/remotes/../components/src/components/BasicViewHeader/BasicViewHeader.tsx","webpack://@reltio/remotes/../components/src/components/ColorBar/styles.ts","webpack://@reltio/remotes/../components/src/components/ColorBar/ColorBar.tsx","webpack://@reltio/remotes/../components/src/components/DropDownMenuButton/styles.ts","webpack://@reltio/remotes/../components/src/components/DropDownMenuButton/MenuItemRenderer.tsx","webpack://@reltio/remotes/../components/src/components/DropDownMenuButton/DropDownMenuButton.tsx","webpack://@reltio/remotes/../components/src/components/ErrorBoundary/ErrorBoundary.tsx","webpack://@reltio/remotes/../components/src/components/ReltioGridLayout/helpers.ts","webpack://@reltio/remotes/../components/src/components/ReltioGridLayout/icons/ResizeIcon.svg.ts","webpack://@reltio/remotes/../components/src/components/ReltioGridLayout/styles.ts","webpack://@reltio/remotes/../components/src/components/ReltioGridLayout/ReltioGridLayout.tsx","webpack://@reltio/remotes/../dashboard/src/components/DashboardLinearLoader/styles.ts","webpack://@reltio/remotes/../dashboard/src/components/DashboardLinearLoader/DashboardLinearLoader.tsx","webpack://@reltio/remotes/../dashboard/src/components/LayoutItemView/styles.ts","webpack://@reltio/remotes/../dashboard/src/components/LayoutItemView/LayoutItemView.tsx","webpack://@reltio/remotes/../dashboard/src/contexts/DashboardViewIdContext/index.ts"],"sourcesContent":["import {TableContext} from '../contexts/TableContext';\nimport {withContext} from '../../../../HOCs/withContext/withContext';\n\nconst withTableContext = (contextSelector) => (CellRenderer) =>\n withContext(TableContext, contextSelector, CellRenderer);\n\nexport default withTableContext;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n basicViewPaper: {\n display: 'flex',\n flexDirection: 'column',\n ...theme.basicView\n }\n}));\n","import React, {forwardRef} from 'react';\nimport Paper, {PaperProps} from '@mui/material/Paper';\nimport {useStyles} from './styles';\n\nconst BasicView = forwardRef(\n ({children, className, ...otherProps}: PaperProps, ref: React.RefObject<HTMLDivElement>) => {\n const styles = useStyles();\n return (\n <Paper ref={ref} className={className} classes={{root: styles.basicViewPaper}} {...otherProps}>\n {children}\n </Paper>\n );\n }\n);\n\nBasicView.displayName = 'BasicView';\n\nexport default BasicView;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles({\n toolbar: {\n minHeight: '48px',\n padding: '8px 24px',\n lineHeight: '28px'\n },\n title: {\n fontSize: '18px',\n fontWeight: 'normal',\n lineHeight: 'inherit',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis'\n }\n});\n","import React from 'react';\nimport i18n from 'ui-i18n';\nimport Toolbar, {ToolbarProps} from '@mui/material/Toolbar';\nimport Typography from '@mui/material/Typography';\nimport {useStyles} from './styles';\n\ntype Props = ToolbarProps & {\n title?: string;\n classes?: Partial<Record<'root' | 'title', string>>;\n};\n\nconst BasicViewHeader = ({title = '', children = null, classes = {}, ...otherProps}: Props) => {\n const styles = useStyles();\n return (\n <Toolbar className={classes.root} classes={{root: styles.toolbar}} {...otherProps}>\n <Typography className={classes.title} classes={{root: styles.title}} variant=\"h6\">\n {i18n.text(title)}\n </Typography>\n {children}\n </Toolbar>\n );\n};\n\nexport default BasicViewHeader;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n bar: {\n backgroundColor: theme.palette.secondary.main,\n opacity: 0.12,\n position: 'absolute',\n minHeight: '20px',\n minWidth: '5px',\n borderRadius: '2px',\n top: 0,\n left: 0,\n height: '100%'\n }\n}));\n","import React, {useCallback} from 'react';\nimport classnames from 'classnames';\nimport {is} from 'ramda';\nimport {useStyles} from './styles';\n\ntype Props = {\n className?: string;\n width?: number | string;\n maxWidth?: number;\n};\n\nconst widthIsNumber = (width: string | number): width is number => is(Number, width);\n\nconst ColorBar = ({className, width = 0, maxWidth}: Props) => {\n const styles = useStyles();\n\n const getBarColorWidth = useCallback(\n (width: number) => {\n return (maxWidth ? (100 * width) / maxWidth : 0) + '%';\n },\n [maxWidth]\n );\n\n return width ? (\n <div\n className={classnames(styles.bar, className)}\n style={{width: widthIsNumber(width) ? getBarColorWidth(width) : width}}\n />\n ) : null;\n};\n\nexport default ColorBar;\n","import {alpha} from '@mui/material/styles';\nimport {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n buttonRoot: {\n '&$selected': {\n color: theme.palette.action.active,\n backgroundColor: alpha(theme.palette.action.active, 0.12),\n '&:hover': {\n backgroundColor: alpha(theme.palette.action.active, 0.15)\n }\n }\n },\n selected: {},\n paper: {\n minWidth: '112px'\n },\n menuItem: {\n minHeight: '32px'\n },\n menuText: {\n color: theme.palette.text.primary,\n fontSize: '13px',\n lineHeight: '15px',\n letterSpacing: 0\n }\n}));\n","import React, {forwardRef} from 'react';\nimport {identity} from 'ramda';\nimport Checkbox from '@mui/material/Checkbox';\nimport MenuItem from '@mui/material/MenuItem';\nimport Typography from '@mui/material/Typography';\nimport withTooltip from '../../HOCs/withTooltip/withTooltip';\nimport {DropDownMenuItem} from '../../types';\n\nimport {useStyles} from './styles';\n\nconst MenuItemWithTooltip = withTooltip(MenuItem);\n\ntype Props = {\n item: DropDownMenuItem;\n onMenuClose?: (e) => void;\n};\n\nconst MenuItemRenderer = forwardRef(({item, onMenuClose = identity}: Props, ref: React.Ref<HTMLLIElement>) => {\n const styles = useStyles();\n const {disabled, text, tooltip, onClick, id = '', selectable, selected} = item;\n const handleClick = (e) => {\n onMenuClose(e);\n onClick(e);\n };\n\n return (\n <MenuItemWithTooltip\n tooltipTitle={tooltip}\n showForDisabled={true}\n classes={{root: styles.menuItem}}\n onClick={handleClick}\n disabled={disabled}\n ref={ref}\n data-modal\n data-reltio-id={`reltio-search-menu-item${id}`}\n >\n {selectable && <Checkbox checked={selected} color=\"primary\" />}\n <Typography classes={{root: styles.menuText}}>{text}</Typography>\n </MenuItemWithTooltip>\n );\n});\n\nMenuItemRenderer.displayName = 'MenuItemRenderer';\n\nexport default MenuItemRenderer;\n","import React, {useCallback, useRef, useState} from 'react';\nimport classnames from 'classnames';\nimport {identity} from 'ramda';\nimport Button from '@mui/material/Button';\nimport Menu, {MenuProps} from '@mui/material/Menu';\nimport {useDidUpdateEffect} from '../../hooks';\nimport DefaultMenuItemRenderer from './MenuItemRenderer';\nimport {useStyles} from './styles';\nimport {DropDownMenuItem} from '../../types';\n\ntype Props<T> = {\n className?: string;\n buttonComponent?: React.ElementType;\n buttonContent?: React.ReactNode;\n menuItems?: T[];\n buttonProps?: Record<string, unknown>;\n popoverProps?: Omit<MenuProps, 'open'>;\n menuId: string;\n onMenuOpen?: () => void;\n onMenuClose?: () => void;\n MenuItemRenderer?: (props) => JSX.Element;\n};\n\nfunction DropDownMenuButton<T = DropDownMenuItem>({\n className,\n menuId,\n buttonComponent = Button,\n buttonContent,\n menuItems = [],\n buttonProps = {},\n popoverProps = {},\n onMenuOpen = identity,\n onMenuClose = identity,\n MenuItemRenderer = DefaultMenuItemRenderer\n}: Props<T>) {\n const ButtonComponent = buttonComponent;\n const styles = useStyles();\n const buttonRef = useRef();\n const [isOpen, setIsOpen] = useState(false);\n\n useDidUpdateEffect(() => {\n isOpen ? onMenuOpen() : onMenuClose();\n }, [isOpen]);\n\n const handleToggle = useCallback((e) => {\n e?.stopPropagation();\n setIsOpen((open) => !open);\n }, []);\n\n const renderMenuItem = (item, index) => {\n return <MenuItemRenderer item={item} key={index} onMenuClose={handleToggle} />;\n };\n\n return (\n <>\n <ButtonComponent\n ref={buttonRef}\n className={classnames(\n styles.buttonRoot,\n {\n [styles.selected]: isOpen\n },\n className\n )}\n onClick={handleToggle}\n aria-pressed={isOpen}\n aria-controls={isOpen ? menuId : undefined}\n aria-haspopup=\"true\"\n {...buttonProps}\n >\n {buttonContent}\n </ButtonComponent>\n <Menu\n id={menuId}\n variant=\"menu\"\n open={isOpen}\n autoFocus={false}\n classes={{paper: styles.paper}}\n anchorEl={buttonRef.current}\n onClose={handleToggle}\n anchorOrigin={{\n vertical: 'bottom',\n horizontal: 'right'\n }}\n transformOrigin={{\n vertical: 'top',\n horizontal: 'right'\n }}\n elevation={2}\n MenuListProps={{autoFocusItem: isOpen}}\n {...popoverProps}\n >\n {menuItems.map(renderMenuItem)}\n </Menu>\n </>\n );\n}\n\nDropDownMenuButton.displayName = 'DropDownMenuButton';\n\nexport default DropDownMenuButton;\n","import React from 'react';\n\ntype State = {\n error: Error | null;\n};\n\ntype Props = {\n error: React.ReactNode;\n};\n\nexport default class ErrorBoundary extends React.Component<Props, State> {\n constructor(props) {\n super(props);\n this.state = {\n error: null\n };\n }\n\n componentDidCatch(error) {\n this.setState({\n error: error\n });\n console.error(error);\n }\n\n render() {\n const {children, error} = this.props;\n if (this.state.error) {\n return error;\n }\n return children;\n }\n}\n","import {curry, defaultTo, mergeAll, pick, pipe, prop, propEq, __} from 'ramda';\nimport {ReltioGridLayoutItem} from '@reltio/mdm-sdk';\nimport {ReactGridLayoutItem, ReltioGridLayoutOptions} from '../../types';\n\nexport const reltioLayoutItemToReactGridLayoutItem = ({\n x,\n y,\n width,\n height,\n id,\n minWidth,\n minHeight,\n maxWidth,\n maxHeight,\n isStatic\n}: ReltioGridLayoutItem): ReactGridLayoutItem => ({\n x,\n y,\n w: width,\n h: height,\n minW: minWidth,\n minH: minHeight,\n maxW: maxWidth,\n maxH: maxHeight,\n i: id,\n static: isStatic\n});\n\nexport const reactGridLayoutItemToReltioLayoutItem = ({\n x,\n y,\n w,\n h,\n maxW,\n minW,\n minH,\n maxH,\n i,\n ...obj\n}: ReactGridLayoutItem): ReltioGridLayoutItem => ({\n x,\n y,\n width: w,\n height: h,\n minWidth: minW,\n minHeight: minH,\n maxWidth: maxW,\n maxHeight: maxH,\n id: i,\n isStatic: obj.static\n});\n\nexport const reltioLayoutToReactGridLayout = (layout: ReltioGridLayoutItem[]): ReactGridLayoutItem[] =>\n (layout || []).map(reltioLayoutItemToReactGridLayoutItem);\n\nexport const reactGridLayoutToReltioLayout = (layout: ReactGridLayoutItem[]): ReltioGridLayoutItem[] =>\n (layout || []).map(reactGridLayoutItemToReltioLayoutItem);\n\nexport const getReltioLayoutItemById = curry((layout: ReltioGridLayoutItem[], id: string) =>\n (layout || []).find(propEq('id', id))\n);\n\nconst updateExtraPropsInLayoutItem = curry(\n (props: string[], from: Record<string, unknown>, to: Record<string, unknown>) => mergeAll([to, pick(props, from)])\n);\n\nexport const copyPropsFromPreviousLayout = curry(\n (\n props: string[],\n oldReltioLayout: ReltioGridLayoutItem[],\n reltioLayout: ReltioGridLayoutItem[]\n ): ReltioGridLayoutItem[] =>\n (reltioLayout || []).map((layoutItem) =>\n pipe(\n prop('id'),\n getReltioLayoutItemById(oldReltioLayout),\n defaultTo({}),\n updateExtraPropsInLayoutItem(props, __, layoutItem)\n )(layoutItem)\n )\n);\n\nexport const calcHeight = (height: number, options: ReltioGridLayoutOptions): number => {\n const {margin, rowHeight} = options;\n\n return Math.ceil((height + margin[1]) / (rowHeight + margin[1]));\n};\n\nexport const alignGroupedItemsHeights = curry(\n (heightsMap: {[id: string]: number}, layout: ReltioGridLayoutItem[]): ReltioGridLayoutItem[] => {\n return layout.map((layoutItem) => {\n const oneRowItemsHeights = layout\n .filter((item) => item.y === layoutItem.y)\n .map((item) => heightsMap[item.id] || (!item.autosizing && item.minHeight) || 0);\n const newHeight = Math.max(...oneRowItemsHeights);\n if (layoutItem.height !== newHeight && newHeight) {\n const minMaxHeights = layoutItem.autosizing\n ? {\n minHeight: newHeight,\n maxHeight: newHeight\n }\n : {};\n return {\n ...layoutItem,\n ...minMaxHeights,\n height: newHeight\n };\n }\n return layoutItem;\n });\n }\n);\n\nexport const calcLayoutItemsHeight = curry(\n (heightsMap: {[id: string]: number}, layout: ReltioGridLayoutItem[]): ReltioGridLayoutItem[] => {\n return layout.map((layoutItem) => {\n const height = heightsMap[layoutItem.id];\n if (height && layoutItem.autosizing) {\n return {\n ...layoutItem,\n minHeight: height,\n maxHeight: height,\n height\n };\n }\n return layoutItem;\n });\n }\n);\n","export const RESIZE_ICON = `<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path stroke=\"#505050\" stroke-opacity=\".54\" d=\"M9.5 0v10M0 9.5h9M7.5 4v4M4 7.5h3\"/>\n</svg>`;\n","import {makeStyles} from '@mui/styles';\nimport {svg2Url} from '@reltio/mdm-sdk';\nimport {RESIZE_ICON} from './icons/ResizeIcon.svg';\n\nexport const useStyles = makeStyles((_) => ({\n gridLayout: {\n position: 'relative',\n width: '100%',\n '& .react-grid-item': {\n '&.react-grid-placeholder': {\n background: 'rgba(0, 0, 0, 0.03)',\n border: '2px dashed rgba(0, 0, 0, 0.3)',\n borderRadius: '3px',\n transitionDuration: '100ms',\n zIndex: 7,\n userSelect: 'none',\n '& .react-resizable-handle': {\n display: 'none'\n }\n },\n '&.static .react-resizable-handle': {\n display: 'none'\n },\n '&.customView .react-resizable-handle': {\n width: '10px',\n height: '10px'\n },\n '&.cssTransforms': {\n transitionProperty: 'transform'\n },\n '&.react-draggable-dragging': {\n transition: 'none',\n zIndex: 8,\n willChange: 'transform',\n '& .react-resizable-handle': {\n backgroundImage: 'none'\n }\n },\n '& .react-resizable-handle': {\n position: 'absolute',\n width: '14px',\n height: '14px',\n bottom: 0,\n right: 0,\n zIndex: 20,\n backgroundImage: `url('${svg2Url(RESIZE_ICON)}')`,\n backgroundRepeat: 'no-repeat',\n backgroundOrigin: 'content-box',\n boxSizing: 'border-box',\n cursor: 'se-resize'\n },\n '&.fullscreen': {\n visibility: 'visible',\n position: 'unset',\n width: '100% !important',\n height: '100% !important',\n transform: 'translate(0) !important'\n }\n }\n },\n\n gridFullscreen: {\n height: '100% !important',\n overflowY: 'hidden',\n '& .react-resizable-handle, & .react-grid-item': {\n visibility: 'hidden'\n }\n },\n isResizing: {\n zIndex: 9,\n willChange: 'width, height',\n pointerEvents: 'none'\n }\n}));\n","import React, {DragEvent, useCallback, useMemo, useRef, useState, memo, ElementType} from 'react';\nimport GridLayout from 'react-grid-layout';\nimport ReactResizeDetector from 'react-resize-detector';\nimport {pipe, ifElse, always} from 'ramda';\nimport classnames from 'classnames';\nimport {ReltioGridLayoutItem} from '@reltio/mdm-sdk';\nimport {ReactGridLayoutItem, ReltioGridLayoutOptions} from '../../types';\nimport {\n alignGroupedItemsHeights,\n calcLayoutItemsHeight,\n reltioLayoutToReactGridLayout,\n reactGridLayoutToReltioLayout,\n reactGridLayoutItemToReltioLayoutItem,\n copyPropsFromPreviousLayout,\n calcHeight,\n getReltioLayoutItemById\n} from './helpers';\nimport {noop} from '../../core';\n\nimport {useStyles} from './styles';\n\ntype Props<ViewConfig = Record<string, unknown>> = {\n layout: ReltioGridLayoutItem[];\n views?: ViewConfig[];\n layoutOptions?: ReltioGridLayoutOptions;\n onLayoutChanged?: (layout: ReltioGridLayoutItem[]) => void;\n onDrop?: (layout: ReltioGridLayoutItem[], layoutItem: ReltioGridLayoutItem, e: DragEvent<HTMLDivElement>) => void;\n onRemove?: (id: string) => void;\n LayoutItem: ElementType;\n draggableHandle?: string;\n isDroppable?: boolean;\n isStatic?: boolean;\n droppingItem?: ReactGridLayoutItem;\n classes?: {\n root?: string;\n item?: string;\n };\n};\n\nconst DEFAULT_LAYOUT_OPTIONS: ReltioGridLayoutOptions = {\n cols: 4,\n rowHeight: 30,\n margin: [15, 15]\n};\n\nconst ReltioGridLayout = ({\n views,\n layout,\n layoutOptions = DEFAULT_LAYOUT_OPTIONS,\n onLayoutChanged = noop,\n draggableHandle,\n LayoutItem,\n onRemove,\n onDrop,\n droppingItem,\n isDroppable,\n isStatic,\n classes\n}: Props) => {\n const ref = useRef();\n const heightsMap = useRef<{[id: string]: number}>({});\n const styles = useStyles();\n const [resizingItemId, setResizingItemId] = useState<string>(null);\n const [fullscreenItemId, setFullscreenItemId] = useState<string>(null);\n const [width, setWidth] = useState(0);\n const {cols, rowHeight, margin} = layoutOptions;\n const processedLayout: ReactGridLayoutItem[] = useMemo(() => reltioLayoutToReactGridLayout(layout), [layout]);\n\n const onReltioLayoutChanged = pipe(\n reactGridLayoutToReltioLayout,\n copyPropsFromPreviousLayout(['autosizing'], layout),\n ifElse(\n always(isStatic),\n alignGroupedItemsHeights(heightsMap.current),\n calcLayoutItemsHeight(heightsMap.current)\n ),\n onLayoutChanged\n );\n const handleDrop = (\n layout: ReactGridLayoutItem[],\n layoutItem: ReactGridLayoutItem,\n e: DragEvent<HTMLDivElement>\n ) => {\n if (onDrop) {\n onDrop(reactGridLayoutToReltioLayout(layout), reactGridLayoutItemToReltioLayoutItem(layoutItem), e);\n }\n };\n const onToggleFullscreen = useCallback((id: string) => setFullscreenItemId((prevId) => (prevId ? null : id)), []);\n const isFullscreenEnabled = fullscreenItemId !== null;\n\n const getAutosizeComponent = (layoutItemId: string) => (\n <ReactResizeDetector\n handleHeight\n onResize={(_, height) => {\n if (height) {\n const newHeight = calcHeight(height, layoutOptions);\n if (newHeight !== heightsMap.current[layoutItemId]) {\n heightsMap.current[layoutItemId] = newHeight;\n onReltioLayoutChanged(processedLayout);\n }\n }\n }}\n />\n );\n\n return (\n <>\n <ReactResizeDetector\n refreshMode=\"debounce\"\n refreshRate={50}\n handleWidth={true}\n onResize={(width: number) => setWidth(width)}\n />\n {!!width && (\n <GridLayout\n innerRef={ref}\n layout={processedLayout}\n cols={cols}\n draggableHandle={draggableHandle}\n autoSize={true}\n rowHeight={rowHeight}\n width={width}\n margin={margin}\n onLayoutChange={isStatic ? undefined : onReltioLayoutChanged}\n isResizable={!isStatic && !isFullscreenEnabled}\n isDraggable={!isStatic && !isFullscreenEnabled}\n className={classnames(classes?.root, styles.gridLayout, {\n [styles.gridFullscreen]: isFullscreenEnabled\n })}\n onDrop={handleDrop}\n droppingItem={droppingItem}\n isDroppable={!isStatic && isDroppable}\n onResizeStart={(_, layoutItem) => setResizingItemId(layoutItem.i)}\n onResizeStop={() => setResizingItemId(null)}\n data-reltio-id=\"reltio-grid-layout\"\n >\n {processedLayout.map((layoutItem) => {\n const isItemFullscreen = fullscreenItemId === layoutItem.i;\n const isResizing = resizingItemId === layoutItem.i;\n const isAutosize = (getReltioLayoutItemById(layout, layoutItem.i) || {}).autosizing;\n const autosizeComponent = isAutosize\n ? {AutosizeComponent: getAutosizeComponent(layoutItem.i)}\n : {};\n return (\n <LayoutItem\n key={layoutItem.i}\n layoutItemConfig={layoutItem}\n views={views}\n onToggleFullscreen={onToggleFullscreen}\n onRemove={onRemove}\n className={classnames(classes?.item, {\n static: isStatic,\n fullscreen: isItemFullscreen,\n [styles.isResizing]: isResizing\n })}\n isFullscreen={isItemFullscreen}\n {...autosizeComponent}\n />\n );\n })}\n </GridLayout>\n )}\n </>\n );\n};\n\nReltioGridLayout.displayName = 'ReltioGridLayout';\n\nexport default memo(ReltioGridLayout);\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles({\n loader: {\n width: '100%',\n top: 0,\n left: 0,\n position: 'absolute',\n borderRadius: '2px'\n }\n});\n","import React from 'react';\nimport LinearProgress from '@mui/material/LinearProgress';\nimport {useStyles} from './styles';\n\nconst DashboardLinearLoader = () => {\n const styles = useStyles();\n return <LinearProgress color=\"primary\" className={styles.loader} data-reltio-id=\"dashboard-item-loader\" />;\n};\n\nexport default DashboardLinearLoader;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles(() => ({\n view: {\n flex: 1,\n width: '100%',\n height: '100%',\n overflow: 'hidden',\n boxShadow: 'none'\n }\n}));\n","import React from 'react';\nimport {BasicView} from '@reltio/components';\nimport {DashboardViewIdContext} from '../../contexts/DashboardViewIdContext';\n\nimport {useStyles} from './styles';\n\ntype Props = {\n id: string;\n children: React.ReactNode;\n};\n\nconst LayoutItemView = ({id, children}: Props) => {\n const styles = useStyles();\n\n return (\n <DashboardViewIdContext.Provider value={id}>\n <BasicView className={styles.view} data-reltio-id={`layout-item-${id}`}>\n {children}\n </BasicView>\n </DashboardViewIdContext.Provider>\n );\n};\n\nexport default LayoutItemView;\n","import React from 'react';\n\nexport const DashboardViewIdContext = React.createContext(null);\n\nDashboardViewIdContext.displayName = 'DashboardViewIdContext';\n"],"names":["contextSelector","CellRenderer","withContext","TableContext","useStyles","makeStyles","theme","basicViewPaper","display","flexDirection","basicView","BasicView","forwardRef","ref","children","className","otherProps","styles","Paper","classes","root","displayName","toolbar","minHeight","padding","lineHeight","title","fontSize","fontWeight","whiteSpace","overflow","textOverflow","Toolbar","Typography","variant","i18n","bar","backgroundColor","palette","secondary","main","opacity","position","minWidth","borderRadius","top","left","height","widthIsNumber","width","is","Number","maxWidth","getBarColorWidth","useCallback","classnames","style","buttonRoot","color","action","active","alpha","selected","paper","menuItem","menuText","text","primary","letterSpacing","MenuItemWithTooltip","withTooltip","MenuItem","MenuItemRenderer","item","onMenuClose","identity","disabled","tooltip","onClick","id","selectable","tooltipTitle","showForDisabled","e","Checkbox","checked","DropDownMenuButton","menuId","buttonComponent","Button","buttonContent","menuItems","buttonProps","popoverProps","onMenuOpen","DefaultMenuItemRenderer","ButtonComponent","buttonRef","useRef","isOpen","setIsOpen","useState","useDidUpdateEffect","handleToggle","stopPropagation","open","undefined","Menu","autoFocus","anchorEl","current","onClose","anchorOrigin","vertical","horizontal","transformOrigin","elevation","MenuListProps","autoFocusItem","map","index","key","ErrorBoundary","React","constructor","props","super","this","state","error","componentDidCatch","setState","console","render","reltioLayoutItemToReactGridLayoutItem","x","y","maxHeight","isStatic","w","h","minW","minH","maxW","maxH","i","static","reactGridLayoutItemToReltioLayoutItem","reactGridLayoutToReltioLayout","layout","getReltioLayoutItemById","curry","find","propEq","updateExtraPropsInLayoutItem","from","to","mergeAll","pick","copyPropsFromPreviousLayout","oldReltioLayout","reltioLayout","layoutItem","pipe","prop","defaultTo","__","alignGroupedItemsHeights","heightsMap","oneRowItemsHeights","filter","autosizing","newHeight","Math","max","minMaxHeights","calcLayoutItemsHeight","_","gridLayout","background","border","transitionDuration","zIndex","userSelect","transitionProperty","transition","willChange","backgroundImage","bottom","right","svg2Url","backgroundRepeat","backgroundOrigin","boxSizing","cursor","visibility","transform","gridFullscreen","overflowY","isResizing","pointerEvents","DEFAULT_LAYOUT_OPTIONS","cols","rowHeight","margin","ReltioGridLayout","views","layoutOptions","onLayoutChanged","noop","draggableHandle","LayoutItem","onRemove","onDrop","droppingItem","isDroppable","resizingItemId","setResizingItemId","fullscreenItemId","setFullscreenItemId","setWidth","processedLayout","useMemo","reltioLayoutToReactGridLayout","onReltioLayoutChanged","ifElse","always","onToggleFullscreen","prevId","isFullscreenEnabled","refreshMode","refreshRate","handleWidth","onResize","innerRef","autoSize","onLayoutChange","isResizable","isDraggable","onResizeStart","onResizeStop","isItemFullscreen","autosizeComponent","AutosizeComponent","layoutItemId","handleHeight","options","ceil","calcHeight","layoutItemConfig","fullscreen","isFullscreen","memo","loader","LinearProgress","view","flex","boxShadow","DashboardViewIdContext","value"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"9397.js","mappings":"6nBAGA,MAGA,EAH0BA,GAAqBC,IAC3CC,EAAAA,EAAAA,GAAYC,EAAAA,EAAcH,EAAiBC,I,4gBCFxC,MAAMG,GAAYC,E,SAAAA,aAAYC,IAAD,CAChCC,eAAgB,EAAF,CACVC,QAAS,OACTC,cAAe,UACZH,EAAMI,e,gNCFjB,MAAMC,GAAYC,EAAAA,EAAAA,aACd,CAAC,EAAkDC,KAAyC,IAA3F,SAACC,EAAD,UAAWC,GAAgF,EAAlEC,E,kXAAkE,6BACxF,MAAMC,EAASb,IACf,OACI,kBAACc,EAAA,EAAD,GAAOL,IAAKA,EAAKE,UAAWA,EAAWI,QAAS,CAACC,KAAMH,EAAOV,iBAAqBS,GAC9EF,MAMjBH,EAAUU,YAAc,YAExB,W,kGCfO,MAAMjB,GAAYC,E,SAAAA,YAAW,CAChCiB,QAAS,CACLC,UAAW,OACXC,QAAS,WACTC,WAAY,QAEhBC,MAAO,CACHC,SAAU,OACVC,WAAY,SACZH,WAAY,UACZI,WAAY,SACZC,SAAU,SACVC,aAAc,c,gNCHtB,MAYA,EAZwB,IAAuE,IAAtE,MAACL,EAAQ,GAAT,SAAaZ,EAAW,KAAxB,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AA,MAAK/C,I,oECtKb,MAAMzM,GAAYC,E,SAAAA,YAAW,CAChCwP,OAAQ,CACJ5M,MAAO,OACPJ,IAAK,EACLC,KAAM,EACNJ,SAAU,WACVE,aAAc,SCCtB,EAL8B,KAC1B,MAAM3B,EAASb,IACf,OAAO,kBAAC0P,EAAA,EAAD,CAAgBpM,MAAM,UAAU3C,UAAWE,EAAO4O,OAAQ,iBAAe,4B,+ECJ7E,MAAMzP,GAAYC,E,SAAAA,aAAW,KAAM,CACtC0P,KAAM,CACFC,KAAM,EACN/M,MAAO,OACPF,OAAQ,OACRjB,SAAU,SACVmO,UAAW,YCenB,EAZuB,IAA2B,IAA1B,GAAClL,EAAD,SAAKjE,GAAqB,EAC9C,MAAMG,EAASb,IAEf,OACI,kBAAC8P,EAAA,WAAD,CAAiCC,MAAOpL,GACpC,kBAACpE,EAAA,EAAD,CAAWI,UAAWE,EAAO8O,KAAM,iBAAiB,eAAchL,KAC7DjE,M,gDCfV,MAAMoP,E,MAAyBvI,GAAAA,cAAoB,MAE1DuI,EAAuB7O,YAAc","sources":["webpack://@reltio/remotes/../components/src/components/BasicTableView/BasicTable/HOCs/withTableContext.js","webpack://@reltio/remotes/../components/src/components/BasicView/styles.ts","webpack://@reltio/remotes/../components/src/components/BasicView/BasicView.tsx","webpack://@reltio/remotes/../components/src/components/BasicViewHeader/styles.ts","webpack://@reltio/remotes/../components/src/components/BasicViewHeader/BasicViewHeader.tsx","webpack://@reltio/remotes/../components/src/components/ColorBar/styles.ts","webpack://@reltio/remotes/../components/src/components/ColorBar/ColorBar.tsx","webpack://@reltio/remotes/../components/src/components/DropDownMenuButton/styles.ts","webpack://@reltio/remotes/../components/src/components/DropDownMenuButton/MenuItemRenderer.tsx","webpack://@reltio/remotes/../components/src/components/DropDownMenuButton/DropDownMenuButton.tsx","webpack://@reltio/remotes/../components/src/components/ErrorBoundary/ErrorBoundary.tsx","webpack://@reltio/remotes/../components/src/components/ReltioGridLayout/helpers.ts","webpack://@reltio/remotes/../components/src/components/ReltioGridLayout/icons/ResizeIcon.svg.ts","webpack://@reltio/remotes/../components/src/components/ReltioGridLayout/styles.ts","webpack://@reltio/remotes/../components/src/components/ReltioGridLayout/ReltioGridLayout.tsx","webpack://@reltio/remotes/../dashboard/src/components/DashboardLinearLoader/styles.ts","webpack://@reltio/remotes/../dashboard/src/components/DashboardLinearLoader/DashboardLinearLoader.tsx","webpack://@reltio/remotes/../dashboard/src/components/LayoutItemView/styles.ts","webpack://@reltio/remotes/../dashboard/src/components/LayoutItemView/LayoutItemView.tsx","webpack://@reltio/remotes/../dashboard/src/contexts/DashboardViewIdContext/index.ts"],"sourcesContent":["import {TableContext} from '../contexts/TableContext';\nimport {withContext} from '../../../../HOCs/withContext/withContext';\n\nconst withTableContext = (contextSelector) => (CellRenderer) =>\n withContext(TableContext, contextSelector, CellRenderer);\n\nexport default withTableContext;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n basicViewPaper: {\n display: 'flex',\n flexDirection: 'column',\n ...theme.basicView\n }\n}));\n","import React, {forwardRef} from 'react';\nimport Paper, {PaperProps} from '@mui/material/Paper';\nimport {useStyles} from './styles';\n\nconst BasicView = forwardRef(\n ({children, className, ...otherProps}: PaperProps, ref: React.RefObject<HTMLDivElement>) => {\n const styles = useStyles();\n return (\n <Paper ref={ref} className={className} classes={{root: styles.basicViewPaper}} {...otherProps}>\n {children}\n </Paper>\n );\n }\n);\n\nBasicView.displayName = 'BasicView';\n\nexport default BasicView;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles({\n toolbar: {\n minHeight: '48px',\n padding: '8px 24px',\n lineHeight: '28px'\n },\n title: {\n fontSize: '18px',\n fontWeight: 'normal',\n lineHeight: 'inherit',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis'\n }\n});\n","import React from 'react';\nimport i18n from 'ui-i18n';\nimport Toolbar, {ToolbarProps} from '@mui/material/Toolbar';\nimport Typography from '@mui/material/Typography';\nimport {useStyles} from './styles';\n\ntype Props = ToolbarProps & {\n title?: string;\n classes?: Partial<Record<'root' | 'title', string>>;\n};\n\nconst BasicViewHeader = ({title = '', children = null, classes = {}, ...otherProps}: Props) => {\n const styles = useStyles();\n return (\n <Toolbar className={classes.root} classes={{root: styles.toolbar}} {...otherProps}>\n <Typography className={classes.title} classes={{root: styles.title}} variant=\"h6\">\n {i18n.text(title)}\n </Typography>\n {children}\n </Toolbar>\n );\n};\n\nexport default BasicViewHeader;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n bar: {\n backgroundColor: theme.palette.secondary.main,\n opacity: 0.12,\n position: 'absolute',\n minHeight: '20px',\n minWidth: '5px',\n borderRadius: '2px',\n top: 0,\n left: 0,\n height: '100%'\n }\n}));\n","import React, {useCallback} from 'react';\nimport classnames from 'classnames';\nimport {is} from 'ramda';\nimport {useStyles} from './styles';\n\ntype Props = {\n className?: string;\n width?: number | string;\n maxWidth?: number;\n};\n\nconst widthIsNumber = (width: string | number): width is number => is(Number, width);\n\nconst ColorBar = ({className, width = 0, maxWidth}: Props) => {\n const styles = useStyles();\n\n const getBarColorWidth = useCallback(\n (width: number) => {\n return (maxWidth ? (100 * width) / maxWidth : 0) + '%';\n },\n [maxWidth]\n );\n\n return width ? (\n <div\n className={classnames(styles.bar, className)}\n style={{width: widthIsNumber(width) ? getBarColorWidth(width) : width}}\n />\n ) : null;\n};\n\nexport default ColorBar;\n","import {alpha} from '@mui/material/styles';\nimport {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n buttonRoot: {\n '&$selected': {\n color: theme.palette.action.active,\n backgroundColor: alpha(theme.palette.action.active, 0.12),\n '&:hover': {\n backgroundColor: alpha(theme.palette.action.active, 0.15)\n }\n }\n },\n selected: {},\n paper: {\n minWidth: '112px'\n },\n menuItem: {\n minHeight: '32px'\n },\n menuText: {\n color: theme.palette.text.primary,\n fontSize: '13px',\n lineHeight: '15px',\n letterSpacing: 0\n }\n}));\n","import React, {forwardRef} from 'react';\nimport {identity} from 'ramda';\nimport Checkbox from '@mui/material/Checkbox';\nimport MenuItem from '@mui/material/MenuItem';\nimport Typography from '@mui/material/Typography';\nimport withTooltip from '../../HOCs/withTooltip/withTooltip';\nimport {DropDownMenuItem} from '../../types';\n\nimport {useStyles} from './styles';\n\nconst MenuItemWithTooltip = withTooltip(MenuItem);\n\ntype Props = {\n item: DropDownMenuItem;\n onMenuClose?: (e) => void;\n};\n\nconst MenuItemRenderer = forwardRef(({item, onMenuClose = identity}: Props, ref: React.Ref<HTMLLIElement>) => {\n const styles = useStyles();\n const {disabled, text, tooltip, onClick, id = '', selectable, selected} = item;\n const handleClick = (e) => {\n onMenuClose(e);\n onClick(e);\n };\n\n return (\n <MenuItemWithTooltip\n tooltipTitle={tooltip}\n showForDisabled={true}\n classes={{root: styles.menuItem}}\n onClick={handleClick}\n disabled={disabled}\n ref={ref}\n data-modal\n data-reltio-id={`reltio-search-menu-item${id}`}\n >\n {selectable && <Checkbox checked={selected} color=\"primary\" />}\n <Typography classes={{root: styles.menuText}}>{text}</Typography>\n </MenuItemWithTooltip>\n );\n});\n\nMenuItemRenderer.displayName = 'MenuItemRenderer';\n\nexport default MenuItemRenderer;\n","import React, {useCallback, useRef, useState} from 'react';\nimport classnames from 'classnames';\nimport {identity} from 'ramda';\nimport Button from '@mui/material/Button';\nimport Menu, {MenuProps} from '@mui/material/Menu';\nimport {useDidUpdateEffect} from '../../hooks';\nimport DefaultMenuItemRenderer from './MenuItemRenderer';\nimport {useStyles} from './styles';\nimport {DropDownMenuItem} from '../../types';\n\ntype Props<T> = {\n className?: string;\n buttonComponent?: React.ElementType;\n buttonContent?: React.ReactNode;\n menuItems?: T[];\n buttonProps?: Record<string, unknown>;\n popoverProps?: Omit<MenuProps, 'open'>;\n menuId: string;\n onMenuOpen?: () => void;\n onMenuClose?: () => void;\n MenuItemRenderer?: (props) => JSX.Element;\n};\n\nfunction DropDownMenuButton<T = DropDownMenuItem>({\n className,\n menuId,\n buttonComponent = Button,\n buttonContent,\n menuItems = [],\n buttonProps = {},\n popoverProps = {},\n onMenuOpen = identity,\n onMenuClose = identity,\n MenuItemRenderer = DefaultMenuItemRenderer\n}: Props<T>) {\n const ButtonComponent = buttonComponent;\n const styles = useStyles();\n const buttonRef = useRef();\n const [isOpen, setIsOpen] = useState(false);\n\n useDidUpdateEffect(() => {\n isOpen ? onMenuOpen() : onMenuClose();\n }, [isOpen]);\n\n const handleToggle = useCallback((e) => {\n e?.stopPropagation();\n setIsOpen((open) => !open);\n }, []);\n\n const renderMenuItem = (item, index) => {\n return <MenuItemRenderer item={item} key={index} onMenuClose={handleToggle} />;\n };\n\n return (\n <>\n <ButtonComponent\n data-reltio-id={'drop-down-menu-button'}\n ref={buttonRef}\n className={classnames(\n styles.buttonRoot,\n {\n [styles.selected]: isOpen\n },\n className\n )}\n onClick={handleToggle}\n aria-pressed={isOpen}\n aria-controls={isOpen ? menuId : undefined}\n aria-haspopup=\"true\"\n {...buttonProps}\n >\n {buttonContent}\n </ButtonComponent>\n <Menu\n id={menuId}\n variant=\"menu\"\n open={isOpen}\n autoFocus={false}\n classes={{paper: styles.paper}}\n anchorEl={buttonRef.current}\n onClose={handleToggle}\n anchorOrigin={{\n vertical: 'bottom',\n horizontal: 'right'\n }}\n transformOrigin={{\n vertical: 'top',\n horizontal: 'right'\n }}\n elevation={2}\n MenuListProps={{autoFocusItem: isOpen}}\n {...popoverProps}\n >\n {menuItems.map(renderMenuItem)}\n </Menu>\n </>\n );\n}\n\nDropDownMenuButton.displayName = 'DropDownMenuButton';\n\nexport default DropDownMenuButton;\n","import React from 'react';\n\ntype State = {\n error: Error | null;\n};\n\ntype Props = {\n error: React.ReactNode;\n};\n\nexport default class ErrorBoundary extends React.Component<Props, State> {\n constructor(props) {\n super(props);\n this.state = {\n error: null\n };\n }\n\n componentDidCatch(error) {\n this.setState({\n error: error\n });\n console.error(error);\n }\n\n render() {\n const {children, error} = this.props;\n if (this.state.error) {\n return error;\n }\n return children;\n }\n}\n","import {curry, defaultTo, mergeAll, pick, pipe, prop, propEq, __} from 'ramda';\nimport {ReltioGridLayoutItem} from '@reltio/mdm-sdk';\nimport {ReactGridLayoutItem, ReltioGridLayoutOptions} from '../../types';\n\nexport const reltioLayoutItemToReactGridLayoutItem = ({\n x,\n y,\n width,\n height,\n id,\n minWidth,\n minHeight,\n maxWidth,\n maxHeight,\n isStatic\n}: ReltioGridLayoutItem): ReactGridLayoutItem => ({\n x,\n y,\n w: width,\n h: height,\n minW: minWidth,\n minH: minHeight,\n maxW: maxWidth,\n maxH: maxHeight,\n i: id,\n static: isStatic\n});\n\nexport const reactGridLayoutItemToReltioLayoutItem = ({\n x,\n y,\n w,\n h,\n maxW,\n minW,\n minH,\n maxH,\n i,\n ...obj\n}: ReactGridLayoutItem): ReltioGridLayoutItem => ({\n x,\n y,\n width: w,\n height: h,\n minWidth: minW,\n minHeight: minH,\n maxWidth: maxW,\n maxHeight: maxH,\n id: i,\n isStatic: obj.static\n});\n\nexport const reltioLayoutToReactGridLayout = (layout: ReltioGridLayoutItem[]): ReactGridLayoutItem[] =>\n (layout || []).map(reltioLayoutItemToReactGridLayoutItem);\n\nexport const reactGridLayoutToReltioLayout = (layout: ReactGridLayoutItem[]): ReltioGridLayoutItem[] =>\n (layout || []).map(reactGridLayoutItemToReltioLayoutItem);\n\nexport const getReltioLayoutItemById = curry((layout: ReltioGridLayoutItem[], id: string) =>\n (layout || []).find(propEq('id', id))\n);\n\nconst updateExtraPropsInLayoutItem = curry(\n (props: string[], from: Record<string, unknown>, to: Record<string, unknown>) => mergeAll([to, pick(props, from)])\n);\n\nexport const copyPropsFromPreviousLayout = curry(\n (\n props: string[],\n oldReltioLayout: ReltioGridLayoutItem[],\n reltioLayout: ReltioGridLayoutItem[]\n ): ReltioGridLayoutItem[] =>\n (reltioLayout || []).map((layoutItem) =>\n pipe(\n prop('id'),\n getReltioLayoutItemById(oldReltioLayout),\n defaultTo({}),\n updateExtraPropsInLayoutItem(props, __, layoutItem)\n )(layoutItem)\n )\n);\n\nexport const calcHeight = (height: number, options: ReltioGridLayoutOptions): number => {\n const {margin, rowHeight} = options;\n\n return Math.ceil((height + margin[1]) / (rowHeight + margin[1]));\n};\n\nexport const alignGroupedItemsHeights = curry(\n (heightsMap: {[id: string]: number}, layout: ReltioGridLayoutItem[]): ReltioGridLayoutItem[] => {\n return layout.map((layoutItem) => {\n const oneRowItemsHeights = layout\n .filter((item) => item.y === layoutItem.y)\n .map((item) => heightsMap[item.id] || (!item.autosizing && item.minHeight) || 0);\n const newHeight = Math.max(...oneRowItemsHeights);\n if (layoutItem.height !== newHeight && newHeight) {\n const minMaxHeights = layoutItem.autosizing\n ? {\n minHeight: newHeight,\n maxHeight: newHeight\n }\n : {};\n return {\n ...layoutItem,\n ...minMaxHeights,\n height: newHeight\n };\n }\n return layoutItem;\n });\n }\n);\n\nexport const calcLayoutItemsHeight = curry(\n (heightsMap: {[id: string]: number}, layout: ReltioGridLayoutItem[]): ReltioGridLayoutItem[] => {\n return layout.map((layoutItem) => {\n const height = heightsMap[layoutItem.id];\n if (height && layoutItem.autosizing) {\n return {\n ...layoutItem,\n minHeight: height,\n maxHeight: height,\n height\n };\n }\n return layoutItem;\n });\n }\n);\n","export const RESIZE_ICON = `<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path stroke=\"#505050\" stroke-opacity=\".54\" d=\"M9.5 0v10M0 9.5h9M7.5 4v4M4 7.5h3\"/>\n</svg>`;\n","import {makeStyles} from '@mui/styles';\nimport {svg2Url} from '@reltio/mdm-sdk';\nimport {RESIZE_ICON} from './icons/ResizeIcon.svg';\n\nexport const useStyles = makeStyles((_) => ({\n gridLayout: {\n position: 'relative',\n width: '100%',\n '& .react-grid-item': {\n '&.react-grid-placeholder': {\n background: 'rgba(0, 0, 0, 0.03)',\n border: '2px dashed rgba(0, 0, 0, 0.3)',\n borderRadius: '3px',\n transitionDuration: '100ms',\n zIndex: 7,\n userSelect: 'none',\n '& .react-resizable-handle': {\n display: 'none'\n }\n },\n '&.static .react-resizable-handle': {\n display: 'none'\n },\n '&.customView .react-resizable-handle': {\n width: '10px',\n height: '10px'\n },\n '&.cssTransforms': {\n transitionProperty: 'transform'\n },\n '&.react-draggable-dragging': {\n transition: 'none',\n zIndex: 8,\n willChange: 'transform',\n '& .react-resizable-handle': {\n backgroundImage: 'none'\n }\n },\n '& .react-resizable-handle': {\n position: 'absolute',\n width: '14px',\n height: '14px',\n bottom: 0,\n right: 0,\n zIndex: 20,\n backgroundImage: `url('${svg2Url(RESIZE_ICON)}')`,\n backgroundRepeat: 'no-repeat',\n backgroundOrigin: 'content-box',\n boxSizing: 'border-box',\n cursor: 'se-resize'\n },\n '&.fullscreen': {\n visibility: 'visible',\n position: 'unset',\n width: '100% !important',\n height: '100% !important',\n transform: 'translate(0) !important'\n }\n }\n },\n\n gridFullscreen: {\n height: '100% !important',\n overflowY: 'hidden',\n '& .react-resizable-handle, & .react-grid-item': {\n visibility: 'hidden'\n }\n },\n isResizing: {\n zIndex: 9,\n willChange: 'width, height',\n pointerEvents: 'none'\n }\n}));\n","import React, {DragEvent, useCallback, useMemo, useRef, useState, memo, ElementType} from 'react';\nimport GridLayout from 'react-grid-layout';\nimport ReactResizeDetector from 'react-resize-detector';\nimport {pipe, ifElse, always} from 'ramda';\nimport classnames from 'classnames';\nimport {ReltioGridLayoutItem} from '@reltio/mdm-sdk';\nimport {ReactGridLayoutItem, ReltioGridLayoutOptions} from '../../types';\nimport {\n alignGroupedItemsHeights,\n calcLayoutItemsHeight,\n reltioLayoutToReactGridLayout,\n reactGridLayoutToReltioLayout,\n reactGridLayoutItemToReltioLayoutItem,\n copyPropsFromPreviousLayout,\n calcHeight,\n getReltioLayoutItemById\n} from './helpers';\nimport {noop} from '../../core';\n\nimport {useStyles} from './styles';\n\ntype Props<ViewConfig = Record<string, unknown>> = {\n layout: ReltioGridLayoutItem[];\n views?: ViewConfig[];\n layoutOptions?: ReltioGridLayoutOptions;\n onLayoutChanged?: (layout: ReltioGridLayoutItem[]) => void;\n onDrop?: (layout: ReltioGridLayoutItem[], layoutItem: ReltioGridLayoutItem, e: DragEvent<HTMLDivElement>) => void;\n onRemove?: (id: string) => void;\n LayoutItem: ElementType;\n draggableHandle?: string;\n isDroppable?: boolean;\n isStatic?: boolean;\n droppingItem?: ReactGridLayoutItem;\n classes?: {\n root?: string;\n item?: string;\n };\n};\n\nconst DEFAULT_LAYOUT_OPTIONS: ReltioGridLayoutOptions = {\n cols: 4,\n rowHeight: 30,\n margin: [15, 15]\n};\n\nconst ReltioGridLayout = ({\n views,\n layout,\n layoutOptions = DEFAULT_LAYOUT_OPTIONS,\n onLayoutChanged = noop,\n draggableHandle,\n LayoutItem,\n onRemove,\n onDrop,\n droppingItem,\n isDroppable,\n isStatic,\n classes\n}: Props) => {\n const ref = useRef();\n const heightsMap = useRef<{[id: string]: number}>({});\n const styles = useStyles();\n const [resizingItemId, setResizingItemId] = useState<string>(null);\n const [fullscreenItemId, setFullscreenItemId] = useState<string>(null);\n const [width, setWidth] = useState(0);\n const {cols, rowHeight, margin} = layoutOptions;\n const processedLayout: ReactGridLayoutItem[] = useMemo(() => reltioLayoutToReactGridLayout(layout), [layout]);\n\n const onReltioLayoutChanged = pipe(\n reactGridLayoutToReltioLayout,\n copyPropsFromPreviousLayout(['autosizing'], layout),\n ifElse(\n always(isStatic),\n alignGroupedItemsHeights(heightsMap.current),\n calcLayoutItemsHeight(heightsMap.current)\n ),\n onLayoutChanged\n );\n const handleDrop = (\n layout: ReactGridLayoutItem[],\n layoutItem: ReactGridLayoutItem,\n e: DragEvent<HTMLDivElement>\n ) => {\n if (onDrop) {\n onDrop(reactGridLayoutToReltioLayout(layout), reactGridLayoutItemToReltioLayoutItem(layoutItem), e);\n }\n };\n const onToggleFullscreen = useCallback((id: string) => setFullscreenItemId((prevId) => (prevId ? null : id)), []);\n const isFullscreenEnabled = fullscreenItemId !== null;\n\n const getAutosizeComponent = (layoutItemId: string) => (\n <ReactResizeDetector\n handleHeight\n onResize={(_, height) => {\n if (height) {\n const newHeight = calcHeight(height, layoutOptions);\n if (newHeight !== heightsMap.current[layoutItemId]) {\n heightsMap.current[layoutItemId] = newHeight;\n onReltioLayoutChanged(processedLayout);\n }\n }\n }}\n />\n );\n\n return (\n <>\n <ReactResizeDetector\n refreshMode=\"debounce\"\n refreshRate={50}\n handleWidth={true}\n onResize={(width: number) => setWidth(width)}\n />\n {!!width && (\n <GridLayout\n innerRef={ref}\n layout={processedLayout}\n cols={cols}\n draggableHandle={draggableHandle}\n autoSize={true}\n rowHeight={rowHeight}\n width={width}\n margin={margin}\n onLayoutChange={isStatic ? undefined : onReltioLayoutChanged}\n isResizable={!isStatic && !isFullscreenEnabled}\n isDraggable={!isStatic && !isFullscreenEnabled}\n className={classnames(classes?.root, styles.gridLayout, {\n [styles.gridFullscreen]: isFullscreenEnabled\n })}\n onDrop={handleDrop}\n droppingItem={droppingItem}\n isDroppable={!isStatic && isDroppable}\n onResizeStart={(_, layoutItem) => setResizingItemId(layoutItem.i)}\n onResizeStop={() => setResizingItemId(null)}\n data-reltio-id=\"reltio-grid-layout\"\n >\n {processedLayout.map((layoutItem) => {\n const isItemFullscreen = fullscreenItemId === layoutItem.i;\n const isResizing = resizingItemId === layoutItem.i;\n const isAutosize = (getReltioLayoutItemById(layout, layoutItem.i) || {}).autosizing;\n const autosizeComponent = isAutosize\n ? {AutosizeComponent: getAutosizeComponent(layoutItem.i)}\n : {};\n return (\n <LayoutItem\n key={layoutItem.i}\n layoutItemConfig={layoutItem}\n views={views}\n onToggleFullscreen={onToggleFullscreen}\n onRemove={onRemove}\n className={classnames(classes?.item, {\n static: isStatic,\n fullscreen: isItemFullscreen,\n [styles.isResizing]: isResizing\n })}\n isFullscreen={isItemFullscreen}\n {...autosizeComponent}\n />\n );\n })}\n </GridLayout>\n )}\n </>\n );\n};\n\nReltioGridLayout.displayName = 'ReltioGridLayout';\n\nexport default memo(ReltioGridLayout);\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles({\n loader: {\n width: '100%',\n top: 0,\n left: 0,\n position: 'absolute',\n borderRadius: '2px'\n }\n});\n","import React from 'react';\nimport LinearProgress from '@mui/material/LinearProgress';\nimport {useStyles} from './styles';\n\nconst DashboardLinearLoader = () => {\n const styles = useStyles();\n return <LinearProgress color=\"primary\" className={styles.loader} data-reltio-id=\"dashboard-item-loader\" />;\n};\n\nexport default DashboardLinearLoader;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles(() => ({\n view: {\n flex: 1,\n width: '100%',\n height: '100%',\n overflow: 'hidden',\n boxShadow: 'none'\n }\n}));\n","import React from 'react';\nimport {BasicView} from '@reltio/components';\nimport {DashboardViewIdContext} from '../../contexts/DashboardViewIdContext';\n\nimport {useStyles} from './styles';\n\ntype Props = {\n id: string;\n children: React.ReactNode;\n};\n\nconst LayoutItemView = ({id, children}: Props) => {\n const styles = useStyles();\n\n return (\n <DashboardViewIdContext.Provider value={id}>\n <BasicView className={styles.view} data-reltio-id={`layout-item-${id}`}>\n {children}\n </BasicView>\n </DashboardViewIdContext.Provider>\n );\n};\n\nexport default LayoutItemView;\n","import React from 'react';\n\nexport const DashboardViewIdContext = React.createContext(null);\n\nDashboardViewIdContext.displayName = 'DashboardViewIdContext';\n"],"names":["contextSelector","CellRenderer","withContext","TableContext","useStyles","makeStyles","theme","basicViewPaper","display","flexDirection","basicView","BasicView","forwardRef","ref","children","className","otherProps","styles","Paper","classes","root","displayName","toolbar","minHeight","padding","lineHeight","title","fontSize","fontWeight","whiteSpace","overflow","textOverflow","Toolbar","Typography","variant","i18n","bar","backgroundColor","palette","secondary","main","opacity","position","minWidth","borderRadius","top","left","height","widthIsNumber","width","is","Number","maxWidth","getBarColorWidth","useCallback","classnames","style","buttonRoot","color","action","active","alpha","selected","paper","menuItem","menuText","text","primary","letterSpacing","MenuItemWithTooltip","withTooltip","MenuItem","MenuItemRenderer","item","onMenuClose","identity","disabled","tooltip","onClick","id","selectable","tooltipTitle","showForDisabled","e","Checkbox","checked","DropDownMenuButton","menuId","buttonComponent","Button","buttonContent","menuItems","buttonProps","popoverProps","onMenuOpen","DefaultMenuItemRenderer","ButtonComponent","buttonRef","useRef","isOpen","setIsOpen","useState","useDidUpdateEffect","handleToggle","stopPropagation","open","undefined","Menu","autoFocus","anchorEl","current","onClose","anchorOrigin","vertical","horizontal","transformOrigin","elevation","MenuListProps","autoFocusItem","map","index","key","ErrorBoundary","React","constructor","props","super","this","state","error","componentDidCatch","setState","console","render","reltioLayoutItemToReactGridLayoutItem","x","y","maxHeight","isStatic","w","h","minW","minH","maxW","maxH","i","static","reactGridLayoutItemToReltioLayoutItem","reactGridLayoutToReltioLayout","layout","getReltioLayoutItemById","curry","find","propEq","updateExtraPropsInLayoutItem","from","to","mergeAll","pick","copyPropsFromPreviousLayout","oldReltioLayout","reltioLayout","layoutItem","pipe","prop","defaultTo","__","alignGroupedItemsHeights","heightsMap","oneRowItemsHeights","filter","autosizing","newHeight","Math","max","minMaxHeights","calcLayoutItemsHeight","_","gridLayout","background","border","transitionDuration","zIndex","userSelect","transitionProperty","transition","willChange","backgroundImage","bottom","right","svg2Url","backgroundRepeat","backgroundOrigin","boxSizing","cursor","visibility","transform","gridFullscreen","overflowY","isResizing","pointerEvents","DEFAULT_LAYOUT_OPTIONS","cols","rowHeight","margin","ReltioGridLayout","views","layoutOptions","onLayoutChanged","noop","draggableHandle","LayoutItem","onRemove","onDrop","droppingItem","isDroppable","resizingItemId","setResizingItemId","fullscreenItemId","setFullscreenItemId","setWidth","processedLayout","useMemo","reltioLayoutToReactGridLayout","onReltioLayoutChanged","ifElse","always","onToggleFullscreen","prevId","isFullscreenEnabled","refreshMode","refreshRate","handleWidth","onResize","innerRef","autoSize","onLayoutChange","isResizable","isDraggable","onResizeStart","onResizeStop","isItemFullscreen","autosizeComponent","AutosizeComponent","layoutItemId","handleHeight","options","ceil","calcHeight","layoutItemConfig","fullscreen","isFullscreen","memo","loader","LinearProgress","view","flex","boxShadow","DashboardViewIdContext","value"],"sourceRoot":""}
|
package/9719.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="91ea4079-6d1f-4953-8092-f5a973f44242",e._sentryDebugIdIdentifier="sentry-dbid-91ea4079-6d1f-4953-8092-f5a973f44242")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1615"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9719],{4237:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"}),"CalendarToday");t.Z=s},89323:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator");t.Z=s},29754:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=s},42503:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"m9.31 17 2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"}),"EventBusy");t.Z=s},80653:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList");t.Z=s},13510:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}),"History");t.Z=s},69208:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");t.Z=s},23468:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.Z=s},31373:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.Z=s},11559:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");t.Z=s},26436:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=s},74607:(e,t,o)=>{o.d(t,{Z:()=>y});var n=o(31461),a=o(7896),r=o(24328),s=o(6277),i=o(69075),l=o(65992),c=o(43853),h=o(3875),d=o(60433),u=o(28734),m=o(52322);const f=["className","row"],p=(0,l.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.row&&t.row]}})((({ownerState:e})=>(0,a.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),y=r.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiFormGroup"}),{className:r,row:l=!1}=o,y=(0,n.Z)(o,f),v=(0,d.Z)(),g=(0,u.Z)({props:o,muiFormControl:v,states:["error"]}),M=(0,a.Z)({},o,{row:l,error:g.error}),Z=(e=>{const{classes:t,row:o,error:n}=e,a={root:["root",o&&"row",n&&"error"]};return(0,i.Z)(a,h.y,t)})(M);return(0,m.jsx)(p,(0,a.Z)({className:(0,s.default)(Z.root,r),ownerState:M,ref:t},y))}))},3875:(e,t,o)=>{o.d(t,{y:()=>r,Z:()=>s});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiFormGroup",e)}const s=(0,n.Z)("MuiFormGroup",["root","row","error"])},63297:(e,t,o)=>{o.d(t,{Z:()=>S});var n=o(31461),a=o(7896),r=o(24328),s=o(6277),i=o(69075),l=o(47591),c=o(18205),h=o(43853),d=o(6620),u=o(52322);const m=(0,d.Z)((0,u.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),f=(0,d.Z)((0,u.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var p=o(65992);const y=(0,p.ZP)("span")({position:"relative",display:"flex"}),v=(0,p.ZP)(m)({transform:"scale(1)"}),g=(0,p.ZP)(f)((({theme:e,ownerState:t})=>(0,a.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}))),M=function(e){const{checked:t=!1,classes:o={},fontSize:n}=e,r=(0,a.Z)({},e,{checked:t});return(0,u.jsxs)(y,{className:o.root,ownerState:r,children:[(0,u.jsx)(v,{fontSize:n,className:o.background,ownerState:r}),(0,u.jsx)(g,{fontSize:n,className:o.dot,ownerState:r})]})};var Z=o(7342),w=o(5209),b=o(49240),C=o(62591);const T=["checked","checkedIcon","color","icon","name","onChange","size","className"],D=(0,p.ZP)(c.Z,{shouldForwardProp:e=>(0,p.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${(0,Z.Z)(o.color)}`]]}})((({theme:e,ownerState:t})=>(0,a.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${C.Z.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${C.Z.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),L=(0,u.jsx)(M,{checked:!0}),O=(0,u.jsx)(M,{}),S=r.forwardRef((function(e,t){var o,l;const c=(0,h.Z)({props:e,name:"MuiRadio"}),{checked:d,checkedIcon:m=L,color:f="primary",icon:p=O,name:y,onChange:v,size:g="medium",className:M}=c,S=(0,n.Z)(c,T),k=(0,a.Z)({},c,{color:f,size:g}),z=(e=>{const{classes:t,color:o}=e,n={root:["root",`color${(0,Z.Z)(o)}`]};return(0,a.Z)({},t,(0,i.Z)(n,C.l,t))})(k),x=(0,b.Z)();let j=d;const H=(0,w.Z)(v,x&&x.onChange);let P=y;var R,Y;return x&&(void 0===j&&(R=x.value,j="object"==typeof(Y=c.value)&&null!==Y?R===Y:String(R)===String(Y)),void 0===P&&(P=x.name)),(0,u.jsx)(D,(0,a.Z)({type:"radio",icon:r.cloneElement(p,{fontSize:null!=(o=O.props.fontSize)?o:g}),checkedIcon:r.cloneElement(m,{fontSize:null!=(l=L.props.fontSize)?l:g}),ownerState:k,classes:z,name:P,checked:j,onChange:H,ref:t,className:(0,s.default)(z.root,M)},S))}))},62591:(e,t,o)=>{o.d(t,{l:()=>r,Z:()=>s});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiRadio",e)}const s=(0,n.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"])},96758:(e,t,o)=>{o.d(t,{Z:()=>m});var n=o(7896),a=o(31461),r=o(24328),s=o(74607),i=o(98659),l=o(19570),c=o(64770),h=o(85954),d=o(52322);const u=["actions","children","defaultValue","name","onChange","value"],m=r.forwardRef((function(e,t){const{actions:o,children:m,defaultValue:f,name:p,onChange:y,value:v}=e,g=(0,a.Z)(e,u),M=r.useRef(null),[Z,w]=(0,l.Z)({controlled:v,default:f,name:"RadioGroup"});r.useImperativeHandle(o,(()=>({focus:()=>{let e=M.current.querySelector("input:not(:disabled):checked");e||(e=M.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const b=(0,i.Z)(t,M),C=(0,h.Z)(p),T=r.useMemo((()=>({name:C,onChange(e){w(e.target.value),y&&y(e,e.target.value)},value:Z})),[C,y,w,Z]);return(0,d.jsx)(c.Z.Provider,{value:T,children:(0,d.jsx)(s.Z,(0,n.Z)({role:"radiogroup",ref:b},g,{children:m}))})}))},64770:(e,t,o)=>{o.d(t,{Z:()=>n});const n=o(24328).createContext(void 0)},49240:(e,t,o)=>{o.d(t,{Z:()=>r});var n=o(24328),a=o(64770);function r(){return n.useContext(a.Z)}},9366:(e,t,o)=>{o.d(t,{Q:()=>c});var n=o(7896),a=o(95038),r=o.n(a);const s={Y:"year",YY:"year",YYYY:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"digit",maxLength:1},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},d:{sectionType:"weekDay",contentType:"digit",maxLength:1},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},i={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",weekday:"dddd",weekdayShort:"ddd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",fullDateWithWeekday:"dddd, LL",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",monthAndYear:"MMMM YYYY",monthAndDate:"MMMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",fullDateTime:"lll",fullDateTime12h:"ll hh:mm A",fullDateTime24h:"ll HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},l=["Missing timezone plugin","To be able to use timezones, you have to pass the default export from `moment-timezone` to the `dateLibInstance` prop of `LocalizationProvider`","Find more information on https://mui.com/x/react-date-pickers/timezone/#moment-and-timezone"].join("\n");class c{constructor({locale:e,formats:t,instance:o}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="moment",this.moment=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=s,this.setLocaleToValue=e=>{const t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasTimezonePlugin=()=>void 0!==this.moment.tz,this.createSystemDate=e=>{const t=this.moment(e).local();return void 0===this.locale?t:t.locale(this.locale)},this.createUTCDate=e=>{const t=this.moment.utc(e);return void 0===this.locale?t:t.locale(this.locale)},this.createTZDate=(e,t)=>{if(!this.hasTimezonePlugin())throw new Error(l);const o="default"===t?this.moment(e):this.moment.tz(e,t);return void 0===this.locale?o:o.locale(this.locale)},this.date=e=>{if(null===e)return null;const t=this.moment(e);return t.locale(this.getCurrentLocaleCode()),t},this.dateWithTimezone=(e,t)=>null===e?null:"UTC"===t?this.createUTCDate(e):"system"===t||"default"===t&&!this.hasTimezonePlugin()?this.createSystemDate(e):this.createTZDate(e,t),this.getTimezone=e=>{var t,o,n;if(e.isUTC())return"UTC";const a=null==(t=e._z)?void 0:t.name;return null!=(o=null!=a?a:null==(n=this.moment.defaultZone)?void 0:n.name)?o:"system"},this.setTimezone=(e,t)=>{var o,n;if("UTC"===t)return e.clone().utc();if("system"===t)return e.clone().local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw new Error(l)}const a="default"===t?null!=(o=null==(n=this.moment.defaultZone)?void 0:n.name)?o:"system":t,r=e.clone();return r.tz(a),r},this.toJsDate=e=>e.toDate(),this.parseISO=e=>this.moment(e,!0),this.toISO=e=>e.toISOString(),this.parse=(e,t)=>""===e?null:this.locale?this.moment(e,t,this.locale,!0):this.moment(e,t,!0),this.getCurrentLocaleCode=()=>this.locale||r().locale(),this.is12HourCycleInCurrentLocale=()=>/A|a/.test(r().localeData(this.getCurrentLocaleCode()).longDateFormat("LT")),this.expandFormat=e=>e.match(/(\[[^[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})|./g).map((e=>{const t=e[0];return"L"===t||";"===t?r().localeData(this.getCurrentLocaleCode()).longDateFormat(e):e})).join(""),this.getFormatHelperText=e=>this.expandFormat(e).replace(/a/gi,"(a|p)m").toLocaleLowerCase(),this.isNull=e=>null===e,this.isValid=e=>this.moment(e).isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>{const o=e.clone();return o.locale(this.getCurrentLocaleCode()),o.format(t)},this.formatNumber=e=>e,this.getDiff=(e,t,o)=>e.diff(t,o),this.isEqual=(e,t)=>null===e&&null===t||this.moment(e).isSame(t),this.isSameYear=(e,t)=>e.isSame(t,"year"),this.isSameMonth=(e,t)=>e.isSame(t,"month"),this.isSameDay=(e,t)=>e.isSame(t,"day"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e.isAfter(t),this.isAfterYear=(e,t)=>e.isAfter(t,"year"),this.isAfterDay=(e,t)=>e.isAfter(t,"day"),this.isBefore=(e,t)=>e.isBefore(t),this.isBeforeYear=(e,t)=>e.isBefore(t,"year"),this.isBeforeDay=(e,t)=>e.isBefore(t,"day"),this.isWithinRange=(e,[t,o])=>e.isBetween(t,o,null,"[]"),this.startOfYear=e=>e.clone().startOf("year"),this.startOfMonth=e=>e.clone().startOf("month"),this.startOfWeek=e=>e.clone().startOf("week"),this.startOfDay=e=>e.clone().startOf("day"),this.endOfYear=e=>e.clone().endOf("year"),this.endOfMonth=e=>e.clone().endOf("month"),this.endOfWeek=e=>e.clone().endOf("week"),this.endOfDay=e=>e.clone().endOf("day"),this.addYears=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"years"):e.clone().add(t,"years"),this.addMonths=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"months"):e.clone().add(t,"months"),this.addWeeks=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"weeks"):e.clone().add(t,"weeks"),this.addDays=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days"),this.addHours=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"hours"):e.clone().add(t,"hours"),this.addMinutes=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"minutes"):e.clone().add(t,"minutes"),this.addSeconds=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"seconds"):e.clone().add(t,"seconds"),this.getYear=e=>e.get("year"),this.getMonth=e=>e.get("month"),this.getDate=e=>e.get("date"),this.getHours=e=>e.get("hours"),this.getMinutes=e=>e.get("minutes"),this.getSeconds=e=>e.get("seconds"),this.getMilliseconds=e=>e.get("milliseconds"),this.setYear=(e,t)=>e.clone().year(t),this.setMonth=(e,t)=>e.clone().month(t),this.setDate=(e,t)=>e.clone().date(t),this.setHours=(e,t)=>e.clone().hours(t),this.setMinutes=(e,t)=>e.clone().minutes(t),this.setSeconds=(e,t)=>e.clone().seconds(t),this.setMilliseconds=(e,t)=>e.clone().milliseconds(t),this.getDaysInMonth=e=>e.daysInMonth(),this.getNextMonth=e=>e.clone().add(1,"month"),this.getPreviousMonth=e=>e.clone().subtract(1,"month"),this.getMonthArray=e=>{const t=[this.startOfYear(e)];for(;t.length<12;){const e=t[t.length-1];t.push(this.getNextMonth(e))}return t},this.mergeDateAndTime=(e,t)=>e.clone().hour(t.hour()).minute(t.minute()).second(t.second()),this.getWeekdays=()=>r().weekdaysShort(!0),this.getWeekArray=e=>{const t=this.setLocaleToValue(e),o=t.clone().startOf("month").startOf("week"),n=t.clone().endOf("month").endOf("week");let a=0,r=o;const s=[];for(;r.isBefore(n);){const e=Math.floor(a/7);s[e]=s[e]||[],s[e].push(r),r=r.clone().add(1,"day"),a+=1}return s},this.getWeekNumber=e=>e.week(),this.getYearRange=(e,t)=>{const o=this.moment(e).startOf("year"),n=this.moment(t).endOf("year"),a=[];let r=o;for(;r.isBefore(n);)a.push(r),r=r.clone().add(1,"year");return a},this.getMeridiemText=e=>this.is12HourCycleInCurrentLocale()?r().localeData(this.getCurrentLocaleCode()).meridiem("am"===e?0:13,0,!1):"am"===e?"AM":"PM",this.moment=o||r(),this.locale=e,this.formats=(0,n.Z)({},i,t)}}},70347:(e,t,o)=>{o.d(t,{ZP:()=>C});var n=o(7896),a=o(38777),r=o(56666),s=o(9249),i=o(87371),l=o(45754),c=o(11987),h=o(95058),d=o(24328),u=o.n(d),m=(o(3528),o(75047),o(81997)),f=o(54573),p=(o(78951),o(61950),o(64486));function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var v,g,M,Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,o=String(e).toLowerCase(),n=String(t.value).toLowerCase(),a=String(t.label).toLowerCase();return n===o||a===o},w=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.Z)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,o){return!(!e||t.some((function(t){return Z(e,t)}))||o.some((function(t){return Z(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),b=(v=f.S,M=g=function(e){(0,l.Z)(d,e);var t,o,r=(t=d,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,h.Z)(t);if(o){var a=(0,h.Z)(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return(0,c.Z)(this,e)});function d(e){var t;(0,s.Z)(this,d),(t=r.call(this,e)).select=void 0,t.onChange=function(e,o){var n=t.props,r=n.getNewOptionData,s=n.inputValue,i=n.isMulti,l=n.onChange,c=n.onCreateOption,h=n.value,d=n.name;if("select-option"!==o.action)return l(e,o);var u=t.state.newOption,f=Array.isArray(e)?e:[e];if(f[f.length-1]!==u)l(e,o);else if(c)c(s);else{var p=r(s,s),y={action:"create-option",name:d};l(i?[].concat((0,a.Z)((0,m.C)(h)),[p]):p,y)}};var o=e.options||[];return t.state={newOption:void 0,options:o},t}return(0,i.Z)(d,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,o=e.createOptionPosition,n=e.formatCreateLabel,r=e.getNewOptionData,s=e.inputValue,i=e.isLoading,l=e.isValidNewOption,c=e.value,h=e.options||[],d=this.state.newOption;d=l(s,(0,m.C)(c),h)?r(s,n(s)):void 0,this.setState({newOption:d,options:!t&&i||!d?h:"first"===o?[d].concat((0,a.Z)(h)):[].concat((0,a.Z)(h),[d])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,t=this.state.options;return u().createElement(v,(0,n.Z)({},this.props,{ref:function(t){e.select=t},options:t,onChange:this.onChange}))}}]),d}(d.Component),g.defaultProps=w,M);const C=(0,p.m)(b)}}]);
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="91ea4079-6d1f-4953-8092-f5a973f44242",e._sentryDebugIdIdentifier="sentry-dbid-91ea4079-6d1f-4953-8092-f5a973f44242")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1617"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9719],{4237:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"}),"CalendarToday");t.Z=s},89323:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator");t.Z=s},29754:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=s},42503:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"m9.31 17 2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"}),"EventBusy");t.Z=s},80653:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList");t.Z=s},13510:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}),"History");t.Z=s},69208:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");t.Z=s},23468:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.Z=s},31373:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.Z=s},11559:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");t.Z=s},26436:(e,t,o)=>{var n=o(71600);t.Z=void 0;var a=n(o(68671)),r=o(52322),s=(0,a.default)((0,r.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.Z=s},74607:(e,t,o)=>{o.d(t,{Z:()=>y});var n=o(31461),a=o(7896),r=o(24328),s=o(6277),i=o(69075),l=o(65992),c=o(43853),h=o(3875),d=o(60433),u=o(28734),m=o(52322);const f=["className","row"],p=(0,l.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.row&&t.row]}})((({ownerState:e})=>(0,a.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),y=r.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiFormGroup"}),{className:r,row:l=!1}=o,y=(0,n.Z)(o,f),v=(0,d.Z)(),g=(0,u.Z)({props:o,muiFormControl:v,states:["error"]}),M=(0,a.Z)({},o,{row:l,error:g.error}),Z=(e=>{const{classes:t,row:o,error:n}=e,a={root:["root",o&&"row",n&&"error"]};return(0,i.Z)(a,h.y,t)})(M);return(0,m.jsx)(p,(0,a.Z)({className:(0,s.default)(Z.root,r),ownerState:M,ref:t},y))}))},3875:(e,t,o)=>{o.d(t,{y:()=>r,Z:()=>s});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiFormGroup",e)}const s=(0,n.Z)("MuiFormGroup",["root","row","error"])},63297:(e,t,o)=>{o.d(t,{Z:()=>S});var n=o(31461),a=o(7896),r=o(24328),s=o(6277),i=o(69075),l=o(47591),c=o(18205),h=o(43853),d=o(6620),u=o(52322);const m=(0,d.Z)((0,u.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),f=(0,d.Z)((0,u.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var p=o(65992);const y=(0,p.ZP)("span")({position:"relative",display:"flex"}),v=(0,p.ZP)(m)({transform:"scale(1)"}),g=(0,p.ZP)(f)((({theme:e,ownerState:t})=>(0,a.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}))),M=function(e){const{checked:t=!1,classes:o={},fontSize:n}=e,r=(0,a.Z)({},e,{checked:t});return(0,u.jsxs)(y,{className:o.root,ownerState:r,children:[(0,u.jsx)(v,{fontSize:n,className:o.background,ownerState:r}),(0,u.jsx)(g,{fontSize:n,className:o.dot,ownerState:r})]})};var Z=o(7342),w=o(5209),b=o(49240),C=o(62591);const T=["checked","checkedIcon","color","icon","name","onChange","size","className"],D=(0,p.ZP)(c.Z,{shouldForwardProp:e=>(0,p.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${(0,Z.Z)(o.color)}`]]}})((({theme:e,ownerState:t})=>(0,a.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${C.Z.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${C.Z.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),L=(0,u.jsx)(M,{checked:!0}),O=(0,u.jsx)(M,{}),S=r.forwardRef((function(e,t){var o,l;const c=(0,h.Z)({props:e,name:"MuiRadio"}),{checked:d,checkedIcon:m=L,color:f="primary",icon:p=O,name:y,onChange:v,size:g="medium",className:M}=c,S=(0,n.Z)(c,T),k=(0,a.Z)({},c,{color:f,size:g}),z=(e=>{const{classes:t,color:o}=e,n={root:["root",`color${(0,Z.Z)(o)}`]};return(0,a.Z)({},t,(0,i.Z)(n,C.l,t))})(k),x=(0,b.Z)();let j=d;const H=(0,w.Z)(v,x&&x.onChange);let P=y;var R,Y;return x&&(void 0===j&&(R=x.value,j="object"==typeof(Y=c.value)&&null!==Y?R===Y:String(R)===String(Y)),void 0===P&&(P=x.name)),(0,u.jsx)(D,(0,a.Z)({type:"radio",icon:r.cloneElement(p,{fontSize:null!=(o=O.props.fontSize)?o:g}),checkedIcon:r.cloneElement(m,{fontSize:null!=(l=L.props.fontSize)?l:g}),ownerState:k,classes:z,name:P,checked:j,onChange:H,ref:t,className:(0,s.default)(z.root,M)},S))}))},62591:(e,t,o)=>{o.d(t,{l:()=>r,Z:()=>s});var n=o(69222),a=o(15672);function r(e){return(0,a.Z)("MuiRadio",e)}const s=(0,n.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"])},96758:(e,t,o)=>{o.d(t,{Z:()=>m});var n=o(7896),a=o(31461),r=o(24328),s=o(74607),i=o(98659),l=o(19570),c=o(64770),h=o(85954),d=o(52322);const u=["actions","children","defaultValue","name","onChange","value"],m=r.forwardRef((function(e,t){const{actions:o,children:m,defaultValue:f,name:p,onChange:y,value:v}=e,g=(0,a.Z)(e,u),M=r.useRef(null),[Z,w]=(0,l.Z)({controlled:v,default:f,name:"RadioGroup"});r.useImperativeHandle(o,(()=>({focus:()=>{let e=M.current.querySelector("input:not(:disabled):checked");e||(e=M.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const b=(0,i.Z)(t,M),C=(0,h.Z)(p),T=r.useMemo((()=>({name:C,onChange(e){w(e.target.value),y&&y(e,e.target.value)},value:Z})),[C,y,w,Z]);return(0,d.jsx)(c.Z.Provider,{value:T,children:(0,d.jsx)(s.Z,(0,n.Z)({role:"radiogroup",ref:b},g,{children:m}))})}))},64770:(e,t,o)=>{o.d(t,{Z:()=>n});const n=o(24328).createContext(void 0)},49240:(e,t,o)=>{o.d(t,{Z:()=>r});var n=o(24328),a=o(64770);function r(){return n.useContext(a.Z)}},9366:(e,t,o)=>{o.d(t,{Q:()=>c});var n=o(7896),a=o(95038),r=o.n(a);const s={Y:"year",YY:"year",YYYY:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"digit",maxLength:1},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},d:{sectionType:"weekDay",contentType:"digit",maxLength:1},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},i={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",weekday:"dddd",weekdayShort:"ddd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",fullDateWithWeekday:"dddd, LL",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",monthAndYear:"MMMM YYYY",monthAndDate:"MMMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",fullDateTime:"lll",fullDateTime12h:"ll hh:mm A",fullDateTime24h:"ll HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},l=["Missing timezone plugin","To be able to use timezones, you have to pass the default export from `moment-timezone` to the `dateLibInstance` prop of `LocalizationProvider`","Find more information on https://mui.com/x/react-date-pickers/timezone/#moment-and-timezone"].join("\n");class c{constructor({locale:e,formats:t,instance:o}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="moment",this.moment=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=s,this.setLocaleToValue=e=>{const t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasTimezonePlugin=()=>void 0!==this.moment.tz,this.createSystemDate=e=>{const t=this.moment(e).local();return void 0===this.locale?t:t.locale(this.locale)},this.createUTCDate=e=>{const t=this.moment.utc(e);return void 0===this.locale?t:t.locale(this.locale)},this.createTZDate=(e,t)=>{if(!this.hasTimezonePlugin())throw new Error(l);const o="default"===t?this.moment(e):this.moment.tz(e,t);return void 0===this.locale?o:o.locale(this.locale)},this.date=e=>{if(null===e)return null;const t=this.moment(e);return t.locale(this.getCurrentLocaleCode()),t},this.dateWithTimezone=(e,t)=>null===e?null:"UTC"===t?this.createUTCDate(e):"system"===t||"default"===t&&!this.hasTimezonePlugin()?this.createSystemDate(e):this.createTZDate(e,t),this.getTimezone=e=>{var t,o,n;if(e.isUTC())return"UTC";const a=null==(t=e._z)?void 0:t.name;return null!=(o=null!=a?a:null==(n=this.moment.defaultZone)?void 0:n.name)?o:"system"},this.setTimezone=(e,t)=>{var o,n;if("UTC"===t)return e.clone().utc();if("system"===t)return e.clone().local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw new Error(l)}const a="default"===t?null!=(o=null==(n=this.moment.defaultZone)?void 0:n.name)?o:"system":t,r=e.clone();return r.tz(a),r},this.toJsDate=e=>e.toDate(),this.parseISO=e=>this.moment(e,!0),this.toISO=e=>e.toISOString(),this.parse=(e,t)=>""===e?null:this.locale?this.moment(e,t,this.locale,!0):this.moment(e,t,!0),this.getCurrentLocaleCode=()=>this.locale||r().locale(),this.is12HourCycleInCurrentLocale=()=>/A|a/.test(r().localeData(this.getCurrentLocaleCode()).longDateFormat("LT")),this.expandFormat=e=>e.match(/(\[[^[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})|./g).map((e=>{const t=e[0];return"L"===t||";"===t?r().localeData(this.getCurrentLocaleCode()).longDateFormat(e):e})).join(""),this.getFormatHelperText=e=>this.expandFormat(e).replace(/a/gi,"(a|p)m").toLocaleLowerCase(),this.isNull=e=>null===e,this.isValid=e=>this.moment(e).isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>{const o=e.clone();return o.locale(this.getCurrentLocaleCode()),o.format(t)},this.formatNumber=e=>e,this.getDiff=(e,t,o)=>e.diff(t,o),this.isEqual=(e,t)=>null===e&&null===t||this.moment(e).isSame(t),this.isSameYear=(e,t)=>e.isSame(t,"year"),this.isSameMonth=(e,t)=>e.isSame(t,"month"),this.isSameDay=(e,t)=>e.isSame(t,"day"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e.isAfter(t),this.isAfterYear=(e,t)=>e.isAfter(t,"year"),this.isAfterDay=(e,t)=>e.isAfter(t,"day"),this.isBefore=(e,t)=>e.isBefore(t),this.isBeforeYear=(e,t)=>e.isBefore(t,"year"),this.isBeforeDay=(e,t)=>e.isBefore(t,"day"),this.isWithinRange=(e,[t,o])=>e.isBetween(t,o,null,"[]"),this.startOfYear=e=>e.clone().startOf("year"),this.startOfMonth=e=>e.clone().startOf("month"),this.startOfWeek=e=>e.clone().startOf("week"),this.startOfDay=e=>e.clone().startOf("day"),this.endOfYear=e=>e.clone().endOf("year"),this.endOfMonth=e=>e.clone().endOf("month"),this.endOfWeek=e=>e.clone().endOf("week"),this.endOfDay=e=>e.clone().endOf("day"),this.addYears=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"years"):e.clone().add(t,"years"),this.addMonths=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"months"):e.clone().add(t,"months"),this.addWeeks=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"weeks"):e.clone().add(t,"weeks"),this.addDays=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"days"):e.clone().add(t,"days"),this.addHours=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"hours"):e.clone().add(t,"hours"),this.addMinutes=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"minutes"):e.clone().add(t,"minutes"),this.addSeconds=(e,t)=>t<0?e.clone().subtract(Math.abs(t),"seconds"):e.clone().add(t,"seconds"),this.getYear=e=>e.get("year"),this.getMonth=e=>e.get("month"),this.getDate=e=>e.get("date"),this.getHours=e=>e.get("hours"),this.getMinutes=e=>e.get("minutes"),this.getSeconds=e=>e.get("seconds"),this.getMilliseconds=e=>e.get("milliseconds"),this.setYear=(e,t)=>e.clone().year(t),this.setMonth=(e,t)=>e.clone().month(t),this.setDate=(e,t)=>e.clone().date(t),this.setHours=(e,t)=>e.clone().hours(t),this.setMinutes=(e,t)=>e.clone().minutes(t),this.setSeconds=(e,t)=>e.clone().seconds(t),this.setMilliseconds=(e,t)=>e.clone().milliseconds(t),this.getDaysInMonth=e=>e.daysInMonth(),this.getNextMonth=e=>e.clone().add(1,"month"),this.getPreviousMonth=e=>e.clone().subtract(1,"month"),this.getMonthArray=e=>{const t=[this.startOfYear(e)];for(;t.length<12;){const e=t[t.length-1];t.push(this.getNextMonth(e))}return t},this.mergeDateAndTime=(e,t)=>e.clone().hour(t.hour()).minute(t.minute()).second(t.second()),this.getWeekdays=()=>r().weekdaysShort(!0),this.getWeekArray=e=>{const t=this.setLocaleToValue(e),o=t.clone().startOf("month").startOf("week"),n=t.clone().endOf("month").endOf("week");let a=0,r=o;const s=[];for(;r.isBefore(n);){const e=Math.floor(a/7);s[e]=s[e]||[],s[e].push(r),r=r.clone().add(1,"day"),a+=1}return s},this.getWeekNumber=e=>e.week(),this.getYearRange=(e,t)=>{const o=this.moment(e).startOf("year"),n=this.moment(t).endOf("year"),a=[];let r=o;for(;r.isBefore(n);)a.push(r),r=r.clone().add(1,"year");return a},this.getMeridiemText=e=>this.is12HourCycleInCurrentLocale()?r().localeData(this.getCurrentLocaleCode()).meridiem("am"===e?0:13,0,!1):"am"===e?"AM":"PM",this.moment=o||r(),this.locale=e,this.formats=(0,n.Z)({},i,t)}}},70347:(e,t,o)=>{o.d(t,{ZP:()=>C});var n=o(7896),a=o(38777),r=o(56666),s=o(9249),i=o(87371),l=o(45754),c=o(11987),h=o(95058),d=o(24328),u=o.n(d),m=(o(3528),o(75047),o(81997)),f=o(54573),p=(o(78951),o(61950),o(64486));function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var v,g,M,Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,o=String(e).toLowerCase(),n=String(t.value).toLowerCase(),a=String(t.label).toLowerCase();return n===o||a===o},w=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){(0,r.Z)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,o){return!(!e||t.some((function(t){return Z(e,t)}))||o.some((function(t){return Z(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),b=(v=f.S,M=g=function(e){(0,l.Z)(d,e);var t,o,r=(t=d,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,h.Z)(t);if(o){var a=(0,h.Z)(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return(0,c.Z)(this,e)});function d(e){var t;(0,s.Z)(this,d),(t=r.call(this,e)).select=void 0,t.onChange=function(e,o){var n=t.props,r=n.getNewOptionData,s=n.inputValue,i=n.isMulti,l=n.onChange,c=n.onCreateOption,h=n.value,d=n.name;if("select-option"!==o.action)return l(e,o);var u=t.state.newOption,f=Array.isArray(e)?e:[e];if(f[f.length-1]!==u)l(e,o);else if(c)c(s);else{var p=r(s,s),y={action:"create-option",name:d};l(i?[].concat((0,a.Z)((0,m.C)(h)),[p]):p,y)}};var o=e.options||[];return t.state={newOption:void 0,options:o},t}return(0,i.Z)(d,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,o=e.createOptionPosition,n=e.formatCreateLabel,r=e.getNewOptionData,s=e.inputValue,i=e.isLoading,l=e.isValidNewOption,c=e.value,h=e.options||[],d=this.state.newOption;d=l(s,(0,m.C)(c),h)?r(s,n(s)):void 0,this.setState({newOption:d,options:!t&&i||!d?h:"first"===o?[d].concat((0,a.Z)(h)):[].concat((0,a.Z)(h),[d])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,t=this.state.options;return u().createElement(v,(0,n.Z)({},this.props,{ref:function(t){e.select=t},options:t,onChange:this.onChange}))}}]),d}(d.Component),g.defaultProps=w,M);const C=(0,p.m)(b)}}]);
|
|
2
2
|
//# sourceMappingURL=9719.js.map
|