@reltio/remotes 1.4.1601 → 1.4.1602

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.
Files changed (127) hide show
  1. package/1039.js +1 -1
  2. package/1146.js +1 -1
  3. package/1148.js +1 -1
  4. package/1148.js.map +1 -1
  5. package/1334.js +1 -1
  6. package/1425.js +1 -1
  7. package/1425.js.map +1 -1
  8. package/1572.js +1 -1
  9. package/1572.js.map +1 -1
  10. package/1584.js +1 -1
  11. package/1584.js.map +1 -1
  12. package/1664.js +1 -1
  13. package/1707.js +1 -1
  14. package/1790.js +1 -1
  15. package/1840.js +1 -1
  16. package/1840.js.map +1 -1
  17. package/1946.js +1 -1
  18. package/1946.js.map +1 -1
  19. package/2066.js +1 -1
  20. package/2066.js.map +1 -1
  21. package/2201.js +1 -1
  22. package/2400.js +1 -1
  23. package/2463.js +1 -1
  24. package/2463.js.map +1 -1
  25. package/2579.js +1 -1
  26. package/2641.js +1 -1
  27. package/2641.js.map +1 -1
  28. package/2775.js +1 -1
  29. package/3096.js +1 -1
  30. package/3123.js +1 -1
  31. package/3348.js +1 -1
  32. package/3358.js +1 -1
  33. package/3358.js.map +1 -1
  34. package/3383.js +1 -1
  35. package/3383.js.map +1 -1
  36. package/3424.js +1 -1
  37. package/3424.js.map +1 -1
  38. package/3463.js +1 -1
  39. package/3469.js +1 -1
  40. package/3538.js +1 -1
  41. package/3538.js.map +1 -1
  42. package/356.js +1 -1
  43. package/3603.js +1 -1
  44. package/3603.js.map +1 -1
  45. package/3875.js +1 -1
  46. package/3875.js.map +1 -1
  47. package/3879.js +1 -1
  48. package/3902.js +1 -1
  49. package/3902.js.map +1 -1
  50. package/3926.js +1 -1
  51. package/3926.js.map +1 -1
  52. package/4212.js +1 -1
  53. package/4390.js +1 -1
  54. package/4390.js.map +1 -1
  55. package/4426.js +1 -1
  56. package/4426.js.map +1 -1
  57. package/4703.js +1 -1
  58. package/4703.js.map +1 -1
  59. package/4806.js +1 -1
  60. package/4826.js +1 -1
  61. package/50.js +1 -1
  62. package/5108.js +1 -1
  63. package/5108.js.map +1 -1
  64. package/5171.js +1 -1
  65. package/5225.js +2 -0
  66. package/5225.js.map +1 -0
  67. package/527.js +1 -1
  68. package/5617.js +1 -1
  69. package/584.js +1 -1
  70. package/6020.js +1 -1
  71. package/6287.js +1 -1
  72. package/6287.js.map +1 -1
  73. package/6606.js +1 -1
  74. package/6606.js.map +1 -1
  75. package/673.js +1 -1
  76. package/673.js.map +1 -1
  77. package/6799.js +1 -1
  78. package/68.js +1 -1
  79. package/6844.js +1 -1
  80. package/6853.js +1 -1
  81. package/6860.js +1 -1
  82. package/6903.js +1 -1
  83. package/7293.js +1 -1
  84. package/735.js +1 -1
  85. package/7422.js +1 -1
  86. package/7422.js.map +1 -1
  87. package/7436.js +1 -1
  88. package/764.js +1 -1
  89. package/764.js.map +1 -1
  90. package/7829.js +1 -1
  91. package/7896.js +1 -1
  92. package/8075.js +1 -1
  93. package/820.js +1 -1
  94. package/8207.js +1 -1
  95. package/8322.js +1 -1
  96. package/8360.js +1 -1
  97. package/8360.js.map +1 -1
  98. package/8565.js +1 -1
  99. package/8741.js +1 -1
  100. package/8741.js.map +1 -1
  101. package/9016.js +1 -1
  102. package/9251.js +1 -1
  103. package/9251.js.map +1 -1
  104. package/9283.js +1 -1
  105. package/9283.js.map +1 -1
  106. package/9309.js +1 -1
  107. package/9328.js +1 -1
  108. package/9397.js +1 -1
  109. package/9397.js.map +1 -1
  110. package/9470.js +1 -1
  111. package/9622.js +1 -1
  112. package/9622.js.map +1 -1
  113. package/9719.js +1 -1
  114. package/9736.js +1 -1
  115. package/9736.js.map +1 -1
  116. package/9854.js +1 -1
  117. package/9854.js.map +1 -1
  118. package/9861.js +1 -1
  119. package/987.js +1 -1
  120. package/9960.js +1 -1
  121. package/9960.js.map +1 -1
  122. package/main.js +1 -1
  123. package/package.json +1 -1
  124. package/remoteEntry.js +1 -1
  125. package/remoteEntry.js.map +1 -1
  126. package/9383.js +0 -2
  127. package/9383.js.map +0 -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.1602"},(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.1603"},(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/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]="f874190c-c480-4585-acb9-d4842f4ac8e0",e._sentryDebugIdIdentifier="sentry-dbid-f874190c-c480-4585-acb9-d4842f4ac8e0")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1602"},(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(6391);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:"17px",height:"17px",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]="04c66809-c63d-4bfd-9a17-9ccc8cae7b86",e._sentryDebugIdIdentifier="sentry-dbid-04c66809-c63d-4bfd-9a17-9ccc8cae7b86")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1603"},(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:"17px",height:"17px",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"}}]);
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,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D,EAAYC,EAAO,MGU1B4C,CAAWzM,EAAQgK,GACjCnC,IAAcJ,EAAW1D,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: '17px',\n height: '17px',\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,EA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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: '17px',\n height: '17px',\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/9470.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*! For license information please see 9470.js.LICENSE.txt */
2
- !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]="f818a78b-daaf-4813-a4d6-1a601648254b",e._sentryDebugIdIdentifier="sentry-dbid-f818a78b-daaf-4813-a4d6-1a601648254b")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1602"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9470,7896],{25455:(e,t,o)=>{o.d(t,{Z:()=>d});var r=o(24328),n=o(84501),a=o(36855),i=o(52322);const l=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function s(e){const t=[],o=[];return Array.from(e.querySelectorAll(l)).forEach(((e,r)=>{const n=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==n&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}(e))}(e)&&(0===n?t.push(e):o.push({documentOrder:r,tabIndex:n,node:e}))})),o.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function c(){return!0}const d=function(e){const{children:t,disableAutoFocus:o=!1,disableEnforceFocus:l=!1,disableRestoreFocus:d=!1,getTabbable:u=s,isEnabled:p=c,open:f}=e,m=r.useRef(!1),h=r.useRef(null),b=r.useRef(null),v=r.useRef(null),g=r.useRef(null),Z=r.useRef(!1),y=r.useRef(null),x=(0,n.Z)(t.ref,y),w=r.useRef(null);r.useEffect((()=>{f&&y.current&&(Z.current=!o)}),[o,f]),r.useEffect((()=>{if(!f||!y.current)return;const e=(0,a.Z)(y.current);return y.current.contains(e.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),Z.current&&y.current.focus()),()=>{d||(v.current&&v.current.focus&&(m.current=!0,v.current.focus()),v.current=null)}}),[f]),r.useEffect((()=>{if(!f||!y.current)return;const e=(0,a.Z)(y.current),t=t=>{const{current:o}=y;if(null!==o)if(e.hasFocus()&&!l&&p()&&!m.current){if(!o.contains(e.activeElement)){if(t&&g.current!==t.target||e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!Z.current)return;let a=[];if(e.activeElement!==h.current&&e.activeElement!==b.current||(a=u(y.current)),a.length>0){var r,n;const e=Boolean((null==(r=w.current)?void 0:r.shiftKey)&&"Tab"===(null==(n=w.current)?void 0:n.key)),t=a[0],o=a[a.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else o.focus()}}else m.current=!1},o=t=>{w.current=t,!l&&p()&&"Tab"===t.key&&e.activeElement===y.current&&t.shiftKey&&(m.current=!0,b.current&&b.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",o,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",o,!0)}}),[o,l,d,p,f,u]);const S=e=>{null===v.current&&(v.current=e.relatedTarget),Z.current=!0};return(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:h,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:x,onFocus:e=>{null===v.current&&(v.current=e.relatedTarget),Z.current=!0,g.current=e.target;const o=t.props.onFocus;o&&o(e)}}),(0,i.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:b,"data-testid":"sentinelEnd"})]})}},41622:(e,t,o)=>{o.d(t,{G:()=>i,Z:()=>d});var r=o(36855),n=o(27270),a=o(41626);function i(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function l(e){return parseInt((0,n.Z)(e).getComputedStyle(e).paddingRight,10)||0}function s(e,t,o,r,n){const a=[t,o,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),o=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),o="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||o}(e);t&&o&&i(e,n)}))}function c(e,t){let o=-1;return e.some(((e,r)=>!!t(e)&&(o=r,!0))),o}class d{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let o=this.modals.indexOf(e);if(-1!==o)return o;o=this.modals.length,this.modals.push(e),e.modalRef&&i(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);s(t,e.mount,e.modalRef,r,!0);const n=c(this.containers,(e=>e.container===t));return-1!==n?(this.containers[n].modals.push(e),o):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),o)}mount(e,t){const o=c(this.containers,(t=>-1!==t.modals.indexOf(e))),i=this.containers[o];i.restore||(i.restore=function(e,t){const o=[],i=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,r.Z)(e);return t.body===e?(0,n.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){const e=(0,a.Z)((0,r.Z)(i));o.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${l(i)+e}px`;const t=(0,r.Z)(i).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{o.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${l(t)+e}px`}))}let e;if(i.parentNode instanceof DocumentFragment)e=(0,r.Z)(i).body;else{const t=i.parentElement,o=(0,n.Z)(i);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===o.getComputedStyle(t).overflowY?t:i}o.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{o.forEach((({value:e,el:t,property:o})=>{e?t.style.setProperty(o,e):t.style.removeProperty(o)}))}}(i,t))}remove(e,t=!0){const o=this.modals.indexOf(e);if(-1===o)return o;const r=c(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];if(n.modals.splice(n.modals.indexOf(e),1),this.modals.splice(o,1),0===n.modals.length)n.restore&&n.restore(),e.modalRef&&i(e.modalRef,t),s(n.container,e.mount,e.modalRef,n.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=n.modals[n.modals.length-1];e.modalRef&&i(e.modalRef,!1)}return o}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}},83820:(e,t,o)=>{o.d(t,{Z:()=>c});var r=o(24328),n=o(75047),a=o(84501),i=o(21399),l=o(75377),s=o(52322);const c=r.forwardRef((function(e,t){const{children:o,container:c,disablePortal:d=!1}=e,[u,p]=r.useState(null),f=(0,a.Z)(r.isValidElement(o)?o.ref:null,t);if((0,i.Z)((()=>{d||p(function(e){return"function"==typeof e?e():e}(c)||document.body)}),[c,d]),(0,i.Z)((()=>{if(u&&!d)return(0,l.Z)(t,u),()=>{(0,l.Z)(t,null)}}),[t,u,d]),d){if(r.isValidElement(o)){const e={ref:f};return r.cloneElement(o,e)}return(0,s.jsx)(r.Fragment,{children:o})}return(0,s.jsx)(r.Fragment,{children:u?n.createPortal(o,u):u})}))},73570:(e,t,o)=>{o.d(t,{Z:()=>b});var r=o(7896),n=o(31461),a=o(24328),i=o(75047),l=o(84501),s=o(27270),c=o(71166),d=o(21399),u=o(52322);const p=["onChange","maxRows","minRows","style","value"];function f(e){return parseInt(e,10)||0}const m={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function h(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const b=a.forwardRef((function(e,t){const{onChange:o,maxRows:b,minRows:v=1,style:g,value:Z}=e,y=(0,n.Z)(e,p),{current:x}=a.useRef(null!=Z),w=a.useRef(null),S=(0,l.Z)(t,w),k=a.useRef(null),C=a.useRef(0),[P,R]=a.useState({outerHeightStyle:0}),E=a.useCallback((()=>{const t=w.current,o=(0,s.Z)(t).getComputedStyle(t);if("0px"===o.width)return{outerHeightStyle:0};const r=k.current;r.style.width=o.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const n=o.boxSizing,a=f(o.paddingBottom)+f(o.paddingTop),i=f(o.borderBottomWidth)+f(o.borderTopWidth),l=r.scrollHeight;r.value="x";const c=r.scrollHeight;let d=l;return v&&(d=Math.max(Number(v)*c,d)),b&&(d=Math.min(Number(b)*c,d)),d=Math.max(d,c),{outerHeightStyle:d+("border-box"===n?a+i:0),overflow:Math.abs(d-l)<=1}}),[b,v,e.placeholder]),$=(e,t)=>{const{outerHeightStyle:o,overflow:r}=t;return C.current<20&&(o>0&&Math.abs((e.outerHeightStyle||0)-o)>1||e.overflow!==r)?(C.current+=1,{overflow:r,outerHeightStyle:o}):e},M=a.useCallback((()=>{const e=E();h(e)||R((t=>$(t,e)))}),[E]);return a.useEffect((()=>{const e=(0,c.Z)((()=>{C.current=0,w.current&&(()=>{const e=E();h(e)||i.flushSync((()=>{R((t=>$(t,e)))}))})()}));let t;const o=w.current,r=(0,s.Z)(o);return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),t.observe(o)),()=>{e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}})),(0,d.Z)((()=>{M()})),a.useEffect((()=>{C.current=0}),[Z]),(0,u.jsxs)(a.Fragment,{children:[(0,u.jsx)("textarea",(0,r.Z)({value:Z,onChange:e=>{C.current=0,x||M(),o&&o(e)},ref:S,rows:v,style:(0,r.Z)({height:P.outerHeightStyle,overflow:P.overflow?"hidden":void 0},g)},y)),(0,u.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:k,tabIndex:-1,style:(0,r.Z)({},m,g,{padding:0})})]})}))},49161:(e,t,o)=>{o.d(t,{T:()=>i});var r=o(24328);o(52322);const n={disableDefaultClasses:!1},a=r.createContext(n);function i(e){const{disableDefaultClasses:t}=r.useContext(a);return o=>t?"":e(o)}},69917:(e,t,o)=>{o.d(t,{Z:()=>a});var r=o(7896),n=o(65444);function a(e,t,o){return void 0===e||(0,n.Z)(e)?t:(0,r.Z)({},t,{ownerState:(0,r.Z)({},t.ownerState,o)})}},97427:(e,t,o)=>{function r(e,t=[]){if(void 0===e)return{};const o={};return Object.keys(e).filter((o=>o.match(/^on[A-Z]/)&&"function"==typeof e[o]&&!t.includes(o))).forEach((t=>{o[t]=e[t]})),o}o.d(t,{Z:()=>r})},65444:(e,t,o)=>{function r(e){return"string"==typeof e}o.d(t,{Z:()=>r})},5584:(e,t,o)=>{function r(e,t){return"function"==typeof e?e(t):e}o.d(t,{Z:()=>r})},80876:(e,t,o)=>{o.d(t,{Z:()=>p});var r=o(7896),n=o(31461),a=o(84501),i=o(69917),l=o(6277),s=o(97427);function c(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((o=>{t[o]=e[o]})),t}var d=o(5584);const u=["elementType","externalSlotProps","ownerState"];function p(e){var t;const{elementType:o,externalSlotProps:p,ownerState:f}=e,m=(0,n.Z)(e,u),h=(0,d.Z)(p,f),{props:b,internalRef:v}=function(e){const{getSlotProps:t,additionalProps:o,externalSlotProps:n,externalForwardedProps:a,className:i}=e;if(!t){const e=(0,l.default)(null==a?void 0:a.className,null==n?void 0:n.className,i,null==o?void 0:o.className),t=(0,r.Z)({},null==o?void 0:o.style,null==a?void 0:a.style,null==n?void 0:n.style),s=(0,r.Z)({},o,a,n);return e.length>0&&(s.className=e),Object.keys(t).length>0&&(s.style=t),{props:s,internalRef:void 0}}const d=(0,s.Z)((0,r.Z)({},a,n)),u=c(n),p=c(a),f=t(d),m=(0,l.default)(null==f?void 0:f.className,null==o?void 0:o.className,i,null==a?void 0:a.className,null==n?void 0:n.className),h=(0,r.Z)({},null==f?void 0:f.style,null==o?void 0:o.style,null==a?void 0:a.style,null==n?void 0:n.style),b=(0,r.Z)({},f,o,p,u);return m.length>0&&(b.className=m),Object.keys(h).length>0&&(b.style=h),{props:b,internalRef:f.ref}}((0,r.Z)({},m,{externalSlotProps:h})),g=(0,a.Z)(v,null==h?void 0:h.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,i.Z)(o,(0,r.Z)({},b,{ref:g}),f)}},88546:(e,t,o)=>{o.d(t,{Z:()=>h});var r=o(31461),n=o(7896),a=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(17055),u=o(70436),p=o(52322);const f=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],m=(0,s.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.invisible&&t.invisible]}})((({ownerState:e})=>(0,n.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),h=a.forwardRef((function(e,t){var o,a,s;const h=(0,c.Z)({props:e,name:"MuiBackdrop"}),{children:b,className:v,component:g="div",components:Z={},componentsProps:y={},invisible:x=!1,open:w,slotProps:S={},slots:k={},TransitionComponent:C=d.Z,transitionDuration:P}=h,R=(0,r.Z)(h,f),E=(0,n.Z)({},h,{component:g,invisible:x}),$=(e=>{const{classes:t,invisible:o}=e,r={root:["root",o&&"invisible"]};return(0,l.Z)(r,u.s,t)})(E),M=null!=(o=S.root)?o:y.root;return(0,p.jsx)(C,(0,n.Z)({in:w,timeout:P},R,{children:(0,p.jsx)(m,(0,n.Z)({"aria-hidden":!0},M,{as:null!=(a=null!=(s=k.root)?s:Z.Root)?a:g,className:(0,i.default)($.root,v,null==M?void 0:M.className),ownerState:(0,n.Z)({},E,null==M?void 0:M.ownerState),classes:$,ref:t,children:b}))}))}))},70436:(e,t,o)=>{o.d(t,{s:()=>a,Z:()=>i});var r=o(69222),n=o(15672);function a(e){return(0,n.Z)("MuiBackdrop",e)}const i=(0,r.Z)("MuiBackdrop",["root","invisible"])},38677:(e,t,o)=>{o.d(t,{Z:()=>w});var r=o(31461),n=o(7896),a=o(24328),i=o(6277),l=o(73022),s=o(69075),c=o(47591),d=o(65992),u=o(43853),p=o(13705),f=o(7342),m=o(58997),h=o(49146),b=o(52322);const v=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],g=e=>(0,n.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Z=(0,d.ZP)(p.Z,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${(0,f.Z)(o.color)}`],t[`size${(0,f.Z)(o.size)}`],t[`${o.variant}Size${(0,f.Z)(o.size)}`],"inherit"===o.color&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var o,r;const a="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,n.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,n.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${m.Z.focusVisible}`]:(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${m.Z.disabled}`]:(0,n.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,c.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(o=(r=e.palette).getContrastText)?void 0:o.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:a,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${m.Z.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${m.Z.disabled}`]:{boxShadow:"none"}})),y=(0,d.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.startIcon,t[`iconSize${(0,f.Z)(o.size)}`]]}})((({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},g(e)))),x=(0,d.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.endIcon,t[`iconSize${(0,f.Z)(o.size)}`]]}})((({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},g(e)))),w=a.forwardRef((function(e,t){const o=a.useContext(h.Z),c=(0,l.Z)(o,e),d=(0,u.Z)({props:c,name:"MuiButton"}),{children:p,color:g="primary",component:w="button",className:S,disabled:k=!1,disableElevation:C=!1,disableFocusRipple:P=!1,endIcon:R,focusVisibleClassName:E,fullWidth:$=!1,size:M="medium",startIcon:O,type:T,variant:I="text"}=d,N=(0,r.Z)(d,v),A=(0,n.Z)({},d,{color:g,component:w,disabled:k,disableElevation:C,disableFocusRipple:P,fullWidth:$,size:M,type:T,variant:I}),j=(e=>{const{color:t,disableElevation:o,fullWidth:r,size:a,variant:i,classes:l}=e,c={root:["root",i,`${i}${(0,f.Z)(t)}`,`size${(0,f.Z)(a)}`,`${i}Size${(0,f.Z)(a)}`,"inherit"===t&&"colorInherit",o&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,f.Z)(a)}`],endIcon:["endIcon",`iconSize${(0,f.Z)(a)}`]},d=(0,s.Z)(c,m.F,l);return(0,n.Z)({},l,d)})(A),B=O&&(0,b.jsx)(y,{className:j.startIcon,ownerState:A,children:O}),F=R&&(0,b.jsx)(x,{className:j.endIcon,ownerState:A,children:R});return(0,b.jsxs)(Z,(0,n.Z)({ownerState:A,className:(0,i.default)(o.className,j.root,S),component:w,disabled:k,focusRipple:!P,focusVisibleClassName:(0,i.default)(j.focusVisible,E),ref:t,type:T},N,{classes:j,children:[B,p,F]}))}))},58997:(e,t,o)=>{o.d(t,{F:()=>a,Z:()=>i});var r=o(69222),n=o(15672);function a(e){return(0,n.Z)("MuiButton",e)}const i=(0,r.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"])},13705:(e,t,o)=>{o.d(t,{Z:()=>T});var r=o(7896),n=o(31461),a=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(98659),u=o(78647),p=o(8250),f=o(89789),m=o(46324),h=o(52322);var b=o(15489);const v=["center","classes","className"];let g,Z,y,x,w=e=>e;const S=(0,m.keyframes)(g||(g=w`
2
+ !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]="f818a78b-daaf-4813-a4d6-1a601648254b",e._sentryDebugIdIdentifier="sentry-dbid-f818a78b-daaf-4813-a4d6-1a601648254b")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1603"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9470,7896],{25455:(e,t,o)=>{o.d(t,{Z:()=>d});var r=o(24328),n=o(84501),a=o(36855),i=o(52322);const l=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function s(e){const t=[],o=[];return Array.from(e.querySelectorAll(l)).forEach(((e,r)=>{const n=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==n&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}(e))}(e)&&(0===n?t.push(e):o.push({documentOrder:r,tabIndex:n,node:e}))})),o.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function c(){return!0}const d=function(e){const{children:t,disableAutoFocus:o=!1,disableEnforceFocus:l=!1,disableRestoreFocus:d=!1,getTabbable:u=s,isEnabled:p=c,open:f}=e,m=r.useRef(!1),h=r.useRef(null),b=r.useRef(null),v=r.useRef(null),g=r.useRef(null),Z=r.useRef(!1),y=r.useRef(null),x=(0,n.Z)(t.ref,y),w=r.useRef(null);r.useEffect((()=>{f&&y.current&&(Z.current=!o)}),[o,f]),r.useEffect((()=>{if(!f||!y.current)return;const e=(0,a.Z)(y.current);return y.current.contains(e.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),Z.current&&y.current.focus()),()=>{d||(v.current&&v.current.focus&&(m.current=!0,v.current.focus()),v.current=null)}}),[f]),r.useEffect((()=>{if(!f||!y.current)return;const e=(0,a.Z)(y.current),t=t=>{const{current:o}=y;if(null!==o)if(e.hasFocus()&&!l&&p()&&!m.current){if(!o.contains(e.activeElement)){if(t&&g.current!==t.target||e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!Z.current)return;let a=[];if(e.activeElement!==h.current&&e.activeElement!==b.current||(a=u(y.current)),a.length>0){var r,n;const e=Boolean((null==(r=w.current)?void 0:r.shiftKey)&&"Tab"===(null==(n=w.current)?void 0:n.key)),t=a[0],o=a[a.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else o.focus()}}else m.current=!1},o=t=>{w.current=t,!l&&p()&&"Tab"===t.key&&e.activeElement===y.current&&t.shiftKey&&(m.current=!0,b.current&&b.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",o,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",o,!0)}}),[o,l,d,p,f,u]);const S=e=>{null===v.current&&(v.current=e.relatedTarget),Z.current=!0};return(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:h,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:x,onFocus:e=>{null===v.current&&(v.current=e.relatedTarget),Z.current=!0,g.current=e.target;const o=t.props.onFocus;o&&o(e)}}),(0,i.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:b,"data-testid":"sentinelEnd"})]})}},41622:(e,t,o)=>{o.d(t,{G:()=>i,Z:()=>d});var r=o(36855),n=o(27270),a=o(41626);function i(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function l(e){return parseInt((0,n.Z)(e).getComputedStyle(e).paddingRight,10)||0}function s(e,t,o,r,n){const a=[t,o,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),o=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),o="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||o}(e);t&&o&&i(e,n)}))}function c(e,t){let o=-1;return e.some(((e,r)=>!!t(e)&&(o=r,!0))),o}class d{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let o=this.modals.indexOf(e);if(-1!==o)return o;o=this.modals.length,this.modals.push(e),e.modalRef&&i(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);s(t,e.mount,e.modalRef,r,!0);const n=c(this.containers,(e=>e.container===t));return-1!==n?(this.containers[n].modals.push(e),o):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),o)}mount(e,t){const o=c(this.containers,(t=>-1!==t.modals.indexOf(e))),i=this.containers[o];i.restore||(i.restore=function(e,t){const o=[],i=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,r.Z)(e);return t.body===e?(0,n.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){const e=(0,a.Z)((0,r.Z)(i));o.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${l(i)+e}px`;const t=(0,r.Z)(i).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{o.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${l(t)+e}px`}))}let e;if(i.parentNode instanceof DocumentFragment)e=(0,r.Z)(i).body;else{const t=i.parentElement,o=(0,n.Z)(i);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===o.getComputedStyle(t).overflowY?t:i}o.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{o.forEach((({value:e,el:t,property:o})=>{e?t.style.setProperty(o,e):t.style.removeProperty(o)}))}}(i,t))}remove(e,t=!0){const o=this.modals.indexOf(e);if(-1===o)return o;const r=c(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];if(n.modals.splice(n.modals.indexOf(e),1),this.modals.splice(o,1),0===n.modals.length)n.restore&&n.restore(),e.modalRef&&i(e.modalRef,t),s(n.container,e.mount,e.modalRef,n.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=n.modals[n.modals.length-1];e.modalRef&&i(e.modalRef,!1)}return o}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}},83820:(e,t,o)=>{o.d(t,{Z:()=>c});var r=o(24328),n=o(75047),a=o(84501),i=o(21399),l=o(75377),s=o(52322);const c=r.forwardRef((function(e,t){const{children:o,container:c,disablePortal:d=!1}=e,[u,p]=r.useState(null),f=(0,a.Z)(r.isValidElement(o)?o.ref:null,t);if((0,i.Z)((()=>{d||p(function(e){return"function"==typeof e?e():e}(c)||document.body)}),[c,d]),(0,i.Z)((()=>{if(u&&!d)return(0,l.Z)(t,u),()=>{(0,l.Z)(t,null)}}),[t,u,d]),d){if(r.isValidElement(o)){const e={ref:f};return r.cloneElement(o,e)}return(0,s.jsx)(r.Fragment,{children:o})}return(0,s.jsx)(r.Fragment,{children:u?n.createPortal(o,u):u})}))},73570:(e,t,o)=>{o.d(t,{Z:()=>b});var r=o(7896),n=o(31461),a=o(24328),i=o(75047),l=o(84501),s=o(27270),c=o(71166),d=o(21399),u=o(52322);const p=["onChange","maxRows","minRows","style","value"];function f(e){return parseInt(e,10)||0}const m={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function h(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const b=a.forwardRef((function(e,t){const{onChange:o,maxRows:b,minRows:v=1,style:g,value:Z}=e,y=(0,n.Z)(e,p),{current:x}=a.useRef(null!=Z),w=a.useRef(null),S=(0,l.Z)(t,w),k=a.useRef(null),C=a.useRef(0),[P,R]=a.useState({outerHeightStyle:0}),E=a.useCallback((()=>{const t=w.current,o=(0,s.Z)(t).getComputedStyle(t);if("0px"===o.width)return{outerHeightStyle:0};const r=k.current;r.style.width=o.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const n=o.boxSizing,a=f(o.paddingBottom)+f(o.paddingTop),i=f(o.borderBottomWidth)+f(o.borderTopWidth),l=r.scrollHeight;r.value="x";const c=r.scrollHeight;let d=l;return v&&(d=Math.max(Number(v)*c,d)),b&&(d=Math.min(Number(b)*c,d)),d=Math.max(d,c),{outerHeightStyle:d+("border-box"===n?a+i:0),overflow:Math.abs(d-l)<=1}}),[b,v,e.placeholder]),$=(e,t)=>{const{outerHeightStyle:o,overflow:r}=t;return C.current<20&&(o>0&&Math.abs((e.outerHeightStyle||0)-o)>1||e.overflow!==r)?(C.current+=1,{overflow:r,outerHeightStyle:o}):e},M=a.useCallback((()=>{const e=E();h(e)||R((t=>$(t,e)))}),[E]);return a.useEffect((()=>{const e=(0,c.Z)((()=>{C.current=0,w.current&&(()=>{const e=E();h(e)||i.flushSync((()=>{R((t=>$(t,e)))}))})()}));let t;const o=w.current,r=(0,s.Z)(o);return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),t.observe(o)),()=>{e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}})),(0,d.Z)((()=>{M()})),a.useEffect((()=>{C.current=0}),[Z]),(0,u.jsxs)(a.Fragment,{children:[(0,u.jsx)("textarea",(0,r.Z)({value:Z,onChange:e=>{C.current=0,x||M(),o&&o(e)},ref:S,rows:v,style:(0,r.Z)({height:P.outerHeightStyle,overflow:P.overflow?"hidden":void 0},g)},y)),(0,u.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:k,tabIndex:-1,style:(0,r.Z)({},m,g,{padding:0})})]})}))},49161:(e,t,o)=>{o.d(t,{T:()=>i});var r=o(24328);o(52322);const n={disableDefaultClasses:!1},a=r.createContext(n);function i(e){const{disableDefaultClasses:t}=r.useContext(a);return o=>t?"":e(o)}},69917:(e,t,o)=>{o.d(t,{Z:()=>a});var r=o(7896),n=o(65444);function a(e,t,o){return void 0===e||(0,n.Z)(e)?t:(0,r.Z)({},t,{ownerState:(0,r.Z)({},t.ownerState,o)})}},97427:(e,t,o)=>{function r(e,t=[]){if(void 0===e)return{};const o={};return Object.keys(e).filter((o=>o.match(/^on[A-Z]/)&&"function"==typeof e[o]&&!t.includes(o))).forEach((t=>{o[t]=e[t]})),o}o.d(t,{Z:()=>r})},65444:(e,t,o)=>{function r(e){return"string"==typeof e}o.d(t,{Z:()=>r})},5584:(e,t,o)=>{function r(e,t){return"function"==typeof e?e(t):e}o.d(t,{Z:()=>r})},80876:(e,t,o)=>{o.d(t,{Z:()=>p});var r=o(7896),n=o(31461),a=o(84501),i=o(69917),l=o(6277),s=o(97427);function c(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((o=>{t[o]=e[o]})),t}var d=o(5584);const u=["elementType","externalSlotProps","ownerState"];function p(e){var t;const{elementType:o,externalSlotProps:p,ownerState:f}=e,m=(0,n.Z)(e,u),h=(0,d.Z)(p,f),{props:b,internalRef:v}=function(e){const{getSlotProps:t,additionalProps:o,externalSlotProps:n,externalForwardedProps:a,className:i}=e;if(!t){const e=(0,l.default)(null==a?void 0:a.className,null==n?void 0:n.className,i,null==o?void 0:o.className),t=(0,r.Z)({},null==o?void 0:o.style,null==a?void 0:a.style,null==n?void 0:n.style),s=(0,r.Z)({},o,a,n);return e.length>0&&(s.className=e),Object.keys(t).length>0&&(s.style=t),{props:s,internalRef:void 0}}const d=(0,s.Z)((0,r.Z)({},a,n)),u=c(n),p=c(a),f=t(d),m=(0,l.default)(null==f?void 0:f.className,null==o?void 0:o.className,i,null==a?void 0:a.className,null==n?void 0:n.className),h=(0,r.Z)({},null==f?void 0:f.style,null==o?void 0:o.style,null==a?void 0:a.style,null==n?void 0:n.style),b=(0,r.Z)({},f,o,p,u);return m.length>0&&(b.className=m),Object.keys(h).length>0&&(b.style=h),{props:b,internalRef:f.ref}}((0,r.Z)({},m,{externalSlotProps:h})),g=(0,a.Z)(v,null==h?void 0:h.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,i.Z)(o,(0,r.Z)({},b,{ref:g}),f)}},88546:(e,t,o)=>{o.d(t,{Z:()=>h});var r=o(31461),n=o(7896),a=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(17055),u=o(70436),p=o(52322);const f=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],m=(0,s.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.invisible&&t.invisible]}})((({ownerState:e})=>(0,n.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),h=a.forwardRef((function(e,t){var o,a,s;const h=(0,c.Z)({props:e,name:"MuiBackdrop"}),{children:b,className:v,component:g="div",components:Z={},componentsProps:y={},invisible:x=!1,open:w,slotProps:S={},slots:k={},TransitionComponent:C=d.Z,transitionDuration:P}=h,R=(0,r.Z)(h,f),E=(0,n.Z)({},h,{component:g,invisible:x}),$=(e=>{const{classes:t,invisible:o}=e,r={root:["root",o&&"invisible"]};return(0,l.Z)(r,u.s,t)})(E),M=null!=(o=S.root)?o:y.root;return(0,p.jsx)(C,(0,n.Z)({in:w,timeout:P},R,{children:(0,p.jsx)(m,(0,n.Z)({"aria-hidden":!0},M,{as:null!=(a=null!=(s=k.root)?s:Z.Root)?a:g,className:(0,i.default)($.root,v,null==M?void 0:M.className),ownerState:(0,n.Z)({},E,null==M?void 0:M.ownerState),classes:$,ref:t,children:b}))}))}))},70436:(e,t,o)=>{o.d(t,{s:()=>a,Z:()=>i});var r=o(69222),n=o(15672);function a(e){return(0,n.Z)("MuiBackdrop",e)}const i=(0,r.Z)("MuiBackdrop",["root","invisible"])},38677:(e,t,o)=>{o.d(t,{Z:()=>w});var r=o(31461),n=o(7896),a=o(24328),i=o(6277),l=o(73022),s=o(69075),c=o(47591),d=o(65992),u=o(43853),p=o(13705),f=o(7342),m=o(58997),h=o(49146),b=o(52322);const v=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],g=e=>(0,n.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Z=(0,d.ZP)(p.Z,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${(0,f.Z)(o.color)}`],t[`size${(0,f.Z)(o.size)}`],t[`${o.variant}Size${(0,f.Z)(o.size)}`],"inherit"===o.color&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var o,r;const a="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,n.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,n.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${m.Z.focusVisible}`]:(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${m.Z.disabled}`]:(0,n.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,c.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(o=(r=e.palette).getContrastText)?void 0:o.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:a,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${m.Z.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${m.Z.disabled}`]:{boxShadow:"none"}})),y=(0,d.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.startIcon,t[`iconSize${(0,f.Z)(o.size)}`]]}})((({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},g(e)))),x=(0,d.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.endIcon,t[`iconSize${(0,f.Z)(o.size)}`]]}})((({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},g(e)))),w=a.forwardRef((function(e,t){const o=a.useContext(h.Z),c=(0,l.Z)(o,e),d=(0,u.Z)({props:c,name:"MuiButton"}),{children:p,color:g="primary",component:w="button",className:S,disabled:k=!1,disableElevation:C=!1,disableFocusRipple:P=!1,endIcon:R,focusVisibleClassName:E,fullWidth:$=!1,size:M="medium",startIcon:O,type:T,variant:I="text"}=d,N=(0,r.Z)(d,v),A=(0,n.Z)({},d,{color:g,component:w,disabled:k,disableElevation:C,disableFocusRipple:P,fullWidth:$,size:M,type:T,variant:I}),j=(e=>{const{color:t,disableElevation:o,fullWidth:r,size:a,variant:i,classes:l}=e,c={root:["root",i,`${i}${(0,f.Z)(t)}`,`size${(0,f.Z)(a)}`,`${i}Size${(0,f.Z)(a)}`,"inherit"===t&&"colorInherit",o&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,f.Z)(a)}`],endIcon:["endIcon",`iconSize${(0,f.Z)(a)}`]},d=(0,s.Z)(c,m.F,l);return(0,n.Z)({},l,d)})(A),B=O&&(0,b.jsx)(y,{className:j.startIcon,ownerState:A,children:O}),F=R&&(0,b.jsx)(x,{className:j.endIcon,ownerState:A,children:R});return(0,b.jsxs)(Z,(0,n.Z)({ownerState:A,className:(0,i.default)(o.className,j.root,S),component:w,disabled:k,focusRipple:!P,focusVisibleClassName:(0,i.default)(j.focusVisible,E),ref:t,type:T},N,{classes:j,children:[B,p,F]}))}))},58997:(e,t,o)=>{o.d(t,{F:()=>a,Z:()=>i});var r=o(69222),n=o(15672);function a(e){return(0,n.Z)("MuiButton",e)}const i=(0,r.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"])},13705:(e,t,o)=>{o.d(t,{Z:()=>T});var r=o(7896),n=o(31461),a=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(98659),u=o(78647),p=o(8250),f=o(89789),m=o(46324),h=o(52322);var b=o(15489);const v=["center","classes","className"];let g,Z,y,x,w=e=>e;const S=(0,m.keyframes)(g||(g=w`
3
3
  0% {
4
4
  transform: scale(0);
5
5
  opacity: 0.1;