@reltio/remotes 1.4.1639 → 1.4.1641
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/1039.js +1 -1
- package/1088.js +1 -1
- package/1146.js +1 -1
- package/1148.js +1 -1
- package/1334.js +1 -1
- package/1425.js +1 -1
- package/1425.js.map +1 -1
- package/1554.js +1 -1
- package/1572.js +1 -1
- package/1664.js +1 -1
- package/1707.js +1 -1
- package/1790.js +1 -1
- package/2066.js +1 -1
- package/2400.js +1 -1
- package/3096.js +1 -1
- package/3348.js +1 -1
- package/3358.js +1 -1
- package/3373.js +1 -1
- package/3381.js +1 -1
- package/3383.js +1 -1
- package/3463.js +1 -1
- package/3469.js +1 -1
- package/3538.js +1 -1
- package/356.js +1 -1
- package/3785.js +1 -1
- package/3854.js +1 -1
- package/3902.js +1 -1
- package/3912.js +1 -1
- package/3926.js +1 -1
- package/415.js +1 -1
- package/4212.js +1 -1
- package/446.js +1 -1
- package/4481.js +1 -1
- package/4609.js +1 -1
- package/4609.js.map +1 -1
- package/4610.js +1 -1
- package/4703.js +1 -1
- package/4806.js +1 -1
- package/4838.js +1 -1
- package/50.js +1 -1
- package/5039.js +1 -1
- package/5039.js.map +1 -1
- package/5053.js +1 -1
- package/5108.js +1 -1
- package/5163.js +1 -1
- package/5292.js +1 -1
- package/5383.js +1 -1
- package/5617.js +1 -1
- package/6020.js +1 -1
- package/6287.js +1 -1
- package/636.js +1 -1
- package/6606.js +1 -1
- package/6606.js.map +1 -1
- package/672.js +1 -1
- package/6844.js +1 -1
- package/6903.js +1 -1
- package/6945.js +1 -1
- package/7128.js +1 -1
- package/7303.js +1 -1
- package/7340.js +1 -1
- package/735.js +1 -1
- package/7422.js +1 -1
- package/7744.js +1 -1
- package/7896.js +1 -1
- package/7963.js +1 -1
- package/820.js +1 -1
- package/8207.js +1 -1
- package/829.js +1 -1
- package/8344.js +1 -1
- package/8565.js +1 -1
- package/8741.js +1 -1
- package/8893.js +1 -1
- package/9016.js +1 -1
- package/9050.js +1 -1
- package/9109.js +1 -1
- package/9283.js +1 -1
- package/9309.js +1 -1
- package/9328.js +1 -1
- package/938.js +1 -1
- package/9387.js +1 -1
- package/9464.js +1 -1
- package/9464.js.map +1 -1
- package/9612.js +1 -1
- package/9652.js +1 -1
- package/9736.js +1 -1
- package/987.js +1 -1
- package/9952.js +1 -1
- package/9952.js.map +1 -1
- package/9960.js +1 -1
- package/9990.js +1 -1
- package/main.js +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
package/9952.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"9952.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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M,KAAAA,EACAiM,QAAAA,IAGEC,EAAmBC,GAAqB,QAAVA,EAAkB,OAAS,MAEzDC,EAAave,IACf,IACI,OAAOwe,KAAKC,MAAMze,GACpB,MACE,U,gDC9BD,MAAM0e,EAAqB,CAACC,EAAIC,KACnC,MAAMC,GAAcve,EAAAA,EAAAA,SAAO,IAE3Bd,EAAAA,EAAAA,YAAU,KACFqf,EAAY5d,QAAS0d,IACpBE,EAAY5d,SAAU,IAC5B2d,K,2DCLP,MAAME,EAAc,IAAIC,SAAQ,SAOnBC,EAAiB,WAAmE,IAAlE,eAACC,GAAiB,EAAlB,gBAAwBC,GAAkB,GAAwB,uDAAP,GACtF,MAAMC,GAAY7e,EAAAA,EAAAA,QAAO0C,EAAAA,IACnBoc,EAAgB,IAAMD,EAAUle,UAWtC,OATAzB,EAAAA,EAAAA,YACI,IAAM,KACE0f,GACAE,MAGR,KAGGC,EAAAA,EAAAA,cAAgBC,IACfL,GACAG,IAEG,IAAIL,SAAW,CAACQ,EAASpM,KAC5BgM,EAAUle,QAAU,IAAMkS,EAAO,YACjCmM,EAAQE,KAAKD,EAASpM,MACvBsM,OAAM,SAAUxX,GACf,GAAc,aAAVA,EACA,OAAO6W,EAEP,MAAM7W,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/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';\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 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 searchNavigationListener: (action: any, state: any) => 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} 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 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 {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","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","PromiseStub","Promise","useSafePromise","cancelPrevious","cancelOnUnmount","cancelRef","cancelPromise","useCallback","promise","resolve","then","catch"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"9952.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,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qB,CAACC,EAAIC,KACnC,MAAMC,GAAcve,EAAAA,EAAAA,SAAO,IAE3Bd,EAAAA,EAAAA,YAAU,KACFqf,EAAY5d,QAAS0d,IACpBE,EAAY5d,SAAU,IAC5B2d,K,2DCLP,MAAME,EAAc,IAAIC,SAAQ,SAOnBC,EAAiB,WAAmE,IAAlE,eAACC,GAAiB,EAAlB,gBAAwBC,GAAkB,GAAwB,uDAAP,GACtF,MAAMC,GAAY7e,EAAAA,EAAAA,QAAO0C,EAAAA,IACnBoc,EAAgB,IAAMD,EAAUle,UAWtC,OATAzB,EAAAA,EAAAA,YACI,IAAM,KACE0f,GACAE,MAGR,KAGGC,EAAAA,EAAAA,cAAgBC,IACfL,GACAG,IAEG,IAAIL,SAAW,CAACQ,EAASpM,KAC5BgM,EAAUle,QAAU,IAAMkS,EAAO,YACjCmM,EAAQE,KAAKD,EAASpM,MACvBsM,OAAM,SAAUxX,GACf,GAAc,aAAVA,EACA,OAAO6W,EAEP,MAAM7W,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/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 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 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} 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 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 {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","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","PromiseStub","Promise","useSafePromise","cancelPrevious","cancelOnUnmount","cancelRef","cancelPromise","useCallback","promise","resolve","then","catch"],"sourceRoot":""}
|