All Downloads are FREE. Search and download functionalities are using the official Maven repository.

theme.keycloak.v2.admin.resources.assets.Modal-5d8a3df4.js.map Maven / Gradle / Ivy

There is a newer version: 25.0.1
Show newest version
{"version":3,"file":"Modal-5d8a3df4.js","sources":["../../../../node_modules/.pnpm/@[email protected]/node_modules/@patternfly/react-styles/css/components/Backdrop/backdrop.mjs","../../../../node_modules/.pnpm/@[email protected]/node_modules/@patternfly/react-styles/css/layouts/Bullseye/bullseye.mjs","../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@patternfly/react-core/dist/esm/components/Backdrop/Backdrop.js","../../../../node_modules/.pnpm/@[email protected]/node_modules/@patternfly/react-styles/css/components/ModalBox/modal-box.mjs","../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@patternfly/react-core/dist/esm/components/Modal/ModalBoxBody.js","../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@patternfly/react-core/dist/esm/components/Modal/ModalBoxCloseButton.js","../../../../node_modules/.pnpm/@[email protected]/node_modules/@patternfly/react-tokens/dist/esm/c_modal_box_m_align_top_spacer.js","../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@patternfly/react-core/dist/esm/components/Modal/ModalBox.js","../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@patternfly/react-core/dist/esm/components/Modal/ModalBoxFooter.js","../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@patternfly/react-core/dist/esm/components/Modal/ModalBoxDescription.js","../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@patternfly/react-core/dist/esm/components/Modal/ModalBoxHeader.js","../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@patternfly/react-core/dist/esm/components/Modal/ModalBoxTitle.js","../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@patternfly/react-core/dist/esm/components/Modal/ModalContent.js","../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@patternfly/react-core/dist/esm/components/Modal/Modal.js"],"sourcesContent":["import './backdrop.css';\nexport default {\n  \"backdrop\": \"pf-c-backdrop\",\n  \"backdropOpen\": \"pf-c-backdrop__open\"\n};","import './bullseye.css';\nexport default {\n  \"bullseye\": \"pf-l-bullseye\"\n};","import { __rest } from \"tslib\";\nimport * as React from 'react';\nimport { css } from '@patternfly/react-styles';\nimport styles from '@patternfly/react-styles/css/components/Backdrop/backdrop';\nexport const Backdrop = (_a) => {\n    var { children = null, className = '' } = _a, props = __rest(_a, [\"children\", \"className\"]);\n    return (React.createElement(\"div\", Object.assign({}, props, { className: css(styles.backdrop, className) }), children));\n};\nBackdrop.displayName = 'Backdrop';\n//# sourceMappingURL=Backdrop.js.map","import './modal-box.css';\nexport default {\n  \"button\": \"pf-c-button\",\n  \"modalBox\": \"pf-c-modal-box\",\n  \"modalBoxBody\": \"pf-c-modal-box__body\",\n  \"modalBoxDescription\": \"pf-c-modal-box__description\",\n  \"modalBoxFooter\": \"pf-c-modal-box__footer\",\n  \"modalBoxHeader\": \"pf-c-modal-box__header\",\n  \"modalBoxHeaderMain\": \"pf-c-modal-box__header-main\",\n  \"modalBoxTitle\": \"pf-c-modal-box__title\",\n  \"modalBoxTitleIcon\": \"pf-c-modal-box__title-icon\",\n  \"modalBoxTitleText\": \"pf-c-modal-box__title-text\",\n  \"modifiers\": {\n    \"sm\": \"pf-m-sm\",\n    \"md\": \"pf-m-md\",\n    \"lg\": \"pf-m-lg\",\n    \"alignTop\": \"pf-m-align-top\",\n    \"danger\": \"pf-m-danger\",\n    \"warning\": \"pf-m-warning\",\n    \"success\": \"pf-m-success\",\n    \"default\": \"pf-m-default\",\n    \"info\": \"pf-m-info\",\n    \"help\": \"pf-m-help\",\n    \"icon\": \"pf-m-icon\"\n  },\n  \"themeDark\": \"pf-theme-dark\"\n};","import { __rest } from \"tslib\";\nimport * as React from 'react';\nimport { css } from '@patternfly/react-styles';\nimport styles from '@patternfly/react-styles/css/components/ModalBox/modal-box';\nexport const ModalBoxBody = (_a) => {\n    var { children = null, className = '' } = _a, props = __rest(_a, [\"children\", \"className\"]);\n    return (React.createElement(\"div\", Object.assign({}, props, { className: css(styles.modalBoxBody, className) }), children));\n};\nModalBoxBody.displayName = 'ModalBoxBody';\n//# sourceMappingURL=ModalBoxBody.js.map","import { __rest } from \"tslib\";\nimport * as React from 'react';\nimport { Button } from '../Button';\nimport TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';\nexport const ModalBoxCloseButton = (_a) => {\n    var { className = '', onClose = () => undefined, ouiaId } = _a, props = __rest(_a, [\"className\", \"onClose\", \"ouiaId\"]);\n    return (React.createElement(Button, Object.assign({ className: className, variant: \"plain\", onClick: onClose, \"aria-label\": \"Close\" }, (ouiaId && { ouiaId: `${ouiaId}-${ModalBoxCloseButton.displayName}` }), props),\n        React.createElement(TimesIcon, null)));\n};\nModalBoxCloseButton.displayName = 'ModalBoxCloseButton';\n//# sourceMappingURL=ModalBoxCloseButton.js.map","export const c_modal_box_m_align_top_spacer = {\n  \"name\": \"--pf-c-modal-box--m-align-top--spacer\",\n  \"value\": \"0.5rem\",\n  \"var\": \"var(--pf-c-modal-box--m-align-top--spacer)\"\n};\nexport default c_modal_box_m_align_top_spacer;","import { __rest } from \"tslib\";\nimport * as React from 'react';\nimport { css } from '@patternfly/react-styles';\nimport styles from '@patternfly/react-styles/css/components/ModalBox/modal-box';\nimport topSpacer from '@patternfly/react-tokens/dist/esm/c_modal_box_m_align_top_spacer';\nexport const ModalBox = (_a) => {\n    var { children, className = '', variant = 'default', position, positionOffset, 'aria-labelledby': ariaLabelledby, 'aria-label': ariaLabel = '', 'aria-describedby': ariaDescribedby, style } = _a, props = __rest(_a, [\"children\", \"className\", \"variant\", \"position\", \"positionOffset\", 'aria-labelledby', 'aria-label', 'aria-describedby', \"style\"]);\n    if (positionOffset) {\n        style = style || {};\n        style[topSpacer.name] = positionOffset;\n    }\n    return (React.createElement(\"div\", Object.assign({}, props, { role: \"dialog\", \"aria-label\": ariaLabel || null, \"aria-labelledby\": ariaLabelledby || null, \"aria-describedby\": ariaDescribedby, \"aria-modal\": \"true\", className: css(styles.modalBox, className, position === 'top' && styles.modifiers.alignTop, variant === 'large' && styles.modifiers.lg, variant === 'small' && styles.modifiers.sm, variant === 'medium' && styles.modifiers.md), style: style }), children));\n};\nModalBox.displayName = 'ModalBox';\n//# sourceMappingURL=ModalBox.js.map","import { __rest } from \"tslib\";\nimport * as React from 'react';\nimport { css } from '@patternfly/react-styles';\nimport styles from '@patternfly/react-styles/css/components/ModalBox/modal-box';\nexport const ModalBoxFooter = (_a) => {\n    var { children = null, className = '' } = _a, props = __rest(_a, [\"children\", \"className\"]);\n    return (React.createElement(\"footer\", Object.assign({}, props, { className: css(styles.modalBoxFooter, className) }), children));\n};\nModalBoxFooter.displayName = 'ModalBoxFooter';\n//# sourceMappingURL=ModalBoxFooter.js.map","import { __rest } from \"tslib\";\nimport * as React from 'react';\nimport { css } from '@patternfly/react-styles';\nimport styles from '@patternfly/react-styles/css/components/ModalBox/modal-box';\nexport const ModalBoxDescription = (_a) => {\n    var { children = null, className = '', id = '' } = _a, props = __rest(_a, [\"children\", \"className\", \"id\"]);\n    return (React.createElement(\"div\", Object.assign({}, props, { id: id, className: css(styles.modalBoxDescription, className) }), children));\n};\nModalBoxDescription.displayName = 'ModalBoxDescription';\n//# sourceMappingURL=ModalBoxDescription.js.map","import { __rest } from \"tslib\";\nimport * as React from 'react';\nimport { css } from '@patternfly/react-styles';\nimport styles from '@patternfly/react-styles/css/components/ModalBox/modal-box';\nexport const ModalBoxHeader = (_a) => {\n    var { children = null, className = '', help = null } = _a, props = __rest(_a, [\"children\", \"className\", \"help\"]);\n    return (React.createElement(\"header\", Object.assign({ className: css(styles.modalBoxHeader, help && styles.modifiers.help, className) }, props),\n        help && (React.createElement(React.Fragment, null,\n            React.createElement(\"div\", { className: css(styles.modalBoxHeaderMain) }, children),\n            React.createElement(\"div\", { className: \"pf-c-modal-box__header-help\" }, help))),\n        !help && children));\n};\nModalBoxHeader.displayName = 'ModalBoxHeader';\n//# sourceMappingURL=ModalBoxHeader.js.map","import { __rest } from \"tslib\";\nimport * as React from 'react';\nimport modalStyles from '@patternfly/react-styles/css/components/ModalBox/modal-box';\nimport { css } from '@patternfly/react-styles';\nimport accessibleStyles from '@patternfly/react-styles/css/utilities/Accessibility/accessibility';\nimport { capitalize } from '../../helpers';\nimport { Tooltip } from '../Tooltip';\nimport CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';\nimport ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';\nimport ExclamationTriangleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-triangle-icon';\nimport InfoCircleIcon from '@patternfly/react-icons/dist/esm/icons/info-circle-icon';\nimport BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';\nimport { useIsomorphicLayoutEffect } from '../../helpers';\nexport const isVariantIcon = (icon) => ['success', 'danger', 'warning', 'info', 'default'].includes(icon);\nexport const ModalBoxTitle = (_a) => {\n    var { className = '', id, title, titleIconVariant, titleLabel = '' } = _a, props = __rest(_a, [\"className\", \"id\", \"title\", \"titleIconVariant\", \"titleLabel\"]);\n    const [hasTooltip, setHasTooltip] = React.useState(false);\n    const h1 = React.useRef(null);\n    const label = titleLabel || (isVariantIcon(titleIconVariant) ? `${capitalize(titleIconVariant)} alert:` : titleLabel);\n    const variantIcons = {\n        success: React.createElement(CheckCircleIcon, null),\n        danger: React.createElement(ExclamationCircleIcon, null),\n        warning: React.createElement(ExclamationTriangleIcon, null),\n        info: React.createElement(InfoCircleIcon, null),\n        default: React.createElement(BellIcon, null)\n    };\n    const CustomIcon = !isVariantIcon(titleIconVariant) && titleIconVariant;\n    useIsomorphicLayoutEffect(() => {\n        setHasTooltip(h1.current && h1.current.offsetWidth < h1.current.scrollWidth);\n    }, []);\n    const content = (React.createElement(\"h1\", Object.assign({ id: id, ref: h1, className: css(modalStyles.modalBoxTitle, titleIconVariant && modalStyles.modifiers.icon, className) }, props),\n        titleIconVariant && (React.createElement(\"span\", { className: css(modalStyles.modalBoxTitleIcon) }, isVariantIcon(titleIconVariant) ? variantIcons[titleIconVariant] : React.createElement(CustomIcon, null))),\n        label && React.createElement(\"span\", { className: css(accessibleStyles.screenReader) }, label),\n        React.createElement(\"span\", { className: css(modalStyles.modalBoxTitleText) }, title)));\n    return hasTooltip ? React.createElement(Tooltip, { content: title }, content) : content;\n};\nModalBoxTitle.displayName = 'ModalBoxTitle';\n//# sourceMappingURL=ModalBoxTitle.js.map","import { __rest } from \"tslib\";\nimport * as React from 'react';\nimport { FocusTrap } from '../../helpers';\nimport modalStyles from '@patternfly/react-styles/css/components/ModalBox/modal-box';\nimport bullsEyeStyles from '@patternfly/react-styles/css/layouts/Bullseye/bullseye';\nimport { css } from '@patternfly/react-styles';\nimport { getOUIAProps } from '../../helpers';\nimport { Backdrop } from '../Backdrop/Backdrop';\nimport { ModalBoxBody } from './ModalBoxBody';\nimport { ModalBoxCloseButton } from './ModalBoxCloseButton';\nimport { ModalBox } from './ModalBox';\nimport { ModalBoxFooter } from './ModalBoxFooter';\nimport { ModalBoxDescription } from './ModalBoxDescription';\nimport { ModalBoxHeader } from './ModalBoxHeader';\nimport { ModalBoxTitle, isVariantIcon } from './ModalBoxTitle';\nexport const ModalContent = (_a) => {\n    var { children, className = '', isOpen = false, header = null, help = null, description = null, title = '', titleIconVariant = null, titleLabel = '', 'aria-label': ariaLabel = '', 'aria-describedby': ariaDescribedby, 'aria-labelledby': ariaLabelledby, bodyAriaLabel, bodyAriaRole, showClose = true, footer = null, actions = [], onClose = () => undefined, variant = 'default', position, positionOffset, width = -1, boxId, labelId, descriptorId, disableFocusTrap = false, hasNoBodyWrapper = false, ouiaId, ouiaSafe = true } = _a, props = __rest(_a, [\"children\", \"className\", \"isOpen\", \"header\", \"help\", \"description\", \"title\", \"titleIconVariant\", \"titleLabel\", 'aria-label', 'aria-describedby', 'aria-labelledby', \"bodyAriaLabel\", \"bodyAriaRole\", \"showClose\", \"footer\", \"actions\", \"onClose\", \"variant\", \"position\", \"positionOffset\", \"width\", \"boxId\", \"labelId\", \"descriptorId\", \"disableFocusTrap\", \"hasNoBodyWrapper\", \"ouiaId\", \"ouiaSafe\"]);\n    if (!isOpen) {\n        return null;\n    }\n    const modalBoxHeader = header ? (React.createElement(ModalBoxHeader, { help: help }, header)) : (title && (React.createElement(ModalBoxHeader, { help: help },\n        React.createElement(ModalBoxTitle, { title: title, titleIconVariant: titleIconVariant, titleLabel: titleLabel, id: labelId }),\n        description && React.createElement(ModalBoxDescription, { id: descriptorId }, description))));\n    const modalBoxFooter = footer ? (React.createElement(ModalBoxFooter, null, footer)) : (actions.length > 0 && React.createElement(ModalBoxFooter, null, actions));\n    const defaultModalBodyAriaRole = bodyAriaLabel ? 'region' : undefined;\n    const modalBody = hasNoBodyWrapper ? (children) : (React.createElement(ModalBoxBody, Object.assign({ \"aria-label\": bodyAriaLabel, role: bodyAriaRole || defaultModalBodyAriaRole }, props, (!description && !ariaDescribedby && { id: descriptorId })), children));\n    const boxStyle = width === -1 ? {} : { width };\n    const ariaLabelledbyFormatted = () => {\n        if (ariaLabelledby === null) {\n            return null;\n        }\n        const idRefList = [];\n        if ((ariaLabel && boxId) !== '') {\n            idRefList.push(ariaLabel && boxId);\n        }\n        if (ariaLabelledby) {\n            idRefList.push(ariaLabelledby);\n        }\n        if (title) {\n            idRefList.push(labelId);\n        }\n        return idRefList.join(' ');\n    };\n    const modalBox = (React.createElement(ModalBox, Object.assign({ id: boxId, style: boxStyle, className: css(className, isVariantIcon(titleIconVariant) &&\n            modalStyles.modifiers[titleIconVariant]), variant: variant, position: position, positionOffset: positionOffset, \"aria-label\": ariaLabel, \"aria-labelledby\": ariaLabelledbyFormatted(), \"aria-describedby\": ariaDescribedby || (hasNoBodyWrapper ? null : descriptorId) }, getOUIAProps(ModalContent.displayName, ouiaId, ouiaSafe)),\n        showClose && React.createElement(ModalBoxCloseButton, { onClose: onClose, ouiaId: ouiaId }),\n        modalBoxHeader,\n        modalBody,\n        modalBoxFooter));\n    return (React.createElement(Backdrop, null,\n        React.createElement(FocusTrap, { active: !disableFocusTrap, focusTrapOptions: { clickOutsideDeactivates: true, tabbableOptions: { displayCheck: 'none' } }, className: css(bullsEyeStyles.bullseye) }, modalBox)));\n};\nModalContent.displayName = 'ModalContent';\n//# sourceMappingURL=ModalContent.js.map","import { __rest } from \"tslib\";\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { canUseDOM, KeyTypes } from '../../helpers';\nimport { css } from '@patternfly/react-styles';\nimport styles from '@patternfly/react-styles/css/components/Backdrop/backdrop';\nimport { ModalContent } from './ModalContent';\nimport { getDefaultOUIAId } from '../../helpers';\nexport var ModalVariant;\n(function (ModalVariant) {\n    ModalVariant[\"small\"] = \"small\";\n    ModalVariant[\"medium\"] = \"medium\";\n    ModalVariant[\"large\"] = \"large\";\n    ModalVariant[\"default\"] = \"default\";\n})(ModalVariant || (ModalVariant = {}));\nexport class Modal extends React.Component {\n    constructor(props) {\n        super(props);\n        this.boxId = '';\n        this.labelId = '';\n        this.descriptorId = '';\n        this.handleEscKeyClick = (event) => {\n            var _a, _b;\n            const { onEscapePress } = this.props;\n            if (event.key === KeyTypes.Escape && this.props.isOpen) {\n                onEscapePress ? onEscapePress(event) : (_b = (_a = this.props).onClose) === null || _b === void 0 ? void 0 : _b.call(_a);\n            }\n        };\n        this.getElement = (appendTo) => {\n            if (typeof appendTo === 'function') {\n                return appendTo();\n            }\n            return appendTo || document.body;\n        };\n        this.toggleSiblingsFromScreenReaders = (hide) => {\n            const { appendTo } = this.props;\n            const target = this.getElement(appendTo);\n            const bodyChildren = target.children;\n            for (const child of Array.from(bodyChildren)) {\n                if (child !== this.state.container) {\n                    hide ? child.setAttribute('aria-hidden', '' + hide) : child.removeAttribute('aria-hidden');\n                }\n            }\n        };\n        this.isEmpty = (value) => value === null || value === undefined || value === '';\n        const boxIdNum = Modal.currentId++;\n        const labelIdNum = boxIdNum + 1;\n        const descriptorIdNum = boxIdNum + 2;\n        this.boxId = props.id || `pf-modal-part-${boxIdNum}`;\n        this.labelId = `pf-modal-part-${labelIdNum}`;\n        this.descriptorId = `pf-modal-part-${descriptorIdNum}`;\n        this.state = {\n            container: undefined,\n            ouiaStateId: getDefaultOUIAId(Modal.displayName, props.variant)\n        };\n    }\n    componentDidMount() {\n        const { appendTo, title, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, hasNoBodyWrapper, header } = this.props;\n        const target = this.getElement(appendTo);\n        const container = document.createElement('div');\n        this.setState({ container });\n        target.appendChild(container);\n        target.addEventListener('keydown', this.handleEscKeyClick, false);\n        if (this.props.isOpen) {\n            target.classList.add(css(styles.backdropOpen));\n        }\n        else {\n            target.classList.remove(css(styles.backdropOpen));\n        }\n        if (this.isEmpty(title) && this.isEmpty(ariaLabel) && this.isEmpty(ariaLabelledby)) {\n            // eslint-disable-next-line no-console\n            console.error('Modal: Specify at least one of: title, aria-label, aria-labelledby.');\n        }\n        if (this.isEmpty(ariaLabel) && this.isEmpty(ariaLabelledby) && (hasNoBodyWrapper || header)) {\n            // eslint-disable-next-line no-console\n            console.error('Modal: When using hasNoBodyWrapper or setting a custom header, ensure you assign an accessible name to the the modal container with aria-label or aria-labelledby.');\n        }\n    }\n    componentDidUpdate() {\n        const { appendTo } = this.props;\n        const target = this.getElement(appendTo);\n        if (this.props.isOpen) {\n            target.classList.add(css(styles.backdropOpen));\n            this.toggleSiblingsFromScreenReaders(true);\n        }\n        else {\n            target.classList.remove(css(styles.backdropOpen));\n            this.toggleSiblingsFromScreenReaders(false);\n        }\n    }\n    componentWillUnmount() {\n        const { appendTo } = this.props;\n        const target = this.getElement(appendTo);\n        if (this.state.container) {\n            target.removeChild(this.state.container);\n        }\n        target.removeEventListener('keydown', this.handleEscKeyClick, false);\n        target.classList.remove(css(styles.backdropOpen));\n    }\n    render() {\n        const _a = this.props, { \n        // eslint-disable-next-line @typescript-eslint/no-unused-vars\n        appendTo, \n        // eslint-disable-next-line @typescript-eslint/no-unused-vars\n        onEscapePress, 'aria-labelledby': ariaLabelledby, 'aria-label': ariaLabel, 'aria-describedby': ariaDescribedby, bodyAriaLabel, bodyAriaRole, title, titleIconVariant, titleLabel, ouiaId, ouiaSafe } = _a, props = __rest(_a, [\"appendTo\", \"onEscapePress\", 'aria-labelledby', 'aria-label', 'aria-describedby', \"bodyAriaLabel\", \"bodyAriaRole\", \"title\", \"titleIconVariant\", \"titleLabel\", \"ouiaId\", \"ouiaSafe\"]);\n        const { container } = this.state;\n        if (!canUseDOM || !container) {\n            return null;\n        }\n        return ReactDOM.createPortal(React.createElement(ModalContent, Object.assign({}, props, { boxId: this.boxId, labelId: this.labelId, descriptorId: this.descriptorId, title: title, titleIconVariant: titleIconVariant, titleLabel: titleLabel, \"aria-label\": ariaLabel, \"aria-describedby\": ariaDescribedby, \"aria-labelledby\": ariaLabelledby, bodyAriaLabel: bodyAriaLabel, bodyAriaRole: bodyAriaRole, ouiaId: ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe: ouiaSafe })), container);\n    }\n}\nModal.displayName = 'Modal';\nModal.currentId = 0;\nModal.defaultProps = {\n    className: '',\n    isOpen: false,\n    title: '',\n    titleIconVariant: null,\n    titleLabel: '',\n    'aria-label': '',\n    showClose: true,\n    'aria-describedby': '',\n    'aria-labelledby': '',\n    id: undefined,\n    actions: [],\n    onClose: () => undefined,\n    variant: 'default',\n    hasNoBodyWrapper: false,\n    appendTo: () => document.body,\n    ouiaSafe: true\n};\n//# sourceMappingURL=Modal.js.map"],"names":["styles$1","styles","Backdrop","_a","children","className","props","__rest","React.createElement","css","modalStyles","ModalBoxBody","ModalBoxCloseButton","onClose","ouiaId","Button","TimesIcon","c_modal_box_m_align_top_spacer","topSpacer","ModalBox","variant","position","positionOffset","ariaLabelledby","ariaLabel","ariaDescribedby","style","ModalBoxFooter","ModalBoxDescription","id","ModalBoxHeader","help","React.Fragment","isVariantIcon","icon","ModalBoxTitle","title","titleIconVariant","titleLabel","hasTooltip","setHasTooltip","React.useState","h1","React.useRef","label","capitalize","variantIcons","CheckCircleIcon","ExclamationCircleIcon","ExclamationTriangleIcon","InfoCircleIcon","BellIcon","CustomIcon","useIsomorphicLayoutEffect","content","accessibleStyles","Tooltip","ModalContent","isOpen","header","description","bodyAriaLabel","bodyAriaRole","showClose","footer","actions","width","boxId","labelId","descriptorId","disableFocusTrap","hasNoBodyWrapper","ouiaSafe","modalBoxHeader","modalBoxFooter","defaultModalBodyAriaRole","modalBody","boxStyle","ariaLabelledbyFormatted","idRefList","modalBox","getOUIAProps","FocusTrap","bullsEyeStyles","ModalVariant","Modal","React.Component","event","_b","onEscapePress","KeyTypes","appendTo","hide","bodyChildren","child","value","boxIdNum","labelIdNum","descriptorIdNum","getDefaultOUIAId","target","container","canUseDOM","ReactDOM.createPortal"],"mappings":"4MACA,MAAeA,EAAA,CACb,SAAY,gBACZ,aAAgB,qBAClB,ECHA,MAAeC,GAAA,CACb,SAAY,eACd,ECCaC,EAAYC,GAAO,CAC5B,GAAI,CAAE,SAAAC,EAAW,KAAM,UAAAC,EAAY,EAAE,EAAKF,EAAIG,EAAQC,EAAOJ,EAAI,CAAC,WAAY,WAAW,CAAC,EAC1F,OAAQK,EAAAA,cAAoB,MAAO,OAAO,OAAO,CAAA,EAAIF,EAAO,CAAE,UAAWG,EAAIR,EAAO,SAAUI,CAAS,CAAG,CAAA,EAAGD,CAAQ,CACzH,EACAF,EAAS,YAAc,WCPvB,MAAeQ,EAAA,CACb,OAAU,cACV,SAAY,iBACZ,aAAgB,uBAChB,oBAAuB,8BACvB,eAAkB,yBAClB,eAAkB,yBAClB,mBAAsB,8BACtB,cAAiB,wBACjB,kBAAqB,6BACrB,kBAAqB,6BACrB,UAAa,CACX,GAAM,UACN,GAAM,UACN,GAAM,UACN,SAAY,iBACZ,OAAU,cACV,QAAW,eACX,QAAW,eACX,QAAW,eACX,KAAQ,YACR,KAAQ,YACR,KAAQ,WACT,EACD,UA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