@reltio/remotes 1.4.1379 → 1.4.1380
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/{6617.css → 1268.css} +1 -1
- package/{6617.css.map → 1268.css.map} +1 -1
- package/{6248.js → 1268.js} +2 -2
- package/{6248.js.map → 1268.js.map} +1 -1
- package/1375.js +1 -1
- package/1375.js.map +1 -1
- package/1409.js +2 -0
- package/1409.js.map +1 -0
- package/162.js +2 -0
- package/162.js.map +1 -0
- package/1746.js +2 -0
- package/1746.js.map +1 -0
- package/2114.js +1 -1
- package/2890.js +1 -1
- package/3540.js +1 -1
- package/3540.js.map +1 -1
- package/3640.js +1 -1
- package/3640.js.map +1 -1
- package/3723.js +3 -0
- package/{3213.js.LICENSE.txt → 3723.js.LICENSE.txt} +0 -0
- package/3723.js.map +1 -0
- package/3760.js +2 -0
- package/3760.js.map +1 -0
- package/4038.js +1 -1
- package/4038.js.map +1 -1
- package/4312.js +2 -0
- package/4312.js.map +1 -0
- package/447.js +1 -1
- package/447.js.map +1 -1
- package/4689.js +1 -1
- package/4889.js +1 -1
- package/4889.js.map +1 -1
- package/5400.js +1 -1
- package/5691.js +1 -1
- package/5691.js.map +1 -1
- package/5709.js +1 -1
- package/5937.js +1 -1
- package/5937.js.map +1 -1
- package/6103.js +1 -1
- package/6877.js +2 -0
- package/6877.js.map +1 -0
- package/7861.js +2 -0
- package/7861.js.map +1 -0
- package/{3786.css → 7880.css} +1 -1
- package/{3786.css.map → 7880.css.map} +1 -1
- package/7880.js +2 -0
- package/7880.js.map +1 -0
- package/8684.css +635 -0
- package/8684.css.map +1 -0
- package/{3405.js → 8684.js} +2 -2
- package/{3405.js.map → 8684.js.map} +1 -1
- package/8782.js +3 -0
- package/{781.js.LICENSE.txt → 8782.js.LICENSE.txt} +0 -0
- package/8782.js.map +1 -0
- package/9043.js +1 -1
- package/9043.js.map +1 -1
- package/9606.js +1 -1
- package/9606.js.map +1 -1
- package/9992.js +2 -0
- package/9992.js.map +1 -0
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
- package/remoteEntry.js.map +1 -1
- package/1178.js +0 -2
- package/1178.js.map +0 -1
- package/1635.js +0 -2
- package/1635.js.map +0 -1
- package/2378.js +0 -2
- package/2378.js.map +0 -1
- package/3213.js +0 -3
- package/3213.js.map +0 -1
- package/3786.js +0 -2
- package/3786.js.map +0 -1
- package/4115.js +0 -2
- package/4115.js.map +0 -1
- package/612.js +0 -2
- package/612.js.map +0 -1
- package/6617.js +0 -2
- package/6617.js.map +0 -1
- package/6892.js +0 -2
- package/6892.js.map +0 -1
- package/6913.js +0 -2
- package/6913.js.map +0 -1
- package/781.js +0 -3
- package/781.js.map +0 -1
- package/8051.js +0 -2
- package/8051.js.map +0 -1
- package/9417.js +0 -2
- package/9417.js.map +0 -1
- package/98.js +0 -2
- package/98.js.map +0 -1
package/1635.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"1635.js","mappings":"yPAEO,MAAMA,GAAYC,E,SAAAA,GAAW,CAChCC,WAAY,CACRC,QAAS,OACTC,WAAY,SACZC,eAAgB,WAChBC,OAAQ,OACRC,UAAW,6BACXC,UAAW,QAEfC,QAAS,CACLC,MAAO,kBACPC,SAAU,OACVC,WAAY,QAEhBC,WAAY,CACRC,WAAY,MACZC,YAAa,QAEjBC,OAAQ,CACJN,MAAO,kBACPC,SAAU,OACVC,WAAY,OACZK,UAAW,SAEfC,QAAS,CACLJ,WAAY,U,wcClBpB,MAAMK,EAAuB,IAUvB,IAVwB,QAC1BC,EAAU,GADgB,MAE1BC,EAF0B,mBAG1BC,EAH0B,KAI1BC,EAJ0B,aAK1BC,EAL0B,YAM1BC,EAN0B,oBAO1BC,EAP0B,cAQ1BC,EAR0B,iBAS1BC,GACE,EACF,MAMMC,EAAS7B,IACT8B,GAAyBC,EAAAA,EAAAA,cAAY,MACvCC,EAAAA,EAAAA,QAAOC,EAAAA,SAAU,CAAC,UAAW,0B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A,KAAU,2BAC9D,yBAAKyB,UAAWrC,EAAOmV,aACnB,kBAAC,IAAD,CAAqB4D,cAAY,IAC5B,QAAC,MAAC1U,EAAQ,EAAT,OAAY5F,EAAS,GAAtB,SACG,kBAACua,EAAA,EAAD,CACI3U,MAAOA,EACP5F,OAAQA,EA3C7B,EA4CqBsY,WAAY/F,EACZxR,MAAO0R,EACPxR,KAAMA,EACNC,aAAckW,EACdjW,YAAaA,EACbC,oBAAqByW,EACrB7W,mBAAoBA,SAhBjC,kBAACoK,EAAA,EAAD,MAuBf,KAAK8N,EAAAA,EAAAA,QACD,OAAO,kBAAC,EAAD,MACX,KAAKA,EAAAA,EAAAA,MACD,OAAO,kBAAC,EAAD,CAAyB5N,QAASnJ,IAAAA,KAAU,sBAAuB6T,UAAW6C,IACzF,QACI,OAAO,6CAkBN2B,QEpGXC,GAAoBC,EAAAA,EAAAA,yBAAwB,CAC9CC,iBAAkB,qBAClBC,eAAe,ICXnB,EDoB+B,IAAsC,IAArC,OAACzD,EAAD,MAAS0D,EAAT,SAAgBC,GAAqB,EACjE,OACI,kBAAC,EAAAC,SAAD,CAAUF,MAAOA,GACb,kBAACG,EAAA,WAAD,CAAwBnZ,MAAOsV,EAAOrP,IAClC,kBAAC,EAAAmT,eAAD,CAAgBR,kBAAmBA,GAC/B,kBAAC,EAAAS,wBAAD,CAAyBC,MAAOC,EAAAA,GAC5B,kBAAC,IAAD,CACId,cAAY,EACZQ,SAAU,CAAClV,EAAO5F,IAAW8a,MAAAA,OAAnB,EAAmBA,EAAWO,KAAKC,MAAM1V,GAAQyV,KAAKC,MAAMtb,MAE1E,kBAAC,EAAD,CAAoBmX,OAAQA,IAC5B,kBAACoE,EAAA,EAAD","sources":["webpack://@reltio/remotes/../components/src/components/BasicTableView/BasicTablePagination/styles.js","webpack://@reltio/remotes/../components/src/components/BasicTableView/BasicTablePagination/BasicTablePagination.js","webpack://@reltio/remotes/../components/src/components/BasicViewHeader/styles.ts","webpack://@reltio/remotes/../components/src/components/BasicViewHeader/BasicViewHeader.tsx","webpack://@reltio/remotes/../components/src/components/CollapseButton/styles.ts","webpack://@reltio/remotes/../components/src/components/CollapseButton/CollapseButton.tsx","webpack://@reltio/remotes/../components/src/components/DateRangePicker/styles.ts","webpack://@reltio/remotes/../components/src/components/DateRangePicker/DateRangePicker.tsx","webpack://@reltio/remotes/../components/src/components/DropDownMenuButton/styles.ts","webpack://@reltio/remotes/../components/src/components/DropDownMenuButton/MenuItemRenderer.tsx","webpack://@reltio/remotes/../components/src/components/DropDownMenuButton/DropDownMenuButton.tsx","webpack://@reltio/remotes/../components/src/components/EmptySearchResult/NoData.tsx","webpack://@reltio/remotes/../components/src/components/ReactSelect/CreatableSelect.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/MultiSelect/components/Option.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/MultiSelect/components/index.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/MultiSelect/MultiSelect.js","webpack://@reltio/remotes/../components/src/components/ReactSelect/MultiSelect/index.js","webpack://@reltio/remotes/../components/src/components/activityLog/hooks/useProfileActivitiesLoader.ts","webpack://@reltio/remotes/../components/src/components/commonReactSelectComponents/DropdownIndicatorWithIconButton.js","webpack://@reltio/remotes/../activity-log/src/components/ProfileActivityLogError/icons/error.svg","webpack://@reltio/remotes/../activity-log/src/components/ProfileActivityLogError/styles.ts","webpack://@reltio/remotes/../activity-log/src/components/ProfileActivityLogError/ProfileActivityLogError.tsx","webpack://@reltio/remotes/../activity-log/src/components/ProfileActivityLogLoader/styles.ts","webpack://@reltio/remotes/../activity-log/src/components/ProfileActivityLogLoader/ProfileActivityLogLoader.tsx","webpack://@reltio/remotes/../activity-log/src/components/ProfileActivityLog/helpers.ts","webpack://@reltio/remotes/../activity-log/src/components/ProfileActivityLog/styles.ts","webpack://@reltio/remotes/../activity-log/src/components/ProfileActivityLog/ProfileActivityLog.tsx","webpack://@reltio/remotes/../activity-log/src/hooks/useProfileActivitiesRequest.ts","webpack://@reltio/remotes/../activity-log/src/views/index.tsx","webpack://@reltio/remotes/./src/activity-log.ts"],"sourcesContent":["import {makeStyles} from '@material-ui/core/styles';\n\nexport const useStyles = makeStyles({\n pagination: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n height: '56px',\n borderTop: '1px solid rgba(0,0,0,0.12)',\n boxShadow: 'none'\n },\n caption: {\n color: 'rgba(0,0,0,0.6)',\n fontSize: '12px',\n lineHeight: '16px'\n },\n selectRoot: {\n marginLeft: '5px',\n marginRight: '36px'\n },\n select: {\n color: 'rgba(0,0,0,0.6)',\n fontSize: '12px',\n lineHeight: '16px',\n textAlign: 'right'\n },\n actions: {\n marginLeft: '32px'\n }\n});\n","import PropTypes from 'prop-types';\nimport React, {useCallback} from 'react';\nimport classnames from 'classnames';\nimport {TablePagination as TablePagination} from '@material-ui/core';\nimport i18n from 'ui-i18n';\nimport {getValue} from '../../../core/utils';\nimport {nthArg, pipe, pathOr, identity} from 'ramda';\nimport {useStyles} from './styles';\n\nconst BasicTablePagination = ({\n classes = {},\n count,\n rowsPerPageOptions,\n page,\n onChangePage,\n rowsPerPage,\n onChangeRowsPerPage,\n basicTableRef,\n labelRowsPerPage\n}) => {\n const labelDisplayedRows = ({from, to, count}) =>\n i18n.text('${fromRow}-${toRow} of ${countRows}', {\n fromRow: i18n.number(from, '0,0'),\n toRow: i18n.number(to, '0,0'),\n countRows: i18n.number(count, '0,0')\n });\n const styles = useStyles();\n const resetScrollbarPosition = useCallback(() => {\n pathOr(identity, ['current', 'resetScrollbarPosition'], basicTableRef)();\n }, [basicTableRef]);\n const handleChangePage = useCallback(\n (value) => {\n onChangePage(value);\n resetScrollbarPosition();\n },\n [onChangePage, resetScrollbarPosition]\n );\n const handleChangeRowsPerPage = useCallback(\n (value) => {\n onChangePage(0);\n onChangeRowsPerPage(value);\n resetScrollbarPosition();\n },\n [onChangePage, onChangeRowsPerPage, resetScrollbarPosition]\n );\n return (\n <TablePagination\n classes={{\n ...classes,\n root: classnames(styles.pagination, classes.root),\n select: classnames(styles.select, classes.select),\n caption: styles.caption,\n selectRoot: styles.selectRoot,\n actions: styles.actions\n }}\n component=\"div\"\n labelRowsPerPage={labelRowsPerPage || i18n.text('Rows per page:')}\n labelDisplayedRows={labelDisplayedRows}\n count={count}\n rowsPerPageOptions={rowsPerPageOptions}\n page={page}\n onChangePage={pipe(nthArg(1), handleChangePage)}\n rowsPerPage={rowsPerPage}\n onChangeRowsPerPage={pipe(getValue, handleChangeRowsPerPage)}\n />\n );\n};\n\nBasicTablePagination.propTypes = {\n classes: PropTypes.object,\n rowsPerPageOptions: PropTypes.arrayOf(PropTypes.number),\n count: PropTypes.number,\n page: PropTypes.number,\n onChangePage: PropTypes.func,\n rowsPerPage: PropTypes.number,\n onChangeRowsPerPage: PropTypes.func,\n basicTableRef: PropTypes.shape({current: PropTypes.object}),\n labelRowsPerPage: PropTypes.string\n};\n\nexport default React.memo(BasicTablePagination);\n","import {makeStyles} from '@material-ui/core/styles';\n\nexport const useStyles = makeStyles({\n toolbar: {\n minHeight: '48px',\n padding: '8px 24px',\n lineHeight: '28px'\n },\n title: {\n fontSize: '18px',\n fontWeight: 'normal',\n lineHeight: 'inherit',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis'\n }\n});\n","import React from 'react';\nimport Toolbar, {ToolbarProps} from '@material-ui/core/Toolbar';\nimport {Typography as Typography} from '@material-ui/core';\nimport {useStyles} from './styles';\n\ntype Props = ToolbarProps & {\n title?: string;\n classes?: Partial<Record<'root' | 'title', string>>;\n};\n\nconst BasicViewHeader = ({title, children = null, classes = {}, ...otherProps}: Props) => {\n const styles = useStyles();\n return (\n <Toolbar className={classes.root} classes={{root: styles.toolbar}} {...otherProps}>\n <Typography className={classes.title} classes={{root: styles.title}} variant=\"h6\">\n {title}\n </Typography>\n {children}\n </Toolbar>\n );\n};\n\nexport default BasicViewHeader;\n","import {makeStyles} from '@material-ui/core/styles';\n\nexport const useStyles = makeStyles({\n collapseButton: {\n cursor: 'pointer'\n },\n expandLess: {\n transform: 'rotate( -180deg )'\n }\n});\n","import React from 'react';\nimport classnames from 'classnames';\nimport {SmallIconButtonWithTooltip} from '../SmallIconButton';\nimport ExpandMore from '@material-ui/icons/ExpandMore';\nimport {useStyles} from './styles';\n\ntype SmallIconButtonWithTooltipProps = React.ComponentPropsWithoutRef<typeof SmallIconButtonWithTooltip>;\n\ntype Props = Omit<SmallIconButtonWithTooltipProps, 'tooltipTitle'> & {\n isOpen?: boolean;\n tooltipTitle?: string;\n};\n\nconst CollapseButton = ({isOpen = false, tooltipTitle, ...otherProps}: Props) => {\n const styles = useStyles();\n const buttonProps = {\n icon: ExpandMore,\n className: styles.collapseButton,\n iconClassName: classnames({[styles.expandLess]: isOpen})\n };\n const tooltipProps = {\n tooltipTitle: tooltipTitle\n };\n return <SmallIconButtonWithTooltip {...buttonProps} {...tooltipProps} {...otherProps} />;\n};\n\nexport default CollapseButton;\n","import {makeStyles} from '@material-ui/core/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n container: {\n display: 'flex',\n flexDirection: 'column',\n minHeight: '182px'\n },\n header: {\n display: 'flex',\n paddingLeft: '10px',\n backgroundColor: '#FFFFFF'\n },\n title: {\n marginLeft: '10px',\n color: theme.palette.text.primary,\n fontSize: '20px',\n fontWeight: 500,\n letterSpacing: '0.25px',\n lineHeight: '24px'\n },\n dateRangeContainer: {\n display: 'flex',\n flexGrow: 1,\n whiteSpace: 'nowrap',\n cursor: 'default',\n paddingTop: '8px'\n },\n dateInput: {\n margin: '0 7px'\n },\n actionButtons: {\n display: 'flex',\n justifyContent: 'flex-end',\n height: '48px',\n margin: '0px 8px'\n },\n button: {\n width: '96px'\n }\n}));\n","import React, {forwardRef, useRef, useState} from 'react';\nimport i18n from 'ui-i18n';\nimport nanoid from 'nanoid';\nimport {pathOr} from 'ramda';\nimport ArrowBack from '@material-ui/icons/ArrowBack';\nimport {Button as Button} from '@material-ui/core';\nimport {Toolbar as Toolbar} from '@material-ui/core';\nimport {Typography as Typography} from '@material-ui/core';\nimport SmallIconButton from '../SmallIconButton/SmallIconButton';\nimport {DataTypes} from '@reltio/mdm-sdk';\nimport TimestampEditor from '../editors/TimestampEditor/TimestampEditor';\nimport DateEditor from '../editors/DateEditor/DateEditor';\n\nimport {useStyles} from './styles';\n\nconst START_DATE = 0;\nconst END_DATE = 1;\n\nconst getDate = (values: Values, index: number) => pathOr(null, [index], values);\n\ntype Values = [Date, Date];\ntype Props = {\n onCancel: () => void;\n onApply: ([startDate, endDate]: Values) => void;\n values?: Values;\n type?: string;\n minDate?: Date;\n maxDate?: Date;\n};\n\nconst DateRangePicker = forwardRef<HTMLDivElement, Props>(\n ({onCancel, onApply, values, type, minDate, maxDate}: Props, ref) => {\n const styles = useStyles();\n\n const editorFromId = useRef(nanoid());\n const editorToId = useRef(nanoid());\n\n const [startDate, setStartDate] = useState<Date>(null);\n const [endDate, setEndDate] = useState<Date>(null);\n\n React.useEffect(() => {\n setStartDate(getDate(values, START_DATE));\n setEndDate(getDate(values, END_DATE));\n }, [values]);\n\n const ComponentEditor = type === DataTypes.TYPE_TIMESTAMP ? TimestampEditor : DateEditor;\n\n const headerTitle =\n type === DataTypes.TYPE_TIMESTAMP ? i18n.text('Pick date and time') : i18n.text('Pick date');\n\n const selectStartDateHandler = (value: Date) => {\n setStartDate(value);\n };\n\n const selectEndDateHandler = (value: Date) => {\n setEndDate(value);\n };\n\n const onUpdate = () => {\n if (startDate && endDate && startDate > endDate) {\n onApply([endDate, startDate]);\n } else {\n onApply([startDate, endDate]);\n }\n };\n\n const onTabStopPropagation = (e) => e.key === 'Tab' && e.stopPropagation();\n\n return (\n <div className={styles.container} ref={ref} onKeyDown={onTabStopPropagation}>\n <Toolbar disableGutters={true} classes={{root: styles.header}}>\n <SmallIconButton size=\"L\" icon={ArrowBack} onClick={onCancel} />\n <Typography className={styles.title}>{headerTitle}</Typography>\n </Toolbar>\n <div className={styles.dateRangeContainer}>\n <ComponentEditor\n id={editorFromId.current}\n label={'From'}\n variant=\"filled\"\n value={startDate}\n onChange={selectStartDateHandler}\n className={styles.dateInput}\n margin=\"dense\"\n minDate={minDate}\n maxDate={maxDate}\n />\n <ComponentEditor\n id={editorToId.current}\n label={'To'}\n variant=\"filled\"\n value={endDate}\n onChange={selectEndDateHandler}\n className={styles.dateInput}\n margin=\"dense\"\n minDate={minDate}\n maxDate={maxDate}\n />\n </div>\n <div className={styles.actionButtons}>\n <Button color=\"primary\" onClick={onUpdate} className={styles.button}>\n {i18n.text('Update')}\n </Button>\n </div>\n </div>\n );\n }\n);\n\nDateRangePicker.displayName = 'DateRangePicker';\n\nexport default DateRangePicker;\n","import {fade, makeStyles} from '@material-ui/core/styles';\n\nexport const useStyles = makeStyles((theme) => ({\n buttonRoot: {\n '&$selected': {\n color: theme.palette.action.active,\n backgroundColor: fade(theme.palette.action.active, 0.12),\n '&:hover': {\n backgroundColor: fade(theme.palette.action.active, 0.15)\n }\n }\n },\n selected: {},\n paper: {\n minWidth: '112px'\n },\n menuItem: {\n minHeight: '32px'\n },\n menuText: {\n color: theme.palette.text.primary,\n fontSize: '13px',\n lineHeight: '15px',\n letterSpacing: 0\n }\n}));\n","import React, {forwardRef} from 'react';\nimport {identity} from 'ramda';\nimport {Checkbox as Checkbox} from '@material-ui/core';\nimport {MenuItem as MenuItem} from '@material-ui/core';\nimport {Typography as Typography} from '@material-ui/core';\nimport withTooltip from '../../HOCs/withTooltip/withTooltip';\nimport {DropDownMenuItem} from '../../types';\n\nimport {useStyles} from './styles';\n\nconst MenuItemWithTooltip = withTooltip(MenuItem);\n\ntype Props = {\n item: DropDownMenuItem;\n onMenuClose?: (e) => void;\n};\n\nconst MenuItemRenderer = forwardRef(({item, onMenuClose = identity}: Props, ref: React.Ref<HTMLLIElement>) => {\n const styles = useStyles();\n const {disabled, text, tooltip, onClick, id = '', selectable, selected} = item;\n const handleClick = (e) => {\n onMenuClose(e);\n onClick(e);\n };\n\n return (\n <MenuItemWithTooltip\n tooltipTitle={tooltip}\n showForDisabled={true}\n classes={{root: styles.menuItem}}\n onClick={handleClick}\n disabled={disabled}\n ref={ref}\n data-modal\n data-reltio-id={`reltio-search-menu-item${id}`}\n >\n {selectable && <Checkbox checked={selected} color=\"primary\" />}\n <Typography classes={{root: styles.menuText}}>{text}</Typography>\n </MenuItemWithTooltip>\n );\n});\n\nMenuItemRenderer.displayName = 'MenuItemRenderer';\n\nexport default MenuItemRenderer;\n","import React, {useCallback, useRef, useState} from 'react';\nimport classnames from 'classnames';\nimport {identity} from 'ramda';\nimport {Button as Button} from '@material-ui/core';\nimport Menu, {MenuProps} from '@material-ui/core/Menu';\nimport {useDidUpdateEffect} from '../../hooks';\nimport DefaultMenuItemRenderer from './MenuItemRenderer';\nimport {useStyles} from './styles';\nimport {DropDownMenuItem} from '../../types';\n\ntype Props<T> = {\n className?: string;\n buttonComponent?: React.ElementType;\n buttonContent?: React.ReactNode;\n menuItems?: T[];\n buttonProps?: Record<string, unknown>;\n popoverProps?: Omit<MenuProps, 'open'>;\n menuId: string;\n onMenuOpen?: () => void;\n onMenuClose?: () => void;\n MenuItemRenderer?: (props) => JSX.Element;\n};\n\nfunction DropDownMenuButton<T = DropDownMenuItem>({\n className,\n menuId,\n buttonComponent = Button,\n buttonContent,\n menuItems = [],\n buttonProps = {},\n popoverProps = {},\n onMenuOpen = identity,\n onMenuClose = identity,\n MenuItemRenderer = DefaultMenuItemRenderer\n}: Props<T>) {\n const ButtonComponent = buttonComponent;\n const styles = useStyles();\n const buttonRef = useRef();\n const [isOpen, setIsOpen] = useState(false);\n\n useDidUpdateEffect(() => {\n isOpen ? onMenuOpen() : onMenuClose();\n }, [isOpen]);\n\n const handleToggle = useCallback((e) => {\n e?.stopPropagation();\n setIsOpen((open) => !open);\n }, []);\n\n const renderMenuItem = (item, index) => {\n return <MenuItemRenderer item={item} key={index} onMenuClose={handleToggle} />;\n };\n\n return (\n <>\n <ButtonComponent\n ref={buttonRef}\n className={classnames(\n styles.buttonRoot,\n {\n [styles.selected]: isOpen\n },\n className\n )}\n onClick={handleToggle}\n aria-pressed={isOpen}\n aria-controls={isOpen ? menuId : undefined}\n aria-haspopup=\"true\"\n {...buttonProps}\n >\n {buttonContent}\n </ButtonComponent>\n <Menu\n id={menuId}\n variant=\"menu\"\n open={isOpen}\n autoFocus={false}\n classes={{paper: styles.paper}}\n anchorEl={buttonRef.current}\n onClose={handleToggle}\n anchorOrigin={{\n vertical: 'bottom',\n horizontal: 'right'\n }}\n transformOrigin={{\n vertical: 'top',\n horizontal: 'right'\n }}\n elevation={2}\n getContentAnchorEl={null}\n MenuListProps={{autoFocusItem: isOpen}}\n {...popoverProps}\n >\n {menuItems.map(renderMenuItem)}\n </Menu>\n </>\n );\n}\n\nDropDownMenuButton.displayName = 'DropDownMenuButton';\n\nexport default DropDownMenuButton;\n","import React from 'react';\nimport i18n from 'ui-i18n';\nimport NoMessageComponent from './NoMessageComponent';\n\ntype Props = Omit<React.ComponentPropsWithoutRef<typeof NoMessageComponent>, 'message'>;\n\nexport const NoData = (props: Props) => {\n return <NoMessageComponent message={i18n.text('No data available')} {...props} />;\n};\n\nexport default NoData;\n","import CreatableSelect from 'react-select/creatable';\nimport withMuiSkin from './withMuiSkin';\n\nexport default withMuiSkin(CreatableSelect);\n","import {MenuItem as MenuItem} from '@material-ui/core';\nimport {Checkbox as Checkbox} from '@material-ui/core';\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 selectProps: {classes},\n label\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 <Checkbox color=\"primary\" checked={isSelected} />\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 })\n })\n};\n","import Option from './Option';\n\nconst components = {\n Option\n};\n\nexport default components;\n","import React, {useState} from 'react';\nimport PropTypes from 'prop-types';\nimport {omit} from 'ramda';\nimport CreatableSelect from '../CreatableSelect';\nimport Select from '../Select';\nimport AsyncSelect from '../AsyncSelect';\nimport multiSelectComponents from './components';\nimport {makeStyles} from '@material-ui/core/styles';\nimport {mergeClasses} from '../../../core/utils';\n\nconst useStyles = makeStyles((theme) => ({\n label: {\n top: 6,\n left: 16\n },\n placeholder: (props) => ({\n display: !props.placeholder || props.label ? 'none' : undefined\n }),\n 'option--selected': {\n fontWeight: 400\n },\n clearIndicator: {\n padding: theme.spacing(1),\n margin: theme.spacing(0.25, 0.5)\n },\n dropdownIndicator: {\n padding: theme.spacing(1),\n margin: theme.spacing(0.25, 0.5)\n }\n}));\n\nlet id = 0;\nconst getInputId = () => `custom-select-${id++}`;\n\nfunction MultiSelect(props) {\n const {\n label,\n creatable,\n getOptions,\n loadingIndicator,\n components: componentsProp,\n classes: classesProp,\n styles: stylesProp,\n onChange: onChangeProp,\n onInputChange: onInputChangeProp,\n menuPlacement = 'auto',\n ...reactSelectProps\n } = props;\n\n const SelectComponent = creatable ? CreatableSelect : getOptions ? AsyncSelect : Select;\n\n const [inputValue, setInputValue] = useState('');\n const multiSelectClasses = useStyles(omit(['classes'], props));\n const inputId = getInputId();\n\n const components = {\n ...multiSelectComponents,\n ...componentsProp\n };\n\n const classes = mergeClasses(multiSelectClasses, classesProp);\n\n function handleInputChange(value, {action}) {\n onInputChangeProp(value, {action});\n if (action !== 'set-value') {\n setInputValue(value);\n }\n }\n\n function handleChange(value, actionMeta) {\n onChangeProp(value, actionMeta);\n if (actionMeta.action === 'create-option') {\n setInputValue('');\n onInputChangeProp('', {action: 'input-change'});\n }\n }\n\n const styles = {\n indicatorSeparator: (base) => ({\n ...base,\n margin: '10px 0'\n }),\n loadingIndicator: (base) => ({\n ...base,\n display: loadingIndicator ? base.display : 'none'\n }),\n loadingMessage: (base) => ({\n ...base,\n fontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif'\n }),\n ...stylesProp\n };\n\n const labelProps = label\n ? {\n inputId,\n TextFieldProps: {\n label,\n InputLabelProps: {\n htmlFor: inputId,\n shrink: props.value && props.value.length ? true : undefined,\n className: classes.label\n },\n ...props.TextFieldProps\n }\n }\n : {};\n\n return (\n <SelectComponent\n isMulti\n inputId={inputId}\n inputValue={inputValue}\n onChange={handleChange}\n onInputChange={handleInputChange}\n closeMenuOnSelect={false}\n hideSelectedOptions={false}\n classes={classes}\n components={components}\n styles={styles}\n menuPlacement={menuPlacement}\n loadOptions={getOptions}\n {...labelProps}\n {...reactSelectProps}\n />\n );\n}\n\nMultiSelect.defaultProps = {\n creatable: false,\n cacheOptions: true,\n components: {},\n classes: {},\n placeholder: '',\n loadingIndicator: false,\n onInputChange: () => {},\n onChange: () => {}\n};\n\nMultiSelect.propTypes = {\n /**\n * Async creatable multi select with optional placeholder, shrink-label, non-closing menu and options with checkboxes.\n * Based on react-select/creatable and react-select/async.\n * See react-select docs: https://react-select.com\n *\n * Below are listed only props used in the MultiSelect component. Check https://react-select.com/props first.\n * */\n\n /** Ability to create values. React-select/async-creatable is used internally */\n creatable: PropTypes.bool,\n /** True for enabling cache. Recommended. */\n cacheOptions: PropTypes.bool,\n defaultOptions: PropTypes.bool,\n /** Array of selected options. */\n value: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string.isRequired,\n value: PropTypes.any\n })\n ),\n options: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string.isRequired,\n value: PropTypes.any\n })\n ),\n /** Way to receive updated values */\n onChange: PropTypes.func,\n /** Way to receive updated inputValue */\n onInputChange: PropTypes.func,\n /** Input placeholder. Will not be shown if the label prop is specified */\n placeholder: PropTypes.string,\n /** Floating label from @material-ui/core/TextField component */\n label: PropTypes.string,\n /** Enable to show default react-select's indicator */\n loadingIndicator: PropTypes.bool,\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 label: PropTypes.string\n }),\n /**\n * React-select's way to customise style. Could be used to style default react-select components.\n * In other cases better to use classes and components props\n * */\n styles: PropTypes.shape({\n clearIndicator: PropTypes.func,\n container: PropTypes.func,\n control: PropTypes.func,\n dropdownIndicator: 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 loadingMessage: PropTypes.func,\n menu: PropTypes.func,\n menuList: PropTypes.func,\n menuPortal: PropTypes.func,\n multiValue: PropTypes.func,\n multiValueLabel: PropTypes.func,\n multiValueRemove: PropTypes.func,\n noOptionsMessage: PropTypes.func,\n option: PropTypes.func,\n placeholder: PropTypes.func,\n singleValue: PropTypes.func,\n valueContainer: PropTypes.func\n }),\n /** Props from https://material-ui.com/api/text-field/ */\n TextFieldProps: PropTypes.object /* eslint-disable-line react/forbid-prop-types */,\n getOptions: PropTypes.func,\n menuPlacement: PropTypes.string,\n menuPortalTarget: PropTypes.object,\n getOptionValue: PropTypes.func,\n isSearchable: PropTypes.bool,\n inputRef: PropTypes.shape({current: PropTypes.object})\n};\n\nexport default MultiSelect;\n","import MultiSelect from './MultiSelect';\n\nexport default MultiSelect;\n","import {useCallback} from 'react';\nimport {ActivitiesFilter} from '../types';\nimport {getProfileActivities, getProfileActivitiesTotal} from '@reltio/mdm-sdk';\nimport {buildActivitiesFilterString} from '../utils/filters';\n\ntype Props = {\n filter: ActivitiesFilter;\n max: number;\n offset: number;\n entityUri: string;\n};\n\nexport const useProfileActivitiesLoader = ({filter, max, offset, entityUri}: Props) => {\n return useCallback(async () => {\n const filterString = buildActivitiesFilterString(filter);\n const data = await getProfileActivities({filter: filterString, max, offset, entityUri});\n const {total} = await getProfileActivitiesTotal({filter: filterString, entityUri});\n return {data, total};\n }, [filter, max, offset, entityUri]);\n};\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport classnames from 'classnames';\nimport {useArrowIndicatorStyles} from './arrowIndicatorStyles';\nimport ArrowDropDownIcon from '@material-ui/icons/ArrowDropDown';\nimport SmallIconButton from '../SmallIconButton/SmallIconButton';\n\nconst DropdownIndicatorWithIconButton = (props) => {\n const {\n selectProps: {classes, menuIsOpen},\n innerProps\n } = props;\n\n const styles = useArrowIndicatorStyles();\n\n return (\n <SmallIconButton\n {...innerProps}\n icon={ArrowDropDownIcon}\n className={classes.dropdownIndicator}\n size=\"L\"\n iconClassName={classnames({[styles.expanded]: menuIsOpen})}\n />\n );\n};\n\nDropdownIndicatorWithIconButton.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 }).isRequired\n};\n\nexport default DropdownIndicatorWithIconButton;\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport React from \"react\";\nexport default (({\n styles = {},\n ...props\n}) => React.createElement(\"svg\", _extends({\n width: \"88\",\n height: \"88\",\n viewBox: \"0 0 88 88\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, props), React.createElement(\"mask\", {\n id: \"svg2440373321a\",\n style: {\n maskType: \"alpha\"\n },\n maskUnits: \"userSpaceOnUse\",\n x: \"0\",\n y: \"0\",\n width: \"88\",\n height: \"88\"\n}, React.createElement(\"path\", {\n d: \"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z\",\n fill: \"#fff\"\n})), React.createElement(\"g\", {\n mask: \"url(#svg2440373321a)\"\n}, React.createElement(\"path\", {\n d: \"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z\",\n fill: \"#CAC4D5\",\n fillOpacity: \".3\"\n}), React.createElement(\"path\", {\n opacity: \".3\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M19.987 6.73l49.449 6.072a.687.687 0 01.596.767l-7.845 63.888a.688.688 0 01-.766.6L7.214 71.4a.688.688 0 01-.599-.763l.408-3.326L19.987 6.73z\",\n fill: \"#fff\"\n}), React.createElement(\"path\", {\n opacity: \".2\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M1.267 25.921l45.86-19.466a.687.687 0 01.9.366l25.15 59.251a.61.61 0 01-.386.84L22.34 82.765a.719.719 0 01-.887-.445l-20.185-56.4z\",\n fill: \"#fff\"\n}), React.createElement(\"path\", {\n d: \"M65.631 9.23H11.017a.688.688 0 00-.687.687v64.37c0 .38.307.687.687.687h54.614c.38 0 .688-.308.688-.687V9.917a.688.688 0 00-.688-.688z\",\n fill: \"#F9F9F9\"\n}), React.createElement(\"path\", {\n opacity: \".1\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M14.885 34.95l3.105-1.666 7.31-4.025 8.852 3.472 7.89-5.223 8.036-2.628 8.113 5.193 3.352-10.255v16.967H14.935l-.05-1.835z\",\n fill: \"#9C6CF0\"\n}), React.createElement(\"path\", {\n opacity: \".2\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M14.885 32.331l3.105-3.761 7.31 4.31 8.852 1.656 7.89-2.205 8.036 1.827 8.113-12.643 3.352.742V36.36H14.935l-.05-4.029z\",\n fill: \"#FA82AA\"\n}), React.createElement(\"path\", {\n opacity: \".2\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M14.885 34.946l3.105.432 7.31 1.01 8.852-5.117 7.89 3.675 8.036 1.839 8.113-1.839 3.352.811v1.028H14.935l-.05-1.839z\",\n fill: \"#4DBEE9\"\n}), React.createElement(\"path\", {\n opacity: \".1\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M61.543 35.288l-.05 1.497H14.885v-5.239l3.352-.276 8.114 4.697 8.036-.679 7.889.82 8.852-.616 7.31-1.601 3.105 1.397z\",\n fill: \"#4DBEE9\"\n}), React.createElement(\"path\", {\n d: \"M21.036 40.178h-5.09a.636.636 0 000 1.272h5.09a.636.636 0 100-1.272z\",\n fill: \"#ACACAC\"\n}), React.createElement(\"path\", {\n opacity: \".3\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M16.582 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM25.914 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM39.91 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM21.248 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM35.245 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM30.58 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM44.577 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272z\",\n fill: \"#BDBDBD\"\n}), React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M16.582 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.272-1.273zM25.914 62.658c.702 0 1.272.57 1.272 1.273v5.09a1.272 1.272 0 11-2.545 0v-5.09c0-.703.57-1.273 1.273-1.273zM39.91 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.273-1.273zM21.248 66.477c.702 0 1.272.57 1.272 1.272v1.273a1.273 1.273 0 01-2.545 0v-1.273c0-.703.57-1.272 1.273-1.272z\",\n fill: \"#4DBEE9\"\n}), React.createElement(\"path\", {\n d: \"M36.518 65.628a1.272 1.272 0 00-2.545 0v3.393a1.272 1.272 0 102.545 0v-3.393zM31.852 62.234a1.272 1.272 0 10-2.545 0v6.787a1.272 1.272 0 102.545 0v-6.787z\",\n fill: \"#4DBEE9\"\n}), React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M44.577 60.962c.702 0 1.272.57 1.272 1.272v6.787a1.273 1.273 0 01-2.545 0v-6.787c0-.702.57-1.272 1.273-1.272z\",\n fill: \"#4DBEE9\"\n}), React.createElement(\"path\", {\n d: \"M18.915 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z\",\n fill: \"#9C6CF0\"\n}), React.createElement(\"path\", {\n opacity: \".5\",\n d: \"M34.185 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z\",\n fill: \"#4DBEE9\"\n}), React.createElement(\"path\", {\n opacity: \".3\",\n d: \"M49.454 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z\",\n fill: \"#4DBEE9\"\n}), React.createElement(\"path\", {\n opacity: \".8\",\n d: \"M26.55 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z\",\n fill: \"#FB6597\"\n}), React.createElement(\"path\", {\n d: \"M41.82 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z\",\n fill: \"#4DBEE9\"\n}), React.createElement(\"path\", {\n opacity: \".2\",\n d: \"M57.09 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z\",\n fill: \"#4DBEE9\"\n}), React.createElement(\"path\", {\n opacity: \".5\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M16.582 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM31.851 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 110-.849zM47.121 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 010-.849zM24.217 19.818h4.665a.424.424 0 010 .849h-4.665a.424.424 0 010-.849zM39.486 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM54.756 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849z\",\n fill: \"#ACACAC\"\n}), React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M15.946 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM15.946 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM15.946 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM23.58 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM23.58 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM23.58 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM49.454 43.571h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 46.116h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 48.661h11.028a.636.636 0 010 1.273H49.454a.636.636 0 110-1.273zM31.215 43.571h15.27a.636.636 0 110 1.273h-15.27a.636.636 0 010-1.273zM31.215 46.116h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM31.215 48.661h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM15.946 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM23.58 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM49.454 51.206h11.028a.636.636 0 010 1.272H49.454a.636.636 0 110-1.272zM31.215 51.206h15.27a.636.636 0 110 1.272h-15.27a.636.636 0 010-1.272z\",\n fill: \"#E9E9E9\"\n}), React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M49.878 55.872h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 110-1.273z\",\n fill: \"#ACACAC\"\n}), React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M49.878 59.69h11.029a.636.636 0 010 1.272H49.878a.636.636 0 110-1.273zM49.878 62.234h11.029a.636.636 0 010 1.273H49.878a.636.636 0 010-1.273zM49.878 64.78h11.029a.636.636 0 010 1.272H49.878a.636.636 0 010-1.273z\",\n fill: \"#E9E9E9\"\n}), React.createElement(\"path\", {\n d: \"M54.968 67.324h-5.09a.636.636 0 000 1.273h5.09a.636.636 0 000-1.273z\",\n fill: \"#E9E9E9\"\n}), React.createElement(\"g\", {\n filter: \"url(#filter0_d)\"\n}, React.createElement(\"path\", {\n d: \"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z\",\n fill: \"#000\"\n})), React.createElement(\"path\", {\n d: \"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z\",\n fill: \"#F25252\"\n}), React.createElement(\"path\", {\n opacity: \".15\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M57.406 34.719c12.34 0 22.344 10.003 22.344 22.343S69.746 79.406 57.406 79.406c-12.34 0-22.343-10.003-22.343-22.344 0-12.34 10.003-22.343 22.343-22.343zm-.172 2.406c-10.916 0-19.765 8.85-19.765 19.766 0 10.916 8.85 19.765 19.765 19.765C68.151 76.656 77 67.806 77 56.891c0-10.917-8.85-19.766-19.766-19.766z\",\n fill: \"#F25252\"\n}), React.createElement(\"path\", {\n opacity: \".3\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M57.406 38.844c10.062 0 18.219 8.157 18.219 18.218 0 10.062-8.157 18.22-18.219 18.22-10.062 0-18.218-8.158-18.218-18.22 0-10.061 8.156-18.218 18.218-18.218zm0 2.043c-8.933 0-16.175 7.242-16.175 16.175 0 8.934 7.242 16.176 16.175 16.176 8.934 0 16.176-7.242 16.176-16.175 0-8.934-7.242-16.176-16.176-16.176z\",\n fill: \"#F25252\"\n}), React.createElement(\"path\", {\n opacity: \".05\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M57.406 26.469C74.303 26.469 88 40.166 88 57.062c0 16.897-13.697 30.594-30.594 30.594-16.896 0-30.593-13.697-30.593-30.594 0-16.896 13.697-30.593 30.593-30.593zm-.172 3.437c-14.903 0-26.984 12.082-26.984 26.985 0 14.903 12.081 26.984 26.984 26.984 14.903 0 26.985-12.081 26.985-26.984 0-14.903-12.082-26.985-26.985-26.985z\",\n fill: \"#F25252\"\n}), React.createElement(\"path\", {\n d: \"M57.406 71.844c8.164 0 14.782-6.618 14.782-14.781 0-8.164-6.618-14.782-14.782-14.782-8.163 0-14.781 6.618-14.781 14.782 0 8.163 6.618 14.78 14.781 14.78z\",\n fill: \"#FF6A6A\"\n}), React.createElement(\"path\", {\n opacity: \".05\",\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M58.298 46.448L75.18 63.331l-9.114 12.078h-2.029l-7.582-7.582 1.006-3.178.837-18.2z\",\n fill: \"url(#paint0_linear)\"\n}), React.createElement(\"g\", {\n filter: \"url(#filter1_d)\"\n}, React.createElement(\"path\", {\n d: \"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z\",\n fill: \"#000\"\n})), React.createElement(\"path\", {\n d: \"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z\",\n fill: \"#fff\"\n}), React.createElement(\"g\", {\n filter: \"url(#filter2_d)\"\n}, React.createElement(\"path\", {\n d: \"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z\",\n fill: \"#000\"\n})), React.createElement(\"path\", {\n d: \"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z\",\n fill: \"#fff\"\n})), React.createElement(\"defs\", null, React.createElement(\"filter\", {\n id: \"filter0_d\",\n x: \"36.219\",\n y: \"37.875\",\n width: \"42.375\",\n height: \"42.375\",\n filterUnits: \"userSpaceOnUse\",\n colorInterpolationFilters: \"sRGB\"\n}, React.createElement(\"feFlood\", {\n floodOpacity: \"0\",\n result: \"BackgroundImageFix\"\n}), React.createElement(\"feColorMatrix\", {\n in: \"SourceAlpha\",\n type: \"matrix\",\n values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"\n}), React.createElement(\"feOffset\", {\n dy: \"2\"\n}), React.createElement(\"feGaussianBlur\", {\n stdDeviation: \"2\"\n}), React.createElement(\"feColorMatrix\", {\n type: \"matrix\",\n values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0\"\n}), React.createElement(\"feBlend\", {\n mode: \"normal\",\n in2: \"BackgroundImageFix\",\n result: \"effect1_dropShadow\"\n}), React.createElement(\"feBlend\", {\n mode: \"normal\",\n in: \"SourceGraphic\",\n in2: \"effect1_dropShadow\",\n result: \"shape\"\n})), React.createElement(\"filter\", {\n id: \"filter1_d\",\n x: \"51.688\",\n y: \"62.625\",\n width: \"11.438\",\n height: \"11.438\",\n filterUnits: \"userSpaceOnUse\",\n colorInterpolationFilters: \"sRGB\"\n}, React.createElement(\"feFlood\", {\n floodOpacity: \"0\",\n result: \"BackgroundImageFix\"\n}), React.createElement(\"feColorMatrix\", {\n in: \"SourceAlpha\",\n type: \"matrix\",\n values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"\n}), React.createElement(\"feOffset\", {\n dy: \"2\"\n}), React.createElement(\"feGaussianBlur\", {\n stdDeviation: \"2\"\n}), React.createElement(\"feColorMatrix\", {\n type: \"matrix\",\n values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0\"\n}), React.createElement(\"feBlend\", {\n mode: \"normal\",\n in2: \"BackgroundImageFix\",\n result: \"effect1_dropShadow\"\n}), React.createElement(\"feBlend\", {\n mode: \"normal\",\n in: \"SourceGraphic\",\n in2: \"effect1_dropShadow\",\n result: \"shape\"\n})), React.createElement(\"filter\", {\n id: \"filter2_d\",\n x: \"51.688\",\n y: \"44.063\",\n width: \"11.438\",\n height: \"23.813\",\n filterUnits: \"userSpaceOnUse\",\n colorInterpolationFilters: \"sRGB\"\n}, React.createElement(\"feFlood\", {\n floodOpacity: \"0\",\n result: \"BackgroundImageFix\"\n}), React.createElement(\"feColorMatrix\", {\n in: \"SourceAlpha\",\n type: \"matrix\",\n values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"\n}), React.createElement(\"feOffset\", {\n dy: \"2\"\n}), React.createElement(\"feGaussianBlur\", {\n stdDeviation: \"2\"\n}), React.createElement(\"feColorMatrix\", {\n type: \"matrix\",\n values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0\"\n}), React.createElement(\"feBlend\", {\n mode: \"normal\",\n in2: \"BackgroundImageFix\",\n result: \"effect1_dropShadow\"\n}), React.createElement(\"feBlend\", {\n mode: \"normal\",\n in: \"SourceGraphic\",\n in2: \"effect1_dropShadow\",\n result: \"shape\"\n})), React.createElement(\"linearGradient\", {\n id: \"paint0_linear\",\n x1: \"68.438\",\n y1: \"71.571\",\n x2: \"60.119\",\n y2: \"58.801\",\n gradientUnits: \"userSpaceOnUse\"\n}, React.createElement(\"stop\", {\n stopOpacity: \"0\"\n}), React.createElement(\"stop\", {\n offset: \"1\"\n})))));","import {makeStyles} from '@material-ui/core/styles';\n\ntype ErrorContainerProps = {\n height?: number;\n};\n\nexport const useStyles = makeStyles((theme) => ({\n errorContainer: ({height}: ErrorContainerProps) => ({\n height: height ? `${height}px` : 'auto',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n alignItems: 'center',\n color: 'rgba(0, 0, 0, 0.54)'\n }),\n errorIcon: {\n height: '88px',\n width: '88px',\n marginBottom: '20px',\n paddingTop: '36px'\n },\n refreshButton: {\n color: theme.palette.primary.main,\n marginTop: '10px'\n },\n refreshIcon: {\n width: '24px',\n height: '24px'\n }\n}));\n","import React from 'react';\nimport i18n from 'ui-i18n';\nimport {Typography as Typography} from '@material-ui/core';\nimport ReplayIcon from '@material-ui/icons/Replay';\nimport {Button as Button} from '@material-ui/core';\nimport ErrorIcon from './icons/error.svg';\nimport {useStyles} from './styles';\n\ntype ProfileActivityLogErrorProps = {\n height?: number;\n onRefresh?: () => void;\n message?: string;\n};\n\nconst ProfileActivityLogError = ({height, onRefresh, message}: ProfileActivityLogErrorProps) => {\n const styles = useStyles({height});\n return (\n <div className={styles.errorContainer}>\n <ErrorIcon className={styles.errorIcon} />\n <Typography>{message}</Typography>\n {onRefresh && (\n <Button\n className={styles.refreshButton}\n startIcon={<ReplayIcon color=\"primary\" className={styles.refreshIcon} />}\n onClick={onRefresh}\n >\n <Typography variant=\"button\">{i18n.text('Refresh')}</Typography>\n </Button>\n )}\n </div>\n );\n};\n\nexport default ProfileActivityLogError;\n","import {makeStyles} from '@material-ui/core/styles';\n\nexport const useStyles = makeStyles({\n loader: {\n width: '100%',\n top: 0,\n left: 0,\n position: 'absolute',\n borderRadius: '2px'\n }\n});\n","import React from 'react';\nimport {LinearProgress as LinearProgress} from '@material-ui/core';\nimport {useStyles} from './styles';\n\nconst ProfileActivityLogLoader = () => {\n const styles = useStyles();\n return <LinearProgress color=\"secondary\" className={styles.loader} />;\n};\n\nexport default ProfileActivityLogLoader;\n","import {subtract} from 'ramda';\n\nconst ROWS_PER_PAGE_OPTIONS = [10, 25, 50, 100];\nexport const [DEFAULT_ROWS_PER_PAGE] = ROWS_PER_PAGE_OPTIONS;\nexport const getRowsPerPageOptions = (defaultRowsPerPage) =>\n ROWS_PER_PAGE_OPTIONS.filter((option) => option !== defaultRowsPerPage)\n .concat(defaultRowsPerPage)\n .sort(subtract);\n","import {makeStyles} from '@material-ui/core/styles';\n\nexport const useStyles = makeStyles(() => ({\n viewContent: {\n overflow: 'hidden',\n position: 'relative',\n fontFamily: 'Roboto, Helvetica, Arial, sans-serif',\n padding: '4px 17px 24px',\n display: 'flex',\n flexDirection: 'column'\n },\n activityLog: {\n flex: 1,\n overflowY: 'auto'\n },\n headerRoot: {\n lineHeight: '23px',\n minHeight: 38,\n borderBottom: '1px solid rgba(0,0,0,0.12)'\n },\n headerTitle: {\n fontWeight: 500,\n fontSize: '20px',\n lineHeight: '23px',\n letterSpacing: '0.25px'\n },\n basicView: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n display: 'flex',\n alignItems: 'stretch',\n height: '100%'\n }\n}));\n","import {\n ActivitiesFilter,\n ActivityLog,\n ActivityLogFilter,\n BasicView,\n BasicViewContent,\n BasicViewHeader,\n DateRangeTypes,\n ErrorBoundary,\n NoData,\n RequestStates\n} from '@reltio/components';\nimport mdmModule from '@reltio/mdm-module';\nimport {ActivityLogPerspectiveConfig, Entity, getEntityType, Metadata} from '@reltio/mdm-sdk';\nimport React, {memo, useCallback, useMemo, useState} from 'react';\nimport {useSelector} from 'react-redux';\nimport ReactResizeDetector from 'react-resize-detector';\nimport i18n from 'ui-i18n';\nimport {useProfileActivitiesRequest} from '../../hooks/useProfileActivitiesRequest';\nimport ProfileActivityLogError from '../ProfileActivityLogError/ProfileActivityLogError';\nimport ProfileActivityLogLoader from '../ProfileActivityLogLoader/ProfileActivityLogLoader';\nimport {DEFAULT_ROWS_PER_PAGE, getRowsPerPageOptions} from './helpers';\nimport {useStyles} from './styles';\n\ntype Props = {\n config: ActivityLogPerspectiveConfig;\n};\n\nconst ProfileActivityLog = ({config}: Props) => {\n const [page, setPage] = useState(0);\n const {exportTypes, caption} = config;\n const MARGIN = 3;\n const styles = useStyles();\n const metadata: Metadata = useSelector(mdmModule.selectors.getMetadata);\n const entity: Entity = useSelector(mdmModule.selectors.getEntity);\n const entityType = getEntityType(metadata, entity?.type);\n const entityUri = entity?.uri;\n const [rowsPerPage, setRowsPerPage] = useState(DEFAULT_ROWS_PER_PAGE);\n const rowsPerPageOptions = useMemo(() => getRowsPerPageOptions(DEFAULT_ROWS_PER_PAGE), []);\n const [filter, setFilter] = useState<ActivitiesFilter>({\n users: [],\n activities: [],\n attributes: [],\n sources: [],\n dateRange: {\n type: DateRangeTypes.WITHIN,\n period: [4, 'months']\n }\n });\n const {state, data, total, reload} = useProfileActivitiesRequest({\n filter,\n max: rowsPerPage,\n offset: page * rowsPerPage,\n entityUri\n });\n\n const handleFilterChange = useCallback((value: ActivitiesFilter) => {\n setFilter(value);\n setPage(0);\n }, []);\n\n const renderContent = () => {\n switch (state) {\n case RequestStates.LOADED:\n if (!data || data.length === 0) {\n return <NoData />;\n }\n return (\n <ErrorBoundary error={<ProfileActivityLogError message={i18n.text('Something went wrong')} />}>\n <div className={styles.activityLog}>\n <ReactResizeDetector handleHeight>\n {({width = 0, height = 0}: {width: number; height: number}) => (\n <ActivityLog\n width={width}\n height={height + MARGIN}\n activities={data}\n count={total}\n page={page}\n onChangePage={setPage}\n rowsPerPage={rowsPerPage}\n onChangeRowsPerPage={setRowsPerPage}\n rowsPerPageOptions={rowsPerPageOptions}\n />\n )}\n </ReactResizeDetector>\n </div>\n </ErrorBoundary>\n );\n case RequestStates.LOADING:\n return <ProfileActivityLogLoader />;\n case RequestStates.ERROR:\n return <ProfileActivityLogError message={i18n.text('Error Loading Data')} onRefresh={reload} />;\n default:\n return <div>Loading...</div>;\n }\n };\n\n return (\n <BasicView className={styles.basicView}>\n <BasicViewHeader\n title={caption || i18n.text('Activity Log')}\n classes={{root: styles.headerRoot, title: styles.headerTitle}}\n />\n <BasicViewContent className={styles.viewContent}>\n <ActivityLogFilter\n value={filter}\n onChange={handleFilterChange}\n entityType={entityType}\n entityUri={entityUri}\n exportTypes={exportTypes}\n />\n {renderContent()}\n </BasicViewContent>\n </BasicView>\n );\n};\n\nexport default memo(ProfileActivityLog);\n","import {useCallback, useEffect, useState} from 'react';\nimport {andThen, otherwise, pipe} from 'ramda';\nimport {ActivitiesFilter, useProfileActivitiesLoader, useSafePromise, RequestStates} from '@reltio/components';\n\ntype Props = {\n filter: ActivitiesFilter;\n max: number;\n offset: number;\n entityUri: string;\n};\n\nexport const useProfileActivitiesRequest = ({filter, max, offset, entityUri}: Props) => {\n const [data, setData] = useState<unknown[]>([]);\n const [total, setTotal] = useState(0);\n const [requestState, setRequestState] = useState<RequestStates>(RequestStates.INIT);\n const safePromise = useSafePromise();\n\n const onError = (error) => {\n console.error(error); // eslint-disable-line\n setRequestState(RequestStates.ERROR);\n setData([]);\n setTotal(0);\n };\n const getActivities = useProfileActivitiesLoader({filter, max, offset, entityUri});\n\n const loadData = useCallback(() => {\n if (!entityUri) return;\n\n setRequestState(RequestStates.LOADING);\n const onRequestFinished = ({data, total}: {data: unknown[]; total: number}) => {\n setRequestState(RequestStates.LOADED);\n setData(data);\n setTotal(total);\n };\n\n const getData = pipe(getActivities, safePromise, andThen(onRequestFinished), otherwise(onError));\n getData();\n }, [getActivities]); // eslint-disable-line\n\n const refreshAction = () => {\n try {\n loadData();\n } catch (e) {\n onError(e);\n }\n };\n\n useEffect(() => {\n refreshAction();\n }, [loadData]);\n\n return {state: requestState, data, total, reload: refreshAction};\n};\n","import MomentUtils from '@date-io/moment';\nimport {createGenerateClassName, StylesProvider} from '@material-ui/core/styles';\nimport {MuiPickersUtilsProvider} from '@material-ui/pickers';\nimport {ErrorPopup, ViewIdContext} from '@reltio/components';\nimport React from 'react';\nimport {Provider} from 'react-redux';\nimport ReactResizeDetector from 'react-resize-detector';\nimport {Store} from 'redux';\nimport ProfileActivityLog from '../components/ProfileActivityLog/ProfileActivityLog';\nimport {ActivityLogPerspectiveConfig} from '@reltio/mdm-sdk';\n\nconst generateClassName = createGenerateClassName({\n productionPrefix: 'profileActivityLog',\n disableGlobal: true\n});\n\ntype Props = {\n config: ActivityLogPerspectiveConfig;\n store: Store<unknown>;\n onResize?: (width: number, height: number) => void;\n};\n\nconst ProfileActivityLogView = ({config, store, onResize}: Props) => {\n return (\n <Provider store={store}>\n <ViewIdContext.Provider value={config.id}>\n <StylesProvider generateClassName={generateClassName}>\n <MuiPickersUtilsProvider utils={MomentUtils}>\n <ReactResizeDetector\n handleHeight\n onResize={(width, height) => onResize?.(Math.floor(width), Math.floor(height))}\n />\n <ProfileActivityLog config={config} />\n <ErrorPopup />\n </MuiPickersUtilsProvider>\n </StylesProvider>\n </ViewIdContext.Provider>\n </Provider>\n );\n};\n\nexport {ProfileActivityLogView};\n","import {ProfileActivityLogView} from '@reltio/activity-log';\n\nexport default ProfileActivityLogView;\n"],"names":["useStyles","makeStyles","pagination","display","alignItems","justifyContent","height","borderTop","boxShadow","caption","color","fontSize","lineHeight","selectRoot","marginLeft","marginRight","select","textAlign","actions","BasicTablePagination","classes","count","rowsPerPageOptions","page","onChangePage","rowsPerPage","onChangeRowsPerPage","basicTableRef","labelRowsPerPage","styles","resetScrollbarPosition","useCallback","pathOr","identity","handleChangePage","value","handleChangeRowsPerPage","TablePagination","root","classnames","component","i18n","labelDisplayedRows","from","to","fromRow","toRow","countRows","pipe","nthArg","getValue","propTypes","PropTypes","current","React","toolbar","minHeight","padding","title","fontWeight","whiteSpace","overflow","textOverflow","children","otherProps","Toolbar","className","Typography","variant","collapseButton","cursor","expandLess","transform","isOpen","tooltipTitle","buttonProps","icon","ExpandMore","iconClassName","tooltipProps","SmallIconButton","theme","container","flexDirection","header","paddingLeft","backgroundColor","palette","text","primary","letterSpacing","dateRangeContainer","flexGrow","paddingTop","dateInput","margin","actionButtons","button","width","getDate","values","index","DateRangePicker","forwardRef","ref","onCancel","onApply","type","minDate","maxDate","editorFromId","useRef","nanoid","editorToId","startDate","setStartDate","useState","endDate","setEndDate","ComponentEditor","DataTypes","TimestampEditor","DateEditor","headerTitle","onKeyDown","e","key","stopPropagation","disableGutters","size","ArrowBack","onClick","id","label","onChange","Button","displayName","buttonRoot","action","active","fade","selected","paper","minWidth","menuItem","menuText","MenuItemWithTooltip","withTooltip","MenuItem","MenuItemRenderer","item","onMenuClose","disabled","tooltip","selectable","showForDisabled","Checkbox","checked","DropDownMenuButton","menuId","buttonComponent","buttonContent","menuItems","popoverProps","onMenuOpen","DefaultMenuItemRenderer","ButtonComponent","buttonRef","setIsOpen","useDidUpdateEffect","handleToggle","open","undefined","Menu","autoFocus","anchorEl","onClose","anchorOrigin","vertical","horizontal","transformOrigin","elevation","getContentAnchorEl","MenuListProps","autoFocusItem","map","NoData","props","message","withMuiSkin","CreatableSelect","Option","innerProps","innerRef","isFocused","isSelected","selectProps","classNames","option","ExpandedValueTooltip","onMouseMove","onMouseOver","tabIndex","isRequired","top","left","placeholder","clearIndicator","spacing","dropdownIndicator","MultiSelect","creatable","getOptions","loadingIndicator","components","componentsProp","classesProp","stylesProp","onChangeProp","onInputChange","onInputChangeProp","menuPlacement","reactSelectProps","SelectComponent","AsyncSelect","Select","inputValue","setInputValue","multiSelectClasses","omit","inputId","multiSelectComponents","mergeClasses","indicatorSeparator","base","loadingMessage","fontFamily","labelProps","TextFieldProps","InputLabelProps","htmlFor","shrink","length","isMulti","actionMeta","closeMenuOnSelect","hideSelectedOptions","loadOptions","defaultProps","cacheOptions","defaultOptions","options","ClearIndicator","Control","DropdownIndicator","DownChevron","CrossIcon","Group","GroupHeading","IndicatorsContainer","IndicatorSeparator","Input","LoadingIndicator","MenuList","MenuPortal","LoadingMessage","NoOptionsMessage","MultiValue","MultiValueContainer","MultiValueLabel","MultiValueRemove","Placeholder","SelectContainer","SingleValue","ValueContainer","control","valueContainer","multiValue","noOptionsMessage","singleValue","menu","group","groupHeading","indicatorsContainer","input","menuList","menuPortal","multiValueLabel","multiValueRemove","menuPortalTarget","getOptionValue","isSearchable","inputRef","useProfileActivitiesLoader","filter","max","offset","entityUri","async","filterString","buildActivitiesFilterString","data","getProfileActivities","total","getProfileActivitiesTotal","DropdownIndicatorWithIconButton","menuIsOpen","useArrowIndicatorStyles","ArrowDropDownIcon","expanded","_extends","Object","assign","target","i","arguments","source","prototype","hasOwnProperty","call","apply","this","viewBox","fill","xmlns","style","maskType","maskUnits","x","y","d","mask","fillOpacity","opacity","fillRule","clipRule","filterUnits","colorInterpolationFilters","floodOpacity","result","in","dy","stdDeviation","mode","in2","x1","y1","x2","y2","gradientUnits","stopOpacity","errorContainer","errorIcon","marginBottom","refreshButton","main","marginTop","refreshIcon","onRefresh","startIcon","Replay","loader","position","borderRadius","LinearProgress","ROWS_PER_PAGE_OPTIONS","DEFAULT_ROWS_PER_PAGE","viewContent","activityLog","flex","overflowY","headerRoot","borderBottom","basicView","bottom","right","memo","config","setPage","exportTypes","metadata","useSelector","mdmModule","entity","entityType","getEntityType","uri","setRowsPerPage","useMemo","getRowsPerPageOptions","defaultRowsPerPage","concat","sort","subtract","setFilter","users","activities","attributes","sources","dateRange","DateRangeTypes","period","state","reload","setData","setTotal","requestState","setRequestState","RequestStates","safePromise","useSafePromise","onError","error","console","getActivities","loadData","getData","andThen","otherwise","refreshAction","useEffect","useProfileActivitiesRequest","handleFilterChange","BasicView","BasicViewHeader","BasicViewContent","ActivityLogFilter","ErrorBoundary","handleHeight","ActivityLog","renderContent","generateClassName","createGenerateClassName","productionPrefix","disableGlobal","store","onResize","Provider","ViewIdContext","StylesProvider","MuiPickersUtilsProvider","utils","MomentUtils","Math","floor","ErrorPopup"],"sourceRoot":""}
|
package/2378.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[2378],{32528:(e,t,a)=>{a.d(t,{Z:()=>l});var n=a(13688),r=a(48852);const l=e=>t=>(0,r.l)(n.X,e,t)},58662:(e,t,a)=>{a.d(t,{Z:()=>v});var n=a(13980),r=a.n(n),l=a(24328),o=a.n(l),i=a(71153),c=a.n(i),s=a(94079),u=a(87918),p=a.n(u),d=a(31276),m=a(17440);const f=(0,a(79692).Z)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none"},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px"}});function h(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),n.forEach((function(t){g(e,t,a[t])}))}return e}function g(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const y=e=>{let{classes:t={},count:a,rowsPerPageOptions:n,page:r,onChangePage:i,rowsPerPage:u,onChangeRowsPerPage:g,basicTableRef:y,labelRowsPerPage:v}=e;const b=f(),E=(0,l.useCallback)((()=>{(0,m.pathOr)(m.identity,["current","resetScrollbarPosition"],y)()}),[y]),O=(0,l.useCallback)((e=>{i(e),E()}),[i,E]),x=(0,l.useCallback)((e=>{i(0),g(e),E()}),[i,g,E]);return o().createElement(s.TablePagination,{classes:h({},t,{root:c()(b.pagination,t.root),select:c()(b.select,t.select),caption:b.caption,selectRoot:b.selectRoot,actions:b.actions}),component:"div",labelRowsPerPage:v||p().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:a,count:n}=e;return p().text("${fromRow}-${toRow} of ${countRows}",{fromRow:p().number(t,"0,0"),toRow:p().number(a,"0,0"),countRows:p().number(n,"0,0")})},count:a,rowsPerPageOptions:n,page:r,onChangePage:(0,m.pipe)((0,m.nthArg)(1),O),rowsPerPage:u,onChangeRowsPerPage:(0,m.pipe)(d.NA,x)})};y.propTypes={classes:r().object,rowsPerPageOptions:r().arrayOf(r().number),count:r().number,page:r().number,onChangePage:r().func,rowsPerPage:r().number,onChangeRowsPerPage:r().func,basicTableRef:r().shape({current:r().object}),labelRowsPerPage:r().string};const v=o().memo(y)},92778:(e,t,a)=>{a.d(t,{Z:()=>s});var n=a(24328),r=a.n(n),l=a(15223),o=a(94079);const i=(0,a(79692).Z)({toolbar:{minHeight:"48px",padding:"8px 24px",lineHeight:"28px"},title:{fontSize:"18px",fontWeight:"normal",lineHeight:"inherit",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}});function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},c.apply(this,arguments)}const s=e=>{let{title:t,children:a=null,classes:n={}}=e,s=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["title","children","classes"]);const u=i();return r().createElement(l.Z,c({className:n.root,classes:{root:u.toolbar}},s),r().createElement(o.Typography,{className:n.title,classes:{root:u.title},variant:"h6"},t),a)}},58241:(e,t,a)=>{a.d(t,{Z:()=>p});var n=a(24328),r=a.n(n),l=a(71153),o=a.n(l),i=a(8818),c=a(38016);const s=(0,a(79692).Z)({collapseButton:{cursor:"pointer"},expandLess:{transform:"rotate( -180deg )"}});function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},u.apply(this,arguments)}const p=e=>{let{isOpen:t=!1,tooltipTitle:a}=e,n=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["isOpen","tooltipTitle"]);const l=s(),p={icon:c.Z,className:l.collapseButton,iconClassName:o()({[l.expandLess]:t})},d={tooltipTitle:a};return r().createElement(i.k,u({},p,d,n))}},43290:(e,t,a)=>{a.d(t,{Z:()=>u});var n=a(24328),r=a.n(n),l=a(71153),o=a.n(l),i=a(17440);const c=(0,a(79692).Z)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),s=e=>(0,i.is)(Number,e),u=e=>{let{className:t,width:a=0,maxWidth:l}=e;const i=c(),u=(0,n.useCallback)((e=>(l?100*e/l:0)+"%"),[l]);return a?r().createElement("div",{className:o()(i.bar,t),style:{width:s(a)?u(a):a}}):null}},55847:(e,t,a)=>{a.d(t,{Z:()=>E});var n=a(24328),r=a.n(n),l=a(71153),o=a.n(l),i=a(17440),c=a(94079),s=a(48348),u=a(20562),p=a(83348),d=a(79692),m=a(41128);const f=(0,d.Z)((e=>({buttonRoot:{"&$selected":{color:e.palette.action.active,backgroundColor:(0,m.U1)(e.palette.action.active,.12),"&:hover":{backgroundColor:(0,m.U1)(e.palette.action.active,.15)}}},selected:{},paper:{minWidth:"112px"},menuItem:{minHeight:"32px"},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0}}))),h=(0,p.Z)(c.MenuItem),g=(0,n.forwardRef)(((e,t)=>{let{item:a,onMenuClose:n=i.identity}=e;const l=f(),{disabled:o,text:s,tooltip:u,onClick:p,id:d="",selectable:m,selected:g}=a;return r().createElement(h,{tooltipTitle:u,showForDisabled:!0,classes:{root:l.menuItem},onClick:e=>{n(e),p(e)},disabled:o,ref:t,"data-modal":!0,"data-reltio-id":`reltio-search-menu-item${d}`},m&&r().createElement(c.Checkbox,{checked:g,color:"primary"}),r().createElement(c.Typography,{classes:{root:l.menuText}},s))}));g.displayName="MenuItemRenderer";const y=g;function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},v.apply(this,arguments)}function b(e){let{className:t,menuId:a,buttonComponent:l=c.Button,buttonContent:p,menuItems:d=[],buttonProps:m={},popoverProps:h={},onMenuOpen:g=i.identity,onMenuClose:b=i.identity,MenuItemRenderer:E=y}=e;const O=l,x=f(),w=(0,n.useRef)(),[R,S]=(0,n.useState)(!1);(0,u.D)((()=>{R?g():b()}),[R]);const C=(0,n.useCallback)((e=>{null==e||e.stopPropagation(),S((e=>!e))}),[]);return r().createElement(r().Fragment,null,r().createElement(O,v({ref:w,className:o()(x.buttonRoot,{[x.selected]:R},t),onClick:C,"aria-pressed":R,"aria-controls":R?a:void 0,"aria-haspopup":"true"},m),p),r().createElement(s.Z,v({id:a,variant:"menu",open:R,autoFocus:!1,classes:{paper:x.paper},anchorEl:w.current,onClose:C,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},elevation:2,getContentAnchorEl:null,MenuListProps:{autoFocusItem:R}},h),d.map(((e,t)=>r().createElement(E,{item:e,key:t,onMenuClose:C})))))}b.displayName="DropDownMenuButton";const E=b},31254:(e,t,a)=>{a.d(t,{Z:()=>s});var n=a(24328),r=a.n(n),l=a(52730),o=a(59431),i=a(98018);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},c.apply(this,arguments)}const s=e=>{const t=(0,l.useSelector)(o.ZP.selectors.getAbsoluteImagePath)||"";return r().createElement(i.ZP,c({},e,{storagePath:(a=t,a.endsWith("/")?a:a+"/")}));var a}},92575:(e,t,a)=>{a.d(t,{Z:()=>M});var n=a(24328),r=a.n(n),l=a(13980),o=a.n(l),i=a(17440),c=a(70347);const s=(0,a(5407).Z)(c.ZP);var u=a(5190),p=a(18461),d=a(94079),m=a(71153),f=a.n(m),h=a(88611);function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},g.apply(this,arguments)}function y(e){const{innerProps:t,innerRef:a,children:n,isFocused:l,isSelected:o,selectProps:{classes:i},label:c}=e;return r().createElement(d.MenuItem,g({className:f()(i.option,{[i["option--selected"]]:o}),ref:a,selected:l,component:"div"},t),r().createElement(d.Checkbox,{color:"primary",checked:o}),r().createElement(h.C,{value:c},r().createElement("div",{className:i["option--item"]},n)))}y.propTypes={children:o().node,innerProps:o().shape({id:o().string.isRequired,key:o().string,onClick:o().func.isRequired,onMouseMove:o().func.isRequired,onMouseOver:o().func.isRequired,tabIndex:o().number.isRequired}).isRequired,innerRef:o().oneOfType([o().oneOf([null]),o().func,o().shape({current:o().any.isRequired})]),isFocused:o().bool.isRequired,isSelected:o().bool.isRequired,label:o().string,selectProps:o().shape({classes:o().shape({option:o().string})})};const v={Option:y};var b=a(79692),E=a(31276);function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},O.apply(this,arguments)}function x(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),n.forEach((function(t){w(e,t,a[t])}))}return e}function w(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const R=(0,b.Z)((e=>({label:{top:6,left:16},placeholder:e=>({display:!e.placeholder||e.label?"none":void 0}),"option--selected":{fontWeight:400},clearIndicator:{padding:e.spacing(1),margin:e.spacing(.25,.5)},dropdownIndicator:{padding:e.spacing(1),margin:e.spacing(.25,.5)}})));let S=0;function C(e){const{label:t,creatable:a,getOptions:l,loadingIndicator:o,components:c,classes:d,styles:m,onChange:f,onInputChange:h,menuPlacement:g="auto"}=e,y=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["label","creatable","getOptions","loadingIndicator","components","classes","styles","onChange","onInputChange","menuPlacement"]),b=a?s:l?p.Z:u.Z,[w,C]=(0,n.useState)(""),M=R((0,i.omit)(["classes"],e)),P="custom-select-"+S++,T=x({},v,c),F=(0,E.ze)(M,d),k=x({indicatorSeparator:e=>x({},e,{margin:"10px 0"}),loadingIndicator:e=>x({},e,{display:o?e.display:"none"}),loadingMessage:e=>x({},e,{fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif'})},m),I=t?{inputId:P,TextFieldProps:x({label:t,InputLabelProps:{htmlFor:P,shrink:!(!e.value||!e.value.length)||void 0,className:F.label}},e.TextFieldProps)}:{};return r().createElement(b,O({isMulti:!0,inputId:P,inputValue:w,onChange:function(e,t){f(e,t),"create-option"===t.action&&(C(""),h("",{action:"input-change"}))},onInputChange:function(e,t){let{action:a}=t;h(e,{action:a}),"set-value"!==a&&C(e)},closeMenuOnSelect:!1,hideSelectedOptions:!1,classes:F,components:T,styles:k,menuPlacement:g,loadOptions:l},I,y))}C.defaultProps={creatable:!1,cacheOptions:!0,components:{},classes:{},placeholder:"",loadingIndicator:!1,onInputChange:()=>{},onChange:()=>{}},C.propTypes={creatable:o().bool,cacheOptions:o().bool,defaultOptions:o().bool,value:o().arrayOf(o().shape({label:o().string.isRequired,value:o().any})),options:o().arrayOf(o().shape({label:o().string.isRequired,value:o().any})),onChange:o().func,onInputChange:o().func,placeholder:o().string,label:o().string,loadingIndicator:o().bool,components:o().shape({ClearIndicator:o().func,Control:o().func,DropdownIndicator:o().func,DownChevron:o().func,CrossIcon:o().func,Group:o().func,GroupHeading:o().func,IndicatorsContainer:o().func,IndicatorSeparator:o().func,Input:o().func,LoadingIndicator:o().func,Menu:o().func,MenuList:o().func,MenuPortal:o().func,LoadingMessage:o().func,NoOptionsMessage:o().func,MultiValue:o().func,MultiValueContainer:o().func,MultiValueLabel:o().func,MultiValueRemove:o().func,Option:o().func,Placeholder:o().func,SelectContainer:o().func,SingleValue:o().func,ValueContainer:o().func}),classes:o().shape({control:o().string,valueContainer:o().string,multiValue:o().string,noOptionsMessage:o().string,singleValue:o().string,placeholder:o().string,menu:o().string,clearIndicator:o().string,dropdownIndicator:o().string,option:o().string,"option--selected":o().string,label:o().string}),styles:o().shape({clearIndicator:o().func,container:o().func,control:o().func,dropdownIndicator:o().func,group:o().func,groupHeading:o().func,indicatorsContainer:o().func,indicatorSeparator:o().func,input:o().func,loadingIndicator:o().func,loadingMessage:o().func,menu:o().func,menuList:o().func,menuPortal:o().func,multiValue:o().func,multiValueLabel:o().func,multiValueRemove:o().func,noOptionsMessage:o().func,option:o().func,placeholder:o().func,singleValue:o().func,valueContainer:o().func}),TextFieldProps:o().object,getOptions:o().func,menuPlacement:o().string,menuPortalTarget:o().object,getOptionValue:o().func,isSearchable:o().bool,inputRef:o().shape({current:o().object})};const M=C},67268:(e,t,a)=>{a.d(t,{Z:()=>C});var n=a(13980),r=a.n(n),l=a(24328),o=a.n(l),i=a(66244),c=a.n(i),s=a(44443),u=a(17440),p=a(71153),d=a.n(p);function m(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}const f=e=>{let{x:t,y:a,width:n,height:r,id:l,minWidth:o,minHeight:i,maxWidth:c,maxHeight:s,isStatic:u}=e;return{x:t,y:a,w:n,h:r,minW:o,minH:i,maxW:c,maxH:s,i:l,static:u}},h=e=>{let{x:t,y:a,w:n,h:r,maxW:l,minW:o,minH:i,maxH:c,i:s}=e;return{x:t,y:a,width:n,height:r,minWidth:o,minHeight:i,maxWidth:l,maxHeight:c,id:s,isStatic:m(e,["x","y","w","h","maxW","minW","minH","maxH","i"]).static}},g=e=>(e||[]).map(h),y=(0,u.curry)(((e,t)=>(e||[]).find((0,u.propEq)("id",t)))),v=(0,u.curry)(((e,t,a)=>(0,u.mergeAll)([a,(0,u.pick)(e,t)]))),b=(0,u.curry)(((e,t,a)=>(a||[]).map((a=>(0,u.pipe)((0,u.prop)("id"),y(t),(0,u.defaultTo)({}),v(e,u.__,a))(a)))));var E=a(79692),O=a(90088);const x=(0,E.Z)((e=>({gridLayout:{position:"relative",width:"100%","& .react-grid-item":{"&.react-grid-placeholder":{background:"rgba(0, 0, 0, 0.03)",border:"2px dashed rgba(0, 0, 0, 0.3)",borderRadius:"3px",transitionDuration:"100ms",zIndex:7,userSelect:"none","& .react-resizable-handle":{display:"none"}},"&.static .react-resizable-handle":{display:"none"},"&.cssTransforms":{transitionProperty:"transform"},"&.resizing":{zIndex:9,willChange:"width, height",pointerEvents:"none"},"&.react-draggable-dragging":{transition:"none",zIndex:8,willChange:"transform","& .react-resizable-handle":{backgroundImage:"none"}},"& .react-resizable-handle":{position:"absolute",width:"17px",height:"17px",bottom:0,right:0,zIndex:20,backgroundImage:`url('${(0,O.m5F)('<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path stroke="#505050" stroke-opacity=".54" d="M9.5 0v10M0 9.5h9M7.5 4v4M4 7.5h3"/>\n</svg>')}')`,backgroundRepeat:"no-repeat",backgroundOrigin:"content-box",boxSizing:"border-box",cursor:"se-resize"},"&.fullscreen":{visibility:"visible",position:"unset",width:"100% !important",height:"100% !important",transform:"translate(0) !important"}}},gridFullscreen:{height:"100% !important",overflowY:"hidden","& .react-resizable-handle, & .react-grid-item":{visibility:"hidden"}}})));function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},w.apply(this,arguments)}function R(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const S=e=>{let{views:t,layout:a,layoutOptions:n,onLayoutChanged:r,draggableHandle:i,LayoutItem:p,onRemove:m,onDrop:v,droppingItem:E,isDroppable:O,classes:S}=e;const C=(0,l.useRef)(),M=x(),[P,T]=(0,l.useState)(null),[F,k]=(0,l.useState)(0),{cols:I,rowHeight:j,margin:z}=n,D=(0,l.useMemo)((()=>(e=>(e||[]).map(f))(a)),[a]),N=(0,u.pipe)(g,b(["autosizing"],a),r),A=(0,l.useCallback)((e=>T((t=>t?null:e))),[]),B=null!==P,Z=(0,l.useCallback)(((e,t)=>{let l=!1;const o=a.map((a=>{if(a.id===t&&e){const t=((e,t)=>{const{margin:a,rowHeight:n}=t;return Math.ceil((e+a[1])/(n+a[1]))})(e,n);if(a.height!==t)return l=!0,function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),n.forEach((function(t){R(e,t,a[t])}))}return e}({},a,{minHeight:t,maxHeight:t,height:t})}return a}));l&&r(o)}),[a,n,r]);return o().createElement(o().Fragment,null,o().createElement(s.Z,{refreshMode:"debounce",refreshRate:50,handleWidth:!0,onResize:e=>k(e)}),o().createElement(c(),{innerRef:C,layout:D,cols:I,draggableHandle:i,autoSize:!0,rowHeight:j,width:F,margin:z,onLayoutChange:N,isResizable:!B,isDraggable:!B,className:d()(S.root,M.gridLayout,{[M.gridFullscreen]:B}),onDrop:(e,t,a)=>{v&&v(g(e),h(t),a)},droppingItem:E,isDroppable:O},D.map((e=>{const n=P===e.i,r=(y(a,e.i)||{}).autosizing?{AutosizeComponent:(l=e.i,o().createElement(s.Z,{handleHeight:!0,onResize:(e,t)=>{Z(t,l)}}))}:{};var l;return o().createElement(p,w({key:e.i,layoutItemConfig:e,views:t,onToggleFullscreen:A,onRemove:m,className:d()({fullscreen:n},S.item),isFullscreen:n},r))}))))};S.defaultProps={layoutOptions:{cols:4,rowHeight:30,margin:[15,15]},onConfigChanged:u.identity,onLayoutChanged:u.identity,classes:{}},S.propTypes={views:r().array,layout:r().array,layoutOptions:r().object,onConfigChanged:r().func,onLayoutChanged:r().func,onDrop:r().func,onRemove:r().func,LayoutItem:r().elementType,draggableHandle:r().string,isDroppable:r().bool,droppingItem:r().object,classes:r().shape({root:r().string,item:r().string})};const C=(0,l.memo)(S)},32944:(e,t,a)=>{a.d(t,{Z:()=>i});var n=a(24328),r=a.n(n),l=a(94079);const o=(0,a(79692).Z)({loader:{width:"100%",top:0,left:0,position:"absolute",borderRadius:"2px"}}),i=()=>{const e=o();return r().createElement(l.LinearProgress,{color:"secondary",className:e.loader})}},58141:(e,t,a)=>{a.d(t,{Z:()=>c});var n=a(24328),r=a.n(n),l=a(10237),o=a(92316);const i=(0,a(79692).Z)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden"}}))),c=e=>{let{id:t,children:a}=e;const n=i();return r().createElement(o.H.Provider,{value:t},r().createElement(l.Z,{className:n.view},a))}},92316:(e,t,a)=>{a.d(t,{H:()=>r});var n=a(24328);const r=a.n(n)().createContext(null);r.displayName="DashboardViewIdContext"},22243:(e,t,a)=>{a.d(t,{Z:()=>sa});var n=a(24328),r=a.n(n),l=a(52730),o=a(17440),i=a(87918),c=a.n(i),s=a(83535),u=a(98884),p=a(59431),d=a(67885),m=a(90088);function f(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const h=e=>{let{options:t,offset:a,max:r}=e;const[l,i]=(0,n.useState)([]),[c,s]=(0,n.useState)(0),[u,p]=(0,n.useState)(d.o.INIT),h=e=>{console.error(e),p(d.o.ERROR),i([])},g=(0,n.useCallback)((()=>{p(d.o.LOADING);const e=e=>{i(e.result||[]),s(e.total),p(d.o.LOADED)},n=t||{},{countResults:l}=n,c=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(n,["countResults"]);(async()=>{const{result:t=[],total:n}=await(0,m.cZV)(function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),n.forEach((function(t){f(e,t,a[t])}))}return e}({offset:a,max:r},c));if(l){const a=t.map((e=>(0,m.OaI)((0,m.dWE)(e.query)))),r=(await(0,m.RGr)(a)).reduce(((e,t,a)=>{let{status:n,value:r,reason:l}=t;switch(n){case"fulfilled":return(0,o.assocPath)([a,"count"],r.total,e);case"rejected":console.error(l)}return e}),t);e({result:r,total:n})}else e({result:t,total:n})})().catch(h)}),[t,r,a]),y=()=>{try{g()}catch(e){h(e)}};return(0,n.useEffect)((()=>{y()}),[g]),{state:u,data:l,reload:y,total:c}},g=[10,25,50,100],[y]=g,v=e=>g.filter((t=>t!==e)).concat(e).sort(o.subtract);var b=a(58141),E=a(92778),O=a(92316),x=a(94079),w=a(43054),R=a(79692);const S=(0,R.Z)((()=>({itemTitle:{fontSize:"13px"},itemIcon:{minWidth:"49px"},menuItem:{padding:"12px 16px",minWidth:"177px"},openIcon:{padding:"4px",borderRadius:"2px",marginTop:"-6px",marginRight:"-10px"}}))),C=e=>{let{items:t}=e;const[a,l]=(0,n.useState)(null),o=Boolean(a),i=S(),c=()=>l(null),s=e=>()=>{c(),e()};return r().createElement(r().Fragment,null,r().createElement(x.IconButton,{className:i.openIcon,"aria-controls":"menu","aria-haspopup":"true",onClick:e=>l(e.currentTarget)},r().createElement(w.Z,null)),r().createElement(x.Menu,{id:"menu",anchorEl:a,open:o,onClose:c,transitionDuration:0,getContentAnchorEl:null,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},t.filter((e=>e.active)).map((e=>{let{id:t,icon:a,title:n,action:l}=e;return r().createElement(x.MenuItem,{key:t,onClick:s(l),className:i.menuItem},r().createElement(x.ListItemIcon,{className:i.itemIcon},a),r().createElement(x.Typography,{className:i.itemTitle},n))}))))};var M=a(29103),P=a(83911),T=a(41039),F=a(43266),k=a(14940),I=a(71153),j=a.n(I);const z=(0,R.Z)((()=>({toolbarRoot:{padding:"16px",minHeight:"18px",lineHeight:"18px",marginBottom:"8px"},title:{fontSize:"16px",lineHeight:"20px",fontWeight:"normal",color:"rgba(0, 0, 0, 0.87)",letterSpacing:"0.15px",marginRight:"6px"},dragIcon:{position:"absolute",left:"50%",top:"-3px",transform:"translateX(-50%) rotate(90deg)",color:"rgba(0, 0, 0, 0.3)",cursor:"move",zIndex:8,visibility:"hidden",".react-draggable $toolbarRoot:hover &.viewDraggableHandle":{visibility:"visible"}},rightMenu:{display:"flex",flexGrow:1,justifyContent:"flex-end",alignItems:"baseline"},updatedChip:{background:"#FF9E1B",height:20,fontSize:"10px",color:"white",marginRight:"6px"}}))),D=e=>{let{title:t,onToggleFullscreen:a,isUpdated:l=!1,isFullscreen:o,onRemove:i,onRefresh:s,children:u}=e;const p=(0,n.useContext)(O.H),d=(0,n.useMemo)((()=>[{id:"refresh",title:"Refresh",icon:r().createElement(F.Z,null),active:!!s,action:()=>s()},{id:"fullscreen",title:"Fullscreen",icon:r().createElement(M.Z,null),active:!o,action:()=>a(p)},{id:"exitFullscreen",title:"Exit fullscreen",icon:r().createElement(P.Z,null),active:o,action:()=>a(p)},{id:"remove",title:"Remove",icon:r().createElement(T.Z,null),active:!!i,action:()=>{i(p),o&&a(p)}}]),[p,o,i,a,s]),m=z();return r().createElement(E.Z,{title:t,className:m.toolbarRoot,classes:{title:m.title}},l&&r().createElement(x.Chip,{label:c().text("Updated"),size:"small",className:m.updatedChip}),r().createElement("div",{className:m.rightMenu},u,r().createElement(C,{items:d})),r().createElement(k.Z,{className:j()("viewDraggableHandle",m.dragIcon)}))};var N=a(2256),A=a(4094);function B(){return B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},B.apply(this,arguments)}const Z=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",B({width:"148",height:"148",viewBox:"0 0 148 148",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("mask",{id:"svg2791016623a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"148",height:"148"},r().createElement("path",{d:"M74 148c40.869 0 74-33.131 74-74 0-40.87-33.131-74-74-74C33.13 0 0 33.13 0 74c0 40.869 33.13 74 74 74z",fill:"#fff"})),r().createElement("g",{mask:"url(#svg2791016623a)"},r().createElement("path",{d:"M74 148c40.869 0 74-33.131 74-74 0-40.87-33.131-74-74-74C33.13 0 0 33.13 0 74c0 40.869 33.13 74 74 74z",fill:"#0072CE",fillOpacity:".1"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 5.203h148V148H0V5.203z",fill:"url(#nodata__paint0_linear)"}),r().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},r().createElement("path",{opacity:".5",d:"M25.186 26.016h131.896V128.04H25.186V26.016z",fillOpacity:".8"}),r().createElement("path",{opacity:".9",d:"M16.766 26.021a4.626 4.626 0 014.623-4.63h129.406a4.623 4.623 0 014.623 4.63v88.107a4.625 4.625 0 01-4.623 4.631H21.389a4.623 4.623 0 01-4.623-4.631V26.021z"})),r().createElement("path",{opacity:".5",d:"M141.553 50.95a2.315 2.315 0 002.311-2.32 2.315 2.315 0 00-2.311-2.318 2.315 2.315 0 00-2.311 2.319 2.315 2.315 0 002.311 2.318zM133.465 50.95a2.315 2.315 0 002.311-2.32 2.315 2.315 0 00-2.311-2.318 2.314 2.314 0 00-2.311 2.319 2.314 2.314 0 002.311 2.318z",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.808 46.313a5.488 5.488 0 015.489 5.488v.035a5.488 5.488 0 01-10.977 0v-.035a5.488 5.488 0 015.488-5.489z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 46.19h37.054a2.029 2.029 0 010 4.057H47.102a2.028 2.028 0 110-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 53.725h67.006a1.45 1.45 0 010 2.898H46.523a1.449 1.449 0 110-2.898z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 58.941h21.62a.87.87 0 010 1.74h-21.62a.87.87 0 110-1.74z",fill:"#B1AABD"}),r().createElement("path",{opacity:".5",d:"M71.35 30.664H31.508a3.188 3.188 0 100 6.375H71.35a3.188 3.188 0 000-6.375z",fill:"#645F6D"}),r().createElement("path",{opacity:".5",d:"M141.553 72.972a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.318 2.315 2.315 0 00-2.311 2.318 2.315 2.315 0 002.311 2.319zM133.465 72.972a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.318 2.314 2.314 0 00-2.311 2.318 2.314 2.314 0 002.311 2.319z",fill:"#6DBCFF"}),r().createElement("path",{d:"M39.297 73.824a5.488 5.488 0 10-10.977 0v.035a5.488 5.488 0 0010.977 0v-.035z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 68.214h43.894a2.029 2.029 0 010 4.057H47.102a2.029 2.029 0 010-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 75.748h74.516a1.45 1.45 0 010 2.898H46.523a1.449 1.449 0 110-2.898z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 80.965h60.077a.87.87 0 010 1.739H45.943a.87.87 0 010-1.74z",fill:"#B1AABD"}),r().createElement("path",{opacity:".5",d:"M141.553 94.996a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.319 2.315 2.315 0 00-2.311 2.319 2.315 2.315 0 002.311 2.318zM133.465 94.996a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.319 2.314 2.314 0 00-2.311 2.319 2.314 2.314 0 002.311 2.318z",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.808 90.36a5.488 5.488 0 015.489 5.488v.035a5.488 5.488 0 11-10.977 0v-.035a5.488 5.488 0 015.488-5.489z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 90.237h58.915a2.028 2.028 0 010 4.057H47.102a2.029 2.029 0 010-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 97.772h49.096a1.449 1.449 0 110 2.897H46.524a1.448 1.448 0 110-2.897z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 102.988h21.62a.87.87 0 010 1.739h-21.62a.87.87 0 110-1.739z",fill:"#B1AABD"}),r().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M102.927 64.75l44.536 77.139-58.989 34.057-44.536-77.14.405-.234c4.06 9.263 12.074 16.712 22.462 19.616 18.103 5.059 36.562-5.599 41.232-23.805 2.679-10.449.235-21.113-5.757-29.26l.647-.374z",fill:"url(#nodata__paint1_linear)"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M56.352 103.62c10.385 10.611 27.223 10.611 37.609 0 10.385-10.612 10.385-27.816 0-38.427-10.386-10.611-27.224-10.611-37.61 0-10.385 10.611-10.385 27.815 0 38.427z",fill:"url(#nodata__paint2_linear)"}),r().createElement("g",{filter:"url(#nodata__filter0_d)",fillRule:"evenodd",clipRule:"evenodd"},r().createElement("path",{d:"M74.981 49.719c19.06 0 34.512 15.462 34.512 34.536a34.418 34.418 0 01-8.665 22.886l29.603 29.623a51.708 51.708 0 01-5.837 5.43l-29.705-29.725a34.338 34.338 0 01-19.908 6.322c-19.06 0-34.512-15.462-34.512-34.536S55.92 49.719 74.98 49.719zm0 10.265c-13.395 0-24.254 10.866-24.254 24.27 0 13.405 10.859 24.272 24.254 24.272 13.395 0 24.254-10.867 24.254-24.271S88.376 59.984 74.981 59.984z",fill:"#B5C8C9"}),r().createElement("path",{d:"M52.903 110.801c-7.598-6.335-12.434-15.876-12.434-26.546 0-19.074 15.451-34.536 34.512-34.536 10.663 0 20.197 4.839 26.528 12.442l-5.662 5.667c-4.862-6.175-12.401-10.14-20.866-10.14-14.662 0-26.548 11.895-26.548 26.567 0 8.47 3.962 16.015 10.132 20.88l-5.662 5.666z",fill:"#fff",fillOpacity:".4"})),r().createElement("g",{style:{mixBlendMode:"soft-light"},opacity:".4"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.352 103.62c10.385 10.611 27.223 10.611 37.609 0 10.385-10.612 10.385-27.816 0-38.427-10.386-10.611-27.224-10.611-37.61 0-10.385 10.611-10.385 27.815 0 38.427z",fill:"#D9F5FF"})),r().createElement("g",{style:{mixBlendMode:"overlay"}},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.621 91.769c0-2.272.257-4.065.77-5.38.513-1.314 1.346-2.453 2.497-3.418 1.151-.964 2.026-1.847 2.625-2.648.6-.802.899-1.684.899-2.649 0-2.35-1.012-3.524-3.034-3.524-.933 0-1.688.343-2.263 1.027-.576.685-.88 1.61-.91 2.777h-7.888c.031-3.111 1.011-5.534 2.94-7.27 1.93-1.734 4.636-2.601 8.121-2.601 3.47 0 6.157.801 8.063 2.404 1.905 1.602 2.858 3.881 2.858 6.837 0 1.291-.257 2.466-.77 3.524-.513 1.058-1.338 2.139-2.474 3.243l-2.683 2.497c-.762.732-1.291 1.482-1.587 2.252-.295.77-.459 1.746-.49 2.929h-6.674zm-.957 7.094c0-1.151.416-2.096 1.249-2.835.832-.74 1.87-1.109 3.115-1.109s2.283.37 3.115 1.109c.833.739 1.249 1.684 1.249 2.835s-.416 2.096-1.249 2.835c-.832.739-1.87 1.109-3.115 1.109s-2.283-.37-3.115-1.109c-.833-.739-1.249-1.684-1.249-2.835z",fill:"#000",fillOpacity:".87"})),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.621 91.769c0-2.272.257-4.065.77-5.38.513-1.314 1.346-2.453 2.497-3.418 1.151-.964 2.026-1.847 2.625-2.648.6-.802.899-1.684.899-2.649 0-2.35-1.012-3.524-3.034-3.524-.933 0-1.688.343-2.263 1.027-.576.685-.88 1.61-.91 2.777h-7.888c.031-3.111 1.011-5.534 2.94-7.27 1.93-1.734 4.636-2.601 8.121-2.601 3.47 0 6.157.801 8.063 2.404 1.905 1.602 2.858 3.881 2.858 6.837 0 1.291-.257 2.466-.77 3.524-.513 1.058-1.338 2.139-2.474 3.243l-2.683 2.497c-.762.732-1.291 1.482-1.587 2.252-.295.77-.459 1.746-.49 2.929h-6.674zm-.957 7.094c0-1.151.416-2.096 1.249-2.835.832-.74 1.87-1.109 3.115-1.109s2.283.37 3.115 1.109c.833.739 1.249 1.684 1.249 2.835s-.416 2.096-1.249 2.835c-.832.739-1.87 1.109-3.115 1.109s-2.283-.37-3.115-1.109c-.833-.739-1.249-1.684-1.249-2.835z",fill:"#3C74B4",fillOpacity:".38"})),r().createElement("defs",null,r().createElement("linearGradient",{id:"nodata__paint0_linear",x1:"74",y1:"5.203",x2:"74",y2:"148",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:"0"}),r().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"nodata__paint1_linear",x1:"123.612",y1:"142.028",x2:"76.729",y2:"122.717",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:"0"}),r().createElement("stop",{offset:"1"})),r().createElement("linearGradient",{id:"nodata__paint2_linear",x1:"75.156",y1:"57.234",x2:"75.156",y2:"111.578",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#EEFBFF"}),r().createElement("stop",{offset:"1",stopColor:"#0072CE"})),r().createElement("filter",{id:"nodata__filter0_d",x:"36.469",y:"47.719",width:"97.962",height:"100.475",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}))))},H=(0,R.Z)((()=>({noDataContainer:e=>{let{height:t}=e;return{height:t?`${t}px`:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)"}},icon:{height:"88px",width:"88px",marginBottom:"20px"}}))),L=e=>{let{height:t}=e;const a=H({height:t});return r().createElement("div",{className:a.noDataContainer},r().createElement(Z,{className:a.icon}),r().createElement(x.Typography,null,c().text("No Data")))};function _(){return _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},_.apply(this,arguments)}const U=e=>{let{styles:t={}}=e,a=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["styles"]);return r().createElement("svg",_({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),r().createElement("mask",{id:"svg3217593551a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},r().createElement("path",{d:"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z",fill:"#fff"})),r().createElement("g",{mask:"url(#svg3217593551a)"},r().createElement("path",{d:"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z",fill:"#CAC4D5",fillOpacity:".3"}),r().createElement("path",{opacity:".3",fillRule:"evenodd",clipRule:"evenodd",d:"M19.987 6.73l49.449 6.072a.687.687 0 01.596.767l-7.845 63.888a.688.688 0 01-.766.6L7.214 71.4a.688.688 0 01-.599-.763l.408-3.326L19.987 6.73z",fill:"#fff"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M1.267 25.921l45.86-19.466a.687.687 0 01.9.366l25.15 59.251a.61.61 0 01-.386.84L22.34 82.765a.719.719 0 01-.887-.445l-20.185-56.4z",fill:"#fff"}),r().createElement("path",{d:"M65.631 9.23H11.017a.688.688 0 00-.687.687v64.37c0 .38.307.687.687.687h54.614c.38 0 .688-.308.688-.687V9.917a.688.688 0 00-.688-.688z",fill:"#F9F9F9"}),r().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 34.95l3.105-1.666 7.31-4.025 8.852 3.472 7.89-5.223 8.036-2.628 8.113 5.193 3.352-10.255v16.967H14.935l-.05-1.835z",fill:"#9C6CF0"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 32.331l3.105-3.761 7.31 4.31 8.852 1.656 7.89-2.205 8.036 1.827 8.113-12.643 3.352.742V36.36H14.935l-.05-4.029z",fill:"#FA82AA"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 34.946l3.105.432 7.31 1.01 8.852-5.117 7.89 3.675 8.036 1.839 8.113-1.839 3.352.811v1.028H14.935l-.05-1.839z",fill:"#4DBEE9"}),r().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M61.543 35.288l-.05 1.497H14.885v-5.239l3.352-.276 8.114 4.697 8.036-.679 7.889.82 8.852-.616 7.31-1.601 3.105 1.397z",fill:"#4DBEE9"}),r().createElement("path",{d:"M21.036 40.178h-5.09a.636.636 0 000 1.272h5.09a.636.636 0 100-1.272z",fill:"#ACACAC"}),r().createElement("path",{opacity:".3",fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM25.914 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM39.91 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM21.248 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM35.245 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM30.58 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM44.577 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272z",fill:"#BDBDBD"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.272-1.273zM25.914 62.658c.702 0 1.272.57 1.272 1.273v5.09a1.272 1.272 0 11-2.545 0v-5.09c0-.703.57-1.273 1.273-1.273zM39.91 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.273-1.273zM21.248 66.477c.702 0 1.272.57 1.272 1.272v1.273a1.273 1.273 0 01-2.545 0v-1.273c0-.703.57-1.272 1.273-1.272z",fill:"#4DBEE9"}),r().createElement("path",{d:"M36.518 65.628a1.272 1.272 0 00-2.545 0v3.393a1.272 1.272 0 102.545 0v-3.393zM31.852 62.234a1.272 1.272 0 10-2.545 0v6.787a1.272 1.272 0 102.545 0v-6.787z",fill:"#4DBEE9"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.577 60.962c.702 0 1.272.57 1.272 1.272v6.787a1.273 1.273 0 01-2.545 0v-6.787c0-.702.57-1.272 1.273-1.272z",fill:"#4DBEE9"}),r().createElement("path",{d:"M18.915 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#9C6CF0"}),r().createElement("path",{opacity:".5",d:"M34.185 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:".3",d:"M49.454 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:".8",d:"M26.55 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#FB6597"}),r().createElement("path",{d:"M41.82 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:".2",d:"M57.09 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM31.851 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 110-.849zM47.121 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 010-.849zM24.217 19.818h4.665a.424.424 0 010 .849h-4.665a.424.424 0 010-.849zM39.486 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM54.756 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849z",fill:"#ACACAC"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.946 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM15.946 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM15.946 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM23.58 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM23.58 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM23.58 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM49.454 43.571h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 46.116h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 48.661h11.028a.636.636 0 010 1.273H49.454a.636.636 0 110-1.273zM31.215 43.571h15.27a.636.636 0 110 1.273h-15.27a.636.636 0 010-1.273zM31.215 46.116h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM31.215 48.661h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM15.946 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM23.58 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM49.454 51.206h11.028a.636.636 0 010 1.272H49.454a.636.636 0 110-1.272zM31.215 51.206h15.27a.636.636 0 110 1.272h-15.27a.636.636 0 010-1.272z",fill:"#E9E9E9"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.878 55.872h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 110-1.273z",fill:"#ACACAC"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.878 59.69h11.029a.636.636 0 010 1.272H49.878a.636.636 0 110-1.273zM49.878 62.234h11.029a.636.636 0 010 1.273H49.878a.636.636 0 010-1.273zM49.878 64.78h11.029a.636.636 0 010 1.272H49.878a.636.636 0 010-1.273z",fill:"#E9E9E9"}),r().createElement("path",{d:"M54.968 67.324h-5.09a.636.636 0 000 1.273h5.09a.636.636 0 000-1.273z",fill:"#E9E9E9"}),r().createElement("g",{filter:"url(#error__filter0_d)"},r().createElement("path",{d:"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z",fill:"#000"})),r().createElement("path",{d:"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z",fill:"#F25252"}),r().createElement("path",{opacity:".15",fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 34.719c12.34 0 22.344 10.003 22.344 22.343S69.746 79.406 57.406 79.406c-12.34 0-22.343-10.003-22.343-22.344 0-12.34 10.003-22.343 22.343-22.343zm-.172 2.406c-10.916 0-19.765 8.85-19.765 19.766 0 10.916 8.85 19.765 19.765 19.765C68.151 76.656 77 67.806 77 56.891c0-10.917-8.85-19.766-19.766-19.766z",fill:"#F25252"}),r().createElement("path",{opacity:".3",fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 38.844c10.062 0 18.219 8.157 18.219 18.218 0 10.062-8.157 18.22-18.219 18.22-10.062 0-18.218-8.158-18.218-18.22 0-10.061 8.156-18.218 18.218-18.218zm0 2.043c-8.933 0-16.175 7.242-16.175 16.175 0 8.934 7.242 16.176 16.175 16.176 8.934 0 16.176-7.242 16.176-16.175 0-8.934-7.242-16.176-16.176-16.176z",fill:"#F25252"}),r().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 26.469C74.303 26.469 88 40.166 88 57.062c0 16.897-13.697 30.594-30.594 30.594-16.896 0-30.593-13.697-30.593-30.594 0-16.896 13.697-30.593 30.593-30.593zm-.172 3.437c-14.903 0-26.984 12.082-26.984 26.985 0 14.903 12.081 26.984 26.984 26.984 14.903 0 26.985-12.081 26.985-26.984 0-14.903-12.082-26.985-26.985-26.985z",fill:"#F25252"}),r().createElement("path",{d:"M57.406 71.844c8.164 0 14.782-6.618 14.782-14.781 0-8.164-6.618-14.782-14.782-14.782-8.163 0-14.781 6.618-14.781 14.782 0 8.163 6.618 14.78 14.781 14.78z",fill:"#FF6A6A"}),r().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M58.298 46.448L75.18 63.331l-9.114 12.078h-2.029l-7.582-7.582 1.006-3.178.837-18.2z",fill:"url(#error__paint0_linear)"}),r().createElement("g",{filter:"url(#error__filter1_d)"},r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#000"})),r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#fff"}),r().createElement("g",{filter:"url(#error__filter2_d)"},r().createElement("path",{d:"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z",fill:"#000"})),r().createElement("path",{d:"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z",fill:"#fff"})),r().createElement("defs",null,r().createElement("filter",{id:"error__filter0_d",x:"36.219",y:"37.875",width:"42.375",height:"42.375",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"error__filter1_d",x:"51.688",y:"62.625",width:"11.438",height:"11.438",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"error__filter2_d",x:"51.688",y:"44.063",width:"11.438",height:"23.813",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("linearGradient",{id:"error__paint0_linear",x1:"68.438",y1:"71.571",x2:"60.119",y2:"58.801",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:"0"}),r().createElement("stop",{offset:"1"}))))},V=(0,R.Z)((e=>({errorContainer:e=>{let{height:t}=e;return{height:t?`${t}px`:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)"}},errorIcon:{height:"88px",width:"88px",marginBottom:"20px",paddingTop:"36px"},refreshButton:{color:e.palette.primary.main,marginTop:"10px"},refreshIcon:{width:"24px",height:"24px"}}))),W=e=>{let{height:t,onRefresh:a,message:n}=e;const l=V({height:t});return r().createElement("div",{className:l.errorContainer},r().createElement(U,{className:l.errorIcon}),r().createElement(x.Typography,null,n),a&&r().createElement(x.Button,{className:l.refreshButton,startIcon:r().createElement(F.Z,{color:"primary",className:l.refreshIcon}),onClick:a},r().createElement(x.Typography,{variant:"button"},c().text("Refresh"))))};var G=a(32944),q=a(44443);const $=(0,R.Z)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 16px"},toolbarRoot:{padding:"16px",minHeight:"18px",lineHeight:"18px",marginBottom:"8px","&:hover .viewDraggableHandle":{visibility:"visible"}},title:{fontSize:"16px",lineHeight:"19px",fontWeight:"normal",color:"rgba(0, 0, 0, 0.87)",letterSpacing:"0.15px"},dragIcon:{position:"absolute",left:"50%",top:"-3px",transform:"translateX(-50%) rotate(90deg)",color:"rgba(0, 0, 0, 0.3)",cursor:"move",zIndex:8,visibility:"hidden"}}))),Y=e=>{let{loadingState:t,onRefresh:a,children:n,data:l,className:o,EmptyPlaceholder:i}=e;const s=$();return r().createElement(A.Z,{className:j()(s.viewContent,o)},r().createElement(q.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},(e=>{let{width:o,height:s}=e;switch(t){case d.o.LOADED:return l&&0!==l.length?r().createElement(N.Z,{error:r().createElement(W,{message:c().text("Something went wrong"),height:s})},n({data:l,width:o,height:s})):i||r().createElement(L,{height:s});case d.o.LOADING:return r().createElement(G.Z,null);case d.o.ERROR:return r().createElement(W,{message:c().text("Error Loading Data"),height:s,onRefresh:a});default:return r().createElement("div",null,"Loading...")}})))};var X=a(58662);function K(){return K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},K.apply(this,arguments)}function Q(e){const t=t=>{const a=(0,n.useRef)(null);return r().createElement(r().Fragment,null,r().createElement(e,K({},t,{basicTableRef:a,height:t.height-60})),r().createElement(X.Z,K({},t,{basicTableRef:a})))};return t.displayName="WithPagination",t}function J(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),n.forEach((function(t){ee(e,t,a[t])}))}return e}function ee(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const te=e=>{let{uiState:t,uri:a}=e;return"2.0"===t.version?J({},t,{currentSavedSearchUri:a}):J({},t.state,{curSavedSearchUri:a})},ae=Q(s.Z),ne=(0,n.memo)((e=>{let{config:t,onToggleFullscreen:a,isUpdated:i,isFullscreen:s,onRemove:d}=e;const{id:m,title:f,options:g,max:E=y}=t,O=(0,n.useMemo)((()=>v(E)),[E]),[x,w]=(0,n.useState)(E),[R,S]=(0,n.useState)(0),{data:C,state:M,reload:P,total:T}=h({options:g,max:x,offset:x*R}),F=(0,n.useMemo)((()=>(e=>e.map((e=>{let{uri:t,name:a,count:n}=e;return{value:n||0,label:a||"",group:t}})))(C)),[C]),k=(0,l.useDispatch)(),I=(0,n.useCallback)((e=>{(0,o.pipe)((0,o.find)((0,o.propEq)("uri",e)),te,p.ui.actions.openSearch,k)(C)}),[k,C]);return(0,u.T)({state:M,reload:P}),r().createElement(b.Z,{id:m},r().createElement(D,{title:f,onToggleFullscreen:a,isFullscreen:s,isUpdated:i,onRefresh:P,onRemove:d}),r().createElement(Y,{loadingState:M,onRefresh:P,data:F},(e=>{let{data:t,width:a,height:n}=e;return r().createElement(ae,{width:a,height:n,data:t,count:T,onChangePage:S,page:R,rowsPerPage:x,onChangeRowsPerPage:w,rowsPerPageOptions:O,options:{headers:[c().text("Name")],showValues:null==g?void 0:g.countResults},onItemClick:I})})))}));var re=a(66675);const le=(0,o.when)((0,o.pipe)((0,o.prop)("filter"),(0,o.includes)(o.__,[m.j5E.IN_RANGE,m.j5E.HAS_ALL])),(0,o.evolve)({values:m.FTe})),oe=(0,o.curry)(((e,t)=>({filter:m.j5E.NOT_EQUALS,values:[t],fieldName:e}))),ie=e=>{var t,a,n;return{filter:null!==(t=null==e?void 0:e.filter)&&void 0!==t?t:m.j5E.EQUALS,values:null!==(a=null==e?void 0:e.values)&&void 0!==a?a:[],fieldName:null!==(n=null==e?void 0:e.fieldName)&&void 0!==n?n:""}},ce=e=>({filter:m.j5E.EQUALS,fieldName:"type",values:[e]}),se=(0,o.curry)(((e,t)=>({filter:m.j5E.EQUALS,values:[t],fieldName:e}))),ue=(0,o.curry)(((e,t,a)=>{const{fieldName:n}=a,r=/^(attributes|analyticsAttributes)/.test(n),l=r?(0,m.zeJ)(e,(0,m.h2W)(n,t)):(0,m.Yxg)(n);return(0,o.pipe)(le,(0,o.when)((()=>r),(0,o.assoc)("entityType",t)),(0,o.when)((()=>(0,m.Lt4)(l.type)),(0,o.evolve)({values:(0,o.map)((0,m.mOr)(m.ZBU))})))(a)})),pe=(e,t)=>{let{filter:a,fieldName:n,values:r}=e;return a===m.j5E.EQUALS&&"type"===n&&(null==r?void 0:r[0])===t};function de(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),n.forEach((function(t){me(e,t,a[t])}))}return e}function me(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const fe=e=>{let{attribute:t,filters:a,globalFilter:n,searchByOv:r,activityFilter:l,pageSize:i,orderType:c}=e;const s=((e,t,a,n)=>{const r=(0,o.pipe)((0,o.map)(le),(0,m.Uqd)(),(0,m.vyX)(t))(e),l=r?[`filter=${r}`]:[];return a&&l.push("options=searchByOv"),n&&l.push(`activeness=${n}`),l.join("&")})(a,n,r,l),u=[{fieldName:t,pageNo:1,orderType:c,pageSize:i}];return(0,m.FK9)({query:s,body:u}).then((e=>(0,o.pipe)((0,o.prop)(t),(0,o.defaultTo)({}),Object.entries,(0,o.map)((e=>{let[t,a]=e;return{label:t,group:t,value:a}})),(0,o.sortWith)([(0,o.descend)((0,o.prop)("value")),(0,o.ascend)((0,o.prop)("label"))]))(e)))},he=(0,o.curry)(((e,t)=>{const a=t.map((t=>{let{label:a}=t;return{codeValue:a,type:e}}));return(0,m.hK$)(a).then((a=>{const n=a.flatMap((0,m.Z2f)(e));return t.map((e=>{const t=n.find((t=>{let{lookupCode:a}=t;return a===e.label}));return t?de({},e,{label:t.value}):e}))}))})),ge=(0,o.curry)(((e,t)=>t.map((0,o.pipe)((0,o.prop)("group"),oe(e))))),ye="Other",ve=(0,o.curry)(((e,t)=>{let{attribute:a,filters:n,globalFilter:r,searchByOv:l,activityFilter:i}=e;const s=(0,o.pipe)(ge(a),(0,o.concat)(n),(0,o.map)(le))(t),u=l&&"searchByOv";return(0,m.j_Q)(s,{globalFilter:r,activityFilter:i,searchOptions:u}).then((e=>{let{total:a}=e;return a>0?t.concat([{label:c().text("Other"),group:ye,value:a}]):t}))})),be=(e,t)=>(0,m.xqc)(e,"configuration/roles/"+t),Ee=(0,o.map)((e=>de({},e,{localizedValue:c().number(e.value)}))),Oe=(0,o.when)(m.EdS,m.Tde),xe=(0,o.ifElse)(m.EdS,m.Uk3,(0,o.always)(void 0)),we=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const a=xe(e),n=t.some((e=>pe(e,a)));return a&&!n?[ce(a),...t]:t},Re=(0,o.curry)(((e,t,a)=>{const n=Oe(e);return a===ye?(0,o.pipe)((0,o.reject)((0,o.propEq)("group",ye)),ge(n))(t):[se(n,a)]})),Se=(0,o.curry)(((e,t,a)=>{const n=xe(t);return{facets:a.map(ue(e,n))}}));var Ce=a(56259);const Me=(0,n.memo)((e=>{let{config:t,onToggleFullscreen:a,isUpdated:i,isFullscreen:c,onRemove:s}=e;const{id:f,title:h,filters:g,attributeUri:y,count:v,orderType:E,chartType:O,showOthers:x}=t,w=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(t,["id","title","filters","attributeUri","count","orderType","chartType","showOthers"]),R=O===m.$XE.MAP?100:8,{data:S,state:C,reload:M}=(e=>{let{filters:t,attributeUri:a,pageSize:r,orderType:i="reversedCount",options:c}=e;const[s,u]=(0,n.useState)([]),[f,h]=(0,n.useState)(d.o.INIT),g=(0,n.useContext)(Ce.I),y=(0,n.useMemo)((()=>g.map(ie).concat(t||[])),[g,t]),v=(0,l.useSelector)(p.ZP.selectors.getMetadata),{globalFilter:b,activityFilter:E}=(0,l.useSelector)(p.ZP.selectors.getGlobalSearchRequestOptions),O=(0,l.useSelector)(p.ZP.selectors.getAttributePresentations),x=!(null==O||!O[a]),w=(0,l.useSelector)(p.ZP.selectors.getSearchOptions),R=null==w?void 0:w.searchByOv,S=null==c?void 0:c.showOthers,C=e=>{console.error(e),h(d.o.ERROR),u([])},M=(0,n.useCallback)((()=>{h(d.o.LOADING);const e=we(a,y),t=Oe(a),n=(0,m.Yxg)(t)||(0,m.zeJ)(v,a);if(!n)return void C("Configuration is incorrect");const l=(0,o.pipe)(fe,(0,o.andThen)(((e,t)=>(0,o.pipe)((0,o.when)((()=>(0,m.CwH)(t)),he((0,m.To9)(t))),(0,o.when)((()=>(0,m.ian)(t)),(0,o.map)((t=>de({},t,{label:be(e,t.group)})))),(0,o.when)((()=>(0,m.Lt4)(t.type)),(0,o.map)((0,o.evolve)({label:(0,o.pipe)(m.ZBU,(0,m.mB6)({dataTypeDefinition:(0,m.PFL)(t)}))})))))(v,n)),(0,o.andThen)((0,o.unless)((0,o.always)(x),Ee)),(0,o.andThen)((0,o.when)((0,o.always)(S),ve({attribute:t,filters:e,globalFilter:b,searchByOv:R,activityFilter:E}))),(0,o.andThen)((e=>{h(d.o.LOADED),u(e)})),(0,o.otherwise)(C));l({attribute:t,filters:e,globalFilter:b,searchByOv:R,activityFilter:E,pageSize:r,orderType:i})}),[h,a,v,S,y,b,R,E,r,i,x]),P=()=>{try{M()}catch(e){C(e)}};return(0,n.useEffect)((()=>{P()}),[M]),{state:f,data:s,reload:P}})({filters:g,attributeUri:y,pageSize:v||R,orderType:E,options:{showOthers:x}});(0,u.T)({state:C,reload:M});const P=(0,l.useDispatch)(),T=(0,l.useSelector)(p.ZP.selectors.getMetadata),F=(0,o.pipe)(Re(y,S),(0,o.concat)(we(y,g)),Se(T,y),p.ui.actions.openSearch,P);return r().createElement(b.Z,{id:f},r().createElement(D,{title:h,onToggleFullscreen:a,isUpdated:i,isFullscreen:c,onRefresh:M,onRemove:s}),r().createElement(Y,{loadingState:C,onRefresh:M,data:S},(e=>{let{data:t,width:a=0,height:n=0}=e;return re.Z.build(O,{data:t,width:a,height:n,options:w,onItemClick:F})})))}));var Pe=a(85709),Te=a(92332),Fe=a(88611);const ke={content:'""',position:"absolute",right:0,top:0,width:"40px",height:"100%",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)",pointerEvents:"none"},Ie=(0,R.Z)((e=>({headCell:{display:"flex",alignItems:"center",height:"100%","&>div":{padding:"0 16px"}},headLabel:{color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"16px",whiteSpace:"nowrap",overflow:"hidden","&:after":ke},entityLabel:{color:e.palette.primary.main,textDecoration:"none",fontSize:"13px",fontWeight:500,lineHeight:"15px",whiteSpace:"nowrap",overflow:"hidden",display:"flex",alignItems:"center",height:"100%",padding:"0 16px","&:after":ke}})));function je(){return je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},je.apply(this,arguments)}function ze(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),n.forEach((function(t){De(e,t,a[t])}))}return e}function De(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const Ne=e=>{let{className:t,headCellData:a}=e,n=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["className","headCellData"]);const l=Ie();return r().createElement("div",{className:j()(l.headCell,t)},r().createElement(Te.default,je({},n,{headCellData:ze({},a,{label:r().createElement(Fe.C,{value:a.label},r().createElement("div",{className:l.headLabel},a.label))})})))};var Ae=a(31039);const Be=e=>{let{value:t,rowValue:a}=e;const n=Ie(),l=(0,m.idV)(t);return r().createElement(Fe.C,{value:l},r().createElement(Ae.Z,{value:(0,m.wwR)(a),className:n.entityLabel},l))},Ze=(0,R.Z)({tableContainer:e=>{let{width:t,height:a}=e;return{height:a,width:t,display:"flex",flexDirection:"column"}},cellBorder:{borderLeft:"none",borderRight:"none"}}),He=Q((e=>{let{height:t,width:a,basicTableRef:n,data:l}=e;const o=Ze({width:a,height:t}),i=[{id:"label",label:c().text("Entity"),resizable:!1,headCellRenderer:Ne,rowCellValueRenderer:Be,initialWidth:a}],s={cellBorder:o.cellBorder};return r().createElement("div",{className:o.tableContainer},r().createElement(Pe.Z,{columnsData:i,rowsData:l,headRowHeight:48,getRowCellHeight:null,classes:s,defaultColumnWidth:100,defaultColumnMinWidth:100,ref:n}))})),Le=(0,n.memo)((e=>{let{config:t,onToggleFullscreen:a,isUpdated:l,isFullscreen:o,onRemove:i}=e;const{id:c,title:s,filters:p,max:f=y}=t,h=(0,n.useMemo)((()=>v(f)),[f]),[g,E]=(0,n.useState)(f),[O,x]=(0,n.useState)(0),{data:w,state:R,reload:S,total:C}=(e=>{let{filters:t,max:a,offset:r}=e;const[l,o]=(0,n.useState)([]),[i,c]=(0,n.useState)(0),[s,u]=(0,n.useState)(d.o.INIT),p=(0,n.useContext)(Ce.I),f=(0,n.useMemo)((()=>p.map(ie).concat(t||[])),[p,t]),h=e=>{console.error(e),u(d.o.ERROR),o([]),c(0)},g=(0,n.useCallback)((()=>{u(d.o.LOADING),Promise.all([(0,m.ZOr)(f,{max:a,offset:r}),(0,m.j_Q)(f,{max:a,offset:r})]).then((e=>{const[t,{total:a}]=e;o(t||[]),c(a),u(d.o.LOADED)})).catch(h)}),[f,a,r]),y=()=>{try{g()}catch(e){h(e)}};return(0,n.useEffect)((()=>{y()}),[g]),{state:s,data:l,reload:y,total:i}})({filters:p,max:g,offset:g*O});return(0,u.T)({state:R,reload:S}),r().createElement(b.Z,{id:c},r().createElement(D,{title:s,onToggleFullscreen:a,isUpdated:l,isFullscreen:o,onRefresh:S,onRemove:i}),r().createElement(Y,{loadingState:R,onRefresh:S,data:w},(e=>{let{data:t,width:a,height:n}=e;return r().createElement(He,{height:n,onChangePage:x,page:O,rowsPerPage:g,count:C,onChangeRowsPerPage:E,rowsPerPageOptions:h,width:a,data:t})})))}));var _e=a(59983),Ue=a(2899);var Ve=a(95038),We=a.n(Ve);let Ge;!function(e){e.HOUR="hour",e.DAY="day"}(Ge||(Ge={}));const qe=(0,o.pipe)((e=>(0,m.RHh)(e,$e)),(e=>{let[t,a]=e;return a-t>+We().duration(1,"day")?Ge.DAY:Ge.HOUR})),$e=e=>{const t=We()();return e===m.bZE.LAST_WEEK?[We()(t).subtract(6,"days").valueOf(),t.valueOf()]:(0,m.VQ1)(e)},Ye=(0,o.pipe)($e,(0,o.defaultTo)([]),(0,o.map)((e=>e&&new Date(e)))),Xe=[{id:"created",types:["CREATED"],get label(){return c().text("New")},color:"#4BAFFF"},{id:"updated",types:["UPDATED"],get label(){return c().text("Updated")},color:"#0072CE"},{id:"deleted",types:["DELETED"],get label(){return c().text("Deleted")},color:"#F085F2"},{id:"matched",types:["POTENTIAL_MATCHES_FOUND"],get label(){return c().text("Matched")},color:"#C4CE00"},{id:"autoMerged",types:["MERGED","MERGED_ON_THE_FLY"],get label(){return c().text("Auto-merged")},color:"#CE5C00"},{id:"mergedManually",types:["MERGED_MANUALLY"],get label(){return c().text("Manually merged")},color:"#9E7ED3"},{id:"unmerged",types:["SPLITTED"],get label(){return c().text("Unmerged")},color:"#40CFBB"},{id:"notMatch",types:["NOT_MATCHES_SET"],get label(){return c().text("Not a match")},color:"#F97061"}],Ke=e=>Xe.find((0,o.propEq)("id",e)),Qe=(0,o.pipe)(Ke,(0,o.propOr)("","label")),Je=(0,o.pipe)(Ke,(0,o.prop)("color")),et=e=>{const[t,a]=(0,m.RHh)(e,$e),n=e=>{let{facet:n,types:r}=e;return(0,m.NIY)({facet:n,startTime:t,endTime:a,types:r}).then((e=>{let{facets:t={},total:a=0}=e;return{total:a,data:t[n]}}))};return(()=>{const e=(0,o.chain)((0,o.prop)("types"),Xe),t=(0,o.pipe)((0,o.propOr)([],"data"),(0,o.pluck)("term"));return n({facet:"type",types:e}).then((e=>t(e)))})().then((e=>e.length>0?(e=>{const r=(0,o.pipe)((0,o.map)((0,o.evolve)({term:e=>We().utc(e).valueOf()})),(0,o.prepend)({term:t,count:0}),(0,o.append)({term:a,count:0}));return Promise.all(Xe.map((t=>{let{types:a,id:l}=t;return((t=>t.some((t=>e.includes(t))))(a)?n({facet:"hour",types:a}):Promise.resolve({total:0,data:[]})).then((e=>{let{total:t,data:a}=e;return{total:t,data:r(a),event:l}}))})))})(e):[]))},tt=(0,o.curry)(((e,t)=>(0,o.pipe)((0,o.groupBy)((t=>{let{term:a}=t;return We()(a).startOf(e)})),o.toPairs,(0,o.map)((e=>{let[t,a]=e;return{term:We()(t).valueOf(),count:(0,o.sum)((0,o.pluck)("count",a))}})))(t))),at=(0,o.curry)(((e,t)=>{const[a,...n]=t;return n.reduce(((t,a)=>{const n=+We().duration(1,e);let r=(0,o.last)(t).term+n;const l=[];for(;r<a.term;)l.push({term:r,count:0}),r+=n;return t.concat(l,a)}),[a])})),nt=(0,o.curry)(((e,t)=>t.map((0,o.evolve)({data:(0,o.pipe)(tt(e),at(e))})))),rt=(0,o.cond)([[(0,o.equals)(Ge.HOUR),(0,o.always)("LT")],[(0,o.equals)(Ge.DAY),(0,o.always)("MMM D")]]),lt=e=>{let{x:t,y:a,payload:n,step:l}=e;return r().createElement("g",{transform:`translate(${t},${a})`},r().createElement("text",{x:0,y:0,dy:16,textAnchor:"middle",fill:"#666"},c().date(null==n?void 0:n.value,rt(l))))},ot=(0,R.Z)({tooltipWrapper:{borderRadius:"4px",background:"rgba(0, 0, 0, 0.54)",padding:"6px 8px 7px 8px",color:"#FFFFFF","& p":{fontSize:"12px",lineHeight:"18px",padding:0,margin:0}},tooltipTitle:{fontWeight:500},tooltipItemColor:{width:8,height:8,marginRight:10,display:"inline-block"},legend:{display:"flex",flexWrap:"wrap",marginLeft:"20px",marginTop:"10px"},legendItem:{display:"flex",alignItems:"baseline","&:not(:last-child)":{marginRight:10},width:"140px",marginBottom:"5px",fontSize:"13px",color:"rgba(0, 0, 0, 0.54)"},legendItemColor:{width:12,height:12,marginRight:10,flexShrink:0,boxSizing:"border-box"},legendItemValue:{color:"rgba(0, 0, 0, 0.87)",marginLeft:"10px"}}),it=(0,o.cond)([[(0,o.equals)(Ge.HOUR),(0,o.always)("LT MMM D")],[(0,o.equals)(Ge.DAY),(0,o.always)("ll")]]),ct=e=>{let{active:t,payload:a,label:n,step:l,events:o}=e;const i=ot();return t&&r().createElement("div",{className:i.tooltipWrapper},r().createElement("p",{className:i.tooltipTitle},c().date(n,it(l))),a.filter((e=>{let{name:t}=e;return o.includes(t)})).map((e=>{let{color:t,name:a,value:n}=e;return r().createElement("p",{key:a},r().createElement("span",{style:{background:t},className:i.tooltipItemColor}),`${Qe(a)}: ${n}`)})))},st=e=>{let{payload:t,selectedItems:a,onClick:n}=e;const l=ot();return r().createElement("div",{className:l.legend},t.map((e=>{let{id:t,color:o,value:i}=e;const s=a.includes(t);return r().createElement("div",{key:t,className:l.legendItem},r().createElement(x.Tooltip,{title:s?c().text("Hide"):c().text("Show")},r().createElement("div",{style:s?{background:o}:{border:`${o} 1px solid`},className:l.legendItemColor,onClick:()=>n(t)})),Qe(t),r().createElement("span",{className:l.legendItemValue},i))})))};function ut(){return ut=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ut.apply(this,arguments)}const pt=e=>{let{data:t,width:a,height:l,step:i}=e;const[c,s]=(0,n.useState)((0,o.pluck)("event",t)),[u,p]=(0,n.useState)(null),{cartesianGrid:d,tooltip:f,xAxis:h,yAxis:g,line:y,legend:v}={xAxis:{type:"category",dataKey:"term",tick:{fill:"#000",opacity:"0.54"},angle:0,textAnchor:"middle",stroke:"#666",allowDuplicatedCategory:!1},yAxis:{dataKey:"",type:"number",tick:{fill:"#000",opacity:"0.54",width:void 0},stroke:"#666",tickFormatter:m.k7L,width:50},cartesianGrid:{strokeDasharray:"3 3",stroke:"#666",strokeOpacity:"0.4"},tooltip:{cursor:{fill:"#000",opacity:"0.1"}},line:{type:"linear",dataKey:"count",strokeWidth:3},legend:{wrapperStyle:{display:"flex",overflowY:"auto",maxHeight:"25%"}}},b=(0,n.useMemo)((()=>nt(i,t)),[i,t]),E=(0,n.useMemo)((()=>((e,t)=>{const a=(0,o.chain)((0,o.pipe)((0,o.prop)("data"),(0,o.pluck)("count")))(e),n=Math.min(...a),r=Math.max(...a);return Math.abs(r-n)<8?[0,7]:[0,"auto"]})(b)),[b]);return r().createElement(Ue.wW,{width:a,height:l},r().createElement(Ue.q3,d),r().createElement(Ue.Kc,ut({},h,{tick:r().createElement(lt,{step:i})})),r().createElement(Ue.B2,ut({},g,{tickCount:8,domain:E})),b.map((e=>{let{event:t,data:a}=e;const n=c.includes(t);return r().createElement(Ue.x1,ut({key:t,stroke:Je(t),name:t,data:a,dot:n&&{r:5,strokeWidth:2},activeDot:n&&{r:5,strokeWidth:2,onMouseEnter:()=>p(t),onMouseLeave:()=>p(null)},strokeOpacity:n?1:0},y))})),r().createElement(Ue.De,ut({content:r().createElement(st,{selectedItems:c,onClick:e=>{s((0,o.ifElse)((0,o.includes)(e),(0,o.without)([e]),(0,o.append)(e)))}}),payload:b.map((e=>{let{event:t,total:a}=e;return{id:t,type:"square",color:Je(t),value:a}}))},v)),r().createElement(Ue.u,ut({},f,{content:r().createElement(ct,{step:i,events:u?[u]:c})})))};var dt=a(85229);const mt=(0,R.Z)({periodSelector:{position:"relative",margin:"0 6px 0 0",flexBasis:"220px",flexShrink:1,'& input[type="text"]':{padding:"0 0 0 8px"}}}),ft=(0,n.memo)((e=>{let{config:t,onToggleFullscreen:a,isUpdated:l,isFullscreen:i,onRemove:c}=e;const s=mt(),{id:p,title:f}=t,[h,g]=(0,n.useState)(m.bZE.LAST_WEEK),{state:y,data:v,reload:E}=(e=>{const[t,a]=(0,n.useState)([]),[r,l]=(0,n.useState)(d.o.INIT),i=(0,dt._)(),c=e=>{console.error(e),l(d.o.ERROR),a([])},s=(0,n.useCallback)((()=>{l(d.o.LOADING);const t=(0,o.pipe)(et,i,(0,o.andThen)((e=>{l(d.o.LOADED),a(e)})),(0,o.otherwise)(c));t(e)}),[e.toString()]),u=()=>{try{s()}catch(e){c(e)}};return(0,n.useEffect)((()=>{u()}),[s]),{state:r,data:t,reload:u}})(h);return(0,u.T)({state:y,reload:E}),r().createElement(b.Z,{id:p},r().createElement(D,{title:f,onToggleFullscreen:a,isUpdated:l,isFullscreen:i,onRefresh:E,onRemove:c},r().createElement(_e.Z,{values:h,options:(0,m.cGG)(),getValuesDateRange:Ye,onChange:g,className:s.periodSelector})),r().createElement(Y,{loadingState:y,onRefresh:E,data:v},(e=>{let{data:t,width:a,height:n}=e;return r().createElement(pt,{data:t,width:a,height:n,step:qe(h)})})))}));var ht=a(3292);function gt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),n.forEach((function(t){yt(e,t,a[t])}))}return e}function yt(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const vt=e=>`configuration/entityTypes/${e}`,bt=(0,o.pipe)((0,o.prop)("group"),vt),Et=(0,o.curry)(((e,t)=>t.map((t=>{const a=bt(t);return gt({},t,{label:(0,m.nt9)(e,a).label})})))),Ot=(0,o.curry)(((e,t)=>{const a=(0,o.pipe)(bt,(0,m.io3)(e),(0,o.map)((0,m.nt9)(e)),(0,o.filter)(m.oDv),o.last),n=t.reduce(((e,t)=>{const n=a(t);if(n){const a=(0,m.nIW)(n.uri);return gt({},e,{[a]:(e[a]||0)+t.value})}return e}),{});return Object.entries(n).map((e=>{let[t,a]=e;return{group:t,label:t,value:a}}))})),xt=(0,o.pipe)(vt,ce,m.VGB),wt=(0,o.pipe)((0,o.prop)("uri"),m.nIW),Rt=(0,o.curry)(((e,t)=>e.find((e=>e.group===t)))),St=e=>({label:e,group:e,value:0}),Ct=(0,o.curry)(((e,t)=>{let{entityTypes:a}=e;const n=(0,o.pipe)(wt,(0,o.either)(Rt(t),St));return a.filter(m.oDv).map(n)})),Mt=[],Pt=(0,n.memo)((e=>{let{config:t,onToggleFullscreen:a,isUpdated:i,isFullscreen:c,onRemove:s}=e;const{id:m,title:f,hideEmpty:h,orderType:g,inheritChildren:y}=t,{data:v,state:E,reload:O}=(e=>{let{orderType:t,inheritChildren:a,hideEmpty:r}=e;const[i,c]=(0,n.useState)([]),[s,u]=(0,n.useState)(d.o.INIT),m=(0,l.useSelector)(p.ZP.selectors.getMetadata),f=m.entityTypes.length,{globalFilter:h,activityFilter:g}=(0,l.useSelector)(p.ZP.selectors.getGlobalSearchRequestOptions),y=(0,l.useSelector)(p.ZP.selectors.getSearchOptions),v=y&&y.searchByOv,b=e=>{console.error(e),u(d.o.ERROR),c([])},E=(0,n.useCallback)((()=>{u(d.o.LOADING);const e=(0,o.pipe)(fe,(0,o.andThen)((0,o.unless)((0,o.always)(r),Ct(m))),(0,o.andThen)((0,o.when)((0,o.always)(a),Ot(m))),(0,o.andThen)(Et(m)),(0,o.andThen)(Ee),(0,o.andThen)((e=>{u(d.o.LOADED),c(e)})),(0,o.otherwise)(b));e({attribute:"type",pageSize:f,filters:Mt,globalFilter:h,searchByOv:v,activityFilter:g,orderType:t})}),[r,m,a,f,h,v,g,t]),O=()=>{try{E()}catch(e){b(e)}};return(0,n.useEffect)((()=>{O()}),[E]),{state:s,data:i,reload:O}})({hideEmpty:h,orderType:g,inheritChildren:y});(0,u.T)({state:E,reload:O});const x=(0,l.useDispatch)(),w=(0,l.useSelector)(p.ZP.selectors.getMetadata),R=(0,o.pipe)(xt,Se(w,"type"),p.ui.actions.openSearch,x);return r().createElement(b.Z,{id:m},r().createElement(D,{title:f,onToggleFullscreen:a,isUpdated:i,isFullscreen:c,onRefresh:O,onRemove:s}),r().createElement(Y,{loadingState:E,onRefresh:O,data:v},(e=>{let{data:t,width:a,height:n}=e;return r().createElement(ht.Z,{width:a,height:n,data:t,onItemClick:R})})))})),Tt=(0,R.Z)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 16px"},iframe:{borderWidth:0,width:"100%",height:"100%"},tasksSelector:{position:"relative",margin:"0 6px 0 0",flexBasis:"220px",flexShrink:1},tasksSelectorInput:{fontSize:"14px",lineHeight:"16px",padding:"12px 32px 10px 12px"},pagination:{height:"52px",flexGrow:0,flexShrink:0}}))),Ft=(0,n.memo)((e=>{let{config:t,onToggleFullscreen:a,isUpdated:n,isFullscreen:l,onRemove:o}=e;const{id:i,title:c,url:s}=t,u=Tt();return r().createElement(b.Z,{id:i},r().createElement(D,{title:c,onToggleFullscreen:a,isUpdated:n,isFullscreen:l,onRemove:o}),r().createElement(A.Z,{className:u.viewContent},r().createElement("iframe",{src:s,frameBorder:"0",className:u.iframe})))}));let kt;!function(e){e.MY="my",e.TEAM="team"}(kt||(kt={}));var It=a(30739),jt=a(31254),zt=a(73272);function Dt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),n.forEach((function(t){Nt(e,t,a[t])}))}return e}function Nt(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const At=(0,o.cond)([[(0,o.equals)(kt.MY),(0,o.always)(m.C82)],[(0,o.equals)(kt.TEAM),(0,o.always)(m.h6J)],[o.T,(0,o.always)((()=>Promise.resolve({data:[]})))]]),Bt=(0,o.pipe)((0,o.propOr)([],"objectURIs"),o.head),Zt=(0,o.startsWith)("changeRequests/"),Ht=(0,o.complement)(o.isEmpty),Lt=(0,o.pipe)((0,o.map)(Bt),(0,o.filter)(m.WgC),(0,o.when)(Ht,m.DnY)),_t=(0,o.pipe)((0,o.map)(Bt),(0,o.filter)(Zt),(0,o.map)((0,o.pipe)(m.E6I,(0,o.otherwise)((0,o.always)(null)))),(e=>Promise.all(e))),Ut=(0,o.converge)((function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return Promise.all(t)}),[Lt,_t]),Vt=e=>{let{objectsInfo:t={},changes:a={},uri:n}=e;const r=e=>(0,o.path)([e,0],a),l=e=>{const{type:t}=r(e);return"CREATE_ENTITY"==t||"CREATE_RELATIONSHIP"==t?n+"/changes/"+e:e};return(0,o.pipe)(o.keys,(0,o.filter)(r),(0,o.sort)((0,o.descend)((0,o.pipe)(r,(0,o.prop)("createdTime")))),(0,o.map)((e=>Dt({},t[e],{uri:l(e)}))))(t)},Wt=(e,t,a)=>(t=(0,o.reject)(o.isNil,t),a.map((0,o.pipe)((0,o.when)((0,o.pipe)(Bt,m.WgC),(e=>t=>{const a=e.find((0,o.propEq)("uri",Bt(t)));return a?Dt({},t,{objects:[a]}):t})(e)),(0,o.when)((0,o.pipe)(Bt,Zt),(e=>t=>{const a=e.find((0,o.propEq)("uri",Bt(t)));return a?Dt({},t,{objects:Vt(a)}):t})(t))))),Gt=(0,o.curry)((async(e,t)=>{let{workflowPath:a,environment:n,tenant:r,assignee:l,max:o,offset:i}=t;const c=At(e),{data:s,total:u}=await c({workflowPath:a,environment:n,tenant:r,assignee:l,max:o,offset:i}),[p,d]=await Ut(s);return{data:Wt(p,d,s),total:u}})),qt=e=>e.dueDate&&e.dueDate<Date.now(),$t=(0,R.Z)((e=>({taskItem:{flex:1,display:"flex",padding:"15px",color:e.palette.text.primary,"&.Low":{borderLeft:"#F7F7F7 solid 3px"},"&.Medium":{borderLeft:"#F7DE03 solid 3px"},"&.High":{borderLeft:"#FF9800 solid 3px"},"&.Urgent":{borderLeft:"#F44336 solid 3px"}},taskInfo:{flex:1,padding:"0 15px",overflow:"hidden",overflowWrap:"anywhere"},taskTitle:{lineHeight:"18px",marginBottom:"6px"},taskDetail:{lineHeight:"15px",fontSize:"12px",margin:"5px 0"},taskDetailTitle:{color:e.palette.text.secondary,marginRight:"3px"},taskDueDate:{flex:"0 0 110px",fontSize:"13px",lineHeight:"15px",textAlign:"right",paddingTop:"6px"},flag:{height:"14px",width:"14px",stroke:"rgba(0,0,0,.54)",fill:"none",verticalAlign:"text-top",marginRight:"5px"},overdue:{"&$taskDueDate":{color:"#f44336"},"& $flag":{stroke:"#f44336",fill:"#f44336"}},entityLabel:{color:e.palette.primary.main,textDecoration:"none",fontSize:"13px",lineHeight:"15px"},hidden:{visibility:"hidden"}}))),Yt=e=>{let{uri:t,label:a,screen:n}=e;const l=$t();return r().createElement(Ae.Z,{value:t,screen:n,className:l.entityLabel},(0,m.idV)(a))},Xt=e=>{let{object:t,metadata:a,processType:n}=e;if("startObjectUri"in t&&"endObjectUri"in t){const e=(0,m.V3K)(a,t.type);return r().createElement(r().Fragment,null,e.label," ",c().text("from")," ",r().createElement(Yt,{uri:t.startObjectUri,label:t.startObjectLabel})," ",c().text("to")," ",r().createElement(Yt,{uri:t.endObjectUri,label:t.endObjectLabel}))}return r().createElement(Yt,{uri:(0,m.wwR)(t),label:t.label,screen:n===m.Yj_.potentialMatchReview?"potentialMatches":"profile"})},Kt=e=>{let{task:t,showAssignee:a}=e;const n=$t(),o=t.objects||[],[i]=o,s=(0,l.useSelector)(p.ZP.selectors.getMetadata),u=i&&(0,m.nt9)(s,i.type);return r().createElement("div",{className:j()(n.taskItem,t.priorityClass)},r().createElement(jt.Z,{entityType:u}),r().createElement("div",{className:n.taskInfo},r().createElement(x.Typography,{className:n.taskTitle,variant:"subtitle1"},t.processDefinitionDisplayName),o.map((e=>r().createElement("p",{key:e.uri,className:n.taskDetail},r().createElement(Xt,{object:e,processType:t.processType,metadata:s})))),r().createElement("p",{className:n.taskDetail},r().createElement("span",{className:n.taskDetailTitle},c().text("Created by:")),t.createdBy," ",c().text("on")," ",c().date(t.createTime,"L")),a&&t.assignee&&r().createElement("p",{className:n.taskDetail},r().createElement("span",{className:n.taskDetailTitle},c().text("Assigned to:")),t.assignee),r().createElement("p",{className:n.taskDetail},r().createElement("span",{className:n.taskDetailTitle},c().text("Step:")),t.displayName)),r().createElement("div",{className:j()(n.taskDueDate,{[n.overdue]:qt(t),[n.hidden]:!t.dueDate})},r().createElement(zt.Z,{className:n.flag}),c().date(t.dueDate,"L")))},Qt=e=>{let{width:t,height:a,tasksCategory:l,tasks:o}=e;const i=(0,n.useCallback)((e=>{let{data:t,index:a}=e;return r().createElement("div",null,r().createElement(Kt,{task:t[a],showAssignee:l!==kt.MY}),r().createElement(x.Divider,{light:!0,variant:"inset"}))}),[l]);return r().createElement(It.Z,{width:t,height:a,data:o,defaultItemSize:115},i)};function Jt(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var ea=a(31276);const ta=(0,n.memo)((e=>{let{config:t,onToggleFullscreen:a,isUpdated:i,isFullscreen:s,onRemove:m}=e;const f=Tt(),{id:h,title:g,pageSize:y}=t,[v,E]=(0,n.useState)(0),[O,w]=(0,n.useState)(y||10),[R,S]=(0,n.useState)(kt.MY),C=(0,n.useMemo)((()=>({tasksCategory:R,max:O,offset:O*v})),[O,v,R]),{state:M,data:P,total:T,reload:F}=(e=>{const{tasksCategory:t}=e,a=(0,n.useMemo)((()=>(0,o.pick)(["max","offset"],e)),[e]),[r,i]=(0,n.useState)([]),[c,s]=(0,n.useState)(d.o.INIT),[u,m]=(0,n.useState)(),f=(0,l.useSelector)(p.ZP.selectors.getWorkflowPath),h=(0,l.useSelector)(p.ZP.selectors.getWorkflowEnvironmentUrl),g=(0,l.useSelector)(p.ZP.selectors.getTenant),y=(0,l.useSelector)(p.ZP.selectors.getUserName),v=t===kt.MY?y:void 0,b=(0,dt._)(),E=e=>{console.error(e),s(d.o.ERROR),i([])},O=(0,n.useCallback)((()=>{s(d.o.LOADING);const e=(0,o.pipe)(Gt(t),b,(0,o.andThen)((e=>{let{data:t,total:a}=e;s(d.o.LOADED),i(t),m(a)})),(0,o.otherwise)(E));e(function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),n.forEach((function(t){Jt(e,t,a[t])}))}return e}({workflowPath:f,environment:h,tenant:g,assignee:v},a))}),[f,h,g,t,a]),x=()=>{try{O()}catch(e){E(e)}};return(0,n.useEffect)((()=>{x()}),[O]),{state:c,data:r,reload:x,total:u}})(C);return(0,u.T)({state:M,reload:F}),r().createElement(b.Z,{id:h},r().createElement(D,{title:g,onToggleFullscreen:a,isUpdated:i,isFullscreen:s,onRemove:m,onRefresh:F},r().createElement(x.Select,{className:f.tasksSelector,classes:{root:f.tasksSelectorInput},variant:"filled",value:R,onChange:(0,o.pipe)(ea.NA,S)},r().createElement(x.MenuItem,{value:kt.MY},c().text("My tasks")),r().createElement(x.MenuItem,{value:kt.TEAM},c().text("Team tasks")))),r().createElement(Y,{loadingState:M,onRefresh:F,data:P},(e=>{let{data:t,width:a,height:n}=e;return r().createElement(Qt,{width:a,height:n,tasksCategory:R,tasks:t})})),T>(y||10)&&r().createElement("div",{className:f.pagination},r().createElement(X.Z,{count:T,rowsPerPage:O,page:v,onChangePage:E,onChangeRowsPerPage:w})))}));var aa=a(34359),na=a(88234),ra=a(67486);const la=(0,R.Z)((()=>({activityLogFilter:{padding:"0 9px"}}))),oa=(0,n.memo)((e=>{let{config:t,isUpdated:a,isFullscreen:l,onToggleFullscreen:i,onRemove:c}=e;const{id:s,title:p,exportTypes:m}=t,f=la(),[h,g]=(0,n.useState)(0),[E,O]=(0,n.useState)(y),x=(0,n.useMemo)((()=>v(y)),[]),[w,R]=(0,n.useState)({users:[],activities:[],dateRange:{type:d.K.WITHIN,period:[4,"months"]}}),{state:S,data:C,total:M,reload:P}=(e=>{let{filter:t,max:a,offset:r}=e;const[l,i]=(0,n.useState)([]),[c,s]=(0,n.useState)(0),[u,p]=(0,n.useState)(d.o.INIT),m=(0,dt._)(),f=e=>{console.error(e),p(d.o.ERROR),i([]),s(0)},h=(0,ra.d)({filter:t,max:a,offset:r}),g=(0,n.useCallback)((()=>{p(d.o.LOADING);const e=(0,o.pipe)(h,m,(0,o.andThen)((e=>{let{data:t,total:a}=e;i(t),s(a),p(d.o.LOADED)})),(0,o.otherwise)(f));e()}),[h]),y=()=>{try{g()}catch(e){f(e)}};return(0,n.useEffect)((()=>{y()}),[g]),{state:u,data:l,total:c,reload:y}})({filter:w,max:E,offset:h*E}),T=(0,n.useCallback)((e=>{R(e),g(0)}),[]);return(0,u.T)({state:S,reload:P}),r().createElement(b.Z,{id:s},r().createElement(D,{title:p,onToggleFullscreen:i,isUpdated:a,isFullscreen:l,onRemove:c,onRefresh:P}),r().createElement("div",{className:f.activityLogFilter},r().createElement(aa.Z,{value:w,onChange:T,exportTypes:m})),r().createElement(Y,{loadingState:S,onRefresh:P,data:C},(e=>{let{data:t,width:a,height:n}=e;return r().createElement(na.Z,{width:a,height:n,activities:t,count:M,page:h,onChangePage:g,rowsPerPage:E,onChangeRowsPerPage:O,rowsPerPageOptions:x})})))}));function ia(){return ia=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ia.apply(this,arguments)}class ca{}ca.ViewTypes=m.dZX,ca.getComponent=e=>{let{config:t,type:a,isUpdated:n,isFullscreen:l,onToggleFullscreen:o,onRemove:i}=e;const c={isUpdated:n,isFullscreen:l,onToggleFullscreen:o,onRemove:i};switch(a){case ca.ViewTypes.ActivitiesViewFacet:return r().createElement(oa,ia({config:t},c));case ca.ViewTypes.CustomActionViewFacet:return r().createElement(Ft,ia({config:t},c));case ca.ViewTypes.DashboardFacet:return r().createElement(Me,ia({config:t},c));case ca.ViewTypes.EntitiesByTypeViewFacet:return r().createElement(Pt,ia({config:t},c));case ca.ViewTypes.FilteredSavedSearchesFacet:return r().createElement(ne,ia({config:t},c));case ca.ViewTypes.FilteredEntitiesViewFacet:return r().createElement(Le,ia({config:t},c));case ca.ViewTypes.NotificationInboxFacet:return r().createElement(ta,ia({config:t},c));case ca.ViewTypes.ProfileStatsFacet:return r().createElement(ft,ia({config:t},c));default:return r().createElement("div",null,"NOT IMPLEMENTED")}},ca.getChartType=e=>{const t={[ca.ViewTypes.EntitiesByTypeViewFacet]:m.$XE.TREE,[ca.ViewTypes.FilteredSavedSearchesFacet]:m.$XE.TABLE,[ca.ViewTypes.FilteredEntitiesViewFacet]:m.$XE.TABLE,[ca.ViewTypes.ProfileStatsFacet]:m.$XE.LINE,[ca.ViewTypes.NotificationInboxFacet]:m.$XE.TABLE,[ca.ViewTypes.ActivitiesViewFacet]:m.$XE.TABLE};return e.chartType||t[e.component]};const sa=ca}}]);
|
|
2
|
-
//# sourceMappingURL=2378.js.map
|