canyonapp 0.0.2 → 0.0.3
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/dist/assets/{PlusOutlined-BKBEnSjP.js → PlusOutlined-sY_ekDgf.js} +2 -2
- package/dist/assets/{PlusOutlined-BKBEnSjP.js.map → PlusOutlined-sY_ekDgf.js.map} +1 -1
- package/dist/assets/{Primary-kRxOAMo2.js → Primary-BQrD5zmy.js} +2 -2
- package/dist/assets/{Primary-kRxOAMo2.js.map → Primary-BQrD5zmy.js.map} +1 -1
- package/dist/assets/{SearchOutlined-Gotzyolm.js → SearchOutlined-BbFgLxbH.js} +2 -2
- package/dist/assets/{SearchOutlined-Gotzyolm.js.map → SearchOutlined-BbFgLxbH.js.map} +1 -1
- package/dist/assets/{_cr_-bWnXW3i3.js → _cr_-C-b_iODB.js} +2 -2
- package/dist/assets/{_cr_-bWnXW3i3.js.map → _cr_-C-b_iODB.js.map} +1 -1
- package/dist/assets/{_repo_-wV83V_Ao.js → _repo_-67VixA7I.js} +3 -3
- package/dist/assets/{_repo_-wV83V_Ao.js.map → _repo_-67VixA7I.js.map} +1 -1
- package/dist/assets/{avatar-U3eONG6p.js → avatar-mH_YkdK6.js} +2 -2
- package/dist/assets/{avatar-U3eONG6p.js.map → avatar-mH_YkdK6.js.map} +1 -1
- package/dist/assets/{card-Dlwgxpi6.js → card-Bjmmjg43.js} +2 -2
- package/dist/assets/{card-Dlwgxpi6.js.map → card-Bjmmjg43.js.map} +1 -1
- package/dist/assets/{commits-BduDqkt0.js → commits-DYkmJ-uz.js} +2 -2
- package/dist/assets/{commits-BduDqkt0.js.map → commits-DYkmJ-uz.js.map} +1 -1
- package/dist/assets/{compare-Cw69owfd.js → compare-DoPa_nKN.js} +2 -2
- package/dist/assets/{compare-Cw69owfd.js.map → compare-DoPa_nKN.js.map} +1 -1
- package/dist/assets/{cssMode-pdWk0ODS.js → cssMode-CdL5sipT.js} +2 -2
- package/dist/assets/{cssMode-pdWk0ODS.js.map → cssMode-CdL5sipT.js.map} +1 -1
- package/dist/assets/{database-Do-CAKK7.js → database-DMgJWEa5.js} +2 -2
- package/dist/assets/{database-Do-CAKK7.js.map → database-DMgJWEa5.js.map} +1 -1
- package/dist/assets/{dropdown-BZRTBpNN.js → dropdown-CRMju3hp.js} +2 -2
- package/dist/assets/{dropdown-BZRTBpNN.js.map → dropdown-CRMju3hp.js.map} +1 -1
- package/dist/assets/{form-DIHIzAn0.js → form-agjas9M8.js} +2 -2
- package/dist/assets/{form-DIHIzAn0.js.map → form-agjas9M8.js.map} +1 -1
- package/dist/assets/{htmlMode-BJkP6ANp.js → htmlMode-DL-08zYm.js} +2 -2
- package/dist/assets/{htmlMode-BJkP6ANp.js.map → htmlMode-DL-08zYm.js.map} +1 -1
- package/dist/assets/{index-CmpgusTt.js → index-Buo2eS-Q.js} +6 -6
- package/dist/assets/{index-CmpgusTt.js.map → index-Buo2eS-Q.js.map} +1 -1
- package/dist/assets/{infra-q74EDR4f.js → infra-BiHKZ7O6.js} +2 -2
- package/dist/assets/{infra-q74EDR4f.js.map → infra-BiHKZ7O6.js.map} +1 -1
- package/dist/assets/{jsonMode-YEDssj9h.js → jsonMode-BgUWdwoZ.js} +2 -2
- package/dist/assets/{jsonMode-YEDssj9h.js.map → jsonMode-BgUWdwoZ.js.map} +1 -1
- package/dist/assets/{login--q88da0J.js → login-BIxW6k10.js} +2 -2
- package/dist/assets/{login--q88da0J.js.map → login-BIxW6k10.js.map} +1 -1
- package/dist/assets/{login-D0kwNFIZ.js → login-CeBa1WeH.js} +1 -1
- package/dist/assets/{new-DLzTRflL.js → new-urCghqqi.js} +2 -2
- package/dist/assets/{new-DLzTRflL.js.map → new-urCghqqi.js.map} +1 -1
- package/dist/assets/{popconfirm-hdbKlzM8.js → popconfirm-XB7pULHq.js} +2 -2
- package/dist/assets/{popconfirm-hdbKlzM8.js.map → popconfirm-XB7pULHq.js.map} +1 -1
- package/dist/assets/{projects-BQQMe3Sa.js → projects-DpKv9IY6.js} +2 -2
- package/dist/assets/{projects-BQQMe3Sa.js.map → projects-DpKv9IY6.js.map} +1 -1
- package/dist/assets/{request-DBcySI71.js → request-OsR-2ZDW.js} +2 -2
- package/dist/assets/{request-DBcySI71.js.map → request-OsR-2ZDW.js.map} +1 -1
- package/dist/assets/{settings-FOAFhNrB.js → settings-CTtlAnDi.js} +2 -2
- package/dist/assets/{settings-FOAFhNrB.js.map → settings-CTtlAnDi.js.map} +1 -1
- package/dist/assets/{settings-DRwbAfEP.js → settings-dgWrzHRY.js} +2 -2
- package/dist/assets/{settings-DRwbAfEP.js.map → settings-dgWrzHRY.js.map} +1 -1
- package/dist/assets/{skeleton-C7XdtHwK.js → skeleton-Cxf0Yj2M.js} +2 -2
- package/dist/assets/{skeleton-C7XdtHwK.js.map → skeleton-Cxf0Yj2M.js.map} +1 -1
- package/dist/assets/{tabs-QwRshmnh.js → tabs-DfQHMKH8.js} +2 -2
- package/dist/assets/{tabs-QwRshmnh.js.map → tabs-DfQHMKH8.js.map} +1 -1
- package/dist/assets/{tsMode-B8Haz2NH.js → tsMode-B2vhKML7.js} +2 -2
- package/dist/assets/{tsMode-B8Haz2NH.js.map → tsMode-B2vhKML7.js.map} +1 -1
- package/dist/index.html +6 -6
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popconfirm-hdbKlzM8.js","names":["useState","_extends","MemoChildren","_extends","CSSMotion","_extends","CSSMotion","_extends","useId","_extends","Portal","CloseOutlined","mergeToken","prepareComponentToken","Modal","useStyle","CloseOutlined","Dialog","Skeleton","prepareComponentToken","InfoCircleFilled","CheckCircleFilled","CloseCircleFilled","ExclamationCircleFilled","CancelBtn","OkBtn","Confirm","Modal","ConfirmDialogWrapper","ConfirmDialog","defaultLocale","ConfirmDialog","HookModal","DeleteOutlined","AntdIcon","DeleteOutlinedSvg","PurePanel","useStyle","OriginModal","PurePanel","ExclamationCircleFilled","defaultLocale","PopoverPurePanel","ExclamationCircleFilled"],"sources":["../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/_util/hooks/useMergedMask.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/_util/hooks/usePatchElement.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/_util/ActionButton.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/context.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/components/ConfirmCancelBtn.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/components/ConfirmOkBtn.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/context.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/util.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/Dialog/Content/MemoChildren.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/Dialog/Content/index.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/Dialog/Mask.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/Dialog/index.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/DialogWrap.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/index.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/watermark/context.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/components/NormalCancelBtn.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/components/NormalOkBtn.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/shared.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/style/index.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/Modal.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/style/confirm.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/ConfirmDialog.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/destroyFns.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/confirm.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/useModal/HookModal.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/useModal/index.js","../../node_modules/.pnpm/@ant-design+icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/DeleteOutlined.js","../../node_modules/.pnpm/@ant-design+icons@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@ant-design/icons/es/icons/DeleteOutlined.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/PurePanel.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/index.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/popconfirm/style/index.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/popconfirm/PurePanel.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/popconfirm/index.js"],"sourcesContent":["import { useMemo } from 'react';\nconst normalizeMaskConfig = mask => {\n if (mask && typeof mask === 'object') {\n return mask;\n }\n if (typeof mask === 'boolean') {\n return {\n enabled: mask,\n blur: mask\n };\n }\n return {};\n};\nexport const useMergedMask = (mask, contextMask, prefixCls) => {\n return useMemo(() => {\n const maskConfig = normalizeMaskConfig(mask);\n const contextMaskConfig = normalizeMaskConfig(contextMask);\n const mergedConfig = {\n ...contextMaskConfig,\n ...maskConfig\n };\n const className = mergedConfig.blur !== false ? `${prefixCls}-mask-blur` : undefined;\n return [mergedConfig.enabled !== false, {\n mask: className\n }];\n }, [mask, contextMask, prefixCls]);\n};","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nexport const usePatchElement = () => {\n const [elements, setElements] = React.useState([]);\n const patchElement = React.useCallback(element => {\n // append a new element to elements (and create a new ref)\n setElements(originElements => [].concat(_toConsumableArray(originElements), [element]));\n // return a function that removes the new element out of elements (and create a new ref)\n // it works a little like useEffect\n return () => {\n setElements(originElements => originElements.filter(ele => ele !== element));\n };\n }, []);\n return [elements, patchElement];\n};","\"use client\";\n\nimport * as React from 'react';\nimport useState from \"@rc-component/util/es/hooks/useState\";\nimport Button from '../button/Button';\nimport { convertLegacyProps } from '../button/buttonHelpers';\nconst isThenable = thing => {\n return typeof thing?.then === 'function';\n};\nconst ActionButton = props => {\n const {\n type,\n children,\n prefixCls,\n buttonProps,\n close,\n autoFocus,\n emitEvent,\n isSilent,\n quitOnNullishReturnValue,\n actionFn\n } = props;\n const clickedRef = React.useRef(false);\n const buttonRef = React.useRef(null);\n const [loading, setLoading] = useState(false);\n const onInternalClose = (...args) => {\n close?.(...args);\n };\n React.useEffect(() => {\n let timeoutId = null;\n if (autoFocus) {\n timeoutId = setTimeout(() => {\n buttonRef.current?.focus({\n preventScroll: true\n });\n });\n }\n return () => {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n };\n }, [autoFocus]);\n const handlePromiseOnOk = returnValueOfOnOk => {\n if (!isThenable(returnValueOfOnOk)) {\n return;\n }\n setLoading(true);\n returnValueOfOnOk.then((...args) => {\n setLoading(false, true);\n onInternalClose.apply(void 0, args);\n clickedRef.current = false;\n }, e => {\n // See: https://github.com/ant-design/ant-design/issues/6183\n setLoading(false, true);\n clickedRef.current = false;\n // Do not throw if is `await` mode\n if (isSilent?.()) {\n return;\n }\n return Promise.reject(e);\n });\n };\n const onClick = e => {\n if (clickedRef.current) {\n return;\n }\n clickedRef.current = true;\n if (!actionFn) {\n onInternalClose();\n return;\n }\n let returnValueOfOnOk;\n if (emitEvent) {\n returnValueOfOnOk = actionFn(e);\n if (quitOnNullishReturnValue && !isThenable(returnValueOfOnOk)) {\n clickedRef.current = false;\n onInternalClose(e);\n return;\n }\n } else if (actionFn.length) {\n returnValueOfOnOk = actionFn(close);\n // https://github.com/ant-design/ant-design/issues/23358\n clickedRef.current = false;\n } else {\n returnValueOfOnOk = actionFn();\n if (!isThenable(returnValueOfOnOk)) {\n onInternalClose();\n return;\n }\n }\n handlePromiseOnOk(returnValueOfOnOk);\n };\n return /*#__PURE__*/React.createElement(Button, {\n ...convertLegacyProps(type),\n onClick: onClick,\n loading: loading,\n prefixCls: prefixCls,\n ...buttonProps,\n ref: buttonRef\n }, children);\n};\nexport default ActionButton;","import React from 'react';\nexport const ModalContext = /*#__PURE__*/React.createContext({});\nexport const {\n Provider: ModalContextProvider\n} = ModalContext;","\"use client\";\n\nimport React, { useContext } from 'react';\nimport ActionButton from '../../_util/ActionButton';\nimport { ModalContext } from '../context';\nconst ConfirmCancelBtn = () => {\n const {\n autoFocusButton,\n cancelButtonProps,\n cancelTextLocale,\n isSilent,\n mergedOkCancel,\n rootPrefixCls,\n close,\n onCancel,\n onConfirm,\n onClose\n } = useContext(ModalContext);\n return mergedOkCancel ? (/*#__PURE__*/React.createElement(ActionButton, {\n isSilent: isSilent,\n actionFn: onCancel,\n close: (...args) => {\n close?.(...args);\n onConfirm?.(false);\n onClose?.();\n },\n autoFocus: autoFocusButton === 'cancel',\n buttonProps: cancelButtonProps,\n prefixCls: `${rootPrefixCls}-btn`\n }, cancelTextLocale)) : null;\n};\nexport default ConfirmCancelBtn;","\"use client\";\n\nimport React, { useContext } from 'react';\nimport ActionButton from '../../_util/ActionButton';\nimport { ModalContext } from '../context';\nconst ConfirmOkBtn = () => {\n const {\n autoFocusButton,\n close,\n isSilent,\n okButtonProps,\n rootPrefixCls,\n okTextLocale,\n okType,\n onConfirm,\n onOk,\n onClose\n } = useContext(ModalContext);\n return /*#__PURE__*/React.createElement(ActionButton, {\n isSilent: isSilent,\n type: okType || 'primary',\n actionFn: onOk,\n close: (...args) => {\n close?.(...args);\n onConfirm?.(true);\n onClose?.();\n },\n autoFocus: autoFocusButton === 'ok',\n buttonProps: okButtonProps,\n prefixCls: `${rootPrefixCls}-btn`\n }, okTextLocale);\n};\nexport default ConfirmOkBtn;","import * as React from 'react';\nexport const RefContext = /*#__PURE__*/React.createContext({});","// =============================== Motion ===============================\nexport function getMotionName(prefixCls, transitionName, animationName) {\n let motionName = transitionName;\n if (!motionName && animationName) {\n motionName = `${prefixCls}-${animationName}`;\n }\n return motionName;\n}\n\n// =============================== Offset ===============================\nfunction getScroll(w, top) {\n let ret = w[`page${top ? 'Y' : 'X'}Offset`];\n const method = `scroll${top ? 'Top' : 'Left'}`;\n if (typeof ret !== 'number') {\n const d = w.document;\n ret = d.documentElement[method];\n if (typeof ret !== 'number') {\n ret = d.body[method];\n }\n }\n return ret;\n}\nexport function offset(el) {\n const rect = el.getBoundingClientRect();\n const pos = {\n left: rect.left,\n top: rect.top\n };\n const doc = el.ownerDocument;\n const w = doc.defaultView || doc.parentWindow;\n pos.left += getScroll(w);\n pos.top += getScroll(w, true);\n return pos;\n}","import * as React from 'react';\nexport default /*#__PURE__*/React.memo(({\n children\n}) => children, (_, {\n shouldUpdate\n}) => !shouldUpdate);","function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport { clsx } from 'clsx';\nimport { useComposeRef } from \"@rc-component/util/es/ref\";\nimport React, { useMemo, useRef } from 'react';\nimport { RefContext } from \"../../context\";\nimport MemoChildren from \"./MemoChildren\";\nimport pickAttrs from \"@rc-component/util/es/pickAttrs\";\nconst sentinelStyle = {\n width: 0,\n height: 0,\n overflow: 'hidden',\n outline: 'none'\n};\nconst entityStyle = {\n outline: 'none'\n};\nconst Panel = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls,\n className,\n style,\n title,\n ariaId,\n footer,\n closable,\n closeIcon,\n onClose,\n children,\n bodyStyle,\n bodyProps,\n modalRender,\n onMouseDown,\n onMouseUp,\n holderRef,\n visible,\n forceRender,\n width,\n height,\n classNames: modalClassNames,\n styles: modalStyles\n } = props;\n\n // ================================= Refs =================================\n const {\n panel: panelRef\n } = React.useContext(RefContext);\n const mergedRef = useComposeRef(holderRef, panelRef);\n const sentinelStartRef = useRef(null);\n const sentinelEndRef = useRef(null);\n React.useImperativeHandle(ref, () => ({\n focus: () => {\n sentinelStartRef.current?.focus({\n preventScroll: true\n });\n },\n changeActive: next => {\n const {\n activeElement\n } = document;\n if (next && activeElement === sentinelEndRef.current) {\n sentinelStartRef.current.focus({\n preventScroll: true\n });\n } else if (!next && activeElement === sentinelStartRef.current) {\n sentinelEndRef.current.focus({\n preventScroll: true\n });\n }\n }\n }));\n\n // ================================ Style =================================\n const contentStyle = {};\n if (width !== undefined) {\n contentStyle.width = width;\n }\n if (height !== undefined) {\n contentStyle.height = height;\n }\n // ================================ Render ================================\n const footerNode = footer ? /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(`${prefixCls}-footer`, modalClassNames?.footer),\n style: {\n ...modalStyles?.footer\n }\n }, footer) : null;\n const headerNode = title ? /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(`${prefixCls}-header`, modalClassNames?.header),\n style: {\n ...modalStyles?.header\n }\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(`${prefixCls}-title`, modalClassNames?.title),\n id: ariaId,\n style: {\n ...modalStyles?.title\n }\n }, title)) : null;\n const closableObj = useMemo(() => {\n if (typeof closable === 'object' && closable !== null) {\n return closable;\n }\n if (closable) {\n return {\n closeIcon: closeIcon ?? /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-close-x`\n })\n };\n }\n return {};\n }, [closable, closeIcon, prefixCls]);\n const ariaProps = pickAttrs(closableObj, true);\n const closeBtnIsDisabled = typeof closable === 'object' && closable.disabled;\n const closerNode = closable ? /*#__PURE__*/React.createElement(\"button\", _extends({\n type: \"button\",\n onClick: onClose,\n \"aria-label\": \"Close\"\n }, ariaProps, {\n className: `${prefixCls}-close`,\n disabled: closeBtnIsDisabled\n }), closableObj.closeIcon) : null;\n const content = /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(`${prefixCls}-container`, modalClassNames?.container),\n style: modalStyles?.container\n }, closerNode, headerNode, /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(`${prefixCls}-body`, modalClassNames?.body),\n style: {\n ...bodyStyle,\n ...modalStyles?.body\n }\n }, bodyProps), children), footerNode);\n return /*#__PURE__*/React.createElement(\"div\", {\n key: \"dialog-element\",\n role: \"dialog\",\n \"aria-labelledby\": title ? ariaId : null,\n \"aria-modal\": \"true\",\n ref: mergedRef,\n style: {\n ...style,\n ...contentStyle\n },\n className: clsx(prefixCls, className),\n onMouseDown: onMouseDown,\n onMouseUp: onMouseUp\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: sentinelStartRef,\n tabIndex: 0,\n style: entityStyle\n }, /*#__PURE__*/React.createElement(MemoChildren, {\n shouldUpdate: visible || forceRender\n }, modalRender ? modalRender(content) : content)), /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelEndRef,\n style: sentinelStyle\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Panel.displayName = 'Panel';\n}\nexport default Panel;","function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport * as React from 'react';\nimport { useRef } from 'react';\nimport { clsx } from 'clsx';\nimport CSSMotion from '@rc-component/motion';\nimport { offset } from \"../../util\";\nimport Panel from \"./Panel\";\nconst Content = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls,\n title,\n style,\n className,\n visible,\n forceRender,\n destroyOnHidden,\n motionName,\n ariaId,\n onVisibleChanged,\n mousePosition\n } = props;\n const dialogRef = useRef(null);\n const panelRef = useRef(null);\n\n // ============================== Refs ==============================\n React.useImperativeHandle(ref, () => ({\n ...panelRef.current,\n inMotion: dialogRef.current.inMotion,\n enableMotion: dialogRef.current.enableMotion\n }));\n\n // ============================= Style ==============================\n const [transformOrigin, setTransformOrigin] = React.useState();\n const contentStyle = {};\n if (transformOrigin) {\n contentStyle.transformOrigin = transformOrigin;\n }\n function onPrepare() {\n const elementOffset = offset(dialogRef.current.nativeElement);\n setTransformOrigin(mousePosition && (mousePosition.x || mousePosition.y) ? `${mousePosition.x - elementOffset.left}px ${mousePosition.y - elementOffset.top}px` : '');\n }\n\n // ============================= Render =============================\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: visible,\n onVisibleChanged: onVisibleChanged,\n onAppearPrepare: onPrepare,\n onEnterPrepare: onPrepare,\n forceRender: forceRender,\n motionName: motionName,\n removeOnLeave: destroyOnHidden,\n ref: dialogRef\n }, ({\n className: motionClassName,\n style: motionStyle\n }, motionRef) => /*#__PURE__*/React.createElement(Panel, _extends({}, props, {\n ref: panelRef,\n title: title,\n ariaId: ariaId,\n prefixCls: prefixCls,\n holderRef: motionRef,\n style: {\n ...motionStyle,\n ...style,\n ...contentStyle\n },\n className: clsx(className, motionClassName)\n })));\n});\nif (process.env.NODE_ENV !== 'production') {\n Content.displayName = 'Content';\n}\nexport default Content;","function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport * as React from 'react';\nimport { clsx } from 'clsx';\nimport CSSMotion from '@rc-component/motion';\nconst Mask = props => {\n const {\n prefixCls,\n style,\n visible,\n maskProps,\n motionName,\n className\n } = props;\n return /*#__PURE__*/React.createElement(CSSMotion, {\n key: \"mask\",\n visible: visible,\n motionName: motionName,\n leavedClassName: `${prefixCls}-mask-hidden`\n }, ({\n className: motionClassName,\n style: motionStyle\n }, ref) => /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: ref,\n style: {\n ...motionStyle,\n ...style\n },\n className: clsx(`${prefixCls}-mask`, motionClassName, className)\n }, maskProps)));\n};\nexport default Mask;","function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport { clsx } from 'clsx';\nimport contains from \"@rc-component/util/es/Dom/contains\";\nimport useId from \"@rc-component/util/es/hooks/useId\";\nimport KeyCode from \"@rc-component/util/es/KeyCode\";\nimport pickAttrs from \"@rc-component/util/es/pickAttrs\";\nimport * as React from 'react';\nimport { useEffect, useRef } from 'react';\nimport { getMotionName } from \"../util\";\nimport Content from \"./Content\";\nimport Mask from \"./Mask\";\nimport { warning } from \"@rc-component/util/es/warning\";\nconst Dialog = props => {\n const {\n prefixCls = 'rc-dialog',\n zIndex,\n visible = false,\n keyboard = true,\n focusTriggerAfterClose = true,\n // scrollLocker,\n // Wrapper\n wrapStyle,\n wrapClassName,\n wrapProps,\n onClose,\n afterOpenChange,\n afterClose,\n // Dialog\n transitionName,\n animation,\n closable = true,\n // Mask\n mask = true,\n maskTransitionName,\n maskAnimation,\n maskClosable = true,\n maskStyle,\n maskProps,\n rootClassName,\n rootStyle,\n classNames: modalClassNames,\n styles: modalStyles\n } = props;\n if (process.env.NODE_ENV !== 'production') {\n ['wrapStyle', 'bodyStyle', 'maskStyle'].forEach(prop => {\n // (prop in props) && console.error(`Warning: ${prop} is deprecated, please use styles instead.`)\n warning(!(prop in props), `${prop} is deprecated, please use styles instead.`);\n });\n if ('wrapClassName' in props) {\n warning(false, `wrapClassName is deprecated, please use classNames instead.`);\n }\n }\n const lastOutSideActiveElementRef = useRef(null);\n const wrapperRef = useRef(null);\n const contentRef = useRef(null);\n const [animatedVisible, setAnimatedVisible] = React.useState(visible);\n\n // ========================== Init ==========================\n const ariaId = useId();\n function saveLastOutSideActiveElementRef() {\n if (!contains(wrapperRef.current, document.activeElement)) {\n lastOutSideActiveElementRef.current = document.activeElement;\n }\n }\n function focusDialogContent() {\n if (!contains(wrapperRef.current, document.activeElement)) {\n contentRef.current?.focus();\n }\n }\n\n // ========================= Events =========================\n // Close action will trigger by:\n // 1. When hide motion end\n // 2. Controlled `open` to `false` immediately after set to `true` which will not trigger motion\n function doClose() {\n // Clean up scroll bar & focus back\n setAnimatedVisible(false);\n if (mask && lastOutSideActiveElementRef.current && focusTriggerAfterClose) {\n try {\n lastOutSideActiveElementRef.current.focus({\n preventScroll: true\n });\n } catch (e) {\n // Do nothing\n }\n lastOutSideActiveElementRef.current = null;\n }\n\n // Trigger afterClose only when change visible from true to false\n if (animatedVisible) {\n afterClose?.();\n }\n }\n function onDialogVisibleChanged(newVisible) {\n // Try to focus\n if (newVisible) {\n focusDialogContent();\n } else {\n doClose();\n }\n afterOpenChange?.(newVisible);\n }\n function onInternalClose(e) {\n onClose?.(e);\n }\n\n // >>> Content\n const contentClickRef = useRef(false);\n const contentTimeoutRef = useRef(null);\n\n // We need record content click incase content popup out of dialog\n const onContentMouseDown = () => {\n clearTimeout(contentTimeoutRef.current);\n contentClickRef.current = true;\n };\n const onContentMouseUp = () => {\n contentTimeoutRef.current = setTimeout(() => {\n contentClickRef.current = false;\n });\n };\n\n // >>> Wrapper\n // Close only when element not on dialog\n let onWrapperClick = null;\n if (maskClosable) {\n onWrapperClick = e => {\n if (contentClickRef.current) {\n contentClickRef.current = false;\n } else if (wrapperRef.current === e.target) {\n onInternalClose(e);\n }\n };\n }\n function onWrapperKeyDown(e) {\n if (keyboard && e.keyCode === KeyCode.ESC) {\n e.stopPropagation();\n onInternalClose(e);\n return;\n }\n\n // keep focus inside dialog\n if (visible && e.keyCode === KeyCode.TAB) {\n contentRef.current.changeActive(!e.shiftKey);\n }\n }\n\n // ========================= Effect =========================\n useEffect(() => {\n if (visible) {\n setAnimatedVisible(true);\n saveLastOutSideActiveElementRef();\n } else if (animatedVisible && contentRef.current.enableMotion() && !contentRef.current.inMotion()) {\n doClose();\n }\n }, [visible]);\n\n // Remove direct should also check the scroll bar update\n useEffect(() => () => {\n clearTimeout(contentTimeoutRef.current);\n }, []);\n const mergedStyle = {\n zIndex,\n ...wrapStyle,\n ...modalStyles?.wrapper,\n display: !animatedVisible ? 'none' : null\n };\n\n // ========================= Render =========================\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(`${prefixCls}-root`, rootClassName),\n style: rootStyle\n }, pickAttrs(props, {\n data: true\n })), /*#__PURE__*/React.createElement(Mask, {\n prefixCls: prefixCls,\n visible: mask && visible,\n motionName: getMotionName(prefixCls, maskTransitionName, maskAnimation),\n style: {\n zIndex,\n ...maskStyle,\n ...modalStyles?.mask\n },\n maskProps: maskProps,\n className: modalClassNames?.mask\n }), /*#__PURE__*/React.createElement(\"div\", _extends({\n tabIndex: -1,\n onKeyDown: onWrapperKeyDown,\n className: clsx(`${prefixCls}-wrap`, wrapClassName, modalClassNames?.wrapper),\n ref: wrapperRef,\n onClick: onWrapperClick,\n style: mergedStyle\n }, wrapProps), /*#__PURE__*/React.createElement(Content, _extends({}, props, {\n onMouseDown: onContentMouseDown,\n onMouseUp: onContentMouseUp,\n ref: contentRef,\n closable: closable,\n ariaId: ariaId,\n prefixCls: prefixCls,\n visible: visible && animatedVisible,\n onClose: onInternalClose,\n onVisibleChanged: onDialogVisibleChanged,\n motionName: getMotionName(prefixCls, transitionName, animation)\n }))));\n};\nexport default Dialog;","function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport Portal from '@rc-component/portal';\nimport * as React from 'react';\nimport { RefContext } from \"./context\";\nimport Dialog from \"./Dialog\";\n// fix issue #10656\n/*\n * getContainer remarks\n * Custom container should not be return, because in the Portal component, it will remove the\n * return container element here, if the custom container is the only child of it's component,\n * like issue #10656, It will has a conflict with removeChild method in react-dom.\n * So here should add a child (div element) to custom container.\n * */\n\nconst DialogWrap = props => {\n const {\n visible,\n getContainer,\n forceRender,\n destroyOnHidden = false,\n afterClose,\n closable,\n panelRef\n } = props;\n const [animatedVisible, setAnimatedVisible] = React.useState(visible);\n const refContext = React.useMemo(() => ({\n panel: panelRef\n }), [panelRef]);\n React.useEffect(() => {\n if (visible) {\n setAnimatedVisible(true);\n }\n }, [visible]);\n\n // Destroy on close will remove wrapped div\n if (!forceRender && destroyOnHidden && !animatedVisible) {\n return null;\n }\n return /*#__PURE__*/React.createElement(RefContext.Provider, {\n value: refContext\n }, /*#__PURE__*/React.createElement(Portal, {\n open: visible || forceRender || animatedVisible,\n autoDestroy: false,\n getContainer: getContainer,\n autoLock: visible || animatedVisible\n }, /*#__PURE__*/React.createElement(Dialog, _extends({}, props, {\n destroyOnHidden: destroyOnHidden,\n afterClose: () => {\n const closableObj = closable && typeof closable === 'object' ? closable : {};\n const {\n afterClose: closableAfterClose\n } = closableObj || {};\n closableAfterClose?.();\n afterClose?.();\n setAnimatedVisible(false);\n }\n }))));\n};\nif (process.env.NODE_ENV !== 'production') {\n DialogWrap.displayName = 'Dialog';\n}\nexport default DialogWrap;","import DialogWrap from \"./DialogWrap\";\nimport Panel from \"./Dialog/Content/Panel\";\nexport { Panel };\nexport default DialogWrap;","import * as React from 'react';\nimport { useEvent } from '@rc-component/util';\nfunction voidFunc() {}\nconst WatermarkContext = /*#__PURE__*/React.createContext({\n add: voidFunc,\n remove: voidFunc\n});\nexport function usePanelRef(panelSelector) {\n const watermark = React.useContext(WatermarkContext);\n const panelEleRef = React.useRef(null);\n const panelRef = useEvent(ele => {\n if (ele) {\n const innerContentEle = panelSelector ? ele.querySelector(panelSelector) : ele;\n if (innerContentEle) {\n watermark.add(innerContentEle);\n panelEleRef.current = innerContentEle;\n }\n } else {\n watermark.remove(panelEleRef.current);\n }\n });\n return panelRef;\n}\nexport default WatermarkContext;","\"use client\";\n\nimport React, { useContext } from 'react';\nimport Button from '../../button/Button';\nimport { ModalContext } from '../context';\nconst NormalCancelBtn = () => {\n const {\n cancelButtonProps,\n cancelTextLocale,\n onCancel\n } = useContext(ModalContext);\n return /*#__PURE__*/React.createElement(Button, {\n onClick: onCancel,\n ...cancelButtonProps\n }, cancelTextLocale);\n};\nexport default NormalCancelBtn;","\"use client\";\n\nimport React, { useContext } from 'react';\nimport Button from '../../button/Button';\nimport { convertLegacyProps } from '../../button/buttonHelpers';\nimport { ModalContext } from '../context';\nconst NormalOkBtn = () => {\n const {\n confirmLoading,\n okButtonProps,\n okType,\n okTextLocale,\n onOk\n } = useContext(ModalContext);\n return /*#__PURE__*/React.createElement(Button, {\n ...convertLegacyProps(okType),\n loading: confirmLoading,\n onClick: onOk,\n ...okButtonProps\n }, okTextLocale);\n};\nexport default NormalOkBtn;","\"use client\";\n\nimport React from 'react';\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport { DisabledContextProvider } from '../config-provider/DisabledContext';\nimport { useLocale } from '../locale';\nimport NormalCancelBtn from './components/NormalCancelBtn';\nimport NormalOkBtn from './components/NormalOkBtn';\nimport { ModalContextProvider } from './context';\nimport { getConfirmLocale } from './locale';\nexport function renderCloseIcon(prefixCls, closeIcon) {\n return /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-close-x`\n }, closeIcon || /*#__PURE__*/React.createElement(CloseOutlined, {\n className: `${prefixCls}-close-icon`\n }));\n}\nexport const Footer = props => {\n const {\n okText,\n okType = 'primary',\n cancelText,\n confirmLoading,\n onOk,\n onCancel,\n okButtonProps,\n cancelButtonProps,\n footer\n } = props;\n const [locale] = useLocale('Modal', getConfirmLocale());\n // ================== Locale Text ==================\n const okTextLocale = okText || locale?.okText;\n const cancelTextLocale = cancelText || locale?.cancelText;\n const memoizedValue = React.useMemo(() => {\n return {\n confirmLoading,\n okButtonProps,\n cancelButtonProps,\n okTextLocale,\n cancelTextLocale,\n okType,\n onOk,\n onCancel\n };\n }, [confirmLoading, okButtonProps, cancelButtonProps, okTextLocale, cancelTextLocale, okType, onOk, onCancel]);\n let footerNode;\n if (typeof footer === 'function' || typeof footer === 'undefined') {\n footerNode = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(NormalCancelBtn, null), /*#__PURE__*/React.createElement(NormalOkBtn, null));\n if (typeof footer === 'function') {\n footerNode = footer(footerNode, {\n OkBtn: NormalOkBtn,\n CancelBtn: NormalCancelBtn\n });\n }\n footerNode = /*#__PURE__*/React.createElement(ModalContextProvider, {\n value: memoizedValue\n }, footerNode);\n } else {\n footerNode = footer;\n }\n return /*#__PURE__*/React.createElement(DisabledContextProvider, {\n disabled: false\n }, footerNode);\n};","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport { unit } from '@ant-design/cssinjs';\nimport { getMediaSize } from '../../grid/style';\nimport { genFocusStyle, resetComponent } from '../../style';\nimport { initFadeMotion, initZoomMotion } from '../../style/motion';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nfunction box(position) {\n return {\n position,\n inset: 0\n };\n}\nexport const genModalMaskStyle = token => {\n const {\n componentCls,\n antCls\n } = token;\n return [{\n [`${componentCls}-root`]: {\n [`${componentCls}${antCls}-zoom-enter, ${componentCls}${antCls}-zoom-appear`]: {\n // reset scale avoid mousePosition bug\n transform: 'none',\n opacity: 0,\n animationDuration: token.motionDurationSlow,\n // https://github.com/ant-design/ant-design/issues/11777\n userSelect: 'none'\n },\n // https://github.com/ant-design/ant-design/issues/37329\n // https://github.com/ant-design/ant-design/issues/40272\n [`${componentCls}${antCls}-zoom-leave ${componentCls}-container`]: {\n pointerEvents: 'none'\n },\n [`${componentCls}-mask`]: {\n ...box('fixed'),\n zIndex: token.zIndexPopupBase,\n height: '100%',\n backgroundColor: token.colorBgMask,\n pointerEvents: 'none',\n [`&${componentCls}-mask-blur`]: {\n backdropFilter: 'blur(4px)'\n },\n [`${componentCls}-hidden`]: {\n display: 'none'\n }\n },\n [`${componentCls}-wrap`]: {\n ...box('fixed'),\n zIndex: token.zIndexPopupBase,\n overflow: 'auto',\n outline: 0,\n WebkitOverflowScrolling: 'touch'\n }\n }\n }, {\n [`${componentCls}-root`]: initFadeMotion(token)\n }];\n};\nconst genModalStyle = token => {\n const {\n componentCls\n } = token;\n return [\n // ======================== Root =========================\n {\n [`${componentCls}-root`]: {\n [`${componentCls}-wrap-rtl`]: {\n direction: 'rtl'\n },\n [`${componentCls}-centered`]: {\n textAlign: 'center',\n '&::before': {\n display: 'inline-block',\n width: 0,\n height: '100%',\n verticalAlign: 'middle',\n content: '\"\"'\n },\n [componentCls]: {\n top: 0,\n display: 'inline-block',\n paddingBottom: 0,\n textAlign: 'start',\n verticalAlign: 'middle'\n }\n },\n [`@media (max-width: ${token.screenSMMax}px)`]: {\n [componentCls]: {\n maxWidth: 'calc(100vw - 16px)',\n margin: `${unit(token.marginXS)} auto`\n },\n [`${componentCls}-centered`]: {\n [componentCls]: {\n flex: 1\n }\n }\n }\n }\n },\n // ======================== Modal ========================\n {\n [componentCls]: {\n ...resetComponent(token),\n pointerEvents: 'none',\n position: 'relative',\n top: 100,\n width: 'auto',\n maxWidth: `calc(100vw - ${unit(token.calc(token.margin).mul(2).equal())})`,\n margin: '0 auto',\n paddingBottom: token.paddingLG,\n [`${componentCls}-title`]: {\n margin: 0,\n color: token.titleColor,\n fontWeight: token.fontWeightStrong,\n fontSize: token.titleFontSize,\n lineHeight: token.titleLineHeight,\n wordWrap: 'break-word'\n },\n [`${componentCls}-container`]: {\n position: 'relative',\n backgroundColor: token.contentBg,\n backgroundClip: 'padding-box',\n border: 0,\n borderRadius: token.borderRadiusLG,\n boxShadow: token.boxShadow,\n pointerEvents: 'auto',\n padding: token.contentPadding\n },\n [`${componentCls}-close`]: {\n position: 'absolute',\n top: token.calc(token.modalHeaderHeight).sub(token.modalCloseBtnSize).div(2).equal(),\n insetInlineEnd: token.calc(token.modalHeaderHeight).sub(token.modalCloseBtnSize).div(2).equal(),\n zIndex: token.calc(token.zIndexPopupBase).add(10).equal(),\n padding: 0,\n color: token.modalCloseIconColor,\n fontWeight: token.fontWeightStrong,\n lineHeight: 1,\n textDecoration: 'none',\n background: 'transparent',\n borderRadius: token.borderRadiusSM,\n width: token.modalCloseBtnSize,\n height: token.modalCloseBtnSize,\n border: 0,\n outline: 0,\n cursor: 'pointer',\n transition: `color ${token.motionDurationMid}, background-color ${token.motionDurationMid}`,\n '&-x': {\n display: 'flex',\n fontSize: token.fontSizeLG,\n fontStyle: 'normal',\n lineHeight: unit(token.modalCloseBtnSize),\n justifyContent: 'center',\n textTransform: 'none',\n textRendering: 'auto'\n },\n '&:disabled': {\n pointerEvents: 'none'\n },\n '&:hover': {\n color: token.modalCloseIconHoverColor,\n backgroundColor: token.colorBgTextHover,\n textDecoration: 'none'\n },\n '&:active': {\n backgroundColor: token.colorBgTextActive\n },\n ...genFocusStyle(token)\n },\n [`${componentCls}-header`]: {\n color: token.colorText,\n background: token.headerBg,\n borderRadius: `${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)} 0 0`,\n marginBottom: token.headerMarginBottom,\n padding: token.headerPadding,\n borderBottom: token.headerBorderBottom\n },\n [`${componentCls}-body`]: {\n fontSize: token.fontSize,\n lineHeight: token.lineHeight,\n wordWrap: 'break-word',\n padding: token.bodyPadding,\n [`${componentCls}-body-skeleton`]: {\n width: '100%',\n height: '100%',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n margin: `${unit(token.margin)} auto`\n }\n },\n [`${componentCls}-footer`]: {\n textAlign: 'end',\n background: token.footerBg,\n marginTop: token.footerMarginTop,\n padding: token.footerPadding,\n borderTop: token.footerBorderTop,\n borderRadius: token.footerBorderRadius,\n [`> ${token.antCls}-btn + ${token.antCls}-btn`]: {\n marginInlineStart: token.marginXS\n }\n },\n [`${componentCls}-open`]: {\n overflow: 'hidden'\n }\n }\n },\n // ======================== Pure =========================\n {\n [`${componentCls}-pure-panel`]: {\n top: 'auto',\n padding: 0,\n display: 'flex',\n flexDirection: 'column',\n [`${componentCls}-container,\n ${componentCls}-body,\n ${componentCls}-confirm-body-wrapper`]: {\n display: 'flex',\n flexDirection: 'column',\n flex: 'auto'\n },\n [`${componentCls}-confirm-body`]: {\n marginBottom: 'auto'\n }\n }\n }];\n};\nconst genRTLStyle = token => {\n const {\n componentCls\n } = token;\n return {\n [`${componentCls}-root`]: {\n [`${componentCls}-wrap-rtl`]: {\n direction: 'rtl',\n [`${componentCls}-confirm-body`]: {\n direction: 'rtl'\n }\n }\n }\n };\n};\nconst genResponsiveWidthStyle = token => {\n const {\n componentCls\n } = token;\n const oriGridMediaSizesMap = getMediaSize(token);\n const gridMediaSizesMap = {\n ...oriGridMediaSizesMap\n };\n delete gridMediaSizesMap.xs;\n const cssVarPrefix = `--${componentCls.replace('.', '')}-`;\n const responsiveStyles = Object.keys(gridMediaSizesMap).map(key => ({\n [`@media (min-width: ${unit(gridMediaSizesMap[key])})`]: {\n width: `var(${cssVarPrefix}${key}-width)`\n }\n }));\n return {\n [`${componentCls}-root`]: {\n [componentCls]: [].concat(_toConsumableArray(Object.keys(oriGridMediaSizesMap).map((currentKey, index) => {\n const previousKey = Object.keys(oriGridMediaSizesMap)[index - 1];\n return previousKey ? {\n [`${cssVarPrefix}${currentKey}-width`]: `var(${cssVarPrefix}${previousKey}-width)`\n } : null;\n })), [{\n width: `var(${cssVarPrefix}xs-width)`\n }], _toConsumableArray(responsiveStyles))\n }\n };\n};\n// ============================== Export ==============================\nexport const prepareToken = token => {\n const headerPaddingVertical = token.padding;\n const headerFontSize = token.fontSizeHeading5;\n const headerLineHeight = token.lineHeightHeading5;\n const modalToken = mergeToken(token, {\n modalHeaderHeight: token.calc(token.calc(headerLineHeight).mul(headerFontSize).equal()).add(token.calc(headerPaddingVertical).mul(2).equal()).equal(),\n modalFooterBorderColorSplit: token.colorSplit,\n modalFooterBorderStyle: token.lineType,\n modalFooterBorderWidth: token.lineWidth,\n modalCloseIconColor: token.colorIcon,\n modalCloseIconHoverColor: token.colorIconHover,\n modalCloseBtnSize: token.controlHeight,\n modalConfirmIconSize: token.fontHeight,\n modalTitleHeight: token.calc(token.titleFontSize).mul(token.titleLineHeight).equal()\n });\n return modalToken;\n};\nexport const prepareComponentToken = token => ({\n footerBg: 'transparent',\n headerBg: 'transparent',\n titleLineHeight: token.lineHeightHeading5,\n titleFontSize: token.fontSizeHeading5,\n contentBg: token.colorBgElevated,\n titleColor: token.colorTextHeading,\n // internal\n contentPadding: token.wireframe ? 0 : `${unit(token.paddingMD)} ${unit(token.paddingContentHorizontalLG)}`,\n headerPadding: token.wireframe ? `${unit(token.padding)} ${unit(token.paddingLG)}` : 0,\n headerBorderBottom: token.wireframe ? `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}` : 'none',\n headerMarginBottom: token.wireframe ? 0 : token.marginXS,\n bodyPadding: token.wireframe ? token.paddingLG : 0,\n footerPadding: token.wireframe ? `${unit(token.paddingXS)} ${unit(token.padding)}` : 0,\n footerBorderTop: token.wireframe ? `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}` : 'none',\n footerBorderRadius: token.wireframe ? `0 0 ${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)}` : 0,\n footerMarginTop: token.wireframe ? 0 : token.marginSM,\n confirmBodyPadding: token.wireframe ? `${unit(token.padding * 2)} ${unit(token.padding * 2)} ${unit(token.paddingLG)}` : 0,\n confirmIconMarginInlineEnd: token.wireframe ? token.margin : token.marginSM,\n confirmBtnsMarginTop: token.wireframe ? token.marginLG : token.marginSM,\n mask: true\n});\nexport default genStyleHooks('Modal', token => {\n const modalToken = prepareToken(token);\n return [genModalStyle(modalToken), genRTLStyle(modalToken), genModalMaskStyle(modalToken), initZoomMotion(modalToken, 'zoom'), genResponsiveWidthStyle(modalToken)];\n}, prepareComponentToken, {\n unitless: {\n titleLineHeight: true\n }\n});","\"use client\";\n\nimport * as React from 'react';\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport Dialog from '@rc-component/dialog';\nimport { composeRef } from \"@rc-component/util/es/ref\";\nimport { clsx } from 'clsx';\nimport ContextIsolator from '../_util/ContextIsolator';\nimport { pickClosable, useClosable, useMergedMask, useMergeSemantic, useZIndex } from '../_util/hooks';\nimport { getTransitionName } from '../_util/motion';\nimport { canUseDocElement } from '../_util/styleChecker';\nimport { devUseWarning } from '../_util/warning';\nimport zIndexContext from '../_util/zindexContext';\nimport { ConfigContext } from '../config-provider';\nimport { useComponentConfig } from '../config-provider/context';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport Skeleton from '../skeleton';\nimport { usePanelRef } from '../watermark/context';\nimport { Footer, renderCloseIcon } from './shared';\nimport useStyle from './style';\nlet mousePosition;\n// ref: https://github.com/ant-design/ant-design/issues/15795\nconst getClickPosition = e => {\n mousePosition = {\n x: e.pageX,\n y: e.pageY\n };\n // 100ms 内发生过点击事件,则从点击位置动画展示\n // 否则直接 zoom 展示\n // 这样可以兼容非点击方式展开\n setTimeout(() => {\n mousePosition = null;\n }, 100);\n};\n// 只有点击事件支持从鼠标位置动画展开\nif (canUseDocElement()) {\n document.documentElement.addEventListener('click', getClickPosition, true);\n}\nconst Modal = props => {\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n open,\n wrapClassName,\n centered,\n getContainer,\n focusTriggerAfterClose = true,\n style,\n width = 520,\n footer,\n classNames,\n styles,\n children,\n loading,\n confirmLoading,\n zIndex: customizeZIndex,\n mousePosition: customizeMousePosition,\n onOk,\n onCancel,\n okButtonProps,\n cancelButtonProps,\n destroyOnHidden,\n destroyOnClose,\n panelRef = null,\n closable,\n mask: modalMask,\n modalRender,\n ...restProps\n } = props;\n const {\n getPopupContainer: getContextPopupContainer,\n getPrefixCls,\n direction,\n className: contextClassName,\n style: contextStyle,\n classNames: contextClassNames,\n styles: contextStyles,\n centered: contextCentered,\n cancelButtonProps: contextCancelButtonProps,\n okButtonProps: contextOkButtonProps,\n mask: contextMask\n } = useComponentConfig('modal');\n const {\n modal: modalContext\n } = React.useContext(ConfigContext);\n const [closableAfterclose, onClose] = React.useMemo(() => {\n if (typeof closable === 'boolean') {\n return [undefined, undefined];\n }\n return [closable?.afterClose, closable?.onClose];\n }, [closable]);\n const prefixCls = getPrefixCls('modal', customizePrefixCls);\n const rootPrefixCls = getPrefixCls();\n const [mergedMask, maskBlurClassName] = useMergedMask(modalMask, contextMask, prefixCls);\n const handleCancel = e => {\n if (confirmLoading) {\n return;\n }\n onCancel?.(e);\n onClose?.();\n };\n const handleOk = e => {\n onOk?.(e);\n onClose?.();\n };\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Modal');\n [['bodyStyle', 'styles.body'], ['maskStyle', 'styles.mask'], ['destroyOnClose', 'destroyOnHidden']].forEach(([deprecatedName, newName]) => {\n warning.deprecated(!(deprecatedName in props), deprecatedName, newName);\n });\n }\n // Style\n const rootCls = useCSSVarCls(prefixCls);\n const [hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const wrapClassNameExtended = clsx(wrapClassName, {\n [`${prefixCls}-centered`]: centered ?? contextCentered,\n [`${prefixCls}-wrap-rtl`]: direction === 'rtl'\n });\n const dialogFooter = footer !== null && !loading ? (/*#__PURE__*/React.createElement(Footer, {\n ...props,\n okButtonProps: {\n ...contextOkButtonProps,\n ...okButtonProps\n },\n onOk: handleOk,\n cancelButtonProps: {\n ...contextCancelButtonProps,\n ...cancelButtonProps\n },\n onCancel: handleCancel\n })) : null;\n const [rawClosable, mergedCloseIcon, closeBtnIsDisabled, ariaProps] = useClosable(pickClosable(props), pickClosable(modalContext), {\n closable: true,\n closeIcon: /*#__PURE__*/React.createElement(CloseOutlined, {\n className: `${prefixCls}-close-icon`\n }),\n closeIconRender: icon => renderCloseIcon(prefixCls, icon)\n });\n const mergedClosable = rawClosable ? {\n disabled: closeBtnIsDisabled,\n closeIcon: mergedCloseIcon,\n afterClose: closableAfterclose,\n ...ariaProps\n } : false;\n // ============================ modalRender ============================\n const mergedModalRender = modalRender ? node => /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-render`\n }, modalRender(node)) : undefined;\n // ============================ Refs ============================\n // Select `ant-modal-container` by `panelRef`\n const panelClassName = `.${prefixCls}-${modalRender ? 'render' : 'container'}`;\n const innerPanelRef = usePanelRef(panelClassName);\n const mergedPanelRef = composeRef(panelRef, innerPanelRef);\n // ============================ zIndex ============================\n const [zIndex, contextZIndex] = useZIndex('Modal', customizeZIndex);\n const mergedProps = {\n ...props,\n width,\n panelRef,\n focusTriggerAfterClose,\n mask: mergedMask,\n zIndex\n };\n const [mergedClassNames, mergedStyles] = useMergeSemantic([contextClassNames, classNames, maskBlurClassName], [contextStyles, styles], {\n props: mergedProps\n });\n // =========================== Width ============================\n const [numWidth, responsiveWidth] = React.useMemo(() => {\n if (width && typeof width === 'object') {\n return [undefined, width];\n }\n return [width, undefined];\n }, [width]);\n const responsiveWidthVars = React.useMemo(() => {\n const vars = {};\n if (responsiveWidth) {\n Object.keys(responsiveWidth).forEach(breakpoint => {\n const breakpointWidth = responsiveWidth[breakpoint];\n if (breakpointWidth !== undefined) {\n vars[`--${prefixCls}-${breakpoint}-width`] = typeof breakpointWidth === 'number' ? `${breakpointWidth}px` : breakpointWidth;\n }\n });\n }\n return vars;\n }, [prefixCls, responsiveWidth]);\n // =========================== Render ===========================\n return /*#__PURE__*/React.createElement(ContextIsolator, {\n form: true,\n space: true\n }, /*#__PURE__*/React.createElement(zIndexContext.Provider, {\n value: contextZIndex\n }, /*#__PURE__*/React.createElement(Dialog, {\n width: numWidth,\n ...restProps,\n zIndex: zIndex,\n getContainer: getContainer === undefined ? getContextPopupContainer : getContainer,\n prefixCls: prefixCls,\n rootClassName: clsx(hashId, rootClassName, cssVarCls, rootCls, mergedClassNames.root),\n rootStyle: mergedStyles.root,\n footer: dialogFooter,\n visible: open,\n mousePosition: customizeMousePosition ?? mousePosition,\n onClose: handleCancel,\n closable: mergedClosable,\n closeIcon: mergedCloseIcon,\n focusTriggerAfterClose: focusTriggerAfterClose,\n transitionName: getTransitionName(rootPrefixCls, 'zoom', props.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls, 'fade', props.maskTransitionName),\n mask: mergedMask,\n className: clsx(hashId, className, contextClassName),\n style: {\n ...contextStyle,\n ...style,\n ...responsiveWidthVars\n },\n classNames: {\n ...mergedClassNames,\n wrapper: clsx(mergedClassNames.wrapper, wrapClassNameExtended)\n },\n styles: mergedStyles,\n panelRef: mergedPanelRef,\n destroyOnHidden: destroyOnHidden ?? destroyOnClose,\n modalRender: mergedModalRender\n }, loading ? (/*#__PURE__*/React.createElement(Skeleton, {\n active: true,\n title: false,\n paragraph: {\n rows: 4\n },\n className: `${prefixCls}-body-skeleton`\n })) : children)));\n};\nexport default Modal;","// Style as confirm component\nimport { unit } from '@ant-design/cssinjs';\nimport { prepareComponentToken, prepareToken } from '.';\nimport { clearFix } from '../../style';\nimport { genSubStyleComponent } from '../../theme/internal';\n// ============================= Confirm ==============================\nconst genModalConfirmStyle = token => {\n const {\n componentCls,\n titleFontSize,\n titleLineHeight,\n modalConfirmIconSize,\n fontSize,\n lineHeight,\n modalTitleHeight,\n fontHeight,\n confirmBodyPadding\n } = token;\n const confirmComponentCls = `${componentCls}-confirm`;\n return {\n [confirmComponentCls]: {\n '&-rtl': {\n direction: 'rtl'\n },\n [`${token.antCls}-modal-header`]: {\n display: 'none'\n },\n [`${confirmComponentCls}-body-wrapper`]: {\n ...clearFix()\n },\n [`&${componentCls} ${componentCls}-body`]: {\n padding: confirmBodyPadding\n },\n // ====================== Body ======================\n [`${confirmComponentCls}-body`]: {\n display: 'flex',\n flexWrap: 'nowrap',\n alignItems: 'start',\n [`> ${token.iconCls}`]: {\n flex: 'none',\n fontSize: modalConfirmIconSize,\n marginInlineEnd: token.confirmIconMarginInlineEnd,\n marginTop: token.calc(token.calc(fontHeight).sub(modalConfirmIconSize).equal()).div(2).equal()\n },\n [`&-has-title > ${token.iconCls}`]: {\n marginTop: token.calc(token.calc(modalTitleHeight).sub(modalConfirmIconSize).equal()).div(2).equal()\n }\n },\n [`${confirmComponentCls}-paragraph`]: {\n display: 'flex',\n flexDirection: 'column',\n flex: 'auto',\n rowGap: token.marginXS,\n // https://github.com/ant-design/ant-design/issues/51912\n maxWidth: `calc(100% - ${unit(token.marginSM)})`\n },\n // https://github.com/ant-design/ant-design/issues/48159\n [`${token.iconCls} + ${confirmComponentCls}-paragraph`]: {\n maxWidth: `calc(100% - ${unit(token.calc(token.modalConfirmIconSize).add(token.marginSM).equal())})`\n },\n [`${confirmComponentCls}-title`]: {\n color: token.colorTextHeading,\n fontWeight: token.fontWeightStrong,\n fontSize: titleFontSize,\n lineHeight: titleLineHeight\n },\n [`${confirmComponentCls}-container`]: {\n color: token.colorText,\n fontSize,\n lineHeight\n },\n // ===================== Footer =====================\n [`${confirmComponentCls}-btns`]: {\n textAlign: 'end',\n marginTop: token.confirmBtnsMarginTop,\n [`${token.antCls}-btn + ${token.antCls}-btn`]: {\n marginBottom: 0,\n marginInlineStart: token.marginXS\n }\n }\n },\n [`${confirmComponentCls}-error ${confirmComponentCls}-body > ${token.iconCls}`]: {\n color: token.colorError\n },\n [`${confirmComponentCls}-warning ${confirmComponentCls}-body > ${token.iconCls},\n ${confirmComponentCls}-confirm ${confirmComponentCls}-body > ${token.iconCls}`]: {\n color: token.colorWarning\n },\n [`${confirmComponentCls}-info ${confirmComponentCls}-body > ${token.iconCls}`]: {\n color: token.colorInfo\n },\n [`${confirmComponentCls}-success ${confirmComponentCls}-body > ${token.iconCls}`]: {\n color: token.colorSuccess\n }\n };\n};\n// ============================== Export ==============================\nexport default genSubStyleComponent(['Modal', 'confirm'], token => {\n const modalToken = prepareToken(token);\n return genModalConfirmStyle(modalToken);\n}, prepareComponentToken, {\n // confirm is weak than modal since no conflict here\n order: -1000\n});","\"use client\";\n\nimport * as React from 'react';\nimport CheckCircleFilled from \"@ant-design/icons/es/icons/CheckCircleFilled\";\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nimport ExclamationCircleFilled from \"@ant-design/icons/es/icons/ExclamationCircleFilled\";\nimport InfoCircleFilled from \"@ant-design/icons/es/icons/InfoCircleFilled\";\nimport { clsx } from 'clsx';\nimport { CONTAINER_MAX_OFFSET } from '../_util/hooks';\nimport { getTransitionName } from '../_util/motion';\nimport { devUseWarning } from '../_util/warning';\nimport ConfigProvider from '../config-provider';\nimport { useComponentConfig } from '../config-provider/context';\nimport { useLocale } from '../locale';\nimport useToken from '../theme/useToken';\nimport CancelBtn from './components/ConfirmCancelBtn';\nimport OkBtn from './components/ConfirmOkBtn';\nimport { ModalContextProvider } from './context';\nimport Modal from './Modal';\nimport Confirm from './style/confirm';\nexport const ConfirmContent = props => {\n const {\n prefixCls,\n icon,\n okText,\n cancelText,\n confirmPrefixCls,\n type,\n okCancel,\n footer,\n // Legacy for static function usage\n locale: staticLocale,\n ...restProps\n } = props;\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Modal');\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof icon === 'string' && icon.length > 2), 'breaking', `\\`icon\\` is using ReactNode instead of string naming in v4. Please check \\`${icon}\\` at https://ant.design/components/icon`) : void 0;\n }\n // Icon\n let mergedIcon = icon;\n // 支持传入{ icon: null }来隐藏`Modal.confirm`默认的Icon\n if (!icon && icon !== null) {\n switch (type) {\n case 'info':\n mergedIcon = /*#__PURE__*/React.createElement(InfoCircleFilled, null);\n break;\n case 'success':\n mergedIcon = /*#__PURE__*/React.createElement(CheckCircleFilled, null);\n break;\n case 'error':\n mergedIcon = /*#__PURE__*/React.createElement(CloseCircleFilled, null);\n break;\n default:\n mergedIcon = /*#__PURE__*/React.createElement(ExclamationCircleFilled, null);\n }\n }\n // 默认为 true,保持向下兼容\n const mergedOkCancel = okCancel ?? type === 'confirm';\n const autoFocusButton = props.autoFocusButton === null ? false : props.autoFocusButton || 'ok';\n const [locale] = useLocale('Modal');\n const mergedLocale = staticLocale || locale;\n // ================== Locale Text ==================\n const okTextLocale = okText || (mergedOkCancel ? mergedLocale?.okText : mergedLocale?.justOkText);\n const cancelTextLocale = cancelText || mergedLocale?.cancelText;\n // ================= Context Value =================\n const {\n closable\n } = restProps;\n const {\n onClose\n } = closable && typeof closable === 'object' ? closable : {};\n const memoizedValue = React.useMemo(() => {\n return {\n autoFocusButton,\n cancelTextLocale,\n okTextLocale,\n mergedOkCancel,\n onClose,\n ...restProps\n };\n }, [autoFocusButton, cancelTextLocale, okTextLocale, mergedOkCancel, onClose, restProps]);\n // ====================== Footer Origin Node ======================\n const footerOriginNode = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(CancelBtn, null), /*#__PURE__*/React.createElement(OkBtn, null));\n const hasTitle = props.title !== undefined && props.title !== null;\n const bodyCls = `${confirmPrefixCls}-body`;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: `${confirmPrefixCls}-body-wrapper`\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(bodyCls, {\n [`${bodyCls}-has-title`]: hasTitle\n })\n }, mergedIcon, /*#__PURE__*/React.createElement(\"div\", {\n className: `${confirmPrefixCls}-paragraph`\n }, hasTitle && /*#__PURE__*/React.createElement(\"span\", {\n className: `${confirmPrefixCls}-title`\n }, props.title), /*#__PURE__*/React.createElement(\"div\", {\n className: `${confirmPrefixCls}-content`\n }, props.content))), footer === undefined || typeof footer === 'function' ? (/*#__PURE__*/React.createElement(ModalContextProvider, {\n value: memoizedValue\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: `${confirmPrefixCls}-btns`\n }, typeof footer === 'function' ? footer(footerOriginNode, {\n OkBtn,\n CancelBtn\n }) : footerOriginNode))) : footer, /*#__PURE__*/React.createElement(Confirm, {\n prefixCls: prefixCls\n }));\n};\nconst ConfirmDialog = props => {\n const {\n close,\n zIndex,\n maskStyle,\n direction,\n prefixCls,\n wrapClassName,\n rootPrefixCls,\n bodyStyle,\n closable = false,\n onConfirm,\n styles,\n title,\n okButtonProps,\n cancelButtonProps\n } = props;\n const {\n cancelButtonProps: contextCancelButtonProps,\n okButtonProps: contextOkButtonProps\n } = useComponentConfig('modal');\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Modal');\n [['bodyStyle', 'styles.body'], ['maskStyle', 'styles.mask']].forEach(([deprecatedName, newName]) => {\n warning.deprecated(!(deprecatedName in props), deprecatedName, newName);\n });\n }\n const confirmPrefixCls = `${prefixCls}-confirm`;\n const width = props.width || 416;\n const style = props.style || {};\n // 默认为 false,保持旧版默认行为\n const maskClosable = props.maskClosable === undefined ? false : props.maskClosable;\n const classString = clsx(confirmPrefixCls, `${confirmPrefixCls}-${props.type}`, {\n [`${confirmPrefixCls}-rtl`]: direction === 'rtl'\n }, props.className);\n // ========================= zIndex =========================\n const [, token] = useToken();\n const mergedZIndex = React.useMemo(() => {\n if (zIndex !== undefined) {\n return zIndex;\n }\n // Static always use max zIndex\n return token.zIndexPopupBase + CONTAINER_MAX_OFFSET;\n }, [zIndex, token]);\n // ========================= Render =========================\n return /*#__PURE__*/React.createElement(Modal, {\n ...props,\n className: classString,\n wrapClassName: clsx({\n [`${confirmPrefixCls}-centered`]: !!props.centered\n }, wrapClassName),\n onCancel: () => {\n close?.({\n triggerCancel: true\n });\n onConfirm?.(false);\n },\n title: title,\n footer: null,\n transitionName: getTransitionName(rootPrefixCls || '', 'zoom', props.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls || '', 'fade', props.maskTransitionName),\n maskClosable: maskClosable,\n style: style,\n styles: {\n body: bodyStyle,\n mask: maskStyle,\n ...styles\n },\n width: width,\n zIndex: mergedZIndex,\n closable: closable\n }, /*#__PURE__*/React.createElement(ConfirmContent, {\n ...props,\n confirmPrefixCls: confirmPrefixCls,\n okButtonProps: {\n ...contextOkButtonProps,\n ...okButtonProps\n },\n cancelButtonProps: {\n ...contextCancelButtonProps,\n ...cancelButtonProps\n }\n }));\n};\nconst ConfirmDialogWrapper = props => {\n const {\n rootPrefixCls,\n iconPrefixCls,\n direction,\n theme\n } = props;\n return /*#__PURE__*/React.createElement(ConfigProvider, {\n prefixCls: rootPrefixCls,\n iconPrefixCls: iconPrefixCls,\n direction: direction,\n theme: theme\n }, /*#__PURE__*/React.createElement(ConfirmDialog, {\n ...props\n }));\n};\nif (process.env.NODE_ENV !== 'production') {\n ConfirmDialog.displayName = 'ConfirmDialog';\n ConfirmDialogWrapper.displayName = 'ConfirmDialogWrapper';\n}\nexport default ConfirmDialogWrapper;","const destroyFns = [];\nexport default destroyFns;","\"use client\";\n\nimport React, { useContext } from 'react';\nimport { render, unmount } from \"@rc-component/util/es/React/render\";\nimport warning from '../_util/warning';\nimport ConfigProvider, { ConfigContext, globalConfig, warnContext } from '../config-provider';\nimport ConfirmDialog from './ConfirmDialog';\nimport destroyFns from './destroyFns';\nimport { getConfirmLocale } from './locale';\nlet defaultRootPrefixCls = '';\nfunction getRootPrefixCls() {\n return defaultRootPrefixCls;\n}\nconst ConfirmDialogWrapper = props => {\n const {\n prefixCls: customizePrefixCls,\n getContainer,\n direction\n } = props;\n const runtimeLocale = getConfirmLocale();\n const config = useContext(ConfigContext);\n const rootPrefixCls = getRootPrefixCls() || config.getPrefixCls();\n // because Modal.config set rootPrefixCls, which is different from other components\n const prefixCls = customizePrefixCls || `${rootPrefixCls}-modal`;\n let mergedGetContainer = getContainer;\n if (mergedGetContainer === false) {\n mergedGetContainer = undefined;\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'Modal', 'Static method not support `getContainer` to be `false` since it do not have context env.') : void 0;\n }\n }\n return /*#__PURE__*/React.createElement(ConfirmDialog, {\n ...props,\n rootPrefixCls: rootPrefixCls,\n prefixCls: prefixCls,\n iconPrefixCls: config.iconPrefixCls,\n theme: config.theme,\n direction: direction ?? config.direction,\n locale: config.locale?.Modal ?? runtimeLocale,\n getContainer: mergedGetContainer\n });\n};\nexport default function confirm(config) {\n const global = globalConfig();\n if (process.env.NODE_ENV !== 'production' && !global.holderRender) {\n warnContext('Modal');\n }\n const container = document.createDocumentFragment();\n let currentConfig = {\n ...config,\n close,\n open: true\n };\n let timeoutId;\n function destroy(...args) {\n const triggerCancel = args.some(param => param?.triggerCancel);\n if (triggerCancel) {\n config.onCancel?.(() => {}, ...args.slice(1));\n }\n for (let i = 0; i < destroyFns.length; i++) {\n const fn = destroyFns[i];\n if (fn === close) {\n destroyFns.splice(i, 1);\n break;\n }\n }\n unmount(container).then(() => {\n // Do nothing\n });\n }\n const scheduleRender = props => {\n clearTimeout(timeoutId);\n /**\n * https://github.com/ant-design/ant-design/issues/23623\n *\n * Sync render blocks React event. Let's make this async.\n */\n timeoutId = setTimeout(() => {\n const rootPrefixCls = global.getPrefixCls(undefined, getRootPrefixCls());\n const iconPrefixCls = global.getIconPrefixCls();\n const theme = global.getTheme();\n const dom = /*#__PURE__*/React.createElement(ConfirmDialogWrapper, {\n ...props\n });\n render(/*#__PURE__*/React.createElement(ConfigProvider, {\n prefixCls: rootPrefixCls,\n iconPrefixCls: iconPrefixCls,\n theme: theme\n }, typeof global.holderRender === 'function' ? global.holderRender(dom) : dom), container);\n });\n };\n function close(...args) {\n currentConfig = {\n ...currentConfig,\n open: false,\n afterClose: () => {\n if (typeof config.afterClose === 'function') {\n config.afterClose();\n }\n // @ts-ignore\n destroy.apply(this, args);\n }\n };\n scheduleRender(currentConfig);\n }\n function update(configUpdate) {\n if (typeof configUpdate === 'function') {\n currentConfig = configUpdate(currentConfig);\n } else {\n currentConfig = {\n ...currentConfig,\n ...configUpdate\n };\n }\n scheduleRender(currentConfig);\n }\n scheduleRender(currentConfig);\n destroyFns.push(close);\n return {\n destroy: close,\n update\n };\n}\nexport function withWarn(props) {\n return {\n ...props,\n type: 'warning'\n };\n}\nexport function withInfo(props) {\n return {\n ...props,\n type: 'info'\n };\n}\nexport function withSuccess(props) {\n return {\n ...props,\n type: 'success'\n };\n}\nexport function withError(props) {\n return {\n ...props,\n type: 'error'\n };\n}\nexport function withConfirm(props) {\n return {\n ...props,\n type: 'confirm'\n };\n}\nexport function modalGlobalConfig({\n rootPrefixCls\n}) {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'Modal', 'Modal.config is deprecated. Please use ConfigProvider.config instead.') : void 0;\n defaultRootPrefixCls = rootPrefixCls;\n}","\"use client\";\n\nimport * as React from 'react';\nimport { ConfigContext } from '../../config-provider';\nimport defaultLocale from '../../locale/en_US';\nimport useLocale from '../../locale/useLocale';\nimport ConfirmDialog from '../ConfirmDialog';\nconst HookModal = ({\n afterClose: hookAfterClose,\n config,\n ...restProps\n}, ref) => {\n const [open, setOpen] = React.useState(true);\n const [innerConfig, setInnerConfig] = React.useState(config);\n const {\n direction,\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('modal');\n const rootPrefixCls = getPrefixCls();\n const afterClose = () => {\n hookAfterClose();\n innerConfig.afterClose?.();\n };\n const close = (...args) => {\n setOpen(false);\n const triggerCancel = args.some(param => param?.triggerCancel);\n if (triggerCancel) {\n innerConfig.onCancel?.(() => {}, ...args.slice(1));\n }\n };\n React.useImperativeHandle(ref, () => ({\n destroy: close,\n update: newConfig => {\n setInnerConfig(originConfig => {\n const nextConfig = typeof newConfig === 'function' ? newConfig(originConfig) : newConfig;\n return {\n ...originConfig,\n ...nextConfig\n };\n });\n }\n }));\n const mergedOkCancel = innerConfig.okCancel ?? innerConfig.type === 'confirm';\n const [contextLocale] = useLocale('Modal', defaultLocale.Modal);\n return /*#__PURE__*/React.createElement(ConfirmDialog, {\n prefixCls: prefixCls,\n rootPrefixCls: rootPrefixCls,\n ...innerConfig,\n close: close,\n open: open,\n afterClose: afterClose,\n okText: innerConfig.okText || (mergedOkCancel ? contextLocale?.okText : contextLocale?.justOkText),\n direction: innerConfig.direction || direction,\n cancelText: innerConfig.cancelText || contextLocale?.cancelText,\n ...restProps\n });\n};\nexport default /*#__PURE__*/React.forwardRef(HookModal);","\"use client\";\n\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nimport { usePatchElement } from '../../_util/hooks';\nimport { withConfirm, withError, withInfo, withSuccess, withWarn } from '../confirm';\nimport destroyFns from '../destroyFns';\nimport HookModal from './HookModal';\nlet uuid = 0;\nconst ElementsHolder = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef((_props, ref) => {\n const [elements, patchElement] = usePatchElement();\n React.useImperativeHandle(ref, () => ({\n patchElement\n }), [patchElement]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, elements);\n}));\nfunction useModal() {\n const holderRef = React.useRef(null);\n // ========================== Effect ==========================\n const [actionQueue, setActionQueue] = React.useState([]);\n React.useEffect(() => {\n if (actionQueue.length) {\n const cloneQueue = _toConsumableArray(actionQueue);\n cloneQueue.forEach(action => {\n action();\n });\n setActionQueue([]);\n }\n }, [actionQueue]);\n // =========================== Hook ===========================\n const getConfirmFunc = React.useCallback(withFunc => function hookConfirm(config) {\n uuid += 1;\n const modalRef = /*#__PURE__*/React.createRef();\n // Proxy to promise with `onClose`\n let resolvePromise;\n const promise = new Promise(resolve => {\n resolvePromise = resolve;\n });\n let silent = false;\n let closeFunc;\n const modal = /*#__PURE__*/React.createElement(HookModal, {\n key: `modal-${uuid}`,\n config: withFunc(config),\n ref: modalRef,\n afterClose: () => {\n closeFunc?.();\n },\n isSilent: () => silent,\n onConfirm: confirmed => {\n resolvePromise(confirmed);\n }\n });\n closeFunc = holderRef.current?.patchElement(modal);\n if (closeFunc) {\n destroyFns.push(closeFunc);\n }\n const instance = {\n destroy: () => {\n function destroyAction() {\n modalRef.current?.destroy();\n }\n if (modalRef.current) {\n destroyAction();\n } else {\n setActionQueue(prev => [].concat(_toConsumableArray(prev), [destroyAction]));\n }\n },\n update: newConfig => {\n function updateAction() {\n modalRef.current?.update(newConfig);\n }\n if (modalRef.current) {\n updateAction();\n } else {\n setActionQueue(prev => [].concat(_toConsumableArray(prev), [updateAction]));\n }\n },\n then: resolve => {\n silent = true;\n return promise.then(resolve);\n }\n };\n return instance;\n }, []);\n const fns = React.useMemo(() => ({\n info: getConfirmFunc(withInfo),\n success: getConfirmFunc(withSuccess),\n error: getConfirmFunc(withError),\n warning: getConfirmFunc(withWarn),\n confirm: getConfirmFunc(withConfirm)\n }), [getConfirmFunc]);\n return [fns, /*#__PURE__*/React.createElement(ElementsHolder, {\n key: \"modal-holder\",\n ref: holderRef\n })];\n}\nexport default useModal;","// This icon file is generated automatically.\nvar DeleteOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z\" } }] }, \"name\": \"delete\", \"theme\": \"outlined\" };\nexport default DeleteOutlined;\n","function _extends() { _extends = Object.assign ? Object.assign.bind() : 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// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DeleteOutlinedSvg from \"@ant-design/icons-svg/es/asn/DeleteOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nconst DeleteOutlined = (props, ref) => /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DeleteOutlinedSvg\n}));\n\n/** */\nconst RefIcon = /*#__PURE__*/React.forwardRef(DeleteOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DeleteOutlined';\n}\nexport default RefIcon;","\"use client\";\n\nimport * as React from 'react';\nimport { Panel } from '@rc-component/dialog';\nimport { clsx } from 'clsx';\nimport { withPureRenderTheme } from '../_util/PurePanel';\nimport { ConfigContext } from '../config-provider';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport { ConfirmContent } from './ConfirmDialog';\nimport { Footer, renderCloseIcon } from './shared';\nimport useStyle from './style';\nconst PurePanel = props => {\n const {\n prefixCls: customizePrefixCls,\n className,\n closeIcon,\n closable,\n type,\n title,\n children,\n footer,\n ...restProps\n } = props;\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const rootPrefixCls = getPrefixCls();\n const prefixCls = customizePrefixCls || getPrefixCls('modal');\n const rootCls = useCSSVarCls(rootPrefixCls);\n const [hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const confirmPrefixCls = `${prefixCls}-confirm`;\n // Choose target props by confirm mark\n let additionalProps = {};\n if (type) {\n additionalProps = {\n closable: closable ?? false,\n title: '',\n footer: '',\n children: (/*#__PURE__*/React.createElement(ConfirmContent, {\n ...props,\n prefixCls: prefixCls,\n confirmPrefixCls: confirmPrefixCls,\n rootPrefixCls: rootPrefixCls,\n content: children\n }))\n };\n } else {\n additionalProps = {\n closable: closable ?? true,\n title,\n footer: footer !== null && /*#__PURE__*/React.createElement(Footer, {\n ...props\n }),\n children\n };\n }\n return /*#__PURE__*/React.createElement(Panel, {\n prefixCls: prefixCls,\n className: clsx(hashId, `${prefixCls}-pure-panel`, type && confirmPrefixCls, type && `${confirmPrefixCls}-${type}`, className, cssVarCls, rootCls),\n ...restProps,\n closeIcon: renderCloseIcon(prefixCls, closeIcon),\n closable: closable,\n ...additionalProps\n });\n};\nexport default withPureRenderTheme(PurePanel);","\"use client\";\n\nimport confirm, { modalGlobalConfig, withConfirm, withError, withInfo, withSuccess, withWarn } from './confirm';\nimport destroyFns from './destroyFns';\nimport OriginModal from './Modal';\nimport PurePanel from './PurePanel';\nimport useModal from './useModal';\nfunction modalWarn(props) {\n return confirm(withWarn(props));\n}\nconst Modal = OriginModal;\nModal.useModal = useModal;\nModal.info = function infoFn(props) {\n return confirm(withInfo(props));\n};\nModal.success = function successFn(props) {\n return confirm(withSuccess(props));\n};\nModal.error = function errorFn(props) {\n return confirm(withError(props));\n};\nModal.warning = modalWarn;\nModal.warn = modalWarn;\nModal.confirm = function confirmFn(props) {\n return confirm(withConfirm(props));\n};\nModal.destroyAll = function destroyAllFn() {\n while (destroyFns.length) {\n const close = destroyFns.pop();\n if (close) {\n close();\n }\n }\n};\nModal.config = modalGlobalConfig;\nModal._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nif (process.env.NODE_ENV !== 'production') {\n Modal.displayName = 'Modal';\n}\nexport default Modal;","import { genStyleHooks } from '../../theme/internal';\n// =============================== Base ===============================\nconst genBaseStyle = token => {\n const {\n componentCls,\n iconCls,\n antCls,\n zIndexPopup,\n colorText,\n colorWarning,\n marginXXS,\n marginXS,\n fontSize,\n fontWeightStrong,\n colorTextHeading\n } = token;\n return {\n [componentCls]: {\n zIndex: zIndexPopup,\n [`&${antCls}-popover`]: {\n fontSize\n },\n [`${componentCls}-message`]: {\n marginBottom: marginXS,\n display: 'flex',\n flexWrap: 'nowrap',\n alignItems: 'start',\n [`> ${componentCls}-message-icon ${iconCls}`]: {\n color: colorWarning,\n fontSize,\n lineHeight: 1,\n marginInlineEnd: marginXS\n },\n [`${componentCls}-title`]: {\n fontWeight: fontWeightStrong,\n color: colorTextHeading,\n '&:only-child': {\n fontWeight: 'normal'\n }\n },\n [`${componentCls}-description`]: {\n marginTop: marginXXS,\n color: colorText\n }\n },\n [`${componentCls}-buttons`]: {\n textAlign: 'end',\n whiteSpace: 'nowrap',\n button: {\n marginInlineStart: marginXS\n }\n }\n }\n };\n};\n// ============================== Export ==============================\nexport const prepareComponentToken = token => {\n const {\n zIndexPopupBase\n } = token;\n return {\n zIndexPopup: zIndexPopupBase + 60\n };\n};\nexport default genStyleHooks('Popconfirm', token => genBaseStyle(token), prepareComponentToken, {\n resetStyle: false\n});","\"use client\";\n\nimport * as React from 'react';\nimport ExclamationCircleFilled from \"@ant-design/icons/es/icons/ExclamationCircleFilled\";\nimport { clsx } from 'clsx';\nimport ActionButton from '../_util/ActionButton';\nimport { getRenderPropValue } from '../_util/getRenderPropValue';\nimport Button from '../button/Button';\nimport { convertLegacyProps } from '../button/buttonHelpers';\nimport { ConfigContext } from '../config-provider';\nimport { useLocale } from '../locale';\nimport defaultLocale from '../locale/en_US';\nimport PopoverPurePanel from '../popover/PurePanel';\nimport useStyle from './style';\nexport const Overlay = props => {\n const {\n prefixCls,\n okButtonProps,\n cancelButtonProps,\n title,\n description,\n cancelText,\n okText,\n okType = 'primary',\n icon = /*#__PURE__*/React.createElement(ExclamationCircleFilled, null),\n showCancel = true,\n close,\n onConfirm,\n onCancel,\n onPopupClick,\n classNames,\n styles\n } = props;\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const [contextLocale] = useLocale('Popconfirm', defaultLocale.Popconfirm);\n const titleNode = getRenderPropValue(title);\n const descriptionNode = getRenderPropValue(description);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-inner-content`,\n onClick: onPopupClick\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-message`\n }, icon && /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-message-icon`\n }, icon), /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-message-text`\n }, titleNode && (/*#__PURE__*/React.createElement(\"div\", {\n className: clsx(`${prefixCls}-title`, classNames?.title),\n style: styles?.title\n }, titleNode)), descriptionNode && (/*#__PURE__*/React.createElement(\"div\", {\n className: clsx(`${prefixCls}-description`, classNames?.content),\n style: styles?.content\n }, descriptionNode)))), /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-buttons`\n }, showCancel && (/*#__PURE__*/React.createElement(Button, {\n onClick: onCancel,\n size: \"small\",\n ...cancelButtonProps\n }, cancelText || contextLocale?.cancelText)), /*#__PURE__*/React.createElement(ActionButton, {\n buttonProps: {\n size: 'small',\n ...convertLegacyProps(okType),\n ...okButtonProps\n },\n actionFn: onConfirm,\n close: close,\n prefixCls: getPrefixCls('btn'),\n quitOnNullishReturnValue: true,\n emitEvent: true\n }, okText || contextLocale?.okText)));\n};\nconst PurePanel = props => {\n const {\n prefixCls: customizePrefixCls,\n placement,\n className,\n style,\n ...restProps\n } = props;\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('popconfirm', customizePrefixCls);\n useStyle(prefixCls);\n return /*#__PURE__*/React.createElement(PopoverPurePanel, {\n placement: placement,\n className: clsx(prefixCls, className),\n style: style,\n content: /*#__PURE__*/React.createElement(Overlay, {\n prefixCls: prefixCls,\n ...restProps\n })\n });\n};\nexport default PurePanel;","\"use client\";\n\nimport * as React from 'react';\nimport ExclamationCircleFilled from \"@ant-design/icons/es/icons/ExclamationCircleFilled\";\nimport { omit, useControlledState } from '@rc-component/util';\nimport { clsx } from 'clsx';\nimport { useMergeSemantic } from '../_util/hooks';\nimport { useComponentConfig } from '../config-provider/context';\nimport Popover from '../popover';\nimport useMergedArrow from '../tooltip/hook/useMergedArrow';\nimport PurePanel, { Overlay } from './PurePanel';\nimport useStyle from './style';\nconst InternalPopconfirm = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n placement = 'top',\n trigger,\n okType = 'primary',\n icon = /*#__PURE__*/React.createElement(ExclamationCircleFilled, null),\n children,\n overlayClassName,\n onOpenChange,\n overlayStyle,\n styles,\n arrow: popconfirmArrow,\n classNames,\n ...restProps\n } = props;\n const {\n getPrefixCls,\n className: contextClassName,\n style: contextStyle,\n classNames: contextClassNames,\n styles: contextStyles,\n arrow: contextArrow,\n trigger: contextTrigger\n } = useComponentConfig('popconfirm');\n const [open, setOpen] = useControlledState(props.defaultOpen ?? false, props.open);\n const mergedArrow = useMergedArrow(popconfirmArrow, contextArrow);\n const mergedTrigger = trigger || contextTrigger || 'click';\n const settingOpen = (value, e) => {\n setOpen(value);\n onOpenChange?.(value, e);\n };\n const close = e => {\n settingOpen(false, e);\n };\n const onConfirm = e => props.onConfirm?.call(this, e);\n const onCancel = e => {\n settingOpen(false, e);\n props.onCancel?.call(this, e);\n };\n const onInternalOpenChange = (value, e) => {\n const {\n disabled = false\n } = props;\n if (disabled) {\n return;\n }\n settingOpen(value, e);\n };\n const prefixCls = getPrefixCls('popconfirm', customizePrefixCls);\n const mergedProps = {\n ...props,\n placement,\n trigger: mergedTrigger,\n okType,\n overlayStyle,\n styles,\n classNames\n };\n const [mergedClassNames, mergedStyles] = useMergeSemantic([contextClassNames, classNames], [contextStyles, styles], {\n props: mergedProps\n });\n const rootClassNames = clsx(prefixCls, contextClassName, overlayClassName, mergedClassNames.root);\n useStyle(prefixCls);\n return /*#__PURE__*/React.createElement(Popover, {\n arrow: mergedArrow,\n ...omit(restProps, ['title']),\n trigger: mergedTrigger,\n placement: placement,\n onOpenChange: onInternalOpenChange,\n open: open,\n ref: ref,\n classNames: {\n root: rootClassNames,\n container: mergedClassNames.container,\n arrow: mergedClassNames.arrow\n },\n styles: {\n root: {\n ...contextStyle,\n ...mergedStyles.root,\n ...overlayStyle\n },\n container: mergedStyles.container,\n arrow: mergedStyles.arrow\n },\n content: /*#__PURE__*/React.createElement(Overlay, {\n okType: okType,\n icon: icon,\n ...props,\n prefixCls: prefixCls,\n close: close,\n onConfirm: onConfirm,\n onCancel: onCancel,\n classNames: mergedClassNames,\n styles: mergedStyles\n }),\n \"data-popover-inject\": true\n }, children);\n});\nconst Popconfirm = InternalPopconfirm;\n// We don't care debug panel\n/* istanbul ignore next */\nPopconfirm._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nif (process.env.NODE_ENV !== 'production') {\n Popconfirm.displayName = 'Popconfirm';\n}\nexport default Popconfirm;"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,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,CACD,UAAW,EAAa,UACxB,MAAO,EAAa,MACrB,CACD,QAAsB,EAAM,cAAc,GAAS,CACzC,SACF,OACN,GAAG,EACQ,YACJ,QACI,YACD,WACV,WAAY,EACZ,OAAQ,EACT,CAAC,CACF,sBAAuB,GACxB,CAAE,EAAS,EACZ,CAIF,GAAW,uCAAyC"}
|
|
1
|
+
{"version":3,"file":"popconfirm-XB7pULHq.js","names":["useState","_extends","MemoChildren","_extends","CSSMotion","_extends","CSSMotion","_extends","useId","_extends","Portal","CloseOutlined","mergeToken","prepareComponentToken","Modal","useStyle","CloseOutlined","Dialog","Skeleton","prepareComponentToken","InfoCircleFilled","CheckCircleFilled","CloseCircleFilled","ExclamationCircleFilled","CancelBtn","OkBtn","Confirm","Modal","ConfirmDialogWrapper","ConfirmDialog","defaultLocale","ConfirmDialog","HookModal","DeleteOutlined","AntdIcon","DeleteOutlinedSvg","PurePanel","useStyle","OriginModal","PurePanel","ExclamationCircleFilled","defaultLocale","PopoverPurePanel","ExclamationCircleFilled"],"sources":["../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/_util/hooks/useMergedMask.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/_util/hooks/usePatchElement.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/_util/ActionButton.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/context.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/components/ConfirmCancelBtn.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/components/ConfirmOkBtn.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/context.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/util.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/Dialog/Content/MemoChildren.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/Dialog/Content/index.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/Dialog/Mask.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/Dialog/index.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/DialogWrap.js","../../node_modules/.pnpm/@rc-component+dialog@1.5.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@rc-component/dialog/es/index.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/watermark/context.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/components/NormalCancelBtn.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/components/NormalOkBtn.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/shared.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/style/index.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/Modal.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/style/confirm.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/ConfirmDialog.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/destroyFns.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/confirm.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/useModal/HookModal.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/useModal/index.js","../../node_modules/.pnpm/@ant-design+icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/DeleteOutlined.js","../../node_modules/.pnpm/@ant-design+icons@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@ant-design/icons/es/icons/DeleteOutlined.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/PurePanel.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/modal/index.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/popconfirm/style/index.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/popconfirm/PurePanel.js","../../node_modules/.pnpm/antd@6.1.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/antd/es/popconfirm/index.js"],"sourcesContent":["import { useMemo } from 'react';\nconst normalizeMaskConfig = mask => {\n if (mask && typeof mask === 'object') {\n return mask;\n }\n if (typeof mask === 'boolean') {\n return {\n enabled: mask,\n blur: mask\n };\n }\n return {};\n};\nexport const useMergedMask = (mask, contextMask, prefixCls) => {\n return useMemo(() => {\n const maskConfig = normalizeMaskConfig(mask);\n const contextMaskConfig = normalizeMaskConfig(contextMask);\n const mergedConfig = {\n ...contextMaskConfig,\n ...maskConfig\n };\n const className = mergedConfig.blur !== false ? `${prefixCls}-mask-blur` : undefined;\n return [mergedConfig.enabled !== false, {\n mask: className\n }];\n }, [mask, contextMask, prefixCls]);\n};","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nexport const usePatchElement = () => {\n const [elements, setElements] = React.useState([]);\n const patchElement = React.useCallback(element => {\n // append a new element to elements (and create a new ref)\n setElements(originElements => [].concat(_toConsumableArray(originElements), [element]));\n // return a function that removes the new element out of elements (and create a new ref)\n // it works a little like useEffect\n return () => {\n setElements(originElements => originElements.filter(ele => ele !== element));\n };\n }, []);\n return [elements, patchElement];\n};","\"use client\";\n\nimport * as React from 'react';\nimport useState from \"@rc-component/util/es/hooks/useState\";\nimport Button from '../button/Button';\nimport { convertLegacyProps } from '../button/buttonHelpers';\nconst isThenable = thing => {\n return typeof thing?.then === 'function';\n};\nconst ActionButton = props => {\n const {\n type,\n children,\n prefixCls,\n buttonProps,\n close,\n autoFocus,\n emitEvent,\n isSilent,\n quitOnNullishReturnValue,\n actionFn\n } = props;\n const clickedRef = React.useRef(false);\n const buttonRef = React.useRef(null);\n const [loading, setLoading] = useState(false);\n const onInternalClose = (...args) => {\n close?.(...args);\n };\n React.useEffect(() => {\n let timeoutId = null;\n if (autoFocus) {\n timeoutId = setTimeout(() => {\n buttonRef.current?.focus({\n preventScroll: true\n });\n });\n }\n return () => {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n };\n }, [autoFocus]);\n const handlePromiseOnOk = returnValueOfOnOk => {\n if (!isThenable(returnValueOfOnOk)) {\n return;\n }\n setLoading(true);\n returnValueOfOnOk.then((...args) => {\n setLoading(false, true);\n onInternalClose.apply(void 0, args);\n clickedRef.current = false;\n }, e => {\n // See: https://github.com/ant-design/ant-design/issues/6183\n setLoading(false, true);\n clickedRef.current = false;\n // Do not throw if is `await` mode\n if (isSilent?.()) {\n return;\n }\n return Promise.reject(e);\n });\n };\n const onClick = e => {\n if (clickedRef.current) {\n return;\n }\n clickedRef.current = true;\n if (!actionFn) {\n onInternalClose();\n return;\n }\n let returnValueOfOnOk;\n if (emitEvent) {\n returnValueOfOnOk = actionFn(e);\n if (quitOnNullishReturnValue && !isThenable(returnValueOfOnOk)) {\n clickedRef.current = false;\n onInternalClose(e);\n return;\n }\n } else if (actionFn.length) {\n returnValueOfOnOk = actionFn(close);\n // https://github.com/ant-design/ant-design/issues/23358\n clickedRef.current = false;\n } else {\n returnValueOfOnOk = actionFn();\n if (!isThenable(returnValueOfOnOk)) {\n onInternalClose();\n return;\n }\n }\n handlePromiseOnOk(returnValueOfOnOk);\n };\n return /*#__PURE__*/React.createElement(Button, {\n ...convertLegacyProps(type),\n onClick: onClick,\n loading: loading,\n prefixCls: prefixCls,\n ...buttonProps,\n ref: buttonRef\n }, children);\n};\nexport default ActionButton;","import React from 'react';\nexport const ModalContext = /*#__PURE__*/React.createContext({});\nexport const {\n Provider: ModalContextProvider\n} = ModalContext;","\"use client\";\n\nimport React, { useContext } from 'react';\nimport ActionButton from '../../_util/ActionButton';\nimport { ModalContext } from '../context';\nconst ConfirmCancelBtn = () => {\n const {\n autoFocusButton,\n cancelButtonProps,\n cancelTextLocale,\n isSilent,\n mergedOkCancel,\n rootPrefixCls,\n close,\n onCancel,\n onConfirm,\n onClose\n } = useContext(ModalContext);\n return mergedOkCancel ? (/*#__PURE__*/React.createElement(ActionButton, {\n isSilent: isSilent,\n actionFn: onCancel,\n close: (...args) => {\n close?.(...args);\n onConfirm?.(false);\n onClose?.();\n },\n autoFocus: autoFocusButton === 'cancel',\n buttonProps: cancelButtonProps,\n prefixCls: `${rootPrefixCls}-btn`\n }, cancelTextLocale)) : null;\n};\nexport default ConfirmCancelBtn;","\"use client\";\n\nimport React, { useContext } from 'react';\nimport ActionButton from '../../_util/ActionButton';\nimport { ModalContext } from '../context';\nconst ConfirmOkBtn = () => {\n const {\n autoFocusButton,\n close,\n isSilent,\n okButtonProps,\n rootPrefixCls,\n okTextLocale,\n okType,\n onConfirm,\n onOk,\n onClose\n } = useContext(ModalContext);\n return /*#__PURE__*/React.createElement(ActionButton, {\n isSilent: isSilent,\n type: okType || 'primary',\n actionFn: onOk,\n close: (...args) => {\n close?.(...args);\n onConfirm?.(true);\n onClose?.();\n },\n autoFocus: autoFocusButton === 'ok',\n buttonProps: okButtonProps,\n prefixCls: `${rootPrefixCls}-btn`\n }, okTextLocale);\n};\nexport default ConfirmOkBtn;","import * as React from 'react';\nexport const RefContext = /*#__PURE__*/React.createContext({});","// =============================== Motion ===============================\nexport function getMotionName(prefixCls, transitionName, animationName) {\n let motionName = transitionName;\n if (!motionName && animationName) {\n motionName = `${prefixCls}-${animationName}`;\n }\n return motionName;\n}\n\n// =============================== Offset ===============================\nfunction getScroll(w, top) {\n let ret = w[`page${top ? 'Y' : 'X'}Offset`];\n const method = `scroll${top ? 'Top' : 'Left'}`;\n if (typeof ret !== 'number') {\n const d = w.document;\n ret = d.documentElement[method];\n if (typeof ret !== 'number') {\n ret = d.body[method];\n }\n }\n return ret;\n}\nexport function offset(el) {\n const rect = el.getBoundingClientRect();\n const pos = {\n left: rect.left,\n top: rect.top\n };\n const doc = el.ownerDocument;\n const w = doc.defaultView || doc.parentWindow;\n pos.left += getScroll(w);\n pos.top += getScroll(w, true);\n return pos;\n}","import * as React from 'react';\nexport default /*#__PURE__*/React.memo(({\n children\n}) => children, (_, {\n shouldUpdate\n}) => !shouldUpdate);","function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport { clsx } from 'clsx';\nimport { useComposeRef } from \"@rc-component/util/es/ref\";\nimport React, { useMemo, useRef } from 'react';\nimport { RefContext } from \"../../context\";\nimport MemoChildren from \"./MemoChildren\";\nimport pickAttrs from \"@rc-component/util/es/pickAttrs\";\nconst sentinelStyle = {\n width: 0,\n height: 0,\n overflow: 'hidden',\n outline: 'none'\n};\nconst entityStyle = {\n outline: 'none'\n};\nconst Panel = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls,\n className,\n style,\n title,\n ariaId,\n footer,\n closable,\n closeIcon,\n onClose,\n children,\n bodyStyle,\n bodyProps,\n modalRender,\n onMouseDown,\n onMouseUp,\n holderRef,\n visible,\n forceRender,\n width,\n height,\n classNames: modalClassNames,\n styles: modalStyles\n } = props;\n\n // ================================= Refs =================================\n const {\n panel: panelRef\n } = React.useContext(RefContext);\n const mergedRef = useComposeRef(holderRef, panelRef);\n const sentinelStartRef = useRef(null);\n const sentinelEndRef = useRef(null);\n React.useImperativeHandle(ref, () => ({\n focus: () => {\n sentinelStartRef.current?.focus({\n preventScroll: true\n });\n },\n changeActive: next => {\n const {\n activeElement\n } = document;\n if (next && activeElement === sentinelEndRef.current) {\n sentinelStartRef.current.focus({\n preventScroll: true\n });\n } else if (!next && activeElement === sentinelStartRef.current) {\n sentinelEndRef.current.focus({\n preventScroll: true\n });\n }\n }\n }));\n\n // ================================ Style =================================\n const contentStyle = {};\n if (width !== undefined) {\n contentStyle.width = width;\n }\n if (height !== undefined) {\n contentStyle.height = height;\n }\n // ================================ Render ================================\n const footerNode = footer ? /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(`${prefixCls}-footer`, modalClassNames?.footer),\n style: {\n ...modalStyles?.footer\n }\n }, footer) : null;\n const headerNode = title ? /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(`${prefixCls}-header`, modalClassNames?.header),\n style: {\n ...modalStyles?.header\n }\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(`${prefixCls}-title`, modalClassNames?.title),\n id: ariaId,\n style: {\n ...modalStyles?.title\n }\n }, title)) : null;\n const closableObj = useMemo(() => {\n if (typeof closable === 'object' && closable !== null) {\n return closable;\n }\n if (closable) {\n return {\n closeIcon: closeIcon ?? /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-close-x`\n })\n };\n }\n return {};\n }, [closable, closeIcon, prefixCls]);\n const ariaProps = pickAttrs(closableObj, true);\n const closeBtnIsDisabled = typeof closable === 'object' && closable.disabled;\n const closerNode = closable ? /*#__PURE__*/React.createElement(\"button\", _extends({\n type: \"button\",\n onClick: onClose,\n \"aria-label\": \"Close\"\n }, ariaProps, {\n className: `${prefixCls}-close`,\n disabled: closeBtnIsDisabled\n }), closableObj.closeIcon) : null;\n const content = /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(`${prefixCls}-container`, modalClassNames?.container),\n style: modalStyles?.container\n }, closerNode, headerNode, /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(`${prefixCls}-body`, modalClassNames?.body),\n style: {\n ...bodyStyle,\n ...modalStyles?.body\n }\n }, bodyProps), children), footerNode);\n return /*#__PURE__*/React.createElement(\"div\", {\n key: \"dialog-element\",\n role: \"dialog\",\n \"aria-labelledby\": title ? ariaId : null,\n \"aria-modal\": \"true\",\n ref: mergedRef,\n style: {\n ...style,\n ...contentStyle\n },\n className: clsx(prefixCls, className),\n onMouseDown: onMouseDown,\n onMouseUp: onMouseUp\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: sentinelStartRef,\n tabIndex: 0,\n style: entityStyle\n }, /*#__PURE__*/React.createElement(MemoChildren, {\n shouldUpdate: visible || forceRender\n }, modalRender ? modalRender(content) : content)), /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelEndRef,\n style: sentinelStyle\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Panel.displayName = 'Panel';\n}\nexport default Panel;","function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport * as React from 'react';\nimport { useRef } from 'react';\nimport { clsx } from 'clsx';\nimport CSSMotion from '@rc-component/motion';\nimport { offset } from \"../../util\";\nimport Panel from \"./Panel\";\nconst Content = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls,\n title,\n style,\n className,\n visible,\n forceRender,\n destroyOnHidden,\n motionName,\n ariaId,\n onVisibleChanged,\n mousePosition\n } = props;\n const dialogRef = useRef(null);\n const panelRef = useRef(null);\n\n // ============================== Refs ==============================\n React.useImperativeHandle(ref, () => ({\n ...panelRef.current,\n inMotion: dialogRef.current.inMotion,\n enableMotion: dialogRef.current.enableMotion\n }));\n\n // ============================= Style ==============================\n const [transformOrigin, setTransformOrigin] = React.useState();\n const contentStyle = {};\n if (transformOrigin) {\n contentStyle.transformOrigin = transformOrigin;\n }\n function onPrepare() {\n const elementOffset = offset(dialogRef.current.nativeElement);\n setTransformOrigin(mousePosition && (mousePosition.x || mousePosition.y) ? `${mousePosition.x - elementOffset.left}px ${mousePosition.y - elementOffset.top}px` : '');\n }\n\n // ============================= Render =============================\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: visible,\n onVisibleChanged: onVisibleChanged,\n onAppearPrepare: onPrepare,\n onEnterPrepare: onPrepare,\n forceRender: forceRender,\n motionName: motionName,\n removeOnLeave: destroyOnHidden,\n ref: dialogRef\n }, ({\n className: motionClassName,\n style: motionStyle\n }, motionRef) => /*#__PURE__*/React.createElement(Panel, _extends({}, props, {\n ref: panelRef,\n title: title,\n ariaId: ariaId,\n prefixCls: prefixCls,\n holderRef: motionRef,\n style: {\n ...motionStyle,\n ...style,\n ...contentStyle\n },\n className: clsx(className, motionClassName)\n })));\n});\nif (process.env.NODE_ENV !== 'production') {\n Content.displayName = 'Content';\n}\nexport default Content;","function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport * as React from 'react';\nimport { clsx } from 'clsx';\nimport CSSMotion from '@rc-component/motion';\nconst Mask = props => {\n const {\n prefixCls,\n style,\n visible,\n maskProps,\n motionName,\n className\n } = props;\n return /*#__PURE__*/React.createElement(CSSMotion, {\n key: \"mask\",\n visible: visible,\n motionName: motionName,\n leavedClassName: `${prefixCls}-mask-hidden`\n }, ({\n className: motionClassName,\n style: motionStyle\n }, ref) => /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: ref,\n style: {\n ...motionStyle,\n ...style\n },\n className: clsx(`${prefixCls}-mask`, motionClassName, className)\n }, maskProps)));\n};\nexport default Mask;","function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport { clsx } from 'clsx';\nimport contains from \"@rc-component/util/es/Dom/contains\";\nimport useId from \"@rc-component/util/es/hooks/useId\";\nimport KeyCode from \"@rc-component/util/es/KeyCode\";\nimport pickAttrs from \"@rc-component/util/es/pickAttrs\";\nimport * as React from 'react';\nimport { useEffect, useRef } from 'react';\nimport { getMotionName } from \"../util\";\nimport Content from \"./Content\";\nimport Mask from \"./Mask\";\nimport { warning } from \"@rc-component/util/es/warning\";\nconst Dialog = props => {\n const {\n prefixCls = 'rc-dialog',\n zIndex,\n visible = false,\n keyboard = true,\n focusTriggerAfterClose = true,\n // scrollLocker,\n // Wrapper\n wrapStyle,\n wrapClassName,\n wrapProps,\n onClose,\n afterOpenChange,\n afterClose,\n // Dialog\n transitionName,\n animation,\n closable = true,\n // Mask\n mask = true,\n maskTransitionName,\n maskAnimation,\n maskClosable = true,\n maskStyle,\n maskProps,\n rootClassName,\n rootStyle,\n classNames: modalClassNames,\n styles: modalStyles\n } = props;\n if (process.env.NODE_ENV !== 'production') {\n ['wrapStyle', 'bodyStyle', 'maskStyle'].forEach(prop => {\n // (prop in props) && console.error(`Warning: ${prop} is deprecated, please use styles instead.`)\n warning(!(prop in props), `${prop} is deprecated, please use styles instead.`);\n });\n if ('wrapClassName' in props) {\n warning(false, `wrapClassName is deprecated, please use classNames instead.`);\n }\n }\n const lastOutSideActiveElementRef = useRef(null);\n const wrapperRef = useRef(null);\n const contentRef = useRef(null);\n const [animatedVisible, setAnimatedVisible] = React.useState(visible);\n\n // ========================== Init ==========================\n const ariaId = useId();\n function saveLastOutSideActiveElementRef() {\n if (!contains(wrapperRef.current, document.activeElement)) {\n lastOutSideActiveElementRef.current = document.activeElement;\n }\n }\n function focusDialogContent() {\n if (!contains(wrapperRef.current, document.activeElement)) {\n contentRef.current?.focus();\n }\n }\n\n // ========================= Events =========================\n // Close action will trigger by:\n // 1. When hide motion end\n // 2. Controlled `open` to `false` immediately after set to `true` which will not trigger motion\n function doClose() {\n // Clean up scroll bar & focus back\n setAnimatedVisible(false);\n if (mask && lastOutSideActiveElementRef.current && focusTriggerAfterClose) {\n try {\n lastOutSideActiveElementRef.current.focus({\n preventScroll: true\n });\n } catch (e) {\n // Do nothing\n }\n lastOutSideActiveElementRef.current = null;\n }\n\n // Trigger afterClose only when change visible from true to false\n if (animatedVisible) {\n afterClose?.();\n }\n }\n function onDialogVisibleChanged(newVisible) {\n // Try to focus\n if (newVisible) {\n focusDialogContent();\n } else {\n doClose();\n }\n afterOpenChange?.(newVisible);\n }\n function onInternalClose(e) {\n onClose?.(e);\n }\n\n // >>> Content\n const contentClickRef = useRef(false);\n const contentTimeoutRef = useRef(null);\n\n // We need record content click incase content popup out of dialog\n const onContentMouseDown = () => {\n clearTimeout(contentTimeoutRef.current);\n contentClickRef.current = true;\n };\n const onContentMouseUp = () => {\n contentTimeoutRef.current = setTimeout(() => {\n contentClickRef.current = false;\n });\n };\n\n // >>> Wrapper\n // Close only when element not on dialog\n let onWrapperClick = null;\n if (maskClosable) {\n onWrapperClick = e => {\n if (contentClickRef.current) {\n contentClickRef.current = false;\n } else if (wrapperRef.current === e.target) {\n onInternalClose(e);\n }\n };\n }\n function onWrapperKeyDown(e) {\n if (keyboard && e.keyCode === KeyCode.ESC) {\n e.stopPropagation();\n onInternalClose(e);\n return;\n }\n\n // keep focus inside dialog\n if (visible && e.keyCode === KeyCode.TAB) {\n contentRef.current.changeActive(!e.shiftKey);\n }\n }\n\n // ========================= Effect =========================\n useEffect(() => {\n if (visible) {\n setAnimatedVisible(true);\n saveLastOutSideActiveElementRef();\n } else if (animatedVisible && contentRef.current.enableMotion() && !contentRef.current.inMotion()) {\n doClose();\n }\n }, [visible]);\n\n // Remove direct should also check the scroll bar update\n useEffect(() => () => {\n clearTimeout(contentTimeoutRef.current);\n }, []);\n const mergedStyle = {\n zIndex,\n ...wrapStyle,\n ...modalStyles?.wrapper,\n display: !animatedVisible ? 'none' : null\n };\n\n // ========================= Render =========================\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(`${prefixCls}-root`, rootClassName),\n style: rootStyle\n }, pickAttrs(props, {\n data: true\n })), /*#__PURE__*/React.createElement(Mask, {\n prefixCls: prefixCls,\n visible: mask && visible,\n motionName: getMotionName(prefixCls, maskTransitionName, maskAnimation),\n style: {\n zIndex,\n ...maskStyle,\n ...modalStyles?.mask\n },\n maskProps: maskProps,\n className: modalClassNames?.mask\n }), /*#__PURE__*/React.createElement(\"div\", _extends({\n tabIndex: -1,\n onKeyDown: onWrapperKeyDown,\n className: clsx(`${prefixCls}-wrap`, wrapClassName, modalClassNames?.wrapper),\n ref: wrapperRef,\n onClick: onWrapperClick,\n style: mergedStyle\n }, wrapProps), /*#__PURE__*/React.createElement(Content, _extends({}, props, {\n onMouseDown: onContentMouseDown,\n onMouseUp: onContentMouseUp,\n ref: contentRef,\n closable: closable,\n ariaId: ariaId,\n prefixCls: prefixCls,\n visible: visible && animatedVisible,\n onClose: onInternalClose,\n onVisibleChanged: onDialogVisibleChanged,\n motionName: getMotionName(prefixCls, transitionName, animation)\n }))));\n};\nexport default Dialog;","function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }\nimport Portal from '@rc-component/portal';\nimport * as React from 'react';\nimport { RefContext } from \"./context\";\nimport Dialog from \"./Dialog\";\n// fix issue #10656\n/*\n * getContainer remarks\n * Custom container should not be return, because in the Portal component, it will remove the\n * return container element here, if the custom container is the only child of it's component,\n * like issue #10656, It will has a conflict with removeChild method in react-dom.\n * So here should add a child (div element) to custom container.\n * */\n\nconst DialogWrap = props => {\n const {\n visible,\n getContainer,\n forceRender,\n destroyOnHidden = false,\n afterClose,\n closable,\n panelRef\n } = props;\n const [animatedVisible, setAnimatedVisible] = React.useState(visible);\n const refContext = React.useMemo(() => ({\n panel: panelRef\n }), [panelRef]);\n React.useEffect(() => {\n if (visible) {\n setAnimatedVisible(true);\n }\n }, [visible]);\n\n // Destroy on close will remove wrapped div\n if (!forceRender && destroyOnHidden && !animatedVisible) {\n return null;\n }\n return /*#__PURE__*/React.createElement(RefContext.Provider, {\n value: refContext\n }, /*#__PURE__*/React.createElement(Portal, {\n open: visible || forceRender || animatedVisible,\n autoDestroy: false,\n getContainer: getContainer,\n autoLock: visible || animatedVisible\n }, /*#__PURE__*/React.createElement(Dialog, _extends({}, props, {\n destroyOnHidden: destroyOnHidden,\n afterClose: () => {\n const closableObj = closable && typeof closable === 'object' ? closable : {};\n const {\n afterClose: closableAfterClose\n } = closableObj || {};\n closableAfterClose?.();\n afterClose?.();\n setAnimatedVisible(false);\n }\n }))));\n};\nif (process.env.NODE_ENV !== 'production') {\n DialogWrap.displayName = 'Dialog';\n}\nexport default DialogWrap;","import DialogWrap from \"./DialogWrap\";\nimport Panel from \"./Dialog/Content/Panel\";\nexport { Panel };\nexport default DialogWrap;","import * as React from 'react';\nimport { useEvent } from '@rc-component/util';\nfunction voidFunc() {}\nconst WatermarkContext = /*#__PURE__*/React.createContext({\n add: voidFunc,\n remove: voidFunc\n});\nexport function usePanelRef(panelSelector) {\n const watermark = React.useContext(WatermarkContext);\n const panelEleRef = React.useRef(null);\n const panelRef = useEvent(ele => {\n if (ele) {\n const innerContentEle = panelSelector ? ele.querySelector(panelSelector) : ele;\n if (innerContentEle) {\n watermark.add(innerContentEle);\n panelEleRef.current = innerContentEle;\n }\n } else {\n watermark.remove(panelEleRef.current);\n }\n });\n return panelRef;\n}\nexport default WatermarkContext;","\"use client\";\n\nimport React, { useContext } from 'react';\nimport Button from '../../button/Button';\nimport { ModalContext } from '../context';\nconst NormalCancelBtn = () => {\n const {\n cancelButtonProps,\n cancelTextLocale,\n onCancel\n } = useContext(ModalContext);\n return /*#__PURE__*/React.createElement(Button, {\n onClick: onCancel,\n ...cancelButtonProps\n }, cancelTextLocale);\n};\nexport default NormalCancelBtn;","\"use client\";\n\nimport React, { useContext } from 'react';\nimport Button from '../../button/Button';\nimport { convertLegacyProps } from '../../button/buttonHelpers';\nimport { ModalContext } from '../context';\nconst NormalOkBtn = () => {\n const {\n confirmLoading,\n okButtonProps,\n okType,\n okTextLocale,\n onOk\n } = useContext(ModalContext);\n return /*#__PURE__*/React.createElement(Button, {\n ...convertLegacyProps(okType),\n loading: confirmLoading,\n onClick: onOk,\n ...okButtonProps\n }, okTextLocale);\n};\nexport default NormalOkBtn;","\"use client\";\n\nimport React from 'react';\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport { DisabledContextProvider } from '../config-provider/DisabledContext';\nimport { useLocale } from '../locale';\nimport NormalCancelBtn from './components/NormalCancelBtn';\nimport NormalOkBtn from './components/NormalOkBtn';\nimport { ModalContextProvider } from './context';\nimport { getConfirmLocale } from './locale';\nexport function renderCloseIcon(prefixCls, closeIcon) {\n return /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-close-x`\n }, closeIcon || /*#__PURE__*/React.createElement(CloseOutlined, {\n className: `${prefixCls}-close-icon`\n }));\n}\nexport const Footer = props => {\n const {\n okText,\n okType = 'primary',\n cancelText,\n confirmLoading,\n onOk,\n onCancel,\n okButtonProps,\n cancelButtonProps,\n footer\n } = props;\n const [locale] = useLocale('Modal', getConfirmLocale());\n // ================== Locale Text ==================\n const okTextLocale = okText || locale?.okText;\n const cancelTextLocale = cancelText || locale?.cancelText;\n const memoizedValue = React.useMemo(() => {\n return {\n confirmLoading,\n okButtonProps,\n cancelButtonProps,\n okTextLocale,\n cancelTextLocale,\n okType,\n onOk,\n onCancel\n };\n }, [confirmLoading, okButtonProps, cancelButtonProps, okTextLocale, cancelTextLocale, okType, onOk, onCancel]);\n let footerNode;\n if (typeof footer === 'function' || typeof footer === 'undefined') {\n footerNode = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(NormalCancelBtn, null), /*#__PURE__*/React.createElement(NormalOkBtn, null));\n if (typeof footer === 'function') {\n footerNode = footer(footerNode, {\n OkBtn: NormalOkBtn,\n CancelBtn: NormalCancelBtn\n });\n }\n footerNode = /*#__PURE__*/React.createElement(ModalContextProvider, {\n value: memoizedValue\n }, footerNode);\n } else {\n footerNode = footer;\n }\n return /*#__PURE__*/React.createElement(DisabledContextProvider, {\n disabled: false\n }, footerNode);\n};","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport { unit } from '@ant-design/cssinjs';\nimport { getMediaSize } from '../../grid/style';\nimport { genFocusStyle, resetComponent } from '../../style';\nimport { initFadeMotion, initZoomMotion } from '../../style/motion';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nfunction box(position) {\n return {\n position,\n inset: 0\n };\n}\nexport const genModalMaskStyle = token => {\n const {\n componentCls,\n antCls\n } = token;\n return [{\n [`${componentCls}-root`]: {\n [`${componentCls}${antCls}-zoom-enter, ${componentCls}${antCls}-zoom-appear`]: {\n // reset scale avoid mousePosition bug\n transform: 'none',\n opacity: 0,\n animationDuration: token.motionDurationSlow,\n // https://github.com/ant-design/ant-design/issues/11777\n userSelect: 'none'\n },\n // https://github.com/ant-design/ant-design/issues/37329\n // https://github.com/ant-design/ant-design/issues/40272\n [`${componentCls}${antCls}-zoom-leave ${componentCls}-container`]: {\n pointerEvents: 'none'\n },\n [`${componentCls}-mask`]: {\n ...box('fixed'),\n zIndex: token.zIndexPopupBase,\n height: '100%',\n backgroundColor: token.colorBgMask,\n pointerEvents: 'none',\n [`&${componentCls}-mask-blur`]: {\n backdropFilter: 'blur(4px)'\n },\n [`${componentCls}-hidden`]: {\n display: 'none'\n }\n },\n [`${componentCls}-wrap`]: {\n ...box('fixed'),\n zIndex: token.zIndexPopupBase,\n overflow: 'auto',\n outline: 0,\n WebkitOverflowScrolling: 'touch'\n }\n }\n }, {\n [`${componentCls}-root`]: initFadeMotion(token)\n }];\n};\nconst genModalStyle = token => {\n const {\n componentCls\n } = token;\n return [\n // ======================== Root =========================\n {\n [`${componentCls}-root`]: {\n [`${componentCls}-wrap-rtl`]: {\n direction: 'rtl'\n },\n [`${componentCls}-centered`]: {\n textAlign: 'center',\n '&::before': {\n display: 'inline-block',\n width: 0,\n height: '100%',\n verticalAlign: 'middle',\n content: '\"\"'\n },\n [componentCls]: {\n top: 0,\n display: 'inline-block',\n paddingBottom: 0,\n textAlign: 'start',\n verticalAlign: 'middle'\n }\n },\n [`@media (max-width: ${token.screenSMMax}px)`]: {\n [componentCls]: {\n maxWidth: 'calc(100vw - 16px)',\n margin: `${unit(token.marginXS)} auto`\n },\n [`${componentCls}-centered`]: {\n [componentCls]: {\n flex: 1\n }\n }\n }\n }\n },\n // ======================== Modal ========================\n {\n [componentCls]: {\n ...resetComponent(token),\n pointerEvents: 'none',\n position: 'relative',\n top: 100,\n width: 'auto',\n maxWidth: `calc(100vw - ${unit(token.calc(token.margin).mul(2).equal())})`,\n margin: '0 auto',\n paddingBottom: token.paddingLG,\n [`${componentCls}-title`]: {\n margin: 0,\n color: token.titleColor,\n fontWeight: token.fontWeightStrong,\n fontSize: token.titleFontSize,\n lineHeight: token.titleLineHeight,\n wordWrap: 'break-word'\n },\n [`${componentCls}-container`]: {\n position: 'relative',\n backgroundColor: token.contentBg,\n backgroundClip: 'padding-box',\n border: 0,\n borderRadius: token.borderRadiusLG,\n boxShadow: token.boxShadow,\n pointerEvents: 'auto',\n padding: token.contentPadding\n },\n [`${componentCls}-close`]: {\n position: 'absolute',\n top: token.calc(token.modalHeaderHeight).sub(token.modalCloseBtnSize).div(2).equal(),\n insetInlineEnd: token.calc(token.modalHeaderHeight).sub(token.modalCloseBtnSize).div(2).equal(),\n zIndex: token.calc(token.zIndexPopupBase).add(10).equal(),\n padding: 0,\n color: token.modalCloseIconColor,\n fontWeight: token.fontWeightStrong,\n lineHeight: 1,\n textDecoration: 'none',\n background: 'transparent',\n borderRadius: token.borderRadiusSM,\n width: token.modalCloseBtnSize,\n height: token.modalCloseBtnSize,\n border: 0,\n outline: 0,\n cursor: 'pointer',\n transition: `color ${token.motionDurationMid}, background-color ${token.motionDurationMid}`,\n '&-x': {\n display: 'flex',\n fontSize: token.fontSizeLG,\n fontStyle: 'normal',\n lineHeight: unit(token.modalCloseBtnSize),\n justifyContent: 'center',\n textTransform: 'none',\n textRendering: 'auto'\n },\n '&:disabled': {\n pointerEvents: 'none'\n },\n '&:hover': {\n color: token.modalCloseIconHoverColor,\n backgroundColor: token.colorBgTextHover,\n textDecoration: 'none'\n },\n '&:active': {\n backgroundColor: token.colorBgTextActive\n },\n ...genFocusStyle(token)\n },\n [`${componentCls}-header`]: {\n color: token.colorText,\n background: token.headerBg,\n borderRadius: `${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)} 0 0`,\n marginBottom: token.headerMarginBottom,\n padding: token.headerPadding,\n borderBottom: token.headerBorderBottom\n },\n [`${componentCls}-body`]: {\n fontSize: token.fontSize,\n lineHeight: token.lineHeight,\n wordWrap: 'break-word',\n padding: token.bodyPadding,\n [`${componentCls}-body-skeleton`]: {\n width: '100%',\n height: '100%',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n margin: `${unit(token.margin)} auto`\n }\n },\n [`${componentCls}-footer`]: {\n textAlign: 'end',\n background: token.footerBg,\n marginTop: token.footerMarginTop,\n padding: token.footerPadding,\n borderTop: token.footerBorderTop,\n borderRadius: token.footerBorderRadius,\n [`> ${token.antCls}-btn + ${token.antCls}-btn`]: {\n marginInlineStart: token.marginXS\n }\n },\n [`${componentCls}-open`]: {\n overflow: 'hidden'\n }\n }\n },\n // ======================== Pure =========================\n {\n [`${componentCls}-pure-panel`]: {\n top: 'auto',\n padding: 0,\n display: 'flex',\n flexDirection: 'column',\n [`${componentCls}-container,\n ${componentCls}-body,\n ${componentCls}-confirm-body-wrapper`]: {\n display: 'flex',\n flexDirection: 'column',\n flex: 'auto'\n },\n [`${componentCls}-confirm-body`]: {\n marginBottom: 'auto'\n }\n }\n }];\n};\nconst genRTLStyle = token => {\n const {\n componentCls\n } = token;\n return {\n [`${componentCls}-root`]: {\n [`${componentCls}-wrap-rtl`]: {\n direction: 'rtl',\n [`${componentCls}-confirm-body`]: {\n direction: 'rtl'\n }\n }\n }\n };\n};\nconst genResponsiveWidthStyle = token => {\n const {\n componentCls\n } = token;\n const oriGridMediaSizesMap = getMediaSize(token);\n const gridMediaSizesMap = {\n ...oriGridMediaSizesMap\n };\n delete gridMediaSizesMap.xs;\n const cssVarPrefix = `--${componentCls.replace('.', '')}-`;\n const responsiveStyles = Object.keys(gridMediaSizesMap).map(key => ({\n [`@media (min-width: ${unit(gridMediaSizesMap[key])})`]: {\n width: `var(${cssVarPrefix}${key}-width)`\n }\n }));\n return {\n [`${componentCls}-root`]: {\n [componentCls]: [].concat(_toConsumableArray(Object.keys(oriGridMediaSizesMap).map((currentKey, index) => {\n const previousKey = Object.keys(oriGridMediaSizesMap)[index - 1];\n return previousKey ? {\n [`${cssVarPrefix}${currentKey}-width`]: `var(${cssVarPrefix}${previousKey}-width)`\n } : null;\n })), [{\n width: `var(${cssVarPrefix}xs-width)`\n }], _toConsumableArray(responsiveStyles))\n }\n };\n};\n// ============================== Export ==============================\nexport const prepareToken = token => {\n const headerPaddingVertical = token.padding;\n const headerFontSize = token.fontSizeHeading5;\n const headerLineHeight = token.lineHeightHeading5;\n const modalToken = mergeToken(token, {\n modalHeaderHeight: token.calc(token.calc(headerLineHeight).mul(headerFontSize).equal()).add(token.calc(headerPaddingVertical).mul(2).equal()).equal(),\n modalFooterBorderColorSplit: token.colorSplit,\n modalFooterBorderStyle: token.lineType,\n modalFooterBorderWidth: token.lineWidth,\n modalCloseIconColor: token.colorIcon,\n modalCloseIconHoverColor: token.colorIconHover,\n modalCloseBtnSize: token.controlHeight,\n modalConfirmIconSize: token.fontHeight,\n modalTitleHeight: token.calc(token.titleFontSize).mul(token.titleLineHeight).equal()\n });\n return modalToken;\n};\nexport const prepareComponentToken = token => ({\n footerBg: 'transparent',\n headerBg: 'transparent',\n titleLineHeight: token.lineHeightHeading5,\n titleFontSize: token.fontSizeHeading5,\n contentBg: token.colorBgElevated,\n titleColor: token.colorTextHeading,\n // internal\n contentPadding: token.wireframe ? 0 : `${unit(token.paddingMD)} ${unit(token.paddingContentHorizontalLG)}`,\n headerPadding: token.wireframe ? `${unit(token.padding)} ${unit(token.paddingLG)}` : 0,\n headerBorderBottom: token.wireframe ? `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}` : 'none',\n headerMarginBottom: token.wireframe ? 0 : token.marginXS,\n bodyPadding: token.wireframe ? token.paddingLG : 0,\n footerPadding: token.wireframe ? `${unit(token.paddingXS)} ${unit(token.padding)}` : 0,\n footerBorderTop: token.wireframe ? `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}` : 'none',\n footerBorderRadius: token.wireframe ? `0 0 ${unit(token.borderRadiusLG)} ${unit(token.borderRadiusLG)}` : 0,\n footerMarginTop: token.wireframe ? 0 : token.marginSM,\n confirmBodyPadding: token.wireframe ? `${unit(token.padding * 2)} ${unit(token.padding * 2)} ${unit(token.paddingLG)}` : 0,\n confirmIconMarginInlineEnd: token.wireframe ? token.margin : token.marginSM,\n confirmBtnsMarginTop: token.wireframe ? token.marginLG : token.marginSM,\n mask: true\n});\nexport default genStyleHooks('Modal', token => {\n const modalToken = prepareToken(token);\n return [genModalStyle(modalToken), genRTLStyle(modalToken), genModalMaskStyle(modalToken), initZoomMotion(modalToken, 'zoom'), genResponsiveWidthStyle(modalToken)];\n}, prepareComponentToken, {\n unitless: {\n titleLineHeight: true\n }\n});","\"use client\";\n\nimport * as React from 'react';\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport Dialog from '@rc-component/dialog';\nimport { composeRef } from \"@rc-component/util/es/ref\";\nimport { clsx } from 'clsx';\nimport ContextIsolator from '../_util/ContextIsolator';\nimport { pickClosable, useClosable, useMergedMask, useMergeSemantic, useZIndex } from '../_util/hooks';\nimport { getTransitionName } from '../_util/motion';\nimport { canUseDocElement } from '../_util/styleChecker';\nimport { devUseWarning } from '../_util/warning';\nimport zIndexContext from '../_util/zindexContext';\nimport { ConfigContext } from '../config-provider';\nimport { useComponentConfig } from '../config-provider/context';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport Skeleton from '../skeleton';\nimport { usePanelRef } from '../watermark/context';\nimport { Footer, renderCloseIcon } from './shared';\nimport useStyle from './style';\nlet mousePosition;\n// ref: https://github.com/ant-design/ant-design/issues/15795\nconst getClickPosition = e => {\n mousePosition = {\n x: e.pageX,\n y: e.pageY\n };\n // 100ms 内发生过点击事件,则从点击位置动画展示\n // 否则直接 zoom 展示\n // 这样可以兼容非点击方式展开\n setTimeout(() => {\n mousePosition = null;\n }, 100);\n};\n// 只有点击事件支持从鼠标位置动画展开\nif (canUseDocElement()) {\n document.documentElement.addEventListener('click', getClickPosition, true);\n}\nconst Modal = props => {\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n open,\n wrapClassName,\n centered,\n getContainer,\n focusTriggerAfterClose = true,\n style,\n width = 520,\n footer,\n classNames,\n styles,\n children,\n loading,\n confirmLoading,\n zIndex: customizeZIndex,\n mousePosition: customizeMousePosition,\n onOk,\n onCancel,\n okButtonProps,\n cancelButtonProps,\n destroyOnHidden,\n destroyOnClose,\n panelRef = null,\n closable,\n mask: modalMask,\n modalRender,\n ...restProps\n } = props;\n const {\n getPopupContainer: getContextPopupContainer,\n getPrefixCls,\n direction,\n className: contextClassName,\n style: contextStyle,\n classNames: contextClassNames,\n styles: contextStyles,\n centered: contextCentered,\n cancelButtonProps: contextCancelButtonProps,\n okButtonProps: contextOkButtonProps,\n mask: contextMask\n } = useComponentConfig('modal');\n const {\n modal: modalContext\n } = React.useContext(ConfigContext);\n const [closableAfterclose, onClose] = React.useMemo(() => {\n if (typeof closable === 'boolean') {\n return [undefined, undefined];\n }\n return [closable?.afterClose, closable?.onClose];\n }, [closable]);\n const prefixCls = getPrefixCls('modal', customizePrefixCls);\n const rootPrefixCls = getPrefixCls();\n const [mergedMask, maskBlurClassName] = useMergedMask(modalMask, contextMask, prefixCls);\n const handleCancel = e => {\n if (confirmLoading) {\n return;\n }\n onCancel?.(e);\n onClose?.();\n };\n const handleOk = e => {\n onOk?.(e);\n onClose?.();\n };\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Modal');\n [['bodyStyle', 'styles.body'], ['maskStyle', 'styles.mask'], ['destroyOnClose', 'destroyOnHidden']].forEach(([deprecatedName, newName]) => {\n warning.deprecated(!(deprecatedName in props), deprecatedName, newName);\n });\n }\n // Style\n const rootCls = useCSSVarCls(prefixCls);\n const [hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const wrapClassNameExtended = clsx(wrapClassName, {\n [`${prefixCls}-centered`]: centered ?? contextCentered,\n [`${prefixCls}-wrap-rtl`]: direction === 'rtl'\n });\n const dialogFooter = footer !== null && !loading ? (/*#__PURE__*/React.createElement(Footer, {\n ...props,\n okButtonProps: {\n ...contextOkButtonProps,\n ...okButtonProps\n },\n onOk: handleOk,\n cancelButtonProps: {\n ...contextCancelButtonProps,\n ...cancelButtonProps\n },\n onCancel: handleCancel\n })) : null;\n const [rawClosable, mergedCloseIcon, closeBtnIsDisabled, ariaProps] = useClosable(pickClosable(props), pickClosable(modalContext), {\n closable: true,\n closeIcon: /*#__PURE__*/React.createElement(CloseOutlined, {\n className: `${prefixCls}-close-icon`\n }),\n closeIconRender: icon => renderCloseIcon(prefixCls, icon)\n });\n const mergedClosable = rawClosable ? {\n disabled: closeBtnIsDisabled,\n closeIcon: mergedCloseIcon,\n afterClose: closableAfterclose,\n ...ariaProps\n } : false;\n // ============================ modalRender ============================\n const mergedModalRender = modalRender ? node => /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-render`\n }, modalRender(node)) : undefined;\n // ============================ Refs ============================\n // Select `ant-modal-container` by `panelRef`\n const panelClassName = `.${prefixCls}-${modalRender ? 'render' : 'container'}`;\n const innerPanelRef = usePanelRef(panelClassName);\n const mergedPanelRef = composeRef(panelRef, innerPanelRef);\n // ============================ zIndex ============================\n const [zIndex, contextZIndex] = useZIndex('Modal', customizeZIndex);\n const mergedProps = {\n ...props,\n width,\n panelRef,\n focusTriggerAfterClose,\n mask: mergedMask,\n zIndex\n };\n const [mergedClassNames, mergedStyles] = useMergeSemantic([contextClassNames, classNames, maskBlurClassName], [contextStyles, styles], {\n props: mergedProps\n });\n // =========================== Width ============================\n const [numWidth, responsiveWidth] = React.useMemo(() => {\n if (width && typeof width === 'object') {\n return [undefined, width];\n }\n return [width, undefined];\n }, [width]);\n const responsiveWidthVars = React.useMemo(() => {\n const vars = {};\n if (responsiveWidth) {\n Object.keys(responsiveWidth).forEach(breakpoint => {\n const breakpointWidth = responsiveWidth[breakpoint];\n if (breakpointWidth !== undefined) {\n vars[`--${prefixCls}-${breakpoint}-width`] = typeof breakpointWidth === 'number' ? `${breakpointWidth}px` : breakpointWidth;\n }\n });\n }\n return vars;\n }, [prefixCls, responsiveWidth]);\n // =========================== Render ===========================\n return /*#__PURE__*/React.createElement(ContextIsolator, {\n form: true,\n space: true\n }, /*#__PURE__*/React.createElement(zIndexContext.Provider, {\n value: contextZIndex\n }, /*#__PURE__*/React.createElement(Dialog, {\n width: numWidth,\n ...restProps,\n zIndex: zIndex,\n getContainer: getContainer === undefined ? getContextPopupContainer : getContainer,\n prefixCls: prefixCls,\n rootClassName: clsx(hashId, rootClassName, cssVarCls, rootCls, mergedClassNames.root),\n rootStyle: mergedStyles.root,\n footer: dialogFooter,\n visible: open,\n mousePosition: customizeMousePosition ?? mousePosition,\n onClose: handleCancel,\n closable: mergedClosable,\n closeIcon: mergedCloseIcon,\n focusTriggerAfterClose: focusTriggerAfterClose,\n transitionName: getTransitionName(rootPrefixCls, 'zoom', props.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls, 'fade', props.maskTransitionName),\n mask: mergedMask,\n className: clsx(hashId, className, contextClassName),\n style: {\n ...contextStyle,\n ...style,\n ...responsiveWidthVars\n },\n classNames: {\n ...mergedClassNames,\n wrapper: clsx(mergedClassNames.wrapper, wrapClassNameExtended)\n },\n styles: mergedStyles,\n panelRef: mergedPanelRef,\n destroyOnHidden: destroyOnHidden ?? destroyOnClose,\n modalRender: mergedModalRender\n }, loading ? (/*#__PURE__*/React.createElement(Skeleton, {\n active: true,\n title: false,\n paragraph: {\n rows: 4\n },\n className: `${prefixCls}-body-skeleton`\n })) : children)));\n};\nexport default Modal;","// Style as confirm component\nimport { unit } from '@ant-design/cssinjs';\nimport { prepareComponentToken, prepareToken } from '.';\nimport { clearFix } from '../../style';\nimport { genSubStyleComponent } from '../../theme/internal';\n// ============================= Confirm ==============================\nconst genModalConfirmStyle = token => {\n const {\n componentCls,\n titleFontSize,\n titleLineHeight,\n modalConfirmIconSize,\n fontSize,\n lineHeight,\n modalTitleHeight,\n fontHeight,\n confirmBodyPadding\n } = token;\n const confirmComponentCls = `${componentCls}-confirm`;\n return {\n [confirmComponentCls]: {\n '&-rtl': {\n direction: 'rtl'\n },\n [`${token.antCls}-modal-header`]: {\n display: 'none'\n },\n [`${confirmComponentCls}-body-wrapper`]: {\n ...clearFix()\n },\n [`&${componentCls} ${componentCls}-body`]: {\n padding: confirmBodyPadding\n },\n // ====================== Body ======================\n [`${confirmComponentCls}-body`]: {\n display: 'flex',\n flexWrap: 'nowrap',\n alignItems: 'start',\n [`> ${token.iconCls}`]: {\n flex: 'none',\n fontSize: modalConfirmIconSize,\n marginInlineEnd: token.confirmIconMarginInlineEnd,\n marginTop: token.calc(token.calc(fontHeight).sub(modalConfirmIconSize).equal()).div(2).equal()\n },\n [`&-has-title > ${token.iconCls}`]: {\n marginTop: token.calc(token.calc(modalTitleHeight).sub(modalConfirmIconSize).equal()).div(2).equal()\n }\n },\n [`${confirmComponentCls}-paragraph`]: {\n display: 'flex',\n flexDirection: 'column',\n flex: 'auto',\n rowGap: token.marginXS,\n // https://github.com/ant-design/ant-design/issues/51912\n maxWidth: `calc(100% - ${unit(token.marginSM)})`\n },\n // https://github.com/ant-design/ant-design/issues/48159\n [`${token.iconCls} + ${confirmComponentCls}-paragraph`]: {\n maxWidth: `calc(100% - ${unit(token.calc(token.modalConfirmIconSize).add(token.marginSM).equal())})`\n },\n [`${confirmComponentCls}-title`]: {\n color: token.colorTextHeading,\n fontWeight: token.fontWeightStrong,\n fontSize: titleFontSize,\n lineHeight: titleLineHeight\n },\n [`${confirmComponentCls}-container`]: {\n color: token.colorText,\n fontSize,\n lineHeight\n },\n // ===================== Footer =====================\n [`${confirmComponentCls}-btns`]: {\n textAlign: 'end',\n marginTop: token.confirmBtnsMarginTop,\n [`${token.antCls}-btn + ${token.antCls}-btn`]: {\n marginBottom: 0,\n marginInlineStart: token.marginXS\n }\n }\n },\n [`${confirmComponentCls}-error ${confirmComponentCls}-body > ${token.iconCls}`]: {\n color: token.colorError\n },\n [`${confirmComponentCls}-warning ${confirmComponentCls}-body > ${token.iconCls},\n ${confirmComponentCls}-confirm ${confirmComponentCls}-body > ${token.iconCls}`]: {\n color: token.colorWarning\n },\n [`${confirmComponentCls}-info ${confirmComponentCls}-body > ${token.iconCls}`]: {\n color: token.colorInfo\n },\n [`${confirmComponentCls}-success ${confirmComponentCls}-body > ${token.iconCls}`]: {\n color: token.colorSuccess\n }\n };\n};\n// ============================== Export ==============================\nexport default genSubStyleComponent(['Modal', 'confirm'], token => {\n const modalToken = prepareToken(token);\n return genModalConfirmStyle(modalToken);\n}, prepareComponentToken, {\n // confirm is weak than modal since no conflict here\n order: -1000\n});","\"use client\";\n\nimport * as React from 'react';\nimport CheckCircleFilled from \"@ant-design/icons/es/icons/CheckCircleFilled\";\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nimport ExclamationCircleFilled from \"@ant-design/icons/es/icons/ExclamationCircleFilled\";\nimport InfoCircleFilled from \"@ant-design/icons/es/icons/InfoCircleFilled\";\nimport { clsx } from 'clsx';\nimport { CONTAINER_MAX_OFFSET } from '../_util/hooks';\nimport { getTransitionName } from '../_util/motion';\nimport { devUseWarning } from '../_util/warning';\nimport ConfigProvider from '../config-provider';\nimport { useComponentConfig } from '../config-provider/context';\nimport { useLocale } from '../locale';\nimport useToken from '../theme/useToken';\nimport CancelBtn from './components/ConfirmCancelBtn';\nimport OkBtn from './components/ConfirmOkBtn';\nimport { ModalContextProvider } from './context';\nimport Modal from './Modal';\nimport Confirm from './style/confirm';\nexport const ConfirmContent = props => {\n const {\n prefixCls,\n icon,\n okText,\n cancelText,\n confirmPrefixCls,\n type,\n okCancel,\n footer,\n // Legacy for static function usage\n locale: staticLocale,\n ...restProps\n } = props;\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Modal');\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof icon === 'string' && icon.length > 2), 'breaking', `\\`icon\\` is using ReactNode instead of string naming in v4. Please check \\`${icon}\\` at https://ant.design/components/icon`) : void 0;\n }\n // Icon\n let mergedIcon = icon;\n // 支持传入{ icon: null }来隐藏`Modal.confirm`默认的Icon\n if (!icon && icon !== null) {\n switch (type) {\n case 'info':\n mergedIcon = /*#__PURE__*/React.createElement(InfoCircleFilled, null);\n break;\n case 'success':\n mergedIcon = /*#__PURE__*/React.createElement(CheckCircleFilled, null);\n break;\n case 'error':\n mergedIcon = /*#__PURE__*/React.createElement(CloseCircleFilled, null);\n break;\n default:\n mergedIcon = /*#__PURE__*/React.createElement(ExclamationCircleFilled, null);\n }\n }\n // 默认为 true,保持向下兼容\n const mergedOkCancel = okCancel ?? type === 'confirm';\n const autoFocusButton = props.autoFocusButton === null ? false : props.autoFocusButton || 'ok';\n const [locale] = useLocale('Modal');\n const mergedLocale = staticLocale || locale;\n // ================== Locale Text ==================\n const okTextLocale = okText || (mergedOkCancel ? mergedLocale?.okText : mergedLocale?.justOkText);\n const cancelTextLocale = cancelText || mergedLocale?.cancelText;\n // ================= Context Value =================\n const {\n closable\n } = restProps;\n const {\n onClose\n } = closable && typeof closable === 'object' ? closable : {};\n const memoizedValue = React.useMemo(() => {\n return {\n autoFocusButton,\n cancelTextLocale,\n okTextLocale,\n mergedOkCancel,\n onClose,\n ...restProps\n };\n }, [autoFocusButton, cancelTextLocale, okTextLocale, mergedOkCancel, onClose, restProps]);\n // ====================== Footer Origin Node ======================\n const footerOriginNode = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(CancelBtn, null), /*#__PURE__*/React.createElement(OkBtn, null));\n const hasTitle = props.title !== undefined && props.title !== null;\n const bodyCls = `${confirmPrefixCls}-body`;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: `${confirmPrefixCls}-body-wrapper`\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(bodyCls, {\n [`${bodyCls}-has-title`]: hasTitle\n })\n }, mergedIcon, /*#__PURE__*/React.createElement(\"div\", {\n className: `${confirmPrefixCls}-paragraph`\n }, hasTitle && /*#__PURE__*/React.createElement(\"span\", {\n className: `${confirmPrefixCls}-title`\n }, props.title), /*#__PURE__*/React.createElement(\"div\", {\n className: `${confirmPrefixCls}-content`\n }, props.content))), footer === undefined || typeof footer === 'function' ? (/*#__PURE__*/React.createElement(ModalContextProvider, {\n value: memoizedValue\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: `${confirmPrefixCls}-btns`\n }, typeof footer === 'function' ? footer(footerOriginNode, {\n OkBtn,\n CancelBtn\n }) : footerOriginNode))) : footer, /*#__PURE__*/React.createElement(Confirm, {\n prefixCls: prefixCls\n }));\n};\nconst ConfirmDialog = props => {\n const {\n close,\n zIndex,\n maskStyle,\n direction,\n prefixCls,\n wrapClassName,\n rootPrefixCls,\n bodyStyle,\n closable = false,\n onConfirm,\n styles,\n title,\n okButtonProps,\n cancelButtonProps\n } = props;\n const {\n cancelButtonProps: contextCancelButtonProps,\n okButtonProps: contextOkButtonProps\n } = useComponentConfig('modal');\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Modal');\n [['bodyStyle', 'styles.body'], ['maskStyle', 'styles.mask']].forEach(([deprecatedName, newName]) => {\n warning.deprecated(!(deprecatedName in props), deprecatedName, newName);\n });\n }\n const confirmPrefixCls = `${prefixCls}-confirm`;\n const width = props.width || 416;\n const style = props.style || {};\n // 默认为 false,保持旧版默认行为\n const maskClosable = props.maskClosable === undefined ? false : props.maskClosable;\n const classString = clsx(confirmPrefixCls, `${confirmPrefixCls}-${props.type}`, {\n [`${confirmPrefixCls}-rtl`]: direction === 'rtl'\n }, props.className);\n // ========================= zIndex =========================\n const [, token] = useToken();\n const mergedZIndex = React.useMemo(() => {\n if (zIndex !== undefined) {\n return zIndex;\n }\n // Static always use max zIndex\n return token.zIndexPopupBase + CONTAINER_MAX_OFFSET;\n }, [zIndex, token]);\n // ========================= Render =========================\n return /*#__PURE__*/React.createElement(Modal, {\n ...props,\n className: classString,\n wrapClassName: clsx({\n [`${confirmPrefixCls}-centered`]: !!props.centered\n }, wrapClassName),\n onCancel: () => {\n close?.({\n triggerCancel: true\n });\n onConfirm?.(false);\n },\n title: title,\n footer: null,\n transitionName: getTransitionName(rootPrefixCls || '', 'zoom', props.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls || '', 'fade', props.maskTransitionName),\n maskClosable: maskClosable,\n style: style,\n styles: {\n body: bodyStyle,\n mask: maskStyle,\n ...styles\n },\n width: width,\n zIndex: mergedZIndex,\n closable: closable\n }, /*#__PURE__*/React.createElement(ConfirmContent, {\n ...props,\n confirmPrefixCls: confirmPrefixCls,\n okButtonProps: {\n ...contextOkButtonProps,\n ...okButtonProps\n },\n cancelButtonProps: {\n ...contextCancelButtonProps,\n ...cancelButtonProps\n }\n }));\n};\nconst ConfirmDialogWrapper = props => {\n const {\n rootPrefixCls,\n iconPrefixCls,\n direction,\n theme\n } = props;\n return /*#__PURE__*/React.createElement(ConfigProvider, {\n prefixCls: rootPrefixCls,\n iconPrefixCls: iconPrefixCls,\n direction: direction,\n theme: theme\n }, /*#__PURE__*/React.createElement(ConfirmDialog, {\n ...props\n }));\n};\nif (process.env.NODE_ENV !== 'production') {\n ConfirmDialog.displayName = 'ConfirmDialog';\n ConfirmDialogWrapper.displayName = 'ConfirmDialogWrapper';\n}\nexport default ConfirmDialogWrapper;","const destroyFns = [];\nexport default destroyFns;","\"use client\";\n\nimport React, { useContext } from 'react';\nimport { render, unmount } from \"@rc-component/util/es/React/render\";\nimport warning from '../_util/warning';\nimport ConfigProvider, { ConfigContext, globalConfig, warnContext } from '../config-provider';\nimport ConfirmDialog from './ConfirmDialog';\nimport destroyFns from './destroyFns';\nimport { getConfirmLocale } from './locale';\nlet defaultRootPrefixCls = '';\nfunction getRootPrefixCls() {\n return defaultRootPrefixCls;\n}\nconst ConfirmDialogWrapper = props => {\n const {\n prefixCls: customizePrefixCls,\n getContainer,\n direction\n } = props;\n const runtimeLocale = getConfirmLocale();\n const config = useContext(ConfigContext);\n const rootPrefixCls = getRootPrefixCls() || config.getPrefixCls();\n // because Modal.config set rootPrefixCls, which is different from other components\n const prefixCls = customizePrefixCls || `${rootPrefixCls}-modal`;\n let mergedGetContainer = getContainer;\n if (mergedGetContainer === false) {\n mergedGetContainer = undefined;\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'Modal', 'Static method not support `getContainer` to be `false` since it do not have context env.') : void 0;\n }\n }\n return /*#__PURE__*/React.createElement(ConfirmDialog, {\n ...props,\n rootPrefixCls: rootPrefixCls,\n prefixCls: prefixCls,\n iconPrefixCls: config.iconPrefixCls,\n theme: config.theme,\n direction: direction ?? config.direction,\n locale: config.locale?.Modal ?? runtimeLocale,\n getContainer: mergedGetContainer\n });\n};\nexport default function confirm(config) {\n const global = globalConfig();\n if (process.env.NODE_ENV !== 'production' && !global.holderRender) {\n warnContext('Modal');\n }\n const container = document.createDocumentFragment();\n let currentConfig = {\n ...config,\n close,\n open: true\n };\n let timeoutId;\n function destroy(...args) {\n const triggerCancel = args.some(param => param?.triggerCancel);\n if (triggerCancel) {\n config.onCancel?.(() => {}, ...args.slice(1));\n }\n for (let i = 0; i < destroyFns.length; i++) {\n const fn = destroyFns[i];\n if (fn === close) {\n destroyFns.splice(i, 1);\n break;\n }\n }\n unmount(container).then(() => {\n // Do nothing\n });\n }\n const scheduleRender = props => {\n clearTimeout(timeoutId);\n /**\n * https://github.com/ant-design/ant-design/issues/23623\n *\n * Sync render blocks React event. Let's make this async.\n */\n timeoutId = setTimeout(() => {\n const rootPrefixCls = global.getPrefixCls(undefined, getRootPrefixCls());\n const iconPrefixCls = global.getIconPrefixCls();\n const theme = global.getTheme();\n const dom = /*#__PURE__*/React.createElement(ConfirmDialogWrapper, {\n ...props\n });\n render(/*#__PURE__*/React.createElement(ConfigProvider, {\n prefixCls: rootPrefixCls,\n iconPrefixCls: iconPrefixCls,\n theme: theme\n }, typeof global.holderRender === 'function' ? global.holderRender(dom) : dom), container);\n });\n };\n function close(...args) {\n currentConfig = {\n ...currentConfig,\n open: false,\n afterClose: () => {\n if (typeof config.afterClose === 'function') {\n config.afterClose();\n }\n // @ts-ignore\n destroy.apply(this, args);\n }\n };\n scheduleRender(currentConfig);\n }\n function update(configUpdate) {\n if (typeof configUpdate === 'function') {\n currentConfig = configUpdate(currentConfig);\n } else {\n currentConfig = {\n ...currentConfig,\n ...configUpdate\n };\n }\n scheduleRender(currentConfig);\n }\n scheduleRender(currentConfig);\n destroyFns.push(close);\n return {\n destroy: close,\n update\n };\n}\nexport function withWarn(props) {\n return {\n ...props,\n type: 'warning'\n };\n}\nexport function withInfo(props) {\n return {\n ...props,\n type: 'info'\n };\n}\nexport function withSuccess(props) {\n return {\n ...props,\n type: 'success'\n };\n}\nexport function withError(props) {\n return {\n ...props,\n type: 'error'\n };\n}\nexport function withConfirm(props) {\n return {\n ...props,\n type: 'confirm'\n };\n}\nexport function modalGlobalConfig({\n rootPrefixCls\n}) {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'Modal', 'Modal.config is deprecated. Please use ConfigProvider.config instead.') : void 0;\n defaultRootPrefixCls = rootPrefixCls;\n}","\"use client\";\n\nimport * as React from 'react';\nimport { ConfigContext } from '../../config-provider';\nimport defaultLocale from '../../locale/en_US';\nimport useLocale from '../../locale/useLocale';\nimport ConfirmDialog from '../ConfirmDialog';\nconst HookModal = ({\n afterClose: hookAfterClose,\n config,\n ...restProps\n}, ref) => {\n const [open, setOpen] = React.useState(true);\n const [innerConfig, setInnerConfig] = React.useState(config);\n const {\n direction,\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('modal');\n const rootPrefixCls = getPrefixCls();\n const afterClose = () => {\n hookAfterClose();\n innerConfig.afterClose?.();\n };\n const close = (...args) => {\n setOpen(false);\n const triggerCancel = args.some(param => param?.triggerCancel);\n if (triggerCancel) {\n innerConfig.onCancel?.(() => {}, ...args.slice(1));\n }\n };\n React.useImperativeHandle(ref, () => ({\n destroy: close,\n update: newConfig => {\n setInnerConfig(originConfig => {\n const nextConfig = typeof newConfig === 'function' ? newConfig(originConfig) : newConfig;\n return {\n ...originConfig,\n ...nextConfig\n };\n });\n }\n }));\n const mergedOkCancel = innerConfig.okCancel ?? innerConfig.type === 'confirm';\n const [contextLocale] = useLocale('Modal', defaultLocale.Modal);\n return /*#__PURE__*/React.createElement(ConfirmDialog, {\n prefixCls: prefixCls,\n rootPrefixCls: rootPrefixCls,\n ...innerConfig,\n close: close,\n open: open,\n afterClose: afterClose,\n okText: innerConfig.okText || (mergedOkCancel ? contextLocale?.okText : contextLocale?.justOkText),\n direction: innerConfig.direction || direction,\n cancelText: innerConfig.cancelText || contextLocale?.cancelText,\n ...restProps\n });\n};\nexport default /*#__PURE__*/React.forwardRef(HookModal);","\"use client\";\n\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nimport { usePatchElement } from '../../_util/hooks';\nimport { withConfirm, withError, withInfo, withSuccess, withWarn } from '../confirm';\nimport destroyFns from '../destroyFns';\nimport HookModal from './HookModal';\nlet uuid = 0;\nconst ElementsHolder = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef((_props, ref) => {\n const [elements, patchElement] = usePatchElement();\n React.useImperativeHandle(ref, () => ({\n patchElement\n }), [patchElement]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, elements);\n}));\nfunction useModal() {\n const holderRef = React.useRef(null);\n // ========================== Effect ==========================\n const [actionQueue, setActionQueue] = React.useState([]);\n React.useEffect(() => {\n if (actionQueue.length) {\n const cloneQueue = _toConsumableArray(actionQueue);\n cloneQueue.forEach(action => {\n action();\n });\n setActionQueue([]);\n }\n }, [actionQueue]);\n // =========================== Hook ===========================\n const getConfirmFunc = React.useCallback(withFunc => function hookConfirm(config) {\n uuid += 1;\n const modalRef = /*#__PURE__*/React.createRef();\n // Proxy to promise with `onClose`\n let resolvePromise;\n const promise = new Promise(resolve => {\n resolvePromise = resolve;\n });\n let silent = false;\n let closeFunc;\n const modal = /*#__PURE__*/React.createElement(HookModal, {\n key: `modal-${uuid}`,\n config: withFunc(config),\n ref: modalRef,\n afterClose: () => {\n closeFunc?.();\n },\n isSilent: () => silent,\n onConfirm: confirmed => {\n resolvePromise(confirmed);\n }\n });\n closeFunc = holderRef.current?.patchElement(modal);\n if (closeFunc) {\n destroyFns.push(closeFunc);\n }\n const instance = {\n destroy: () => {\n function destroyAction() {\n modalRef.current?.destroy();\n }\n if (modalRef.current) {\n destroyAction();\n } else {\n setActionQueue(prev => [].concat(_toConsumableArray(prev), [destroyAction]));\n }\n },\n update: newConfig => {\n function updateAction() {\n modalRef.current?.update(newConfig);\n }\n if (modalRef.current) {\n updateAction();\n } else {\n setActionQueue(prev => [].concat(_toConsumableArray(prev), [updateAction]));\n }\n },\n then: resolve => {\n silent = true;\n return promise.then(resolve);\n }\n };\n return instance;\n }, []);\n const fns = React.useMemo(() => ({\n info: getConfirmFunc(withInfo),\n success: getConfirmFunc(withSuccess),\n error: getConfirmFunc(withError),\n warning: getConfirmFunc(withWarn),\n confirm: getConfirmFunc(withConfirm)\n }), [getConfirmFunc]);\n return [fns, /*#__PURE__*/React.createElement(ElementsHolder, {\n key: \"modal-holder\",\n ref: holderRef\n })];\n}\nexport default useModal;","// This icon file is generated automatically.\nvar DeleteOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z\" } }] }, \"name\": \"delete\", \"theme\": \"outlined\" };\nexport default DeleteOutlined;\n","function _extends() { _extends = Object.assign ? Object.assign.bind() : 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// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DeleteOutlinedSvg from \"@ant-design/icons-svg/es/asn/DeleteOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nconst DeleteOutlined = (props, ref) => /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DeleteOutlinedSvg\n}));\n\n/** */\nconst RefIcon = /*#__PURE__*/React.forwardRef(DeleteOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DeleteOutlined';\n}\nexport default RefIcon;","\"use client\";\n\nimport * as React from 'react';\nimport { Panel } from '@rc-component/dialog';\nimport { clsx } from 'clsx';\nimport { withPureRenderTheme } from '../_util/PurePanel';\nimport { ConfigContext } from '../config-provider';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport { ConfirmContent } from './ConfirmDialog';\nimport { Footer, renderCloseIcon } from './shared';\nimport useStyle from './style';\nconst PurePanel = props => {\n const {\n prefixCls: customizePrefixCls,\n className,\n closeIcon,\n closable,\n type,\n title,\n children,\n footer,\n ...restProps\n } = props;\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const rootPrefixCls = getPrefixCls();\n const prefixCls = customizePrefixCls || getPrefixCls('modal');\n const rootCls = useCSSVarCls(rootPrefixCls);\n const [hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const confirmPrefixCls = `${prefixCls}-confirm`;\n // Choose target props by confirm mark\n let additionalProps = {};\n if (type) {\n additionalProps = {\n closable: closable ?? false,\n title: '',\n footer: '',\n children: (/*#__PURE__*/React.createElement(ConfirmContent, {\n ...props,\n prefixCls: prefixCls,\n confirmPrefixCls: confirmPrefixCls,\n rootPrefixCls: rootPrefixCls,\n content: children\n }))\n };\n } else {\n additionalProps = {\n closable: closable ?? true,\n title,\n footer: footer !== null && /*#__PURE__*/React.createElement(Footer, {\n ...props\n }),\n children\n };\n }\n return /*#__PURE__*/React.createElement(Panel, {\n prefixCls: prefixCls,\n className: clsx(hashId, `${prefixCls}-pure-panel`, type && confirmPrefixCls, type && `${confirmPrefixCls}-${type}`, className, cssVarCls, rootCls),\n ...restProps,\n closeIcon: renderCloseIcon(prefixCls, closeIcon),\n closable: closable,\n ...additionalProps\n });\n};\nexport default withPureRenderTheme(PurePanel);","\"use client\";\n\nimport confirm, { modalGlobalConfig, withConfirm, withError, withInfo, withSuccess, withWarn } from './confirm';\nimport destroyFns from './destroyFns';\nimport OriginModal from './Modal';\nimport PurePanel from './PurePanel';\nimport useModal from './useModal';\nfunction modalWarn(props) {\n return confirm(withWarn(props));\n}\nconst Modal = OriginModal;\nModal.useModal = useModal;\nModal.info = function infoFn(props) {\n return confirm(withInfo(props));\n};\nModal.success = function successFn(props) {\n return confirm(withSuccess(props));\n};\nModal.error = function errorFn(props) {\n return confirm(withError(props));\n};\nModal.warning = modalWarn;\nModal.warn = modalWarn;\nModal.confirm = function confirmFn(props) {\n return confirm(withConfirm(props));\n};\nModal.destroyAll = function destroyAllFn() {\n while (destroyFns.length) {\n const close = destroyFns.pop();\n if (close) {\n close();\n }\n }\n};\nModal.config = modalGlobalConfig;\nModal._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nif (process.env.NODE_ENV !== 'production') {\n Modal.displayName = 'Modal';\n}\nexport default Modal;","import { genStyleHooks } from '../../theme/internal';\n// =============================== Base ===============================\nconst genBaseStyle = token => {\n const {\n componentCls,\n iconCls,\n antCls,\n zIndexPopup,\n colorText,\n colorWarning,\n marginXXS,\n marginXS,\n fontSize,\n fontWeightStrong,\n colorTextHeading\n } = token;\n return {\n [componentCls]: {\n zIndex: zIndexPopup,\n [`&${antCls}-popover`]: {\n fontSize\n },\n [`${componentCls}-message`]: {\n marginBottom: marginXS,\n display: 'flex',\n flexWrap: 'nowrap',\n alignItems: 'start',\n [`> ${componentCls}-message-icon ${iconCls}`]: {\n color: colorWarning,\n fontSize,\n lineHeight: 1,\n marginInlineEnd: marginXS\n },\n [`${componentCls}-title`]: {\n fontWeight: fontWeightStrong,\n color: colorTextHeading,\n '&:only-child': {\n fontWeight: 'normal'\n }\n },\n [`${componentCls}-description`]: {\n marginTop: marginXXS,\n color: colorText\n }\n },\n [`${componentCls}-buttons`]: {\n textAlign: 'end',\n whiteSpace: 'nowrap',\n button: {\n marginInlineStart: marginXS\n }\n }\n }\n };\n};\n// ============================== Export ==============================\nexport const prepareComponentToken = token => {\n const {\n zIndexPopupBase\n } = token;\n return {\n zIndexPopup: zIndexPopupBase + 60\n };\n};\nexport default genStyleHooks('Popconfirm', token => genBaseStyle(token), prepareComponentToken, {\n resetStyle: false\n});","\"use client\";\n\nimport * as React from 'react';\nimport ExclamationCircleFilled from \"@ant-design/icons/es/icons/ExclamationCircleFilled\";\nimport { clsx } from 'clsx';\nimport ActionButton from '../_util/ActionButton';\nimport { getRenderPropValue } from '../_util/getRenderPropValue';\nimport Button from '../button/Button';\nimport { convertLegacyProps } from '../button/buttonHelpers';\nimport { ConfigContext } from '../config-provider';\nimport { useLocale } from '../locale';\nimport defaultLocale from '../locale/en_US';\nimport PopoverPurePanel from '../popover/PurePanel';\nimport useStyle from './style';\nexport const Overlay = props => {\n const {\n prefixCls,\n okButtonProps,\n cancelButtonProps,\n title,\n description,\n cancelText,\n okText,\n okType = 'primary',\n icon = /*#__PURE__*/React.createElement(ExclamationCircleFilled, null),\n showCancel = true,\n close,\n onConfirm,\n onCancel,\n onPopupClick,\n classNames,\n styles\n } = props;\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const [contextLocale] = useLocale('Popconfirm', defaultLocale.Popconfirm);\n const titleNode = getRenderPropValue(title);\n const descriptionNode = getRenderPropValue(description);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-inner-content`,\n onClick: onPopupClick\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-message`\n }, icon && /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-message-icon`\n }, icon), /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-message-text`\n }, titleNode && (/*#__PURE__*/React.createElement(\"div\", {\n className: clsx(`${prefixCls}-title`, classNames?.title),\n style: styles?.title\n }, titleNode)), descriptionNode && (/*#__PURE__*/React.createElement(\"div\", {\n className: clsx(`${prefixCls}-description`, classNames?.content),\n style: styles?.content\n }, descriptionNode)))), /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-buttons`\n }, showCancel && (/*#__PURE__*/React.createElement(Button, {\n onClick: onCancel,\n size: \"small\",\n ...cancelButtonProps\n }, cancelText || contextLocale?.cancelText)), /*#__PURE__*/React.createElement(ActionButton, {\n buttonProps: {\n size: 'small',\n ...convertLegacyProps(okType),\n ...okButtonProps\n },\n actionFn: onConfirm,\n close: close,\n prefixCls: getPrefixCls('btn'),\n quitOnNullishReturnValue: true,\n emitEvent: true\n }, okText || contextLocale?.okText)));\n};\nconst PurePanel = props => {\n const {\n prefixCls: customizePrefixCls,\n placement,\n className,\n style,\n ...restProps\n } = props;\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('popconfirm', customizePrefixCls);\n useStyle(prefixCls);\n return /*#__PURE__*/React.createElement(PopoverPurePanel, {\n placement: placement,\n className: clsx(prefixCls, className),\n style: style,\n content: /*#__PURE__*/React.createElement(Overlay, {\n prefixCls: prefixCls,\n ...restProps\n })\n });\n};\nexport default PurePanel;","\"use client\";\n\nimport * as React from 'react';\nimport ExclamationCircleFilled from \"@ant-design/icons/es/icons/ExclamationCircleFilled\";\nimport { omit, useControlledState } from '@rc-component/util';\nimport { clsx } from 'clsx';\nimport { useMergeSemantic } from '../_util/hooks';\nimport { useComponentConfig } from '../config-provider/context';\nimport Popover from '../popover';\nimport useMergedArrow from '../tooltip/hook/useMergedArrow';\nimport PurePanel, { Overlay } from './PurePanel';\nimport useStyle from './style';\nconst InternalPopconfirm = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n placement = 'top',\n trigger,\n okType = 'primary',\n icon = /*#__PURE__*/React.createElement(ExclamationCircleFilled, null),\n children,\n overlayClassName,\n onOpenChange,\n overlayStyle,\n styles,\n arrow: popconfirmArrow,\n classNames,\n ...restProps\n } = props;\n const {\n getPrefixCls,\n className: contextClassName,\n style: contextStyle,\n classNames: contextClassNames,\n styles: contextStyles,\n arrow: contextArrow,\n trigger: contextTrigger\n } = useComponentConfig('popconfirm');\n const [open, setOpen] = useControlledState(props.defaultOpen ?? false, props.open);\n const mergedArrow = useMergedArrow(popconfirmArrow, contextArrow);\n const mergedTrigger = trigger || contextTrigger || 'click';\n const settingOpen = (value, e) => {\n setOpen(value);\n onOpenChange?.(value, e);\n };\n const close = e => {\n settingOpen(false, e);\n };\n const onConfirm = e => props.onConfirm?.call(this, e);\n const onCancel = e => {\n settingOpen(false, e);\n props.onCancel?.call(this, e);\n };\n const onInternalOpenChange = (value, e) => {\n const {\n disabled = false\n } = props;\n if (disabled) {\n return;\n }\n settingOpen(value, e);\n };\n const prefixCls = getPrefixCls('popconfirm', customizePrefixCls);\n const mergedProps = {\n ...props,\n placement,\n trigger: mergedTrigger,\n okType,\n overlayStyle,\n styles,\n classNames\n };\n const [mergedClassNames, mergedStyles] = useMergeSemantic([contextClassNames, classNames], [contextStyles, styles], {\n props: mergedProps\n });\n const rootClassNames = clsx(prefixCls, contextClassName, overlayClassName, mergedClassNames.root);\n useStyle(prefixCls);\n return /*#__PURE__*/React.createElement(Popover, {\n arrow: mergedArrow,\n ...omit(restProps, ['title']),\n trigger: mergedTrigger,\n placement: placement,\n onOpenChange: onInternalOpenChange,\n open: open,\n ref: ref,\n classNames: {\n root: rootClassNames,\n container: mergedClassNames.container,\n arrow: mergedClassNames.arrow\n },\n styles: {\n root: {\n ...contextStyle,\n ...mergedStyles.root,\n ...overlayStyle\n },\n container: mergedStyles.container,\n arrow: mergedStyles.arrow\n },\n content: /*#__PURE__*/React.createElement(Overlay, {\n okType: okType,\n icon: icon,\n ...props,\n prefixCls: prefixCls,\n close: close,\n onConfirm: onConfirm,\n onCancel: onCancel,\n classNames: mergedClassNames,\n styles: mergedStyles\n }),\n \"data-popover-inject\": true\n }, children);\n});\nconst Popconfirm = InternalPopconfirm;\n// We don't care debug panel\n/* istanbul ignore next */\nPopconfirm._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nif (process.env.NODE_ENV !== 'production') {\n Popconfirm.displayName = 'Popconfirm';\n}\nexport default Popconfirm;"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"mappings":"itBACM,GAAsB,GACtB,GAAQ,OAAO,GAAS,SACnB,EAEL,OAAO,GAAS,UACX,CACL,QAAS,EACT,KAAM,EACP,CAEI,EAAE,CAEE,IAAiB,EAAM,EAAa,KAC/C,EAAA,EAAA,aAAqB,CACnB,IAAM,EAAa,GAAoB,EAAK,CAEtC,EAAe,CACnB,GAFwB,GAAoB,EAAY,CAGxD,GAAG,EACJ,CACK,EAAY,EAAa,OAAS,GAAmC,IAAA,GAA3B,GAAG,EAAU,YAC7D,MAAO,CAAC,EAAa,UAAY,GAAO,CACtC,KAAM,EACP,CAAC,EACD,CAAC,EAAM,EAAa,EAAU,CAAC,CCvBvB,OAAwB,CACnC,GAAM,CAAC,EAAU,GAAA,EAAqB,SAAS,EAAE,CAAC,CAUlD,MAAO,CAAC,EAAA,EATmB,YAAY,IAErC,EAAY,GAAkB,EAAE,CAAC,OAAO,EAAmB,EAAe,CAAE,CAAC,EAAQ,CAAC,CAAC,KAG1E,CACX,EAAY,GAAkB,EAAe,OAAO,GAAO,I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