@reltio/remotes 1.4.1656 → 1.4.1658

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 (128) hide show
  1. package/1039.js +1 -1
  2. package/1088.js +1 -1
  3. package/1146.js +1 -1
  4. package/1148.js +1 -1
  5. package/1334.js +1 -1
  6. package/1425.js +1 -1
  7. package/1572.js +1 -1
  8. package/1664.js +1 -1
  9. package/1707.js +1 -1
  10. package/1790.js +1 -1
  11. package/1840.js +1 -1
  12. package/2066.js +1 -1
  13. package/2300.js +1 -1
  14. package/2400.js +1 -1
  15. package/2966.js +1 -1
  16. package/3096.js +1 -1
  17. package/3348.js +1 -1
  18. package/3373.js +1 -1
  19. package/3381.js +1 -1
  20. package/3383.js +1 -1
  21. package/3463.js +1 -1
  22. package/3469.js +1 -1
  23. package/3538.js +1 -1
  24. package/3639.js +1 -1
  25. package/3854.js +1 -1
  26. package/3912.js +1 -1
  27. package/415.js +1 -1
  28. package/4212.js +1 -1
  29. package/4390.js +1 -1
  30. package/4390.js.map +1 -1
  31. package/{764.js → 446.js} +2 -2
  32. package/446.js.map +1 -0
  33. package/4481.js +1 -1
  34. package/4583.js +1 -1
  35. package/4609.js +1 -1
  36. package/4610.js +1 -1
  37. package/4680.js +1 -1
  38. package/4780.js +1 -1
  39. package/4780.js.map +1 -1
  40. package/4806.js +1 -1
  41. package/4838.js +1 -1
  42. package/50.js +1 -1
  43. package/5039.js +1 -1
  44. package/5039.js.map +1 -1
  45. package/5053.js +1 -1
  46. package/5108.js +1 -1
  47. package/5177.js +2 -0
  48. package/5177.js.map +1 -0
  49. package/5292.js +1 -1
  50. package/5383.js +1 -1
  51. package/5617.js +1 -1
  52. package/5738.js +2 -0
  53. package/5738.js.map +1 -0
  54. package/5939.js +1 -1
  55. package/6287.js +1 -1
  56. package/636.js +1 -1
  57. package/658.js +2 -0
  58. package/658.js.map +1 -0
  59. package/6799.js +1 -1
  60. package/6844.js +1 -1
  61. package/6860.js +1 -1
  62. package/6903.js +1 -1
  63. package/7119.js +2 -0
  64. package/7119.js.map +1 -0
  65. package/7128.js +1 -1
  66. package/7128.js.map +1 -1
  67. package/7151.js +2 -0
  68. package/7151.js.map +1 -0
  69. package/7340.js +1 -1
  70. package/735.js +1 -1
  71. package/{9952.js → 7363.js} +2 -2
  72. package/7363.js.map +1 -0
  73. package/7422.js +1 -1
  74. package/7605.js +1 -1
  75. package/7605.js.map +1 -1
  76. package/7626.js +1 -1
  77. package/7744.js +1 -1
  78. package/7896.js +1 -1
  79. package/820.js +1 -1
  80. package/8207.js +1 -1
  81. package/8216.js +2 -0
  82. package/8216.js.map +1 -0
  83. package/{4703.js → 8418.js} +2 -2
  84. package/8418.js.map +1 -0
  85. package/{6606.css → 8462.css} +1 -1
  86. package/{6606.css.map → 8462.css.map} +1 -1
  87. package/8462.js +2 -0
  88. package/8462.js.map +1 -0
  89. package/8565.js +1 -1
  90. package/8741.js +1 -1
  91. package/9016.js +1 -1
  92. package/9050.js +1 -1
  93. package/9283.js +1 -1
  94. package/9309.js +1 -1
  95. package/9328.js +1 -1
  96. package/9387.js +1 -1
  97. package/9719.js +1 -1
  98. package/9831.js +1 -1
  99. package/9831.js.map +1 -1
  100. package/9861.js +1 -1
  101. package/987.js +1 -1
  102. package/99.js +1 -1
  103. package/9960.js +1 -1
  104. package/9963.js +2 -0
  105. package/9963.js.map +1 -0
  106. package/main.js +1 -1
  107. package/package.json +1 -1
  108. package/remoteEntry.js +1 -1
  109. package/remoteEntry.js.map +1 -1
  110. package/1488.js +0 -2
  111. package/1488.js.map +0 -1
  112. package/1831.js +0 -2
  113. package/1831.js.map +0 -1
  114. package/281.js +0 -2
  115. package/281.js.map +0 -1
  116. package/3358.js +0 -2
  117. package/3358.js.map +0 -1
  118. package/3902.js +0 -2
  119. package/3902.js.map +0 -1
  120. package/3926.js +0 -2
  121. package/3926.js.map +0 -1
  122. package/4703.js.map +0 -1
  123. package/6606.js +0 -2
  124. package/6606.js.map +0 -1
  125. package/764.js.map +0 -1
  126. package/9464.js +0 -2
  127. package/9464.js.map +0 -1
  128. package/9952.js.map +0 -1
package/7363.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"7363.js","mappings":"qqBAEA,SACIA,aAAcC,IAAAA,KACdC,iBAAkBD,IAAAA,OAClBE,gBAAiBF,IAAAA,MCArB,MAAMG,EAAc,CAChBC,UAAW,CACP,CACIC,KAAM,kBACNC,QAAS,CACLC,SAAS,MAMnBC,GAAYC,EAAAA,EAAAA,aAAYC,IAAD,CACzBC,QAASD,EAAMC,QACfC,QAAS,CACLC,WAAY,OAwCpB,EApCqBC,IACjB,MAAMC,GAAcC,EAAAA,EAAAA,aAChB,CAAC,EAA8EC,KAAQ,IAAtF,aAAClB,EAAD,iBAAeE,EAAf,gBAAiCC,GAAkB,GAAmC,EAAzBgB,E,kXAAyB,0DACnF,MAAMC,EAASX,IASf,OAAOT,EACH,kBAACqB,EAAA,EAAD,CACIH,IAAKA,EACLI,MAAOtB,EACPuB,UAAWrB,GAAoB,SAC/BsB,sBAAsB,EACtBC,sBAAsB,EACtBC,QAAS,CAACd,QAASQ,EAAOR,SAC1Be,YAAavB,GAhBWD,CAAAA,GAC5BA,EACI,0BAAMyB,UAAWR,EAAOP,SACpB,kBAACE,EAAcI,IAGnB,kBAACJ,EAAcI,GAYdU,CAAuB1B,IAG5B,kBAACY,EAAcI,MAQ3B,OAHAH,EAAYc,YAAc,cAE1Bd,EAAYe,UAAYC,EACjBhB,I,4RCtDX,MAwBA,EAxBkEiB,GAE1D,2BAAKC,MAAO,GAAIC,OAAQ,GAAIC,QAAQ,YAAYC,MAAM,8BAAiCJ,GACnF,uBAAGK,OAAO,OAAOC,YAAa,EAAGC,KAAK,OAAOC,SAAS,WAClD,0BACIC,EAAE,8OACFF,KAAK,UACLG,QAAS,KAEb,0BACID,EAAE,4PACFF,KAAK,UACLG,QAAS,KAEb,0BACID,EAAE,mTACFF,KAAK,UACLC,SAAS,cCjBhB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C,GAAcze,EAAAA,EAAAA,SAAO,IAE3Bd,EAAAA,EAAAA,YAAU,KACFuf,EAAY9d,QAAS4d,IACpBE,EAAY9d,SAAU,IAC5B6d,K,gDCNA,MAAME,EAAkBhf,IAC3B,MAAMif,GAAiB3e,EAAAA,EAAAA,UAIvB,OAHAd,EAAAA,EAAAA,YAAU,KACNyf,EAAehe,QAAUjB,IAC1B,CAACA,IACGif,EAAehe,U,2DCJ1B,MAAMie,EAAc,IAAIC,SAAQ,SAOnBC,EAAiB,WAAmE,IAAlE,eAACC,GAAiB,EAAlB,gBAAwBC,GAAkB,GAAwB,uDAAP,GACtF,MAAMC,GAAYjf,EAAAA,EAAAA,QAAO0C,EAAAA,IACnBwc,EAAgB,IAAMD,EAAUte,UAWtC,OATAzB,EAAAA,EAAAA,YACI,IAAM,KACE8f,GACAE,MAGR,KAGGC,EAAAA,EAAAA,cAAgBC,IACfL,GACAG,IAEG,IAAIL,SAAW,CAACQ,EAASxM,KAC5BoM,EAAUte,QAAU,IAAMkS,EAAO,YACjCuM,EAAQE,KAAKD,EAASxM,MACvB0M,OAAM,SAAU5X,GACf,GAAc,aAAVA,EACA,OAAOiX,EAEP,MAAMjX,OAGf","sources":["webpack://@reltio/remotes/../components/src/HOCs/withTooltip/propTypes.js","webpack://@reltio/remotes/../components/src/HOCs/withTooltip/withTooltip.js","webpack://@reltio/remotes/../components/src/icons/NoDataSearch.tsx","webpack://@reltio/remotes/../components/src/components/EmptySearchResult/styles.ts","webpack://@reltio/remotes/../components/src/components/EmptySearchResult/NoMessageComponent.tsx","webpack://@reltio/remotes/../components/src/components/ErrorPopup/styles.ts","webpack://@reltio/remotes/../components/src/components/ErrorPopup/ErrorPopup.tsx","webpack://@reltio/remotes/../components/src/components/ExpandedValueTooltip/styles.ts","webpack://@reltio/remotes/../components/src/components/ExpandedValueTooltip/ExpandedValueTooltip.tsx","webpack://@reltio/remotes/../components/src/components/Marginator/Marginator.tsx","webpack://@reltio/remotes/../components/src/components/Popper/utils.ts","webpack://@reltio/remotes/../components/src/components/Popper/styles.ts","webpack://@reltio/remotes/../components/src/components/Popper/Popper.tsx","webpack://@reltio/remotes/../components/src/components/ReactSelect/Select.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/commonComponents/MultiValue.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/commonComponents/Option.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/commonComponents/NoOptionsMessage.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/commonComponents/Control.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/commonComponents/Menu.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/commonComponents/Placeholder.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/commonComponents/SingleValue.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/commonComponents/ValueContainer.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/commonComponents/ClearIndicator.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/commonComponents/DropdownIndicator.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/commonComponents/GroupHeading.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/commonComponents/index.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/styles.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/withMuiSkin.js","webpack://@reltio/remotes/../components/src/components/SmallIconButton/SmallIconButton.tsx","webpack://@reltio/remotes/../components/src/components/SmallIconButton/index.ts","webpack://@reltio/remotes/../components/src/components/commonReactSelectComponents/DropdownIndicator.js","webpack://@reltio/remotes/../components/src/components/commonReactSelectComponents/menuStyles.js","webpack://@reltio/remotes/../components/src/components/commonReactSelectComponents/MenuWithPopper.js","webpack://@reltio/remotes/../components/src/components/commonReactSelectComponents/arrowIndicatorStyles.js","webpack://@reltio/remotes/../components/src/components/editors/DateEditor/styles.ts","webpack://@reltio/remotes/../components/src/components/editors/DateEditor/DateEditor.tsx","webpack://@reltio/remotes/../components/src/components/editors/TimestampEditor/styles.ts","webpack://@reltio/remotes/../components/src/components/editors/TimestampEditor/TimestampEditor.tsx","webpack://@reltio/remotes/../components/src/components/editors/constants.ts","webpack://@reltio/remotes/../components/src/contexts/MdmModuleContext/context.ts","webpack://@reltio/remotes/../components/src/contexts/MdmModuleContext/selectors/dependentLookupEditorContext.ts","webpack://@reltio/remotes/../components/src/contexts/MdmModuleContext/hooks.ts","webpack://@reltio/remotes/../components/src/contexts/MdmModuleContext/selectors/entity.ts","webpack://@reltio/remotes/../components/src/contexts/PopupBoundariesContext/index.js","webpack://@reltio/remotes/../components/src/core/utils.js","webpack://@reltio/remotes/../components/src/hooks/useDidUpdateEffect.js","webpack://@reltio/remotes/../components/src/hooks/usePrevious.ts","webpack://@reltio/remotes/../components/src/hooks/useSafePromise.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nexport default {\n tooltipTitle: PropTypes.node,\n tooltipPlacement: PropTypes.string,\n showForDisabled: PropTypes.bool\n};\n","import React, {forwardRef} from 'react';\nimport Tooltip from '@mui/material/Tooltip';\nimport {makeStyles} from '@mui/styles';\nimport withTooltipPropTypes from './propTypes';\n\nconst popperProps = {\n modifiers: [\n {\n name: 'preventOverflow',\n options: {\n altAxis: true\n }\n }\n ]\n};\n\nconst useStyles = makeStyles((theme) => ({\n tooltip: theme.tooltip,\n wrapper: {\n lineHeight: 0\n }\n}));\n\nconst withTooltip = (Component) => {\n const WithTooltip = forwardRef(\n ({tooltipTitle, tooltipPlacement, showForDisabled = false, ...componentProps}, ref) => {\n const styles = useStyles();\n const renderWrappedComponent = (showForDisabled) =>\n showForDisabled ? (\n <span className={styles.wrapper}>\n <Component {...componentProps} />\n </span>\n ) : (\n <Component {...componentProps} />\n );\n return tooltipTitle ? (\n <Tooltip\n ref={ref}\n title={tooltipTitle}\n placement={tooltipPlacement || 'bottom'}\n disableFocusListener={true}\n disableTouchListener={true}\n classes={{tooltip: styles.tooltip}}\n PopperProps={popperProps}\n >\n {renderWrappedComponent(showForDisabled)}\n </Tooltip>\n ) : (\n <Component {...componentProps} />\n );\n }\n );\n\n WithTooltip.displayName = 'WithTooltip';\n\n WithTooltip.propTypes = withTooltipPropTypes;\n return WithTooltip;\n};\n\nexport default withTooltip;\n","import React from 'react';\n\nconst SvgNoDataSearch: React.FC<React.SVGProps<SVGSVGElement>> = (props) => {\n return (\n <svg width={79} height={68} viewBox=\"0 0 79 68\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <g stroke=\"none\" strokeWidth={1} fill=\"none\" fillRule=\"evenodd\">\n <path\n d=\"M24.889 40.444V22.556H3.603v-2.334H24.89V3.89h2.333v16.333h23.334V3.89h2.333v16.333h18.157v2.334H52.889v17.888h18.157v2.334H52.889v17.396h-2.333V42.778H27.222v17.396H24.89V42.778H3.603v-2.334H24.89zm2.333 0h23.334V22.556H27.222v17.888z\"\n fill=\"#D2DEDE\"\n opacity={0.2}\n />\n <path\n d=\"M68.725 3.889H3.889v29.814l13.413-14.36 14.399 6.347 11.265-7.467h16.633l9.126-14.334zm2.053 4.016l-9.044 14.207H44.138l-12.06 7.994-13.818-6.091L3.889 39.4V59.89h66.889V7.905zM3 0h68.667a3 3 0 013 3v57.778a3 3 0 01-3 3H3a3 3 0 01-3-3V3a3 3 0 013-3z\"\n fill=\"#D2DEDE\"\n opacity={0.5}\n />\n <path\n d=\"M66.732 52.044H64.79l-.689-.664a15.91 15.91 0 003.86-10.4c0-8.826-7.154-15.98-15.98-15.98C43.154 25 36 32.154 36 40.98c0 8.827 7.154 15.981 15.98 15.981a15.91 15.91 0 0010.4-3.86l.664.689v1.942L75.337 68 79 64.337 66.732 52.044zM52 52c-6.087 0-11-4.913-11-11s4.913-11 11-11 11 4.913 11 11-4.913 11-11 11z\"\n fill=\"#B5C8C9\"\n fillRule=\"nonzero\"\n />\n </g>\n </svg>\n );\n};\n\nexport default SvgNoDataSearch;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles({\n container: {\n display: 'flex',\n flexShrink: 0,\n alignItems: 'center',\n height: '36px',\n\n '& $smallIcon': {\n height: '24px',\n width: '28px',\n paddingRight: '10px',\n paddingLeft: '2px'\n },\n '& $text': {\n height: '14px',\n color: '#707F80',\n fontSize: '12px',\n lineHeight: '14px'\n }\n },\n smallIcon: {},\n text: {}\n});\n","import React from 'react';\nimport classnames from 'classnames';\n\nimport NoDataIcon from '../../icons/NoDataSearch';\nimport {useStyles} from './styles';\n\ntype Props = React.ComponentPropsWithoutRef<'div'> & {\n message?: string;\n};\n\nconst NoMessageComponent = ({className, message, ...other}: Props) => {\n const styles = useStyles();\n return (\n <div className={classnames(styles.container, className)} {...other}>\n <NoDataIcon className={styles.smallIcon} />\n <div className={styles.text}>{message}</div>\n </div>\n );\n};\n\nexport default NoMessageComponent;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles(() => ({\n errorBlock: {\n fontFamily: 'Roboto, Helvetica, Arial, sans-serif',\n minHeight: '58px',\n left: 0,\n right: 0,\n width: 'calc(100% - 64px)',\n maxWidth: '1280px',\n margin: '0 auto',\n zIndex: 10000\n }\n}));\n","import React, {useEffect} from 'react';\nimport classnames from 'classnames';\nimport {path} from 'ramda';\nimport i18n from 'ui-i18n';\nimport Portal from '@mui/material/Portal';\nimport RCErrorPopup from 'react-components/dist/ErrorPopup/ErrorPopup';\nimport {useMdmAction, useMdmAutoCloseInterval, useMdmUiError} from '../../contexts';\nimport {useStyles} from './styles';\n\ntype AddError = (error: {title: string; message: string}) => void;\n\nconst addError = RCErrorPopup.addError as AddError;\n\ntype Props = {\n showErrorFromStore?: boolean;\n [key: string]: unknown;\n};\n\nconst ErrorPopup = ({showErrorFromStore, ...props}: Props) => {\n const styles = useStyles();\n\n const errorSet = useMdmAction('errorSet');\n const autoCloseInterval = useMdmAutoCloseInterval();\n const uiError = useMdmUiError();\n\n useEffect(() => {\n if (uiError && showErrorFromStore) {\n ErrorPopup.addError({title: i18n.text('Error'), message: uiError});\n errorSet(null);\n }\n }, [errorSet, uiError, showErrorFromStore]);\n\n return (\n <Portal container={document.body}>\n <RCErrorPopup\n classes={{errorBlock: classnames(styles.errorBlock, path(['classes', 'errorBlock'], props))}}\n autoCloseInterval={autoCloseInterval}\n {...props}\n />\n </Portal>\n );\n};\n\nErrorPopup.addError = addError;\n\nexport default ErrorPopup;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n tooltip: theme.tooltip,\n popper: {\n zIndex: 10000\n }\n}));\n","import React, {useRef, useState, useEffect} from 'react';\nimport ReactResizeDetector from 'react-resize-detector';\nimport Tooltip, {TooltipProps} from '@mui/material/Tooltip';\n\nimport {useStyles} from './styles';\n\nconst checkOverflow = (el: HTMLElement, showOnExceededWidth?: boolean, showOnExceededHeight?: boolean) => {\n return (\n el &&\n ((showOnExceededWidth && el.clientWidth < el.scrollWidth) ||\n (showOnExceededHeight && el.clientHeight < el.scrollHeight))\n );\n};\n\ntype Props = Omit<TooltipProps, 'title' | 'classes'> & {\n children: React.ReactNode;\n value?: React.ReactNode;\n className?: string;\n showOnExceededWidth?: boolean;\n showOnExceededHeight?: boolean;\n};\n\nconst ExpandedValueTooltip = ({\n children,\n value = '',\n className,\n showOnExceededWidth = true,\n showOnExceededHeight,\n ...otherProps\n}: Props) => {\n const tooltipStyles = useStyles();\n\n const childrenRef = useRef<HTMLElement>();\n const [isOverflowing, setIsOverflowing] = useState(false);\n const updateOverflowState = () =>\n setIsOverflowing(checkOverflow(childrenRef.current, showOnExceededWidth, showOnExceededHeight));\n useEffect(updateOverflowState, [showOnExceededHeight, showOnExceededWidth, value]);\n\n return (\n <>\n <ReactResizeDetector\n handleWidth={showOnExceededWidth}\n handleHeight={showOnExceededHeight}\n onResize={updateOverflowState}\n refreshMode=\"debounce\"\n refreshRate={100}\n />\n <Tooltip\n ref={childrenRef}\n title={isOverflowing ? value : ''}\n classes={{...tooltipStyles, tooltip: className}}\n {...otherProps}\n >\n {children}\n </Tooltip>\n </>\n );\n};\n\nexport default ExpandedValueTooltip;\n","import React from 'react';\n\ntype Props = {\n margin: number;\n level: number;\n className?: string;\n children?: JSX.Element;\n};\n\nconst Marginator = ({margin, level, className, children}: Props) => {\n if (level != null) {\n return (\n <div style={{marginLeft: level * margin}} className={className}>\n {children}\n </div>\n );\n } else {\n return children;\n }\n};\n\nexport default Marginator;\n","import {MutableRefObject, RefObject} from 'react';\n\nexport const RAF_THROTTLE_INTERVAL = 100;\n\nexport const resizeBackdrops = ({\n anchorEl,\n leftBackdropRef,\n rightBackdropRef,\n topBackdropRef,\n bottomBackdropRef,\n rafIdRef,\n lastResizeTimestamp = 0\n}: {\n anchorEl?: HTMLElement | null;\n leftBackdropRef: RefObject<HTMLDivElement>;\n rightBackdropRef: RefObject<HTMLDivElement>;\n topBackdropRef: RefObject<HTMLDivElement>;\n bottomBackdropRef: RefObject<HTMLDivElement>;\n rafIdRef: MutableRefObject<number>;\n lastResizeTimestamp?: number;\n}): void => {\n if (anchorEl) {\n if (\n Date.now() - lastResizeTimestamp > RAF_THROTTLE_INTERVAL &&\n topBackdropRef.current &&\n leftBackdropRef.current &&\n rightBackdropRef.current &&\n bottomBackdropRef.current\n ) {\n const rect = anchorEl.getBoundingClientRect();\n topBackdropRef.current.style.top = '0';\n topBackdropRef.current.style.left = '0';\n topBackdropRef.current.style.right = '0';\n topBackdropRef.current.style.height = rect.top + 'px';\n\n leftBackdropRef.current.style.top = '0';\n leftBackdropRef.current.style.left = '0';\n leftBackdropRef.current.style.width = rect.left + 'px';\n leftBackdropRef.current.style.bottom = '0';\n\n rightBackdropRef.current.style.top = '0';\n rightBackdropRef.current.style.left = rect.right + 'px';\n rightBackdropRef.current.style.right = '0';\n rightBackdropRef.current.style.bottom = '0';\n\n bottomBackdropRef.current.style.top = rect.bottom + 'px';\n bottomBackdropRef.current.style.left = '0';\n bottomBackdropRef.current.style.right = '0';\n bottomBackdropRef.current.style.bottom = '0';\n lastResizeTimestamp = Date.now();\n }\n rafIdRef.current = requestAnimationFrame(() =>\n resizeBackdrops({\n anchorEl,\n leftBackdropRef,\n rightBackdropRef,\n topBackdropRef,\n bottomBackdropRef,\n rafIdRef,\n lastResizeTimestamp\n })\n );\n }\n};\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles({\n backdrop: {\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n zIndex: 10\n },\n popper: {\n zIndex: 1300\n }\n});\n","import React, {forwardRef, useEffect, useRef} from 'react';\nimport classnames from 'classnames';\nimport {resizeBackdrops} from './utils';\nimport {noop} from '../../core/utils';\nimport Portal from '@mui/material/Portal';\nimport MUIPopper, {PopperProps} from '@mui/material/Popper';\n\nimport {useStyles} from './styles';\n\ntype Props = PopperProps & {\n modal?: boolean;\n anchorEl?: HTMLElement | null;\n excludeAnchorFromBackdrop?: boolean;\n onClose?: () => void;\n};\n\nconst Popper = forwardRef(\n (\n {\n open,\n anchorEl,\n className,\n modal = true,\n excludeAnchorFromBackdrop = true,\n onClose = noop,\n ...otherProps\n }: Props,\n ref: React.ForwardedRef<HTMLDivElement>\n ) => {\n const styles = useStyles();\n const leftBackdropRef = useRef<HTMLDivElement>();\n const rightBackdropRef = useRef<HTMLDivElement>();\n const topBackdropRef = useRef<HTMLDivElement>();\n const bottomBackdropRef = useRef<HTMLDivElement>();\n const rafIdRef = useRef<number>();\n\n useEffect(() => {\n if (open && modal) {\n resizeBackdrops({\n anchorEl,\n leftBackdropRef,\n rightBackdropRef,\n topBackdropRef,\n bottomBackdropRef,\n rafIdRef\n });\n return () => cancelAnimationFrame(rafIdRef.current); //eslint-disable-line\n }\n }, [anchorEl, open, modal]);\n\n return (\n <>\n {modal && open && (\n <Portal container={document.body}>\n {excludeAnchorFromBackdrop ? (\n <>\n <div ref={topBackdropRef} className={styles.backdrop} onClick={onClose} />\n <div ref={rightBackdropRef} className={styles.backdrop} onClick={onClose} />\n <div ref={bottomBackdropRef} className={styles.backdrop} onClick={onClose} />\n <div ref={leftBackdropRef} className={styles.backdrop} onClick={onClose} />\n </>\n ) : (\n <div className={styles.backdrop} onClick={onClose} />\n )}\n </Portal>\n )}\n <MUIPopper\n open={open}\n anchorEl={anchorEl}\n {...otherProps}\n className={classnames(className, styles.popper)}\n ref={ref}\n />\n </>\n );\n }\n);\n\nPopper.displayName = 'Popper';\n\nexport default Popper;\n","import withMuiSkin from './withMuiSkin';\nimport Select from 'react-select';\n\nexport default withMuiSkin(Select);\n","import Chip from '@mui/material/Chip';\nimport CancelIcon from '@mui/icons-material/Cancel';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nexport default function MultiValue(props) {\n const {children, selectProps, removeProps} = props;\n\n return (\n <Chip\n tabIndex={-1}\n label={children}\n className={selectProps.classes.multiValue}\n classes={{\n label: selectProps.classes['multiValue__label']\n }}\n onDelete={removeProps.onClick}\n deleteIcon={\n <CancelIcon\n {...props.removeProps}\n style={{height: '18px', width: '18px', color: 'rgba(0,0,0,0.38)', marginRight: '8px'}}\n />\n }\n />\n );\n}\n\nMultiValue.propTypes = {\n children: PropTypes.node,\n isFocused: PropTypes.bool.isRequired,\n removeProps: PropTypes.shape({\n onClick: PropTypes.func.isRequired,\n onMouseDown: PropTypes.func.isRequired,\n onTouchEnd: PropTypes.func.isRequired\n }).isRequired,\n selectProps: PropTypes.object.isRequired\n};\n","import MenuItem from '@mui/material/MenuItem';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport classNames from 'classnames';\nimport ExpandedValueTooltip from '../../ExpandedValueTooltip/ExpandedValueTooltip';\n\nexport default function Option(props) {\n const {\n innerProps,\n innerRef,\n children,\n isFocused,\n isSelected,\n label,\n selectProps: {classes}\n } = props;\n\n return (\n <MenuItem\n className={classNames(classes.option, {[classes['option--selected']]: isSelected})}\n ref={innerRef}\n selected={isFocused}\n component=\"div\"\n {...innerProps}\n >\n <ExpandedValueTooltip value={label}>\n <div className={classes['option--item']}>{children}</div>\n </ExpandedValueTooltip>\n </MenuItem>\n );\n}\n\nOption.propTypes = {\n children: PropTypes.node,\n innerProps: PropTypes.shape({\n id: PropTypes.string.isRequired,\n key: PropTypes.string,\n onClick: PropTypes.func.isRequired,\n onMouseMove: PropTypes.func.isRequired,\n onMouseOver: PropTypes.func.isRequired,\n tabIndex: PropTypes.number.isRequired\n }).isRequired,\n innerRef: PropTypes.oneOfType([\n PropTypes.oneOf([null]),\n PropTypes.func,\n PropTypes.shape({\n current: PropTypes.any.isRequired\n })\n ]),\n isFocused: PropTypes.bool.isRequired,\n isSelected: PropTypes.bool.isRequired,\n label: PropTypes.string,\n selectProps: PropTypes.shape({\n classes: PropTypes.shape({\n option: PropTypes.string,\n 'option--selected': PropTypes.string\n })\n })\n};\n","import Typography from '@mui/material/Typography';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nexport default function NoOptionsMessage(props) {\n const {\n selectProps: {classes},\n children\n } = props;\n\n return (\n <Typography color=\"textSecondary\" className={classes.noOptionsMessage}>\n {children}\n </Typography>\n );\n}\n\nNoOptionsMessage.propTypes = {\n children: PropTypes.node,\n selectProps: PropTypes.object.isRequired\n};\n","import TextField from '@mui/material/TextField';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nconst InputComponent = React.forwardRef((props, ref) => {\n return <div ref={ref} {...props} />;\n});\n\nInputComponent.displayName = 'InputComponent';\n\nInputComponent.propTypes = {\n inputRef: PropTypes.oneOfType([\n PropTypes.func,\n PropTypes.shape({\n current: PropTypes.any.isRequired\n })\n ])\n};\n\nexport default function Control(props) {\n const {\n children,\n innerProps,\n innerRef,\n selectProps: {classes, TextFieldProps = {}}\n } = props;\n\n return (\n <TextField\n variant=\"standard\"\n fullWidth\n {...TextFieldProps}\n InputProps={{\n inputComponent: InputComponent,\n ...TextFieldProps.InputProps,\n inputProps: {\n className: classes.control,\n ref: innerRef,\n children,\n ...innerProps,\n ...TextFieldProps.inputProps\n }\n }}\n />\n );\n}\n\nControl.propTypes = {\n children: PropTypes.node,\n innerProps: PropTypes.shape({\n onMouseDown: PropTypes.func.isRequired\n }).isRequired,\n innerRef: PropTypes.oneOfType([\n PropTypes.oneOf([null]),\n PropTypes.func,\n PropTypes.shape({\n current: PropTypes.any.isRequired\n })\n ]).isRequired,\n selectProps: PropTypes.shape({\n classes: PropTypes.shape({\n control: PropTypes.string.isRequired\n }),\n TextFieldProps: PropTypes.object\n })\n};\n","import Paper from '@mui/material/Paper';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nexport default function Menu(props) {\n const {\n selectProps: {classes},\n innerProps,\n innerRef,\n getStyles,\n children\n } = props;\n\n return (\n <Paper ref={innerRef} style={getStyles('menu', props)} className={classes.menu} {...innerProps}>\n {children}\n </Paper>\n );\n}\n\nMenu.propTypes = {\n children: PropTypes.element.isRequired,\n innerProps: PropTypes.object.isRequired,\n selectProps: PropTypes.object.isRequired,\n innerRef: PropTypes.oneOfType([\n PropTypes.oneOf([null]),\n PropTypes.func,\n PropTypes.shape({\n current: PropTypes.any.isRequired\n })\n ]),\n getStyles: PropTypes.func\n};\n","import Typography from '@mui/material/Typography';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nexport default function Placeholder(props) {\n const {\n selectProps: {classes},\n innerProps = {},\n children\n } = props;\n\n return (\n <Typography color=\"textSecondary\" className={classes.placeholder} {...innerProps}>\n {children}\n </Typography>\n );\n}\n\nPlaceholder.propTypes = {\n children: PropTypes.node,\n innerProps: PropTypes.object,\n selectProps: PropTypes.object.isRequired\n};\n","import Typography from '@mui/material/Typography';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nexport default function SingleValue(props) {\n const {\n selectProps: {classes},\n innerProps,\n children\n } = props;\n\n return (\n <Typography className={classes.singleValue} {...innerProps}>\n {children}\n </Typography>\n );\n}\n\nSingleValue.propTypes = {\n children: PropTypes.node,\n innerProps: PropTypes.object,\n selectProps: PropTypes.object.isRequired\n};\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport classnames from 'classnames';\n\nexport default function ValueContainer(props) {\n const {\n selectProps: {classes},\n children,\n isMulti\n } = props;\n return (\n <div className={classnames(classes.valueContainer, {[classes['valueContainer--multi']]: isMulti})}>\n {children}\n </div>\n );\n}\n\nValueContainer.propTypes = {\n children: PropTypes.node,\n selectProps: PropTypes.object.isRequired,\n isMulti: PropTypes.bool\n};\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport HighlightOffIcon from '@mui/icons-material/HighlightOff';\nimport IconButton from '@mui/material/IconButton';\n\nexport default function ClearIndicator(props) {\n const {\n selectProps: {classes},\n innerProps\n } = props;\n\n return (\n <IconButton {...innerProps} className={classes.clearIndicator} size=\"large\">\n <HighlightOffIcon />\n </IconButton>\n );\n}\n\nClearIndicator.propTypes = {\n innerProps: PropTypes.shape({\n onMouseDown: PropTypes.func.isRequired,\n onTouchEnd: PropTypes.func.isRequired,\n 'aria-hidden': PropTypes.string.isRequired\n }).isRequired,\n selectProps: PropTypes.shape({\n classes: PropTypes.object.isRequired\n }).isRequired\n};\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport ArrowDropDownIcon from '@mui/icons-material/ArrowDropDown';\nimport IconButton from '@mui/material/IconButton';\n\nexport default function DropdownIndicator(props) {\n const {\n selectProps: {classes},\n innerProps\n } = props;\n\n return (\n <IconButton {...innerProps} className={classes.dropdownIndicator} size=\"large\">\n <ArrowDropDownIcon />\n </IconButton>\n );\n}\n\nDropdownIndicator.propTypes = {\n innerProps: PropTypes.shape({\n onMouseDown: PropTypes.func.isRequired,\n onTouchEnd: PropTypes.func.isRequired,\n 'aria-hidden': PropTypes.string.isRequired\n }).isRequired,\n selectProps: PropTypes.shape({\n classes: PropTypes.object.isRequired\n }).isRequired\n};\n","import Typography from '@mui/material/Typography';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport classNames from 'classnames';\n\nexport default function GroupHeading(props) {\n const {\n children,\n selectProps: {classes}\n } = props;\n\n return (\n <Typography variant=\"subtitle2\" className={classNames(classes.groupHeading)}>\n {children}\n </Typography>\n );\n}\n\nGroupHeading.propTypes = {\n children: PropTypes.node,\n selectProps: PropTypes.shape({\n classes: PropTypes.shape({\n groupHeading: PropTypes.string\n })\n })\n};\n","import NoOptionsMessage from './NoOptionsMessage';\nimport Control from './Control';\nimport Menu from './Menu';\nimport MultiValue from './MultiValue';\nimport Option from './Option';\nimport Placeholder from './Placeholder';\nimport SingleValue from './SingleValue';\nimport ValueContainer from './ValueContainer';\nimport ClearIndicator from './ClearIndicator';\nimport DropdownIndicator from './DropdownIndicator';\nimport GroupHeading from './GroupHeading';\n\nconst components = {\n Control,\n Menu,\n MultiValue,\n NoOptionsMessage,\n Option,\n Placeholder,\n SingleValue,\n ValueContainer,\n ClearIndicator,\n DropdownIndicator,\n GroupHeading\n};\n\nexport default components;\n","import {makeStyles} from '@mui/styles';\n\nexport default makeStyles((theme) => ({\n control: {\n display: 'flex',\n '&&': {\n padding: 0\n },\n height: 'auto'\n },\n valueContainer: {\n display: 'flex',\n flexWrap: 'nowrap',\n flex: 1,\n alignItems: 'center',\n overflow: 'hidden',\n marginLeft: theme.spacing(1)\n },\n 'valueContainer--multi': {\n flexWrap: 'wrap'\n },\n multiValue: {\n margin: theme.spacing(0.5, 0.5),\n maxWidth: 'calc(100% - 8px)'\n },\n multiValue__label: {\n paddingRight: 0,\n marginRight: 12,\n maxWidth: '100%',\n overflow: 'hidden'\n },\n noOptionsMessage: {\n padding: theme.spacing(1, 2)\n },\n singleValue: {\n fontSize: 16,\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis',\n overflow: 'hidden'\n },\n placeholder: {\n position: 'absolute',\n left: 6,\n bottom: 10,\n fontSize: 16\n },\n menu: {\n zIndex: 40,\n marginTop: theme.spacing(1)\n },\n clearIndicator: {},\n dropdownIndicator: {},\n groupHeading: {\n paddingLeft: '28px'\n },\n option: {\n fontWeight: 400\n },\n 'option--selected': {\n fontWeight: 400\n },\n 'option--item': {\n display: 'block',\n width: '100%',\n textOverflow: 'ellipsis',\n overflow: 'hidden'\n }\n}));\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport skinComponents from './commonComponents';\nimport useStyles from './styles';\nimport {mergeClasses} from '../../core/utils';\n\nexport default function withMuiSkin(SelectComponent) {\n function WrappedSelectComponent(props) {\n const {\n components: componentsProp,\n classes: classesProp,\n error,\n TextFieldProps,\n innerRef,\n ...selectProps\n } = props;\n\n const skinClasses = useStyles();\n\n const components = {\n ...skinComponents,\n ...componentsProp\n };\n\n const classes = mergeClasses(skinClasses, classesProp);\n\n return (\n <SelectComponent\n ref={innerRef}\n components={components}\n classes={classes}\n TextFieldProps={{\n ...TextFieldProps,\n error\n }}\n {...selectProps}\n />\n );\n }\n\n WrappedSelectComponent.displayName = `withMuiSkin(${SelectComponent.displayName || SelectComponent.name})`;\n WrappedSelectComponent.defaultProps = {\n components: {},\n classes: {}\n };\n WrappedSelectComponent.propTypes = {\n /* You could redefine any of these components */\n components: PropTypes.shape({\n ClearIndicator: PropTypes.func,\n Control: PropTypes.func,\n DropdownIndicator: PropTypes.func,\n DownChevron: PropTypes.func,\n CrossIcon: PropTypes.func,\n Group: PropTypes.func,\n GroupHeading: PropTypes.func,\n IndicatorsContainer: PropTypes.func,\n IndicatorSeparator: PropTypes.func,\n Input: PropTypes.func,\n LoadingIndicator: PropTypes.func,\n Menu: PropTypes.func,\n MenuList: PropTypes.func,\n MenuPortal: PropTypes.func,\n LoadingMessage: PropTypes.func,\n NoOptionsMessage: PropTypes.func,\n MultiValue: PropTypes.func,\n MultiValueContainer: PropTypes.func,\n MultiValueLabel: PropTypes.func,\n MultiValueRemove: PropTypes.func,\n Option: PropTypes.func,\n Placeholder: PropTypes.func,\n SelectContainer: PropTypes.func,\n SingleValue: PropTypes.func,\n ValueContainer: PropTypes.func\n }),\n /* Classes are passed to mui skin components. Provided classes will be merged with existing ones. */\n classes: PropTypes.shape({\n control: PropTypes.string,\n valueContainer: PropTypes.string,\n multiValue: PropTypes.string,\n noOptionsMessage: PropTypes.string,\n singleValue: PropTypes.string,\n placeholder: PropTypes.string,\n menu: PropTypes.string,\n clearIndicator: PropTypes.string,\n dropdownIndicator: PropTypes.string,\n option: PropTypes.string,\n 'option--selected': PropTypes.string\n }),\n /* Props from https://material-ui.com/api/text-field/ */\n TextFieldProps: PropTypes.object,\n error: PropTypes.bool,\n /* Plus all necessary props for wrapped react-select component. See docs on https://react-select.com */\n innerRef: PropTypes.object\n };\n\n return WrappedSelectComponent;\n}\n","import React, {forwardRef} from 'react';\nimport IconButton, {IconButtonProps} from '@mui/material/IconButton';\nimport withStyles from '@mui/styles/withStyles';\n\nconst SIZES = {\n XXS: 'XXS',\n XS: 'XS',\n S: 'S',\n M: 'M',\n MPlus: 'MPlus',\n L: 'L',\n XL: 'XL'\n};\n\nconst styles = () => ({\n rootAll: {\n padding: '0'\n },\n rootXXS: {\n height: '16px',\n width: '16px'\n },\n iconXXS: {\n fontSize: '16px'\n },\n rootXS: {\n height: '20px',\n width: '20px'\n },\n iconXS: {\n fontSize: '20px'\n },\n rootS: {\n height: '24px',\n width: '24px'\n },\n iconS: {\n fontSize: '24px'\n },\n rootM: {\n height: '30px',\n width: '30px'\n },\n rootMPlus: {\n height: '36px',\n width: '36px'\n },\n rootL: {\n height: '40px',\n width: '40px'\n },\n rootXL: {\n height: '48px',\n width: '48px'\n },\n disabled: {\n fillOpacity: 0.5\n }\n});\n\ntype Props = Omit<IconButtonProps, 'classes' | 'size'> & {\n classes: IconButtonProps['classes'];\n iconClassName?: string;\n icon?: React.ElementType;\n size?: keyof typeof SIZES;\n};\n\nconst SmallIconButton = forwardRef((props: Props, ref: React.Ref<HTMLButtonElement>) => {\n const {classes, className, onClick, icon: Icon, size = SIZES.XS, iconClassName, ...extraProps} = props;\n\n return (\n <IconButton\n ref={ref}\n classes={{root: `${classes[`root${size}`]} ${classes['rootAll']}`, disabled: classes.disabled}}\n onClick={onClick}\n className={className}\n {...extraProps}\n size=\"large\"\n >\n {Icon && <Icon classes={{root: classes[`icon${size}`]}} className={iconClassName} />}\n </IconButton>\n );\n});\n\nSmallIconButton.displayName = 'SmallIconButton';\n\nexport default withStyles(styles)(SmallIconButton);\n","import {withTooltip} from '../../HOCs';\nimport SmallIconButton from './SmallIconButton';\n\nconst SmallIconButtonWithTooltip = withTooltip(SmallIconButton);\n\nexport {SmallIconButton, SmallIconButtonWithTooltip};\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport classnames from 'classnames';\nimport ArrowDropDownIcon from '@mui/icons-material/ArrowDropDown';\nimport {useArrowIndicatorStyles} from './arrowIndicatorStyles';\n\nconst DropdownIndicator = (props) => {\n const {\n selectProps: {classes, menuIsOpen, isDisabled},\n innerProps\n } = props;\n\n const styles = useArrowIndicatorStyles();\n\n return (\n <ArrowDropDownIcon\n data-reltio-id=\"select-dropdown-indicator\"\n {...innerProps}\n className={classnames(\n classes.dropdownIndicator,\n {[styles.expanded]: menuIsOpen},\n {[styles.disabled]: isDisabled}\n )}\n />\n );\n};\n\nDropdownIndicator.propTypes = {\n innerProps: PropTypes.object.isRequired,\n selectProps: PropTypes.shape({\n classes: PropTypes.shape({\n dropdownIndicator: PropTypes.string\n }).isRequired,\n menuIsOpen: PropTypes.bool.isRequired,\n isDisabled: PropTypes.bool\n }).isRequired\n};\n\nexport default DropdownIndicator;\n","import {makeStyles} from '@mui/styles';\n\nexport const useMenuStyles = makeStyles({\n popper: {\n borderRadius: '4px',\n boxShadow: '0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2)',\n backgroundColor: '#FFFFFF',\n margin: 0,\n zIndex: 10000\n }\n});\n","import React, {useContext, useEffect, useState} from 'react';\nimport PropTypes from 'prop-types';\nimport {prop} from 'ramda';\nimport {nanoid} from 'nanoid';\nimport Popper from '../Popper/Popper';\nimport Paper from '@mui/material/Paper';\nimport {useMenuStyles} from './menuStyles';\nimport {PopupBoundariesContext} from '../../contexts/PopupBoundariesContext';\n\nconst DEFAULT_MAX_WIDTH = 521;\n\nconst MenuWithPopper = (props) => {\n const {\n selectProps: {inputRef, menuIsOpen, inputValue},\n innerRef,\n children,\n innerProps\n } = props;\n\n const [key, setKey] = useState('id');\n\n useEffect(() => {\n setKey(nanoid());\n }, [inputValue]);\n\n const styles = useMenuStyles();\n\n const popupBoundariesContext = useContext(PopupBoundariesContext);\n const hasBoundariesElement = Boolean(popupBoundariesContext?.element);\n const boundariesWidth = hasBoundariesElement ? popupBoundariesContext.element.clientWidth : window.innerWidth;\n return (\n <Popper\n anchorEl={inputRef.current}\n open={menuIsOpen}\n className={styles.popper}\n key={key}\n modifiers={[\n {\n name: 'preventOverflow',\n enabled: true,\n options: {\n altAxis: true,\n altBoundary: true,\n tether: false,\n boundary: hasBoundariesElement ? popupBoundariesContext.element : document.body,\n padding: 5\n }\n }\n ]}\n placement=\"bottom-start\"\n >\n <Paper\n ref={innerRef}\n style={{\n minWidth: Math.min(prop('clientWidth', inputRef.current), boundariesWidth),\n maxWidth: Math.min(DEFAULT_MAX_WIDTH, boundariesWidth)\n }}\n {...innerProps}\n >\n {children}\n </Paper>\n </Popper>\n );\n};\n\nMenuWithPopper.propTypes = {\n children: PropTypes.oneOfType([PropTypes.element, PropTypes.array]).isRequired,\n selectProps: PropTypes.shape({\n inputRef: PropTypes.object.isRequired,\n menuIsOpen: PropTypes.bool.isRequired,\n inputValue: PropTypes.string\n }).isRequired,\n innerRef: PropTypes.oneOfType([\n PropTypes.oneOf([null]),\n PropTypes.func,\n PropTypes.shape({\n current: PropTypes.any.isRequired\n })\n ]).isRequired,\n innerProps: PropTypes.object.isRequired\n};\n\nexport default MenuWithPopper;\n","import {makeStyles} from '@mui/styles';\n\nexport const useArrowIndicatorStyles = makeStyles((theme) => ({\n expanded: {\n transform: 'rotate(180deg)'\n },\n disabled: {\n color: `${theme.palette.text.disabled} !important`\n }\n}));\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles({\n adornedEnd: {\n paddingRight: 4,\n marginLeft: '-10px'\n },\n inputRoot: {\n fontSize: '14px',\n letterSpacing: 0,\n lineHeight: '16px',\n overflow: 'hidden'\n },\n isCrossedOut: {\n textDecoration: 'line-through'\n }\n});\n","import React, {useMemo} from 'react';\nimport i18n from 'ui-i18n';\nimport classnames from 'classnames';\nimport {mergeDeepLeft, isNil, pipe, when, both} from 'ramda';\nimport moment, {Moment} from 'moment';\nimport {debounce, utils} from '@reltio/mdm-sdk';\nimport {DatePicker, DatePickerProps} from '@mui/x-date-pickers/DatePicker';\nimport {DateValidationError} from '@mui/x-date-pickers';\nimport {DEFAULT_MAX_DATE, DEFAULT_MIN_DATE} from '../constants';\n\nimport {useStyles} from './styles';\n\ntype DateEditorProps = Omit<DatePickerProps<Moment>, 'value' | 'minDate' | 'maxDate' | 'onChange'> & {\n minDate?: Date | number;\n maxDate?: Date | number;\n value?: Date | number;\n onChange: (value: Date) => void;\n isCrossedOut?: boolean;\n};\n\nconst DateEditor = ({\n value,\n minDate = DEFAULT_MIN_DATE,\n maxDate = DEFAULT_MAX_DATE,\n format,\n label,\n onChange,\n slotProps,\n isCrossedOut,\n ...otherProps\n}: DateEditorProps) => {\n const styles = useStyles();\n const [error, setError] = React.useState<DateValidationError | null>(null);\n const errorMessage = useMemo(() => {\n switch (error) {\n case 'maxDate':\n return i18n.text('Date should not be after maximal date');\n case 'minDate':\n return i18n.text('Date should not be before minimal date');\n case 'invalidDate':\n return i18n.text('Invalid Date Format');\n default:\n return '';\n }\n }, [error]);\n\n const editorValue = isNil(value) ? null : moment(value);\n const editorMinDate = isNil(minDate) ? null : moment(minDate);\n const editorMaxDate = isNil(maxDate) ? null : moment(maxDate);\n const dateFormat = format || moment.localeData().longDateFormat('L');\n\n // TODO: Fix types for InputProps/InputLabelProps in slotProps.textField\n const editorSlotProps = mergeDeepLeft(slotProps, {\n textField: {\n size: 'small',\n variant: 'filled',\n helperText: errorMessage,\n InputProps: {\n classes: {\n root: classnames(styles.inputRoot, {[styles.isCrossedOut]: isCrossedOut})\n },\n disableUnderline: isNil(editorValue)\n },\n InputLabelProps: {\n shrink: !isNil(label)\n }\n },\n popper: {\n placement: 'bottom-start'\n },\n inputAdornment: {\n position: 'end',\n className: styles.adornedEnd\n }\n });\n\n return (\n <DatePicker<Moment>\n format={dateFormat}\n slotProps={editorSlotProps}\n views={['year', 'month', 'day']}\n label={label}\n value={editorValue}\n minDate={editorMinDate}\n maxDate={editorMaxDate}\n onError={(newError) => setError(newError)}\n onChange={debounce(\n when(\n both(utils.dates.isValidMomentDateOrNull, utils.dates.isDateInRange(minDate, maxDate)),\n pipe(utils.dates.momentToDate, utils.dates.clearDateTime, onChange)\n ),\n 0\n )}\n {...otherProps}\n />\n );\n};\n\nexport default DateEditor;\n","import {makeStyles} from '@mui/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n iconButtonRoot: {\n padding: 8\n },\n underline: {\n '&:after': {\n transform: 'scaleX(1)'\n }\n },\n inputLabel: {\n color: theme.palette.primary.main\n },\n adornedEnd: {\n paddingRight: 4\n },\n inputRoot: {\n '& > input': {\n textTransform: 'uppercase'\n },\n fontSize: '14px',\n letterSpacing: 0,\n lineHeight: '16px'\n },\n isCrossedOut: {\n textDecoration: 'line-through'\n }\n}));\n","import React, {useMemo} from 'react';\nimport i18n from 'ui-i18n';\nimport classnames from 'classnames';\nimport {mergeDeepLeft, isNil, pipe, when, both} from 'ramda';\nimport moment, {Moment} from 'moment';\nimport {getLocaleFormat, utils} from '@reltio/mdm-sdk';\nimport {DateTimePicker, DateTimePickerProps} from '@mui/x-date-pickers/DateTimePicker';\nimport {renderTimeViewClock} from '@mui/x-date-pickers/timeViewRenderers';\nimport {DateTimeValidationError} from '@mui/x-date-pickers/';\nimport {DEFAULT_MAX_DATE, DEFAULT_MIN_DATE} from '../constants';\n\nimport {useStyles} from './styles';\n\ntype TimestampEditorProps = Omit<DateTimePickerProps<Moment>, 'value' | 'minDate' | 'maxDate' | 'onChange'> & {\n minDate?: Date | number;\n maxDate?: Date | number;\n value?: Date | number;\n onChange: (value: Date) => void;\n isCrossedOut?: boolean;\n};\n\nconst TimestampEditor = ({\n value,\n minDate = DEFAULT_MIN_DATE,\n maxDate = DEFAULT_MAX_DATE,\n label,\n slotProps,\n onChange,\n format,\n isCrossedOut,\n ...otherProps\n}: TimestampEditorProps) => {\n const styles = useStyles();\n\n const [error, setError] = React.useState<DateTimeValidationError | null>(null);\n const errorMessage = useMemo(() => {\n switch (error) {\n case 'maxDate':\n return i18n.text('Date should not be after maximal date');\n case 'minDate':\n return i18n.text('Date should not be before minimal date');\n case 'invalidDate':\n return i18n.text('Invalid Date Format');\n default:\n return '';\n }\n }, [error]);\n\n const editorValue = isNil(value) ? null : moment(value);\n const editorMinDate = isNil(minDate) ? null : moment(minDate);\n const editorMaxDate = isNil(maxDate) ? null : moment(maxDate);\n const timestampFormat = format || getLocaleFormat();\n\n // TODO: Fix types for InputProps/InputLabelProps in slotProps.textField\n const editorSlotProps = mergeDeepLeft(slotProps, {\n textField: {\n size: 'small',\n variant: 'filled',\n helperText: errorMessage,\n InputProps: {\n classes: {\n root: classnames(styles.inputRoot, {[styles.isCrossedOut]: isCrossedOut})\n },\n disableUnderline: isNil(editorValue)\n },\n InputLabelProps: {\n shrink: !isNil(label)\n }\n },\n popper: {\n placement: 'bottom-start'\n },\n inputAdornment: {\n position: 'end',\n className: styles.adornedEnd\n }\n });\n\n return (\n <DateTimePicker<Moment>\n format={timestampFormat}\n slotProps={editorSlotProps}\n views={['year', 'month', 'day', 'hours', 'minutes', 'seconds']}\n viewRenderers={{\n hours: renderTimeViewClock,\n minutes: renderTimeViewClock,\n seconds: renderTimeViewClock\n }}\n label={label}\n value={editorValue}\n minDate={editorMinDate}\n maxDate={editorMaxDate}\n onError={(newError) => setError(newError)}\n onChange={when(\n both(utils.dates.isValidMomentDateOrNull, utils.dates.isDateInRange(minDate, maxDate)),\n pipe(utils.dates.momentToDate, onChange)\n )}\n {...otherProps}\n />\n );\n};\n\nexport default TimestampEditor;\n","import {TextFieldProps} from '@mui/material/TextField';\nimport {makeStyles} from '@mui/styles';\n\nexport const DEFAULT_MIN_DATE = new Date('1900-01-01');\nexport const DEFAULT_MAX_DATE = new Date('2099-12-31');\n\nexport const commonTextFieldProps: TextFieldProps = {\n variant: 'filled',\n size: 'small',\n InputProps: {\n hiddenLabel: true\n }\n};\n\nexport const useInputStyles = makeStyles({\n filledInputUnderline: {\n '&:before': {\n display: 'none'\n }\n },\n marginDense: {\n margin: 0\n }\n});\n\nexport const useSelectStyles = makeStyles({\n root: {\n paddingRight: '48px !important'\n },\n icon: {\n right: '12px'\n }\n});\n","import {createContext} from '@fluentui/react-context-selector';\nimport {\n Metadata,\n SearchState,\n AttributePresentations,\n Entity,\n Mode,\n AttributeType,\n AttributeError,\n ImageAttributeValue,\n SortingStrategy,\n DependentLookupsConfig,\n PivotingValue,\n PivotingAttribute,\n DataTenant,\n HistoryDiff,\n ImageAttributeFieldsOrder,\n Connection,\n User,\n SearchNavigationData,\n SearchProviderData,\n Lookups,\n HistoryMode,\n HistorySlice,\n HistoryEvent,\n RequestNextPageOfAttributeValuesPayload,\n LookupsForTypeResolvedPayload,\n RelationsLoadedPayload,\n CompactRelationType,\n AddAttributesPayload,\n ModifyAttributePayload,\n RemoveAttributePayload,\n RelationsState,\n DependentLookupsState,\n ActivityFilter,\n SearchOptions,\n GlobalFilter\n} from '@reltio/mdm-sdk';\nimport {AnyAction} from '../../types';\n\nexport type MdmModuleValuesContextProps = Partial<{\n autoCloseInterval: number;\n uiError: string;\n workflowEnvironmentUrl: string;\n exportPath: string;\n absoluteImagePath: string;\n uiPath: string;\n dtssPath: string;\n servicesPath: string;\n workflowPath: string;\n imageServicePath: string;\n reltioPath: string;\n apiPath: string;\n collaborationPath: string;\n imageAttributesFieldsOrder: ImageAttributeFieldsOrder;\n showEntityId: boolean;\n pivotingAttributes: PivotingAttribute[];\n dateMask: string;\n dateTimeMask: string;\n attributePresentations: AttributePresentations;\n defaultMaxValues: number;\n attributesSortingStrategy: SortingStrategy;\n lookupAutocomplete: DependentLookupsConfig;\n modifiedEntities: Record<string, Entity>;\n relations: RelationsState;\n profileErrors: AttributeError[];\n entity: Entity;\n entityWithDiff: Entity;\n entityUriWithDataTenant: string;\n mode: Mode;\n isViewMode: boolean;\n isEditableMode: boolean;\n historyDiff: HistoryDiff;\n historyMode: HistoryMode;\n historySlice: HistorySlice;\n historyEvent: HistoryEvent;\n profileLastLoadedTime: number;\n lookups: Lookups;\n dependentLookups: DependentLookupsState;\n metadata: Metadata;\n user: Partial<User>;\n tenant: DataTenant;\n environment: string;\n dataTenants: DataTenant[];\n searchOptions: SearchOptions;\n activityFilter: ActivityFilter;\n globalFilter: GlobalFilter;\n searchNavigationData: SearchNavigationData;\n searchProviderData: SearchProviderData;\n isWorkflowEnabled: boolean;\n isCollaborationEnabled: boolean;\n}>;\n\nexport type MdmModuleActionsContextProps = Partial<{\n openSearch: (payload: SearchState) => void;\n openHistoryEvent: (payload: {entityUri: string; historyEvent: HistoryEvent}) => void;\n openConsoleApp: (name: string, path?: string, query?: string) => void;\n addAttributes: (payload: AddAttributesPayload) => void;\n modifyAttribute: (payload: ModifyAttributePayload) => void;\n removeAttribute: (payload: RemoveAttributePayload) => void;\n entityDeleted: (payload: string) => void;\n entityCreated: (payload: Entity) => void;\n errorDeactivated: (id: string) => void;\n requestNextPageOfAttributeValues: (payload: RequestNextPageOfAttributeValuesPayload) => void;\n openEntity: (payload: {uri: string; viewId: string | null; source?: string | null; screen?: string}) => void;\n setDefaultProfilePicForModifiedEntity: (payload: {entityUri: string; value: ImageAttributeValue}) => void;\n setDefaultProfilePicForEntity: (payload: ImageAttributeValue | string) => void;\n dependentLookupsEditorTouched: (payload: {uri: string; isTouched: boolean}) => void;\n openPivotingPerspective: (payload: {attributeType: AttributeType; value: PivotingValue[]}) => void;\n lookupsLoaded: (lookups: Lookups) => void;\n lookupsForTypeResolved: (payload: LookupsForTypeResolvedPayload) => void;\n errorSet: (payload: string) => void;\n setHistoryMode: (payload: HistoryMode) => void;\n modeUpdated: (payload: Mode) => void;\n setHistoryEvent: (payload: HistoryEvent) => void;\n clearHistoryEvent: () => void;\n setHistoryDiff: (payload: HistoryDiff) => void;\n setHistorySlice: (payload: HistorySlice) => void;\n updateSearchNavigationDataFields: (payload: Partial<SearchNavigationData>) => void;\n openPerspective: (payload: {perspectiveId: string; viewId: string}) => void;\n entityDeletionFinished: () => void;\n loadEntity: (payload: {viewId?: string; uri: string}) => void;\n updateSearchNavigationDataOnMerge: (payload: {winnerUri: string; losersUris: string[]}) => void;\n lookupsListResolved: (payload: Lookups[]) => void;\n relationsLoaded: (payload: RelationsLoadedPayload) => void;\n setInitialInfo: (id: string, relationUri: string, tempEntity: Entity, connection: Connection) => void;\n setRelationType: (id: string, relationUri: string, relationType: CompactRelationType) => void;\n closeRelationEditor: (id: string, relationUri: string) => void;\n openRelationEditor: (id: string, connection: Connection) => void;\n setRelationEntity: (id: string, relationUri: string, entityInfo: Entity) => void;\n errorsSet: (payload: AttributeError[]) => void;\n addRelation: (id: string, connection: Connection) => void;\n editRelation: (id: string, connection: Connection) => void;\n}>;\n\nexport type MdmModuleListenersContextProps = Partial<{\n expandInvalidRelatonsListener: (callback: () => void) => (action: any) => void;\n searchNavigationListener: (action: AnyAction, state: any, dispatch: (action: AnyAction) => void) => void;\n}>;\n\nexport const MdmModuleActionsContext = createContext<MdmModuleActionsContextProps>({});\nexport const MdmModuleValuesContext = createContext<MdmModuleValuesContextProps>({});\nexport const MdmModuleListenersContext = createContext<MdmModuleListenersContextProps>({});\n","import {defaultTo, isNil, map, path, pipe, prepend, reject, uniq, prop, equals} from 'ramda';\nimport {\n DependentLookupsStructureNode,\n SimpleAttributeValue,\n DependentLookupsParentForApi,\n DependentLookupsStructureNodeValue,\n areOneHierarchyUris,\n filterRelatedParentValuesForDependentLookupValueUri,\n getAttributeValuePath,\n getBaseUri,\n getParentUri,\n isDependentLookupAttrType,\n getDependentLookupsStructureNode,\n getDependentLookupEditorState,\n getAllRelationsToAddAndEdit,\n AttributeType,\n DependentLookupsState,\n Metadata,\n Entity,\n RelationsState\n} from '@reltio/mdm-sdk';\nimport i18n from 'ui-i18n';\n\ntype ExtendedParentValue = DependentLookupsStructureNodeValue & {type: string; dependentLookupCode: string};\n\ntype DependentLookupEditorContext = {\n parents: DependentLookupsParentForApi[];\n disabled: boolean;\n placeholder: string;\n value?: null;\n};\n\nconst DLEditorContextCache: Record<string, DependentLookupEditorContext> = {};\n\nexport const fromCache = (valueUri: string, context: DependentLookupEditorContext) => {\n const cachedContext = DLEditorContextCache[valueUri];\n if (equals(context, cachedContext)) {\n return cachedContext;\n } else {\n if (equals(cachedContext?.parents, context.parents)) {\n context.parents = cachedContext.parents;\n }\n DLEditorContextCache[valueUri] = context;\n return context;\n }\n};\n\nconst joinWords = (words: string[]) =>\n words.reduce((result, word, i) => [result, word].join(i === words.length - 1 ? ` ${i18n.text('and')} ` : ', '));\n\nexport const buildMissedParentsMessage = (missedAttributeTypes: AttributeType[]) => {\n if (!missedAttributeTypes.length) return '';\n return i18n.text('Please select value for ${labels} ${attributes}.', {\n labels: joinWords(missedAttributeTypes.map(pipe(prop('label'), (label) => `'${label}'`))),\n attributes: missedAttributeTypes.length === 1 ? i18n.text('attribute') : i18n.text('attributes')\n });\n};\n\nconst getTypesMapKey = (parent: ExtendedParentValue) => `${parent.type}_${getParentUri(parent.uri)}`;\n\ntype CommonProps = {\n dependentLookups: DependentLookupsState;\n metadata: Metadata;\n modifiedEntities: Record<string, Entity>;\n entityUri: string;\n relations: RelationsState;\n};\n\ntype GetParentsProps = CommonProps & {\n node: DependentLookupsStructureNode;\n valueUri: string;\n};\n\nconst getParents = ({\n dependentLookups,\n metadata,\n modifiedEntities,\n entityUri,\n relations,\n node,\n valueUri\n}: GetParentsProps) => {\n const parentNodesValues: ExtendedParentValue[] = node.parents.flatMap((type) => {\n const parentNode = getDependentLookupsStructureNode(dependentLookups, type);\n return parentNode.values.map((value) => ({\n ...value,\n type,\n dependentLookupCode: parentNode.attrType.dependentLookupCode\n }));\n });\n const connections = getAllRelationsToAddAndEdit(relations);\n const ownParentNodesValues = filterRelatedParentValuesForDependentLookupValueUri<ExtendedParentValue>({\n parentValues: parentNodesValues,\n valueUri,\n entityUri,\n modifiedEntities,\n connections\n });\n const possibleParentBaseTypeUris: string[] = pipe(\n getAttributeValuePath,\n defaultTo([]),\n map(pipe(path(['valueType', 'uri']), getBaseUri)),\n prepend(modifiedEntities[entityUri]?.type),\n reject(isNil),\n uniq\n )({entityUri, entitiesMap: modifiedEntities, connections, metadata}, valueUri);\n const neededParentsAttributeTypes = node.parents\n .filter((typeUri) => possibleParentBaseTypeUris.some(areOneHierarchyUris(typeUri)))\n .map((typeUri) => {\n const parentNode = getDependentLookupsStructureNode(dependentLookups, typeUri);\n return parentNode.attrType;\n });\n const missedParentsAttributeTypes = neededParentsAttributeTypes.filter(\n (attrType) => !ownParentNodesValues.some(({type, value}) => value && type === attrType.uri)\n );\n const parents = Object.values<DependentLookupsParentForApi>(\n ownParentNodesValues.reduce((typesMap, parent) => {\n const key = getTypesMapKey(parent);\n return {\n ...typesMap,\n [key]: {\n type: parent.dependentLookupCode,\n codeValues: uniq([parent.value, ...(typesMap[key]?.codeValues || [])])\n .filter(Boolean)\n .sort()\n }\n };\n }, {})\n ).filter((item) => !!item.codeValues.length);\n return {parents, missedParentsAttributeTypes};\n};\n\ntype GetDependentLookupEditorContextProps = CommonProps & {\n attributeValue: SimpleAttributeValue;\n attributeType: AttributeType;\n};\n\nexport const getDependentLookupEditorContext = ({\n dependentLookups,\n metadata,\n modifiedEntities,\n entityUri,\n relations,\n attributeValue,\n attributeType\n}: GetDependentLookupEditorContextProps) => {\n if (!isDependentLookupAttrType(attributeType)) {\n return null;\n }\n\n const attributeTypeUri = attributeType.uri;\n\n const node: DependentLookupsStructureNode = getDependentLookupsStructureNode(dependentLookups, attributeTypeUri);\n\n if (node) {\n const valueUri = attributeValue.uri;\n const {parents, missedParentsAttributeTypes} = getParents({\n dependentLookups,\n metadata,\n modifiedEntities,\n entityUri,\n relations,\n valueUri,\n node\n });\n const {isBlocked = false} = getDependentLookupEditorState(dependentLookups, valueUri) || {};\n const missedParentsMessage = buildMissedParentsMessage(missedParentsAttributeTypes);\n const isEmptyValue = !attributeValue?.lookupCode && !attributeValue?.value;\n const placeholder =\n (isEmptyValue && isBlocked && i18n.text('Populating values...')) ||\n (isEmptyValue && missedParentsMessage) ||\n '';\n const context: DependentLookupEditorContext = {\n parents: missedParentsMessage ? null : parents,\n disabled: (!!missedParentsMessage && isEmptyValue) || isBlocked,\n placeholder\n };\n if (placeholder) {\n context.value = null;\n }\n return fromCache(valueUri, context);\n }\n};\n","import {useContextSelector, ContextSelector} from '@fluentui/react-context-selector';\nimport {\n isEditableMode as checkIsEditableMode,\n isViewMode as checkIsViewMode,\n getDependentLookupsStructureNode,\n getDependentLookupEditorState,\n getAllRelationsToAddAndEdit,\n getInitialConnection,\n getInitialConnectionTempEntity,\n AttributeType,\n getCachedActiveErrorsForAttributesPager,\n getGlobalSearchRequestOptions,\n SimpleAttributeValue,\n getDraftsByViewId\n} from '@reltio/mdm-sdk';\nimport {\n MdmModuleActionsContext,\n MdmModuleActionsContextProps,\n MdmModuleListenersContext,\n MdmModuleListenersContextProps,\n MdmModuleValuesContext,\n MdmModuleValuesContextProps\n} from './context';\nimport {getDependentLookupEditorContext} from './selectors/dependentLookupEditorContext';\nimport {getModifiedEntity, getModifiedEntityDefaultProfilePic} from './selectors/entity';\n\nconst useMdmModuleActionsContext = <T>(selector: ContextSelector<MdmModuleActionsContextProps, T>) =>\n useContextSelector(MdmModuleActionsContext, selector);\n\nconst useMdmModuleValuesContext = <T>(selector: ContextSelector<MdmModuleValuesContextProps, T>) =>\n useContextSelector(MdmModuleValuesContext, selector);\n\nconst useMdmModuleListenersContext = <T>(selector: ContextSelector<MdmModuleListenersContextProps, T>) =>\n useContextSelector(MdmModuleListenersContext, selector);\n\nexport const useMdmAutoCloseInterval = () => useMdmModuleValuesContext((context) => context.autoCloseInterval);\nexport const useMdmUiError = () => useMdmModuleValuesContext((context) => context.uiError);\nexport const useMdmWorkflowEnvironmentUrl = () =>\n useMdmModuleValuesContext((context) => context.workflowEnvironmentUrl);\nexport const useMdmExportPath = () => useMdmModuleValuesContext((context) => context.exportPath);\nexport const useMdmAbsoluteImagePath = () => useMdmModuleValuesContext((context) => context.absoluteImagePath);\nexport const useMdmUiPath = () => useMdmModuleValuesContext((context) => context.uiPath);\nexport const useMdmDtssPath = () => useMdmModuleValuesContext((context) => context.dtssPath);\nexport const useMdmServicesPath = () => useMdmModuleValuesContext((context) => context.servicesPath);\nexport const useMdmWorkflowPath = () => useMdmModuleValuesContext((context) => context.workflowPath);\nexport const useMdmImageServicePath = () => useMdmModuleValuesContext((context) => context.imageServicePath);\nexport const useMdmReltioPath = () => useMdmModuleValuesContext((context) => context.reltioPath);\nexport const useMdmApiPath = () => useMdmModuleValuesContext((context) => context.apiPath);\nexport const useMdmCollaborationPath = () => useMdmModuleValuesContext((context) => context.collaborationPath);\nexport const useMdmImageAttributesFieldsOrder = () =>\n useMdmModuleValuesContext((context) => context.imageAttributesFieldsOrder);\nexport const useMdmShowEntityId = () => useMdmModuleValuesContext((context) => context.showEntityId);\nexport const useMdmPivotingAttributes = () => useMdmModuleValuesContext((context) => context.pivotingAttributes);\nexport const useMdmDateMask = () => useMdmModuleValuesContext((context) => context.dateMask);\nexport const useMdmDateTimeMask = () => useMdmModuleValuesContext((context) => context.dateTimeMask);\nexport const useMdmAttributePresentations = () =>\n useMdmModuleValuesContext((context) => context.attributePresentations);\nexport const useMdmDefaultMaxValues = () => useMdmModuleValuesContext((context) => context.defaultMaxValues);\nexport const useMdmAttributesSortingStrategy = () =>\n useMdmModuleValuesContext((context) => context.attributesSortingStrategy);\nexport const useMdmLookupAutocomplete = () => useMdmModuleValuesContext((context) => context.lookupAutocomplete);\nexport const useMdmModifiedEntities = () => useMdmModuleValuesContext((context) => context.modifiedEntities);\nexport const useMdmEntity = () => useMdmModuleValuesContext((context) => context.entity);\nexport const useMdmEntityUri = () => useMdmModuleValuesContext((context) => context.entity?.uri);\nexport const useMdmEntityWithDiff = () => useMdmModuleValuesContext((context) => context.entityWithDiff);\nexport const useMdmEntityUriWithDataTenant = () =>\n useMdmModuleValuesContext((context) => context.entityUriWithDataTenant);\nexport const useMdmMode = () => useMdmModuleValuesContext((context) => context.mode);\nexport const useMdmIsViewMode = () => useMdmModuleValuesContext((context) => checkIsViewMode(context.mode));\nexport const useMdmIsEditableMode = () => useMdmModuleValuesContext((context) => checkIsEditableMode(context.mode));\nexport const useMdmHistoryDiff = () => useMdmModuleValuesContext((context) => context.historyDiff);\nexport const useMdmHistoryMode = () => useMdmModuleValuesContext((context) => context.historyMode);\nexport const useMdmHistorySlice = () => useMdmModuleValuesContext((context) => context.historySlice);\nexport const useMdmHistoryEvent = () => useMdmModuleValuesContext((context) => context.historyEvent);\nexport const useMdmProfileLastLoadedTime = () => useMdmModuleValuesContext((context) => context.profileLastLoadedTime);\nexport const useMdmLookups = () => useMdmModuleValuesContext((context) => context.lookups);\nexport const useMdmDependentLookups = () => useMdmModuleValuesContext((context) => context.dependentLookups);\nexport const useMdmMetadata = () => useMdmModuleValuesContext((context) => context.metadata);\nexport const useMdmUser = () => useMdmModuleValuesContext((context) => context.user);\nexport const useMdmUsername = () => useMdmModuleValuesContext((context) => context.user?.username);\nexport const useMdmUserRoles = () => useMdmModuleValuesContext((context) => context.user?.roles);\nexport const useMdmTenantObject = () => useMdmModuleValuesContext((context) => context.tenant);\nexport const useMdmTenant = () => useMdmModuleValuesContext((context) => context.tenant?.id);\nexport const useMdmTenantName = () => useMdmModuleValuesContext((context) => context.tenant?.name);\nexport const useMdmEnvironment = () => useMdmModuleValuesContext((context) => context.environment);\nexport const useMdmDataTenants = () => useMdmModuleValuesContext((context) => context.dataTenants);\nexport const useMdmSearchNavigationData = () => useMdmModuleValuesContext((context) => context.searchNavigationData);\nexport const useMdmSearchProviderData = () => useMdmModuleValuesContext((context) => context.searchProviderData);\nexport const useMdmIsCollaborationEnabled = () =>\n useMdmModuleValuesContext((context) => context.isCollaborationEnabled);\nexport const useMdmIsWorkflowEnabled = () => useMdmModuleValuesContext((context) => context.isWorkflowEnabled);\nexport const useMdmProfileErrors = () => useMdmModuleValuesContext((context) => context.profileErrors);\n\nexport const useMdmModifiedEntityDefaultProfilePic = (entityUri: string) => {\n return useMdmModuleValuesContext((context) =>\n getModifiedEntityDefaultProfilePic(context.modifiedEntities, entityUri)\n );\n};\n\nexport const useMdmModifiedEntity = (entityUri: string) => {\n return useMdmModuleValuesContext((context) => getModifiedEntity(context.modifiedEntities, entityUri));\n};\n\nexport const useMdmInitialConnectionTempEntity = (viewId: string, relationUri: string) => {\n return useMdmModuleValuesContext((context) =>\n getInitialConnectionTempEntity(context.relations, viewId, relationUri)\n );\n};\n\nexport const useMdmInitialConnection = (viewId: string, relationUri: string) => {\n return useMdmModuleValuesContext((context) => getInitialConnection(context.relations, viewId, relationUri));\n};\n\nexport const useMdmDependentLookupEditorState = (valueUri: string) => {\n return useMdmModuleValuesContext((context) => getDependentLookupEditorState(context.dependentLookups, valueUri));\n};\n\nexport const useMdmActiveErrorsForAttributesPager = (parentUri: string, attributeType: AttributeType) => {\n return useMdmModuleValuesContext((context) =>\n getCachedActiveErrorsForAttributesPager(context.profileErrors, parentUri, attributeType)\n );\n};\n\nexport const useMdmDependentLookupsStructureNode = (attributeTypeUri: string) => {\n return useMdmModuleValuesContext((context) =>\n getDependentLookupsStructureNode(context.dependentLookups, attributeTypeUri)\n );\n};\n\nexport const useMdmAllRelationsToAddAndEdit = (viewIds?: string[]) => {\n return useMdmModuleValuesContext((context) => getAllRelationsToAddAndEdit(context.relations, viewIds));\n};\n\nexport const useMdmRelationsDrafts = (viewId: string) => {\n return useMdmModuleValuesContext((context) => getDraftsByViewId(context.relations, viewId));\n};\n\nexport const useMdmDependentLookupEditorContext = (\n attributeValue: SimpleAttributeValue,\n attributeType: AttributeType\n) => {\n const value = useMdmModuleValuesContext((context) =>\n getDependentLookupEditorContext({\n dependentLookups: context.dependentLookups,\n metadata: context.metadata,\n relations: context.relations,\n modifiedEntities: context.modifiedEntities,\n entityUri: context.entity?.uri,\n attributeValue,\n attributeType\n })\n );\n return value;\n};\n\nexport const useMdmGlobalSearchRequestOptions = (omittingFields?: string[]) => {\n return useMdmModuleValuesContext((context) =>\n getGlobalSearchRequestOptions(\n {\n activityFilter: context.activityFilter,\n globalFilter: context.globalFilter,\n searchOptions: context.searchOptions\n },\n omittingFields\n )\n );\n};\n\nexport const useMdmAction = <T extends keyof MdmModuleActionsContextProps>(action: T) => {\n return useMdmModuleActionsContext((context) => context[action]);\n};\n\nexport const useMdmListener = <T extends keyof MdmModuleListenersContextProps>(listener: T) => {\n return useMdmModuleListenersContext((context) => context[listener]);\n};\n","import {Entity} from '@reltio/mdm-sdk';\n\nexport const getModifiedEntity = (modifiedEntities: Record<string, Entity>, entityUri: string) =>\n entityUri && modifiedEntities[entityUri];\n\nexport const getModifiedEntityDefaultProfilePic = (state: Record<string, Entity>, uri: string) =>\n uri && state[uri] && state[uri].defaultProfilePic;","import React from 'react';\nimport PropTypes from 'prop-types';\n\nexport const PopupBoundariesContext = React.createContext(null);\nPopupBoundariesContext.Provider.propTypes = {\n value: PropTypes.shape({\n element: PropTypes.instanceOf(Element),\n priority: PropTypes.arrayOf(PropTypes.oneOf(['left', 'right', 'top', 'bottom']))\n })\n};\n\nPopupBoundariesContext.displayName = 'PopupBoundariesContext';\n","import {compose, either, includes, path, union} from 'ramda';\nimport classNames from 'classnames';\n\nconst getValue = (e) => e.target.value;\nconst getChecked = (e) => e.target.checked;\nconst stopPropagation = (e) => e.stopPropagation();\n\nconst noop = () => {};\nconst EmptyStub = () => null;\nconst mergeClasses = (classes, other) => {\n return union(Object.keys(classes), Object.keys(other)).reduce(\n (merged, key) => ({\n ...merged,\n [key]: classNames(classes[key], other[key])\n }),\n {}\n );\n};\n\nconst isIE = () => compose(either(includes('MSIE '), includes('Trident/')), path(['navigator', 'userAgent']))(window);\n\nconst createStandardAction = (type) => (payload) => ({\n type,\n payload\n});\n\nconst toggleSortOrder = (order) => (order === 'asc' ? 'desc' : 'asc');\n\nconst parseJSON = (value) => {\n try {\n return JSON.parse(value);\n } catch {\n return undefined;\n }\n};\n\nexport {\n getValue,\n getChecked,\n stopPropagation,\n noop,\n EmptyStub,\n mergeClasses,\n isIE,\n createStandardAction,\n toggleSortOrder,\n parseJSON\n};\n","import {useEffect, useRef} from 'react';\n\nexport const useDidUpdateEffect = (fn, inputs) => {\n const didMountRef = useRef(false);\n\n useEffect(() => {\n if (didMountRef.current) fn();\n else didMountRef.current = true;\n }, inputs); //eslint-disable-line\n};\n","import {useEffect, useRef} from 'react';\n\nexport const usePrevious = <T>(value: T): T | undefined => {\n const valueHolderRef = useRef<T>();\n useEffect(() => {\n valueHolderRef.current = value;\n }, [value]);\n return valueHolderRef.current;\n};\n","import {useRef, useCallback, useEffect} from 'react';\nimport {noop} from '../core';\n\nconst PromiseStub = new Promise(() => {});\n\ntype Options = {\n cancelPrevious?: boolean;\n cancelOnUnmount?: boolean;\n};\n\nexport const useSafePromise = ({cancelPrevious = true, cancelOnUnmount = true}: Options = {}) => {\n const cancelRef = useRef(noop);\n const cancelPromise = () => cancelRef.current();\n\n useEffect(\n () => () => {\n if (cancelOnUnmount) {\n cancelPromise();\n }\n },\n [] //eslint-disable-line\n );\n\n return useCallback(<T>(promise: Promise<T>) => {\n if (cancelPrevious) {\n cancelPromise();\n }\n return new Promise<T>((resolve, reject) => {\n cancelRef.current = () => reject('canceled');\n promise.then(resolve, reject);\n }).catch(function (error) {\n if (error === 'canceled') {\n return PromiseStub as Promise<T>;\n } else {\n throw error;\n }\n });\n }, []); //eslint-disable-line\n};\n"],"names":["tooltipTitle","PropTypes","tooltipPlacement","showForDisabled","popperProps","modifiers","name","options","altAxis","useStyles","makeStyles","theme","tooltip","wrapper","lineHeight","Component","WithTooltip","forwardRef","ref","componentProps","styles","Tooltip","title","placement","disableFocusListener","disableTouchListener","classes","PopperProps","className","renderWrappedComponent","displayName","propTypes","withTooltipPropTypes","props","width","height","viewBox","xmlns","stroke","strokeWidth","fill","fillRule","d","opacity","container","display","flexShrink","alignItems","paddingRight","paddingLeft","color","fontSize","smallIcon","text","message","other","classnames","errorBlock","fontFamily","minHeight","left","right","maxWidth","margin","zIndex","addError","RCErrorPopup","ErrorPopup","showErrorFromStore","errorSet","useMdmAction","autoCloseInterval","useMdmAutoCloseInterval","uiError","useMdmUiError","useEffect","i18n","Portal","document","body","path","popper","children","value","showOnExceededWidth","showOnExceededHeight","otherProps","tooltipStyles","childrenRef","useRef","isOverflowing","setIsOverflowing","useState","updateOverflowState","el","clientWidth","scrollWidth","clientHeight","scrollHeight","checkOverflow","current","handleWidth","handleHeight","onResize","refreshMode","refreshRate","level","style","marginLeft","resizeBackdrops","anchorEl","leftBackdropRef","rightBackdropRef","topBackdropRef","bottomBackdropRef","rafIdRef","lastResizeTimestamp","Date","now","rect","getBoundingClientRect","top","bottom","requestAnimationFrame","backdrop","position","Popper","open","modal","excludeAnchorFromBackdrop","onClose","noop","cancelAnimationFrame","onClick","withMuiSkin","Select","MultiValue","selectProps","removeProps","tabIndex","label","multiValue","onDelete","deleteIcon","marginRight","isFocused","onMouseDown","onTouchEnd","isRequired","Option","innerProps","innerRef","isSelected","classNames","option","selected","component","id","key","onMouseMove","onMouseOver","NoOptionsMessage","Typography","noOptionsMessage","InputComponent","React","Control","TextFieldProps","TextField","variant","fullWidth","InputProps","inputComponent","inputProps","control","inputRef","Menu","getStyles","Paper","menu","Placeholder","placeholder","SingleValue","singleValue","ValueContainer","isMulti","valueContainer","ClearIndicator","IconButton","clearIndicator","size","HighlightOff","DropdownIndicator","dropdownIndicator","ArrowDropDown","GroupHeading","groupHeading","padding","flexWrap","flex","overflow","spacing","multiValue__label","whiteSpace","textOverflow","marginTop","fontWeight","SelectComponent","WrappedSelectComponent","components","componentsProp","classesProp","error","skinClasses","skinComponents","mergeClasses","defaultProps","DownChevron","CrossIcon","Group","IndicatorsContainer","IndicatorSeparator","Input","LoadingIndicator","MenuList","MenuPortal","LoadingMessage","MultiValueContainer","MultiValueLabel","MultiValueRemove","SelectContainer","SIZES","XXS","XS","S","M","MPlus","L","XL","SmallIconButton","icon","Icon","iconClassName","extraProps","root","disabled","withStyles","rootAll","rootXXS","iconXXS","rootXS","iconXS","rootS","iconS","rootM","rootMPlus","rootL","rootXL","fillOpacity","SmallIconButtonWithTooltip","withTooltip","menuIsOpen","isDisabled","useArrowIndicatorStyles","expanded","useMenuStyles","borderRadius","boxShadow","backgroundColor","MenuWithPopper","inputValue","setKey","nanoid","popupBoundariesContext","useContext","PopupBoundariesContext","hasBoundariesElement","Boolean","element","boundariesWidth","window","innerWidth","enabled","altBoundary","tether","boundary","minWidth","Math","min","prop","transform","palette","adornedEnd","inputRoot","letterSpacing","isCrossedOut","textDecoration","minDate","DEFAULT_MIN_DATE","maxDate","DEFAULT_MAX_DATE","format","onChange","slotProps","setError","errorMessage","useMemo","editorValue","isNil","moment","editorMinDate","editorMaxDate","dateFormat","longDateFormat","editorSlotProps","mergeDeepLeft","textField","helperText","disableUnderline","InputLabelProps","shrink","inputAdornment","DatePicker","views","onError","newError","debounce","when","both","utils","pipe","iconButtonRoot","underline","inputLabel","primary","main","textTransform","timestampFormat","getLocaleFormat","DateTimePicker","viewRenderers","hours","renderTimeViewClock","minutes","seconds","commonTextFieldProps","hiddenLabel","useInputStyles","filledInputUnderline","marginDense","useSelectStyles","MdmModuleActionsContext","createContext","MdmModuleValuesContext","MdmModuleListenersContext","DLEditorContextCache","getDependentLookupEditorContext","dependentLookups","metadata","modifiedEntities","entityUri","relations","attributeValue","attributeType","isDependentLookupAttrType","attributeTypeUri","uri","node","getDependentLookupsStructureNode","valueUri","parents","missedParentsAttributeTypes","parentNodesValues","flatMap","type","parentNode","values","map","dependentLookupCode","attrType","connections","getAllRelationsToAddAndEdit","ownParentNodesValues","filterRelatedParentValuesForDependentLookupValueUri","parentValues","possibleParentBaseTypeUris","getAttributeValuePath","defaultTo","getBaseUri","prepend","reject","uniq","entitiesMap","filter","typeUri","some","areOneHierarchyUris","Object","reduce","typesMap","parent","getParentUri","getTypesMapKey","codeValues","sort","item","length","getParents","isBlocked","getDependentLookupEditorState","missedParentsMessage","missedAttributeTypes","labels","words","result","word","i","join","attributes","isEmptyValue","lookupCode","context","cachedContext","equals","fromCache","useMdmModuleValuesContext","selector","useContextSelector","useMdmWorkflowEnvironmentUrl","workflowEnvironmentUrl","useMdmExportPath","exportPath","useMdmAbsoluteImagePath","absoluteImagePath","useMdmUiPath","uiPath","useMdmDtssPath","dtssPath","useMdmServicesPath","servicesPath","useMdmWorkflowPath","workflowPath","useMdmImageServicePath","imageServicePath","useMdmReltioPath","reltioPath","useMdmApiPath","apiPath","useMdmCollaborationPath","collaborationPath","useMdmImageAttributesFieldsOrder","imageAttributesFieldsOrder","useMdmShowEntityId","showEntityId","useMdmPivotingAttributes","pivotingAttributes","useMdmDateMask","dateMask","useMdmDateTimeMask","dateTimeMask","useMdmAttributePresentations","attributePresentations","useMdmDefaultMaxValues","defaultMaxValues","useMdmAttributesSortingStrategy","attributesSortingStrategy","useMdmLookupAutocomplete","lookupAutocomplete","useMdmModifiedEntities","useMdmEntity","entity","useMdmEntityUri","useMdmEntityWithDiff","entityWithDiff","useMdmEntityUriWithDataTenant","entityUriWithDataTenant","useMdmMode","mode","useMdmIsViewMode","checkIsViewMode","useMdmIsEditableMode","checkIsEditableMode","useMdmHistoryDiff","historyDiff","useMdmHistoryMode","historyMode","useMdmHistorySlice","historySlice","useMdmHistoryEvent","historyEvent","useMdmProfileLastLoadedTime","profileLastLoadedTime","useMdmLookups","lookups","useMdmDependentLookups","useMdmMetadata","useMdmUser","user","useMdmUsername","username","useMdmUserRoles","roles","useMdmTenantObject","tenant","useMdmTenant","useMdmTenantName","useMdmEnvironment","environment","useMdmDataTenants","dataTenants","useMdmSearchNavigationData","searchNavigationData","useMdmSearchProviderData","searchProviderData","useMdmIsCollaborationEnabled","isCollaborationEnabled","useMdmIsWorkflowEnabled","isWorkflowEnabled","useMdmProfileErrors","profileErrors","useMdmModifiedEntityDefaultProfilePic","getModifiedEntityDefaultProfilePic","state","defaultProfilePic","useMdmModifiedEntity","getModifiedEntity","useMdmInitialConnectionTempEntity","viewId","relationUri","getInitialConnectionTempEntity","useMdmInitialConnection","getInitialConnection","useMdmDependentLookupEditorState","useMdmActiveErrorsForAttributesPager","parentUri","getCachedActiveErrorsForAttributesPager","useMdmDependentLookupsStructureNode","useMdmAllRelationsToAddAndEdit","viewIds","useMdmRelationsDrafts","getDraftsByViewId","useMdmDependentLookupEditorContext","useMdmGlobalSearchRequestOptions","omittingFields","getGlobalSearchRequestOptions","activityFilter","globalFilter","searchOptions","action","useMdmListener","listener","Provider","Element","priority","getValue","e","target","getChecked","checked","stopPropagation","EmptyStub","union","keys","merged","isIE","compose","either","includes","createStandardAction","payload","toggleSortOrder","order","parseJSON","JSON","parse","useDidUpdateEffect","fn","inputs","didMountRef","usePrevious","valueHolderRef","PromiseStub","Promise","useSafePromise","cancelPrevious","cancelOnUnmount","cancelRef","cancelPromise","useCallback","promise","resolve","then","catch"],"sourceRoot":""}
package/7422.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]="3c4c8a21-1823-4092-a6fb-1c43746e92e5",e._sentryDebugIdIdentifier="sentry-dbid-3c4c8a21-1823-4092-a6fb-1c43746e92e5")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1657"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[7422],{7278:(e,t,r)=>{r.d(t,{d:()=>o});var a=r(24328),n=r(31421),l=r(54202);const o=e=>{let{filter:t,max:r,offset:o}=e;return(0,a.useCallback)((async()=>{const e=(0,l.U)(t),a=await(0,n.qF1)({filter:e,max:r,offset:o}),{total:i}=await(0,n._X$)({filter:e});return{data:a,total:i}}),[t,r,o])}},72668:(e,t,r)=>{r.d(t,{Z:()=>u});var a=r(24328),n=r.n(a),l=r(14806),o=r(31421);var i=r(75828),c=r(59383);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},s.apply(this,arguments)}const u=e=>{let{width:t,height:r,data:a,options:u={},onItemClick:d}=e;const{barChart:p,cartesianGrid:h,bar:m,tooltip:g,xAxis:f,yAxis:y}=(e=>{let{margin:t,isHorizontal:r,isLabelRotated:a}=e;return{barChart:{layout:r?"vertical":"horizontal",barCategoryGap:"30%",margin:t},bar:{dataKey:"value",fill:r?"#9FC3FF":"#0072CE"},xAxis:{type:r?"number":"category",dataKey:r?"":"label",tick:{fill:"#000",opacity:"0.54"},angle:a?-45:0,textAnchor:a?"end":"middle",stroke:"#666"},yAxis:{dataKey:r?"label":"",type:r?"category":"number",tick:{fill:"#000",opacity:r?"0.87":"0.54",width:r?150:void 0},tickFormatter:o.k7L,stroke:"#666",tickCount:8,mirror:r},cartesianGrid:{strokeDasharray:"3 3",stroke:"#666",strokeOpacity:"0.4",vertical:!r},tooltip:{cursor:{fill:"#000",opacity:"0.1"}}}})(u),b=d&&(e=>{let{group:t}=e;return d(t)}),v=(0,c.d)(b);return n().createElement(l.vz,s({width:t,height:r,data:a},p),n().createElement(l.q3,h),n().createElement(l.u,s({content:n().createElement(i.W,null)},g)),n().createElement(l.$Q,s({},m,{shape:n().createElement(l.Ae,{className:v}),onClick:b})),n().createElement(l.Kc,f),n().createElement(l.B2,y))}},12960:(e,t,r)=>{r.d(t,{Z:()=>U});var a=r(24328),n=r.n(a),l=r(72668),o=r(38037),i=r(56215),c=r(62321),s=r(14806),u=r(62097),d=r(84123);var p=r(76477);function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){m(e,t,r[t])}))}return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g=r(39878),f=r(50914),y=r(31421),b=r(75828);function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=()=>{const[e,t]=(0,a.useState)({active:!1});return{tooltipState:e,showTooltip:(0,a.useCallback)(((e,r)=>{t({active:!0,label:e.label,coordinate:r,payload:[{value:e.value,payload:e,name:e.label}]})}),[]),hideTooltip:(0,a.useCallback)((()=>{t((e=>function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){v(e,t,r[t])}))}return e}({},e,{active:!1})))}),[])}};var E=r(72342);const x=(0,E.makeStyles)({bubbleChart:{position:"relative",cursor:"default"}});var O=r(59383);function k(){return k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},k.apply(this,arguments)}const C=(0,g.Z)((e=>{let{width:t,height:r,data:l,options:o={},onItemClick:i}=e;const c=x(),{showLegend:m=!0,margin:g}=o,v={x:(0,f.propOr)(0,"left",g),y:(0,f.propOr)(0,"top",g),width:t-(0,f.propOr)(0,"left",g)-(0,f.propOr)(0,"right",g),height:r-(0,f.propOr)(0,"top",g)-(0,f.propOr)(0,"bottom",g)},E=(0,p.Z)(t),[C,j]=(0,a.useState)({width:0,height:0}),{rect:S,legendProps:P}=((e,t,r)=>{const{layout:a}=t;return"vertical"===a?{rect:h({},e,{width:e.width-r.width}),legendProps:t}:"horizontal"===a?{rect:h({},e,{height:e.height-r.height}),legendProps:h({},t,{width:e.width})}:{rect:e,legendProps:t}})(v,E,C),N=(e=>{let{data:t,width:r,height:n}=e;return(0,a.useMemo)((()=>0===r||0===n?[]:(0,u.Z)().size([r,n]).padding(2)((0,d.ZP)({children:t}).sum((e=>e.value)).sort(((e,t)=>t.value-e.value))).leaves()),[t,n,r])})({data:l,width:S.width,height:S.height}),{tooltipState:D,showTooltip:R,hideTooltip:W}=w(),A=(0,O.d)(i),M=(0,a.useMemo)((()=>N.map((e=>{const t=S.x+e.x,r=S.y+e.y;return n().createElement("circle",{key:e.data.label,cx:t,cy:r,r:e.r,onMouseEnter:()=>R(e.data,{x:t,y:r}),onMouseLeave:()=>W(),onClick:i&&(()=>i(e.data.group)),fill:(0,y.f4_)(e.data.label),className:A},n().createElement("animate",{attributeName:"r",from:0,to:e.r,dur:"0.5s"}))}))),[N,W,S.x,S.y,R,i,A]);return n().createElement("div",{className:c.bubbleChart,style:{width:t,height:r}},n().createElement("svg",{width:t,height:r},M),m&&n().createElement(s.De,k({},P,{payload:(l||[]).map((e=>({id:e.label,type:"square",color:(0,y.f4_)(e.label),value:`${e.label} (${e.percent}%)`}))),chartWidth:t,chartHeight:r,margin:g,onBBoxUpdate:j})),n().createElement(s.u,k({viewBox:S,content:n().createElement(b.W,null)},D)))}));function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},j.apply(this,arguments)}const S=e=>{let{payload:t,onClick:r}=e,a=function(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},l=Object.keys(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["payload","onClick"]);const l=(0,O.d)(r);return n().createElement(s.oT,j({className:l,payload:t,onClick:r&&(()=>r(t.group))},a))},P=e=>{let{width:t,height:r,data:a,options:l={},onItemClick:o}=e;const{cartesianGrid:i,tooltip:c,xAxis:u,yAxis:d,lineChart:p,line:h}=(e=>{let{margin:t,isLabelRotated:r}=e;return{lineChart:{layout:"horizontal",margin:t},xAxis:{type:"category",dataKey:"label",tick:{fill:"#000",opacity:"0.54"},angle:r?-45:0,textAnchor:r?"end":"middle",stroke:"#666"},yAxis:{dataKey:"",type:"number",tick:{fill:"#000",opacity:"0.54",width:void 0},tickFormatter:y.k7L,stroke:"#666",tickCount:8},cartesianGrid:{strokeDasharray:"3 3",stroke:"#666",strokeOpacity:"0.4"},tooltip:{cursor:{fill:"#000",opacity:"0.1"}},line:{type:"linear",dataKey:"value",stroke:"#4BAFFF",strokeWidth:3,dot:{strokeWidth:2,r:5},activeDot:{strokeWidth:2,r:5,stroke:"#4BAFFF"}}}})(l);return n().createElement(s.wW,j({width:t,height:r,data:a},p),n().createElement(s.q3,i),n().createElement(s.Kc,u),n().createElement(s.B2,d),n().createElement(s.u,j({content:n().createElement(b.W,null)},c)),n().createElement(s.x1,j({},h,{activeDot:n().createElement(S,j({},h.activeDot,{onClick:o}))})))};var N=r(27865),D=r(40098),R=r(88822),W=r(74749),A=r(78854);var M=r(79312),L=r(71153),z=r.n(L);const $=(0,E.makeStyles)((e=>({legendContainer:e=>{let{width:t}=e;return{width:`${t}px`,top:"5%",height:"90%",position:"relative"}},alignTop:{top:0},alignBottom:{bottom:0},legendBar:e=>{let{colors:t}=e;return{background:`linear-gradient(to top, ${t.join(", ")})`,width:"15px",position:"absolute",top:0,right:0,bottom:0}},legendLabel:t=>{let{width:r}=t;return{position:"absolute",fontSize:"13px",lineHeight:"15px",fontWeight:"normal",color:e.palette.text.primary,width:r-15+"px",textAlign:"right",right:"15px",paddingRight:"10px",boxSizing:"border-box",overflowWrap:"break-word"}}}))),B=e=>{let{minValue:t,maxValue:r,colors:a,width:l}=e;const o=$({colors:a,width:l});return n().createElement("div",{className:o.legendContainer},n().createElement(M.Z,{className:z()(o.legendLabel,o.alignTop)},(0,y.k7L)(r)),n().createElement("div",{className:o.legendBar}),n().createElement(M.Z,{className:z()(o.legendLabel,o.alignBottom)},(0,y.k7L)(t)))},F=(0,E.makeStyles)({mapChart:{position:"relative",cursor:"default",display:"flex"},geography:{"&:focus":{outline:"none"}}});function Z(){return Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Z.apply(this,arguments)}const I=["#CDE0FE","#0160AD"],T=(0,g.Z)((e=>{let{data:t,width:r,height:l,options:o,onItemClick:i}=e;const c=F(),{geoUrl:u,geoIdName:d,showLegend:p=!0}=o||{},h=(0,f.pluck)("value",t),m=Math.min(...h),g=Math.max(...h),y=r<75?0:r-75*(p?1:0),v=(0,D.Z)().domain([m,g]).range(I),E=(e=>{const[t,r]=(0,a.useState)(null);return(0,a.useEffect)((()=>{fetch(e).then((e=>{if(!e.ok)throw Error(e.statusText);return e.json()})).then((e=>{r(e)})).catch((t=>{console.warn(`Could not load map ${e} :`,t)}))}),[]),t})(u||"https://s3.amazonaws.com/reltio-ui-files/map_resources/us-albers.json"),x=(0,a.useCallback)((e=>{const t=e&&R[e]||W.Z,r=E.objects&&E.objects[Object.keys(E.objects)[0]],a="FeatureCollection"===E.type?E:(0,A.Z)(E,r);return t().fitSize([y,l],a)}),[E,l,y]),k=u?o.projection:"geoAlbersUsa",C=(0,a.useMemo)((()=>E?x(k):void 0),[E,x,k]),{tooltipState:j,showTooltip:S,hideTooltip:P}=w(),M=(0,O.d)(i);return n().createElement("div",{className:c.mapChart,style:{width:r,height:l}},n().createElement(N.MapProvider,{width:y,height:l,projection:C,projectionConfig:{}},n().createElement("svg",{width:y,height:l,viewBox:`0 0 ${y} ${l}`,className:"rsm-svg"},n().createElement(N.Geographies,{geography:E},(e=>{let{geographies:r}=e;return r.map((e=>{const r=e.properties[d||"name"],a=e.properties.name,l=t.find((e=>{let{group:t}=e;return t===r}));return n().createElement(N.Geography,{key:e.rsmKey,geography:e,fill:l?v(l.value):"#EEE",stroke:"#FFF",className:z()(c.geography,M),onMouseEnter:e=>{const t=l||{label:a,value:0,percent:0,group:r},n=e.target.parentElement.parentElement.getBoundingClientRect(),o={x:e.clientX-n.x,y:e.clientY-n.y};S(t,o)},onMouseLeave:()=>P(),onClick:i&&(()=>i(r))})}))})))),p&&n().createElement(B,{width:75,minValue:m,maxValue:g,colors:I}),n().createElement(s.u,Z({viewBox:{x:0,y:0,width:y,height:l},content:n().createElement(b.W,null)},j)))}));var V=r(71641),_=r.n(V);const K=(0,E.makeStyles)({container:{position:"relative","& text":{transition:"transform .5s",userSelect:"none",animation:"$fadeInOpacity ease-in","&:nth-child(4n+1)":{animationDuration:"0.25s"},"&:nth-child(4n+2)":{animationDuration:"1.5s"},"&:nth-child(4n+3)":{animationDuration:"1s"},"&:nth-child(4n+4)":{animationDuration:"0.5s"}}},"@keyframes fadeInOpacity":{"0%":{opacity:0},"100%":{opacity:1}}});function H(){return H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},H.apply(this,arguments)}const X=(0,g.Z)((e=>{let{width:t,height:r,data:l,options:o={},onItemClick:i}=e;const{tooltipState:c,showTooltip:u,hideTooltip:d}=w(),{maxFontSize:p}=o,h=K(),m=(0,O.d)(i),g=(0,a.useMemo)((()=>({x:0,y:0,width:t||0,height:r||0})),[t,r]),f=(e=>{let{data:t,width:r,height:n,maxFontSize:l=40}=e;return(0,a.useMemo)((()=>{if(!r||!n)return[];const e=t.map((e=>e.value)),a=Math.min(...e),o=Math.max(...e),i=Math.log(12),c=(Math.log(l)-i)/(o-a||1);return _()().size([r,n]).words(t.map((e=>({text:e.label,size:Math.floor(Math.exp(i+c*(e.value-a))),font:"Roboto",data:e})))).random((()=>.5)).fontSize((e=>e.size)).rotate(0).padding(3).start().words()}),[t,r,n,l])})({data:l,width:t,height:r,maxFontSize:p}),v=(0,a.useMemo)((()=>{const e=g.width/2,t=g.height/2;return n().createElement("g",{transform:`translate(${e},${t})`},f.map((r=>{let{text:a,data:l,x:o,y:c,size:s}=r;return n().createElement("text",{key:a,onMouseEnter:()=>u(l,{x:e+o,y:t+c}),onMouseLeave:()=>d(),fill:(0,y.f4_)(a),textAnchor:"middle",transform:`translate(${o},${c})`,fontSize:s,className:m,onClick:i&&(()=>i(l.group))},a)})))}),[g.width,g.height,f,m,i,u,d]);return n().createElement("div",{className:h.container},n().createElement("svg",{width:g.width,height:g.height},v),n().createElement(s.u,H({offset:5,viewBox:g,content:n().createElement(b.W,null)},c)))}));function G(){return G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},G.apply(this,arguments)}class U{static build(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(e){case y.$XE.BAR:return n().createElement(l.Z,t);case y.$XE.DONUT:return n().createElement(o.Z,G({},t,{isDonut:!0}));case y.$XE.PIE:return n().createElement(o.Z,t);case y.$XE.TREE:return n().createElement(i.Z,t);case y.$XE.TABLE:return n().createElement(c.Z,t);case y.$XE.BUBBLE:return n().createElement(C,t);case y.$XE.LINE:return n().createElement(P,t);case y.$XE.MAP:return n().createElement(T,t);case y.$XE.CLOUD:return n().createElement(X,t);default:return n().createElement("div",null)}}}},76477:(e,t,r)=>{r.d(t,{Z:()=>s});var a=r(24328),n=r.n(a),l=r(71153),o=r.n(l);const i=(0,r(72342).makeStyles)({wrapper:{width:"100%",display:"flex",justifyContent:"center",margin:"auto",flexWrap:"wrap","&.alignRight":{display:"grid",gridAutoRows:"min-content",gridTemplateColumns:"1fr","&.isTwoCols":{gridTemplateColumns:"1fr 1fr",minWidth:"141px",maxWidth:"282px"}}},item:{display:"flex",alignItems:"baseline","&:not(:last-child)":{marginRight:10}},itemColor:{width:12,height:12,marginRight:10,flexShrink:0},value:{fontSize:"14px",lineHeight:"27px",letterSpacing:"0.5px"}}),c=e=>{let{payload:t,alignRight:r}=e;const a=t.length>8,l=i();return n().createElement("div",{className:o()(l.wrapper,{isTwoCols:a},{alignRight:r})},t.map((e=>n().createElement("div",{key:e.id,className:l.item},n().createElement("div",{style:{background:e.color},className:l.itemColor}),n().createElement("span",{className:l.value},e.value)))))},s=e=>{const t=e>550;return{layout:t?"vertical":"horizontal",align:t?"right":"center",verticalAlign:t?"middle":"bottom",wrapperStyle:{display:"flex",overflowY:"auto",maxHeight:t?"100%":"50%",maxWidth:t?"50%":"100%"},content:n().createElement(c,{alignRight:t})}}},75828:(e,t,r)=>{r.d(t,{W:()=>i});const a=(0,r(72342).makeStyles)({tooltipWrapper:{borderRadius:"4px",background:"rgba(0, 0, 0, 0.54)",padding:"6px 8px 7px 8px",textAlign:"center",color:"#FFFFFF","& p":{fontSize:"12px",lineHeight:"14px",padding:0,margin:0}},tooltipTitle:{fontWeight:500},tooltipValue:{fontWeight:"normal"},tooltipValueBold:{fontWeight:500},tooltipPercent:{fontWeight:"normal"}});var n=r(24328),l=r.n(n),o=r(50914);const i=e=>{var t;let{payload:r,active:n}=e;const i=a(),c=null==r||null===(t=r[0])||void 0===t?void 0:t.payload,s=(null==c?void 0:c.localizedValue)||(null==c?void 0:c.value),u=null==c?void 0:c.label,d=null==c?void 0:c.percent;return n&&l().createElement("div",{className:i.tooltipWrapper},l().createElement("p",{className:i.tooltipTitle},u),(0,o.isNil)(d)?l().createElement("p",{className:i.tooltipValue},"Value: ",s):l().createElement("p",{className:i.tooltipValueBold},s,l().createElement("span",{className:i.tooltipPercent}," (",d,"%)")))}},39878:(e,t,r)=>{r.d(t,{n:()=>s,Z:()=>u});var a=r(24328),n=r.n(a),l=r(31421),o=r(50914);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},i.apply(this,arguments)}function c(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=e=>{const t=(0,l.QK6)((0,o.pluck)("value",e),1);return e.map(((e,r)=>function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){c(e,t,r[t])}))}return e}({},e,{percent:t[r]})))},u=e=>{const t=t=>{let{data:r}=t,l=function(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},l=Object.keys(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(t,["data"]);const o=(0,a.useMemo)((()=>r&&s(r)),[r]);return n().createElement(e,i({data:o},l))};return t.displayName="WithPercents",t}},38037:(e,t,r)=>{r.d(t,{Z:()=>m});var a=r(24328),n=r.n(a),l=r(14806),o=r(31421),i=r(39878),c=r(76477);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},s.apply(this,arguments)}const u=e=>{let{cx:t,cy:r,midAngle:a,innerRadius:o,outerRadius:i,startAngle:c,endAngle:u,fill:d,percent:p,value:h,label:m}=e;const g=Math.PI/180,f=Math.sin(-g*a),y=Math.cos(-g*a),b=t+(i+30)*y,v=r+(i+30)*f,w=b+20*(y>=0?1:-1),E=v,x=w+12*(y>=0?1:-1),O=y>=0?"start":"end",k=`M${t+(i+10)*y},${r+(i+10)*f}L${b},${v}L${w},${E}`,C={cx:t,cy:r,innerRadius:o,outerRadius:i,startAngle:c,endAngle:u,fill:d};return n().createElement("g",null,n().createElement(l.LD,C),n().createElement(l.LD,s({},C,{innerRadius:i+6,outerRadius:i+10})),n().createElement("path",{d:k,stroke:d,fill:"none"}),n().createElement("circle",{cx:w,cy:E,r:2,fill:d}),n().createElement("text",{x,y:E,textAnchor:O,fill:"#444",fontSize:12,fontWeight:500},m),n().createElement("text",{x,y:E,dy:14,textAnchor:O,fill:"#000",opacity:.6,fontSize:12},n().createElement("tspan",{fontWeight:500},h),n().createElement("tspan",{fontWeight:400},` (${p}%)`)))};var d=r(75828),p=r(59383);function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},h.apply(this,arguments)}const m=(0,i.Z)((e=>{let{width:t,height:r,data:i,options:s={},isDonut:m,onItemClick:g}=e;const{showLegend:f=!0,margin:y,showActiveShape:b}=s,[v,w]=(0,a.useState)(-1),E=g&&(e=>{let{group:t}=e;return g(t)}),x=(0,p.d)(E);return n().createElement(l.uc,{width:t,height:r,margin:y},!b&&n().createElement(l.u,{content:n().createElement(d.W,null)}),f&&n().createElement(l.De,h({},(0,c.Z)(t),{payload:(i||[]).map((e=>({id:e.label,type:"square",color:(0,o.f4_)(e.label),value:`${e.label} (${e.percent}%)`})))})),n().createElement(l.by,{dataKey:"value",data:i,activeIndex:v,activeShape:b?u:void 0,onMouseEnter:b?(e,t)=>w(t):void 0,onMouseLeave:b?()=>w(-1):void 0,innerRadius:m?b?"50%":"60%":0,outerRadius:b?"70%":"80%",onClick:E},(i||[]).map(((e,t)=>n().createElement(l.bL,{key:t,fill:(0,o.f4_)(e.label),className:x})))))}))},62321:(e,t,r)=>{r.d(t,{Z:()=>P});var a=r(24328),n=r.n(a),l=r(2507),o=r.n(l),i=r(45108),c=r(71153),s=r.n(c),u=r(92332),d=r(40007),p=r(72342);const h={content:'""',position:"absolute",right:0,top:0,width:"40px",height:"100%",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)",pointerEvents:"none"},m=(0,p.makeStyles)((e=>({headCell:{display:"flex",alignItems:"center",height:"100%","&>div":{padding:"0 16px"}},headLabel:{color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"16px",whiteSpace:"nowrap",overflow:"hidden","&:after":h},attribute:{color:e.palette.text.primary,fontSize:"13px",fontWeight:"normal",lineHeight:"15px",whiteSpace:"nowrap",overflow:"hidden",display:"flex",alignItems:"center",height:"100%",padding:"0 16px","&:after":h},numberContainer:{display:"flex",flexDirection:"row",alignItems:"center",padding:"0 16px",height:"100%"},number:{fontSize:"13px",lineHeight:"15px",fontWeight:"normal",color:e.palette.text.primary,width:"40px",flexShrink:0},colorBarContainer:{position:"relative",width:"100%",marginLeft:"16px",height:"20px","&>div":{opacity:1,backgroundColor:"#0072CE"}}})));function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},g.apply(this,arguments)}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){y(e,t,r[t])}))}return e}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const b=e=>{let{className:t,headCellData:r}=e,a=function(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},l=Object.keys(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","headCellData"]);const l=m();return n().createElement("div",{className:s()(l.headCell,t)},n().createElement(u.default,g({},a,{headCellData:f({},r,{label:n().createElement(d.Z,{value:r.label},n().createElement("div",{className:l.headLabel},r.label))})})))};var v=r(30488),w=r(59383);const E=(0,v.Z)(((e,t)=>{let{onItemClick:r}=e,{rowValue:{group:a}}=t;return{onClick:r&&(()=>{r(a)})}}))((e=>{let{value:t="",onClick:r}=e;const a=m(),l=(0,w.d)(r);return n().createElement(d.Z,{value:t},n().createElement("div",{className:s()(a.attribute,l),onClick:r},t))}));var x=r(50914),O=r(31421),k=r(79312),C=r(89902);const j=e=>{let{value:t,columnData:{maxValue:r}}=e;const a=m();return n().createElement("div",{className:a.numberContainer},n().createElement(k.Z,{className:a.number},(0,O.k7L)(t,9999)),!(0,x.isNil)(r)&&n().createElement("div",{className:a.colorBarContainer},n().createElement(C.Z,{width:t,maxWidth:r})))},S=(0,p.makeStyles)({tableContainer:e=>{let{width:t,height:r}=e;return{height:r,width:t,display:"flex",flexDirection:"column"}},cellBorder:{borderLeft:"none",borderRight:"none"}}),P=e=>{let{width:t,height:r,data:l,options:c={},basicTableRef:s,onItemClick:u}=e;const d=S({width:t,height:r}),{headers:[p,h]=[],showValues:m=!0}=c,g=(0,a.useMemo)((()=>({cellBorder:d.cellBorder})),[d]),f=(0,a.useMemo)((()=>Math.max(...l.map((e=>e.value)))),[l]),y=(0,a.useMemo)((()=>[{id:"label",label:p||o().text("Attributes"),resizable:!1,headCellRenderer:b,rowCellValueRenderer:E,initialWidth:.4*t},...m?[{id:"value",label:h||o().text("No of Profiles"),resizable:!1,headCellRenderer:b,rowCellValueRenderer:j,maxValue:f,initialWidth:.6*t}]:[]]),[f,t,h,p,m]),v=(0,a.useMemo)((()=>({onItemClick:u})),[u]);return n().createElement("div",{className:d.tableContainer},n().createElement(i.Z,{columnsData:y,rowsData:l,headRowHeight:48,getRowCellHeight:null,classes:g,defaultColumnWidth:100,defaultColumnMinWidth:100,ref:s,context:v}))}},56215:(e,t,r)=>{r.d(t,{Z:()=>h});var a=r(24328),n=r.n(a),l=r(14806),o=r(75828);const i=(0,r(72342).makeStyles)({treeBlock:{fill:"#6BAED6",stroke:"#fff",strokeOpacity:1},treeLabel:{fill:"black",fontSize:"14px",letterSpacing:0}});var c=r(59383),s=r(37164);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>{let{x:t,y:r,width:o,height:u,label:d,onClick:p,group:h}=e;const m=i(),g=(0,c.d)(p),f=(0,a.useRef)((0,s.x0)()).current;return n().createElement("g",{className:g,onClick:p&&(()=>p(h))},n().createElement("clipPath",{id:f},n().createElement("rect",{x:t+2,y:r+2,width:Math.max(o-4,0),height:Math.max(u-4,0)})),n().createElement("rect",{x:t,y:r,width:o,height:u,strokeWidth:2,className:m.treeBlock}),n().createElement(l.xv,{clipPath:`url(#${f})`,textAnchor:"middle",verticalAnchor:"middle",width:o,x:t+o/2,y:r+u/2,className:m.treeLabel},d))},p=e=>{const t=e.reduce(((e,t)=>e+t.value),0)/(10*e.length);return e.map((e=>function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){u(e,t,r[t])}))}return e}({},e,{normalizedValue:e.value<t?t:e.value})))},h=e=>{let{data:t,width:r,height:a,onItemClick:i}=e;return n().createElement(l.WB,{dataKey:"normalizedValue",nameKey:"label",content:n().createElement(d,{onClick:i}),data:p(t),width:r,animationDuration:500,height:a},n().createElement(l.u,{content:n().createElement(o.W,null)}))}},59383:(e,t,r)=>{r.d(t,{d:()=>n});const a=(0,r(72342).makeStyles)({clickable:{cursor:"pointer"}}),n=e=>{const t=a();return e?t.clickable:void 0}},73093:(e,t,r)=>{r.d(t,{DX:()=>c,Hc:()=>s,T:()=>u});var a=r(24328),n=r.n(a),l=r(39034);const o=(0,a.createContext)(null),i=(0,a.createContext)(null),c=e=>{let{children:t}=e;const[r,l]=(0,a.useState)(0),c=(0,a.useCallback)((()=>{l((e=>e+1))}),[l]);return n().createElement(i.Provider,{value:c},n().createElement(o.Provider,{value:r},t))},s=()=>{const e=(0,a.useContext)(i);if(void 0===e)throw new Error("useReloadAllFacets must be used within a ReloadFacetProvider");return e},u=e=>{let{state:t,reload:r}=e;const n=(0,a.useContext)(o);if(void 0===n)throw new Error("useReloadFacet must be used within a ReloadFacetProvider");(0,a.useEffect)((()=>{t!==l.o.LOADED&&t!==l.o.ERROR||r()}),[n])}},45990:(e,t,r)=>{r.d(t,{I:()=>n});var a=r(24328);const n=r.n(a)().createContext([]);n.displayName="SearchFiltersContext"}}]);
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]="3c4c8a21-1823-4092-a6fb-1c43746e92e5",e._sentryDebugIdIdentifier="sentry-dbid-3c4c8a21-1823-4092-a6fb-1c43746e92e5")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1659"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[7422],{7278:(e,t,r)=>{r.d(t,{d:()=>o});var a=r(24328),n=r(31421),l=r(54202);const o=e=>{let{filter:t,max:r,offset:o}=e;return(0,a.useCallback)((async()=>{const e=(0,l.U)(t),a=await(0,n.qF1)({filter:e,max:r,offset:o}),{total:i}=await(0,n._X$)({filter:e});return{data:a,total:i}}),[t,r,o])}},72668:(e,t,r)=>{r.d(t,{Z:()=>u});var a=r(24328),n=r.n(a),l=r(14806),o=r(31421);var i=r(75828),c=r(59383);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},s.apply(this,arguments)}const u=e=>{let{width:t,height:r,data:a,options:u={},onItemClick:d}=e;const{barChart:p,cartesianGrid:h,bar:m,tooltip:g,xAxis:f,yAxis:y}=(e=>{let{margin:t,isHorizontal:r,isLabelRotated:a}=e;return{barChart:{layout:r?"vertical":"horizontal",barCategoryGap:"30%",margin:t},bar:{dataKey:"value",fill:r?"#9FC3FF":"#0072CE"},xAxis:{type:r?"number":"category",dataKey:r?"":"label",tick:{fill:"#000",opacity:"0.54"},angle:a?-45:0,textAnchor:a?"end":"middle",stroke:"#666"},yAxis:{dataKey:r?"label":"",type:r?"category":"number",tick:{fill:"#000",opacity:r?"0.87":"0.54",width:r?150:void 0},tickFormatter:o.k7L,stroke:"#666",tickCount:8,mirror:r},cartesianGrid:{strokeDasharray:"3 3",stroke:"#666",strokeOpacity:"0.4",vertical:!r},tooltip:{cursor:{fill:"#000",opacity:"0.1"}}}})(u),b=d&&(e=>{let{group:t}=e;return d(t)}),v=(0,c.d)(b);return n().createElement(l.vz,s({width:t,height:r,data:a},p),n().createElement(l.q3,h),n().createElement(l.u,s({content:n().createElement(i.W,null)},g)),n().createElement(l.$Q,s({},m,{shape:n().createElement(l.Ae,{className:v}),onClick:b})),n().createElement(l.Kc,f),n().createElement(l.B2,y))}},12960:(e,t,r)=>{r.d(t,{Z:()=>U});var a=r(24328),n=r.n(a),l=r(72668),o=r(38037),i=r(56215),c=r(62321),s=r(14806),u=r(62097),d=r(84123);var p=r(76477);function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){m(e,t,r[t])}))}return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g=r(39878),f=r(50914),y=r(31421),b=r(75828);function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=()=>{const[e,t]=(0,a.useState)({active:!1});return{tooltipState:e,showTooltip:(0,a.useCallback)(((e,r)=>{t({active:!0,label:e.label,coordinate:r,payload:[{value:e.value,payload:e,name:e.label}]})}),[]),hideTooltip:(0,a.useCallback)((()=>{t((e=>function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){v(e,t,r[t])}))}return e}({},e,{active:!1})))}),[])}};var E=r(72342);const x=(0,E.makeStyles)({bubbleChart:{position:"relative",cursor:"default"}});var O=r(59383);function k(){return k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},k.apply(this,arguments)}const C=(0,g.Z)((e=>{let{width:t,height:r,data:l,options:o={},onItemClick:i}=e;const c=x(),{showLegend:m=!0,margin:g}=o,v={x:(0,f.propOr)(0,"left",g),y:(0,f.propOr)(0,"top",g),width:t-(0,f.propOr)(0,"left",g)-(0,f.propOr)(0,"right",g),height:r-(0,f.propOr)(0,"top",g)-(0,f.propOr)(0,"bottom",g)},E=(0,p.Z)(t),[C,j]=(0,a.useState)({width:0,height:0}),{rect:S,legendProps:P}=((e,t,r)=>{const{layout:a}=t;return"vertical"===a?{rect:h({},e,{width:e.width-r.width}),legendProps:t}:"horizontal"===a?{rect:h({},e,{height:e.height-r.height}),legendProps:h({},t,{width:e.width})}:{rect:e,legendProps:t}})(v,E,C),N=(e=>{let{data:t,width:r,height:n}=e;return(0,a.useMemo)((()=>0===r||0===n?[]:(0,u.Z)().size([r,n]).padding(2)((0,d.ZP)({children:t}).sum((e=>e.value)).sort(((e,t)=>t.value-e.value))).leaves()),[t,n,r])})({data:l,width:S.width,height:S.height}),{tooltipState:D,showTooltip:R,hideTooltip:W}=w(),A=(0,O.d)(i),M=(0,a.useMemo)((()=>N.map((e=>{const t=S.x+e.x,r=S.y+e.y;return n().createElement("circle",{key:e.data.label,cx:t,cy:r,r:e.r,onMouseEnter:()=>R(e.data,{x:t,y:r}),onMouseLeave:()=>W(),onClick:i&&(()=>i(e.data.group)),fill:(0,y.f4_)(e.data.label),className:A},n().createElement("animate",{attributeName:"r",from:0,to:e.r,dur:"0.5s"}))}))),[N,W,S.x,S.y,R,i,A]);return n().createElement("div",{className:c.bubbleChart,style:{width:t,height:r}},n().createElement("svg",{width:t,height:r},M),m&&n().createElement(s.De,k({},P,{payload:(l||[]).map((e=>({id:e.label,type:"square",color:(0,y.f4_)(e.label),value:`${e.label} (${e.percent}%)`}))),chartWidth:t,chartHeight:r,margin:g,onBBoxUpdate:j})),n().createElement(s.u,k({viewBox:S,content:n().createElement(b.W,null)},D)))}));function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},j.apply(this,arguments)}const S=e=>{let{payload:t,onClick:r}=e,a=function(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},l=Object.keys(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["payload","onClick"]);const l=(0,O.d)(r);return n().createElement(s.oT,j({className:l,payload:t,onClick:r&&(()=>r(t.group))},a))},P=e=>{let{width:t,height:r,data:a,options:l={},onItemClick:o}=e;const{cartesianGrid:i,tooltip:c,xAxis:u,yAxis:d,lineChart:p,line:h}=(e=>{let{margin:t,isLabelRotated:r}=e;return{lineChart:{layout:"horizontal",margin:t},xAxis:{type:"category",dataKey:"label",tick:{fill:"#000",opacity:"0.54"},angle:r?-45:0,textAnchor:r?"end":"middle",stroke:"#666"},yAxis:{dataKey:"",type:"number",tick:{fill:"#000",opacity:"0.54",width:void 0},tickFormatter:y.k7L,stroke:"#666",tickCount:8},cartesianGrid:{strokeDasharray:"3 3",stroke:"#666",strokeOpacity:"0.4"},tooltip:{cursor:{fill:"#000",opacity:"0.1"}},line:{type:"linear",dataKey:"value",stroke:"#4BAFFF",strokeWidth:3,dot:{strokeWidth:2,r:5},activeDot:{strokeWidth:2,r:5,stroke:"#4BAFFF"}}}})(l);return n().createElement(s.wW,j({width:t,height:r,data:a},p),n().createElement(s.q3,i),n().createElement(s.Kc,u),n().createElement(s.B2,d),n().createElement(s.u,j({content:n().createElement(b.W,null)},c)),n().createElement(s.x1,j({},h,{activeDot:n().createElement(S,j({},h.activeDot,{onClick:o}))})))};var N=r(27865),D=r(40098),R=r(88822),W=r(74749),A=r(78854);var M=r(79312),L=r(71153),z=r.n(L);const $=(0,E.makeStyles)((e=>({legendContainer:e=>{let{width:t}=e;return{width:`${t}px`,top:"5%",height:"90%",position:"relative"}},alignTop:{top:0},alignBottom:{bottom:0},legendBar:e=>{let{colors:t}=e;return{background:`linear-gradient(to top, ${t.join(", ")})`,width:"15px",position:"absolute",top:0,right:0,bottom:0}},legendLabel:t=>{let{width:r}=t;return{position:"absolute",fontSize:"13px",lineHeight:"15px",fontWeight:"normal",color:e.palette.text.primary,width:r-15+"px",textAlign:"right",right:"15px",paddingRight:"10px",boxSizing:"border-box",overflowWrap:"break-word"}}}))),B=e=>{let{minValue:t,maxValue:r,colors:a,width:l}=e;const o=$({colors:a,width:l});return n().createElement("div",{className:o.legendContainer},n().createElement(M.Z,{className:z()(o.legendLabel,o.alignTop)},(0,y.k7L)(r)),n().createElement("div",{className:o.legendBar}),n().createElement(M.Z,{className:z()(o.legendLabel,o.alignBottom)},(0,y.k7L)(t)))},F=(0,E.makeStyles)({mapChart:{position:"relative",cursor:"default",display:"flex"},geography:{"&:focus":{outline:"none"}}});function Z(){return Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Z.apply(this,arguments)}const I=["#CDE0FE","#0160AD"],T=(0,g.Z)((e=>{let{data:t,width:r,height:l,options:o,onItemClick:i}=e;const c=F(),{geoUrl:u,geoIdName:d,showLegend:p=!0}=o||{},h=(0,f.pluck)("value",t),m=Math.min(...h),g=Math.max(...h),y=r<75?0:r-75*(p?1:0),v=(0,D.Z)().domain([m,g]).range(I),E=(e=>{const[t,r]=(0,a.useState)(null);return(0,a.useEffect)((()=>{fetch(e).then((e=>{if(!e.ok)throw Error(e.statusText);return e.json()})).then((e=>{r(e)})).catch((t=>{console.warn(`Could not load map ${e} :`,t)}))}),[]),t})(u||"https://s3.amazonaws.com/reltio-ui-files/map_resources/us-albers.json"),x=(0,a.useCallback)((e=>{const t=e&&R[e]||W.Z,r=E.objects&&E.objects[Object.keys(E.objects)[0]],a="FeatureCollection"===E.type?E:(0,A.Z)(E,r);return t().fitSize([y,l],a)}),[E,l,y]),k=u?o.projection:"geoAlbersUsa",C=(0,a.useMemo)((()=>E?x(k):void 0),[E,x,k]),{tooltipState:j,showTooltip:S,hideTooltip:P}=w(),M=(0,O.d)(i);return n().createElement("div",{className:c.mapChart,style:{width:r,height:l}},n().createElement(N.MapProvider,{width:y,height:l,projection:C,projectionConfig:{}},n().createElement("svg",{width:y,height:l,viewBox:`0 0 ${y} ${l}`,className:"rsm-svg"},n().createElement(N.Geographies,{geography:E},(e=>{let{geographies:r}=e;return r.map((e=>{const r=e.properties[d||"name"],a=e.properties.name,l=t.find((e=>{let{group:t}=e;return t===r}));return n().createElement(N.Geography,{key:e.rsmKey,geography:e,fill:l?v(l.value):"#EEE",stroke:"#FFF",className:z()(c.geography,M),onMouseEnter:e=>{const t=l||{label:a,value:0,percent:0,group:r},n=e.target.parentElement.parentElement.getBoundingClientRect(),o={x:e.clientX-n.x,y:e.clientY-n.y};S(t,o)},onMouseLeave:()=>P(),onClick:i&&(()=>i(r))})}))})))),p&&n().createElement(B,{width:75,minValue:m,maxValue:g,colors:I}),n().createElement(s.u,Z({viewBox:{x:0,y:0,width:y,height:l},content:n().createElement(b.W,null)},j)))}));var V=r(71641),_=r.n(V);const K=(0,E.makeStyles)({container:{position:"relative","& text":{transition:"transform .5s",userSelect:"none",animation:"$fadeInOpacity ease-in","&:nth-child(4n+1)":{animationDuration:"0.25s"},"&:nth-child(4n+2)":{animationDuration:"1.5s"},"&:nth-child(4n+3)":{animationDuration:"1s"},"&:nth-child(4n+4)":{animationDuration:"0.5s"}}},"@keyframes fadeInOpacity":{"0%":{opacity:0},"100%":{opacity:1}}});function H(){return H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},H.apply(this,arguments)}const X=(0,g.Z)((e=>{let{width:t,height:r,data:l,options:o={},onItemClick:i}=e;const{tooltipState:c,showTooltip:u,hideTooltip:d}=w(),{maxFontSize:p}=o,h=K(),m=(0,O.d)(i),g=(0,a.useMemo)((()=>({x:0,y:0,width:t||0,height:r||0})),[t,r]),f=(e=>{let{data:t,width:r,height:n,maxFontSize:l=40}=e;return(0,a.useMemo)((()=>{if(!r||!n)return[];const e=t.map((e=>e.value)),a=Math.min(...e),o=Math.max(...e),i=Math.log(12),c=(Math.log(l)-i)/(o-a||1);return _()().size([r,n]).words(t.map((e=>({text:e.label,size:Math.floor(Math.exp(i+c*(e.value-a))),font:"Roboto",data:e})))).random((()=>.5)).fontSize((e=>e.size)).rotate(0).padding(3).start().words()}),[t,r,n,l])})({data:l,width:t,height:r,maxFontSize:p}),v=(0,a.useMemo)((()=>{const e=g.width/2,t=g.height/2;return n().createElement("g",{transform:`translate(${e},${t})`},f.map((r=>{let{text:a,data:l,x:o,y:c,size:s}=r;return n().createElement("text",{key:a,onMouseEnter:()=>u(l,{x:e+o,y:t+c}),onMouseLeave:()=>d(),fill:(0,y.f4_)(a),textAnchor:"middle",transform:`translate(${o},${c})`,fontSize:s,className:m,onClick:i&&(()=>i(l.group))},a)})))}),[g.width,g.height,f,m,i,u,d]);return n().createElement("div",{className:h.container},n().createElement("svg",{width:g.width,height:g.height},v),n().createElement(s.u,H({offset:5,viewBox:g,content:n().createElement(b.W,null)},c)))}));function G(){return G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},G.apply(this,arguments)}class U{static build(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(e){case y.$XE.BAR:return n().createElement(l.Z,t);case y.$XE.DONUT:return n().createElement(o.Z,G({},t,{isDonut:!0}));case y.$XE.PIE:return n().createElement(o.Z,t);case y.$XE.TREE:return n().createElement(i.Z,t);case y.$XE.TABLE:return n().createElement(c.Z,t);case y.$XE.BUBBLE:return n().createElement(C,t);case y.$XE.LINE:return n().createElement(P,t);case y.$XE.MAP:return n().createElement(T,t);case y.$XE.CLOUD:return n().createElement(X,t);default:return n().createElement("div",null)}}}},76477:(e,t,r)=>{r.d(t,{Z:()=>s});var a=r(24328),n=r.n(a),l=r(71153),o=r.n(l);const i=(0,r(72342).makeStyles)({wrapper:{width:"100%",display:"flex",justifyContent:"center",margin:"auto",flexWrap:"wrap","&.alignRight":{display:"grid",gridAutoRows:"min-content",gridTemplateColumns:"1fr","&.isTwoCols":{gridTemplateColumns:"1fr 1fr",minWidth:"141px",maxWidth:"282px"}}},item:{display:"flex",alignItems:"baseline","&:not(:last-child)":{marginRight:10}},itemColor:{width:12,height:12,marginRight:10,flexShrink:0},value:{fontSize:"14px",lineHeight:"27px",letterSpacing:"0.5px"}}),c=e=>{let{payload:t,alignRight:r}=e;const a=t.length>8,l=i();return n().createElement("div",{className:o()(l.wrapper,{isTwoCols:a},{alignRight:r})},t.map((e=>n().createElement("div",{key:e.id,className:l.item},n().createElement("div",{style:{background:e.color},className:l.itemColor}),n().createElement("span",{className:l.value},e.value)))))},s=e=>{const t=e>550;return{layout:t?"vertical":"horizontal",align:t?"right":"center",verticalAlign:t?"middle":"bottom",wrapperStyle:{display:"flex",overflowY:"auto",maxHeight:t?"100%":"50%",maxWidth:t?"50%":"100%"},content:n().createElement(c,{alignRight:t})}}},75828:(e,t,r)=>{r.d(t,{W:()=>i});const a=(0,r(72342).makeStyles)({tooltipWrapper:{borderRadius:"4px",background:"rgba(0, 0, 0, 0.54)",padding:"6px 8px 7px 8px",textAlign:"center",color:"#FFFFFF","& p":{fontSize:"12px",lineHeight:"14px",padding:0,margin:0}},tooltipTitle:{fontWeight:500},tooltipValue:{fontWeight:"normal"},tooltipValueBold:{fontWeight:500},tooltipPercent:{fontWeight:"normal"}});var n=r(24328),l=r.n(n),o=r(50914);const i=e=>{var t;let{payload:r,active:n}=e;const i=a(),c=null==r||null===(t=r[0])||void 0===t?void 0:t.payload,s=(null==c?void 0:c.localizedValue)||(null==c?void 0:c.value),u=null==c?void 0:c.label,d=null==c?void 0:c.percent;return n&&l().createElement("div",{className:i.tooltipWrapper},l().createElement("p",{className:i.tooltipTitle},u),(0,o.isNil)(d)?l().createElement("p",{className:i.tooltipValue},"Value: ",s):l().createElement("p",{className:i.tooltipValueBold},s,l().createElement("span",{className:i.tooltipPercent}," (",d,"%)")))}},39878:(e,t,r)=>{r.d(t,{n:()=>s,Z:()=>u});var a=r(24328),n=r.n(a),l=r(31421),o=r(50914);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},i.apply(this,arguments)}function c(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=e=>{const t=(0,l.QK6)((0,o.pluck)("value",e),1);return e.map(((e,r)=>function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){c(e,t,r[t])}))}return e}({},e,{percent:t[r]})))},u=e=>{const t=t=>{let{data:r}=t,l=function(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},l=Object.keys(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(t,["data"]);const o=(0,a.useMemo)((()=>r&&s(r)),[r]);return n().createElement(e,i({data:o},l))};return t.displayName="WithPercents",t}},38037:(e,t,r)=>{r.d(t,{Z:()=>m});var a=r(24328),n=r.n(a),l=r(14806),o=r(31421),i=r(39878),c=r(76477);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},s.apply(this,arguments)}const u=e=>{let{cx:t,cy:r,midAngle:a,innerRadius:o,outerRadius:i,startAngle:c,endAngle:u,fill:d,percent:p,value:h,label:m}=e;const g=Math.PI/180,f=Math.sin(-g*a),y=Math.cos(-g*a),b=t+(i+30)*y,v=r+(i+30)*f,w=b+20*(y>=0?1:-1),E=v,x=w+12*(y>=0?1:-1),O=y>=0?"start":"end",k=`M${t+(i+10)*y},${r+(i+10)*f}L${b},${v}L${w},${E}`,C={cx:t,cy:r,innerRadius:o,outerRadius:i,startAngle:c,endAngle:u,fill:d};return n().createElement("g",null,n().createElement(l.LD,C),n().createElement(l.LD,s({},C,{innerRadius:i+6,outerRadius:i+10})),n().createElement("path",{d:k,stroke:d,fill:"none"}),n().createElement("circle",{cx:w,cy:E,r:2,fill:d}),n().createElement("text",{x,y:E,textAnchor:O,fill:"#444",fontSize:12,fontWeight:500},m),n().createElement("text",{x,y:E,dy:14,textAnchor:O,fill:"#000",opacity:.6,fontSize:12},n().createElement("tspan",{fontWeight:500},h),n().createElement("tspan",{fontWeight:400},` (${p}%)`)))};var d=r(75828),p=r(59383);function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},h.apply(this,arguments)}const m=(0,i.Z)((e=>{let{width:t,height:r,data:i,options:s={},isDonut:m,onItemClick:g}=e;const{showLegend:f=!0,margin:y,showActiveShape:b}=s,[v,w]=(0,a.useState)(-1),E=g&&(e=>{let{group:t}=e;return g(t)}),x=(0,p.d)(E);return n().createElement(l.uc,{width:t,height:r,margin:y},!b&&n().createElement(l.u,{content:n().createElement(d.W,null)}),f&&n().createElement(l.De,h({},(0,c.Z)(t),{payload:(i||[]).map((e=>({id:e.label,type:"square",color:(0,o.f4_)(e.label),value:`${e.label} (${e.percent}%)`})))})),n().createElement(l.by,{dataKey:"value",data:i,activeIndex:v,activeShape:b?u:void 0,onMouseEnter:b?(e,t)=>w(t):void 0,onMouseLeave:b?()=>w(-1):void 0,innerRadius:m?b?"50%":"60%":0,outerRadius:b?"70%":"80%",onClick:E},(i||[]).map(((e,t)=>n().createElement(l.bL,{key:t,fill:(0,o.f4_)(e.label),className:x})))))}))},62321:(e,t,r)=>{r.d(t,{Z:()=>P});var a=r(24328),n=r.n(a),l=r(2507),o=r.n(l),i=r(45108),c=r(71153),s=r.n(c),u=r(92332),d=r(40007),p=r(72342);const h={content:'""',position:"absolute",right:0,top:0,width:"40px",height:"100%",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)",pointerEvents:"none"},m=(0,p.makeStyles)((e=>({headCell:{display:"flex",alignItems:"center",height:"100%","&>div":{padding:"0 16px"}},headLabel:{color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"16px",whiteSpace:"nowrap",overflow:"hidden","&:after":h},attribute:{color:e.palette.text.primary,fontSize:"13px",fontWeight:"normal",lineHeight:"15px",whiteSpace:"nowrap",overflow:"hidden",display:"flex",alignItems:"center",height:"100%",padding:"0 16px","&:after":h},numberContainer:{display:"flex",flexDirection:"row",alignItems:"center",padding:"0 16px",height:"100%"},number:{fontSize:"13px",lineHeight:"15px",fontWeight:"normal",color:e.palette.text.primary,width:"40px",flexShrink:0},colorBarContainer:{position:"relative",width:"100%",marginLeft:"16px",height:"20px","&>div":{opacity:1,backgroundColor:"#0072CE"}}})));function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},g.apply(this,arguments)}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){y(e,t,r[t])}))}return e}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const b=e=>{let{className:t,headCellData:r}=e,a=function(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},l=Object.keys(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,["className","headCellData"]);const l=m();return n().createElement("div",{className:s()(l.headCell,t)},n().createElement(u.default,g({},a,{headCellData:f({},r,{label:n().createElement(d.Z,{value:r.label},n().createElement("div",{className:l.headLabel},r.label))})})))};var v=r(30488),w=r(59383);const E=(0,v.Z)(((e,t)=>{let{onItemClick:r}=e,{rowValue:{group:a}}=t;return{onClick:r&&(()=>{r(a)})}}))((e=>{let{value:t="",onClick:r}=e;const a=m(),l=(0,w.d)(r);return n().createElement(d.Z,{value:t},n().createElement("div",{className:s()(a.attribute,l),onClick:r},t))}));var x=r(50914),O=r(31421),k=r(79312),C=r(89902);const j=e=>{let{value:t,columnData:{maxValue:r}}=e;const a=m();return n().createElement("div",{className:a.numberContainer},n().createElement(k.Z,{className:a.number},(0,O.k7L)(t,9999)),!(0,x.isNil)(r)&&n().createElement("div",{className:a.colorBarContainer},n().createElement(C.Z,{width:t,maxWidth:r})))},S=(0,p.makeStyles)({tableContainer:e=>{let{width:t,height:r}=e;return{height:r,width:t,display:"flex",flexDirection:"column"}},cellBorder:{borderLeft:"none",borderRight:"none"}}),P=e=>{let{width:t,height:r,data:l,options:c={},basicTableRef:s,onItemClick:u}=e;const d=S({width:t,height:r}),{headers:[p,h]=[],showValues:m=!0}=c,g=(0,a.useMemo)((()=>({cellBorder:d.cellBorder})),[d]),f=(0,a.useMemo)((()=>Math.max(...l.map((e=>e.value)))),[l]),y=(0,a.useMemo)((()=>[{id:"label",label:p||o().text("Attributes"),resizable:!1,headCellRenderer:b,rowCellValueRenderer:E,initialWidth:.4*t},...m?[{id:"value",label:h||o().text("No of Profiles"),resizable:!1,headCellRenderer:b,rowCellValueRenderer:j,maxValue:f,initialWidth:.6*t}]:[]]),[f,t,h,p,m]),v=(0,a.useMemo)((()=>({onItemClick:u})),[u]);return n().createElement("div",{className:d.tableContainer},n().createElement(i.Z,{columnsData:y,rowsData:l,headRowHeight:48,getRowCellHeight:null,classes:g,defaultColumnWidth:100,defaultColumnMinWidth:100,ref:s,context:v}))}},56215:(e,t,r)=>{r.d(t,{Z:()=>h});var a=r(24328),n=r.n(a),l=r(14806),o=r(75828);const i=(0,r(72342).makeStyles)({treeBlock:{fill:"#6BAED6",stroke:"#fff",strokeOpacity:1},treeLabel:{fill:"black",fontSize:"14px",letterSpacing:0}});var c=r(59383),s=r(37164);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>{let{x:t,y:r,width:o,height:u,label:d,onClick:p,group:h}=e;const m=i(),g=(0,c.d)(p),f=(0,a.useRef)((0,s.x0)()).current;return n().createElement("g",{className:g,onClick:p&&(()=>p(h))},n().createElement("clipPath",{id:f},n().createElement("rect",{x:t+2,y:r+2,width:Math.max(o-4,0),height:Math.max(u-4,0)})),n().createElement("rect",{x:t,y:r,width:o,height:u,strokeWidth:2,className:m.treeBlock}),n().createElement(l.xv,{clipPath:`url(#${f})`,textAnchor:"middle",verticalAnchor:"middle",width:o,x:t+o/2,y:r+u/2,className:m.treeLabel},d))},p=e=>{const t=e.reduce(((e,t)=>e+t.value),0)/(10*e.length);return e.map((e=>function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){u(e,t,r[t])}))}return e}({},e,{normalizedValue:e.value<t?t:e.value})))},h=e=>{let{data:t,width:r,height:a,onItemClick:i}=e;return n().createElement(l.WB,{dataKey:"normalizedValue",nameKey:"label",content:n().createElement(d,{onClick:i}),data:p(t),width:r,animationDuration:500,height:a},n().createElement(l.u,{content:n().createElement(o.W,null)}))}},59383:(e,t,r)=>{r.d(t,{d:()=>n});const a=(0,r(72342).makeStyles)({clickable:{cursor:"pointer"}}),n=e=>{const t=a();return e?t.clickable:void 0}},73093:(e,t,r)=>{r.d(t,{DX:()=>c,Hc:()=>s,T:()=>u});var a=r(24328),n=r.n(a),l=r(39034);const o=(0,a.createContext)(null),i=(0,a.createContext)(null),c=e=>{let{children:t}=e;const[r,l]=(0,a.useState)(0),c=(0,a.useCallback)((()=>{l((e=>e+1))}),[l]);return n().createElement(i.Provider,{value:c},n().createElement(o.Provider,{value:r},t))},s=()=>{const e=(0,a.useContext)(i);if(void 0===e)throw new Error("useReloadAllFacets must be used within a ReloadFacetProvider");return e},u=e=>{let{state:t,reload:r}=e;const n=(0,a.useContext)(o);if(void 0===n)throw new Error("useReloadFacet must be used within a ReloadFacetProvider");(0,a.useEffect)((()=>{t!==l.o.LOADED&&t!==l.o.ERROR||r()}),[n])}},45990:(e,t,r)=>{r.d(t,{I:()=>n});var a=r(24328);const n=r.n(a)().createContext([]);n.displayName="SearchFiltersContext"}}]);
2
2
  //# sourceMappingURL=7422.js.map