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B,IAG1B,SAASznC,EAAU3L,EAAcgL,EAAaqoC,GAM5C,MALmB,kBAARrzC,IACTgL,EAAOhL,EACPA,EAAM,cAGDA,EAAID,QAAQ4yC,GAAW,SAACW,EAAevlD,EAAawlD,GACzD,IAAMvwC,EAAO4vC,EAAS7kD,GAChBylD,EAAQxwC,EAAK,GACfhO,EAAOgO,EAAK,GAQhB,OAPY,IAARqwC,IACFr+C,EAAO,SAAAqF,OAASrF,EAAKqkB,MAAM,KAExBrO,IACHA,EAAO,IAAIC,MAED,KAAK5Q,OAAA8G,OAAO6J,EAAKhW,MAAWgO,EAAK,IAAM,KACxCqW,OAAOm6B,IAAUD,GAAQ,GACtC,GACF,CAEA5nC,EAAU0nC,IAAM,SAACrzC,EAAcgL,GAC7B,OAAOW,EAAU3L,EAAKgL,GAAM,EAC9B","sources":["../../src/main.js","../../../node_modules/@uiw/react-affix/src/utils.ts","../../../node_modules/@uiw/react-affix/src/index.tsx","../../../node_modules/@uiw/react-alert/src/index.tsx","../../../node_modules/@uiw/react-avatar/src/index.tsx","../../../node_modules/@uiw/react-breadcrumb/src/Item.tsx","../../../node_modules/@uiw/react-breadcrumb/src/Breadcrumb.tsx","../../../node_modules/@uiw/react-breadcrumb/src/index.ts","../../../node_modules/@uiw/react-button-group/src/index.tsx","../../../node_modules/@uiw/react-button/src/index.tsx","../../../node_modules/@uiw/react-card/src/index.tsx","../../../node_modules/@uiw/react-checkbox/src/Group.tsx","../../../node_modules/@uiw/react-checkbox/src/Checkbox.tsx","../../../node_modules/@uiw/react-checkbox/src/index.ts","../../../node_modules/@uiw/react-code-preview/node_modules/@babel/runtime/helpers/esm/extends.js","../../../node_modules/@uiw/react-code-preview/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codemirror/node_modules/@babel/runtime/helpers/esm/extends.js","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codemirror/src/theme/light.ts","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codemirror/src/index.tsx","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codemirror/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codemirror/src/useCodeMirror.ts","../../../node_modules/@uiw/react-split/src/index.tsx","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codesandbox/src/index.tsx","../../../node_modules/@uiw/react-code-preview/src/ThirdPartyButton.tsx","../../../node_modules/@uiw/react-code-preview/src/icon.tsx","../../../node_modules/@uiw/react-code-preview/src/ErrorMessage.tsx","../../../node_modules/@uiw/react-code-preview/src/useCodePreview.ts","../../../node_modules/@uiw/react-code-preview/src/transform.tsx","../../../node_modules/@uiw/react-code-preview/src/index.tsx","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codepen/src/index.tsx","../../../node_modules/@uiw/react-code-preview/node_modules/babel-plugin-transform-remove-imports/lib/index.js","../../../node_modules/@uiw/react-collapse/src/Collapse.tsx","../../../node_modules/@uiw/react-collapse/src/Panel.tsx","../../../node_modules/@uiw/react-collapse/src/index.ts","../../../node_modules/@uiw/react-date-input/src/DateInputRange.tsx","../../../node_modules/@uiw/react-date-input/src/index.tsx","../../../node_modules/@uiw/react-date-picker/src/DatePickerDay.tsx","../../../node_modules/@uiw/react-date-picker/src/DatePickerMonth.tsx","../../../node_modules/@uiw/react-date-picker/src/DatePickerYear.tsx","../../../node_modules/@uiw/react-date-picker/src/DatePickerCaption.tsx","../../../node_modules/@uiw/react-date-picker/src/index.tsx","../../../node_modules/@uiw/react-descriptions/src/DescriptionsItem.tsx","../../../node_modules/@uiw/react-descriptions/src/Cell.tsx","../../../node_modules/@uiw/react-descriptions/src/Row.tsx","../../../node_modules/@uiw/react-descriptions/src/index.tsx","../../../node_modules/@uiw/react-divider/src/index.tsx","../../../node_modules/@uiw/react-domain-verify/src/index.tsx","../../../node_modules/@uiw/react-drawer/src/index.tsx","../../../node_modules/@uiw/react-dropdown/src/index.tsx","../../../node_modules/@uiw/react-empty/src/index.tsx","../../../node_modules/@uiw/react-file-input/src/Input.tsx","../../../node_modules/@uiw/react-file-input/src/List.tsx","../../../node_modules/@uiw/react-file-input/src/Card.tsx","../../../node_modules/@uiw/react-file-input/src/utils.ts","../../../node_modules/@uiw/react-file-input/src/FileList.tsx","../../../node_modules/@uiw/react-file-input/src/index.tsx","../../../node_modules/@uiw/react-form/src/FormItem.tsx","../../../node_modules/@uiw/react-form/src/Form.tsx","../../../node_modules/@uiw/react-form/src/index.ts","../../../node_modules/@uiw/react-github-corners/src/index.tsx","../../../node_modules/@uiw/react-grid/src/Col.tsx","../../../node_modules/@uiw/react-grid/src/Row.tsx","../../../node_modules/@uiw/react-icon/src/index.tsx","../../../node_modules/@uiw/react-input/src/index.tsx","../../../node_modules/@uiw/react-layout/src/Layout.tsx","../../../node_modules/@uiw/react-layout/src/Sider.tsx","../../../node_modules/@uiw/react-layout/src/index.tsx","../../../node_modules/@uiw/react-layout/src/Header.tsx","../../../node_modules/@uiw/react-layout/src/Footer.tsx","../../../node_modules/@uiw/react-layout/src/Content.tsx","../../../node_modules/@uiw/react-list/src/Item.tsx","../../../node_modules/@uiw/react-list/src/index.tsx","../../../node_modules/@uiw/react-loader/src/index.tsx","../../../node_modules/@uiw/react-markdown-preview/node_modules/@babel/runtime/helpers/esm/extends.js","../../../node_modules/@uiw/react-markdown-preview/src/nodes/octiconLink.ts","../../../node_modules/@uiw/react-markdown-preview/src/index.tsx","../../../node_modules/@uiw/react-markdown-preview/src/nodes/copy.ts","../../../node_modules/@uiw/react-markdown-preview/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../../node_modules/@uiw/react-menu/src/MenuItem.tsx","../../../node_modules/@uiw/react-menu/src/Divider.tsx","../../../node_modules/@uiw/react-menu/src/SubMenu.tsx","../../../node_modules/@uiw/react-menu/src/Menu.tsx","../../../node_modules/@uiw/react-menu/src/index.ts","../../../node_modules/@uiw/react-message/src/index.tsx","../../../node_modules/@uiw/react-modal/src/index.tsx","../../../node_modules/@uiw/react-modal/src/CallShow.tsx","../../../node_modules/@uiw/react-month-picker/src/index.tsx","../../../node_modules/@uiw/react-notify/src/Container.tsx","../../../node_modules/@uiw/react-notify/src/index.tsx","../../../node_modules/@uiw/utils/src/randomid.ts","../../../node_modules/@uiw/react-overlay-trigger/src/utils.ts","../../../node_modules/@uiw/react-overlay-trigger/src/util/getBordersSize.ts","../../../node_modules/@uiw/react-overlay-trigger/src/util/isBrowser.ts","../../../node_modules/@uiw/react-overlay-trigger/src/util/isIE.ts","../../../node_modules/@uiw/react-overlay-trigger/src/util/getWindowSizes.ts","../../../node_modules/@uiw/react-overlay-trigger/src/util/getBoundingClientRect.ts","../../../node_modules/@uiw/react-overlay-trigger/src/util/getClientRect.ts","../../../node_modules/@uiw/react-overlay-trigger/src/util/getStyleComputedProperty.ts","../../../node_modules/@uiw/react-overlay-trigger/src/util/getOuterSizes.ts","../../../node_modules/@uiw/react-overlay-trigger/src/getStyle.ts","../../../node_modules/@uiw/react-overlay-trigger/src/index.tsx","../../../node_modules/@uiw/react-overlay/src/index.tsx","../../../node_modules/@uiw/react-pagination/src/index.tsx","../../../node_modules/@uiw/react-popover/src/index.tsx","../../../node_modules/@uiw/react-popover/src/Confirm.tsx","../../../node_modules/@uiw/react-portal/src/index.tsx","../../../node_modules/@uiw/react-progress/src/utils.tsx","../../../node_modules/@uiw/react-progress/src/Circle.tsx","../../../node_modules/@uiw/react-progress/src/Line.tsx","../../../node_modules/@uiw/react-radio/src/RadioAbstract.tsx","../../../node_modules/@uiw/react-radio/src/Radio.tsx","../../../node_modules/@uiw/react-radio/src/RadioGroup.tsx","../../../node_modules/@uiw/react-rate/src/index.tsx","../../../node_modules/@uiw/react-search-select/src/index.tsx","../../../node_modules/@uiw/react-search-tree/src/SearchTagInput.tsx","../../../node_modules/@uiw/react-search-tree/src/index.tsx","../../../node_modules/@uiw/react-select/src/Option.tsx","../../../node_modules/@uiw/react-select/src/Group.tsx","../../../node_modules/@uiw/react-select/src/index.tsx","../../../node_modules/@uiw/react-slider/src/Dots.tsx","../../../node_modules/@uiw/react-slider/src/index.tsx","../../../node_modules/@uiw/react-steps/src/Steps.tsx","../../../node_modules/@uiw/react-steps/src/Step.tsx","../../../node_modules/@uiw/react-switch/src/index.tsx","../../../node_modules/@uiw/react-table/src/util.ts","../../../node_modules/@uiw/react-table/src/ThComponent.tsx","../../../node_modules/@uiw/react-table/src/Thead.tsx","../../../node_modules/@uiw/react-table/src/Expandable.tsx","../../../node_modules/@uiw/react-table/src/TableTr.tsx","../../../node_modules/@uiw/react-table/src/index.tsx","../../../node_modules/@uiw/react-tabs/src/index.tsx","../../../node_modules/@uiw/react-tabs/src/Pane.tsx","../../../node_modules/@uiw/react-tag/src/index.tsx","../../../node_modules/@uiw/react-textarea/src/index.tsx","../../../node_modules/@uiw/react-time-picker/src/Panel.tsx","../../../node_modules/@uiw/react-time-picker/src/Time.tsx","../../../node_modules/@uiw/react-time-picker/src/index.tsx","../../../node_modules/@uiw/react-transfer/src/index.tsx","../../../node_modules/@uiw/react-tree-checked/src/index.tsx","../../../node_modules/@uiw/react-tree/src/TreeNode.tsx","../../../node_modules/@uiw/react-tree/src/index.tsx","../../../node_modules/@uiw/utils/src/getScroll.ts","../../../node_modules/@uiw/utils/src/noop.ts","../../../node_modules/uiw/node_modules/@uiw/react-split/src/index.tsx","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codepen/node_modules/@babel/runtime/helpers/defineProperty.js","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codepen/node_modules/@babel/runtime/helpers/interopRequireDefault.js","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codepen/node_modules/@babel/runtime/helpers/objectSpread2.js","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codepen/node_modules/@babel/runtime/helpers/objectWithoutProperties.js","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codepen/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codepen/node_modules/@babel/runtime/helpers/toPrimitive.js","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codepen/node_modules/@babel/runtime/helpers/toPropertyKey.js","../../../node_modules/@uiw/react-code-preview/node_modules/@uiw/react-codepen/node_modules/@babel/runtime/helpers/typeof.js","../../../node_modules/@uiw/formatter/src/index.ts"],"sourcesContent":["/**\n * *** This styling is an extra step which is likely not required. ***\n * https://github.com/w3c/clipboard-apis/blob/master/explainer.adoc#writing-to-the-clipboard\n * \n * Why is it here? To ensure:\n * \n * 1. the element is able to have focus and selection.\n * 2. if element was to flash render it has minimal visual impact.\n * 3. less flakyness with selection and copying which **might** occur if\n * the textarea element is not visible.\n *\n * The likelihood is the element won't even render, not even a flash,\n * so some of these are just precautions. However in IE the element\n * is visible whilst the popup box asking the user for permission for\n * the web page to copy to the clipboard.\n * \n * Place in top-left corner of screen regardless of scroll position.\n *\n * @typedef CopyTextToClipboard\n * @property {(text: string, method?: (isCopy: boolean) => void) => void} void\n * @returns {void}\n * \n * @param {string} text \n * @param {CopyTextToClipboard} cb \n */\nexport default function copyTextToClipboard(text, cb) {\n const el = document.createElement('textarea');\n el.value = text;\n el.setAttribute('readonly', '');\n el.style = {\n position: 'absolute',\n left: '-9999px',\n }\n document.body.appendChild(el);\n const selected = document.getSelection().rangeCount > 0 ? document.getSelection().getRangeAt(0) : false;\n el.select();\n let isCopy = false;\n try {\n const successful = document.execCommand('copy');\n isCopy = !!successful;\n } catch (err) {\n isCopy = false;\n }\n document.body.removeChild(el);\n if (selected && document.getSelection) {\n document.getSelection().removeAllRanges();\n document.getSelection().addRange(selected);\n }\n cb && cb(isCopy);\n};\n","import { getScroll } from '@uiw/utils';\n\nexport const getTargetRect = (target: HTMLElement | Window | null) => {\n return target !== window\n ? (target as HTMLElement).getBoundingClientRect()\n : ({ top: 0, left: 0, bottom: 0 } as ClientRect);\n};\n\nexport const getOffset = (element: HTMLElement, target: HTMLElement | Window | null) => {\n const elemRect = element.getBoundingClientRect();\n const targetRect = getTargetRect(target);\n const scrollTop = getScroll(target, true);\n const scrollLeft = getScroll(target);\n\n const docElem = window.document.body;\n const clientTop = docElem.clientTop || 0;\n const clientLeft = docElem.clientLeft || 0;\n\n return {\n top: elemRect.top - targetRect.top + scrollTop - clientTop,\n left: elemRect.left - targetRect.left + scrollLeft - clientLeft,\n width: elemRect.width,\n height: elemRect.height,\n };\n};\n\nexport const getDefaultTarget = () => (typeof window !== 'undefined' ? window : null);\n","import React from 'react';\nimport { IProps, HTMLDivProps, noop } from '@uiw/utils';\nimport { getDefaultTarget, getOffset } from './utils';\n\nexport interface AffixProps extends IProps, Omit {\n /**\n * 距离窗口顶部达到指定偏移量后触发\n */\n offsetTop?: number;\n /**\n * 距离窗口底部达到指定偏移量后触发\n */\n offsetBottom?: number;\n target?: () => Window | HTMLElement | null;\n /**\n * 固定状态改变时触发的回调函数\n */\n onChange?: (affixed?: boolean) => void;\n}\n\nexport interface AffixState {\n affixStyle?: React.CSSProperties;\n placeholderStyle?: React.CSSProperties;\n}\n\nexport default class Affix extends React.Component {\n public static defaultProps: AffixProps = {\n prefixCls: 'w-affix',\n onChange: noop,\n };\n public state: AffixState = {\n placeholderStyle: undefined,\n affixStyle: undefined,\n };\n private box: any;\n private target!: Window | HTMLElement | null;\n private readonly events = ['resize', 'scroll', 'touchstart', 'touchmove', 'touchend', 'pageshow', 'load'];\n private eventHandlers: Record = {};\n private timeout?: number;\n constructor(props: AffixProps & HTMLDivProps) {\n super(props);\n this.updatePosition = this.updatePosition.bind(this);\n }\n componentDidMount() {\n const target = this.props.target || getDefaultTarget;\n // Wait for parent component ref has its value\n this.timeout = window.setTimeout(() => {\n this.target = target();\n this.setTargetEventListeners();\n });\n }\n componentWillUnmount() {\n this.clearEventListeners();\n clearTimeout(this.timeout);\n }\n updatePosition() {\n let { offsetTop } = this.props;\n const { offsetBottom } = this.props;\n if (!this.box || !this.box.offsetParent) {\n return;\n }\n\n const elemSize = {\n width: this.box.clientWidth,\n height: this.box.clientHeight,\n };\n const offsetMode = { top: true, bottom: false };\n if (typeof offsetTop !== 'number' && typeof offsetBottom !== 'number') {\n offsetMode.top = true;\n offsetTop = 0;\n }\n\n if (typeof offsetBottom === 'number') {\n offsetMode.top = false;\n offsetMode.bottom = true;\n }\n\n const elemOffset = getOffset(this.box, this.target);\n const box = this.box.getBoundingClientRect();\n const bottom = document.documentElement.clientHeight - box.y - elemOffset.height;\n\n if (offsetMode.top && box.y < 0) {\n this.setPlaceholderStyle({ ...elemSize });\n this.setAffixStyle({\n position: 'fixed',\n top: offsetTop || 0,\n left: elemOffset.left,\n width: elemOffset.width,\n });\n } else if (offsetMode.bottom && bottom < 0) {\n this.setPlaceholderStyle({ ...elemSize });\n this.setAffixStyle({\n position: 'fixed',\n bottom: offsetBottom || 0,\n left: elemOffset.left,\n width: elemOffset.width,\n });\n } else {\n this.setPlaceholderStyle();\n this.setAffixStyle();\n }\n }\n setAffixStyle(affixStyle?: React.CSSProperties) {\n const { onChange } = this.props;\n const affixed = !!this.state.affixStyle;\n this.setState({ affixStyle }, () => {\n onChange && onChange(affixed);\n });\n }\n setPlaceholderStyle(placeholderStyle?: React.CSSProperties) {\n this.setState({ placeholderStyle });\n }\n // 设置监听事件\n setTargetEventListeners() {\n this.clearEventListeners();\n this.events.forEach((eventName) => {\n this.eventHandlers[eventName] = this.updatePosition;\n this.target && this.target.addEventListener(eventName, this.updatePosition, false);\n });\n }\n clearEventListeners() {\n this.events.forEach((eventName) => {\n const handler = this.eventHandlers[eventName];\n this.target && this.target.removeEventListener(eventName, handler, false);\n });\n }\n getInstance = (node: HTMLDivElement) => {\n if (node) {\n this.box = node;\n }\n };\n public render() {\n const { prefixCls, className, children, offsetTop, offsetBottom, target, onChange, ...resetProps } = this.props;\n const cls = [className, prefixCls].filter(Boolean).join(' ').trim();\n return (\n
\n
\n {children}\n
\n
\n );\n }\n}\n","import React from 'react';\nimport Modal, { ModalProps } from '@uiw/react-modal';\nimport { IProps } from '@uiw/utils';\nimport './style/index.less';\n\nexport interface AlertProps extends IProps, ModalProps {\n width?: number;\n}\n\nexport default (props: AlertProps = {}) => {\n const { prefixCls = 'w-alert', className, width = 400, ...other } = props;\n const cls = [prefixCls, className].filter(Boolean).join(' ').trim();\n return (\n \n {props.children}\n \n );\n};\n","import React from 'react';\nimport Icon, { IconProps } from '@uiw/react-icon';\nimport { HTMLSpanProps, noop } from '@uiw/utils';\nimport './style/index.less';\nimport { useState } from 'react';\nimport { useEffect } from 'react';\n\nexport interface AvatarProps extends HTMLSpanProps {\n style?: React.CSSProperties;\n className?: string;\n prefixCls?: string;\n icon?: IconProps['type'];\n alt?: string;\n src?: string;\n size?: 'large' | 'default' | 'small' | 'mini';\n shape?: 'square' | 'circle';\n onError?: (event: React.SyntheticEvent) => boolean;\n}\n\nexport default React.forwardRef((props, ref) => {\n const {\n prefixCls = 'w-avatar',\n shape = 'circle',\n size = 'default',\n className,\n src,\n alt,\n icon,\n onError = noop,\n ...resetProps\n } = props;\n let children = props.children;\n const [isImgExist, setIsImgExist] = useState(true);\n const cls = [\n prefixCls,\n className,\n size ? `${prefixCls}-${size}` : null,\n shape ? `${prefixCls}-${shape}` : null,\n src ? `${prefixCls}-image` : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n\n useEffect(() => {\n setIsImgExist(true);\n }, [props.src]);\n\n if (isImgExist && src) {\n children = (\n {\n const errorFlag = onError ? onError(evn) : undefined;\n if (errorFlag !== false) {\n setIsImgExist(false);\n }\n }}\n />\n );\n } else if (icon && typeof icon === 'string') {\n children = ;\n } else if (icon && React.isValidElement(icon)) {\n children = icon;\n }\n return (\n \n {children}\n \n );\n});\n","import React, { Fragment } from 'react';\nimport { IProps } from '@uiw/utils';\nimport './style/item.less';\n\ntype ElementTag = T extends HTMLElement ? React.HTMLAttributes : T;\n\nexport interface BreadcrumbItemProps extends IProps, ElementTag {\n tagName?: T extends HTMLElement ? keyof JSX.IntrinsicElements : T;\n separator?: JSX.Element | string;\n active?: boolean;\n 'data-separator'?: JSX.Element | string;\n}\n\ntype RefElement = T extends HTMLElement ? T : never;\n\nconst BreadcrumbItem = React.forwardRef((props, ref) => {\n const { prefixCls = 'w-breadcrumb', className, tagName: TagName = 'span', active, separator, ...other } = props;\n const isElm = React.isValidElement(separator);\n const cls = [\n `${prefixCls}-item`,\n className,\n active ? 'active' : null,\n !separator ? 'no-separator' : null,\n isElm ? 'no-before' : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n const otherProps = { className: cls, ...other };\n if (!isElm) {\n otherProps['data-separator'] = separator;\n }\n return React.createElement(\n TagName,\n {\n ...otherProps,\n ref,\n },\n \n {isElm && {separator}}\n {props.children}\n ,\n );\n});\n\nexport default BreadcrumbItem;\n","import React from 'react';\nimport { HTMLDivProps } from '@uiw/utils';\nimport Item from './Item';\nimport './style/index.less';\n\nexport interface BreadcrumbProps extends HTMLDivProps {\n style?: React.CSSProperties;\n className?: string;\n prefixCls?: string;\n separator?: JSX.Element | string;\n}\n\nconst Breadcrumb = React.forwardRef((props, ref) => {\n const { prefixCls = 'w-breadcrumb', className, separator = '/', ...other } = props;\n const cls = [prefixCls, className].filter(Boolean).join(' ').trim();\n return (\n
\n {React.Children.map(props.children, (element: any) => {\n return React.cloneElement(element, Object.assign({ separator }, element.props, {}));\n })}\n
\n );\n});\ntype Breadcrumb = typeof Breadcrumb & {\n Item: typeof Item;\n};\n\n(Breadcrumb as Breadcrumb).Item = Item;\n\nexport default Breadcrumb as Breadcrumb;\nexport { Breadcrumb };\n","import Breadcrumb from './Breadcrumb';\n\nexport * from './Item';\nexport * from './Breadcrumb';\n\nexport default Breadcrumb;\n","import React from 'react';\nimport { HTMLDivProps, IProps } from '@uiw/utils';\nimport './style/index.less';\n\nexport interface ButtonGroupProps extends IProps, HTMLDivProps {\n vertical?: boolean;\n}\n\nexport default React.forwardRef((props, ref) => {\n const { prefixCls = 'w-btn-group', vertical = false, children, className, ...resetProps } = props;\n\n const cls = [prefixCls, className, vertical && `${prefixCls}-vertical`].filter(Boolean).join(' ').trim();\n\n return (\n
\n {children}\n
\n );\n});\n","import React from 'react';\nimport Icon, { IconProps } from '@uiw/react-icon';\nimport { IProps, HTMLButtonProps } from '@uiw/utils';\nimport './style/index.less';\n\nexport type ButtonType = 'primary' | 'success' | 'warning' | 'danger' | 'light' | 'dark' | 'link';\nexport type ButtonSize = 'large' | 'default' | 'small';\n\nexport interface ButtonProps extends IProps, Omit {\n basic?: boolean;\n disabled?: boolean;\n active?: boolean;\n loading?: boolean;\n block?: boolean;\n icon?: IconProps['type'];\n type?: ButtonType;\n size?: ButtonSize;\n htmlType?: 'button' | 'submit' | 'reset';\n onClick?: (e: React.MouseEvent & MouseEvent) => void;\n}\n\nexport default React.forwardRef((props, ref) => {\n const {\n prefixCls = 'w-btn',\n disabled = false,\n active = false,\n loading = false,\n block = false,\n basic = false,\n htmlType = 'button',\n type = 'light',\n size = 'default',\n icon,\n className,\n children,\n ...others\n } = props;\n const cls = [\n className,\n prefixCls,\n size ? `${prefixCls}-size-${size}` : null,\n type ? `${prefixCls}-${type}` : null,\n basic ? `${prefixCls}-basic` : null,\n loading ? `${prefixCls}-loading` : null,\n disabled || loading ? 'disabled' : null,\n active ? 'active' : null,\n block ? 'block' : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n\n return (\n \n );\n});\n","import React, { useMemo } from 'react';\nimport { IProps, HTMLDivProps } from '@uiw/utils';\nimport './style/index.less';\n\nexport interface CardProps extends IProps, Omit {\n active?: boolean;\n bordered?: boolean;\n bodyStyle?: React.CSSProperties;\n bodyClassName?: string;\n title?: React.ReactNode;\n noHover?: boolean;\n extra?: React.ReactNode;\n footer?: React.ReactNode;\n}\n\nexport default React.forwardRef((props, ref) => {\n const {\n prefixCls = 'w-card',\n className,\n title,\n extra,\n footer,\n bordered = true,\n noHover = false,\n active = false,\n bodyStyle,\n bodyClassName,\n children,\n ...resetProps\n } = props;\n const cls = useMemo(\n () =>\n [\n prefixCls,\n className,\n bordered ? `${prefixCls}-bordered` : null,\n noHover ? `${prefixCls}-no-hover` : null,\n active ? 'active' : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim(),\n [prefixCls, className, bordered, noHover],\n );\n\n return (\n
\n {(title || extra) && (\n
\n {title &&
{title}
}\n {extra &&
{extra}
}\n
\n )}\n {children && (\n
\n {children}\n
\n )}\n {footer &&
{footer}
}\n
\n );\n});\n","import React, { useMemo, useRef } from 'react';\nimport { IProps, HTMLDivProps } from '@uiw/utils';\nimport './style/group.less';\n\nexport type Value = string | number;\nexport interface CheckboxGroupPorps extends IProps, Omit {\n value?: Value[];\n name?: string;\n onChange?: (e: React.ChangeEvent, values: Value[]) => void;\n}\n\nexport const CheckboxGroup = React.forwardRef((props, ref) => {\n const { prefixCls = 'w-checkbox-group', className, name, value, onChange, ...other } = props;\n const valueRef = useRef([]);\n const cls = [prefixCls, className].filter(Boolean).join(' ').trim();\n const childs = React.Children.toArray(props.children);\n useMemo(() => (valueRef.current = value || []), [value]);\n return (\n
\n {React.Children.map(childs, (element: React.ReactNode) => {\n if (!React.isValidElement(element)) return;\n if (\n Array.isArray(value) &&\n element &&\n element.props &&\n element.props.value &&\n value.includes(element.props.value)\n ) {\n if (!valueRef.current.includes(element.props.value)) {\n valueRef.current.push(element.props.value);\n }\n }\n return React.cloneElement(\n element,\n Object.assign({}, element.props, {\n name,\n checked: valueRef.current.includes(element.props.value),\n onChange: (e: React.ChangeEvent) => {\n if (e.target.type && e.target.type !== 'checkbox') return;\n const checked = e.target.checked;\n const include = valueRef.current.includes(element.props.value);\n if (!include && checked) {\n valueRef.current.push(element.props.value);\n } else if (include && !checked) {\n valueRef.current = valueRef.current.filter((val) => val !== element.props.value);\n }\n onChange && onChange(e, valueRef.current);\n },\n }),\n );\n })}\n
\n );\n});\n","import React from 'react';\nimport { RadioAbstract, RadioAbstractProps } from '@uiw/react-radio';\nimport { CheckboxGroup } from './Group';\nimport './style/index.less';\n\nexport interface CheckboxProps extends RadioAbstractProps {\n indeterminate?: boolean;\n}\n\nfunction InternalCheckbox(props: CheckboxProps, ref: React.ForwardedRef) {\n const {\n className,\n prefixCls = 'w-checkbox',\n type = 'checkbox',\n indeterminate = false,\n disabled = false,\n value = '',\n ...other\n } = props;\n\n const cls = [className, indeterminate && 'indeterminate'].filter(Boolean).join(' ').trim();\n return (\n \n );\n}\n\nconst Checkbox = React.forwardRef(InternalCheckbox);\ntype Checkbox = typeof Checkbox & {\n Group: typeof CheckboxGroup;\n};\n\n(Checkbox as Checkbox).Group = CheckboxGroup;\n\nexport default Checkbox as Checkbox;\n","import Checkbox from './Checkbox';\n\nexport * from './Checkbox';\nexport * from './Group';\nexport default Checkbox;\n","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import { EditorView } from '@codemirror/view';\n\nexport const defaultLightThemeOption = EditorView.theme(\n {\n '&': {\n backgroundColor: '#fff',\n },\n },\n {\n dark: false,\n },\n);\n","import React, { useEffect, useRef, useImperativeHandle } from 'react';\nimport { EditorState, EditorStateConfig, Extension } from '@codemirror/state';\nimport { EditorView, ViewUpdate } from '@codemirror/view';\nimport { useCodeMirror } from './useCodeMirror';\n\nexport * from '@codemirror/view';\nexport * from '@codemirror/basic-setup';\nexport * from '@codemirror/state';\nexport * from './useCodeMirror';\n\nexport interface ReactCodeMirrorProps\n extends Omit,\n Omit, 'onChange' | 'placeholder'> {\n /** value of the auto created model in the editor. */\n value?: string;\n height?: string;\n minHeight?: string;\n maxHeight?: string;\n width?: string;\n minWidth?: string;\n maxWidth?: string;\n /** focus on the editor. */\n autoFocus?: boolean;\n /** Enables a placeholder—a piece of example content to show when the editor is empty. */\n placeholder?: string | HTMLElement;\n /**\n * `light` / `dark` / `Extension` Defaults to `light`.\n * @default light\n */\n theme?: 'light' | 'dark' | Extension;\n /**\n * Whether to optional basicSetup by default\n * @default true\n */\n basicSetup?: boolean;\n /**\n * This disables editing of the editor content by the user.\n * @default true\n */\n editable?: boolean;\n /**\n * Whether to optional basicSetup by default\n * @default true\n */\n indentWithTab?: boolean;\n /** Fired whenever a change occurs to the document. */\n onChange?(value: string, viewUpdate: ViewUpdate): void;\n /** Fired whenever a change occurs to the document. There is a certain difference with `onChange`. */\n onUpdate?(viewUpdate: ViewUpdate): void;\n /**\n * Extension values can be [provided](https://codemirror.net/6/docs/ref/#state.EditorStateConfig.extensions) when creating a state to attach various kinds of configuration and behavior information.\n * They can either be built-in extension-providing objects,\n * such as [state fields](https://codemirror.net/6/docs/ref/#state.StateField) or [facet providers](https://codemirror.net/6/docs/ref/#state.Facet.of),\n * or objects with an extension in its `extension` property. Extensions can be nested in arrays arbitrarily deep—they will be flattened when processed.\n */\n extensions?: Extension[];\n /**\n * If the view is going to be mounted in a shadow root or document other than the one held by the global variable document (the default), you should pass it here.\n * Originally from the [config of EditorView](https://codemirror.net/6/docs/ref/#view.EditorView.constructor%5Econfig.root)\n */\n root?: ShadowRoot | Document;\n}\n\nexport interface ReactCodeMirrorRef {\n editor?: HTMLDivElement | null;\n state?: EditorState;\n view?: EditorView;\n}\n\nconst ReactCodeMirror = React.forwardRef((props, ref) => {\n const {\n className,\n value = '',\n selection,\n extensions = [],\n onChange,\n onUpdate,\n autoFocus,\n theme = 'light',\n height,\n minHeight,\n maxHeight,\n width,\n minWidth,\n maxWidth,\n basicSetup,\n placeholder,\n indentWithTab,\n editable,\n root,\n ...other\n } = props;\n const editor = useRef(null);\n const { state, view, container, setContainer } = useCodeMirror({\n container: editor.current,\n root,\n value,\n autoFocus,\n theme,\n height,\n minHeight,\n maxHeight,\n width,\n minWidth,\n maxWidth,\n basicSetup,\n placeholder,\n indentWithTab,\n editable,\n selection,\n onChange,\n onUpdate,\n extensions,\n });\n useImperativeHandle(ref, () => ({ editor: container, state, view }), [container, state, view]);\n useEffect(() => {\n setContainer(editor.current);\n return () => {\n if (view) {\n view.destroy();\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n // check type of value\n if (typeof value !== 'string') {\n throw new Error(`value must be typeof string but got ${typeof value}`);\n }\n\n const defaultClassNames = typeof theme === 'string' ? `cm-theme-${theme}` : 'cm-theme';\n return
;\n});\n\nReactCodeMirror.displayName = 'CodeMirror';\n\nexport default ReactCodeMirror;\n","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import { useEffect, useState } from 'react';\nimport { basicSetup as defaultBasicSetup } from '@codemirror/basic-setup';\nimport { EditorState, StateEffect } from '@codemirror/state';\nimport { indentWithTab as defaultIndentWithTab } from '@codemirror/commands';\nimport { EditorView, keymap, ViewUpdate, placeholder as extendPlaceholder } from '@codemirror/view';\nimport { oneDark } from '@codemirror/theme-one-dark';\nimport { ReactCodeMirrorProps } from './';\nimport { defaultLightThemeOption } from './theme/light';\n\nexport interface UseCodeMirror extends ReactCodeMirrorProps {\n container?: HTMLDivElement | null;\n}\n\nexport function useCodeMirror(props: UseCodeMirror) {\n const {\n value,\n selection,\n onChange,\n onUpdate,\n extensions = [],\n autoFocus,\n theme = 'light',\n height = '',\n minHeight = '',\n maxHeight = '',\n placeholder = '',\n width = '',\n minWidth = '',\n maxWidth = '',\n editable = true,\n indentWithTab = true,\n basicSetup = true,\n root,\n } = props;\n const [container, setContainer] = useState(props.container);\n const [view, setView] = useState();\n const [state, setState] = useState();\n const defaultThemeOption = EditorView.theme({\n '&': {\n height,\n minHeight,\n maxHeight,\n width,\n minWidth,\n maxWidth,\n },\n });\n const updateListener = EditorView.updateListener.of((vu: ViewUpdate) => {\n if (vu.docChanged && typeof onChange === 'function') {\n const doc = vu.state.doc;\n const value = doc.toString();\n onChange(value, vu);\n }\n });\n let getExtensions = [updateListener, defaultThemeOption];\n if (indentWithTab) {\n getExtensions.unshift(keymap.of([defaultIndentWithTab]));\n }\n if (basicSetup) {\n getExtensions.unshift(defaultBasicSetup);\n }\n\n if (placeholder) {\n getExtensions.unshift(extendPlaceholder(placeholder));\n }\n\n switch (theme) {\n case 'light':\n getExtensions.push(defaultLightThemeOption);\n break;\n case 'dark':\n getExtensions.push(oneDark);\n break;\n default:\n getExtensions.push(theme);\n break;\n }\n\n if (editable === false) {\n getExtensions.push(EditorView.editable.of(false));\n }\n\n if (onUpdate && typeof onUpdate === 'function') {\n getExtensions.push(EditorView.updateListener.of(onUpdate));\n }\n getExtensions = getExtensions.concat(extensions);\n\n useEffect(() => {\n if (container && !state) {\n const stateCurrent = EditorState.create({\n doc: value,\n selection,\n extensions: getExtensions,\n });\n setState(stateCurrent);\n if (!view) {\n const viewCurrent = new EditorView({\n state: stateCurrent,\n parent: container as any,\n root,\n });\n setView(viewCurrent);\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [container, state]);\n\n useEffect(() => {\n return () => {\n if (view) {\n view.destroy();\n }\n };\n }, [view]);\n\n useEffect(() => {\n if (view) {\n const currentValue = view.state.doc.toString();\n if (value !== currentValue) {\n view.dispatch({\n changes: { from: 0, to: currentValue.length, insert: value || '' },\n });\n }\n }\n }, [value, view]);\n\n useEffect(() => {\n if (view) {\n view.dispatch({ effects: StateEffect.reconfigure.of(getExtensions) });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n theme,\n extensions,\n placeholder,\n height,\n minHeight,\n maxHeight,\n width,\n minWidth,\n maxWidth,\n editable,\n indentWithTab,\n basicSetup,\n ]);\n\n useEffect(() => {\n if (autoFocus && view) {\n view.focus();\n }\n }, [autoFocus, view]);\n\n return { state, setState, view, setView, container, setContainer };\n}\n","import React from 'react';\nimport './style/index.less';\n\nexport interface SplitProps extends Omit, 'onDragEnd'> {\n style?: React.CSSProperties;\n className?: string;\n prefixCls?: string;\n /**\n * 拖拽宽度/高度变化回调函数,宽度或者高度根据 mode 参数来确定\n */\n onDragging?: (preSize: number, nextSize: number, paneNumber: number) => void;\n /** 拖拽结束的回调函数 */\n onDragEnd?: (preSize: number, nextSize: number, paneNumber: number) => void;\n /** 支持自定义拖拽工具栏 */\n renderBar?: (props: React.HTMLAttributes) => JSX.Element;\n /** 设置拖拽的工具条,为线条样式。 */\n lineBar?: boolean;\n /** 设置拖拽的工具条,是否可见 */\n visiable?: boolean | number[];\n /**\n * 设置拖拽的工具条,禁用\n */\n disable?: boolean | number[];\n /**\n * 类型,可选值为 `horizontal` 或 `vertical`\n */\n mode?: 'horizontal' | 'vertical';\n}\nexport interface SplitState {\n dragging: boolean;\n}\n\nexport default class Split extends React.Component {\n public static defaultProps: SplitProps = {\n prefixCls: 'w-split',\n visiable: true,\n mode: 'horizontal',\n }\n public state: SplitState = {\n dragging: false,\n }\n public warpper!: HTMLDivElement | null;\n public paneNumber!: number;\n public startX!: number;\n public startY!: number;\n public move!: boolean;\n public target!: HTMLDivElement;\n\n public boxWidth!: number;\n public boxHeight!: number;\n public preWidth!: number;\n public nextWidth!: number;\n public preHeight!: number;\n public nextHeight!: number;\n\n public preSize!: number;\n public nextSize!: number;\n constructor(props: SplitProps) {\n super(props);\n this.onDragEnd = this.onDragEnd.bind(this);\n this.onDragging = this.onDragging.bind(this);\n }\n public componentWillUnmount() {\n this.removeEvent();\n }\n private removeEvent() {\n window.removeEventListener('mousemove', this.onDragging, false);\n window.removeEventListener('mouseup', this.onDragEnd, false);\n }\n onMouseDown(paneNumber: number, env: React.MouseEvent) {\n if (!env.target || !this.warpper) {\n return;\n }\n this.paneNumber = paneNumber;\n this.startX = env.clientX;\n this.startY = env.clientY;\n this.move = true;\n this.target = (env.target as HTMLDivElement).parentNode as HTMLDivElement;\n const prevTarget = this.target.previousElementSibling;\n const nextTarget = this.target.nextElementSibling;\n this.boxWidth = this.warpper.clientWidth;\n this.boxHeight = this.warpper.clientHeight;\n if (prevTarget) {\n this.preWidth = prevTarget.clientWidth;\n this.preHeight = prevTarget.clientHeight;\n }\n if (nextTarget) {\n this.nextWidth = nextTarget.clientWidth;\n this.nextHeight = nextTarget.clientHeight;\n }\n window.addEventListener('mousemove', this.onDragging);\n window.addEventListener('mouseup', this.onDragEnd, false);\n this.setState({ dragging: true });\n }\n onDragging(env: Event) {\n if (!this.move) {\n return;\n }\n if (!this.state.dragging) {\n this.setState({ dragging: true });\n }\n const { mode, onDragging } = this.props;\n const nextTarget = this.target.nextElementSibling as HTMLDivElement;\n const prevTarget = this.target.previousElementSibling as HTMLDivElement;\n const x = (env as MouseEvent).clientX - this.startX;\n const y = (env as MouseEvent).clientY - this.startY;\n this.preSize = 0;\n this.nextSize = 0;\n if (mode === 'horizontal') {\n this.preSize = this.preWidth + x > -1 ? this.preWidth + x : 0;\n this.nextSize = this.nextWidth - x > -1 ? this.nextWidth - x : 0;\n if (this.preSize === 0 || this.nextSize === 0) {\n return;\n }\n this.preSize = (this.preSize / this.boxWidth >= 1 ? 1 : this.preSize / this.boxWidth) * 100;\n this.nextSize = (this.nextSize / this.boxWidth >= 1 ? 1 : this.nextSize / this.boxWidth) * 100;\n if (prevTarget && nextTarget) {\n prevTarget.style.width = `${this.preSize}%`;\n nextTarget.style.width = `${this.nextSize}%`;\n }\n }\n if (mode === 'vertical' && this.preHeight + y > -1 && this.nextHeight - y > -1) {\n this.preSize = this.preHeight + y > -1 ? this.preHeight + y : 0;\n this.nextSize = this.nextHeight - y > -1 ? this.nextHeight - y : 0;\n this.preSize = (this.preSize / this.boxHeight >= 1 ? 1 : this.preSize / this.boxHeight) * 100;\n this.nextSize = (this.nextSize / this.boxHeight >= 1 ? 1 : this.nextSize / this.boxHeight) * 100;\n if (this.preSize === 0 || this.nextSize === 0) {\n return;\n }\n if (prevTarget && nextTarget) {\n prevTarget.style.height = `${this.preSize}%`;\n nextTarget.style.height = `${this.nextSize}%`;\n }\n }\n onDragging && onDragging(this.preSize, this.nextSize, this.paneNumber);\n }\n onDragEnd() {\n const { onDragEnd } = this.props;\n this.move = false;\n onDragEnd && onDragEnd(this.preSize, this.nextSize, this.paneNumber);\n this.removeEvent();\n this.setState({ dragging: false });\n }\n render() {\n const { prefixCls, className, children, mode, visiable, renderBar, lineBar, disable, onDragEnd, onDragging, ...other } = this.props;\n const { dragging } = this.state;\n const cls = [prefixCls, className, `${prefixCls}-${mode}`, dragging ? 'dragging' : null].filter(Boolean)\n .join(' ')\n .trim();\n const child = React.Children.toArray(children);\n return (\n
this.warpper = node}>\n {React.Children.map(child, (element: any, idx: number) => {\n const props = Object.assign({}, element.props, {\n className: [`${prefixCls}-pane`, element.props.className].filter(Boolean)\n .join(' ')\n .trim(),\n style: { ...element.props.style },\n });\n const visiableBar = (visiable === true || (visiable && visiable.includes((idx + 1) as never))) || false;\n const barProps = {\n className: [`${prefixCls}-bar`, \n lineBar ? `${prefixCls}-line-bar` : null,\n !lineBar ? `${prefixCls}-large-bar` : null].filter(Boolean)\n .join(' ')\n .trim(),\n };\n if (disable === true || (disable && disable.includes((idx + 1) as never))) {\n barProps.className = [barProps.className, disable ? 'disable' : null].filter(Boolean)\n .join(' ')\n .trim();\n }\n let BarCom = null;\n if (idx !== 0 && visiableBar && renderBar) {\n BarCom = renderBar({ ...barProps, onMouseDown: this.onMouseDown.bind(this, idx + 1) });\n } else if (idx !== 0 && visiableBar) {\n BarCom = React.createElement('div', { ...barProps },
)\n }\n return (\n \n {BarCom}\n {React.cloneElement(element, { ...props })}\n \n );\n })}\n
\n );\n }\n}\n","import React, { useEffect, useState } from 'react';\nimport { getParameters } from 'codesandbox-import-utils/lib/api/define';\n\nexport type CodeSandboxProps = React.FormHTMLAttributes & React.IframeHTMLAttributes & {\n /**\n * Whether we should redirect to the embed instead of the editor.\n */\n embed?: boolean;\n /**\n * The query that will be used in the redirect url. `embed` must be equal to `true`, `embed=true`.\n * [CodeSandbox Embed Options](https://codesandbox.io/docs/embedding#embed-options)\n * @example `view=preview&runonclick=1`\n */\n query?: string;\n /**\n * Instead of redirecting we will send a JSON reponse with `{\"sandbox_id\": sandboxId}`.\n */\n json?: boolean;\n /**\n * Parameters used to define how the sandbox should be created.\n */\n files?: Record;\n isBinary?: boolean;\n }>\n};\n\nfunction request(files: CodeSandboxProps['files']) {\n return fetch('https://codesandbox.io/api/v1/sandboxes/define?json=1', {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\"\n },\n body: JSON.stringify({\n files: files,\n })\n }).then(x => x.json());\n}\n\nconst CodeSandbox: React.FC = (props) => {\n const { files = {}, embed, json, query, ...other } = props || {};\n const parameters = getParameters({ files } as any);\n const [url, setUrl] = useState();\n useEffect(() => {\n if (!props.children) {\n request(files).then(data => {\n if (data && data.sandbox_id) {\n const cusUrl = `https://codesandbox.io/${embed ? 'embed': 's'}/${data.sandbox_id}?${query ? query : ''}`;\n setUrl(cusUrl);\n }\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [files]);\n if (!props.children) {\n return (\n \n )\n }\n return (\n
\n \n {embed && }\n {json && }\n {query && }\n \n
\n )\n\n}\n\nexport default CodeSandbox;\n","import React from 'react';\nimport CodeSandbox, { CodeSandboxProps } from '@uiw/react-codesandbox';\nimport Codepen from '@uiw/react-codepen';\nimport { CodePreviewProps } from './';\nimport './ThirdPartyButton.less';\n\ntype ThirdPartyButtonProps = {\n prefixCls?: string;\n codePenOption?: CodePreviewProps['codePenOption'];\n codeSandboxOption?: CodeSandboxProps;\n};\n\nconst ThirdPartyButton: React.FC = (props) => {\n const { codePenOption, codeSandboxOption, prefixCls } = props || {};\n const { includeModule, ...otherCodePenOptions } = codePenOption || {};\n if (otherCodePenOptions && otherCodePenOptions.js) {\n let include = (includeModule || []).join('|');\n otherCodePenOptions.js = otherCodePenOptions.js.replace(/import([\\s\\S]*?)(?=['\"])['\"].*['\"]( *;|;)?/gm, (str) => {\n // eslint-disable-next-line no-useless-escape\n if (include && new RegExp(`from\\\\s+['\"](${include})['\"](\\s.+)?;?`).test(str)) {\n return str;\n }\n return `/** ${str} **/`;\n });\n }\n return (\n
\n {codePenOption && (\n \n \n \n \n \n )}\n {codeSandboxOption && (\n \n \n \n \n \n )}\n
\n );\n};\n\nexport default ThirdPartyButton;\n","export const full = (\n \n \n \n);\n\nexport const bgPlaid = (\n \n \n \n \n \n \n \n);\n\nexport const copy = (\n \n \n \n);\n\nexport const copyOk = (\n \n \n \n);\n","import { useMemo } from 'react';\n\ninterface ErrorMessageProps {\n message?: string;\n}\n\nexport function ErrorMessage(props: ErrorMessageProps) {\n const { message } = props;\n return useMemo(() => {\n if (!message) return null;\n return (\n
\n        {message}\n      
\n );\n }, [message]);\n}\n","import React, { useEffect, useRef } from 'react';\nimport ReactDOM from 'react-dom';\nimport { useState } from 'react';\nimport { babelTransform } from './transform';\nimport { CodePreviewProps } from './';\n\nexport function useCodePreview(props: CodePreviewProps) {\n const [demoDom, setDemoDom] = useState();\n const playerId = useRef(`${parseInt(String(Math.random() * 1e9), 10).toString(36)}`);\n const [fullScreen, setFullScreen] = useState(false);\n const [errorMessage, setErrorMessage] = useState('');\n const [showEdit, setShowEdit] = useState(false);\n const [width, setWidth] = useState(1);\n const [copied, setCopied] = useState(false);\n const [code, setCode] = useState(props.code || '');\n\n const executeCode = (str: string) => {\n const { React: _React, ReactDOM: _ReactDOM, ...otherDeps } = props.dependencies || {};\n try {\n const deps = {\n React: _React || React,\n ReactDOM: _ReactDOM || ReactDOM,\n ...otherDeps,\n } as any;\n // const args = ['context', 'React', 'ReactDOM', 'Component'];\n const args = [];\n // const argv = [this, React, ReactDOM, Component];\n const argv: any = [];\n for (const key in deps) {\n args.push(key);\n argv.push(deps[key]);\n }\n str = str.replace('_mount_', `document.getElementById('${playerId.current}')`);\n const input = `${str}`;\n const { code } = babelTransform(input);\n args.push(code || '');\n // console.log('code:', argv)\n // eslint-disable-next-line no-new-func\n new Function(...args).apply(null, argv);\n setErrorMessage('');\n } catch (err: any) {\n let message = '';\n if (err && err.message) {\n message = err.message;\n } else {\n message = JSON.stringify(err);\n }\n setErrorMessage(message);\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useEffect(() => executeCode(code), [code, props.noPreview, demoDom]);\n return {\n playerId,\n demoDom,\n setDemoDom,\n fullScreen,\n setFullScreen,\n errorMessage,\n setErrorMessage,\n width,\n setWidth,\n showEdit,\n setShowEdit,\n copied,\n setCopied,\n code,\n setCode,\n executeCode,\n };\n}\n","import { transform } from '@babel/standalone';\nimport RemoveImports from 'babel-plugin-transform-remove-imports';\n\nexport function babelTransform(input: string) {\n return transform(input, {\n presets: ['env', 'es2015', 'react'],\n plugins: [[RemoveImports, { removeAll: true }]],\n });\n}\n","import React, { useRef, useEffect, useImperativeHandle } from 'react';\nimport CodeMirror, { ReactCodeMirrorProps, ReactCodeMirrorRef, ViewUpdate } from '@uiw/react-codemirror';\nimport copyTextToClipboard from '@uiw/copy-to-clipboard';\nimport { javascript } from '@codemirror/lang-javascript';\nimport { CodeSandboxProps } from '@uiw/react-codesandbox';\nimport { CodepenProps } from '@uiw/react-codepen';\nimport Split, { SplitProps } from '@uiw/react-split';\nimport ThirdPartyButton from './ThirdPartyButton';\nimport * as icon from './icon';\nimport { ErrorMessage } from './ErrorMessage';\nimport { useCodePreview } from './useCodePreview';\nimport './index.less';\n\nexport interface CodePreviewProps extends SplitProps {\n prefixCls?: string;\n style?: React.CSSProperties;\n /**\n * To specify a CSS class, use the className attribute.\n */\n className?: string;\n /**\n * Whether to display the border.\n */\n bordered?: boolean;\n /**\n * `JSX` source code\n */\n code?: string;\n /**\n * Whether to display the code interface.\n */\n noCode?: boolean;\n /**\n * Is the background white or plaid?\n */\n bgWhite?: boolean;\n /**\n * Only show Edit\n */\n onlyEdit?: boolean;\n /**\n * Whether to display the preview interface.\n */\n noPreview?: boolean;\n /**\n * Preview area does not display scroll bars\n */\n noScroll?: boolean;\n /**\n * Modify ReactCodemirror props.\n */\n editProps?: ReactCodeMirrorProps;\n /**\n * Dependent component\n */\n dependencies?: Record;\n codePenOption?: CodepenProps & {\n /**\n * Packages that do not require comments.\n * @example ['uiw']\n */\n includeModule?: string[];\n };\n codeSandboxOption?: CodeSandboxProps;\n /** @default 'Code' */\n btnText?: string;\n /** @default 'Hide Editor' */\n btnHideText?: string;\n}\n\nexport interface CodePreviewState {\n errorMessage: string;\n fullScreen: boolean;\n width: number | string;\n copied: boolean;\n showEdit: boolean;\n}\n\nexport interface CodePreviewRef {\n editor?: React.RefObject;\n demo?: HTMLDivElement | null;\n}\n\nconst CodePreview = React.forwardRef((props, ref) => {\n const {\n style,\n prefixCls = 'w-code-preview',\n className,\n editProps = {},\n codePenOption,\n codeSandboxOption,\n code: _Code = '',\n dependencies = {},\n btnText = 'Code',\n btnHideText = 'Hide Editor',\n onlyEdit = false,\n bordered = true,\n noCode = false,\n noPreview = false,\n noScroll = false,\n bgWhite = false,\n ...otherProps\n } = props;\n const {\n playerId,\n setDemoDom,\n code,\n setCode,\n fullScreen,\n setFullScreen,\n errorMessage,\n width,\n setWidth,\n showEdit,\n setShowEdit,\n copied,\n setCopied,\n } = useCodePreview({ code: _Code, dependencies, ...props });\n const demoRef = useRef(null);\n const editor = useRef(null);\n useImperativeHandle(ref, () => ({ editor: editor, demo: demoRef.current }), [editor, demoRef]);\n const isOneItem = !noCode && !noPreview ? false : !noCode || !noPreview;\n const visiable = width === 1 ? false : [isOneItem ? 1 : 2];\n const cls = [\n className,\n prefixCls,\n noScroll ? `${prefixCls}-noScroll` : null,\n isOneItem ? `${prefixCls}-OneItem` : null,\n bordered ? `${prefixCls}-bordered` : null,\n fullScreen ? `${prefixCls}-fullScreen` : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useEffect(() => setCode(_Code), [_Code]);\n useEffect(() => {\n if (demoRef.current) {\n setDemoDom(demoRef.current);\n }\n window.addEventListener(\n 'popstate',\n (e) => {\n document.body.style.overflow = 'inherit';\n },\n false,\n );\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const transitionend = () => setShowEdit(width !== 1);\n\n useEffect(() => {\n const dom = demoRef.current;\n if (dom) {\n dom.addEventListener('transitionend', transitionend);\n }\n return () => {\n if (dom) {\n dom.removeEventListener('transitionend', transitionend);\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [width]);\n\n const handleChange = (value: string, viewUpdate: ViewUpdate) => {\n setCode(value);\n if (editProps && editProps.onChange) {\n editProps.onChange(value, viewUpdate);\n }\n };\n const onSwitchSource = () => {\n setWidth(width === 1 ? '50%' : 1);\n setShowEdit(true);\n };\n const onCopyCode = () => {\n copyTextToClipboard(code || '', (isCopy) => setCopied(isCopy));\n setTimeout(() => setCopied(false), 2000);\n };\n const onFullScreen = () => {\n setFullScreen(!fullScreen);\n document.body.style.overflow = !fullScreen ? 'hidden' : 'inherit';\n if (!fullScreen && demoRef.current) {\n demoRef.current.style.maxWidth = 'inherit';\n }\n };\n return (\n \n {!noPreview && !onlyEdit && (\n \n \n \n
\n )}\n {(!noCode || onlyEdit) && (\n
\n {(showEdit || onlyEdit) && (\n \n )}\n
\n )}\n {!isOneItem && !(noCode && noPreview) && !onlyEdit && (\n
\n \n
\n {width === 1 ? btnText : btnHideText}\n
\n \n {copied ? icon.copyOk : icon.copy}\n
\n \n {icon.full}\n \n \n )}\n \n );\n});\n\nCodePreview.displayName = 'CodePreview';\n\nexport default CodePreview;\n","import React from 'react';\n\n/**\n * CodePenOption Example\n * \n * ```js\n * {\n * title: `uiw${version} - demo`,\n * editors: '0010',\n * js_pre_processor: 'babel',\n * html: '
',\n * js: jsxCode || '',\n * css: '',\n * css_external: `https://unpkg.com/uiw${version}/dist/uiw.min.css`,\n * js_external: `https://unpkg.com/react@16.x/umd/react.development.js;https://unpkg.com/react-dom@16.x/umd/react-dom.development.js;https://unpkg.com/classnames@2.2.6/index.js;https://unpkg.com/uiw${version}/dist/uiw.min.js;https://unpkg.com/@uiw/codepen-require-polyfill@1.0.2/index.js`,\n * };\n * ```\n */\nexport type CodePenOption = {\n title?: string;\n html?: string;\n js?: string;\n css?: string;\n editors?: string;\n css_external?: string;\n js_external?: string;\n js_pre_processor?: string;\n}\n\nexport type CodepenProps = CodePenOption & React.FormHTMLAttributes;\n\nconst defaultOptions: CodePenOption = {\n editors: '0010',\n js_pre_processor: 'babel',\n}\n\nconst codepen: React.FC = (props) => {\n const { title, html, js, css, editors = defaultOptions.editors, css_external, js_external, js_pre_processor = defaultOptions.js_pre_processor, ...other } = props || {};\n const codePenOption: CodePenOption = { title, html, js, css, editors, css_external, js_external, js_pre_processor };\n return (\n
\n \n \n
\n );\n}\n\nexport default codepen;\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = _default;\n\nfunction _default() {\n return {\n name: 'transform-remove-imports',\n visitor: {\n // https://babeljs.io/docs/en/babel-types#callexpression\n CallExpression: function CallExpression(path, state) {\n var node = path.node;\n\n if (node.callee.name !== 'require') {\n return;\n }\n\n var argument = node.arguments[0];\n var moduleId = argument.value;\n var options = state.opts;\n\n if (options.test && !testMatches(moduleId, options.test)) {\n return;\n }\n\n var parentType = path.parentPath.node.type; // In remove effects mode we should delete only requires that are\n // simple expression statements\n\n if (options.remove === 'effects' && parentType !== 'ExpressionStatement') {\n return;\n }\n\n path.remove();\n },\n // https://babeljs.io/docs/en/babel-types#importdeclaration\n ImportDeclaration: function ImportDeclaration(path, state) {\n var node = path.node;\n var source = node.source;\n var opts = state.opts;\n\n if (opts.removeAll) {\n path.remove();\n return;\n }\n\n if (!opts.test) {\n console.warn('transform-remove-imports: \"test\" option should be specified');\n return;\n }\n /** @var {string} importName */\n\n\n var importName = source && source.value ? source.value : undefined;\n var isMatch = testMatches(importName, opts.test); // https://github.com/uiwjs/babel-plugin-transform-remove-imports/issues/3\n\n if (opts.remove === 'effects') {\n if (node.specifiers && node.specifiers.length === 0 && importName && isMatch) {\n path.remove();\n }\n\n return;\n }\n\n if (importName && isMatch) {\n path.remove();\n }\n }\n }\n };\n}\n/**\n * Determines if the import matches the specified tests.\n *\n * @param {string} importName\n * @param {RegExp|RegExp[]|string|string[]} test\n * @returns {Boolean}\n */\n\n\nfunction testMatches(importName, test) {\n // Normalizing tests\n var tests = Array.isArray(test) ? test : [test]; // Finding out if at least one test matches\n\n return tests.some(function (regex) {\n if (typeof regex === 'string') {\n regex = new RegExp(regex);\n }\n\n return regex.test(importName || '');\n });\n}","import React, { useState, useMemo } from 'react';\nimport { IProps, HTMLDivProps } from '@uiw/utils';\nimport Panel from './Panel';\nimport './style/index.less';\n\nexport interface CollapseProps extends IProps, Omit {\n accordion?: boolean;\n activeKey?: string | string[];\n bordered?: boolean;\n showArrow?: boolean;\n onChange?: (activeKey: string[]) => void;\n}\n\nexport interface CollapseState {\n activeKey: string[];\n}\n\nfunction toArray(activeKey: CollapseProps['activeKey']) {\n let currentActiveKey = activeKey;\n if (!Array.isArray(currentActiveKey)) {\n currentActiveKey = currentActiveKey ? [currentActiveKey] : [];\n }\n return currentActiveKey;\n}\n\nfunction InternalCollapse(props: CollapseProps, ref: React.ForwardedRef) {\n const {\n prefixCls = 'w-collapse',\n className,\n children,\n accordion = false,\n bordered,\n showArrow = true,\n activeKey: propsActiveKey,\n onChange,\n ...resetProps\n } = props;\n const [activeKey, setActiveKey] = useState(toArray(propsActiveKey));\n const cls = [prefixCls, className, bordered ? 'w-noborder' : null].filter(Boolean).join(' ').trim();\n function onItemClick(key: string) {\n let keys = activeKey;\n if (accordion) {\n keys = keys[0] === key ? [] : [key];\n } else {\n keys = [...keys];\n const index = keys.indexOf(key);\n const isActive = index > -1;\n if (isActive) {\n keys.splice(index, 1);\n } else {\n keys.push(key);\n }\n }\n setActiveKey(keys);\n }\n useMemo(() => {\n if (propsActiveKey !== activeKey) {\n setActiveKey(toArray(propsActiveKey));\n }\n }, [propsActiveKey]);\n useMemo(() => {\n if (propsActiveKey !== activeKey) {\n onChange && onChange(activeKey);\n }\n }, [activeKey, propsActiveKey]);\n return (\n
\n {React.Children.map(children, (child: any, index) => {\n // 如果没有密钥提供,请使用面板顺序作为默认密钥\n const key = child.key || String(index);\n const { disabled } = child.props;\n let isActive = false;\n if (accordion) {\n // 手风琴模式下默认选择第一个\n isActive = activeKey[0] === key;\n } else {\n isActive = activeKey.indexOf(key) > -1;\n }\n const childProps = {\n prefixCls,\n isActive,\n disabled,\n showArrow,\n onItemClick: disabled ? () => {} : () => onItemClick(key),\n ...child.props,\n };\n return React.cloneElement(child, childProps);\n })}\n
\n );\n}\n\ntype CollapseComponent = React.FC> & {\n Panel: typeof Panel;\n};\n\nconst Collapse: CollapseComponent = React.forwardRef(InternalCollapse) as unknown as CollapseComponent;\n\nCollapse.displayName = 'Collapse';\nCollapse.Panel = Panel;\n\nexport default Collapse;\n","import React from 'react';\nimport { CSSTransition } from 'react-transition-group';\nimport { TransitionStatus } from 'react-transition-group/Transition';\nimport { IProps, HTMLDivProps } from '@uiw/utils';\nimport Icon, { IconProps } from '@uiw/react-icon';\n\nexport interface CollapsePanelProps extends IProps, HTMLDivProps {\n disabled?: boolean;\n showArrow?: boolean;\n isActive?: boolean;\n header?: React.ReactNode;\n icon?: IconProps['type'];\n extra?: React.ReactNode;\n onItemClick?: (evn: React.MouseEvent) => void;\n}\n\nexport default function Panel(props: CollapsePanelProps) {\n const {\n prefixCls = 'w-collapse',\n className,\n icon = 'down',\n children,\n isActive,\n onItemClick,\n disabled = false,\n showArrow,\n header,\n extra,\n ...resetProps\n } = props;\n const cls = [\n prefixCls ? `${prefixCls}-item` : null,\n className,\n isActive ? `${prefixCls}-active` : null,\n disabled ? `${prefixCls}-disabled` : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n const iconRender = typeof icon === 'string' ? : icon;\n\n const childStyle = (child: React.ReactElement) => {\n return Object.assign({}, child && child.props ? child.props.style : {}, {\n transitionDuration: '300ms',\n });\n };\n function getInstance(status: TransitionStatus, instance: any) {\n if (!instance) {\n return;\n }\n if (status === 'exited' || status === 'exiting') {\n instance.style.height = '1px';\n }\n if (status === 'entered' || status === 'entering') {\n instance.style.height = `${instance.scrollHeight}px`;\n }\n }\n return (\n
\n
\n {showArrow && iconRender}\n {header}\n {extra &&
{extra}
}\n
\n \n {(status: TransitionStatus) =>\n React.cloneElement(
{children}
, {\n className: `${prefixCls}-panel`,\n style: childStyle(children as React.ReactElement),\n ref: (e: any) => getInstance(status, e),\n })\n }\n
\n
\n );\n}\n","import Collapse from './Collapse';\n\nexport * from './Collapse';\nexport * from './Panel';\n\nexport default Collapse;\n","import React, { useEffect, useState } from 'react';\nimport Input, { InputProps } from '@uiw/react-input';\nimport Popover, { PopoverProps } from '@uiw/react-popover';\nimport DatePicker, { DatePickerProps } from '@uiw/react-date-picker';\nimport Icon from '@uiw/react-icon';\nimport { IProps } from '@uiw/utils';\nimport formatter from '@uiw/formatter';\nimport './style/date-input-range.less';\n\nexport interface DateInputRangeProps extends IProps, Omit {\n popoverProps?: PopoverProps;\n datePickerProps?: DatePickerProps;\n value?: Array;\n format?: string;\n allowClear?: boolean;\n bodyStyle?: object;\n onChange?: (selectedDate?: Date, dateRange?: Array) => void;\n}\n\nexport function DateInputRange(props: DateInputRangeProps) {\n const {\n prefixCls = 'w-dateinputrange',\n bodyStyle = undefined,\n className,\n popoverProps,\n datePickerProps,\n allowClear = true,\n format = 'YYYY/MM/DD',\n onChange,\n value,\n ...inputProps\n } = props;\n\n const [dateRange, setDateRange] = useState>([]);\n useEffect(() => {\n let valueTemp: Array = [];\n const propsValue = value;\n if (Array.isArray(propsValue) && !!propsValue?.length) {\n propsValue.forEach((date, index) => {\n valueTemp[index] = typeof propsValue[index] === 'string' ? new Date(date) : (date as Date);\n });\n }\n setDateRange(valueTemp);\n }, [JSON.stringify(value)]);\n\n function handleChange(cdate: Date | undefined, idx?: number) {\n const changeValue = [...dateRange];\n changeValue[idx!] = cdate;\n setDateRange(changeValue);\n onChange && onChange(cdate, changeValue);\n }\n\n function clearDateRange() {\n setDateRange([]);\n onChange && onChange(undefined, []);\n }\n\n return (\n \n handleChange(selectedDate, 0)}\n />\n }\n >\n console.log('v', v)}\n value={dateRange[0] ? formatter(format, dateRange[0]) : ''}\n className={[prefixCls, className].filter(Boolean).join(' ').trim()}\n />\n \n\n \n\n handleChange(selectedDate, 1)}\n />\n }\n >\n console.log('v2', v)}\n className={[prefixCls, className].filter(Boolean).join(' ').trim()}\n />\n \n {allowClear && dateRange.length > 0 && (\n clearDateRange()} type=\"close\" />\n )}\n \n );\n}\n","import React, { useEffect, useState } from 'react';\nimport Input, { InputProps } from '@uiw/react-input';\nimport Popover, { PopoverProps } from '@uiw/react-popover';\nimport DatePicker, { DatePickerProps } from '@uiw/react-date-picker';\nimport Icon from '@uiw/react-icon';\nimport { IProps } from '@uiw/utils';\nimport formatter from '@uiw/formatter';\nexport * from './DateInputRange';\nimport './style/index.less';\n\nexport interface DateInputProps extends IProps, Omit {\n popoverProps?: PopoverProps;\n datePickerProps?: DatePickerProps;\n value?: Date | string;\n format?: string;\n allowClear?: boolean;\n onChange?: (selectedDate?: Date) => void;\n autoClose?: boolean;\n}\n\nexport default function DateInput(props: DateInputProps) {\n const {\n prefixCls = 'w-dateinput',\n className,\n popoverProps,\n datePickerProps,\n allowClear = true,\n autoClose = false,\n format = 'YYYY/MM/DD',\n onChange,\n ...inputProps\n } = props;\n const [date, setDate] = useState(props.value);\n\n const value = date || '';\n inputProps.value = typeof value === 'string' ? value : formatter(format, value);\n\n useEffect(() => {\n if (props.value !== date) {\n setDate(props.value);\n }\n }, [props.value]);\n\n function handleChange(cdate?: Date) {\n autoClose && setIsOpen(false);\n setDate(cdate);\n onChange && onChange(cdate);\n }\n if (allowClear && inputProps.value) {\n inputProps.addonAfter = (\n handleChange(undefined)} type=\"close\" />\n );\n }\n\n const [isOpen, setIsOpen] = useState(false);\n\n return (\n setIsOpen(open)}\n {...popoverProps}\n content={\n handleChange(selectedDate!)}\n />\n }\n >\n \n \n );\n}\n","import React, { useMemo } from 'react';\nimport { IProps, HTMLDivProps } from '@uiw/utils';\nimport './style/day.less';\n\nfunction isValidDate(date: Date) {\n return date instanceof Date && !isNaN(date.getTime());\n}\n\nexport interface DatePickerDayDateSource {\n day?: number;\n month?: number;\n year?: number;\n}\n\nfunction classnames(obj: Record) {\n return Object.keys(obj || {})\n .map((keyName) => (obj[keyName] ? keyName : null))\n .filter(Boolean)\n .join(' ')\n .trim();\n}\n\nexport interface DatePickerDayProps extends IProps, HTMLDivProps {\n weekday?: string[];\n weekTitle?: string[];\n panelDate?: Date;\n date?: Date;\n today?: Date;\n prefixCls?: string;\n onSelectDay?: (selectedDate?: Date, dateSource?: DatePickerDayDateSource) => void;\n renderDay?: (day: number, props: DatePickerDayRenderDay & DatePickerDayRenderDayProps) => React.ReactNode;\n disabledDate?: (cellDate: Date, props: DatePickerDayRenderDay & DatePickerDayRenderDayProps) => boolean;\n}\n\nexport interface PickerDayState {\n selected?: Date;\n panelDate?: Date;\n}\n\nexport type DatePickerDayRenderDay = {\n end: boolean;\n prev: boolean;\n today: boolean;\n selected: boolean;\n next: boolean;\n disabled: boolean;\n date?: Date;\n};\n\nexport type DatePickerDayRenderDayProps = {\n key?: number;\n date?: Date;\n onClick?: (cellDate: Date, event: React.MouseEvent) => void;\n};\n\nexport type DayRectProps = {\n col: number;\n row: number;\n index: number;\n date?: DatePickerDayProps['date'];\n today?: DatePickerDayProps['today'];\n disabledDate?: DatePickerDayProps['disabledDate'];\n renderDay?: DatePickerDayProps['renderDay'];\n panelDate?: DatePickerDayProps['panelDate'];\n onSelectDay?: DatePickerDayProps['onSelectDay'];\n};\n\nexport function DayRect(props: DayRectProps) {\n const {\n date: selectedDate,\n row,\n col,\n index,\n today,\n panelDate,\n disabledDate,\n renderDay,\n onSelectDay,\n ...other\n } = props;\n const cls: Omit = {\n end: col === 0 || col === 6,\n prev: false,\n today: false,\n selected: false,\n next: false,\n disabled: false,\n };\n let date = panelDate;\n if (!date || !isValidDate(date)) date = new Date();\n const year = date.getFullYear();\n const month = date.getMonth();\n const week = useMemo(() => new Date(new Date(date!).setDate(1)).getDay(), [date.toDateString()]);\n const lastDay = useMemo(() => new Date(year, month === 0 ? 12 : month + 1, 0).getDate(), [date.toDateString()]);\n let day = index;\n if (date) {\n day = day - week + 1;\n if (day < 1) {\n cls.prev = true;\n }\n if (day > lastDay) {\n cls.next = true;\n }\n }\n let cellDate = new Date(new Date(date!).setDate(day));\n if (today && today.toDateString() === cellDate.toDateString()) {\n cls.today = true;\n }\n if (selectedDate && selectedDate.toDateString() === cellDate.toDateString()) {\n cls.selected = true;\n }\n const divProps: React.HTMLAttributes = {\n onClick: () => {\n const cellMonth = cellDate.getMonth();\n onSelectDay &&\n onSelectDay!(cellDate, {\n year: cellDate.getFullYear(),\n month: cellMonth === 0 ? 12 : cellMonth + 1,\n day: cellDate.getDate(),\n });\n },\n };\n if (disabledDate && disabledDate(cellDate, { ...props, ...cls })) {\n cls.disabled = true;\n delete divProps.onClick;\n }\n return (\n
\n {renderDay ? (\n renderDay(cellDate.getDate(), { ...props, ...cls, date: cellDate })\n ) : (\n
{cellDate.getDate()}
\n )}\n
\n );\n}\n\nconst WEEKTITLE = ['星期天', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];\nconst WEEKDAY = ['日', '一', '二', '三', '四', '五', '六'];\n\nexport function DatePickerDay(props: DatePickerDayProps) {\n const {\n prefixCls = 'w-datepicker',\n className,\n weekday = WEEKDAY,\n weekTitle = WEEKTITLE,\n date,\n today,\n panelDate,\n disabledDate,\n renderDay,\n onSelectDay,\n ...other\n } = props;\n\n const weekdayLabel = useMemo(\n () => (\n
\n {(weekday || []).map((week, idx) => (\n
\n {week}\n
\n ))}\n
\n ),\n [prefixCls, weekday, weekTitle],\n );\n\n return (\n
\n {weekdayLabel}\n
\n {[...Array(6)].map((_, idx) => (\n
\n {[...Array(7)].map((_, col) => (\n {\n onSelectDay && onSelectDay(curDate, data);\n }}\n index={idx * 7 + col}\n />\n ))}\n
\n ))}\n
\n
\n );\n}\n","import React from 'react';\nimport { IProps, HTMLDivProps, noop } from '@uiw/utils';\nimport './style/year-month.less';\n\nexport interface DatePickerMonthProps extends IProps, HTMLDivProps {\n panelDate?: Date;\n onSelected?: (month: number, paging?: boolean) => void;\n monthLabel?: React.ReactNode[];\n}\n\nexport function DatePickerMonth(props: DatePickerMonthProps) {\n const {\n prefixCls = 'w-datepicker',\n className,\n panelDate = new Date(),\n monthLabel,\n onSelected = noop,\n ...other\n } = props;\n return (\n
\n {[...Array(12)].map((_, idx) => {\n const selectedMonth = panelDate!.getMonth();\n return (\n
\n onSelected(idx, false)}>{(monthLabel && monthLabel[idx]) || idx}\n
\n );\n })}\n
\n );\n}\n","import React, { useState } from 'react';\nimport { IProps, HTMLDivProps, noop } from '@uiw/utils';\nimport './style/year-month.less';\n\nexport interface DatePickerYearProps extends IProps, HTMLDivProps {\n panelDate?: Date;\n panelNum?: number[];\n onSelected?: (year: number, paging?: boolean) => void;\n}\n\nexport function DatePickerYear(props: DatePickerYearProps) {\n const {\n prefixCls = 'w-datepicker',\n panelNum = [-7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\n className,\n panelDate,\n onSelected = noop,\n ...other\n } = props;\n const [activeYear, setActiveYear] = useState(props.panelDate);\n function handleSelected(year: number, idx: number) {\n if (idx === 0 || idx === panelNum!.length - 1) {\n const date = new Date(activeYear!);\n date.setFullYear(year);\n setActiveYear(date);\n onSelected!(year, true);\n } else {\n onSelected!(year);\n }\n }\n return (\n
\n {panelNum &&\n panelNum.map((_, idx) => {\n const selectedYear = activeYear!.getFullYear();\n const year = selectedYear + panelNum[idx];\n return (\n \n handleSelected(year, idx)}>{year}\n
\n );\n })}\n \n );\n}\n","import React, { useMemo } from 'react';\nimport { IProps, HTMLDivProps, noop } from '@uiw/utils';\nimport './style/caption.less';\n\nfunction classnames(...arg: (string | null | undefined)[]) {\n return [...arg].filter(Boolean).join(' ').trim();\n}\n\nexport type DatePickerCaptionType = 'prev' | 'month' | 'year' | 'today' | 'next';\n\nexport interface DatePickerCaptionProps extends IProps, HTMLDivProps {\n panelDate?: Date;\n monthLabel?: React.ReactNode[];\n todayButton?: string;\n onSelected?: (captionType: DatePickerCaptionType) => void;\n}\n\nexport function DatePickerCaption(props: DatePickerCaptionProps) {\n const {\n prefixCls = 'w-datepicker',\n className,\n panelDate = new Date(),\n monthLabel,\n onSelected = noop,\n todayButton,\n ...other\n } = props;\n\n const renderMonth = useMemo(() => {\n const month = panelDate.getMonth();\n return (monthLabel && monthLabel[month]) || month + 1;\n }, [panelDate.toDateString(), monthLabel]);\n return (\n
\n onSelected('prev')}\n />\n onSelected('month')}\n >\n {renderMonth}\n
\n onSelected('year')}\n >\n {panelDate!.getFullYear()}\n \n {todayButton && (\n onSelected('today')}\n title={todayButton}\n />\n )}\n onSelected('next')}\n />\n \n );\n}\n","import React, { useEffect, useMemo, useState } from 'react';\nimport formatter from '@uiw/formatter';\nimport { IProps, HTMLDivProps, noop } from '@uiw/utils';\nimport { TimePickerTime, TimePickerPanelProps } from '@uiw/react-time-picker';\nimport { DatePickerDay, DatePickerDayProps, DatePickerDayDateSource } from './DatePickerDay';\nimport { DatePickerMonth } from './DatePickerMonth';\nimport { DatePickerYear } from './DatePickerYear';\nimport { DatePickerCaption, DatePickerCaptionType } from './DatePickerCaption';\nimport './style/index.less';\n\nexport * from './DatePickerDay';\nexport * from './DatePickerMonth';\nexport * from './DatePickerYear';\nexport * from './DatePickerCaption';\n\nconst MONTH_LABEL = [\n '一月',\n '二月',\n '三月',\n '四月',\n '五月',\n '六月',\n '七月',\n '八月',\n '九月',\n '十月',\n '十一月',\n '十二月',\n];\n\nexport interface DatePickerShowTimeProps extends TimePickerPanelProps {\n format?: string;\n}\nexport interface DatePickerProps extends IProps, Omit {\n onChange?: (selectedDate?: Date, dateSource?: DatePickerDayDateSource) => void;\n renderDay?: DatePickerDayProps['renderDay'];\n disabledDate?: DatePickerDayProps['disabledDate'];\n showTime?: DatePickerShowTimeProps | boolean;\n monthLabel?: React.ReactNode[];\n weekday?: string[];\n weekTitle?: string[];\n date?: Date;\n panelDate?: Date;\n today?: Date;\n todayButton?: string;\n onPanelChange?: (date?: Date, mode?: 'next' | 'prev') => void;\n}\nexport interface DatePickerState {\n panelDate?: Date;\n date?: Date;\n type?: 'day' | 'time' | DatePickerCaptionType;\n}\n\nexport default function DatePicker(props: DatePickerProps) {\n const {\n prefixCls = 'w-datepicker',\n className,\n weekday,\n weekTitle,\n monthLabel = MONTH_LABEL,\n date,\n today = new Date(),\n todayButton,\n panelDate = new Date(),\n disabledDate,\n renderDay,\n onChange = noop,\n onPanelChange = noop,\n showTime,\n ...other\n } = props;\n const [type, setType] = useState('day');\n const [selectDate, setSelectDate] = useState(date);\n const [selectPanelDate, setSelectPanelDate] = useState(panelDate);\n\n useEffect(() => {\n if (date) {\n setSelectDate(date);\n setSelectPanelDate(date);\n }\n }, [date]);\n\n const format = useMemo(\n () =>\n showTime && (showTime as DatePickerShowTimeProps).format\n ? (showTime as DatePickerShowTimeProps).format\n : 'HH:mm:ss',\n [showTime],\n );\n function handleSelected(curType: DatePickerState['type']) {\n if (curType && /^(year|month|time)$/.test(curType)) {\n if (type === 'time') {\n curType = 'day';\n }\n setType(curType);\n } else {\n let currentDate = new Date(selectPanelDate);\n let month = currentDate.getMonth();\n if (curType === 'prev') {\n month -= 1;\n }\n if (curType === 'next') {\n month += 1;\n }\n currentDate.setMonth(month);\n if (curType === 'prev' || curType === 'next') {\n onPanelChange && onPanelChange(new Date(currentDate), curType);\n }\n setSelectPanelDate(curType === 'today' ? today : currentDate);\n curType === 'today' && setSelectDate(today);\n\n setType('day');\n }\n }\n\n function onSelectedTime(type: TimePickerPanelProps['type'], num: number) {\n (selectPanelDate || new Date())[`set${type}` as 'setHours'](num);\n setSelectPanelDate(new Date(selectPanelDate));\n onChange && onChange(new Date(selectPanelDate));\n }\n\n function onSelectedDate(type: 'setMonth' | 'setFullYear', month: number, paging?: boolean) {\n (selectPanelDate || new Date())[type](month);\n setSelectPanelDate(new Date(selectPanelDate));\n setType('day');\n onChange && onChange(new Date(selectPanelDate));\n }\n return (\n
\n \n {type === 'day' && (\n {\n setSelectPanelDate(selectedDate!);\n onChange(selectedDate, dateSource);\n }}\n renderDay={renderDay}\n date={selectDate}\n today={today || new Date()}\n panelDate={selectPanelDate}\n weekday={weekday}\n weekTitle={weekTitle}\n />\n )}\n {type === 'month' && (\n onSelectedDate('setMonth', num)}\n />\n )}\n {type === 'year' && (\n onSelectedDate('setFullYear', num)}\n />\n )}\n {type === 'time' && (\n \n )}\n {showTime && format && (\n
handleSelected('time')}>\n {formatter(format!, selectDate || selectPanelDate)}\n
\n )}\n
\n );\n}\n","import React from 'react';\nimport { IProps } from '@uiw/utils';\n\nexport interface DescriptionsItemProps extends IProps {\n label?: React.ReactNode;\n children: React.ReactNode;\n span?: number;\n}\n\nconst DescriptionsItem: React.FC = ({ children }) => children as JSX.Element;\n\nexport default DescriptionsItem;\n","import React, { Fragment } from 'react';\nimport { IProps } from '@uiw/utils';\nimport { DescriptionsItemProps } from './DescriptionsItem';\nimport { RowProps } from './Row';\n\nexport interface CellProps\n extends Omit,\n Omit,\n React.HTMLAttributes,\n IProps {\n children?: React.ReactElement | React.ReactNode;\n tagName?: 'td' | 'th';\n /**\n * 是否为一行的最后一个\n */\n isLastCell?: boolean;\n}\n\nfunction Cell(props: CellProps = {}) {\n const {\n prefixCls,\n className,\n tagName: TagName = 'td',\n layout,\n bordered,\n label,\n isLastCell,\n colon,\n span,\n children,\n column,\n ...other\n } = props;\n\n const labelProps: React.HTMLAttributes = {\n className: [\n prefixCls ? `${prefixCls}-item-label` : null,\n className,\n colon ? `${prefixCls}-item-colon` : null,\n !label ? `${prefixCls}-item-no-label` : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim(),\n };\n if (layout === 'horizontal') {\n if (!bordered) {\n return (\n \n {label}\n {children}\n \n );\n }\n return (\n \n {label}\n \n {children}\n \n \n );\n }\n return (\n \n {children}\n \n );\n}\n\nexport default Cell;\n","import React, { Fragment } from 'react';\nimport { IProps } from '@uiw/utils';\nimport { DescriptionsItemProps } from './DescriptionsItem';\nimport Cell from './Cell';\n\nexport interface RowProps extends IProps {\n children?: React.ReactElement[];\n bordered?: boolean;\n layout?: 'horizontal' | 'vertical';\n colon?: boolean;\n column?: number;\n}\n\nexport default function Row(props: RowProps = {}) {\n const { prefixCls, layout, bordered, column, colon, children = [] } = props;\n function handleCell(isHead?: boolean) {\n return children.map((child, index) => (\n \n {isHead ? child.props.label : child.props.children}\n \n ));\n }\n const cls = prefixCls ? `${prefixCls}-row` : '';\n return (\n \n {layout === 'vertical' && {handleCell(true)}}\n {handleCell()}\n \n );\n}\n","import React from 'react';\nimport { IProps } from '@uiw/utils';\nimport DescriptionsItem, { DescriptionsItemProps } from './DescriptionsItem';\nimport Row, { RowProps } from './Row';\nimport './style/index.less';\n\nexport * from './DescriptionsItem';\n\nexport interface DescriptionsProps extends IProps {\n column?: number;\n title?: React.ReactNode;\n children?: React.ReactNode;\n bordered?: boolean;\n colon?: boolean;\n size?: 'large' | 'small' | 'default';\n layout?: RowProps['layout'];\n}\n\nconst generateChildrenRows = (\n children: React.ReactElement[],\n column: number,\n): Array[]> => {\n const rows: React.ReactElement[][] = [];\n let columns: React.ReactElement[] | null = null;\n let leftSpans: number;\n\n children.forEach((node: React.ReactElement, index: number) => {\n let itemNode = node;\n\n if (!columns) {\n leftSpans = column;\n columns = [];\n rows.push(columns);\n }\n\n // Always set last span to align the end of Descriptions\n const lastItem = index === children.length - 1;\n if (lastItem) {\n itemNode = React.cloneElement(itemNode, {\n span: leftSpans,\n });\n }\n // Calculate left fill span\n const { span = 1 } = itemNode.props;\n columns.push(itemNode);\n leftSpans -= span;\n\n if (leftSpans <= 0) {\n columns = null;\n }\n });\n\n return rows;\n};\n\nfunction InternalDescriptions(props: DescriptionsProps, ref: React.ForwardedRef) {\n const {\n prefixCls = 'w-descriptions',\n className,\n title,\n bordered,\n column = 3,\n size,\n colon = true,\n children,\n layout = 'horizontal',\n ...other\n } = props;\n const cls = [\n prefixCls,\n className,\n prefixCls && layout ? `${prefixCls}-${layout}` : null,\n bordered ? `${prefixCls}-bordered` : null,\n size ? `${prefixCls}-${size}` : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n\n const cloneChildren = React.Children.toArray(children) as JSX.Element[];\n const childs: Array[]> = generateChildrenRows(cloneChildren, column!);\n\n return (\n
\n \n {title && }\n \n {childs.map((child, index) => (\n \n {child}\n \n ))}\n \n
{title}
\n
\n );\n}\n\ntype DescriptionsComponent = React.FC> & {\n Item: typeof DescriptionsItem;\n};\n\nconst Descriptions: DescriptionsComponent = React.forwardRef(\n InternalDescriptions,\n) as unknown as DescriptionsComponent;\n\nDescriptions.Item = DescriptionsItem;\n\nexport default Descriptions;\n","import React from 'react';\nimport { IProps, HTMLDivProps } from '@uiw/utils';\nimport './style/index.less';\n\nexport interface DividerProps extends IProps, HTMLDivProps {\n dashed?: boolean;\n type?: 'horizontal' | 'vertical';\n align?: 'left' | 'right' | 'center';\n}\n\nexport default React.forwardRef((props, ref) => {\n const {\n prefixCls = 'w-divider',\n className,\n children,\n dashed = false,\n type = 'horizontal',\n align = 'center',\n ...restProps\n } = props;\n const cls = [\n className,\n prefixCls,\n prefixCls && type ? `${prefixCls}-${type}` : null,\n prefixCls && align ? `${prefixCls}-${align}` : null,\n children ? `${prefixCls}-with-text` : null,\n !!dashed ? `${prefixCls}-dashed` : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n return (\n
\n {children && {children}}\n
\n );\n});\n","import React, { Fragment, useEffect, useState } from 'react';\n\nexport type GithubGiteeProps = {\n href: string;\n};\n\nexport default function DomainVerify(props: React.PropsWithChildren) {\n const { href } = props || {};\n const [hide, setHide] = useState(false);\n useEffect(() => {\n if (window && window.location) {\n let isVisiable = false\n const protocol = window.location.protocol;\n const hostname = href.replace(/^(https?):\\/\\//, '');\n if (window.location.href.replace(/^(https?):\\/\\//, '').indexOf(hostname) > -1) {\n isVisiable = true;\n }\n if (/^(https?):\\/\\//.test(href) && !(new RegExp(`^${protocol}`)).test(href)) {\n isVisiable = false;\n }\n setHide(isVisiable);\n }\n }, [href]);\n if (!hide) return ;\n return (\n \n {React.Children.toArray(props.children).map((child: React.ReactNode) => {\n if (!React.isValidElement(child)) return child;\n return React.cloneElement(child, { ...child.props });\n })}\n \n )\n}\n","import React, { useMemo } from 'react';\nimport Overlay, { OverlayProps } from '@uiw/react-overlay';\nimport Icon, { IconProps } from '@uiw/react-icon';\nimport Button from '@uiw/react-button';\nimport { HTMLDivProps } from '@uiw/utils';\nimport './style/index.less';\n\nexport interface DrawerProps extends OverlayProps {\n footer?: React.ReactNode;\n icon?: IconProps['type'];\n title?: React.ReactNode;\n bodyProps?: HTMLDivProps;\n placement?: 'top' | 'right' | 'bottom' | 'left';\n size?: number;\n isCloseButtonShown?: boolean;\n onClose?: (e: React.MouseEvent) => void;\n}\n\nexport default (props: DrawerProps = {}) => {\n const {\n prefixCls = 'w-drawer',\n className,\n style,\n placement = 'right',\n size = 260,\n title,\n footer,\n icon,\n isCloseButtonShown = true,\n bodyProps,\n timeout = 300,\n isOpen = false,\n maskClosable = true,\n ...overlayProps\n } = props;\n const cls = [className, prefixCls, placement].filter(Boolean).join(' ').trim();\n const bodyCls = [bodyProps ? bodyProps.className : null, prefixCls ? `${prefixCls}-body-inner` : null]\n .filter(Boolean)\n .join(' ')\n .trim();\n const styl = {\n ...style,\n [/^(top|bottom)$/.test(placement!) ? 'height' : 'width']: size,\n };\n const footerView = useMemo(() => (footer ?
{footer}
: null), [footer]);\n const iconView = useMemo(() => (icon ? : null), [icon]);\n const titleView = useMemo(() => (title ?

{title}

: null), [title]);\n return (\n \n
\n {(title || icon) && (\n
\n {iconView}\n {titleView}\n {title && isCloseButtonShown &&
\n )}\n
\n
\n {props.children}\n
\n
\n {footerView}\n
\n
\n );\n};\n","import React from 'react';\nimport OverlayTrigger, { OverlayTriggerProps } from '@uiw/react-overlay-trigger';\nimport { IProps } from '@uiw/utils';\nimport { useMemo } from 'react';\n\nexport interface DropdownProps extends IProps, OverlayTriggerProps {\n menu?: React.ReactNode;\n}\n\nexport default function Dropdown(props: DropdownProps) {\n const { prefixCls = 'w-dropdown', placement = 'bottomLeft', className, menu, children, disabled, ...other } = props;\n\n const cls = useMemo(() => [prefixCls, className].filter(Boolean).join(' ').trim(), [prefixCls, className]);\n\n return (\n \n {React.cloneElement(children, Object.assign({}, children.props))}\n \n );\n}\n","import React from 'react';\nimport './style/index.less';\n\nexport interface EmptyProps extends React.HTMLAttributes {\n prefixCls?: string;\n icon?: React.ReactNode;\n size?: number | string;\n iconProps?: React.SVGProps;\n /** 自定义描述内容 */\n description?: React.ReactNode;\n}\n\nconst Empty = (props: EmptyProps) => {\n const {\n prefixCls = 'w-empty',\n className,\n icon,\n iconProps,\n size = 64,\n description = '暂无数据',\n children,\n ...other\n } = props;\n\n const cls = [prefixCls, className].filter(Boolean).join(' ').trim();\n return (\n
\n
\n {icon ? (\n icon\n ) : (\n \n \n \n \n \n \n \n )}\n
\n {description &&
{description}
}\n {children &&
{children}
}\n
\n );\n};\n\nexport default Empty;\n","import React from 'react';\nimport Input, { InputProps } from '@uiw/react-input';\nimport { FileInputProps } from './';\n\nexport interface InputUploadProps extends FileInputProps, InputProps {}\n\nexport default React.forwardRef((props, ref) => {\n const { className, dataLabel = 'Browse', prefixCls = 'w-fileinput', ...other } = props;\n const cls = [prefixCls, className].filter(Boolean).join(' ').trim();\n return ;\n});\n","import React from 'react';\nimport Icon from '@uiw/react-icon';\nimport { FileInputListProps } from './';\nimport './style/index.less';\n\nconst Picture = (props: FileInputListProps) => {\n const {\n className,\n prefixCls = 'w-fileinput-list',\n dataList = [],\n uploadType,\n size = 'middle',\n shape = 'round',\n readonly,\n children,\n showFileIcon = {\n showPreviewIcon: true,\n showRemoveIcon: true,\n },\n onPreview,\n onAdd,\n onRemove,\n } = props;\n\n const cls = [prefixCls, `${prefixCls}-size-${size}`, `${prefixCls}-shape-${shape}`, className]\n .filter(Boolean)\n .join(' ')\n .trim();\n\n return (\n
\n {children &&\n !readonly &&\n React.isValidElement(children) &&\n React.cloneElement(children, {\n onClick: onAdd,\n })}\n
\n {dataList.map((item, index) => (\n
\n {uploadType === 'picture' && (\n
\n \"\"\n {showFileIcon?.showPreviewIcon && (\n
\n onPreview?.(item)}>\n \n \n
\n )}\n
\n )}\n
{item.name}
\n {showFileIcon?.showRemoveIcon && (\n
onRemove?.(index)}>\n \n
\n )}\n
\n ))}\n
\n
\n );\n};\n\nexport default Picture;\n","import React from 'react';\nimport Icon from '@uiw/react-icon';\nimport { FileInputListProps } from './';\nimport './style/index.less';\n\nconst Card = (props: FileInputListProps) => {\n const {\n className,\n prefixCls = 'w-fileinput-card',\n dataList = [],\n maxNumber = 3,\n shape = 'round',\n size = 'middle',\n readonly,\n children,\n showFileIcon = {\n showPreviewIcon: true,\n showRemoveIcon: true,\n },\n onAdd,\n onPreview,\n onRemove,\n } = props;\n const cls = [prefixCls, `${prefixCls}-size-${size}`, `${prefixCls}-shape-${shape}`, className]\n .filter(Boolean)\n .join(' ')\n .trim();\n\n const isAction = showFileIcon.showPreviewIcon || showFileIcon.showRemoveIcon ? true : false;\n\n return (\n
\n {dataList.map((item, index) => (\n
\n
\n \"\"\n
\n\n
\n {showFileIcon?.showPreviewIcon && (\n onPreview?.(item)}>\n \n \n )}\n {showFileIcon?.showRemoveIcon && (\n onRemove?.(index)}>\n \n \n )}\n
\n
\n ))}\n {maxNumber > dataList.length && !readonly && (\n
\n {children}\n
\n )}\n
\n );\n};\n\nexport default Card;\n","import { FileInputValue } from './';\n\nexport const openFileDialog = (inputRef: any): void => {\n if (inputRef.current) inputRef.current.click();\n};\n\nexport const getAcceptTypeString = (accept?: Array) => {\n return accept && accept.length > 0 ? accept.map((item) => `.${item}`).join(', ') : 'image/*';\n};\n\nexport const getBase64 = (file: File): Promise => {\n const reader = new FileReader();\n return new Promise((resolve) => {\n reader.addEventListener('load', () => resolve(String(reader.result)));\n reader.readAsDataURL(file);\n });\n};\n\nexport const getListFiles = (files: FileList, dataURLKey: string): Promise => {\n const promiseFiles: Array> = [];\n for (let i = 0; i < files.length; i += 1) {\n promiseFiles.push(getBase64(files[i]));\n }\n return Promise.all(promiseFiles).then((fileListBase64: Array) => {\n const fileList: FileInputValue[] = fileListBase64.map((base64, index) => ({\n [dataURLKey]: base64,\n file: files[index],\n name: files[index].name,\n }));\n return fileList;\n });\n};\n\nexport const isUploadType = (type: string) => {\n return ['picture', 'text', 'card'].includes(type);\n};\n","import React, { useRef, useCallback, useEffect, useState } from 'react';\nimport List from './List';\nimport Card from './Card';\nimport { FileInputValue, FileInputListProps } from './';\nimport { FileInputUploadProps } from './types';\nimport { openFileDialog, getListFiles } from './utils';\n\nexport const FileList = (props: FileInputUploadProps) => {\n const { uploadType, value = [], multiple = false, maxNumber = 3, onChange } = props;\n const inputRef = useRef(null);\n const inValue: FileInputValue[] = value || [];\n const [fileList, setFileList] = useState([]);\n\n useEffect(() => {\n setFileList(inValue);\n }, [value]);\n\n const handleClickInput = useCallback(() => openFileDialog(inputRef), [inputRef]);\n\n const onFileUpload = useCallback((): void => {\n if (inputRef.current) inputRef.current.value = '';\n handleClickInput();\n }, [handleClickInput]);\n\n const onInputChange = async (e: React.ChangeEvent) => {\n const files = e.target.files;\n if (!files) return;\n const updatedFileList = await getListFiles(files, 'dataURL');\n let updatedList = [...fileList, ...updatedFileList];\n if (maxNumber < updatedList.length) {\n updatedList = updatedList.slice(0, maxNumber);\n }\n setFileList(updatedList);\n onChange?.(updatedList);\n };\n\n const onRemove = (index: number) => {\n const updatedList = [...fileList];\n updatedList.splice(index, 1);\n setFileList(updatedList);\n onChange?.(updatedList);\n };\n\n let Comp: ((props: FileInputListProps) => JSX.Element) | undefined;\n\n if (uploadType === 'card') {\n Comp = Card;\n }\n if (uploadType === 'picture' || uploadType === 'text') {\n Comp = List;\n }\n\n return (\n \n \n {Comp && (\n \n )}\n \n );\n};\n\nexport default FileList;\n","import React from 'react';\nimport Input from './Input';\nimport FileList from './FileList';\nimport { isUploadType } from './utils';\nimport { InputProps } from '@uiw/react-input';\nimport { UploadType, FileInputBaseProps, FileInputUploadProps, FileInputShowIconProps } from './types';\nimport './style/index.less';\nexport interface FileInputValue {\n dataURL?: string;\n file?: File;\n name?: string;\n [key: string]: any;\n}\nexport interface FileInputProps extends FileInputBaseProps, InputProps {\n dataLabel?: string;\n}\nexport interface FileInputListProps extends FileInputUploadProps {\n shape?: 'circle' | 'round';\n size?: 'large' | 'middle' | 'small';\n showFileIcon?: FileInputShowIconProps;\n dataList: FileInputValue[];\n onAdd?: () => void;\n onRemove?: (index: number) => void;\n}\n\ninterface Props {\n uploadType?: UploadType;\n [key: string]: any;\n}\n\nfunction Upload(props: Props) {\n const { uploadType = 'input' } = props;\n\n if (uploadType === 'input') {\n return ;\n }\n\n if (isUploadType(uploadType)) {\n return ;\n }\n return null;\n}\n\nexport default Upload;\n","import React from 'react';\nimport { Col, Row } from '@uiw/react-grid';\nimport { IProps, HTMLInputProps } from '@uiw/utils';\nimport { FormFieldsProps } from './Form';\nimport './style/form-item.less';\n\nexport interface FormItemProps extends IProps, HTMLInputProps {\n inline?: boolean;\n hasError?: boolean;\n label?: React.ReactNode;\n required?: boolean;\n labelFor?: string;\n labelClassName?: string;\n help?: React.ReactNode;\n labelStyle?: React.CSSProperties;\n initialValue?: string | number | T;\n validator?: FormFieldsProps['validator'];\n}\n\nexport default class FormItem extends React.PureComponent> {\n public static defaultProps = {\n prefixCls: 'w-form-item',\n };\n render() {\n const {\n prefixCls,\n className,\n required,\n style,\n label,\n labelFor,\n labelClassName,\n labelStyle,\n help,\n inline,\n initialValue,\n validator,\n hasError,\n ...otherProps\n } = this.props;\n\n const cls = [prefixCls, className, hasError ? `${prefixCls}-error` : null].filter(Boolean).join(' ').trim();\n const labelCls = ['w-form-label', labelClassName].filter(Boolean).join(' ').trim();\n if (inline) {\n return (\n
\n \n \n {required && }\n \n \n {this.props.children}\n \n {help && (\n \n {help}\n \n )}\n
\n );\n }\n return (\n
\n {label && (\n \n {required && }\n \n \n )}\n {this.props.children}\n {help &&
{help}
}\n
\n );\n }\n}\n","import React, { useState, useImperativeHandle, useMemo } from 'react';\nimport { IProps } from '@uiw/utils';\nimport FormItem, { FormItemProps } from './FormItem';\nimport './style/form.less';\n\nexport interface FormProps\n extends IProps,\n Omit, 'onChange' | 'onSubmit' | 'children'> {\n prefixCls?: string;\n fields?: Record>;\n onSubmit?: (state: FormSubmitProps, event: React.FormEvent) => any;\n afterSubmit?: (result: FormAfterSubmitProps) => any;\n onChange?: (state: FormState) => void;\n onSubmitError?: (evn: any) => any;\n resetOnSubmit?: boolean;\n children?: (handle: FormChildrenProps) => JSX.Element;\n}\n\nexport interface FormState {\n submitting: boolean;\n initial: Record;\n current: FormState['initial'];\n errors: Record;\n}\n\nexport interface FormFieldsProps extends Omit, 'children'> {\n name?: string;\n children?: ((handle: FormChildrenProps) => JSX.Element) | JSX.Element;\n help?: React.ReactNode;\n labelFor?: string;\n inline?: boolean;\n checked?: boolean;\n initialValue?: string | number | T;\n required?: boolean;\n validator?: (currentValue: any) => any;\n}\n\nexport interface FormSubmitProps {\n initial: FormState['initial'];\n current: FormState['current'];\n}\n\nexport interface FormAfterSubmitProps {\n state: FormState;\n response: any;\n reset: () => void;\n}\n\nexport interface FormChildrenProps {\n onChange?: (env: React.BaseSyntheticEvent, list?: string[]) => void;\n onSubmit?: (env: React.FormEvent) => void;\n fields?: Record;\n resetForm?: () => void;\n canSubmit?: () => boolean;\n state?: FormState;\n}\n\nexport type FormElementProps = {\n id?: string;\n name?: string;\n value?: string | boolean;\n checked?: boolean;\n onChange?: (env: React.BaseSyntheticEvent, list?: string[]) => void;\n};\n\nexport type FormRefType = Record<\n 'onSubmit' | 'resetForm' | 'getFieldValues' | 'setFields' | 'getError' | 'setFieldValue',\n Function\n>;\n\nfunction newFormState(\n fields: FormProps['fields'],\n cb: (porps: FormFieldsProps) => {\n initialValue: FormFieldsProps['initialValue'];\n currentValue: FormFieldsProps['initialValue'];\n },\n): FormState {\n const state: FormState = {\n initial: {},\n current: {},\n submitting: false,\n errors: {},\n };\n for (const name in fields) {\n const props = fields[name];\n if (!props) continue;\n const { initialValue, currentValue } = cb({ ...props, name });\n state.initial[name] = Array.isArray(initialValue) ? [...initialValue] : initialValue;\n state.current[name] = currentValue;\n }\n return state;\n}\n\nfunction newInitialValue(value: FormFieldsProps['initialValue']) {\n return value === null || value === undefined ? '' : value;\n}\n\nconst isPromise = (promise: Promise) => promise && typeof promise.then === 'function';\n\nfunction Form(props: FormProps, ref: React.ForwardedRef) {\n const {\n prefixCls = 'w-form',\n className,\n fields,\n children,\n resetOnSubmit,\n onSubmitError,\n onChange,\n onSubmit,\n afterSubmit,\n ...others\n } = props;\n const initData = useMemo(\n () =>\n newFormState(fields, ({ initialValue }) => {\n initialValue = newInitialValue(initialValue);\n return { initialValue, currentValue: initialValue };\n }),\n [],\n );\n const [data, setData] = useState(initData);\n\n useImperativeHandle(\n ref,\n () => ({\n onSubmit: handleSubmit,\n resetForm: handleReset,\n getFieldValues: () => data.current,\n getError: () => data.errors,\n setFields: setFields,\n setFieldValue: setFieldValue,\n }),\n [data],\n );\n\n const formUnits: FormChildrenProps['fields'] = {};\n for (const name in fields) {\n const itemProps = fields[name];\n if (!itemProps) continue;\n const error = data.errors[name];\n if (typeof itemProps.initialValue === 'boolean') {\n itemProps.checked = itemProps.initialValue;\n }\n const childField: any = controlField({ ...itemProps, name });\n const help = error || itemProps.help;\n const labelFor = itemProps.labelFor;\n\n formUnits[name] = (\n \n );\n }\n\n function setFields(fields: FormState['current']) {\n const tempData = { ...data, current: fields };\n setData(tempData);\n }\n\n function setFieldValue(fieldName: string, value: V) {\n const tempData = { ...data, current: { ...data.current, [fieldName]: value } };\n setData(tempData);\n }\n\n function handleChange(\n name: string,\n validator: FormFieldsProps['validator'],\n element?: React.ReactElement,\n cb?: (env: React.BaseSyntheticEvent) => void,\n ) {\n return (env: React.BaseSyntheticEvent, list?: string[]) => {\n let value = env && env.target && 'value' in env.target ? env.target.value : env;\n // 控件 Checkbox.Group 多选值的处理\n value = list || value;\n // 控件 Checkbox 值的处理\n if (!list && element && env && env.target && /(radio)/.test(env.target.type)) {\n // 控件 Switch/Radio/Checkbox 值的处理\n value = env.target.value ? env.target.value : env.target.checked;\n }\n if (!list && element && env && env.target && /(checkbox)/.test(env.target.type)) {\n // 控件 Switch/Radio/Checkbox 值的处理\n value = env.target.checked;\n }\n const nextState = {\n current: { ...data.current, [name]: value },\n } as FormState;\n const error = validator && validator(value);\n if (!error) {\n nextState.errors = { ...data.errors };\n delete nextState.errors[name];\n }\n if (env && env.persist && typeof env.persist === 'function') env.persist();\n setData({ ...data, ...nextState });\n if (cb) {\n cb(env);\n }\n onChange && onChange({ ...data, ...nextState });\n };\n }\n\n function handleSubmit(e: React.FormEvent) {\n e && e.preventDefault();\n const { initial, current } = data;\n setData({ ...data, submitting: true });\n const nextState = { submitting: false } as FormState;\n const onError = (evn: unknown) =>\n setData({\n ...data,\n ...nextState,\n errors: (onSubmitError && onSubmitError(evn)) || {},\n });\n const onSuccess = (response: any) => {\n if (resetOnSubmit) {\n nextState.current = initial;\n }\n setData({ ...data, ...nextState, errors: {} });\n afterSubmit && afterSubmit({ state: data, response, reset: handleReset });\n };\n try {\n const afterSubmitPromise = onSubmit ? onSubmit({ initial, current }, e) : undefined;\n if (afterSubmitPromise && isPromise(afterSubmitPromise)) {\n return afterSubmitPromise.then(onSuccess).catch(onError);\n } else {\n return onSuccess(afterSubmitPromise);\n }\n } catch (evn) {\n onError(evn);\n }\n }\n\n function canSubmit() {\n const { submitting, current = {} } = data;\n let passesValidators = true;\n for (const name in fields) {\n if (Object.prototype.hasOwnProperty.call(fields, name)) {\n const fieldsProps: FormFieldsProps = fields[name];\n if (!fieldsProps) continue;\n if (fieldsProps.validator && fieldsProps.validator(current[name])) {\n passesValidators = false;\n break;\n }\n }\n }\n return !submitting && passesValidators;\n }\n\n function handleReset() {\n let { initial } = data;\n const initials = { ...initial };\n Object.entries(initials).map(([key, value]) => {\n if (Array.isArray(value)) {\n initials[key] = [...value];\n }\n });\n setData({ ...data, initial, current: initials, errors: {} });\n }\n\n function controlField({\n children,\n validator,\n name,\n help,\n label,\n labelFor,\n labelClassName,\n labelStyle,\n inline,\n initialValue,\n ...other\n }: FormFieldsProps) {\n const element =\n typeof children !== 'function'\n ? children\n : children({\n onChange: handleChange(name!, validator),\n onSubmit: handleSubmit,\n canSubmit: canSubmit,\n });\n if (!element || React.Children.count(element) !== 1 || !name) return element;\n const props = {\n name: element.props.name || name,\n ...other,\n } as FormElementProps;\n const hasCurrentValue = Object.prototype.hasOwnProperty.call(data.current, name);\n props.id = element.props.id;\n props.value = hasCurrentValue ? data.current && data.current[name] : props.value;\n // : element.props.value;\n\n const type = element.props.type;\n if (type === 'checkbox' || type === 'switch' || typeof props.value === 'boolean') {\n props.checked = !!props.value;\n delete props.value;\n }\n props.onChange = handleChange(name, validator, element, element.props.onChange) as FormElementProps['onChange'];\n return React.cloneElement(element, props as FormElementProps);\n }\n\n return (\n
\n
\n {typeof children === 'function'\n ? children({\n fields: formUnits,\n state: data,\n resetForm: handleReset,\n canSubmit: canSubmit,\n })\n : children}\n
\n
\n );\n}\n\nexport default React.forwardRef>(Form);\n","import Form from './Form';\n\nexport * from './Form';\nexport * from './FormItem';\nexport { default as FormItem } from './FormItem';\n\nexport default Form;\n","\nimport React from 'react';\nimport './style/index.css';\n\nexport interface GitHubCornersProps extends React.AnchorHTMLAttributes {\n /**\n * The link to your project page.\n */\n href?: string;\n /**\n * The width and height of the corner. \n * Default: `80`\n */\n size?: number;\n /**\n * The background color of the corner.\n * Default: `#151513`\n */\n bgColor?: string;\n /**\n * The Github logo color of the corner.\n * Default: `#fff`\n */\n color?: string;\n /**\n * The position of corner. \n * Default: `right`\n */\n position?: 'left' | 'right';\n /** Is it displayed at the bottom? */\n bottom?: boolean,\n /**\n * It is positioned relative to the initial containing block established.\n * Default: `false`\n */\n fixed?: boolean;\n /**\n * Sets the z-order of a positioned element and its descendants or flex items.\n */\n zIndex?: number;\n}\n\nexport default function githubCorners(props: GitHubCornersProps = {}) {\n const { size = 80, fixed = false, bottom, zIndex, className, bgColor = '#151513', color = '#fff', position = 'right', ...otherProps } = props;\n const styl: React.CSSProperties = position === 'left' ? { left: 0, transform: 'scale(-1, 1)' } : { right: 0 };\n if (bottom) {\n styl.bottom = 0;\n styl.top = 'initial';\n styl.transform = position === 'left' ? 'scale(-1, -1)' : 'scale(1, -1)';\n }\n return (\n \n \n \n \n \n \n \n )\n}","import React from 'react';\nimport { IProps, HTMLDivProps } from '@uiw/utils';\nimport './style/col.less';\n\nexport interface ColProps extends IProps, HTMLDivProps {\n fixed?: boolean;\n span?: number | string;\n grow?: number | string;\n align?: 'top' | 'middle' | 'bottom' | 'baseline';\n}\n\nexport function Col(props: ColProps = {}) {\n const { prefixCls = 'w-col', className, fixed, span, grow, align, ...other } = props;\n const cls = [\n prefixCls,\n className,\n span ? `${prefixCls}-${span}` : null,\n fixed ? `${prefixCls}-fixed` : null,\n align ? `${prefixCls}-align-${align}` : null,\n fixed ? `${prefixCls}-grow-${grow}` : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n return (\n
\n {props.children}\n
\n );\n}\n","import React from 'react';\nimport { IProps, HTMLDivProps } from '@uiw/utils';\nimport './style/row.less';\n\nexport interface RowProps extends IProps, HTMLDivProps {\n fixed?: boolean;\n gutter?: number;\n justify?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';\n align?: 'top' | 'middle' | 'bottom' | 'baseline';\n}\n\nexport function Row(props: RowProps = {}) {\n const { prefixCls = 'w-row', className, gutter = 0, justify, align, ...other } = props;\n const cls = [\n prefixCls,\n className,\n align ? `${prefixCls}-align-${align}` : null,\n justify ? `${prefixCls}-justify-${justify}` : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n const gutterStyl = !gutter ? {} : { paddingLeft: gutter / 2, paddingRight: gutter / 2 };\n return (\n
\n {React.Children.toArray(props.children).map((child) => {\n if (!React.isValidElement(child)) return child;\n return React.cloneElement(\n child,\n Object.assign({}, child.props, {\n style: { ...child.props.style, ...gutterStyl },\n }),\n );\n })}\n
\n );\n}\n","import React from 'react';\nimport svgPaths from '@uiw/icons/fonts/w-icon.json';\nimport './style/index.less';\n\nexport type IconsName = keyof typeof svgPaths;\ntype TagType = React.ComponentType | keyof JSX.IntrinsicElements;\n\nexport interface IconProps extends React.HTMLAttributes {\n style?: React.CSSProperties;\n className?: string;\n prefixCls?: string;\n /**\n * HTML tag to use for the rendered element.\n * @default \"span\"\n */\n tagName?: Tag;\n type?: IconsName | null | E;\n spin?: boolean;\n color?: string;\n verticalAlign?: 'middle' | 'baseline';\n}\n\nexport default function Icon(props: IconProps) {\n const {\n className,\n prefixCls = 'w-icon',\n verticalAlign = 'middle',\n tagName: TagName = 'span',\n color,\n type,\n spin = false,\n ...others\n } = props;\n\n let svg = null;\n if (typeof type === 'string') {\n svg = (\n \n {(svgPaths[type] || []).map((d, i) => (\n \n ))}\n \n );\n } else if (React.isValidElement(type)) {\n svg = React.cloneElement(type, {\n fill: color,\n });\n } else {\n return null;\n }\n others.style = { fill: 'currentColor', ...others.style };\n const propps = {\n ...others,\n className: [\n prefixCls,\n className,\n prefixCls && verticalAlign ? `${prefixCls}-${verticalAlign}` : null,\n spin && prefixCls ? `${prefixCls}-spin` : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim(),\n };\n\n return React.createElement(TagName, { ...propps } as any, svg);\n}\n","import React, { useEffect, useImperativeHandle } from 'react';\nimport Icon, { IconProps } from '@uiw/react-icon';\nimport { IProps, HTMLInputProps } from '@uiw/utils';\nimport './style/input.less';\nexport * from './InputNumber';\nexport { default as InputNumber } from './InputNumber';\n\nexport interface InputProps extends IProps, Omit {\n preIcon?: IconProps['type'];\n addonAfter?: React.ReactNode;\n size?: 'large' | 'default' | 'small';\n inputStyle?: React.CSSProperties;\n}\n\nexport default React.forwardRef((props, ref) => {\n const {\n prefixCls = 'w-input',\n className,\n style,\n size = 'default',\n type = 'text',\n preIcon = null,\n addonAfter,\n inputStyle,\n ...otherProps\n } = props;\n const inputRef = React.useRef(null);\n const addonRef = React.useRef(null);\n useImperativeHandle(ref, () => inputRef.current);\n const cls = [\n prefixCls,\n className,\n size ? `${prefixCls}-${size}` : null,\n addonAfter ? `${prefixCls}-addon` : null,\n props.disabled ? 'disabled' : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n\n useEffect(() => {\n computedInputPadding();\n });\n\n function computedInputPadding() {\n if (addonRef.current && inputRef.current) {\n const input = window && window.getComputedStyle(addonRef.current, null);\n inputRef.current.style.paddingRight = `${\n addonRef.current.clientWidth + parseInt(input.right as string, 10) * 2\n }px`;\n }\n }\n return (\n
\n \n \n {addonAfter && (\n \n {addonAfter}\n \n )}\n
\n );\n});\n","import React from 'react';\nimport { LayoutHeader } from './Header';\nimport { LayoutSider } from './Sider';\nimport { LayoutFooter } from './Footer';\nimport { LayoutContent } from './Content';\n\nexport interface LayoutContextProps {\n siderHook: {\n addSider: (id: string) => void;\n removeSider: (id: string) => void;\n };\n}\nexport const LayoutContext = React.createContext({\n siderHook: {\n addSider: () => null,\n removeSider: () => null,\n },\n});\n\nexport interface LayoutProps extends React.HTMLAttributes {\n prefixCls?: string;\n hasSider?: boolean;\n}\nexport interface LayoutState {\n siders: string[];\n}\n\nexport default class Layout extends React.Component {\n static Header: typeof LayoutHeader;\n static Footer: typeof LayoutFooter;\n static Sider: typeof LayoutSider;\n static Content: typeof LayoutContent;\n public static defaultProps: LayoutProps = {\n prefixCls: 'w-layout',\n };\n state = { siders: [] };\n getSiderHook() {\n return {\n addSider: (id: string) => {\n this.setState((state) => ({\n siders: [...state.siders, id],\n }));\n },\n removeSider: (id: string) => {\n this.setState((state) => ({\n siders: state.siders.filter((currentId) => currentId !== id),\n }));\n },\n };\n }\n render() {\n const { prefixCls, className, hasSider, children, ...other } = this.props;\n return (\n \n 0\n ? `${prefixCls}-has-sider`\n : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim()}\n {...other}\n >\n {children}\n \n \n );\n }\n}\n","import React, { useEffect, useState, useMemo } from 'react';\nimport { LayoutContext, LayoutContextProps } from './Layout';\n\nexport function randomid(): string {\n return parseInt(String(Math.random() * 1e15), 10).toString(36);\n}\n\nexport interface LayoutSiderProps extends React.HTMLAttributes {\n prefixCls?: string;\n children?: React.ReactNode;\n width?: number | string;\n collapsedWidth?: number;\n collapsed?: boolean;\n}\n\nfunction Sider(props = {} as LayoutSiderProps & LayoutContextProps) {\n const {\n prefixCls = 'w-layout-sider',\n className,\n style,\n children,\n width = 200,\n collapsedWidth = 80,\n collapsed = false,\n siderHook,\n ...other\n } = props;\n const [sliderId] = useState(`w-layout-${randomid()}`);\n const [rawWidth, setRawWidth] = useState(collapsed ? collapsedWidth : width);\n\n useEffect(() => {\n if (siderHook && !!siderHook.addSider) {\n siderHook.addSider(sliderId);\n }\n return () => {\n if (siderHook && !!siderHook.removeSider) {\n siderHook.removeSider(sliderId);\n }\n };\n }, []);\n\n useMemo(() => setRawWidth(collapsed ? collapsedWidth : width), [width, collapsedWidth, collapsed]);\n\n const divStyle = {\n ...style,\n flex: `0 0 ${rawWidth}`,\n maxWidth: rawWidth,\n minWidth: rawWidth,\n width: rawWidth,\n };\n return (\n
\n {children}\n
\n );\n}\n\nexport function LayoutSider(props: LayoutSiderProps) {\n return (\n \n {(context: LayoutContextProps) => }\n \n );\n}\n","import Layout from './Layout';\nimport { LayoutHeader } from './Header';\nimport { LayoutFooter } from './Footer';\nimport { LayoutSider } from './Sider';\nimport { LayoutContent } from './Content';\nimport './style/index.less';\n\nLayout.Header = LayoutHeader;\nLayout.Footer = LayoutFooter;\nLayout.Sider = LayoutSider;\nLayout.Content = LayoutContent;\n\nexport * from './Layout';\nexport * from './Header';\nexport * from './Footer';\nexport * from './Sider';\nexport * from './Content';\nexport default Layout;\n","import React from 'react';\n\nexport interface LayoutHeaderProps extends React.HTMLAttributes {\n prefixCls?: string;\n children?: React.ReactNode;\n}\n\nexport function LayoutHeader(props: LayoutHeaderProps) {\n const { prefixCls = 'w-layout-header', className, children, ...other } = props || {};\n return (\n
\n {children}\n
\n );\n}\n","import React from 'react';\n\nexport interface LayoutFooterProps extends React.HTMLAttributes {\n prefixCls?: string;\n children?: React.ReactNode;\n}\n\nexport function LayoutFooter(props: LayoutFooterProps) {\n const { prefixCls = 'w-layout-footer', className, children, ...other } = props;\n return (\n
\n {children}\n
\n );\n}\n","import React from 'react';\n\nexport interface LayoutContentProps extends React.HTMLAttributes {\n prefixCls?: string;\n children?: React.ReactNode;\n}\n\nexport function LayoutContent(props: LayoutContentProps) {\n const { prefixCls = 'w-layout-content', className, children, ...other } = props;\n return (\n
\n {children}\n
\n );\n}\n","import React, { Fragment } from 'react';\nimport { IProps } from '@uiw/utils';\n\nexport type TagType = React.ComponentType | keyof JSX.IntrinsicElements;\n\nexport interface ListItemProps extends IProps, React.HTMLProps {\n disabled?: boolean;\n active?: boolean;\n extra?: React.ReactNode;\n href?: string;\n tagName?: Tag;\n}\n\nexport const ListItem = React.forwardRef(\n (props: ListItemProps, ref: React.Ref>) => {\n const {\n prefixCls = 'w-list-item',\n className,\n children,\n extra,\n tagName = 'div',\n active = false,\n ...resetProps\n } = props;\n const cls = [prefixCls, className, props.disabled ? 'w-disabled' : null, active ? 'w-active' : null]\n .filter(Boolean)\n .join(' ')\n .trim();\n const TagName = props.href && typeof tagName === 'string' ? 'a' : tagName;\n return React.createElement(\n TagName,\n {\n ...resetProps,\n className: cls,\n ref,\n } as any,\n !extra || resetProps.href ? (\n children\n ) : (\n \n
{children}
\n
{extra}
\n
\n ),\n );\n },\n);\n\nListItem.displayName = 'List.Item';\n","import React from 'react';\nimport { IProps, HTMLDivProps } from '@uiw/utils';\nimport { ListItem } from './Item';\nimport './style/index.less';\n\nexport * from './Item';\n\nexport interface ListProps extends IProps, HTMLDivProps {\n bordered?: boolean;\n striped?: boolean;\n noHover?: boolean;\n active?: boolean;\n header?: React.ReactNode;\n footer?: React.ReactNode;\n size?: 'small' | 'default' | 'large';\n renderItem?: (item: any, idx: number) => React.ReactNode;\n dataSource?: T[];\n}\n\nfunction InternalList(props: ListProps, ref: React.ForwardedRef) {\n const {\n prefixCls = 'w-list',\n bordered = true,\n striped = false,\n noHover = false,\n active = false,\n size = 'default',\n renderItem,\n className,\n children,\n header,\n footer,\n dataSource = [],\n ...resetProps\n } = props;\n let items: React.ReactNode;\n if (dataSource && dataSource.length > 0) {\n items = dataSource.map((item: any, index: number) => renderItem && renderItem!(item, index));\n } else {\n items = children;\n }\n let childrenList = React.Children.map(\n items,\n (child: React.ReactNode, index) =>\n React.isValidElement(child) &&\n React.cloneElement(child, {\n key: index,\n }),\n );\n const classString = [\n prefixCls,\n className,\n striped ? `${prefixCls}-striped` : null,\n noHover ? `${prefixCls}-no-hover` : null,\n active ? `${prefixCls}-active` : null,\n bordered ? `${prefixCls}-bordered` : null,\n size && size !== 'default' ? `${prefixCls}-size-${size}` : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n return (\n
\n {header &&
{header}
}\n {childrenList}\n {footer &&
{footer}
}\n
\n );\n}\n\ntype ListComponent = React.FC>> & { Item: typeof ListItem };\nconst List: ListComponent = React.forwardRef(InternalList) as unknown as ListComponent;\nList.Item = ListItem;\n\nexport default List;\n","import React, { useMemo } from 'react';\nimport { IProps, HTMLDivProps } from '@uiw/utils';\nimport './style/index.less';\n\nexport interface LoaderProps extends IProps, HTMLDivProps {\n size?: 'small' | 'default' | 'large';\n loading?: boolean;\n fullscreen?: boolean;\n color?: string;\n bgColor?: string;\n vertical?: boolean;\n tip?: React.ReactNode;\n indicator?: React.ReactNode;\n children?: any | React.ReactNode;\n}\n\nexport default (props: LoaderProps = {}) => {\n const {\n prefixCls = 'w-loader',\n className,\n size = 'default',\n loading = true,\n tip,\n vertical,\n color,\n bgColor,\n children,\n indicator,\n fullscreen = false,\n ...otherProps\n } = props;\n const cls = [prefixCls, className, size ? `${prefixCls}-${size}` : null].filter(Boolean).join(' ').trim();\n\n const indicatorView = useMemo(\n () => (\n \n \n \n ),\n [],\n );\n\n const tipsView = useMemo(\n () => (\n \n
\n {indicator || indicatorView}\n {tip && (\n \n {tip}\n
\n )}\n \n \n ),\n [fullscreen, bgColor, prefixCls, vertical, tip],\n );\n\n return (\n
\n {(loading || fullscreen) && tipsView}\n {children &&\n React.cloneElement(\n children,\n Object.assign({}, children.props, {\n className: [`${prefixCls}-warp`, loading ? `${prefixCls}-blur` : null].filter(Boolean).join(' ').trim(),\n }),\n )}\n
\n );\n};\n","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","import { Element } from 'hast';\n\nexport const octiconLink: Element = {\n type: 'element',\n tagName: 'svg',\n properties: {\n className: 'octicon octicon-link',\n viewBox: '0 0 16 16',\n version: '1.1',\n width: '16',\n height: '16',\n ariaHidden: 'true',\n },\n children: [\n {\n type: 'element',\n tagName: 'path',\n children: [],\n properties: {\n fillRule: 'evenodd',\n d: 'M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z',\n },\n },\n ],\n};\n","import React, { useImperativeHandle } from 'react';\nimport ReactMarkdown, { Options } from 'react-markdown';\nimport { Root, Element, ElementContent } from 'hast';\nimport gfm from 'remark-gfm';\nimport slug from 'rehype-slug';\nimport headings from 'rehype-autolink-headings';\nimport rehypeRaw from 'rehype-raw';\nimport rehypeAttrs from 'rehype-attr';\n// @ts-ignore\nimport rehypePrism from '@mapbox/rehype-prism';\nimport rehypeRewrite from 'rehype-rewrite';\nimport { octiconLink } from './nodes/octiconLink';\nimport { copyElement } from './nodes/copy';\nimport './styles/markdown.less';\nimport './styles/markdowncolor.less';\n\nconst rehypeRewriteHandle = (node: ElementContent, index: number | null, parent: Root | Element | null) => {\n if (node.type === 'element' && parent && parent.type === 'root' && /h(1|2|3|4|5|6)/.test(node.tagName)) {\n const child = node.children && (node.children[0] as Element);\n if (child && child.properties && child.properties.ariaHidden === 'true') {\n child.properties = { class: 'anchor', ...child.properties };\n child.children = [octiconLink];\n }\n }\n if (node.type === 'element' && node.tagName === 'pre') {\n const code = getCodeStr(node.children);\n node.children.push(copyElement(code));\n }\n};\n\nconst getCodeStr = (data: ElementContent[] = [], code: string = '') => {\n data.forEach((node) => {\n if (node.type === 'text') {\n code += node.value;\n } else if (node.type === 'element' && node.children && Array.isArray(node.children)) {\n code += getCodeStr(node.children);\n }\n });\n return code;\n};\n\nexport interface MarkdownPreviewProps extends Omit {\n prefixCls?: string;\n className?: string;\n source?: string;\n style?: React.CSSProperties;\n warpperElement?: React.DetailedHTMLProps, HTMLDivElement>;\n onScroll?: (e: React.UIEvent) => void;\n onMouseOver?: (e: React.MouseEvent) => void;\n}\n\nexport interface MarkdownPreviewRef extends MarkdownPreviewProps {\n mdp: React.RefObject;\n}\n\nexport default React.forwardRef((props, ref) => {\n const {\n prefixCls = 'wmde-markdown wmde-markdown-color',\n className,\n source,\n style,\n onScroll,\n onMouseOver,\n warpperElement = {},\n ...other\n } = props;\n const mdp = React.createRef();\n useImperativeHandle(ref, () => ({ ...props, mdp }), [mdp, props]);\n const cls = `${prefixCls || ''} ${className || ''}`;\n return (\n
\n \n
\n );\n});\n","import { Element } from 'hast';\nimport copyTextToClipboard from '@uiw/copy-to-clipboard';\n\nexport function copyElement(str: string = 'test'): Element {\n return {\n type: 'element',\n tagName: 'div',\n properties: {\n // @ts-ignore\n onClick: ({ target }) => {\n target.classList.add('active');\n copyTextToClipboard(target.dataset.code as string, function () {\n setTimeout(() => {\n target.classList.remove('active');\n }, 2000);\n });\n },\n 'data-code': str,\n class: 'copied',\n },\n children: [\n {\n type: 'element',\n tagName: 'svg',\n properties: {\n className: 'octicon-copy',\n ariaHidden: 'true',\n viewBox: '0 0 16 16',\n fill: 'currentColor',\n height: 12,\n width: 12,\n },\n children: [\n {\n type: 'element',\n tagName: 'path',\n properties: {\n fillRule: 'evenodd',\n d: 'M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z',\n },\n children: [],\n },\n {\n type: 'element',\n tagName: 'path',\n properties: {\n fillRule: 'evenodd',\n d: 'M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z',\n },\n children: [],\n },\n ],\n },\n {\n type: 'element',\n tagName: 'svg',\n properties: {\n className: 'octicon-check',\n ariaHidden: 'true',\n viewBox: '0 0 16 16',\n fill: 'currentColor',\n height: 12,\n width: 12,\n },\n children: [\n {\n type: 'element',\n tagName: 'path',\n properties: {\n fillRule: 'evenodd',\n d: 'M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z',\n },\n children: [],\n },\n ],\n },\n ],\n };\n}\n","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}","import React, { Fragment } from 'react';\nimport Icon, { IconProps } from '@uiw/react-icon';\nimport { IProps } from '@uiw/utils';\nimport './style/item.less';\n\nconst disabledProps = {\n href: undefined,\n onClick: undefined,\n onMouseDown: undefined,\n onMouseEnter: undefined,\n onMouseLeave: undefined,\n tabIndex: -1,\n};\n\nexport type TagType = React.ComponentType | keyof JSX.IntrinsicElements;\n\nexport interface MenuItemProps extends IProps, React.HTMLProps {\n text?: React.ReactNode;\n addonAfter?: React.ReactNode;\n tagName?: Tag;\n multiline?: boolean;\n isSubMenuItem?: boolean;\n disabled?: boolean;\n active?: boolean;\n icon?: IconProps['type'];\n children?: React.ReactNode;\n}\n\nfunction Internal(props: MenuItemProps, ref: React.Ref>) {\n const {\n prefixCls = 'w-menu-item',\n className,\n tagName: TagName = 'a',\n children,\n disabled = false,\n multiline = false,\n icon,\n text,\n active = false,\n addonAfter,\n isSubMenuItem,\n ...htmlProps\n } = props;\n const anchorCls = [prefixCls, active ? 'active' : null, disabled ? 'w-disabled' : null, className]\n .filter(Boolean)\n .join(' ')\n .trim();\n\n const tagComp = React.createElement(\n TagName,\n {\n ...htmlProps,\n ...(disabled ? disabledProps : {}),\n className: anchorCls,\n ref,\n } as any,\n \n \n \n {text}\n \n {addonAfter}\n ,\n );\n if (isSubMenuItem) {\n return tagComp;\n }\n return
  • {tagComp}
  • ;\n}\n\nexport const MenuItem = React.forwardRef(Internal);\n\nMenuItem.displayName = 'uiw.MenuItem';\n","import React from 'react';\nimport { IProps, HTMLLiProps } from '@uiw/utils';\n\nexport interface MenuDividerProps extends IProps, Omit {\n title?: React.ReactNode;\n}\n\nexport const MenuDivider = React.forwardRef((props, ref) => {\n const { prefixCls = 'w-menu-divider', className, title, ...htmlProps } = props;\n const cls = [prefixCls, className].filter(Boolean).join(' ').trim();\n if (!title) {\n return
  • ;\n }\n return (\n
  • \n {title}\n
  • \n );\n});\n\nMenuDivider.displayName = 'uiw.MenuDivider';\n","import React, { useMemo, useState, useContext } from 'react';\nimport { CSSTransitionProps } from 'react-transition-group/CSSTransition';\nimport OverlayTrigger, { OverlayTriggerProps, OverlayTriggerRef } from '@uiw/react-overlay-trigger';\nimport Icon from '@uiw/react-icon';\nimport { IProps } from '@uiw/utils';\nimport { MenuItem, MenuItemProps, TagType } from './MenuItem';\nimport { MenuProps, Menu, ThemeContext } from './Menu';\nimport './style/submenu.less';\n\nexport interface SubMenuProps extends IProps, MenuItemProps {\n overlayProps?: OverlayTriggerProps;\n collapse?: boolean;\n disabled?: boolean;\n inlineCollapsed?: boolean;\n inlineIndent?: number;\n}\n\nfunction checkedMenuItem(node?: HTMLElement) {\n let isCheck = false;\n if (node) {\n // eslint-disable-next-line\n do {\n if (!node.dataset.menu) {\n isCheck = true;\n }\n if (node.dataset.menu && /^(subitem|divider)$/.test(node.dataset.menu)) {\n isCheck = false;\n }\n } while (!node.dataset.menu && (node = node.parentNode as HTMLElement));\n }\n return isCheck;\n}\n\nfunction IconView({ prefixCls, collapse, isOpen }: { prefixCls?: string; collapse?: boolean; isOpen: boolean }) {\n return useMemo(\n () => (\n \n ),\n [prefixCls, collapse, isOpen],\n );\n}\n\nexport const SubMenu = React.forwardRef(function (\n props: SubMenuProps,\n ref: React.Ref,\n) {\n const {\n prefixCls = 'w-menu-subitem',\n className,\n disabled,\n overlayProps = {},\n children,\n collapse = false,\n inlineIndent,\n inlineCollapsed,\n ...other\n } = props;\n const overlayTriggerProps = {} as OverlayTriggerProps & CSSTransitionProps;\n const menuProps: MenuProps = {\n bordered: true,\n children,\n inlineIndent,\n className: [prefixCls ? `${prefixCls}-overlay` : null].filter(Boolean).join(' ').trim(),\n };\n const popupRef = React.useRef(null);\n const refNode = React.useRef();\n const elementSource = React.useRef();\n const [isOpen, setIsOpen] = useState(!!overlayProps.isOpen);\n const { height, setContextHeight, ele } = useContext(ThemeContext);\n\n React.useEffect(() => {\n if (refNode.current && refNode.current.style && ele === elementSource.current) {\n const currentHeight = Number(refNode.current!.style.height.substr(0, refNode.current!.style.height.length - 2));\n // 设置的高度 < '已有展开的高度',\n if (refNode.current!.getBoundingClientRect().height < currentHeight) {\n refNode.current!.style.height = currentHeight + 'px';\n } else {\n refNode.current!.style.height = currentHeight + height + 'px';\n }\n }\n }, [height, ele]);\n\n useMemo(() => {\n if (collapse) setIsOpen(false);\n }, [collapse]);\n\n function onClick(e: React.MouseEvent) {\n const target = e.currentTarget;\n const related = (e.relatedTarget || e.nativeEvent.target) as HTMLElement;\n if (target.children.length < 1) return;\n if (checkedMenuItem(related)) {\n if (popupRef.current) {\n popupRef.current!.hide();\n }\n }\n }\n function onEnter(node: HTMLElement) {\n node.style.height = '0px';\n refNode.current = node;\n setIsOpen(true);\n if (popupRef.current && popupRef.current.overlayDom.current) {\n setContextHeight({\n height: popupRef.current.overlayDom.current.getBoundingClientRect().height,\n ele: elementSource.current!,\n });\n }\n }\n function onEntering(node: HTMLElement) {\n node.style.height = `${node.scrollHeight}px`;\n }\n function onEntered(node: HTMLElement) {\n // node.style.height = 'initial';\n if (popupRef.current && popupRef.current.overlayDom.current) {\n node.style.height = popupRef.current.overlayDom.current.getBoundingClientRect().height + 'px';\n }\n }\n function onExiting(node: HTMLElement) {\n node.style.height = '0px';\n if (popupRef.current && popupRef.current.overlayDom.current) {\n setContextHeight({\n height: -popupRef.current!.overlayDom.current!.getBoundingClientRect().height,\n ele: elementSource.current!,\n });\n }\n }\n function onExit(node: HTMLElement) {\n node.style.height = `${node.scrollHeight}px`;\n setIsOpen(false);\n }\n\n if (!collapse) {\n delete menuProps.onClick;\n menuProps.bordered = false;\n overlayTriggerProps.className = `${prefixCls}-collapse`;\n overlayTriggerProps.appear = false;\n overlayTriggerProps.isOutside = true;\n overlayTriggerProps.isClickOutside = false;\n overlayTriggerProps.unmountOnExit = false;\n overlayTriggerProps.trigger = 'click';\n overlayTriggerProps.transitionName = `${prefixCls}`;\n overlayTriggerProps.onExit = onExit;\n overlayTriggerProps.onExiting = onExiting;\n overlayTriggerProps.onEnter = onEnter;\n overlayTriggerProps.onEntered = onEntered;\n overlayTriggerProps.onEntering = onEntering;\n } else {\n overlayTriggerProps.className = `${prefixCls}-popup`;\n overlayTriggerProps.trigger = 'hover';\n overlayTriggerProps.usePortal = true;\n menuProps.onClick = onClick;\n }\n return (\n {\n if (collapse) {\n e.stopPropagation();\n return;\n }\n elementSource.current = e.target;\n }}\n >\n }\n >\n }\n className={[\n prefixCls ? `${prefixCls}-title` : null,\n !collapse ? `${prefixCls}-collapse-title` : null,\n className,\n ]\n .filter(Boolean)\n .join(' ')\n .trim()}\n />\n \n \n );\n});\n\nSubMenu.displayName = 'uiw.SubMenu';\n","import React, { useMemo, createContext } from 'react';\nimport { IProps, HTMLUlProps } from '@uiw/utils';\nimport { MenuItem } from './MenuItem';\nimport { MenuDivider } from './Divider';\nimport { SubMenu } from './SubMenu';\nimport './style/menu.less';\n\nexport interface MenuProps extends IProps, HTMLUlProps {\n /** 主题颜色 */\n theme?: 'light' | 'dark';\n /**\n * 垂直是否收起菜单\n * Default: `false`\n */\n inlineCollapsed?: boolean;\n /**\n * 菜单缩进宽度 Default: `10`\n */\n inlineIndent?: number;\n bordered?: boolean;\n}\ninterface MenuContextType {\n // 需要加上或者减去的高度\n height: number;\n // 事件源dom\n ele: EventTarget | null;\n}\nexport const ThemeContext = createContext(\n {} as MenuContextType & {\n setContextHeight: React.Dispatch>;\n },\n);\n\nexport const Menu = React.forwardRef((props, ref) => {\n const {\n prefixCls = 'w-menu',\n className,\n children,\n bordered,\n theme = 'light',\n inlineIndent = 10,\n inlineCollapsed,\n ...htmlProps\n } = props;\n const cls = useMemo(\n () =>\n [\n prefixCls,\n bordered ? 'w-bordered' : null,\n inlineCollapsed ? `${prefixCls}-inline-collapsed` : null,\n theme ? `${prefixCls}-${theme}` : null,\n className,\n ]\n .filter(Boolean)\n .join(' ')\n .trim(),\n [prefixCls, bordered, inlineCollapsed, theme, className],\n );\n return (\n
      \n {React.Children.map(children, (child: React.ReactNode, key) => {\n if (!React.isValidElement(child)) return child;\n const props: { inlineIndent?: number; inlineCollapsed?: boolean } = {};\n // Sub Menu\n if (child.props.children && child.type === (SubMenu as any)) {\n props.inlineIndent = inlineIndent;\n }\n return React.cloneElement(child, Object.assign({ ...props }, child.props, { key: `${key}` }));\n })}\n
    \n );\n});\n\nconst InternalContextMenu = (props: MenuProps, ref?: React.ForwardedRef) => {\n const [contextHeight, setContextHeight] = React.useState({ height: 0, ele: null });\n return (\n \n \n \n );\n};\n\nconst ContextMenu: ContextMenuComponent = React.forwardRef(\n InternalContextMenu,\n) as unknown as ContextMenuComponent;\n\nMenu.displayName = 'uiw.Menu';\nContextMenu.displayName = 'uiw.Menu';\n\ntype ContextMenuComponent = React.FC> & {\n Item: typeof MenuItem;\n SubMenu: typeof SubMenu;\n Divider: typeof MenuDivider;\n};\n\nContextMenu.Item = MenuItem;\nContextMenu.SubMenu = SubMenu;\nContextMenu.Divider = MenuDivider;\n\nexport default ContextMenu;\n","import Menu from './Menu';\n\nexport * from './Menu';\nexport * from './MenuItem';\nexport * from './SubMenu';\nexport * from './Divider';\n\nexport default Menu;\n","import React from 'react';\nimport { CSSTransition } from 'react-transition-group';\nimport Icon, { IconProps } from '@uiw/react-icon';\nimport Button from '@uiw/react-button';\nimport './style/index.less';\nimport { IProps, HTMLDivProps } from '@uiw/utils';\n\nexport interface MessageProps extends IProps, Omit {\n title?: React.ReactNode;\n icon?: IconProps['type'];\n type?: 'success' | 'warning' | 'info' | 'error';\n description?: React.ReactNode;\n showIcon?: boolean;\n isCloseButtonShown?: boolean;\n rounded?: boolean;\n onClose?: (e: React.MouseEvent) => void;\n}\n\nexport interface IMessageState {\n isOpen: boolean;\n}\n\nexport default class Message extends React.Component {\n public static defaultProps: MessageProps = {\n prefixCls: 'w-message',\n rounded: true,\n isCloseButtonShown: false,\n };\n constructor(props: MessageProps) {\n super(props);\n this.state = {\n isOpen: true,\n };\n }\n handleClosed = (e: React.MouseEvent) => {\n const { onClose } = this.props;\n this.setState({ isOpen: false });\n onClose && onClose(e);\n };\n renderIcon = () => {\n const { type, showIcon } = this.props;\n let icon = this.props.icon;\n if (!icon && showIcon) {\n switch (type) {\n case 'success':\n icon = 'circle-check';\n break;\n case 'warning':\n icon = 'warning';\n break;\n case 'info':\n icon = 'information';\n break;\n case 'error':\n icon = 'circle-close';\n break;\n default:\n break;\n }\n }\n return icon;\n };\n render() {\n const {\n prefixCls,\n className,\n type,\n title,\n description,\n showIcon,\n icon,\n rounded,\n isCloseButtonShown,\n ...elementProps\n } = this.props;\n const children = description || this.props.children;\n const cls = [\n prefixCls,\n className,\n `${prefixCls}-${type}`,\n rounded ? `${prefixCls}-rounded` : null,\n showIcon ? `${prefixCls}-icon` : null,\n showIcon ? `${prefixCls}${title ? '-title' : ''}${children ? '-description' : ''}` : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n const Child = (\n
    \n {isCloseButtonShown &&
    \n );\n if (!isCloseButtonShown) {\n return Child;\n }\n return (\n \n {Child}\n \n );\n }\n}\n","import React, { useState, useEffect } from 'react';\nimport Overlay, { OverlayProps } from '@uiw/react-overlay';\nimport Button, { ButtonType, ButtonProps } from '@uiw/react-button';\nimport Icon, { IconProps } from '@uiw/react-icon';\nimport { IProps, noop } from '@uiw/utils';\nimport './style/index.less';\nimport CallShow from './CallShow';\n\nexport interface ModalProps extends IProps, OverlayProps {\n type?: ButtonType;\n cancelText?: string;\n confirmButtonProps?: Omit;\n cancelButtonProps?: Omit;\n content?: React.ReactNode;\n confirmText?: string;\n title?: string;\n icon?: IconProps['type'];\n useButton?: boolean;\n usePortal?: boolean;\n autoFocus?: boolean;\n isCloseButtonShown?: boolean;\n isOpen?: boolean;\n bodyStyle?: React.CSSProperties;\n maxWidth?: number;\n minWidth?: number;\n width?: number;\n onCancel?: (evn: React.MouseEvent & MouseEvent) => void;\n onConfirm?: (evn: React.MouseEvent & MouseEvent) => void;\n}\n\nconst Modal: React.ForwardRefExoticComponent> = React.forwardRef<\n OverlayProps,\n ModalProps\n>((props, ref) => {\n const {\n prefixCls = 'w-modal',\n className,\n children,\n useButton = true,\n usePortal = true,\n autoFocus = false,\n isOpen: _ = false,\n title,\n cancelText,\n cancelButtonProps,\n confirmButtonProps,\n content,\n confirmText = '确认',\n type = 'light',\n icon,\n maxWidth = 500,\n minWidth = 320,\n width,\n isCloseButtonShown = true,\n onCancel = noop,\n onConfirm = noop,\n bodyStyle,\n ...other\n } = props;\n const [isOpen, setIsOpen] = useState(props.isOpen);\n useEffect(() => {\n if (props.isOpen !== isOpen) {\n setIsOpen(props.isOpen);\n }\n }, [props.isOpen]);\n\n const [loading, setLoading] = useState(false);\n const cls = [prefixCls, className, type ? `${type}` : null].filter(Boolean).join(' ').trim();\n function onClose() {\n setIsOpen(false);\n }\n async function handleCancel(e: React.MouseEvent & MouseEvent) {\n setLoading(true);\n try {\n onCancel && (await onCancel(e));\n } catch (e) {}\n setIsOpen(false);\n setLoading(false);\n }\n async function handleConfirm(e: React.MouseEvent & MouseEvent) {\n setLoading(true);\n try {\n onConfirm && (await onConfirm(e));\n } catch (e) {}\n setIsOpen(false);\n setLoading(false);\n }\n return (\n \n
    \n \n {(title || icon) && (\n
    \n {icon && }\n {title &&

    {title}

    }\n {isCloseButtonShown &&
    \n )}\n
    \n {children || content}\n
    \n {useButton && (\n
    \n handleConfirm(e)}\n >\n {confirmText}\n \n {cancelText && (\n \n )}\n
    \n )}\n
    \n \n
    \n );\n});\n\ntype Modal = typeof Modal & {\n show: (props?: Omit & { children?: React.ReactNode }) => void;\n};\n(Modal as Modal).show = CallShow;\nexport default Modal as Modal;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport Modal, { ModalProps } from './';\n\nexport default function CallShow(props?: Omit & { children?: React.ReactNode }) {\n const { title = '提示框', children, ...other } = props || {};\n const dv = document.createElement('div');\n dv.id = 'uiw-modal-call-show-element';\n document.body.appendChild(dv);\n ReactDOM.render(\n {\n dv.remove();\n }}\n >\n {children}\n ,\n dv,\n );\n}\n","import React, { useEffect, useMemo, useState } from 'react';\nimport Input, { InputProps } from '@uiw/react-input';\nimport Popover, { PopoverProps } from '@uiw/react-popover';\nimport { IProps } from '@uiw/utils';\nimport Button from '@uiw/react-button';\nimport formatter from '@uiw/formatter';\nimport { DatePickerMonth, DatePickerYear, DatePickerCaption, DatePickerCaptionProps } from '@uiw/react-date-picker';\nimport './style/index.less';\n\nexport interface MonthPickerProps extends IProps, Omit {\n popoverProps?: PopoverProps;\n pickerCaptionProps?: DatePickerCaptionProps;\n value?: Date | string;\n format?: string;\n monthLabel?: string[];\n allowClear?: boolean;\n onChange?: (date?: Date, formatDate?: string) => void;\n}\n\nconst MONTH_LABEL = [\n '一月',\n '二月',\n '三月',\n '四月',\n '五月',\n '六月',\n '七月',\n '八月',\n '九月',\n '十月',\n '十一月',\n '十二月',\n];\n\nexport default function MonthPicker(props: MonthPickerProps) {\n const {\n prefixCls = 'w-monthpicker',\n format = 'YYYY/MM',\n onChange = () => {},\n className,\n popoverProps,\n pickerCaptionProps = {},\n allowClear = true,\n monthLabel = MONTH_LABEL,\n ...inputProps\n } = props;\n\n const [isOpen, setIsOpen] = useState(false);\n const [panelDate, setPanelDate] = useState(new Date());\n const [type, setType] = useState('month');\n const [date, setDate] = useState(props.value);\n\n useEffect(() => setDate(props.value), [props.value]);\n\n inputProps.value = useMemo(\n () => (typeof date === 'string' ? date : date ? formatter(format, date) : ''),\n [format, date],\n );\n\n if (allowClear && inputProps.value) {\n inputProps.addonAfter = (\n {\n setDate('');\n onChange && onChange();\n }}\n size={inputProps.size}\n basic\n type=\"light\"\n />\n );\n }\n\n function handleSelectedDate(type: 'setMonth' | 'setFullYear', num: number, paging?: boolean) {\n const curPanelDate = new Date(new Date(panelDate)[type](num));\n if (!paging) {\n setType('month');\n }\n const curDate = formatter(format, new Date(curPanelDate));\n setDate(curDate);\n setPanelDate(curPanelDate);\n onChange && onChange(curPanelDate, curDate);\n if (type === 'setMonth') {\n setIsOpen(false);\n }\n }\n\n return (\n setIsOpen(open)}\n content={\n
    \n {\n if (/^(month|year)$/.test(captionType as string)) {\n setType(captionType);\n } else {\n const year = new Date(panelDate).getFullYear();\n const curPanelDate = new Date(\n new Date(panelDate).setFullYear(captionType === 'next' ? year + 1 : year - 1),\n );\n setPanelDate(curPanelDate);\n }\n }}\n />\n {type === 'month' && (\n handleSelectedDate('setMonth', month, paging)}\n />\n )}\n {type === 'year' && (\n handleSelectedDate('setFullYear', year, paging)}\n />\n )}\n
    \n }\n >\n \n \n );\n}\n","import React from 'react';\nimport Alert, { AlertProps } from '@uiw/react-alert';\nimport { IProps } from '@uiw/utils';\nimport { NotificationCreateProps } from './index';\n\nexport type Placement = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';\n\nexport interface ContainerProps extends IProps {\n placement?: Placement;\n}\nexport interface ContainerState {\n placement?: Placement;\n notifys: ContainerNotifys;\n}\n\nexport type ContainerNotifys = {\n [placement: string]: {\n [key: string]: NotificationCreateProps;\n };\n};\n\nconst notifys: ContainerNotifys = {};\nconst timer: { [key: string]: any } = {};\n\nexport default class Container extends React.Component {\n public static defaultProps: ContainerProps = {\n prefixCls: 'w-notify',\n placement: 'topRight',\n };\n public state: ContainerState = {\n notifys: {},\n };\n public create(props: NotificationCreateProps) {\n const { placement, key } = props;\n if (!notifys[placement as Placement]) {\n notifys[placement as Placement] = {};\n }\n props.isOpen = false;\n notifys[placement as Placement][key as string] = props;\n if (props.duration) {\n timer[key as string] = setTimeout(() => {\n this.closed(key as string, placement);\n }, props.duration);\n }\n this.setState(\n {\n notifys,\n placement,\n },\n () => {\n notifys[placement as Placement][key as string].isOpen = true;\n this.setState({ notifys });\n },\n );\n }\n public closed(key: string, placement?: Placement) {\n if (!key || !placement || !notifys[placement][key]) {\n return;\n }\n notifys[placement][key].isOpen = false;\n const props: NotificationCreateProps = notifys[placement][key];\n this.setState({ notifys }, () => {\n clearTimeout(timer[key]);\n delete timer[key];\n delete notifys[placement][key];\n if (props && props.willUnmount) {\n props.willUnmount(props, notifys);\n }\n });\n }\n render() {\n const { prefixCls } = this.props;\n const { placement } = this.state;\n return (\n \n {placement &&\n Object.keys(this.state.notifys[placement]).map((key) => {\n const { description, isOpen, ...alertProps } = this.state.notifys[placement][key];\n if (alertProps.type === 'open') {\n delete alertProps.type;\n }\n return (\n \n );\n })}\n \n );\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport { AlertProps } from '@uiw/react-alert';\nimport { randomid } from '@uiw/utils';\nimport Container, { Placement, ContainerNotifys } from './Container';\nimport './style/index.less';\n\nexport interface NotificationCreateProps extends Omit {\n placement?: Placement;\n description?: React.ReactNode;\n type?: 'primary' | 'danger' | 'open' | 'success' | 'warning' | 'info' | 'error';\n duration?: number;\n key?: string;\n willUnmount?: (props: NotificationCreateProps, notifys: ContainerNotifys) => void;\n}\n\nexport type Notifys = { [key: string]: any };\nexport type NotifysDom = { [key: string]: HTMLDivElement };\n\nconst notifys: Notifys = {};\nconst notifysDom: NotifysDom = {};\n\nexport interface NotificationProps {\n (props: NotificationCreateProps, type: NotificationCreateProps['type']): void;\n [key: string]: () => void;\n}\n\nfunction NotificationCreate(props: NotificationCreateProps, type: NotificationCreateProps['type'] = 'open') {\n if (!props.placement) {\n props.placement = 'topRight';\n }\n props.type = type as NotificationCreateProps['type'];\n if (!props.icon && props.icon !== null) {\n switch (props.type) {\n case 'success':\n props.icon = 'circle-check';\n break;\n case 'warning':\n props.icon = 'warning';\n break;\n case 'info':\n props.icon = 'information';\n break;\n case 'error':\n props.icon = 'circle-close';\n break;\n default:\n break;\n }\n }\n switch (props.type) {\n case 'info':\n props.type = 'primary';\n break;\n case 'error':\n props.type = 'danger';\n break;\n default:\n break;\n }\n\n if (props.placement && !notifys[props.placement]) {\n const div = document.createElement('div');\n document.body.appendChild(div);\n div.className = ['w-notify-warpper', props.placement].filter(Boolean).join(' ').trim();\n notifysDom[props.placement] = div;\n notifys[props.placement] = ReactDOM.render(, div);\n }\n\n if (props.duration !== null) {\n props.duration = (props.duration || 4.5) * 1000;\n }\n\n if (notifys[props.placement]) {\n notifys[props.placement].create({\n ...props,\n duration: props.duration,\n key: randomid(),\n willUnmount(nprops: any, notifysChild: ContainerNotifys) {\n if (!nprops) return;\n nprops.onClose && nprops.onClose();\n const keys = Object.keys(notifysChild[props.placement as Placement]);\n if (keys.length === 0 && notifys[props.placement as Placement]) {\n delete notifys[props.placement as Placement];\n if (notifysDom[props.placement as Placement]) {\n document.body.removeChild(notifysDom[props.placement as Placement]);\n }\n }\n },\n });\n }\n}\n\n['open', 'success', 'warning', 'info', 'error'].forEach((type) => {\n (NotificationCreate as NotificationProps)[type] = (options: NotificationCreateProps = {}) => {\n return NotificationCreate(options, type as NotificationCreateProps['type']);\n };\n});\n\nexport interface NotificationApi {\n open(option: NotificationCreateProps): void;\n success(option: NotificationCreateProps): void;\n warning(option: NotificationCreateProps): void;\n info(option: NotificationCreateProps): void;\n error(option: NotificationCreateProps): void;\n}\n\nexport default NotificationCreate as unknown as NotificationApi;\n","/**\n * Returns a random text\n */\nexport function randomid(): string {\n return parseInt(String(Math.random() * 1e15), 10).toString(36);\n}\n","const canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nfunction fallback(context: HTMLElement, node: HTMLElement) {\n if (node) {\n do {\n if (node === context) return true;\n } while ((node = node.parentNode as HTMLElement));\n }\n\n return false;\n}\n\nfunction isDOM(item: Node) {\n return typeof HTMLElement === 'function'\n ? item instanceof HTMLElement\n : item && typeof item === 'object' && item.nodeType === 1 && typeof item.nodeName === 'string';\n}\n\nconst contains = (() => {\n // HTML DOM and SVG DOM may have different support levels,\n // so we need to check on context instead of a document root element.\n return canUseDOM\n ? function (context: HTMLElement, node: HTMLElement) {\n if (context && context.contains && typeof context.contains === 'function' && isDOM(node)) {\n return context.contains(node);\n }\n if (context && context.compareDocumentPosition && isDOM(node)) {\n return context === node || !!(context.compareDocumentPosition(node) && 16);\n }\n return fallback(context, node);\n }\n : fallback;\n})();\n\nexport default contains;\n","export interface BordersSize extends CSSStyleDeclaration {\n [key: string]: any;\n}\n\n/*\n * Helper to detect borders of a given element\n * @method\n * @memberof Popper.Utils\n * @param {CSSStyleDeclaration} styles\n * Result of `getStyleComputedProperty` on the given element\n * @param {String} axis - `x` or `y`\n * @return {number} borders - The borders size of the given axis\n */\n\nexport default function getBordersSize(styles: BordersSize, axis: 'x' | 'y'): number {\n const sideA: string = axis === 'x' ? 'Left' : 'Top';\n const sideB: string = sideA === 'Left' ? 'Right' : 'Bottom';\n return parseFloat(styles[`border${sideA}Width`]) + parseFloat(styles[`border${sideB}Width`]);\n}\n","export default typeof window !== 'undefined' && typeof document !== 'undefined';\n","import isBrowser from './isBrowser';\n\ninterface Document {\n documentMode?: any;\n}\n\ninterface Window {\n MSInputMethodContext?: any;\n}\n\nconst isIE11 = isBrowser && !!((window as Window).MSInputMethodContext && (document as Document).documentMode);\nconst isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);\n\n/**\n * Determines if the browser is Internet Explorer\n * @method\n * @memberof Popper.Utils\n * @param {Number} version to check\n * @returns {Boolean} isIE\n */\nexport default function isIE(version: number) {\n if (version === 11) {\n return isIE11;\n }\n if (version === 10) {\n return isIE10;\n }\n return isIE11 || isIE10;\n}\n","import isIE from './isIE';\n\ninterface BodyElement extends HTMLBodyElement {\n [key: string]: any;\n}\n\ninterface IHTMLElement extends HTMLElement {\n [key: string]: any;\n}\n\ninterface ComputedStyle extends CSSStyleDeclaration {\n [key: string]: any;\n}\n\nfunction getSize(axis: 'Height' | 'Width', body: BodyElement, html: IHTMLElement, computedStyle: ComputedStyle) {\n return Math.max(\n body[`offset${axis}`],\n body[`scroll${axis}`],\n html[`client${axis}`],\n html[`offset${axis}`],\n html[`scroll${axis}`],\n isIE(10)\n ? parseInt(html[`offset${axis}`], 10) +\n parseInt(computedStyle[`margin${axis === 'Height' ? 'Top' : 'Left'}`], 10) +\n parseInt(computedStyle[`margin${axis === 'Height' ? 'Bottom' : 'Right'}`], 10)\n : 0,\n );\n}\n\nexport type WindowSize = { height?: number; width?: number };\n\nexport default function getWindowSizes(document: HTMLDocument): WindowSize {\n const body = document.body as HTMLBodyElement;\n const html = document.documentElement as HTMLElement;\n const computedStyle = getComputedStyle(html) as CSSStyleDeclaration;\n\n return {\n height: getSize('Height', body, html, computedStyle),\n width: getSize('Width', body, html, computedStyle),\n };\n}\n","import { getScroll } from '@uiw/utils';\nimport getStyleComputedProperty from './getStyleComputedProperty';\nimport getBordersSize from './getBordersSize';\nimport getWindowSizes, { WindowSize } from './getWindowSizes';\nimport getClientRect from './getClientRect';\nimport isIE from './isIE';\n\nexport interface IBoundingClientRect {\n left: number;\n right: number;\n top: number;\n bottom: number;\n width: number;\n height: number;\n offsetLeft?: number;\n offsetTop?: number;\n}\n\n/**\n * Get bounding client rect of given element\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} element\n * @return {Object} client rect\n */\nexport default function getBoundingClientRect(element: HTMLElement) {\n let rect = {} as IBoundingClientRect;\n\n // IE10 10 FIX: Please, don't ask, the element isn't\n // considered in DOM in some circumstances...\n // This isn't reproducible in IE10 compatibility mode of IE11\n try {\n if (isIE(10)) {\n rect = element.getBoundingClientRect();\n const scrollTop = getScroll(element, true);\n const scrollLeft = getScroll(element);\n rect.top += scrollTop;\n rect.left += scrollLeft;\n rect.bottom += scrollTop;\n rect.right += scrollLeft;\n } else {\n rect = element.getBoundingClientRect();\n }\n // eslint-disable-next-line\n } catch (e) {}\n\n const result = {\n left: rect.left,\n top: rect.top,\n width: rect.right - rect.left,\n height: rect.bottom - rect.top,\n } as IBoundingClientRect;\n\n // subtract scrollbar size from sizes\n const sizes: WindowSize = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument!) : {};\n const width = sizes.width || element.clientWidth || result.right - result.left;\n const height = sizes.height || element.clientHeight || result.bottom - result.top;\n\n let horizScrollbar = element.offsetWidth - width;\n let vertScrollbar = element.offsetHeight - height;\n\n result.offsetLeft = element.offsetLeft || element.scrollLeft || 0;\n result.offsetTop = element.offsetTop || element.offsetTop || 0;\n\n // if an hypothetical scrollbar is detected, we must be sure it's not a `border`\n // we make this check conditional for performance reasons\n if (horizScrollbar || vertScrollbar) {\n const styles = getStyleComputedProperty(element);\n horizScrollbar -= getBordersSize(styles, 'x');\n vertScrollbar -= getBordersSize(styles, 'y');\n\n result.width -= horizScrollbar;\n result.height -= vertScrollbar;\n }\n\n return getClientRect(result) as IBoundingClientRect;\n}\n","/**\n * Given element offsets, generate an output similar to getBoundingClientRect\n * @method\n * @memberof Popper.Utils\n * @argument {Object} offsets\n * @returns {Object} ClientRect like output\n */\nexport default function getClientRect(offsets: ClientRect): ClientRect {\n return {\n ...offsets,\n right: offsets.left + offsets.width,\n bottom: offsets.top + offsets.height,\n };\n}\n","/**\n * Get CSS computed property of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Eement} element\n * @argument {String} property\n */\nexport default function getStyleComputedProperty(\n element: HTMLElement,\n property?: keyof CSSStyleDeclaration,\n): CSSStyleDeclaration | any {\n if (element.nodeType !== 1) {\n return [];\n }\n // NOTE: 1 DOM access here\n const window = element.ownerDocument!.defaultView;\n const css: CSSStyleDeclaration = (window as Window).getComputedStyle(element, null);\n return property ? css[property] : css;\n}\n","export type Sizes = {\n width: number;\n height: number;\n};\n\n/**\n * Get the outer sizes of the given element (offset size + margins)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Object} object containing width and height properties\n */\nexport default function getOuterSizes(element: HTMLElement): Sizes {\n let rect = element.getBoundingClientRect();\n // const window = element.ownerDocument.defaultView;\n // const styles = window.getComputedStyle(element);\n // const x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);\n // const y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);\n const result: Sizes = {\n width: element.offsetWidth || element.scrollWidth || rect.width || 0,\n height: element.offsetHeight || element.scrollHeight || rect.height || 0,\n };\n return result;\n}\n","import { getScroll } from '@uiw/utils';\nimport getBoundingClientRect, { IBoundingClientRect } from './util/getBoundingClientRect';\nimport getOuterSizes from './util/getOuterSizes';\nimport { OverlayStyl, OverlayTriggerProps, Placement } from './';\n\ntype GetStyleOptions = {\n trigger: HTMLElement | IBoundingClientRect;\n popup: HTMLElement | IBoundingClientRect;\n placement: OverlayStyl['placement'];\n usePortal: OverlayTriggerProps['usePortal'];\n autoAdjustOverflow: OverlayTriggerProps['autoAdjustOverflow'];\n};\n\nexport function getStyle(options: GetStyleOptions) {\n let { trigger: triggerDom, popup: popupDom, placement, usePortal, autoAdjustOverflow } = options || {};\n const sty = {\n left: 0,\n top: 0,\n placement,\n } as OverlayStyl;\n\n if (!triggerDom || !popupDom || !document) {\n return sty;\n }\n\n const winSizeHeight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);\n const winSizeWidth = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);\n\n sty.placement = placement;\n const scrollTop = getScroll((triggerDom as HTMLElement).ownerDocument!.documentElement, true);\n const scrollLeft = getScroll((triggerDom as HTMLElement).ownerDocument!.documentElement);\n const trigger = {\n ...getBoundingClientRect(triggerDom as HTMLElement),\n ...getOuterSizes(triggerDom as HTMLElement),\n };\n const popup = {\n ...getBoundingClientRect(popupDom as HTMLElement),\n ...getOuterSizes(popupDom as HTMLElement),\n };\n\n const bottom = winSizeHeight - trigger.bottom;\n const right = winSizeWidth - trigger.left - trigger.width;\n\n sty.top = trigger.top + scrollTop;\n sty.left = trigger.left;\n\n if (!usePortal) {\n sty.top = trigger.offsetTop as number;\n sty.left = trigger.offsetLeft as number;\n }\n\n if (placement && /^(top)/.test(placement)) {\n sty.top -= popup.height;\n }\n if (placement && /^(right)/.test(placement)) {\n sty.left += trigger.width;\n }\n if (placement && /^(bottom)/.test(placement)) {\n sty.top += trigger.height;\n }\n if (placement && /^(left)/.test(placement)) {\n sty.left -= popup.width;\n }\n switch (sty.placement) {\n case 'bottomLeft':\n case 'topLeft':\n break;\n case 'bottom':\n // eslint-disable-next-line\n case 'top':\n sty.left = sty.left - (popup.width - trigger.width) / 2;\n break;\n case 'bottomRight':\n case 'topRight':\n sty.left = sty.left + scrollLeft + trigger.width - popup.width;\n break;\n case 'rightTop':\n case 'leftTop':\n break;\n case 'right':\n // eslint-disable-next-line\n case 'left':\n sty.top = sty.top - (popup.height - trigger.height) / 2;\n break;\n case 'rightBottom':\n case 'leftBottom':\n sty.top = sty.top - popup.height + trigger.height;\n break;\n default:\n break;\n }\n if (autoAdjustOverflow) {\n if (placement && /^(top)/.test(placement) && trigger.top < popup.height && bottom > popup.height) {\n sty.placement = placement.replace(/^top/, 'bottom') as Placement;\n sty.top = sty.top + popup.height + trigger.height;\n }\n if (placement && /^(bottom)/.test(placement) && bottom < popup.height && trigger.top > popup.height) {\n sty.placement = placement.replace(/^bottom/, 'top') as Placement;\n sty.top = sty.top - popup.height - trigger.height;\n }\n if (placement && /^(right)/.test(placement) && right < popup.width) {\n sty.placement = placement.replace(/^right/, 'left') as Placement;\n sty.left = sty.left - trigger.width - popup.width;\n }\n if (placement && /^(left)/.test(placement) && trigger.left < popup.width) {\n sty.placement = placement.replace(/^left/, 'right') as Placement;\n sty.left = sty.left + trigger.width + popup.width;\n }\n\n if (placement && /^(left|right)/.test(placement) && usePortal) {\n // Top\n if (\n (/(Top)$/.test(placement) && trigger.top < 0) ||\n (/(right|left)$/.test(placement) && trigger.top + trigger.height / 2 < popup.height / 2) ||\n (/(Bottom)$/.test(placement) && trigger.top + trigger.height < popup.height)\n ) {\n sty.top = scrollTop;\n }\n } else {\n // Top\n if (placement && /(Top)$/.test(placement) && trigger.top < 0) {\n sty.top -= trigger.top;\n }\n if (placement && /(Bottom)$/.test(placement) && trigger.bottom < popup.height) {\n // eslint-disable-next-line\n sty.top = sty.top + (popup.height - trigger.bottom);\n }\n if (placement && /(right|left)$/.test(placement) && trigger.bottom - trigger.height / 2 < popup.height / 2) {\n sty.top = sty.top + popup.height / 2 - (trigger.bottom - trigger.height / 2);\n }\n }\n // Bottom Public Part\n if (placement && /^(left|right)/.test(placement)) {\n if (/(Top)$/.test(placement) && bottom + trigger.height < popup.height) {\n sty.top = sty.top - (popup.height - bottom - trigger.height); // eslint-disable-line\n }\n if (/(right|left)$/.test(placement) && bottom + trigger.height / 2 < popup.height / 2) {\n sty.top = sty.top - (popup.height / 2 - bottom - trigger.height / 2); // eslint-disable-line\n }\n if (/(Bottom)$/.test(placement) && bottom < 0) {\n sty.top = sty.top + bottom; // eslint-disable-line\n }\n }\n\n if (placement && /^(top|bottom)/.test(placement) && usePortal) {\n // left\n if (\n (/(Left)$/.test(placement) && trigger.left < 0) ||\n (/(top|bottom)$/.test(placement) && trigger.left + trigger.width / 2 < popup.width / 2) ||\n (/(Right)$/.test(placement) && trigger.left + trigger.width < popup.width)\n ) {\n sty.left = scrollLeft;\n }\n // right\n if (/(top|bottom)$/.test(placement) && right + trigger.width / 2 < popup.width / 2) {\n sty.left = trigger.left + trigger.width + right - popup.width;\n }\n } else if (placement && /(top|bottom)$/.test(placement) && right + trigger.width / 2 < popup.width / 2) {\n sty.left = sty.left + (right + trigger.width / 2 - popup.width / 2); // eslint-disable-line\n }\n if (placement && /^(top|bottom)/.test(placement)) {\n if (/(Left)$/.test(placement) && trigger.width + right < popup.width) {\n sty.left = sty.left - (popup.width - trigger.width - right);\n }\n if (/(Right)$/.test(placement) && right < 0) {\n sty.left = sty.left + right; // eslint-disable-line\n }\n }\n }\n return sty;\n}\n","import React, { cloneElement, useEffect, useRef, useState, useImperativeHandle } from 'react';\nimport { IProps, noop } from '@uiw/utils';\nimport Overlay, { OverlayProps } from '@uiw/react-overlay';\nimport contains from './utils';\nimport { IBoundingClientRect } from './util/getBoundingClientRect';\nimport { getStyle } from './getStyle';\nimport './style/index.less';\n\nexport interface OverlayTriggerProps extends IProps, OverlayProps {\n onVisibleChange?: (isVisbale: boolean) => void;\n onEnter?: (node: HTMLElement, isAppearing: boolean) => void;\n overlay?: React.ReactNode | any;\n trigger?: 'click' | 'hover' | 'focus';\n usePortal?: boolean;\n isOpen?: boolean;\n disabled?: boolean;\n isOutside?: boolean;\n isClickOutside?: boolean;\n autoAdjustOverflow?: boolean;\n placement?: Placement;\n delay?: Delay;\n}\n\nexport interface OverlayTriggerState {\n show: boolean;\n trigger: OverlayTriggerProps['trigger'];\n overlayStyl: OverlayStyl;\n transitionName: OverlayProps['transitionName'];\n}\n\nexport type Delay =\n | number\n | {\n show?: number;\n hide?: number;\n };\n\nexport type Placement =\n | 'top'\n | 'topLeft'\n | 'topRight'\n | 'left'\n | 'leftTop'\n | 'leftBottom'\n | 'right'\n | 'rightTop'\n | 'rightBottom'\n | 'bottom'\n | 'bottomLeft'\n | 'bottomRight';\n\nexport type OverlayStyl = {\n placement: Placement;\n top: number;\n bottom: number;\n left: number;\n right: number;\n zIndex: number;\n};\n\ninterface ITriggerProps {\n onClick?: (e: MouseEvent) => void;\n onFocus?: (e: MouseEvent) => void;\n onMouseOver?: (e: React.MouseEvent) => void;\n onMouseOut?: (e: React.MouseEvent) => void;\n onMouseEnter?: (e: React.MouseEvent) => void;\n onMouseLeave?: (e: React.MouseEvent) => void;\n}\n\nconst normalizeDelay = (delay?: Delay) => (delay && typeof delay === 'object' ? delay : { show: delay, hide: delay });\n\nexport type OverlayTriggerRef = {\n hide: () => void;\n show: () => void;\n overlayDom: React.MutableRefObject;\n};\n\nexport default React.forwardRef((props, ref) => {\n const {\n className,\n\n prefixCls = 'w-overlay-trigger',\n usePortal = true,\n isOutside = false,\n isClickOutside = true,\n disabled = false,\n isOpen: _ = false,\n trigger = 'hover',\n placement = 'top',\n\n autoAdjustOverflow,\n transitionName,\n\n children,\n overlay,\n onVisibleChange = noop,\n onEnter = noop,\n ...other\n } = props;\n\n const zIndex = useRef(999);\n const triggerRef = useRef();\n const popupRef = useRef();\n const timeoutRef = useRef([]);\n const hoverStateRef = useRef<'show' | 'hide' | null>(null);\n const [isOpen, setIsOpen] = useState(!!props.isOpen);\n const [overlayStyl, setOverlayStyl] = useState({\n placement,\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n zIndex: zIndex.current,\n });\n useImperativeHandle(ref, () => ({\n hide: () => hide(),\n show: () => show(),\n overlayDom: popupRef,\n }));\n\n const child: any = React.Children.only(children);\n const overlayProps: OverlayProps = {\n ...other,\n placement,\n isOpen,\n dialogProps: {},\n };\n const triggerProps: ITriggerProps = {};\n\n function getChildProps() {\n if (child && React.isValidElement(child)) {\n return child.props;\n }\n return {};\n }\n\n useEffect(() => {\n if (isClickOutside && isOpen) {\n document && document.addEventListener('mousedown', handleClickOutside);\n window.addEventListener('resize', handleResize);\n }\n return () => {\n document && isClickOutside && document.removeEventListener('mousedown', handleClickOutside);\n window.removeEventListener('resize', handleResize);\n };\n }, [isOpen]);\n\n useEffect(() => {\n if (props.isOpen !== isOpen) {\n setIsOpen(!!props.isOpen);\n }\n }, [props.isOpen]);\n\n useEffect(() => {\n const styls = getStyle({\n placement: overlayStyl.placement || placement,\n trigger: triggerRef.current as HTMLElement | IBoundingClientRect,\n popup: popupRef.current as HTMLElement | IBoundingClientRect,\n usePortal,\n autoAdjustOverflow,\n });\n setOverlayStyl({ ...styls, zIndex: zIndex.current });\n onVisibleChange(isOpen);\n }, [isOpen]);\n\n const handleResize = () => {\n if (isOpen) {\n zIndex.current -= 1;\n setIsOpen(false);\n onVisibleChange && onVisibleChange(false);\n }\n };\n\n const handleClickOutside = (e: MouseEvent) => {\n const popNode = popupRef.current;\n const childNode = triggerRef.current;\n if (\n popNode &&\n childNode &&\n e.target &&\n !contains(popNode, e.target as HTMLElement) &&\n !contains(childNode, e.target as HTMLElement)\n ) {\n zIndex.current -= 1;\n setIsOpen(false);\n onVisibleChange && onVisibleChange(false);\n }\n };\n\n function clearTimeouts() {\n if (timeoutRef.current.length > 0) {\n for (const timeoutId of timeoutRef.current) {\n window.clearTimeout(timeoutId);\n }\n timeoutRef.current = [];\n }\n }\n function handleShow() {\n clearTimeouts();\n hoverStateRef.current = 'show';\n\n const delay = normalizeDelay(props.delay);\n if (!delay.show && !(props.children as JSX.Element)?.props.disabled) {\n show();\n return;\n }\n const handle = window.setTimeout(() => {\n if (hoverStateRef.current === 'show') show();\n }, delay.show);\n clearTimeout(handle);\n timeoutRef.current.push(handle);\n }\n\n function handleHide(isOutside: boolean) {\n clearTimeouts();\n if (!isOutside && props.isOutside) return;\n hoverStateRef.current = 'hide';\n\n const delay = normalizeDelay(props.delay);\n\n if (!delay.hide) {\n hide();\n return;\n }\n\n const handle = window.setTimeout(() => {\n if (hoverStateRef.current === 'hide') hide();\n }, delay.hide);\n\n timeoutRef.current.push(handle);\n }\n\n // Simple implementation of mouseEnter and mouseLeave.\n // React's built version is broken: https://github.com/facebook/react/issues/4251\n // for cases when the trigger is disabled and mouseOut/Over can cause flicker\n // moving from one child element to another.\n function handleMouseOverOut(handler: Function, e: React.MouseEvent, relatedNative: 'fromElement' | 'toElement') {\n const target = e.currentTarget as HTMLElement;\n const related = (e.relatedTarget || (e.nativeEvent as any)[relatedNative]) as HTMLElement;\n let isOutside = true;\n if (\n (popupRef.current && contains(popupRef.current, related)) ||\n (triggerRef.current && contains(triggerRef.current, related))\n ) {\n isOutside = false;\n }\n if ((!related || related !== target) && !contains(target, related)) {\n handler(isOutside, e);\n }\n }\n\n function hide() {\n if (!isOpen) return;\n zIndex.current -= 1;\n setIsOpen(false);\n }\n\n function show() {\n if (isOpen) return;\n zIndex.current += 1;\n setIsOpen(true);\n }\n\n function handleEnter(node: HTMLElement, isAppearing: boolean) {\n onEnter && onEnter(node, isAppearing);\n const styls = getStyle({\n placement: overlayStyl.placement || placement,\n trigger: triggerRef.current as HTMLElement | IBoundingClientRect,\n popup: popupRef.current as HTMLElement | IBoundingClientRect,\n usePortal,\n autoAdjustOverflow,\n });\n setOverlayStyl({ ...styls, zIndex: zIndex.current });\n }\n\n if (trigger === 'click' && !disabled) {\n triggerProps.onClick = (e) => {\n const { onClick } = getChildProps() as any;\n isOpen ? hide() : show();\n if (onClick) onClick(e, !isOpen);\n };\n }\n if (trigger === 'focus' && !disabled) {\n triggerProps.onFocus = () => handleShow();\n }\n\n if (trigger === 'hover' && !disabled) {\n triggerProps.onMouseOver = triggerProps.onMouseEnter = (e) => {\n handleMouseOverOut(handleShow, e, 'fromElement');\n };\n triggerProps.onMouseOut = triggerProps.onMouseLeave = (e) => {\n handleMouseOverOut(handleHide, e, 'toElement');\n };\n if (overlayProps.dialogProps) {\n overlayProps.dialogProps!.onMouseLeave = (e) => {\n handleMouseOverOut(handleHide, e, 'toElement');\n };\n }\n }\n overlayProps.style = { ...overlayProps.style, ...overlayStyl };\n return (\n \n {cloneElement(\n child,\n Object.assign({}, child.props, {\n ...triggerProps,\n ref: triggerRef,\n className: [child.props.className, disabled ? `${prefixCls}-disabled` : null]\n .filter(Boolean)\n .join(' ')\n .trim(),\n }),\n )}\n \n {cloneElement(\n overlay,\n Object.assign({\n ...overlay.props,\n ref: popupRef,\n className: [overlay.props && overlay.props.className, placement].filter(Boolean).join(' ').trim(),\n }),\n )}\n \n \n );\n});\n","/**\n * Overlay 组件\n * ---------------\n * 动画库 react-transition-group 文档\n * 老的文档\n * https://facebook.github.io/react/docs/animation.html\n * 新的文档\n * https://reactcommunity.org/react-transition-group/\n * 动画效果\n * https://daneden.github.io/animate.css/\n */\nimport React, { cloneElement, useEffect, useRef, useState } from 'react';\nimport { CSSTransition } from 'react-transition-group';\nimport { TransitionProps } from 'react-transition-group/Transition';\nimport Portal, { PortalProps } from '@uiw/react-portal';\nimport { IProps, noop } from '@uiw/utils';\n\nimport './style/index.less';\n\nexport interface OverlayProps extends IProps, Omit {\n timeout?: TransitionProps['timeout'];\n isOpen?: boolean;\n usePortal?: boolean;\n maskClosable?: boolean;\n dialogProps?: React.HTMLProps;\n backdropProps?: React.HTMLProps;\n portalProps?: PortalProps;\n hasBackdrop?: boolean;\n unmountOnExit?: boolean;\n transitionName?: string;\n onEnter?: (node: HTMLElement, isAppearing: boolean) => void;\n onOpening?: (node: HTMLElement, isAppearing: boolean) => void;\n onOpened?: (node: HTMLElement, isAppearing: boolean) => void;\n onClosing?: (node: HTMLElement) => void;\n onClosed?: (node: HTMLElement | React.MouseEvent) => void;\n onClose?: (evn: React.MouseEvent) => void;\n}\n\nexport default function Overlay(props: OverlayProps) {\n const {\n className,\n style,\n isOpen: _ = false,\n prefixCls = 'w-overlay',\n usePortal = true,\n maskClosable = true,\n backdropProps = {},\n portalProps = {},\n hasBackdrop = true,\n unmountOnExit = true, // 设置 true 销毁根节点\n timeout = 300,\n transitionName = 'w-overlay',\n // onEnter = noop,\n onOpening = noop,\n onOpened = noop,\n onClosing = noop,\n onClosed = noop,\n onClose = noop,\n onEnter = noop,\n onExiting = noop,\n onEntering = noop,\n onEntered = noop,\n onExit = noop,\n children,\n dialogProps = {},\n ...otherProps\n } = props;\n\n const [isOpen, setIsOpen] = useState();\n // const [isOpen, setIsOpen] = useState(props.isOpen || false);\n const [visible, setVisible] = useState(false);\n const container = useRef(null);\n const overlay = useRef(null);\n useEffect(() => {\n if (isOpen !== props.isOpen && props.isOpen) {\n setVisible(true);\n }\n if (isOpen !== props.isOpen && !props.isOpen) {\n overlayWillClose();\n setIsOpen(false);\n }\n }, [props.isOpen]);\n\n useEffect(() => {\n if (visible) {\n overlayWillOpen();\n setIsOpen(true);\n }\n }, [visible]);\n\n const decoratedChild =\n typeof children === 'object' ? (\n cloneElement(children, {\n ...dialogProps,\n style: { ...children.props.style, ...dialogProps.style },\n className: [children.props.className, `${prefixCls}-content`].filter(Boolean).join(' ').trim(),\n tabIndex: 0,\n })\n ) : (\n \n {children}\n \n );\n\n function handleClosed(node: HTMLElement | React.MouseEvent) {\n setVisible(false);\n onClosed && onClosed(node);\n }\n\n function handleBackdropMouseDown(e: React.MouseEvent) {\n if (e.target !== container.current && usePortal) {\n return;\n }\n if (maskClosable && hasBackdrop) {\n overlayWillClose();\n setIsOpen(false);\n onClose && onClose(e);\n }\n backdropProps && backdropProps.onMouseDown && backdropProps.onMouseDown(e);\n }\n\n function overlayWillOpen() {\n if (hasBackdrop && usePortal) {\n document.body.classList.add(`${prefixCls}-open`);\n }\n }\n\n function overlayWillClose() {\n if (hasBackdrop && usePortal) {\n document.body.classList.remove(`${prefixCls}-open`);\n }\n // if (unmountOnExit) {\n // setVisible(false)\n // }\n }\n const TransitionGroupComp = (\n {\n onEnter(overlay.current!, isAppearing);\n }}\n onEntering={(isAppearing: boolean) => {\n onOpening(overlay.current!, isAppearing);\n onEntering(overlay.current!);\n }}\n onEntered={(isAppearing: boolean) => {\n onOpened(overlay.current!, isAppearing);\n onEntered(overlay.current!);\n }}\n onExiting={() => {\n onClosing(overlay.current!);\n onExiting(overlay.current!);\n }}\n onExited={() => {\n handleClosed(overlay.current!);\n onExit(overlay.current!);\n }}\n nodeRef={overlay}\n {...otherProps}\n >\n {(status) => {\n return (\n \n {hasBackdrop &&\n cloneElement(
    , {\n ...backdropProps,\n onMouseDown: handleBackdropMouseDown,\n className: [`${prefixCls}-backdrop`, backdropProps.className].filter(Boolean).join(' ').trim(),\n tabIndex: maskClosable ? 0 : null,\n })}\n {usePortal ? (\n
    \n {cloneElement(decoratedChild, { 'data-status': status })}\n
    \n ) : (\n cloneElement(decoratedChild, { 'data-status': status })\n )}\n
    \n );\n }}\n \n );\n if (visible && usePortal) {\n return {TransitionGroupComp};\n } else {\n return TransitionGroupComp;\n }\n}\n","import React, { useEffect, useMemo, useState } from 'react';\nimport Select from '@uiw/react-select';\nimport { IProps, HTMLUlProps } from '@uiw/utils';\nimport './style/index.less';\n\nexport interface PaginationProps extends IProps, Omit {\n prefixCls?: string;\n alignment?: 'left' | 'center' | 'right';\n size?: 'default' | 'small';\n pageSizeOptions?: number[];\n total?: number;\n pageSize?: number;\n divider?: boolean;\n current?: number;\n onChange?: (current: number, total: number, pageSize: number) => void;\n onShowSizeChange?: (current: number, pageSize: number) => void;\n}\n\nexport interface PaginationState {\n current: number;\n}\n\nexport interface PaginationItemSourceData {\n type?: string;\n disabled?: boolean;\n active?: boolean;\n label?: number | string;\n goto?: number;\n}\n\nexport default function Pagination(props: PaginationProps) {\n const {\n className,\n style,\n prefixCls = 'w-pagination',\n alignment = 'left',\n size = 'default',\n total = 0,\n pageSize = 10, // The number of pages displayed.\n pageSizeOptions = [],\n current: currentNumber = 1,\n onChange = () => null,\n onShowSizeChange,\n divider,\n ...other\n } = props;\n\n const [current, setCurrent] = useState(currentNumber);\n useEffect(() => setCurrent(currentNumber), [currentNumber]);\n\n const cls = [prefixCls, className, divider ? 'divider' : null, size].filter(Boolean).join(' ').trim();\n\n const initPageSoure = useMemo(() => {\n const data: PaginationItemSourceData[] = [{ type: 'prev', disabled: current === 1 }];\n const count = Math.ceil(total / pageSize);\n const itemCount = count <= 5 ? count : 5;\n let num = 0;\n let basic = 0;\n if (current > 3 && count > 5) {\n data.push({ label: 1 });\n }\n if (current > 4 && count > 6) {\n data.push({ type: 'jumpPrev', label: '•••', goto: 5 });\n }\n while (num < itemCount) {\n num += 1;\n if (current > 3 && count > 5) {\n basic = current - 3;\n }\n let label = num + basic;\n if (count - current === 0 && count > 5) {\n label -= 2;\n }\n if (count - current === 1 && count > 5) {\n label -= 1;\n }\n if (label <= count) {\n data.push({ label, active: current === label });\n }\n }\n if (current + 3 < count && count > 6) {\n data.push({ type: 'jumpNext', label: '•••', goto: 5 });\n }\n if (current + 2 < count && count > 5) {\n data.push({ label: count });\n }\n data.push({ type: 'next', disabled: current === count });\n return data;\n // return [\n // { type: 'prev', disabled: true },\n // { type: 'jumpPrev', label: '•••', goto: 5 },\n // { label: 1 },\n // { label: 2, active: true },\n // { label: 3 },\n // { label: 4 },\n // { type: 'jumpPrev', label: '•••', goto: 5 },\n // { type: 'next' },\n // ];\n }, [current, total, pageSize]);\n\n function handleClick(item: PaginationItemSourceData) {\n if (item.active || item.disabled) {\n return;\n }\n const count = Math.ceil(total / pageSize);\n const state = {} as PaginationState;\n if (item.label) {\n state.current = item.label as number;\n }\n if (item.type === 'prev') {\n state.current = current - 1 > 0 ? current - 1 : 1;\n }\n if (item.type === 'next') {\n state.current = current + 1 <= count ? current + 1 : count;\n }\n if (/^(jumpPrev|jumpNext)/.test(item.type as string) && item.goto) {\n state.current = item.type === 'jumpPrev' ? current - item.goto : current + item.goto;\n if (state.current > count) {\n state.current = count;\n }\n if (state.current < 1) {\n state.current = 1;\n }\n }\n\n setCurrent(state.current);\n onChange && onChange(state.current, total as number, pageSize as number);\n }\n\n const onSizeChange: React.ChangeEventHandler = (e) => {\n const sizeCount: number = Number(e.target.value);\n const count = Math.ceil(total / sizeCount);\n const newCurrent: number = current > count ? count : current;\n onShowSizeChange && onShowSizeChange(newCurrent, sizeCount);\n };\n\n return (\n \n );\n}\n","import React from 'react';\nimport OverlayTrigger, { OverlayTriggerProps } from '@uiw/react-overlay-trigger';\nimport Confirm from './Confirm';\nimport './style/index.less';\n\nexport interface PopoverProps extends OverlayTriggerProps {\n content?: React.ReactNode;\n visibleArrow?: boolean;\n}\n\nexport default class Popover extends React.Component {\n static Confirm = Confirm;\n public static defaultProps: PopoverProps = {\n prefixCls: 'w-popover',\n placement: 'top',\n usePortal: true,\n isOpen: false,\n visibleArrow: true,\n };\n renderArrow = () => {\n const { prefixCls } = this.props;\n return (\n
    \n \n \n \n \n
    \n );\n };\n render() {\n const { prefixCls, className, content, visibleArrow, ...other } = this.props;\n const cls = [prefixCls, className, !visibleArrow ? 'no-arrow' : null].filter(Boolean).join(' ').trim();\n return (\n \n {visibleArrow && this.renderArrow()}\n
    {this.props.content}
    \n \n }\n >\n {typeof this.props.children === 'object' && (this.props.children as JSX.Element).type.name !== 'Icon' ? (\n this.props.children\n ) : (\n {this.props.children}\n )}\n \n );\n }\n}\n","import React, { useState } from 'react';\nimport Popover, { PopoverProps } from './';\nimport './style/index.less';\nimport Button from '@uiw/react-button';\nimport Icon from '@uiw/react-icon';\n\ninterface Confirm {\n trigger?: PopoverProps['trigger'];\n placement?: PopoverProps['placement'];\n children?: React.ReactNode;\n visibleArrow?: PopoverProps['visibleArrow'];\n onConfirm?: () => void;\n confirmText?: string;\n title?: React.ReactNode;\n cancelText?: string;\n}\n\nexport default function Confirm(props: Confirm) {\n const {\n trigger = 'click',\n placement = 'top',\n confirmText = 'Yes',\n title,\n cancelText = 'No',\n visibleArrow,\n children,\n onConfirm,\n } = props;\n const [isOpen, setIsOpen] = useState(false);\n return (\n \n \n
    \n
    {title}
    \n
    \n \n {\n onConfirm?.();\n setIsOpen(false);\n }}\n >\n {confirmText}\n \n
    \n
    \n \n }\n trigger={trigger}\n placement={placement}\n >\n
    setIsOpen(true)}>{children}
    \n \n );\n}\n","import React, { useEffect, useRef } from 'react';\nimport ReactDOM from 'react-dom';\n\nexport const canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nexport interface PortalProps {\n children?: React.ReactNode;\n /**\n * The HTML element that children will be mounted to.\n * @default document.body\n */\n container?: HTMLElement;\n /**\n * Callback invoked when the children of this `Portal` have been added to the DOM.\n * @deprecated v4.9.0+\n */\n onChildrenMount?: (portalElement: HTMLElement) => void;\n /** @deprecated v4.9.0+ */\n visible?: boolean;\n}\n\nexport default function Portal(props: PortalProps) {\n const { container } = props;\n const defaultNode = useRef();\n const containerRef = useRef(container);\n\n useEffect(() => {\n return () => {\n if (defaultNode.current && containerRef.current) {\n containerRef.current.removeChild(defaultNode.current);\n defaultNode.current = undefined;\n }\n };\n }, []);\n\n if (!canUseDOM) {\n return null;\n }\n if (!containerRef.current) {\n containerRef.current = document.body;\n }\n if (!defaultNode.current) {\n defaultNode.current = document.createElement('div');\n containerRef.current.appendChild(defaultNode.current);\n }\n return ReactDOM.createPortal(props.children, defaultNode.current);\n}\n","import React from 'react';\nimport Icon, { IconProps } from '@uiw/react-icon';\n\nexport function IconProgress(props: { type: IconProps['type'] }): JSX.Element {\n return ;\n}\n","import React from 'react';\nimport { IconProps } from '@uiw/react-icon';\nimport { IProps, HTMLDivProps } from '@uiw/utils';\nimport { IconProgress } from './utils';\nimport './style/index.less';\nimport './style/circle.less';\n\nexport type Status = 'success' | 'active' | 'exception';\n\ntype TagType = React.ComponentType | keyof JSX.IntrinsicElements;\nexport interface ProgressCircleProps extends IProps, HTMLDivProps {\n type?: IconProps['type'];\n status?: Status;\n showText?: boolean; // 是否显示进度条文字内容\n percent?: number; // 百分比(必填)\n width?: number; // 圆圈进度条画布宽度\n strokeWidth?: number; // 进度条大小设置\n format?: (percent: number) => React.ReactNode;\n}\n\nexport default class Circle extends React.Component> {\n public static defaultProps: ProgressCircleProps<'span'> = {\n prefixCls: 'w-progress',\n showText: true,\n percent: 0, // 百分比(必填)\n width: 126, // 圆圈进度条画布宽度\n strokeWidth: 6, // 进度条大小设置\n };\n relativeStrokeWidth(type: 'track' | 'bg' | undefined, elm: SVGPathElement) {\n const { strokeWidth, percent } = this.props;\n if (elm && elm.parentNode) {\n const { width } = (elm.parentNode as SVGAElement).getBoundingClientRect();\n const _strokeWidth: string = (((strokeWidth as number) / width) * 100).toFixed(1);\n const radius = parseInt((50 - parseFloat(_strokeWidth) / 2).toString(), 10);\n elm.setAttribute('stroke-width', _strokeWidth);\n elm.setAttribute(\n 'd',\n `M 50 50 m 0 -${radius} a ${radius} ${radius} 0 1 1 0 ${radius * 2} a ${radius} ${radius} 0 1 1 0 -${\n radius * 2\n }`,\n );\n if (type === 'track') {\n // 计算周长\n const perimeter = 2 * Math.PI * radius;\n elm.setAttribute(\n 'style',\n `stroke-dasharray:${perimeter}px,${perimeter}px;stroke-dashoffset:${\n (1 - (percent as number) / 100) * perimeter\n }px;transition: stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease;`,\n );\n }\n }\n }\n render() {\n const { prefixCls, style, type, className, showText, percent, format, strokeWidth, width, status, ...resetProps } =\n this.props;\n const cls = [\n prefixCls,\n className,\n `${prefixCls}-circle`,\n showText ? `${prefixCls}-show-text` : null,\n status ? `${prefixCls}-status-${status}` : null,\n parseInt((percent as number).toString(), 10) >= 100 ? `${prefixCls}-status-success` : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n let progressInfo;\n const progressStatus =\n parseInt((percent as number).toString(), 10) >= 100 && !('status' in this.props) ? 'success' : status;\n if (showText) {\n let percentView: React.ReactNode = `${percent}%`;\n if (progressStatus === 'exception') {\n percentView = ;\n } else if (progressStatus === 'success') {\n percentView = ;\n }\n progressInfo = (\n \n {format ? format(percent as number) : percentView}\n \n );\n }\n return (\n
    \n \n \n \n \n {progressInfo}\n
    \n );\n }\n}\nexport { Circle };\n","import React from 'react';\nimport { IconProgress } from './utils';\nimport { ProgressCircleProps } from './Circle';\nimport './style/index.less';\nimport './style/line.less';\n\nexport interface ProgressLineProp extends ProgressCircleProps {}\n\nexport default class Line extends React.Component> {\n public static defaultProps: ProgressLineProp<{}> = {\n prefixCls: 'w-progress',\n showText: true, // 是否显示进度条文字内容\n percent: 0, // 百分比(必填)\n width: 126, // 圆圈进度条画布宽度\n strokeWidth: 6, // 进度条大小设置\n };\n render() {\n const { prefixCls, style, className, showText, percent, format, strokeWidth, width, status, ...resetProps } =\n this.props;\n const cls = [\n prefixCls,\n className,\n `${prefixCls}-line`,\n showText ? `${prefixCls}-show-text` : null,\n status ? `${prefixCls}-status-${status}` : null,\n parseInt((percent as number).toString(), 10) >= 100 ? `${prefixCls}-status-success` : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n let progressInfo;\n if (showText) {\n const progressStatus =\n parseInt((percent as number).toString(), 10) >= 100 && !('status' in this.props) ? 'success' : status;\n let percentView: React.ReactNode = `${percent}%`;\n if (progressStatus === 'exception') {\n percentView = ;\n } else if (progressStatus === 'success') {\n percentView = ;\n }\n progressInfo = {format ? format(percent as number) : percentView};\n }\n const percentStyle = {\n width: `${percent}%`,\n height: strokeWidth,\n };\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {progressInfo}\n
    \n );\n }\n}\nexport { Line };\n","import React, { useState, useMemo } from 'react';\nimport { IProps, HTMLInputProps } from '@uiw/utils';\n\n/**\n * Constructs a type by picking all properties from `HTMLInputProps` and then removing `size`.\n * Omit: https://www.typescriptlang.org/docs/handbook/utility-types.html#omittk\n */\nexport interface RadioAbstractProps extends IProps, Omit {\n size?: 'large' | 'default' | 'small';\n checked?: boolean;\n disabled?: boolean;\n onChange?: (even: React.ChangeEvent) => void;\n}\n\nexport const RadioAbstract = React.forwardRef((props, ref) => {\n const {\n prefixCls = 'w-radio',\n type = 'radio',\n disabled = false,\n value = '',\n className,\n style,\n children,\n size,\n checked: prChecked = false,\n onChange,\n ...other\n } = props;\n\n const [checked, setChecked] = useState(prChecked);\n const [prevChecked, setPrevChecked] = useState();\n if (prChecked !== prevChecked) {\n setPrevChecked(prChecked);\n }\n useMemo(() => {\n if (prChecked !== prevChecked) {\n setChecked(prChecked);\n }\n }, [prevChecked]);\n\n const cls = [prefixCls, className, disabled ? 'disabled' : null, size ? `${prefixCls}-${size}` : null]\n .filter(Boolean)\n .join(' ')\n .trim();\n useMemo(() => {\n if (checked !== props.checked) {\n setChecked(!!props.checked);\n }\n }, [props.checked]);\n\n function handleChange(e: React.ChangeEvent) {\n e.persist();\n setChecked(e.target.checked);\n onChange && onChange(e);\n }\n\n const label = children || value;\n return (\n \n );\n});\n","import React from 'react';\nimport { RadioAbstract, RadioAbstractProps } from './RadioAbstract';\nimport './style/index.less';\n\nexport interface RadioProps extends RadioAbstractProps {}\n\nexport const Radio = React.forwardRef((props, ref) => {\n return ;\n});\nexport default Radio;\n","import React from 'react';\nimport { IProps, HTMLDivProps } from '@uiw/utils';\nimport { RadioProps } from './Radio';\nimport ButtonGroup from '@uiw/react-button-group';\nimport './style/group.less';\n\nexport interface RadioGroupProps extends IProps, HTMLDivProps {\n name?: RadioProps['name'];\n value?: RadioProps['value'];\n onChange?: RadioProps['onChange'];\n}\n\nexport const RadioGroup = React.forwardRef((props, ref) => {\n const { prefixCls = 'w-radio-group', className, name, value, onChange, children, ...other } = props;\n return (\n
    \n \n {React.Children.toArray(children).map((child) => {\n if (!child) return;\n if (!React.isValidElement(child)) return child;\n return React.cloneElement(child, {\n ...(child.props || {}),\n ...{\n checked: child.props.value === value,\n name,\n onChange,\n },\n });\n })}\n \n
    \n );\n});\nexport default RadioGroup;\n","import React, { useState, useMemo } from 'react';\nimport { IProps, HTMLDivProps, HTMLSpanProps, noop } from '@uiw/utils';\nimport './style/index.less';\n\nexport interface RateProps extends IProps, Omit {\n value?: number;\n readOnly?: boolean;\n allowHalf?: boolean;\n count?: number;\n color?: string;\n disabled?: boolean;\n character?: React.ReactNode;\n onChange?: (key: number) => void;\n onHoverChange?: (key: number) => void;\n}\n\nexport default function Rate(props: RateProps = {}) {\n const {\n prefixCls = 'w-rate',\n count = 5,\n value: defValue = 0,\n className,\n allowHalf,\n character = '★',\n readOnly = false,\n disabled,\n onChange = noop,\n onHoverChange = noop,\n color,\n ...other\n } = props;\n const [value, setValue] = useState(defValue);\n const [hoverCount, setHoverCount] = useState(-1);\n const cls = [prefixCls, className, disabled ? 'disabled' : null].filter(Boolean).join(' ').trim();\n const [prevValue, setPrevValue] = useState();\n if (defValue !== prevValue) {\n setPrevValue(defValue);\n }\n\n useMemo(() => {\n if (value !== prevValue) {\n setValue(defValue);\n }\n }, [prevValue]);\n\n function onMouseLeave() {\n setHoverCount(-1);\n }\n\n function getValue(e: React.MouseEvent, key: number) {\n e.persist();\n let currentValue = key;\n const isLeft =\n e.clientX - e.currentTarget.getBoundingClientRect().left <= e.currentTarget.getBoundingClientRect().width / 2;\n if (allowHalf) {\n e.persist();\n currentValue = isLeft ? key + 0.5 : key + 1;\n } else {\n currentValue = key + 1;\n }\n return currentValue;\n }\n\n function onMouseMove(e: React.MouseEvent, key: number) {\n const currentValue = getValue(e, key);\n if (hoverCount !== currentValue) {\n setHoverCount(currentValue);\n onHoverChange(currentValue);\n }\n }\n function onClick(e: React.MouseEvent, key: number) {\n if (readOnly) return;\n const currentValue = getValue(e, key);\n setValue(currentValue);\n onChange(currentValue);\n }\n return (\n
    onMouseLeave()}>\n {[...Array(count)].map((_, idx) => {\n const halfon =\n (value <= idx + 0.5 && Math.ceil(value) - 1 === idx && hoverCount === -1) || hoverCount === idx + 0.5;\n const activeCls = [\n `${prefixCls}-hight`,\n idx + 1 <= value && hoverCount === -1 ? 'star-on' : null,\n idx + 1 <= hoverCount ? 'hover-on' : null,\n halfon ? 'half-on' : null,\n ]\n .filter(Boolean)\n .join(' ')\n .trim();\n const props: HTMLSpanProps = {};\n if (!readOnly) {\n props.onClick = (e) => onClick(e, idx);\n props.onMouseMove = (e) => onMouseMove(e, idx);\n }\n return (\n \n \n {character}\n \n {character}\n \n );\n })}\n
    \n );\n}\n","import React, { useMemo } from 'react';\nimport Dropdown, { DropdownProps } from '@uiw/react-dropdown';\nimport Icon from '@uiw/react-icon';\nimport Menu from '@uiw/react-menu';\nimport Input from '@uiw/react-input';\nimport Tag, { TagProps } from '@uiw/react-tag';\nimport { IProps } from '@uiw/utils';\nimport { useState } from 'react';\nimport { useRef } from 'react';\nimport { useEffect } from 'react';\nimport './style/index.less';\n\ntype ValueType = string | number;\n\nconst TagSize = { large: 25, default: 20, small: 17 };\n\nexport interface SearchSelectProps extends IProps, DropdownProps {\n mode?: 'single' | 'multiple';\n size?: 'large' | 'default' | 'small';\n maxTagCount?: number;\n valueAmount?: number;\n labelInValue?: boolean;\n loading?: boolean;\n showSearch?: boolean;\n allowClear?: boolean;\n defaultValue?: ValueType | Array;\n tagProps?: TagProps;\n value?: ValueType | Array;\n option: SearchSelectOptionData[];\n onSelect?: (value: ValueType | Array | Array) => void;\n onSearch?: (value: string) => void;\n onChange?: (value: ValueType | Array | Array) => void;\n}\n\nexport interface SearchSelectOptionData {\n label: string;\n value: string | number;\n [keyName: string]: any;\n}\n\nexport default function SearchSelect(props: SearchSelectProps) {\n const {\n allowClear = false,\n disabled = false,\n valueAmount,\n size = 'default',\n option = [],\n maxTagCount,\n loading = false,\n labelInValue = false,\n prefixCls = 'w-search-select',\n className,\n mode = 'single',\n style,\n isOpen,\n value,\n defaultValue,\n showSearch = false,\n tagProps = {},\n placeholder,\n onSearch,\n onChange,\n onSelect,\n ...others\n } = props;\n\n const cls = [prefixCls, className].filter(Boolean).join(' ').trim();\n const isMultiple = useMemo(() => mode === 'multiple', [mode]);\n const [innerIsOpen, setInnerIsOpen] = useState(false);\n const [selectedValue, setSelectedValue] = useState>([]);\n const [selectedLabel, setSelectedLabel] = useState('');\n const [selectIconType, setSelectIconType] = useState('');\n const inputRef = useRef(null);\n const omitTagCount = useMemo(\n () => (maxTagCount && selectedValue.length > maxTagCount ? selectedValue.length - maxTagCount : 0),\n [selectedValue.length],\n );\n const divRef = useRef(null);\n const tagContentRef = useRef(null);\n const [tagClientWidth, setTagClientWidth] = React.useState(180);\n\n const valueVerify = (value: ValueType | Array | undefined) => {\n return value !== undefined && value !== '';\n };\n\n const valueRef = useRef>();\n valueRef.current = useMemo(() => selectedValue, [selectedValue]);\n\n useEffect(() => {\n if (!valueVerify(value) && valueVerify(defaultValue)) {\n selectedValueChange(defaultValue!);\n }\n }, []);\n\n useEffect(() => {\n if (disabled) {\n setInnerIsOpen(false);\n }\n }, [disabled]);\n\n useEffect(() => {\n if (valueVerify(value)) {\n selectedValueChange(value!);\n } else {\n setSelectedValue([]);\n setSelectedLabel('');\n }\n }, [JSON.stringify(value)]);\n\n const getSelectOption = (option: Array, value: ValueType) => {\n const findResult = option.find((item) => item.value === value);\n return findResult;\n };\n\n function selectedValueChange(\n changeValue: ValueType | Array | SearchSelectOptionData | Array,\n ) {\n let opts: Array = [];\n if (labelInValue) {\n if (Array.isArray(changeValue)) {\n opts = changeValue as Array;\n } else {\n opts.push(changeValue as SearchSelectOptionData);\n }\n } else {\n if (Array.isArray(changeValue)) {\n opts = changeValue.map((v) => getSelectOption(option, v as ValueType)!).filter((m) => !!m);\n } else {\n const findResult = getSelectOption(option, changeValue as ValueType);\n if (findResult) {\n setSelectedLabel(findResult.label);\n opts.push(findResult);\n }\n }\n }\n\n if (!isMultiple && opts.length > 0) setSelectedLabel(opts[0].label || '');\n setSelectedValue(opts.slice(0, valueAmount));\n }\n\n function removeSelectItem(index: number) {\n const selectedValue = valueRef.current as SearchSelectOptionData[];\n selectedValue.splice(index, 1);\n const values = [...selectedValue];\n return values;\n }\n\n const selectedLabelChange = (value: string) => {\n setSelectedLabel(value);\n showSearch && onSearch?.(value);\n };\n\n function handleItemClick(item: SearchSelectOptionData) {\n setInnerIsOpen(false);\n const values = [item];\n setSelectedLabel(item.label);\n const resultValue = item.value;\n handleChange(resultValue, values);\n }\n\n function handleItemsClick(index: number, item?: SearchSelectOptionData) {\n let values: SearchSelectOptionData[] =\n index !== -1\n ? removeSelectItem(index)\n : [...selectedValue.slice(0, valueAmount ? valueAmount - 1 : undefined), item!];\n const resultValue = values.map((item) => item.value);\n handleChange(resultValue, values);\n }\n\n function handleChange(resultValue: ValueType | Array, values: SearchSelectOptionData[]) {\n setSelectedLabel('');\n onSelect && onSelect(resultValue);\n handleSelectChange(resultValue, values); // 支持form组件\n\n value === undefined && setSelectedValue(values); // 如果受控于父组件则不需要内部维护状态\n }\n\n // 渲染icon\n function renderSelectIcon(type: string) {\n let selectIconType;\n if (type === 'enter' && allowClear && (selectedValue.length > 0 || selectedLabel)) {\n selectIconType = 'close';\n } else {\n selectIconType = '';\n }\n setSelectIconType(selectIconType);\n }\n // handle change\n function handleInputChange(value: string) {\n setInnerIsOpen(true);\n setSelectIconType(showSearch && value ? 'loading' : '');\n // setSelectedLabel(value);\n // showSearch && onSearch && onSearch(value);\n selectedLabelChange(value);\n }\n // 清除选中的值\n function resetSelectedValue(e: React.MouseEvent) {\n e.stopPropagation();\n inputRef.current?.focus();\n setSelectedValue([]);\n handleInputChange('');\n setInnerIsOpen(false);\n handleSelectChange('', []);\n }\n function handleSelectChange(value: ValueType | Array, options: Array) {\n if (!onChange) return;\n\n onChange(labelInValue ? options : value);\n }\n\n function inputKeyDown(e: any) {\n if (isMultiple && selectedValue.length > 0 && !selectedLabel && e.keyCode === 8) {\n handleItemsClick(selectedValue.length - 1);\n }\n }\n\n function onVisibleChange(isOpen: boolean) {\n const selectedValue = valueRef.current as SearchSelectOptionData[];\n setInnerIsOpen(isOpen);\n if (!isOpen) selectedLabelChange('');\n if (!isMultiple && selectedValue.length > 0) {\n setSelectedLabel(selectedValue[0].label);\n }\n }\n\n React.useEffect(() => {\n if (tagContentRef.current?.clientWidth) {\n setTagClientWidth(tagContentRef.current?.clientWidth);\n }\n }, [tagContentRef.current]);\n\n return (\n \n {!option || option.length === 0 ? (\n
    {loading ? '正在加载数据...' : '没有数据'}
    \n ) : (\n option.map((item) => {\n const index = selectedValue.findIndex((finds) => finds.value === item.value);\n return (\n (isMultiple ? handleItemsClick(index, item) : handleItemClick(item))}\n />\n );\n })\n )}\n
    \n }\n >\n renderSelectIcon('enter')}\n onMouseLeave={() => renderSelectIcon('leave')}\n onClick={() => inputRef.current?.focus()}\n style={{ width: '100%', maxWidth: 'none', ...style }}\n >\n {isMultiple ? (\n \n \n {isMultiple &&\n selectedValue.slice(0, maxTagCount).map((item, index) => {\n return (\n {\n e.stopPropagation();\n handleItemsClick(index, item);\n }}\n >\n \n {item.label}\n \n
    \n );\n })}\n {!!omitTagCount && (\n \n +{omitTagCount} …{' '}\n \n )}\n handleInputChange(e.target.value)}\n value={selectedLabel}\n placeholder={selectedValue.length ? '' : placeholder}\n />\n \n {!disabled && (selectIconType === 'close' || (selectIconType === 'loading' && loading)) && (\n \n )}\n \n ) : (\n handleInputChange(e.target.value)}\n value={selectedLabel}\n placeholder={placeholder}\n addonAfter={\n !disabled &&\n (selectIconType === 'close' || (selectIconType === 'loading' && loading)) && (\n \n )\n }\n />\n )}\n \n \n );\n}\n","import React, { useMemo, useState, useRef, useEffect, ReactElement } from 'react';\nimport Dropdown, { DropdownProps } from '@uiw/react-dropdown';\nimport Icon from '@uiw/react-icon';\nimport Input from '@uiw/react-input';\nimport Tag, { TagProps } from '@uiw/react-tag';\nimport Card from '@uiw/react-card';\nimport Empty from '@uiw/react-empty';\nimport { IProps } from '@uiw/utils';\nimport './style/index.less';\n\nconst TagSize = { large: 25, default: 20, small: 17 };\n\nexport interface DropContent {\n values: Array;\n onSelected?: (selectedAll: Array, selectd: V, isChecked: boolean) => void;\n options?: Array;\n}\n\nexport interface SearchTagInputOption {\n label: string;\n key: string | number;\n}\n\nexport interface SearchTagInputProps extends IProps, DropdownProps, DropContent {\n allowClear?: boolean;\n content: ReactElement>;\n size?: 'large' | 'default' | 'small';\n onChange: (selectedAll: Array, selectd: V, isChecked: boolean) => void;\n onSearch?: (seachValue: string) => void;\n loading?: boolean;\n placeholder?: string;\n emptyOption?: boolean | React.ReactNode;\n selectCloseDrop?: boolean;\n tagProps?: TagProps;\n}\n\nfunction SearchTagInput(props: SearchTagInputProps) {\n const {\n prefixCls = 'w-search-tree',\n size = 'default',\n disabled = false,\n allowClear = false,\n loading = false,\n selectCloseDrop = false,\n className,\n style,\n placeholder,\n\n tagProps = {},\n content,\n options,\n values,\n onChange,\n onSearch,\n emptyOption,\n // ...others\n } = props;\n\n const cls = [prefixCls, className].filter(Boolean).join(' ').trim();\n const [innerIsOpen, setInnerIsOpen] = useState(false);\n const [selectedOption, setSelectedOption] = useState>(values);\n const optionRef = useRef>();\n const [searchValue, searchValueSet] = useState('');\n optionRef.current = useMemo(() => selectedOption, [selectedOption]);\n const [selectIconType, setSelectIconType] = useState('');\n const inputRef = useRef(null);\n\n useEffect(() => {\n setSelectedOption(values);\n }, [JSON.stringify(values)]);\n\n function renderSelectIcon(type: string) {\n const selectIconType = type === 'enter' && allowClear && (!!selectedOption.length || searchValue) ? 'close' : '';\n setSelectIconType(selectIconType);\n }\n\n const handleSelectChange = (selectedAll: Array, selectd?: V, isChecked: boolean = true) => {\n setSelectedOption(selectedAll);\n\n searchValueChange('');\n onChange?.(selectedAll, selectd!, isChecked);\n };\n\n const removeSelectItem = (index: number) => {\n const selectedOption = optionRef.current as Array;\n const curreentItem = selectedOption[index];\n selectedOption.splice(index, 1);\n handleSelectChange([...selectedOption], curreentItem, false);\n };\n\n function handleInputChange(value: string) {\n setInnerIsOpen(true);\n searchValueChange(value);\n setSelectIconType(value ? 'loading' : '');\n }\n\n const searchValueChange = (value: string) => {\n searchValueSet(value);\n onSearch?.(value);\n };\n\n // 清除选中的值\n function resetSelectedValue(e: any) {\n e.stopPropagation();\n inputRef.current?.focus();\n handleInputChange('');\n setInnerIsOpen(false);\n setSelectedOption([]);\n handleSelectChange([]);\n }\n\n function inputKeyDown(e: any) {\n if (selectedOption.length > 0 && !searchValue && e.keyCode === 8) {\n removeSelectItem(selectedOption.length - 1);\n }\n }\n\n const newContent = useMemo(() => {\n if (emptyOption) {\n return typeof emptyOption === 'boolean' ? : emptyOption;\n }\n\n const newProps = {\n ...content.props,\n onSelected: (selectedAll: Array, selectd?: V, isChecked: boolean = true) => {\n setInnerIsOpen(!selectCloseDrop);\n handleSelectChange(selectedAll, selectd, isChecked);\n },\n values: selectedOption,\n options,\n };\n return React.cloneElement(content as JSX.Element, newProps);\n }, [JSON.parse(JSON.stringify(selectedOption)), options, emptyOption]);\n\n return (\n {\n setInnerIsOpen(isOpen);\n if (!isOpen) searchValueChange('');\n }}\n disabled={disabled}\n isOpen={innerIsOpen}\n menu={{newContent}}\n >\n renderSelectIcon('enter')}\n onMouseLeave={() => renderSelectIcon('leave')}\n onClick={() => inputRef.current?.focus()}\n style={{ minWidth: style?.width || 200, maxWidth: 'none', ...style }}\n >\n
    \n
    \n {selectedOption.map((item, index) => {\n return (\n {\n e.stopPropagation();\n removeSelectItem(index);\n }}\n >\n {item.label}\n \n );\n })}\n ) => handleInputChange(e.target.value)}\n value={searchValue}\n placeholder={selectedOption.length ? '' : placeholder}\n />\n
    \n {!disabled && (\n \n {(selectIconType === 'close' || (selectIconType === 'loading' && loading)) && (\n \n )}\n \n )}\n
    \n \n \n );\n}\n\nexport default SearchTagInput;\n","import React, { useState, useEffect } from 'react';\nimport SearchTagInput, { DropContent, SearchTagInputOption } from './SearchTagInput';\nimport Tree, { TreeData, TreeProps } from '@uiw/react-tree';\nimport TreeChecked, { TreeCheckedProps } from '@uiw/react-tree-checked';\n\ntype SelectOtpion = Record;\n\n// type TreeCheckedsProps = TreeCheckedProps & Partial>\nfunction TreeCheckeds(\n props: Omit & Partial>,\n) {\n const [selectOption, selectOptionSet] = useState({});\n const [keys, keysSet] = useState>([]);\n\n useEffect(() => {\n let selectOption: SelectOtpion = {};\n const keys = props.values?.map((opt) => {\n selectOption[opt.key] = opt.label;\n return opt.key;\n });\n selectOptionSet(selectOption);\n keysSet(keys || []);\n }, [props.values]);\n\n const onSelected = (_: any, item: any, isChecked: boolean, evn: TreeData) => {\n const curSelectOption: SelectOtpion = getOptionsRecursion([evn], selectOption, isChecked);\n let isNumberKey = false;\n if (typeof item === 'number') isNumberKey = true;\n const option = Object.entries(curSelectOption).map(\n ([key, label]) => ({ key: isNumberKey ? Number.parseInt(key) : key, label } as V),\n );\n props.onSelected?.(option, { key: evn.key, label: evn.label as string } as V, isChecked);\n };\n\n const getOptionsRecursion = (childrens: TreeData[], selectOption: SelectOtpion, isAdd: boolean) => {\n const addOrDel = (key: string | number, label: string, isAdd: boolean) => {\n if (isAdd) {\n selectOption[key] = label;\n } else {\n delete selectOption[key!];\n }\n };\n const iteratorParent = (child: TreeData) => {\n // 向上迭代\n if (child.parent) {\n const selectCount = child.parent.children.filter((child: TreeData) => !selectOption[child.key!]).length;\n addOrDel(child.parent.key, child.parent.label, selectCount === 0);\n iteratorParent(child.parent);\n }\n };\n\n childrens.forEach((child: TreeData) => {\n if (!!child.children?.length) {\n selectOption = getOptionsRecursion(child.children, selectOption, isAdd);\n }\n addOrDel(child.key!, child.label?.toString()!, isAdd);\n iteratorParent(child);\n });\n return selectOption;\n };\n\n return (\n \n );\n}\n\nfunction SingeTree(props: Omit & Partial>) {\n const [keys, keysSet] = useState>([]);\n\n useEffect(() => {\n const keys: Array = [];\n if (props.values?.length) keys[0] = props.values[0].key;\n keysSet(keys);\n }, [props.values]);\n\n const onSelected = (_1: any, _2: any, isChecked: boolean, evn: TreeData) => {\n const { key, label } = evn;\n const cur = { key, label } as V;\n props.onSelected?.(isChecked ? [cur] : [], cur, isChecked);\n };\n\n return (\n \n );\n}\n\nexport interface SearchTreeProps {\n onChange?: (selectd: V, selectedAll: Array, isChecked: boolean) => void;\n onSearch?: (seachValue: string) => void;\n value?: Array;\n options?: TreeData[];\n treeProps?: Omit & Partial>;\n emptyOption?: React.ReactNode;\n multiple?: boolean;\n}\n\nfunction SearchTree(props: SearchTreeProps) {\n const {\n onChange,\n onSearch,\n multiple = true,\n options = [],\n value = [],\n emptyOption = !options.length,\n treeProps,\n ...other\n } = props;\n const [selectedValues, selectedValuesSet] = useState>(Array.isArray(value) ? value : [value]);\n const [selectedOptions, selectedOptionSet] = useState>(options);\n const [isEmpty, isEmptySet] = useState(emptyOption);\n\n useEffect(() => {\n selectedValuesSet(Array.isArray(value) ? value : []);\n }, [JSON.stringify(value)]);\n\n const selectedChange = (resultValue: Array, cur: V, isChecked: boolean) => {\n selectedValuesSet(resultValue);\n onChange?.(cur, resultValue, isChecked);\n };\n\n // 防抖\n const debounce = (fn: Function, ms: number) => {\n let timeoutId: NodeJS.Timeout;\n return (searchValue: string) => {\n onSearch?.(searchValue);\n clearTimeout(timeoutId);\n timeoutId = setTimeout(() => {\n fn(searchValue);\n }, ms);\n };\n };\n\n const selectedSearch = (searchValue: string) => {\n const hiddenNodeForSeach = (childrens: TreeData[], parentIsHide: boolean = true) => {\n childrens.forEach((child: TreeData) => {\n const isHide = !(child.label as string).includes(searchValue.trim()) && parentIsHide;\n if (!!child.children?.length) {\n hiddenNodeForSeach(child.children, isHide);\n const find = child.children.find((item) => !item.hideNode);\n child.hideNode = isHide && !find;\n } else {\n child.hideNode = isHide;\n }\n });\n };\n hiddenNodeForSeach(options);\n selectedOptionSet([...options]);\n\n let isEmpt = true;\n options.forEach((opt) => (isEmpt = isEmpt && !!opt.hideNode));\n isEmptySet(typeof emptyOption === 'boolean' && isEmpt ? isEmpt : emptyOption);\n };\n\n return (\n : }\n />\n );\n}\n\nexport default SearchTree;\n","import React from 'react';\n\nexport default React.forwardRef>((props, ref) => (\n