@unicom-cloud/ui 0.8.83 → 0.8.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Affix.js +1 -1
- package/Alert.js +1 -1
- package/AutoComplete.js +2 -2
- package/BackTop.js +2 -2
- package/Badge.js +1 -1
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +4 -4
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +2 -2
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Copy.js +1 -1
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Development.js +8 -0
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +2 -4
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/Input.js +8 -9
- package/InputNumber.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/List.js +2 -2
- package/Mentions.js +2 -2
- package/Menu.js +1 -1
- package/Message.js +1 -1
- package/Modal.js +1 -1
- package/Notice.js +1 -1
- package/Notification.js +1 -1
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Pagination.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/Select.js +1 -1
- package/Skeleton.js +1 -1
- package/Slider.js +1 -1
- package/Space.js +1 -1
- package/SpeechSynthesis.js +2 -44
- package/Spin.js +1 -1
- package/Statistic.js +2 -2
- package/Steps.js +1 -1
- package/Switch.js +1 -1
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +1 -1
- package/Transfer.js +2 -2
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +1 -1
- package/Typography.js +1 -1
- package/affix/index.js +1 -1
- package/alert/index.js +1 -1
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/anchor/util.js +1 -1
- package/auto-complete/index.js +2 -2
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +9 -9
- package/badge/index.js +1 -1
- package/breadcrumb/index.js +2 -2
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/Month.js +2 -2
- package/calendar/Year.js +11 -11
- package/calendar/index.js +4 -4
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +1 -1
- package/cascader/Cascader.js +2 -2
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +2 -2
- package/checkbox/Group.js +2 -2
- package/checkbox/GroupBlock.js +2 -2
- package/checkbox/index.js +2 -2
- package/chunk/{R-uQJib2.js → B1kymbJZ.js} +2 -2
- package/chunk/B44Hj5ad.js +697 -0
- package/chunk/{BZ9g7J4R.js → BC2OXILt.js} +1 -1
- package/chunk/{ev6oHWqY.js → BJjotfW6.js} +1 -1
- package/chunk/{uKZyjtff.js → BNevupAU.js} +4 -5
- package/chunk/BRPQJFSI.js +649 -0
- package/chunk/{CVSWh4ZZ.js → BZJwzdhZ.js} +1 -1
- package/chunk/C7bohPVD.js +185 -0
- package/chunk/{BmulTYLW.js → DO3k0z6J.js} +2802 -2791
- package/chunk/Doi4-DdV.js +1472 -0
- package/chunk/{DdJVL_4g.js → DuWBv5j3.js} +1 -1
- package/chunk/{DSRHFFrc.js → DzekwbB4.js} +1 -1
- package/collapse/Collapse.js +2 -2
- package/collapse/Item.js +2 -2
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +1 -1
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +4 -4
- package/color-picker/InputRgb.js +3 -3
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +2 -2
- package/color-picker/index.js +2 -2
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +2 -2
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +1 -1
- package/date-picker/Picker.js +2 -2
- package/date-picker/RangePicker.js +3 -3
- package/date-picker/index.js +1 -1
- package/date-picker/util.js +1 -1
- package/descriptions/index.js +1 -1
- package/development/index.js +42 -0
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +153 -152
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +1 -1
- package/empty/index.js +2 -4
- package/form/Form.js +1 -1
- package/form/FormItem.js +1 -1
- package/form/context.js +1 -1
- package/grid/Col.js +1 -1
- package/grid/Row.js +1 -1
- package/grid/grid-item.js +1 -1
- package/grid/grid.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/image/Image.js +2 -2
- package/image/ImagePreview.js +2 -2
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +310 -308
- package/input/Button.js +1 -1
- package/input/Group.js +1 -1
- package/input/Input.js +332 -330
- package/input/InputElement.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +1 -1
- package/input/index.js +7 -8
- package/input-number/index.js +1 -1
- package/input-tag/InputTag.js +1 -1
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +2 -2
- package/mentions/index.js +2 -2
- package/menu/Menu.js +2 -2
- package/menu/OverflowWrap.js +1 -1
- package/menu/index.js +2 -2
- package/message/index.js +1 -1
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +2 -2
- package/modal/index.js +1 -1
- package/notice/index.js +1 -1
- package/notification/index.js +1 -1
- package/notification/useNotification.js +1 -1
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +1 -1
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +4 -4
- package/pagination/PageOption.js +2 -2
- package/pagination/Pagination.js +2 -2
- package/pagination/index.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/index.js +1 -1
- package/progress/index.js +1 -1
- package/radio/Group.js +2 -2
- package/radio/GroupBlock.js +2 -2
- package/radio/Radio.js +2 -2
- package/radio/index.js +2 -2
- package/rate/index.js +1 -1
- package/resize-box/ResizeTrigger.js +1 -1
- package/resize-box/Split.js +1 -1
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/index.js +1 -1
- package/result/index.js +1 -1
- package/select/Option.js +1 -1
- package/select/Select.js +2 -2
- package/select/index.js +2 -2
- package/select/util.js +1 -1
- package/select-view/Core.js +77 -77
- package/skeleton/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/index.js +59 -59
- package/space/index.js +1 -1
- package/speech-synthesis/index.js +41 -83
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/statistic/Countdown.js +2 -2
- package/statistic/index.js +18 -18
- package/steps/index.js +1 -1
- package/style.css +1 -1
- package/switch/index.js +1 -1
- package/table/Table.js +3 -3
- package/table/index.js +1 -1
- package/tabs/Tab.js +2 -2
- package/tabs/TabContent.js +2 -2
- package/tabs/TabPane.js +1 -1
- package/tabs/index.js +2 -2
- package/tag/index.js +1 -1
- package/time-picker/Picker.js +92 -90
- package/time-picker/RangePicker.js +1 -1
- package/time-picker/TimePicker.js +2 -2
- package/time-picker/util.js +6 -6
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/tooltip/index.js +1 -1
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +2 -2
- package/tree/Animation.js +2 -2
- package/tree/Node.js +2 -2
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +2 -2
- package/tree/index.js +1 -1
- package/tree/util.js +34 -34
- package/tree-select/List.js +1 -1
- package/tree-select/Select.js +2 -2
- package/tree-select/index.js +2 -2
- package/trigger/index.js +1 -1
- package/types/common/assets/hourglass.d.ts +2 -0
- package/types/common/development/index.d.ts +2 -0
- package/types/common/empty/index.d.ts +4 -0
- package/types/common/empty/interface.d.ts +24 -0
- package/types/common/higher-order/with-speech-synthesis/index.d.ts +2 -0
- package/types/common/hooks/useComputedState.d.ts +4 -0
- package/types/common/hooks/useCreate.d.ts +2 -0
- package/types/common/hooks/useForceUpdate.d.ts +16 -0
- package/types/common/hooks/useId.d.ts +6 -0
- package/types/common/hooks/useInView.d.ts +11 -0
- package/types/common/hooks/useIntersectionObserver.d.ts +7 -0
- package/types/common/hooks/useInterval.d.ts +2 -0
- package/types/common/hooks/useIsFirstRender.d.ts +2 -0
- package/types/common/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
- package/types/common/hooks/useKeyboardEvent.d.ts +8 -0
- package/types/common/hooks/useListenResize.d.ts +18 -0
- package/types/common/hooks/useMedia.d.ts +2 -0
- package/types/common/hooks/useMergeProps.d.ts +5 -0
- package/types/common/hooks/useMergeValue.d.ts +6 -0
- package/types/common/hooks/useOnlineStatus.d.ts +2 -0
- package/types/common/hooks/useOverflowHidden.d.ts +5 -0
- package/types/common/hooks/useOverrideRef.d.ts +6 -0
- package/types/common/hooks/usePersistCallback.d.ts +2 -0
- package/types/common/hooks/usePrefersColorSchemeDark.d.ts +2 -0
- package/types/common/hooks/usePrevious.d.ts +3 -0
- package/types/common/hooks/useRefs.d.ts +2 -0
- package/types/common/hooks/useResizeObserver.d.ts +6 -0
- package/types/common/hooks/useStateCallback.d.ts +5 -0
- package/types/common/hooks/useStateWithPromise.d.ts +2 -0
- package/types/common/hooks/useUpdateEffect.d.ts +19 -0
- package/types/common/hooks/useWatch.d.ts +3 -0
- package/types/common/hooks/useWindowSize.d.ts +18 -0
- package/types/common/utils/PqbCSSTransition.d.ts +4 -0
- package/types/common/utils/caseName.d.ts +1 -0
- package/types/common/utils/className.d.ts +1 -0
- package/types/common/utils/constant.d.ts +2 -0
- package/types/{utils → common/utils}/copy.d.ts +1 -1
- package/types/common/utils/dayjs.d.ts +22 -0
- package/types/common/utils/dom.d.ts +12 -0
- package/types/common/utils/fileToURL.d.ts +1 -0
- package/types/common/utils/fillNBSP.d.ts +3 -0
- package/types/common/utils/getHighlightText.d.ts +7 -0
- package/types/common/utils/getHotkeyHandler.d.ts +18 -0
- package/types/common/utils/getStringLength.d.ts +3 -0
- package/types/common/utils/include.d.ts +3 -0
- package/types/common/utils/is.d.ts +17 -0
- package/types/common/utils/lodash.d.ts +17 -0
- package/types/common/utils/mergeProps.d.ts +3 -0
- package/types/common/utils/mergedToString.d.ts +4 -0
- package/types/common/utils/omit.d.ts +3 -0
- package/types/common/utils/pad.d.ts +2 -0
- package/types/common/utils/pick.d.ts +6 -0
- package/types/common/utils/react19Adapter.d.ts +1 -0
- package/types/common/utils/reactDOM.d.ts +14 -0
- package/types/common/utils/resizeObserverEffect.d.ts +2 -0
- package/types/common/utils/saveAs.d.ts +1 -0
- package/types/common/utils/screenfull.d.ts +1 -0
- package/types/common/utils/scrollIntoView.d.ts +4 -0
- package/types/common/utils/style.d.ts +3 -0
- package/types/common/utils/throttleByRaf.d.ts +6 -0
- package/types/common/utils/warning.d.ts +3 -0
- package/types/pc/affix/interface.d.ts +52 -0
- package/types/pc/alert/interface.d.ts +66 -0
- package/types/pc/anchor/interface.d.ts +105 -0
- package/types/{anchor → pc/anchor}/util.d.ts +1 -1
- package/types/pc/auto-complete/interface.d.ts +127 -0
- package/types/pc/avatar/interface.d.ts +95 -0
- package/types/pc/back-top/interface.d.ts +42 -0
- package/types/pc/badge/interface.d.ts +66 -0
- package/types/pc/breadcrumb/interface.d.ts +78 -0
- package/types/{button → pc/button}/index.d.ts +2 -2
- package/types/pc/button/interface.d.ts +115 -0
- package/types/pc/calendar/hook/useCellClassName.d.ts +2 -0
- package/types/pc/calendar/interface.d.ts +122 -0
- package/types/pc/card/interface.d.ts +99 -0
- package/types/pc/carousel/interface.d.ts +144 -0
- package/types/{cascader → pc/cascader}/base/node.d.ts +30 -0
- package/types/{cascader → pc/cascader}/base/store.d.ts +17 -0
- package/types/pc/cascader/interface.d.ts +308 -0
- package/types/pc/checkbox/interface.d.ts +102 -0
- package/types/{checkbox → pc/checkbox}/useCheckbox.d.ts +9 -0
- package/types/pc/collapse/interface.d.ts +111 -0
- package/types/{color-picker → pc/color-picker}/hooks/useColorPicker.d.ts +2 -2
- package/types/pc/color-picker/interface.d.ts +149 -0
- package/types/pc/comment/interface.d.ts +41 -0
- package/types/{config-provider → pc/config-provider}/interface.d.ts +71 -0
- package/types/pc/date-picker/RangePicker.d.ts +3 -0
- package/types/pc/date-picker/hook/useCellClassName.d.ts +2 -0
- package/types/pc/date-picker/interface.d.ts +518 -0
- package/types/pc/descriptions/interface.d.ts +79 -0
- package/types/pc/development/index.d.ts +2 -0
- package/types/pc/divider/interface.d.ts +21 -0
- package/types/{draggable → pc/draggable}/interface.d.ts +2 -0
- package/types/pc/drawer/interface.d.ts +181 -0
- package/types/pc/dropdown/interface.d.ts +110 -0
- package/types/pc/empty/index.d.ts +4 -0
- package/types/pc/empty/interface.d.ts +8 -0
- package/types/{form → pc/form}/Control.d.ts +8 -0
- package/types/{form → pc/form}/hook/useContext.d.ts +3 -0
- package/types/pc/form/interface.d.ts +544 -0
- package/types/{form → pc/form}/store.d.ts +10 -0
- package/types/pc/grid/interface.d.ts +239 -0
- package/types/{hooks → pc/hooks}/use-verification-code/interface.d.ts +41 -0
- package/types/pc/hooks/use-watermark/interface.d.ts +81 -0
- package/types/pc/hooks/useComputedState.d.ts +1 -0
- package/types/pc/hooks/useCreate.d.ts +1 -0
- package/types/pc/hooks/useForceUpdate.d.ts +1 -0
- package/types/pc/hooks/useId.d.ts +1 -0
- package/types/pc/hooks/useInView.d.ts +1 -0
- package/types/pc/hooks/useIntersectionObserver.d.ts +1 -0
- package/types/pc/hooks/useInterval.d.ts +1 -0
- package/types/pc/hooks/useIsFirstRender.d.ts +1 -0
- package/types/pc/hooks/useIsomorphicLayoutEffect.d.ts +1 -0
- package/types/pc/hooks/useKeyboardEvent.d.ts +1 -0
- package/types/pc/hooks/useListenResize.d.ts +1 -0
- package/types/pc/hooks/useMedia.d.ts +1 -0
- package/types/pc/hooks/useMergeProps.d.ts +2 -0
- package/types/pc/hooks/useMergeValue.d.ts +1 -0
- package/types/pc/hooks/useOnlineStatus.d.ts +1 -0
- package/types/pc/hooks/useOverflowHidden.d.ts +1 -0
- package/types/pc/hooks/useOverrideRef.d.ts +1 -0
- package/types/pc/hooks/usePersistCallback.d.ts +1 -0
- package/types/pc/hooks/usePrefersColorSchemeDark.d.ts +1 -0
- package/types/pc/hooks/usePrevious.d.ts +1 -0
- package/types/pc/hooks/useRefs.d.ts +1 -0
- package/types/pc/hooks/useResizeObserver.d.ts +1 -0
- package/types/pc/hooks/useStateCallback.d.ts +1 -0
- package/types/pc/hooks/useStateWithPromise.d.ts +1 -0
- package/types/pc/hooks/useUpdateEffect.d.ts +1 -0
- package/types/pc/hooks/useWatch.d.ts +1 -0
- package/types/pc/hooks/useWindowSize.d.ts +1 -0
- package/types/pc/image/interface.d.ts +275 -0
- package/types/{index.d.ts → pc/index.d.ts} +1 -0
- package/types/{input → pc/input}/Input.d.ts +7 -8
- package/types/{input → pc/input}/Textarea.d.ts +3 -0
- package/types/{input → pc/input}/index.d.ts +2 -2
- package/types/pc/input/interface.d.ts +344 -0
- package/types/{input-number → pc/input-number}/decimal.d.ts +5 -0
- package/types/pc/input-number/interface.d.ts +141 -0
- package/types/{input-number → pc/input-number}/util.d.ts +15 -0
- package/types/pc/input-tag/interface.d.ts +215 -0
- package/types/pc/layout/interface.d.ts +121 -0
- package/types/pc/link/interface.d.ts +30 -0
- package/types/pc/list/interface.d.ts +192 -0
- package/types/pc/mentions/interface.d.ts +92 -0
- package/types/{menu → pc/menu}/context.d.ts +1 -1
- package/types/pc/menu/interface.d.ts +233 -0
- package/types/pc/message/interface.d.ts +84 -0
- package/types/pc/modal/interface.d.ts +186 -0
- package/types/pc/notification/interface.d.ts +78 -0
- package/types/pc/page-header/interface.d.ts +49 -0
- package/types/{pagination → pc/pagination}/PageItem.d.ts +11 -0
- package/types/pc/pagination/interface.d.ts +134 -0
- package/types/pc/popconfirm/interface.d.ts +114 -0
- package/types/{popover → pc/popover}/interface.d.ts +12 -0
- package/types/{portal → pc/portal}/Portal.d.ts +1 -0
- package/types/{portal → pc/portal}/index.d.ts +1 -0
- package/types/pc/progress/interface.d.ts +92 -0
- package/types/pc/radio/interface.d.ts +103 -0
- package/types/pc/rate/interface.d.ts +70 -0
- package/types/{resize-box → pc/resize-box}/ResizeTrigger.d.ts +6 -0
- package/types/pc/resize-box/interface.d.ts +264 -0
- package/types/pc/result/interface.d.ts +35 -0
- package/types/pc/select/interface.d.ts +321 -0
- package/types/{select → pc/select}/util.d.ts +2 -1
- package/types/pc/select-view/interface.d.ts +151 -0
- package/types/{skeleton → pc/skeleton}/interface.d.ts +26 -0
- package/types/pc/slider/interface.d.ts +122 -0
- package/types/pc/space/interface.d.ts +38 -0
- package/types/pc/spin/interface.d.ts +50 -0
- package/types/pc/statistic/interface.d.ts +139 -0
- package/types/pc/steps/interface.d.ts +124 -0
- package/types/pc/switch/interface.d.ts +65 -0
- package/types/{table → pc/table}/hook/useThResizable.d.ts +1 -1
- package/types/pc/table/interface.d.ts +713 -0
- package/types/pc/tabs/interface.d.ts +217 -0
- package/types/pc/tag/interface.d.ts +76 -0
- package/types/pc/time-picker/interface.d.ts +244 -0
- package/types/pc/timeline/interface.d.ts +95 -0
- package/types/pc/tooltip/interface.d.ts +92 -0
- package/types/pc/transfer/interface.d.ts +225 -0
- package/types/pc/tree/interface.d.ts +354 -0
- package/types/pc/tree-select/interface.d.ts +211 -0
- package/types/pc/trigger/interface.d.ts +247 -0
- package/types/pc/typography/interface.d.ts +262 -0
- package/types/pc/upload/interface.d.ts +337 -0
- package/types/pc/utils/PqbCSSTransition.d.ts +3 -0
- package/types/pc/utils/caseName.d.ts +3 -0
- package/types/pc/utils/className.d.ts +3 -0
- package/types/pc/utils/constant.d.ts +4 -0
- package/types/pc/utils/copy.d.ts +3 -0
- package/types/{utils → pc/utils}/dayjs.d.ts +1 -1
- package/types/{utils → pc/utils}/dom.d.ts +1 -1
- package/types/pc/utils/fileToURL.d.ts +3 -0
- package/types/pc/utils/fillNBSP.d.ts +3 -0
- package/types/pc/utils/getHighlightText.d.ts +3 -0
- package/types/pc/utils/getHotkeyHandler.d.ts +4 -0
- package/types/pc/utils/getStringLength.d.ts +3 -0
- package/types/pc/utils/include.d.ts +3 -0
- package/types/{utils → pc/utils}/is.d.ts +1 -1
- package/types/pc/utils/keyboardCode.d.ts +4 -0
- package/types/{utils → pc/utils}/lodash.d.ts +1 -1
- package/types/pc/utils/mergeProps.d.ts +3 -0
- package/types/pc/utils/mergedToString.d.ts +3 -0
- package/types/{utils → pc/utils}/names.d.ts +6 -0
- package/types/pc/utils/omit.d.ts +3 -0
- package/types/pc/utils/pad.d.ts +1 -0
- package/types/pc/utils/pick.d.ts +3 -0
- package/types/pc/utils/react19Adapter.d.ts +1 -0
- package/types/pc/utils/reactDOM.d.ts +1 -0
- package/types/pc/utils/resizeObserverEffect.d.ts +2 -0
- package/types/pc/utils/saveAs.d.ts +3 -0
- package/types/pc/utils/screenfull.d.ts +3 -0
- package/types/{utils → pc/utils}/scrollIntoView.d.ts +1 -1
- package/types/pc/utils/setDarkTheme.d.ts +3 -0
- package/types/pc/utils/setPrimaryColor.d.ts +2 -0
- package/types/pc/utils/setTheme.d.ts +2 -0
- package/types/pc/utils/style.d.ts +1 -0
- package/types/pc/utils/throttleByRaf.d.ts +1 -0
- package/types/pc/utils/throttleByRaf2.d.ts +1 -0
- package/types/pc/utils/tinycolor.d.ts +1 -0
- package/types/pc/utils/type.d.ts +1 -0
- package/types/pc/utils/warning.d.ts +1 -0
- package/types/pc/verification-code/interface.d.ts +80 -0
- package/types/{virtual-list → pc/virtual-list}/Filler.d.ts +5 -0
- package/types/{virtual-list → pc/virtual-list}/VirtualList.d.ts +1 -0
- package/types/pc/virtual-list/util/algorithm.d.ts +23 -0
- package/types/{virtual-list → pc/virtual-list}/util/item.d.ts +31 -0
- package/types/pc/watermark/interface.d.ts +70 -0
- package/typography/Base.js +1 -1
- package/typography/Ellipsis.js +9 -9
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +1 -1
- package/upload/request.js +1 -1
- package/upload/request_.js +1 -1
- package/utils/constant.js +5 -5
- package/utils/contextHolder.js +1 -1
- package/utils/dayjs.js +1 -1
- package/utils/index.js +20 -20
- package/utils/names.js +4 -0
- package/utils/setPrimaryColor.js +14 -14
- package/utils/setTheme.js +3 -3
- package/utils/tween.js +1 -1
- package/utils/type.js +1 -4
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/chunk/C9oo3EJI.js +0 -692
- package/chunk/DILUZgXW.js +0 -1464
- package/chunk/DlHiTTJO.js +0 -648
- package/chunk/tamGhTJp.js +0 -186
- package/types/affix/interface.d.ts +0 -12
- package/types/affix/style/index.d.ts +0 -2
- package/types/alert/interface.d.ts +0 -17
- package/types/alert/style/index.d.ts +0 -2
- package/types/anchor/interface.d.ts +0 -24
- package/types/anchor/style/index.d.ts +0 -3
- package/types/auto-complete/interface.d.ts +0 -36
- package/types/auto-complete/style/index.d.ts +0 -4
- package/types/avatar/interface.d.ts +0 -24
- package/types/avatar/style/index.d.ts +0 -3
- package/types/back-top/interface.d.ts +0 -11
- package/types/back-top/style/index.d.ts +0 -2
- package/types/badge/interface.d.ts +0 -18
- package/types/badge/style/index.d.ts +0 -2
- package/types/breadcrumb/interface.d.ts +0 -31
- package/types/breadcrumb/style/index.d.ts +0 -3
- package/types/button/interface.d.ts +0 -37
- package/types/button/style/index.d.ts +0 -2
- package/types/calendar/hook/useCellClassName.d.ts +0 -2
- package/types/calendar/interface.d.ts +0 -41
- package/types/calendar/style/index.d.ts +0 -4
- package/types/card/interface.d.ts +0 -32
- package/types/card/style/index.d.ts +0 -3
- package/types/carousel/interface.d.ts +0 -52
- package/types/carousel/style/index.d.ts +0 -2
- package/types/cascader/interface.d.ts +0 -105
- package/types/cascader/style/index.d.ts +0 -6
- package/types/checkbox/interface.d.ts +0 -36
- package/types/checkbox/style/index.d.ts +0 -2
- package/types/collapse/interface.d.ts +0 -27
- package/types/collapse/style/index.d.ts +0 -2
- package/types/color-picker/interface.d.ts +0 -61
- package/types/color-picker/style/index.d.ts +0 -4
- package/types/comment/interface.d.ts +0 -14
- package/types/comment/style/index.d.ts +0 -2
- package/types/config-provider/style/index.d.ts +0 -2
- package/types/copy/style/index.d.ts +0 -3
- package/types/date-picker/RangePicker.d.ts +0 -3
- package/types/date-picker/hook/useCellClassName.d.ts +0 -2
- package/types/date-picker/interface.d.ts +0 -167
- package/types/date-picker/style/index.d.ts +0 -7
- package/types/descriptions/interface.d.ts +0 -29
- package/types/descriptions/style/index.d.ts +0 -2
- package/types/divider/interface.d.ts +0 -8
- package/types/divider/style/index.d.ts +0 -2
- package/types/draggable/style/index.d.ts +0 -2
- package/types/drawer/interface.d.ts +0 -46
- package/types/drawer/style/index.d.ts +0 -3
- package/types/dropdown/interface.d.ts +0 -29
- package/types/dropdown/style/index.d.ts +0 -4
- package/types/empty/index.d.ts +0 -5
- package/types/empty/interface.d.ts +0 -8
- package/types/empty/style/index.d.ts +0 -2
- package/types/form/interface.d.ts +0 -228
- package/types/form/style/index.d.ts +0 -3
- package/types/grid/interface.d.ts +0 -76
- package/types/grid/style/index.d.ts +0 -2
- package/types/hooks/use-watermark/interface.d.ts +0 -22
- package/types/hooks/useComputedState.d.ts +0 -1
- package/types/hooks/useCreate.d.ts +0 -1
- package/types/hooks/useForceUpdate.d.ts +0 -1
- package/types/hooks/useId.d.ts +0 -1
- package/types/hooks/useInView.d.ts +0 -1
- package/types/hooks/useIntersectionObserver.d.ts +0 -1
- package/types/hooks/useInterval.d.ts +0 -1
- package/types/hooks/useIsFirstRender.d.ts +0 -1
- package/types/hooks/useIsomorphicLayoutEffect.d.ts +0 -1
- package/types/hooks/useKeyboardEvent.d.ts +0 -1
- package/types/hooks/useListenResize.d.ts +0 -1
- package/types/hooks/useMedia.d.ts +0 -1
- package/types/hooks/useMergeProps.d.ts +0 -1
- package/types/hooks/useMergeValue.d.ts +0 -1
- package/types/hooks/useOnlineStatus.d.ts +0 -1
- package/types/hooks/useOverflowHidden.d.ts +0 -1
- package/types/hooks/useOverrideRef.d.ts +0 -1
- package/types/hooks/usePersistCallback.d.ts +0 -1
- package/types/hooks/usePrefersColorSchemeDark.d.ts +0 -1
- package/types/hooks/usePrevious.d.ts +0 -1
- package/types/hooks/useRefs.d.ts +0 -1
- package/types/hooks/useResizeObserver.d.ts +0 -1
- package/types/hooks/useStateCallback.d.ts +0 -1
- package/types/hooks/useStateWithPromise.d.ts +0 -1
- package/types/hooks/useUpdateEffect.d.ts +0 -1
- package/types/hooks/useWatch.d.ts +0 -1
- package/types/hooks/useWindowSize.d.ts +0 -1
- package/types/icon/style/index.d.ts +0 -2
- package/types/icon-hover/style/index.d.ts +0 -2
- package/types/image/interface.d.ts +0 -59
- package/types/image/style/index.d.ts +0 -2
- package/types/input/interface.d.ts +0 -100
- package/types/input/style/index.d.ts +0 -3
- package/types/input-number/interface.d.ts +0 -37
- package/types/input-number/style/index.d.ts +0 -3
- package/types/input-tag/interface.d.ts +0 -60
- package/types/input-tag/style/index.d.ts +0 -3
- package/types/layout/interface.d.ts +0 -39
- package/types/layout/style/index.d.ts +0 -4
- package/types/link/interface.d.ts +0 -9
- package/types/link/style/index.d.ts +0 -2
- package/types/list/interface.d.ts +0 -57
- package/types/list/style/index.d.ts +0 -6
- package/types/loading/style/index.d.ts +0 -2
- package/types/mentions/interface.d.ts +0 -26
- package/types/mentions/style/index.d.ts +0 -2
- package/types/menu/interface.d.ts +0 -77
- package/types/menu/style/index.d.ts +0 -4
- package/types/message/interface.d.ts +0 -31
- package/types/message/style/index.d.ts +0 -2
- package/types/modal/interface.d.ts +0 -57
- package/types/modal/style/index.d.ts +0 -3
- package/types/notice/style/index.d.ts +0 -2
- package/types/notification/interface.d.ts +0 -27
- package/types/notification/style/index.d.ts +0 -2
- package/types/page-header/interface.d.ts +0 -14
- package/types/page-header/style/index.d.ts +0 -3
- package/types/pagination/interface.d.ts +0 -35
- package/types/pagination/style/index.d.ts +0 -4
- package/types/picker/style/index.d.ts +0 -2
- package/types/popconfirm/interface.d.ts +0 -28
- package/types/popconfirm/style/index.d.ts +0 -5
- package/types/popover/style/index.d.ts +0 -3
- package/types/portal/style/index.d.ts +0 -2
- package/types/progress/interface.d.ts +0 -22
- package/types/progress/style/index.d.ts +0 -3
- package/types/radio/interface.d.ts +0 -39
- package/types/radio/style/index.d.ts +0 -2
- package/types/rate/interface.d.ts +0 -17
- package/types/rate/style/index.d.ts +0 -3
- package/types/resize-box/interface.d.ts +0 -73
- package/types/resize-box/style/index.d.ts +0 -2
- package/types/result/interface.d.ts +0 -11
- package/types/result/style/index.d.ts +0 -2
- package/types/select/interface.d.ts +0 -103
- package/types/select/style/index.d.ts +0 -6
- package/types/select-view/interface.d.ts +0 -62
- package/types/select-view/style/index.d.ts +0 -2
- package/types/skeleton/style/index.d.ts +0 -2
- package/types/slider/interface.d.ts +0 -32
- package/types/slider/style/index.d.ts +0 -5
- package/types/space/interface.d.ts +0 -12
- package/types/space/style/index.d.ts +0 -2
- package/types/spin/interface.d.ts +0 -14
- package/types/spin/style/index.d.ts +0 -2
- package/types/statistic/interface.d.ts +0 -33
- package/types/statistic/style/index.d.ts +0 -3
- package/types/steps/interface.d.ts +0 -42
- package/types/steps/style/index.d.ts +0 -2
- package/types/switch/interface.d.ts +0 -17
- package/types/switch/style/index.d.ts +0 -2
- package/types/table/interface.d.ts +0 -301
- package/types/table/style/index.d.ts +0 -12
- package/types/tabs/interface.d.ts +0 -66
- package/types/tabs/style/index.d.ts +0 -3
- package/types/tag/interface.d.ts +0 -23
- package/types/tag/style/index.d.ts +0 -2
- package/types/time-picker/interface.d.ts +0 -62
- package/types/time-picker/style/index.d.ts +0 -5
- package/types/timeline/interface.d.ts +0 -26
- package/types/timeline/style/index.d.ts +0 -2
- package/types/tooltip/interface.d.ts +0 -23
- package/types/tooltip/style/index.d.ts +0 -3
- package/types/transfer/interface.d.ts +0 -91
- package/types/transfer/style/index.d.ts +0 -6
- package/types/tree/interface.d.ts +0 -153
- package/types/tree/style/index.d.ts +0 -3
- package/types/tree-select/interface.d.ts +0 -79
- package/types/tree-select/style/index.d.ts +0 -5
- package/types/trigger/interface.d.ts +0 -73
- package/types/trigger/style/index.d.ts +0 -2
- package/types/typography/interface.d.ts +0 -97
- package/types/typography/style/index.d.ts +0 -5
- package/types/upload/interface.d.ts +0 -126
- package/types/upload/style/index.d.ts +0 -6
- package/types/utils/PqbCSSTransition.d.ts +0 -3
- package/types/utils/caseName.d.ts +0 -3
- package/types/utils/className.d.ts +0 -3
- package/types/utils/constant.d.ts +0 -4
- package/types/utils/fileToURL.d.ts +0 -3
- package/types/utils/fillNBSP.d.ts +0 -3
- package/types/utils/getHighlightText.d.ts +0 -3
- package/types/utils/getHotkeyHandler.d.ts +0 -3
- package/types/utils/getStringLength.d.ts +0 -3
- package/types/utils/include.d.ts +0 -3
- package/types/utils/mergeProps.d.ts +0 -3
- package/types/utils/mergedToString.d.ts +0 -3
- package/types/utils/omit.d.ts +0 -3
- package/types/utils/pad.d.ts +0 -1
- package/types/utils/pick.d.ts +0 -3
- package/types/utils/react19Adapter.d.ts +0 -1
- package/types/utils/reactDOM.d.ts +0 -1
- package/types/utils/resizeObserverEffect.d.ts +0 -2
- package/types/utils/saveAs.d.ts +0 -3
- package/types/utils/screenfull.d.ts +0 -3
- package/types/utils/style.d.ts +0 -1
- package/types/utils/throttleByRaf.d.ts +0 -1
- package/types/utils/throttleByRaf2.d.ts +0 -1
- package/types/utils/warning.d.ts +0 -1
- package/types/verification-code/interface.d.ts +0 -25
- package/types/verification-code/style/index.d.ts +0 -3
- package/types/virtual-list/style/index.d.ts +0 -2
- package/types/virtual-list/util/algorithm.d.ts +0 -6
- package/types/watermark/interface.d.ts +0 -21
- package/types/watermark/style/index.d.ts +0 -1
- /package/types/{utils → common/utils}/keyboardCode.d.ts +0 -0
- /package/types/{utils → common/utils}/setDarkTheme.d.ts +0 -0
- /package/types/{utils → common/utils}/setPrimaryColor.d.ts +0 -0
- /package/types/{utils → common/utils}/setTheme.d.ts +0 -0
- /package/types/{utils → common/utils}/tinycolor.d.ts +0 -0
- /package/types/{utils → common/utils}/type.d.ts +0 -0
- /package/types/{affix → pc/affix}/index.d.ts +0 -0
- /package/types/{alert → pc/alert}/index.d.ts +0 -0
- /package/types/{anchor → pc/anchor}/Anchor.d.ts +0 -0
- /package/types/{anchor → pc/anchor}/Link.d.ts +0 -0
- /package/types/{anchor → pc/anchor}/context.d.ts +0 -0
- /package/types/{anchor → pc/anchor}/index.d.ts +0 -0
- /package/types/{auto-complete → pc/auto-complete}/index.d.ts +0 -0
- /package/types/{avatar → pc/avatar}/Avatar.d.ts +0 -0
- /package/types/{avatar → pc/avatar}/Group.d.ts +0 -0
- /package/types/{avatar → pc/avatar}/context.d.ts +0 -0
- /package/types/{avatar → pc/avatar}/index.d.ts +0 -0
- /package/types/{back-top → pc/back-top}/index.d.ts +0 -0
- /package/types/{badge → pc/badge}/Count.d.ts +0 -0
- /package/types/{badge → pc/badge}/index.d.ts +0 -0
- /package/types/{breadcrumb → pc/breadcrumb}/Item.d.ts +0 -0
- /package/types/{breadcrumb → pc/breadcrumb}/index.d.ts +0 -0
- /package/types/{button → pc/button}/Group.d.ts +0 -0
- /package/types/{calendar → pc/calendar}/Month.d.ts +0 -0
- /package/types/{calendar → pc/calendar}/WeekList.d.ts +0 -0
- /package/types/{calendar → pc/calendar}/Year.d.ts +0 -0
- /package/types/{calendar → pc/calendar}/header/Panel.d.ts +0 -0
- /package/types/{calendar → pc/calendar}/header/index.d.ts +0 -0
- /package/types/{calendar → pc/calendar}/index.d.ts +0 -0
- /package/types/{card → pc/card}/Grid.d.ts +0 -0
- /package/types/{card → pc/card}/Meta.d.ts +0 -0
- /package/types/{card → pc/card}/index.d.ts +0 -0
- /package/types/{carousel → pc/carousel}/Arrow.d.ts +0 -0
- /package/types/{carousel → pc/carousel}/Indicator.d.ts +0 -0
- /package/types/{carousel → pc/carousel}/index.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/Cascader.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/hook/useRefCurrent.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/index.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/panel/List.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/panel/Option.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/panel/Search.d.ts +0 -0
- /package/types/{cascader → pc/cascader}/util.d.ts +0 -0
- /package/types/{checkbox → pc/checkbox}/Checkbox.d.ts +0 -0
- /package/types/{checkbox → pc/checkbox}/Group.d.ts +0 -0
- /package/types/{checkbox → pc/checkbox}/GroupBlock.d.ts +0 -0
- /package/types/{checkbox → pc/checkbox}/IconCheck.d.ts +0 -0
- /package/types/{checkbox → pc/checkbox}/index.d.ts +0 -0
- /package/types/{collapse → pc/collapse}/Collapse.d.ts +0 -0
- /package/types/{collapse → pc/collapse}/Item.d.ts +0 -0
- /package/types/{collapse → pc/collapse}/index.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/ControlBar.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/InputAlpha.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/InputHex.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/InputRgb.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/Mode.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/Palette.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/Panel.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/colors.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/hooks/useControlBlock.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/index.d.ts +0 -0
- /package/types/{color-picker → pc/color-picker}/utils.d.ts +0 -0
- /package/types/{comment → pc/comment}/index.d.ts +0 -0
- /package/types/{config-provider → pc/config-provider}/ConfigProvider.d.ts +0 -0
- /package/types/{config-provider → pc/config-provider}/context.d.ts +0 -0
- /package/types/{config-provider → pc/config-provider}/index.d.ts +0 -0
- /package/types/{copy → pc/copy}/index.d.ts +0 -0
- /package/types/{copy → pc/copy}/interface.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/Picker.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/context.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/Body.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/Footer.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/Header.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/Shortcut.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/WeekList.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/date/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/month/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/quarter/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/range/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/week/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/panel/year/index.d.ts +0 -0
- /package/types/{date-picker → pc/date-picker}/util.d.ts +0 -0
- /package/types/{descriptions → pc/descriptions}/index.d.ts +0 -0
- /package/types/{divider → pc/divider}/index.d.ts +0 -0
- /package/types/{draggable → pc/draggable}/Item.d.ts +0 -0
- /package/types/{draggable → pc/draggable}/index.d.ts +0 -0
- /package/types/{drawer → pc/drawer}/Drawer.d.ts +0 -0
- /package/types/{drawer → pc/drawer}/index.d.ts +0 -0
- /package/types/{dropdown → pc/dropdown}/Button.d.ts +0 -0
- /package/types/{dropdown → pc/dropdown}/index.d.ts +0 -0
- /package/types/{form → pc/form}/Form.d.ts +0 -0
- /package/types/{form → pc/form}/FormItem.d.ts +0 -0
- /package/types/{form → pc/form}/FormLabel.d.ts +0 -0
- /package/types/{form → pc/form}/FormList.d.ts +0 -0
- /package/types/{form → pc/form}/FormProvider.d.ts +0 -0
- /package/types/{form → pc/form}/IconSymbol.d.ts +0 -0
- /package/types/{form → pc/form}/context.d.ts +0 -0
- /package/types/{form → pc/form}/hook/useState.d.ts +0 -0
- /package/types/{form → pc/form}/hook/useWatch.d.ts +0 -0
- /package/types/{form → pc/form}/index.d.ts +0 -0
- /package/types/{form → pc/form}/promisify.d.ts +0 -0
- /package/types/{form → pc/form}/useForm.d.ts +0 -0
- /package/types/{form → pc/form}/util.d.ts +0 -0
- /package/types/{grid → pc/grid}/Col.d.ts +0 -0
- /package/types/{grid → pc/grid}/Row.d.ts +0 -0
- /package/types/{grid → pc/grid}/context.d.ts +0 -0
- /package/types/{grid → pc/grid}/grid-item.d.ts +0 -0
- /package/types/{grid → pc/grid}/grid.d.ts +0 -0
- /package/types/{grid → pc/grid}/hook/useResponsiveState.d.ts +0 -0
- /package/types/{grid → pc/grid}/index.d.ts +0 -0
- /package/types/{grid → pc/grid}/util.d.ts +0 -0
- /package/types/{hooks → pc/hooks}/index.d.ts +0 -0
- /package/types/{hooks → pc/hooks}/use-verification-code/index.d.ts +0 -0
- /package/types/{hooks → pc/hooks}/use-watermark/index.d.ts +0 -0
- /package/types/{hooks → pc/hooks}/use-watermark/utils.d.ts +0 -0
- /package/types/{icon → pc/icon}/addFromIconFontCn.d.ts +0 -0
- /package/types/{icon → pc/icon}/index.d.ts +0 -0
- /package/types/{icon-hover → pc/icon-hover}/index.d.ts +0 -0
- /package/types/{icons.d.ts → pc/icons.d.ts} +0 -0
- /package/types/{image → pc/image}/Image.d.ts +0 -0
- /package/types/{image → pc/image}/ImageFooter.d.ts +0 -0
- /package/types/{image → pc/image}/ImagePreview.d.ts +0 -0
- /package/types/{image → pc/image}/ImagePreviewArrow.d.ts +0 -0
- /package/types/{image → pc/image}/ImagePreviewGroup.d.ts +0 -0
- /package/types/{image → pc/image}/ImagePreviewToolbar.d.ts +0 -0
- /package/types/{image → pc/image}/TriggerForToolbar.d.ts +0 -0
- /package/types/{image → pc/image}/index.d.ts +0 -0
- /package/types/{image → pc/image}/previewGroupContext.d.ts +0 -0
- /package/types/{image → pc/image}/util/getFixTranslate.d.ts +0 -0
- /package/types/{image → pc/image}/util/getScale.d.ts +0 -0
- /package/types/{image → pc/image}/util/hook/useImageStatus.d.ts +0 -0
- /package/types/{image → pc/image}/util/hook/useShowFooter.d.ts +0 -0
- /package/types/{input → pc/input}/Button.d.ts +0 -0
- /package/types/{input → pc/input}/Group.d.ts +0 -0
- /package/types/{input → pc/input}/InputElement.d.ts +0 -0
- /package/types/{input → pc/input}/Number.d.ts +0 -0
- /package/types/{input → pc/input}/Password.d.ts +0 -0
- /package/types/{input → pc/input}/Search.d.ts +0 -0
- /package/types/{input → pc/input}/Tag.d.ts +0 -0
- /package/types/{input → pc/input}/autoSizeTextAreaHeight.d.ts +0 -0
- /package/types/{input → pc/input}/useComposition.d.ts +0 -0
- /package/types/{input-number → pc/input-number}/index.d.ts +0 -0
- /package/types/{input-number → pc/input-number}/useSelectionRange.d.ts +0 -0
- /package/types/{input-tag → pc/input-tag}/InputTag.d.ts +0 -0
- /package/types/{input-tag → pc/input-tag}/index.d.ts +0 -0
- /package/types/{layout → pc/layout}/Content.d.ts +0 -0
- /package/types/{layout → pc/layout}/Footer.d.ts +0 -0
- /package/types/{layout → pc/layout}/Header.d.ts +0 -0
- /package/types/{layout → pc/layout}/Sider.d.ts +0 -0
- /package/types/{layout → pc/layout}/index.d.ts +0 -0
- /package/types/{link → pc/link}/index.d.ts +0 -0
- /package/types/{list → pc/list}/Item.d.ts +0 -0
- /package/types/{list → pc/list}/Meta.d.ts +0 -0
- /package/types/{list → pc/list}/index.d.ts +0 -0
- /package/types/{loading → pc/loading}/index.d.ts +0 -0
- /package/types/{locale → pc/locale}/ar-EG.d.ts +0 -0
- /package/types/{locale → pc/locale}/de-DE.d.ts +0 -0
- /package/types/{locale → pc/locale}/default.d.ts +0 -0
- /package/types/{locale → pc/locale}/en-US.d.ts +0 -0
- /package/types/{locale → pc/locale}/es-ES.d.ts +0 -0
- /package/types/{locale → pc/locale}/fr-FR.d.ts +0 -0
- /package/types/{locale → pc/locale}/id-ID.d.ts +0 -0
- /package/types/{locale → pc/locale}/interface.d.ts +0 -0
- /package/types/{locale → pc/locale}/it-IT.d.ts +0 -0
- /package/types/{locale → pc/locale}/ja-JP.d.ts +0 -0
- /package/types/{locale → pc/locale}/ko-KR.d.ts +0 -0
- /package/types/{locale → pc/locale}/ms-MY.d.ts +0 -0
- /package/types/{locale → pc/locale}/pt-BR.d.ts +0 -0
- /package/types/{locale → pc/locale}/pt-PT.d.ts +0 -0
- /package/types/{locale → pc/locale}/ru-RU.d.ts +0 -0
- /package/types/{locale → pc/locale}/th-TH.d.ts +0 -0
- /package/types/{locale → pc/locale}/tr-TR.d.ts +0 -0
- /package/types/{locale → pc/locale}/vi-VN.d.ts +0 -0
- /package/types/{locale → pc/locale}/zh-CN.d.ts +0 -0
- /package/types/{locale → pc/locale}/zh-HK.d.ts +0 -0
- /package/types/{locale → pc/locale}/zh-TW.d.ts +0 -0
- /package/types/{mentions → pc/mentions}/index.d.ts +0 -0
- /package/types/{mentions → pc/mentions}/util.d.ts +0 -0
- /package/types/{menu → pc/menu}/Indent.d.ts +0 -0
- /package/types/{menu → pc/menu}/Item.d.ts +0 -0
- /package/types/{menu → pc/menu}/ItemGroup.d.ts +0 -0
- /package/types/{menu → pc/menu}/Menu.d.ts +0 -0
- /package/types/{menu → pc/menu}/OverflowWrap.d.ts +0 -0
- /package/types/{menu → pc/menu}/index.d.ts +0 -0
- /package/types/{menu → pc/menu}/sub-menu/Inline.d.ts +0 -0
- /package/types/{menu → pc/menu}/sub-menu/Pop.d.ts +0 -0
- /package/types/{menu → pc/menu}/sub-menu/index.d.ts +0 -0
- /package/types/{menu → pc/menu}/util.d.ts +0 -0
- /package/types/{message → pc/message}/index.d.ts +0 -0
- /package/types/{message → pc/message}/useMessage.d.ts +0 -0
- /package/types/{modal → pc/modal}/Confirm.d.ts +0 -0
- /package/types/{modal → pc/modal}/Modal.d.ts +0 -0
- /package/types/{modal → pc/modal}/config.d.ts +0 -0
- /package/types/{modal → pc/modal}/index.d.ts +0 -0
- /package/types/{modal → pc/modal}/use-modal/Hook.d.ts +0 -0
- /package/types/{modal → pc/modal}/use-modal/index.d.ts +0 -0
- /package/types/{notice → pc/notice}/index.d.ts +0 -0
- /package/types/{notification → pc/notification}/index.d.ts +0 -0
- /package/types/{notification → pc/notification}/useNotification.d.ts +0 -0
- /package/types/{notification → pc/notification}/withNotification.d.ts +0 -0
- /package/types/{overflow-ellipsis → pc/overflow-ellipsis}/OverflowItem.d.ts +0 -0
- /package/types/{overflow-ellipsis → pc/overflow-ellipsis}/index.d.ts +0 -0
- /package/types/{page-header → pc/page-header}/index.d.ts +0 -0
- /package/types/{pagination → pc/pagination}/PageJumper.d.ts +0 -0
- /package/types/{pagination → pc/pagination}/PageOption.d.ts +0 -0
- /package/types/{pagination → pc/pagination}/Pagination.d.ts +0 -0
- /package/types/{pagination → pc/pagination}/index.d.ts +0 -0
- /package/types/{picker → pc/picker}/Input.d.ts +0 -0
- /package/types/{picker → pc/picker}/InputRange.d.ts +0 -0
- /package/types/{picker → pc/picker}/index.d.ts +0 -0
- /package/types/{popconfirm → pc/popconfirm}/index.d.ts +0 -0
- /package/types/{popover → pc/popover}/index.d.ts +0 -0
- /package/types/{progress → pc/progress}/CircleProgress.d.ts +0 -0
- /package/types/{progress → pc/progress}/LineProgess.d.ts +0 -0
- /package/types/{progress → pc/progress}/StepProgress.d.ts +0 -0
- /package/types/{progress → pc/progress}/index.d.ts +0 -0
- /package/types/{radio → pc/radio}/Group.d.ts +0 -0
- /package/types/{radio → pc/radio}/GroupBlock.d.ts +0 -0
- /package/types/{radio → pc/radio}/Radio.d.ts +0 -0
- /package/types/{radio → pc/radio}/index.d.ts +0 -0
- /package/types/{rate → pc/rate}/index.d.ts +0 -0
- /package/types/{resize-box → pc/resize-box}/Split.d.ts +0 -0
- /package/types/{resize-box → pc/resize-box}/SplitGroup.d.ts +0 -0
- /package/types/{resize-box → pc/resize-box}/index.d.ts +0 -0
- /package/types/{result → pc/result}/403.d.ts +0 -0
- /package/types/{result → pc/result}/404.d.ts +0 -0
- /package/types/{result → pc/result}/500.d.ts +0 -0
- /package/types/{result → pc/result}/index.d.ts +0 -0
- /package/types/{select → pc/select}/OptGroup.d.ts +0 -0
- /package/types/{select → pc/select}/Option.d.ts +0 -0
- /package/types/{select → pc/select}/Select.d.ts +0 -0
- /package/types/{select → pc/select}/index.d.ts +0 -0
- /package/types/{select-view → pc/select-view}/Core.d.ts +0 -0
- /package/types/{select-view → pc/select-view}/index.d.ts +0 -0
- /package/types/{skeleton → pc/skeleton}/Image.d.ts +0 -0
- /package/types/{skeleton → pc/skeleton}/Text.d.ts +0 -0
- /package/types/{skeleton → pc/skeleton}/index.d.ts +0 -0
- /package/types/{slider → pc/slider}/Button.d.ts +0 -0
- /package/types/{slider → pc/slider}/Dot.d.ts +0 -0
- /package/types/{slider → pc/slider}/Input.d.ts +0 -0
- /package/types/{slider → pc/slider}/Mark.d.ts +0 -0
- /package/types/{slider → pc/slider}/Tick.d.ts +0 -0
- /package/types/{slider → pc/slider}/hook/useInterval.d.ts +0 -0
- /package/types/{slider → pc/slider}/hook/useLegalValue.d.ts +0 -0
- /package/types/{slider → pc/slider}/index.d.ts +0 -0
- /package/types/{slider → pc/slider}/util.d.ts +0 -0
- /package/types/{space → pc/space}/index.d.ts +0 -0
- /package/types/{space → pc/space}/toArray.d.ts +0 -0
- /package/types/{speech-synthesis → pc/speech-synthesis}/index.d.ts +0 -0
- /package/types/{speech-synthesis → pc/speech-synthesis}/style/index.d.ts +0 -0
- /package/types/{spin → pc/spin}/DotLoading.d.ts +0 -0
- /package/types/{spin → pc/spin}/index.d.ts +0 -0
- /package/types/{statistic → pc/statistic}/Countdown.d.ts +0 -0
- /package/types/{statistic → pc/statistic}/index.d.ts +0 -0
- /package/types/{statistic → pc/statistic}/util.d.ts +0 -0
- /package/types/{steps → pc/steps}/Step.d.ts +0 -0
- /package/types/{steps → pc/steps}/index.d.ts +0 -0
- /package/types/{suspense-fallback-test → pc/suspense-fallback-test}/index.d.ts +0 -0
- /package/types/{suspense-fallback-test → pc/suspense-fallback-test}/style/index.d.ts +0 -0
- /package/types/{switch → pc/switch}/index.d.ts +0 -0
- /package/types/{table → pc/table}/ColGroup.d.ts +0 -0
- /package/types/{table → pc/table}/Table.d.ts +0 -0
- /package/types/{table → pc/table}/constant.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useColumns.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useComponent.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useExpand.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useRowSelection.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useSorter.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useStickyClassNames.d.ts +0 -0
- /package/types/{table → pc/table}/hook/useStickyOffsets.d.ts +0 -0
- /package/types/{table → pc/table}/index.d.ts +0 -0
- /package/types/{table → pc/table}/summary/Cell.d.ts +0 -0
- /package/types/{table → pc/table}/summary/Row.d.ts +0 -0
- /package/types/{table → pc/table}/summary/context.d.ts +0 -0
- /package/types/{table → pc/table}/summary/index.d.ts +0 -0
- /package/types/{table → pc/table}/tbody/Td.d.ts +0 -0
- /package/types/{table → pc/table}/tbody/Tr.d.ts +0 -0
- /package/types/{table → pc/table}/tbody/index.d.ts +0 -0
- /package/types/{table → pc/table}/tfoot/index.d.ts +0 -0
- /package/types/{table → pc/table}/th-resizable/index.d.ts +0 -0
- /package/types/{table → pc/table}/thead/Column.d.ts +0 -0
- /package/types/{table → pc/table}/thead/index.d.ts +0 -0
- /package/types/{table → pc/table}/util.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/Tab.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/TabContent.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/TabPane.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/hook/useDomSize.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/hook/useHeaderScroll.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/index.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/tab-header/DropdownIcon.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/tab-header/TabInk.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/tab-header/TabNavIcon.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/tab-header/TabTitle.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/tab-header/index.d.ts +0 -0
- /package/types/{tabs → pc/tabs}/util.d.ts +0 -0
- /package/types/{tag → pc/tag}/index.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/Picker.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/RangePicker.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/TimeColumn.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/TimePicker.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/context.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/index.d.ts +0 -0
- /package/types/{time-picker → pc/time-picker}/util.d.ts +0 -0
- /package/types/{timeline → pc/timeline}/Item.d.ts +0 -0
- /package/types/{timeline → pc/timeline}/Timeline.d.ts +0 -0
- /package/types/{timeline → pc/timeline}/index.d.ts +0 -0
- /package/types/{tooltip → pc/tooltip}/index.d.ts +0 -0
- /package/types/{transfer → pc/transfer}/Item.d.ts +0 -0
- /package/types/{transfer → pc/transfer}/List.d.ts +0 -0
- /package/types/{transfer → pc/transfer}/index.d.ts +0 -0
- /package/types/{tree → pc/tree}/Animation.d.ts +0 -0
- /package/types/{tree → pc/tree}/Context.d.ts +0 -0
- /package/types/{tree → pc/tree}/Node.d.ts +0 -0
- /package/types/{tree → pc/tree}/NodeList.d.ts +0 -0
- /package/types/{tree → pc/tree}/Tree.d.ts +0 -0
- /package/types/{tree → pc/tree}/index.d.ts +0 -0
- /package/types/{tree → pc/tree}/util.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/List.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/Select.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/hook/useKeyCache.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/hook/useStateValue.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/hook/useTreeData.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/index.d.ts +0 -0
- /package/types/{tree-select → pc/tree-select}/util.d.ts +0 -0
- /package/types/{trigger → pc/trigger}/getPopupStyle.d.ts +0 -0
- /package/types/{trigger → pc/trigger}/index.d.ts +0 -0
- /package/types/{typography → pc/typography}/Base.d.ts +0 -0
- /package/types/{typography → pc/typography}/EditContent.d.ts +0 -0
- /package/types/{typography → pc/typography}/Ellipsis.d.ts +0 -0
- /package/types/{typography → pc/typography}/Operations.d.ts +0 -0
- /package/types/{typography → pc/typography}/Paragraph.d.ts +0 -0
- /package/types/{typography → pc/typography}/Text.d.ts +0 -0
- /package/types/{typography → pc/typography}/Title.d.ts +0 -0
- /package/types/{typography → pc/typography}/Typography.d.ts +0 -0
- /package/types/{typography → pc/typography}/index.d.ts +0 -0
- /package/types/{typography → pc/typography}/useCssEllipsis.d.ts +0 -0
- /package/types/{typography → pc/typography}/useEllipsis.d.ts +0 -0
- /package/types/{upload → pc/upload}/TriggerNode.d.ts +0 -0
- /package/types/{upload → pc/upload}/Upload.d.ts +0 -0
- /package/types/{upload → pc/upload}/Uploader.d.ts +0 -0
- /package/types/{upload → pc/upload}/index.d.ts +0 -0
- /package/types/{upload → pc/upload}/list/PictureItem.d.ts +0 -0
- /package/types/{upload → pc/upload}/list/TextItem.d.ts +0 -0
- /package/types/{upload → pc/upload}/list/UploadProgress.d.ts +0 -0
- /package/types/{upload → pc/upload}/list/index.d.ts +0 -0
- /package/types/{upload → pc/upload}/request.d.ts +0 -0
- /package/types/{upload → pc/upload}/request_.d.ts +0 -0
- /package/types/{upload → pc/upload}/util.d.ts +0 -0
- /package/types/{utils → pc/utils}/color.d.ts +0 -0
- /package/types/{utils → pc/utils}/computeScrollIntoView.d.ts +0 -0
- /package/types/{utils → pc/utils}/contextHolder.d.ts +0 -0
- /package/types/{utils → pc/utils}/index.d.ts +0 -0
- /package/types/{utils → pc/utils}/math.d.ts +0 -0
- /package/types/{utils → pc/utils}/reactTransitionGroup.d.ts +0 -0
- /package/types/{utils → pc/utils}/responsiveObserve.d.ts +0 -0
- /package/types/{utils → pc/utils}/tree.d.ts +0 -0
- /package/types/{utils → pc/utils}/tween.d.ts +0 -0
- /package/types/{utils → pc/utils}/uuid.d.ts +0 -0
- /package/types/{utils → pc/utils}/validate.d.ts +0 -0
- /package/types/{verification-code → pc/verification-code}/VerificationCode.d.ts +0 -0
- /package/types/{verification-code → pc/verification-code}/index.d.ts +0 -0
- /package/types/{version → pc/version}/index.d.ts +0 -0
- /package/types/{virtual-list → pc/virtual-list}/index.d.ts +0 -0
- /package/types/{watermark → pc/watermark}/Watermark.d.ts +0 -0
- /package/types/{watermark → pc/watermark}/index.d.ts +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import O from "
|
|
2
|
-
import M from "lodash/isString";
|
|
1
|
+
import { isFunction as O, isString as M } from "@unicom-cloud/utils/is";
|
|
3
2
|
const a = (t) => (i) => Math.pow(i, t), n = (t) => (i) => 1 - Math.abs(Math.pow(i - 1, t)), r = (t) => (i) => i < 0.5 ? a(t)(i * 2) / 2 : n(t)(i * 2 - 1) / 2 + 0.5, q = (t) => t, y = a(2), b = n(2), g = r(2), F = a(3), P = n(3), k = r(3), w = a(4), S = n(4), T = r(4), v = a(5), A = n(5), D = r(5), U = (t) => 1 + Math.sin(Math.PI / 2 * t - Math.PI / 2), x = (t) => Math.sin(Math.PI / 2 * t), B = (t) => (1 + Math.sin(Math.PI * t - Math.PI / 2)) / 2, u = (t) => t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? (t -= 1.5 / 2.75, 7.5625 * t * t + 0.75) : t < 2.5 / 2.75 ? (t -= 2.25 / 2.75, 7.5625 * t * t + 0.9375) : (t -= 2.625 / 2.75, 7.5625 * t * t + 0.984375), l = (t) => 1 - u(1 - t), $ = (t) => t < 0.5 ? l(t * 2) * 0.5 : u(t * 2 - 1) * 0.5 + 0.5, d = {
|
|
4
3
|
linear: q,
|
|
5
4
|
quadIn: y,
|
|
@@ -21,7 +20,7 @@ const a = (t) => (i) => Math.pow(i, t), n = (t) => (i) => 1 - Math.abs(Math.pow(
|
|
|
21
20
|
bounceIn: l,
|
|
22
21
|
bounceInOut: $
|
|
23
22
|
};
|
|
24
|
-
class
|
|
23
|
+
class z {
|
|
25
24
|
constructor(i) {
|
|
26
25
|
const {
|
|
27
26
|
from: e,
|
|
@@ -65,9 +64,9 @@ class C {
|
|
|
65
64
|
}
|
|
66
65
|
}
|
|
67
66
|
export {
|
|
68
|
-
C as I,
|
|
69
67
|
T as b,
|
|
70
68
|
D as f,
|
|
71
69
|
S as q,
|
|
72
|
-
d as x
|
|
70
|
+
d as x,
|
|
71
|
+
z as y
|
|
73
72
|
};
|
|
@@ -0,0 +1,649 @@
|
|
|
1
|
+
import { jsx as s, jsxs as Y, Fragment as nn } from "react/jsx-runtime";
|
|
2
|
+
import tn from "@unicom-cloud/icons/IconUiClose";
|
|
3
|
+
import ye from "lodash/isFunction";
|
|
4
|
+
import rn, { forwardRef as De, useState as O, useImperativeHandle as on, useRef as x, useContext as ln, useCallback as z, useEffect as oe } from "react";
|
|
5
|
+
import Ne from "../button/index.js";
|
|
6
|
+
import { b as Re, e as sn, a as an, I as cn } from "./B44Hj5ad.js";
|
|
7
|
+
import { u as un } from "./oopARUrq.js";
|
|
8
|
+
import { u as dn } from "./BFTV6myl.js";
|
|
9
|
+
import { u as mn } from "./CXPOj2uy.js";
|
|
10
|
+
import { u as fn } from "./DU1RCDfh.js";
|
|
11
|
+
import pn from "../portal/index.js";
|
|
12
|
+
import { P as Pe } from "./NPajzdOv.js";
|
|
13
|
+
import Ie from "@unicom-cloud/utils/class-name";
|
|
14
|
+
import { contains as Cn, isServerRendering as hn } from "../utils/dom.js";
|
|
15
|
+
import { Esc as bn } from "@unicom-cloud/utils/constant/keyboardCode";
|
|
16
|
+
import { o as gn } from "./BKKEev13.js";
|
|
17
|
+
import { f as vn } from "./BZ3igxQN.js";
|
|
18
|
+
import xn from "@unicom-cloud/icons/IconUiCheckCircleFill";
|
|
19
|
+
import Mn from "@unicom-cloud/icons/IconUiCloseCircleFill";
|
|
20
|
+
import $e from "@unicom-cloud/icons/IconUiExclamationCircleFill";
|
|
21
|
+
import En from "@unicom-cloud/icons/IconUiInfoCircleFill";
|
|
22
|
+
import { createRoot as wn } from "react-dom/client";
|
|
23
|
+
import { destroyList as R, getConfigProviderProps as Tn, getModalConfig as kn, setModalConfig as yn } from "../modal/config.js";
|
|
24
|
+
function Nn(n) {
|
|
25
|
+
const { prefixCls: i, simple: c } = kn();
|
|
26
|
+
return /* @__PURE__ */ s(y, { prefixCls: i, simple: c, ...n, children: n.content });
|
|
27
|
+
}
|
|
28
|
+
const q = (n) => {
|
|
29
|
+
let i = n.icon;
|
|
30
|
+
if (!i) {
|
|
31
|
+
if (i !== null) {
|
|
32
|
+
if (i = /* @__PURE__ */ s($e, {}), n.isNotice)
|
|
33
|
+
switch (n.noticeType) {
|
|
34
|
+
case "info":
|
|
35
|
+
i = /* @__PURE__ */ s(En, {});
|
|
36
|
+
break;
|
|
37
|
+
case "success":
|
|
38
|
+
i = /* @__PURE__ */ s(xn, {});
|
|
39
|
+
break;
|
|
40
|
+
case "warning":
|
|
41
|
+
i = /* @__PURE__ */ s($e, {});
|
|
42
|
+
break;
|
|
43
|
+
case "error":
|
|
44
|
+
i = /* @__PURE__ */ s(Mn, {});
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return n.noticeType === "show" && (i = n.icon), n.isNotice && (n.hideCancel = !0), n.title = i === null && n.title === null ? null : /* @__PURE__ */ Y("span", { children: [
|
|
50
|
+
i,
|
|
51
|
+
n.title
|
|
52
|
+
] }), n;
|
|
53
|
+
};
|
|
54
|
+
function se(n, i) {
|
|
55
|
+
let c;
|
|
56
|
+
const r = document.createElement("div");
|
|
57
|
+
r.className = "pqb-modal-root", document.body.appendChild(r);
|
|
58
|
+
const m = Tn();
|
|
59
|
+
function M(a) {
|
|
60
|
+
const b = /* @__PURE__ */ s(Re, { ...m, childrenName: "ModalConfirm", children: /* @__PURE__ */ s(
|
|
61
|
+
Nn,
|
|
62
|
+
{
|
|
63
|
+
getPopupContainer: () => r,
|
|
64
|
+
...a,
|
|
65
|
+
onCancel: h
|
|
66
|
+
}
|
|
67
|
+
) });
|
|
68
|
+
c || (c = wn(r)), c.render(b);
|
|
69
|
+
}
|
|
70
|
+
const l = i || M;
|
|
71
|
+
let o = {
|
|
72
|
+
...n,
|
|
73
|
+
visible: !1
|
|
74
|
+
};
|
|
75
|
+
const u = () => {
|
|
76
|
+
let a;
|
|
77
|
+
const b = n.onOk;
|
|
78
|
+
b && (a = b(h)), a && a.then && (o.confirmLoading = !0, l(o), a.then(
|
|
79
|
+
() => {
|
|
80
|
+
h(!0);
|
|
81
|
+
},
|
|
82
|
+
(f) => {
|
|
83
|
+
console.error(f), o.confirmLoading = !1, l(o);
|
|
84
|
+
}
|
|
85
|
+
)), a || h(!0);
|
|
86
|
+
};
|
|
87
|
+
o.onOk = u, o = q(o), o.visible = !0, l(o);
|
|
88
|
+
function g() {
|
|
89
|
+
r.remove();
|
|
90
|
+
for (let a = 0; a < R.length; a++)
|
|
91
|
+
if (R[a] === E) {
|
|
92
|
+
R.splice(a, 1);
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
c && setTimeout(() => {
|
|
96
|
+
c.unmount(), c = null;
|
|
97
|
+
}, 7);
|
|
98
|
+
}
|
|
99
|
+
function h(a) {
|
|
100
|
+
var b;
|
|
101
|
+
!a && ((b = n.onCancel) == null || b.call(n)), E();
|
|
102
|
+
}
|
|
103
|
+
function I(a) {
|
|
104
|
+
o = {
|
|
105
|
+
...o,
|
|
106
|
+
title: n.title,
|
|
107
|
+
// 避免 newConfig 未传递 title 时,icon 出现多个的问题
|
|
108
|
+
...a
|
|
109
|
+
}, o = q(o), l(o);
|
|
110
|
+
}
|
|
111
|
+
function E() {
|
|
112
|
+
o.visible = !1, o.afterClose = () => {
|
|
113
|
+
var a;
|
|
114
|
+
(a = n.afterClose) == null || a.call(n), g();
|
|
115
|
+
}, l(o);
|
|
116
|
+
}
|
|
117
|
+
return R.push(E), {
|
|
118
|
+
close: E,
|
|
119
|
+
update: I,
|
|
120
|
+
destroy: g
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
function Pn(n, i) {
|
|
124
|
+
const [c, r] = O(!0), [m, M] = O(n);
|
|
125
|
+
on(i, () => ({
|
|
126
|
+
update: (u) => {
|
|
127
|
+
M(u);
|
|
128
|
+
},
|
|
129
|
+
close: () => {
|
|
130
|
+
r(!1);
|
|
131
|
+
}
|
|
132
|
+
}));
|
|
133
|
+
function l() {
|
|
134
|
+
var g;
|
|
135
|
+
const u = (g = m.onOk) == null ? void 0 : g.call(m);
|
|
136
|
+
u && u.then && (M((h) => ({
|
|
137
|
+
...h,
|
|
138
|
+
confirmLoading: !0
|
|
139
|
+
})), u.then(
|
|
140
|
+
() => {
|
|
141
|
+
r(!1);
|
|
142
|
+
},
|
|
143
|
+
(h) => {
|
|
144
|
+
console.error(h), M((I) => ({
|
|
145
|
+
...I,
|
|
146
|
+
confirmLoading: !1
|
|
147
|
+
}));
|
|
148
|
+
}
|
|
149
|
+
)), u || r(!1);
|
|
150
|
+
}
|
|
151
|
+
function o() {
|
|
152
|
+
var u;
|
|
153
|
+
(u = m.onCancel) == null || u.call(m), r(!1);
|
|
154
|
+
}
|
|
155
|
+
return /* @__PURE__ */ s(
|
|
156
|
+
y,
|
|
157
|
+
{
|
|
158
|
+
unmountOnExit: !0,
|
|
159
|
+
simple: !0,
|
|
160
|
+
...m,
|
|
161
|
+
visible: c,
|
|
162
|
+
onOk: l,
|
|
163
|
+
onCancel: o,
|
|
164
|
+
children: m.content
|
|
165
|
+
}
|
|
166
|
+
);
|
|
167
|
+
}
|
|
168
|
+
const In = De(Pn);
|
|
169
|
+
function $n() {
|
|
170
|
+
const n = x(), i = /* @__PURE__ */ s(sn, { ref: n });
|
|
171
|
+
let c = 0;
|
|
172
|
+
function r(l) {
|
|
173
|
+
var b;
|
|
174
|
+
c += 1;
|
|
175
|
+
let o, u = { ...l };
|
|
176
|
+
function g() {
|
|
177
|
+
var f;
|
|
178
|
+
(f = l.afterClose) == null || f.call(l), I();
|
|
179
|
+
}
|
|
180
|
+
const h = /* @__PURE__ */ s(
|
|
181
|
+
In,
|
|
182
|
+
{
|
|
183
|
+
ref: (f) => {
|
|
184
|
+
o = f;
|
|
185
|
+
},
|
|
186
|
+
...q({ ...l }),
|
|
187
|
+
afterClose: g
|
|
188
|
+
},
|
|
189
|
+
c
|
|
190
|
+
);
|
|
191
|
+
(b = n.current) == null || b.addInstance(h);
|
|
192
|
+
function I() {
|
|
193
|
+
var f;
|
|
194
|
+
(f = n.current) == null || f.removeInstance(h);
|
|
195
|
+
}
|
|
196
|
+
function E() {
|
|
197
|
+
o == null || o.close();
|
|
198
|
+
}
|
|
199
|
+
function a(f) {
|
|
200
|
+
u = {
|
|
201
|
+
...u,
|
|
202
|
+
...f
|
|
203
|
+
}, o == null || o.update(q({ ...u }));
|
|
204
|
+
}
|
|
205
|
+
return R.push(E), {
|
|
206
|
+
close: E,
|
|
207
|
+
update: a
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
function m(l) {
|
|
211
|
+
return r({
|
|
212
|
+
...l
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
const M = {
|
|
216
|
+
confirm: m,
|
|
217
|
+
show: m
|
|
218
|
+
// 潘启宝添加于 2023年10月18日 星期三 10时31分58秒 CST
|
|
219
|
+
};
|
|
220
|
+
return ["info", "success", "warning", "error"].forEach((l) => {
|
|
221
|
+
M[l] = (o) => r({
|
|
222
|
+
...o,
|
|
223
|
+
isNotice: !0,
|
|
224
|
+
noticeType: l
|
|
225
|
+
});
|
|
226
|
+
}), [M, i];
|
|
227
|
+
}
|
|
228
|
+
let le = null, Dn = 0;
|
|
229
|
+
hn || document.documentElement.addEventListener(
|
|
230
|
+
"click",
|
|
231
|
+
(n) => {
|
|
232
|
+
le = {
|
|
233
|
+
left: n.clientX,
|
|
234
|
+
top: n.clientY
|
|
235
|
+
}, setTimeout(() => {
|
|
236
|
+
le = null;
|
|
237
|
+
}, 100);
|
|
238
|
+
},
|
|
239
|
+
!0
|
|
240
|
+
);
|
|
241
|
+
const Rn = {
|
|
242
|
+
mask: !0,
|
|
243
|
+
maskClosable: !0,
|
|
244
|
+
mountOnEnter: !0,
|
|
245
|
+
escToExit: !0,
|
|
246
|
+
getPopupContainer: () => document.body,
|
|
247
|
+
alignCenter: !0
|
|
248
|
+
};
|
|
249
|
+
function On(n, i) {
|
|
250
|
+
var Te, ke;
|
|
251
|
+
i || (i = x());
|
|
252
|
+
const c = ln(an), r = dn(
|
|
253
|
+
n,
|
|
254
|
+
Rn,
|
|
255
|
+
(Te = c.componentConfig) == null ? void 0 : Te.Modal
|
|
256
|
+
), {
|
|
257
|
+
className: m,
|
|
258
|
+
style: M,
|
|
259
|
+
visible: l,
|
|
260
|
+
simple: o,
|
|
261
|
+
title: u,
|
|
262
|
+
subtitle: g,
|
|
263
|
+
children: h,
|
|
264
|
+
cancelText: I,
|
|
265
|
+
okText: E,
|
|
266
|
+
okButtonProps: a,
|
|
267
|
+
cancelButtonProps: b,
|
|
268
|
+
getPopupContainer: f = () => document.body,
|
|
269
|
+
footer: F,
|
|
270
|
+
afterClose: W,
|
|
271
|
+
confirmLoading: Oe,
|
|
272
|
+
mountOnEnter: Z,
|
|
273
|
+
unmountOnExit: j,
|
|
274
|
+
afterOpen: A,
|
|
275
|
+
hideCancel: Le,
|
|
276
|
+
maskClosable: Xe,
|
|
277
|
+
mask: H,
|
|
278
|
+
alignCenter: Ye,
|
|
279
|
+
getChildrenPopupContainer: ie,
|
|
280
|
+
wrapClassName: Fe,
|
|
281
|
+
escToExit: K,
|
|
282
|
+
modalRender: ae,
|
|
283
|
+
maskStyle: He,
|
|
284
|
+
wrapStyle: Be,
|
|
285
|
+
closeIcon: ce,
|
|
286
|
+
fullscreenable: Ln,
|
|
287
|
+
okButton: p,
|
|
288
|
+
...ue
|
|
289
|
+
} = r, L = x(null), de = x(null), w = x(null), [me, fe] = O(), [pe, Se] = O(), B = x(null), X = x(!1), [Ue, Ce] = O(""), [he, be] = O("");
|
|
290
|
+
un();
|
|
291
|
+
const G = x(!0);
|
|
292
|
+
l && G.current && (G.current = !1);
|
|
293
|
+
const S = x();
|
|
294
|
+
S.current || (S.current = Dn++);
|
|
295
|
+
const [Ve, J] = mn(!1, {
|
|
296
|
+
defaultValue: !1,
|
|
297
|
+
value: Oe
|
|
298
|
+
}), d = (ke = c.getPrefixCls) == null ? void 0 : ke.call(c, "modal", r.prefixCls), { locale: $, rtl: ge } = c, ze = !o || ue.noticeType === "show", qe = "closable" in r ? r.closable : ze, We = z(() => vn(f()), [f]);
|
|
299
|
+
fn(We, { hidden: l && H });
|
|
300
|
+
function Q(e) {
|
|
301
|
+
e.stopPropagation(), _();
|
|
302
|
+
}
|
|
303
|
+
function _() {
|
|
304
|
+
var e;
|
|
305
|
+
(e = r.onCancel) == null || e.call(r);
|
|
306
|
+
}
|
|
307
|
+
const Ze = (e) => {
|
|
308
|
+
K && l && e.key === bn.key && (e.stopPropagation(), _());
|
|
309
|
+
}, ee = x(!1), je = (e) => {
|
|
310
|
+
X.current && (X.current = !1, !ee.current && Xe && H && e.target === e.currentTarget && setTimeout(() => {
|
|
311
|
+
_();
|
|
312
|
+
}, 100));
|
|
313
|
+
}, Ae = (e) => {
|
|
314
|
+
var C;
|
|
315
|
+
const t = (C = r.onOk ?? r.onConfirm) == null ? void 0 : C(e);
|
|
316
|
+
t != null && t.then && (J(!0), t.then(
|
|
317
|
+
() => {
|
|
318
|
+
J(!1);
|
|
319
|
+
},
|
|
320
|
+
(v) => {
|
|
321
|
+
J(!1), console.error(v);
|
|
322
|
+
}
|
|
323
|
+
));
|
|
324
|
+
};
|
|
325
|
+
oe(() => {
|
|
326
|
+
let e = null;
|
|
327
|
+
return K && (e = setTimeout(() => {
|
|
328
|
+
var t;
|
|
329
|
+
Cn(document.body, L.current) && ((t = L.current) == null || t.focus());
|
|
330
|
+
})), () => {
|
|
331
|
+
e && clearTimeout(e);
|
|
332
|
+
};
|
|
333
|
+
}, [l, K]);
|
|
334
|
+
const Ke = () => {
|
|
335
|
+
var e;
|
|
336
|
+
if (l && pe === void 0 && L.current) {
|
|
337
|
+
const t = +((e = window.getComputedStyle(L.current, null)) == null ? void 0 : e.zIndex);
|
|
338
|
+
isNaN(t) || Se(t + 1);
|
|
339
|
+
}
|
|
340
|
+
}, Ge = () => {
|
|
341
|
+
var v, T, k, D, V, N, P;
|
|
342
|
+
if (F === null)
|
|
343
|
+
return;
|
|
344
|
+
const e = ((v = r.cancelButton) == null ? void 0 : v.visible) !== !1 && /* @__PURE__ */ s(
|
|
345
|
+
Ne,
|
|
346
|
+
{
|
|
347
|
+
onClick: Q,
|
|
348
|
+
...b,
|
|
349
|
+
...(T = r.cancelButton) == null ? void 0 : T.props,
|
|
350
|
+
children: ((D = (k = r.cancelButton) == null ? void 0 : k.props) == null ? void 0 : D.children) || ((V = r.cancelButton) == null ? void 0 : V.label) || ((N = r.cancelButton) == null ? void 0 : N.text) || I || ($ == null ? void 0 : $.Modal.cancelText)
|
|
351
|
+
}
|
|
352
|
+
), t = (p == null ? void 0 : p.visible) !== !1 && /* @__PURE__ */ s(
|
|
353
|
+
Ne,
|
|
354
|
+
{
|
|
355
|
+
loading: Ve,
|
|
356
|
+
onClick: Ae,
|
|
357
|
+
type: "primary",
|
|
358
|
+
...a,
|
|
359
|
+
...p == null ? void 0 : p.props,
|
|
360
|
+
children: ((P = p == null ? void 0 : p.props) == null ? void 0 : P.children) || (p == null ? void 0 : p.label) || (p == null ? void 0 : p.text) || E || ($ == null ? void 0 : $.Modal.okText)
|
|
361
|
+
}
|
|
362
|
+
), C = ye(F) ? F(e, t) : F || /* @__PURE__ */ Y(nn, { children: [
|
|
363
|
+
!Le && e,
|
|
364
|
+
t
|
|
365
|
+
] });
|
|
366
|
+
return /* @__PURE__ */ s("div", { className: `${d}-footer`, children: C });
|
|
367
|
+
}, ne = x(
|
|
368
|
+
Me()
|
|
369
|
+
), Je = z((e) => {
|
|
370
|
+
var C, v, T, k, D;
|
|
371
|
+
if (!w.current) return;
|
|
372
|
+
e.preventDefault();
|
|
373
|
+
const t = ne.current;
|
|
374
|
+
t.screenX = e.screenX, t.screenY = e.screenY, t.prewTranslateX = t.translateX, t.prewTranslateY = t.translateY, t.boundingClientRect = ((v = (C = w.current) == null ? void 0 : C.getBoundingClientRect) == null ? void 0 : v.call(C)) ?? {}, t.offsetParentBoundingClientRect = ((D = (k = (T = w.current) == null ? void 0 : T.offsetParent) == null ? void 0 : k.getBoundingClientRect) == null ? void 0 : D.call(k)) ?? {}, U(), Qe();
|
|
375
|
+
}, []), ve = z((e) => {
|
|
376
|
+
e.preventDefault();
|
|
377
|
+
const t = ne.current, { left: C, right: v, top: T, bottom: k } = t.boundingClientRect ?? {}, { width: D, height: V } = t.offsetParentBoundingClientRect ?? {};
|
|
378
|
+
let N = Math.max(e.screenX - t.screenX, -C);
|
|
379
|
+
N = Math.min(N, D - v);
|
|
380
|
+
let P = Math.max(e.screenY - t.screenY, -T);
|
|
381
|
+
P = Math.min(P, V - k), N += t.prewTranslateX, P += t.prewTranslateY, t.translateX = N, t.translateY = P, Ce(`translate(${N}px, ${P}px)`);
|
|
382
|
+
}, []), xe = z((e) => {
|
|
383
|
+
e.preventDefault(), U();
|
|
384
|
+
}, []);
|
|
385
|
+
function Qe() {
|
|
386
|
+
document.documentElement.addEventListener(
|
|
387
|
+
"mousemove",
|
|
388
|
+
ve
|
|
389
|
+
), document.documentElement.addEventListener(
|
|
390
|
+
"mouseup",
|
|
391
|
+
xe
|
|
392
|
+
);
|
|
393
|
+
}
|
|
394
|
+
function U() {
|
|
395
|
+
document.documentElement.removeEventListener(
|
|
396
|
+
"mousemove",
|
|
397
|
+
ve
|
|
398
|
+
), document.documentElement.removeEventListener(
|
|
399
|
+
"mouseup",
|
|
400
|
+
xe
|
|
401
|
+
);
|
|
402
|
+
}
|
|
403
|
+
function Me() {
|
|
404
|
+
return {
|
|
405
|
+
screenX: 0,
|
|
406
|
+
screenY: 0,
|
|
407
|
+
prewTranslateX: 0,
|
|
408
|
+
prewTranslateY: 0,
|
|
409
|
+
translateX: 0,
|
|
410
|
+
translateY: 0,
|
|
411
|
+
boundingClientRect: null,
|
|
412
|
+
offsetParentBoundingClientRect: null
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
function te() {
|
|
416
|
+
ne.current = Me(), Ce(""), be("");
|
|
417
|
+
}
|
|
418
|
+
oe(() => () => {
|
|
419
|
+
te(), U();
|
|
420
|
+
}, []), oe(() => (w.current || (te(), U()), () => {
|
|
421
|
+
}), [w.current]);
|
|
422
|
+
const _e = /* @__PURE__ */ Y(
|
|
423
|
+
Re,
|
|
424
|
+
{
|
|
425
|
+
...c,
|
|
426
|
+
childrenName: "Modal",
|
|
427
|
+
prefixCls: r.prefixCls || c.prefixCls,
|
|
428
|
+
locale: $,
|
|
429
|
+
zIndex: pe || 1050,
|
|
430
|
+
getPopupContainer: (e) => typeof ie == "function" ? ie(e) : de.current,
|
|
431
|
+
children: [
|
|
432
|
+
(!!u || !!g) && /* @__PURE__ */ Y("div", { className: `${d}-header`, children: [
|
|
433
|
+
!!u && /* @__PURE__ */ s(
|
|
434
|
+
"div",
|
|
435
|
+
{
|
|
436
|
+
className: `${d}-title`,
|
|
437
|
+
id: `pqb-dialog-${S.current}`,
|
|
438
|
+
children: u
|
|
439
|
+
}
|
|
440
|
+
),
|
|
441
|
+
!!g && /* @__PURE__ */ s("div", { className: `${d}-subtitle`, children: g })
|
|
442
|
+
] }),
|
|
443
|
+
/* @__PURE__ */ s("div", { ref: de, className: `${d}-content`, children: h }),
|
|
444
|
+
Ge(),
|
|
445
|
+
!r.fullscreenable && r.draggable !== !1 && /* @__PURE__ */ s(
|
|
446
|
+
"div",
|
|
447
|
+
{
|
|
448
|
+
className: `${d}-drag-icon`,
|
|
449
|
+
onMouseDown: Je,
|
|
450
|
+
onDoubleClick: te
|
|
451
|
+
}
|
|
452
|
+
),
|
|
453
|
+
(qe || !!r.fullscreenable) && (ce !== void 0 ? /* @__PURE__ */ s(
|
|
454
|
+
"span",
|
|
455
|
+
{
|
|
456
|
+
className: `${d}-close-icon`,
|
|
457
|
+
onClick: Q,
|
|
458
|
+
children: ce
|
|
459
|
+
}
|
|
460
|
+
) : /* @__PURE__ */ s(
|
|
461
|
+
cn,
|
|
462
|
+
{
|
|
463
|
+
tabIndex: -1,
|
|
464
|
+
className: `${d}-close-icon`,
|
|
465
|
+
onClick: Q,
|
|
466
|
+
role: "button",
|
|
467
|
+
"aria-label": "Close",
|
|
468
|
+
children: /* @__PURE__ */ s(tn, {})
|
|
469
|
+
}
|
|
470
|
+
))
|
|
471
|
+
]
|
|
472
|
+
}
|
|
473
|
+
), en = u ? { "aria-labelledby": `pqb-dialog-${S.current}` } : {}, Ee = /* @__PURE__ */ s(
|
|
474
|
+
"div",
|
|
475
|
+
{
|
|
476
|
+
role: "dialog",
|
|
477
|
+
"aria-modal": "true",
|
|
478
|
+
...en,
|
|
479
|
+
className: Ie(
|
|
480
|
+
d,
|
|
481
|
+
{
|
|
482
|
+
[`${d}-simple`]: o,
|
|
483
|
+
[`${d}-rtl`]: ge,
|
|
484
|
+
[`${d}-fullscreenable`]: r.fullscreenable
|
|
485
|
+
},
|
|
486
|
+
m
|
|
487
|
+
),
|
|
488
|
+
style: {
|
|
489
|
+
...M,
|
|
490
|
+
transform: Ue,
|
|
491
|
+
transformOrigin: he
|
|
492
|
+
},
|
|
493
|
+
ref: w,
|
|
494
|
+
children: _e
|
|
495
|
+
}
|
|
496
|
+
), re = (e) => {
|
|
497
|
+
if (he)
|
|
498
|
+
return;
|
|
499
|
+
let t = "";
|
|
500
|
+
if (B.current) {
|
|
501
|
+
const C = e.getBoundingClientRect(), { left: v, top: T } = B.current;
|
|
502
|
+
t = `${v - C.left}px ${T - C.top}px`;
|
|
503
|
+
}
|
|
504
|
+
be(t);
|
|
505
|
+
}, we = G.current ? !Z : !!w.current;
|
|
506
|
+
return l || we ? /* @__PURE__ */ s(
|
|
507
|
+
pn,
|
|
508
|
+
{
|
|
509
|
+
visible: l,
|
|
510
|
+
forceRender: we,
|
|
511
|
+
getContainer: f,
|
|
512
|
+
children: /* @__PURE__ */ Y(
|
|
513
|
+
"div",
|
|
514
|
+
{
|
|
515
|
+
ref: i,
|
|
516
|
+
className: `${d}-container`,
|
|
517
|
+
children: [
|
|
518
|
+
H ? /* @__PURE__ */ s(
|
|
519
|
+
Pe,
|
|
520
|
+
{
|
|
521
|
+
in: l,
|
|
522
|
+
timeout: 400,
|
|
523
|
+
appear: !0,
|
|
524
|
+
mountOnEnter: Z,
|
|
525
|
+
classNames: "fadeModal",
|
|
526
|
+
unmountOnExit: j,
|
|
527
|
+
onEnter: (e) => {
|
|
528
|
+
e && (e.style.display = "block");
|
|
529
|
+
},
|
|
530
|
+
onExited: (e) => {
|
|
531
|
+
e && (e.style.display = "none");
|
|
532
|
+
},
|
|
533
|
+
children: /* @__PURE__ */ s(
|
|
534
|
+
"div",
|
|
535
|
+
{
|
|
536
|
+
"aria-hidden": !0,
|
|
537
|
+
className: `${d}-mask`,
|
|
538
|
+
style: He
|
|
539
|
+
}
|
|
540
|
+
)
|
|
541
|
+
}
|
|
542
|
+
) : null,
|
|
543
|
+
/* @__PURE__ */ s(
|
|
544
|
+
"div",
|
|
545
|
+
{
|
|
546
|
+
...gn(ue, [
|
|
547
|
+
"content",
|
|
548
|
+
"icon",
|
|
549
|
+
"showIcon",
|
|
550
|
+
"isNotice",
|
|
551
|
+
"noticeType",
|
|
552
|
+
"onCancel",
|
|
553
|
+
"onOk",
|
|
554
|
+
"onConfirm",
|
|
555
|
+
"closable",
|
|
556
|
+
"prefixCls"
|
|
557
|
+
]),
|
|
558
|
+
tabIndex: -1,
|
|
559
|
+
ref: (e) => {
|
|
560
|
+
L.current = e, Ke();
|
|
561
|
+
},
|
|
562
|
+
className: Ie(
|
|
563
|
+
`${d}-wrapper`,
|
|
564
|
+
{
|
|
565
|
+
[`${d}-wrapper-no-mask`]: !H,
|
|
566
|
+
[`${d}-wrapper-align-center`]: Ye,
|
|
567
|
+
[`${d}-wrapper-rtl`]: ge
|
|
568
|
+
},
|
|
569
|
+
Fe
|
|
570
|
+
),
|
|
571
|
+
style: {
|
|
572
|
+
...Be || {},
|
|
573
|
+
// 必须 visible=false,立即设置display:none,否则modal加载react-monaco-editor的时候,编辑器显示异常
|
|
574
|
+
display: l || me ? "block" : "none",
|
|
575
|
+
overflow: !l && me ? "hidden" : ""
|
|
576
|
+
},
|
|
577
|
+
onKeyDown: Ze,
|
|
578
|
+
onMouseDown: (e) => {
|
|
579
|
+
X.current = e.target === e.currentTarget;
|
|
580
|
+
},
|
|
581
|
+
onClick: je,
|
|
582
|
+
children: /* @__PURE__ */ s(
|
|
583
|
+
Pe,
|
|
584
|
+
{
|
|
585
|
+
in: l,
|
|
586
|
+
timeout: 400,
|
|
587
|
+
appear: !0,
|
|
588
|
+
classNames: "zoomModal",
|
|
589
|
+
unmountOnExit: j,
|
|
590
|
+
mountOnEnter: Z,
|
|
591
|
+
onEnter: (e) => {
|
|
592
|
+
e && (fe(!0), B.current = le, re(e), w.current = e);
|
|
593
|
+
},
|
|
594
|
+
onEntered: (e) => {
|
|
595
|
+
e && (re(e), B.current = null, A == null || A());
|
|
596
|
+
},
|
|
597
|
+
onExit: () => {
|
|
598
|
+
ee.current = !0;
|
|
599
|
+
},
|
|
600
|
+
onExited: (e) => {
|
|
601
|
+
e && (fe(!1), re(e), W == null || W(), ee.current = !1, j && (w.current = null));
|
|
602
|
+
},
|
|
603
|
+
children: rn.cloneElement(
|
|
604
|
+
ye(ae) ? ae(Ee) : Ee,
|
|
605
|
+
{
|
|
606
|
+
onMouseDown: () => {
|
|
607
|
+
X.current = !1;
|
|
608
|
+
},
|
|
609
|
+
onMouseUp: () => {
|
|
610
|
+
X.current = !1;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
)
|
|
614
|
+
}
|
|
615
|
+
)
|
|
616
|
+
}
|
|
617
|
+
)
|
|
618
|
+
]
|
|
619
|
+
}
|
|
620
|
+
)
|
|
621
|
+
}
|
|
622
|
+
) : null;
|
|
623
|
+
}
|
|
624
|
+
const y = De(
|
|
625
|
+
On
|
|
626
|
+
);
|
|
627
|
+
y.displayName = "Modal";
|
|
628
|
+
y.config = yn;
|
|
629
|
+
y.show = (n) => se({ ...n, noticeType: "show" });
|
|
630
|
+
y.confirm = (n) => se(n);
|
|
631
|
+
y.useModal = $n;
|
|
632
|
+
["info", "success", "warning", "error"].forEach((n) => {
|
|
633
|
+
y[n] = (i) => se({
|
|
634
|
+
...i,
|
|
635
|
+
isNotice: !0,
|
|
636
|
+
noticeType: n
|
|
637
|
+
});
|
|
638
|
+
});
|
|
639
|
+
y.destroyAll = () => {
|
|
640
|
+
for (; R.length; ) {
|
|
641
|
+
const n = R.pop();
|
|
642
|
+
n && n();
|
|
643
|
+
}
|
|
644
|
+
};
|
|
645
|
+
export {
|
|
646
|
+
y as E,
|
|
647
|
+
se as c,
|
|
648
|
+
q as n
|
|
649
|
+
};
|
|
@@ -3,7 +3,7 @@ import Ke from "@unicom-cloud/icons/IconUiMenuFold";
|
|
|
3
3
|
import Re from "@unicom-cloud/icons/IconUiMenuUnfold";
|
|
4
4
|
import _e from "lodash/isPlainObject";
|
|
5
5
|
import F, { useContext as A, useState as fe, forwardRef as he, useEffect as ne, useRef as te, useMemo as Ae } from "react";
|
|
6
|
-
import { a as ge } from "./
|
|
6
|
+
import { a as ge } from "./B44Hj5ad.js";
|
|
7
7
|
import { u as Te } from "./CQ_WOOmf.js";
|
|
8
8
|
import { u as oe } from "./B4YRLi8r.js";
|
|
9
9
|
import { u as Ue } from "./BYdIoY50.js";
|