@unicom-cloud/ui 0.8.83 → 0.8.85
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/Form.js +13 -13
- 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 +3 -3
- 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/B1kymbJZ.js +843 -0
- package/chunk/B44Hj5ad.js +697 -0
- package/chunk/BC2OXILt.js +178 -0
- package/chunk/BJjotfW6.js +257 -0
- package/chunk/BNevupAU.js +72 -0
- package/chunk/BP4igg_F.js +213 -0
- package/chunk/BRPQJFSI.js +649 -0
- package/chunk/BZJwzdhZ.js +473 -0
- package/chunk/C7bohPVD.js +185 -0
- package/chunk/DSXeBMp3.js +7828 -0
- package/chunk/Doi4-DdV.js +1472 -0
- package/chunk/DuWBv5j3.js +570 -0
- package/chunk/DzekwbB4.js +53 -0
- 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 +14 -158
- package/form/FormItem.js +1 -1
- package/form/FormList.js +3 -2
- package/form/context.js +1 -1
- package/form/index.js +57 -56
- 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/icons/file.js +67 -0
- 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 +341 -334
- 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 +135 -83
- package/space-/index.js +92 -0
- package/space-/interface.js +1 -0
- package/space-/toArray.js +11 -0
- 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 +84 -84
- 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/icons/file/index.d.ts +4 -0
- package/types/common/icons/file/interface.d.ts +20 -0
- package/types/common/space/index.d.ts +5 -0
- package/types/common/space/interface.d.ts +32 -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/color.d.ts +1 -0
- package/types/common/utils/constant.d.ts +2 -0
- package/types/common/utils/copy.d.ts +3 -0
- 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/index.d.ts +40 -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/tree.d.ts +1 -0
- package/types/common/utils/validate.d.ts +1 -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/pc/anchor/util.d.ts +5 -0
- 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/pc/button/index.d.ts +19 -0
- 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/pc/cascader/base/node.d.ts +78 -0
- package/types/pc/cascader/base/store.d.ts +43 -0
- package/types/pc/cascader/interface.d.ts +308 -0
- package/types/pc/checkbox/interface.d.ts +102 -0
- package/types/pc/checkbox/useCheckbox.d.ts +22 -0
- package/types/pc/collapse/interface.d.ts +111 -0
- package/types/pc/color-picker/hooks/useColorPicker.d.ts +34 -0
- package/types/pc/color-picker/interface.d.ts +149 -0
- package/types/pc/comment/interface.d.ts +41 -0
- package/types/pc/config-provider/interface.d.ts +241 -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/pc/draggable/interface.d.ts +24 -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/pc/form/Control.d.ts +64 -0
- package/types/pc/form/FormList.d.ts +6 -0
- package/types/pc/form/hook/useContext.d.ts +10 -0
- package/types/pc/form/hook/useForm.d.ts +5 -0
- package/types/pc/form/index.d.ts +26 -0
- package/types/pc/form/interface.d.ts +544 -0
- package/types/pc/form/store.d.ts +98 -0
- package/types/pc/grid/interface.d.ts +239 -0
- package/types/pc/hooks/use-verification-code/interface.d.ts +63 -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/icons/file/index.d.ts +4 -0
- package/types/pc/icons/file/interface.d.ts +7 -0
- package/types/pc/image/interface.d.ts +275 -0
- package/types/pc/index.d.ts +153 -0
- package/types/pc/input/Input.d.ts +26 -0
- package/types/pc/input/Textarea.d.ts +12 -0
- package/types/pc/input/index.d.ts +8 -0
- package/types/pc/input/interface.d.ts +344 -0
- package/types/pc/input-number/decimal.d.ts +21 -0
- package/types/pc/input-number/interface.d.ts +141 -0
- package/types/pc/input-number/util.d.ts +28 -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/pc/menu/context.d.ts +15 -0
- 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/pc/pagination/PageItem.d.ts +63 -0
- package/types/pc/pagination/interface.d.ts +134 -0
- package/types/pc/popconfirm/interface.d.ts +114 -0
- package/types/pc/popover/interface.d.ts +20 -0
- package/types/pc/portal/Portal.d.ts +8 -0
- package/types/pc/portal/index.d.ts +11 -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/pc/resize-box/ResizeTrigger.d.ts +31 -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/pc/select/util.d.ts +26 -0
- package/types/pc/select-view/interface.d.ts +151 -0
- package/types/pc/skeleton/interface.d.ts +50 -0
- package/types/pc/slider/interface.d.ts +122 -0
- package/types/pc/space/index.d.ts +5 -0
- package/types/pc/space/interface.d.ts +10 -0
- package/types/pc/space-/index.d.ts +6 -0
- package/types/pc/space-/interface.d.ts +38 -0
- package/types/pc/space-/toArray.d.ts +3 -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/pc/table/hook/useThResizable.d.ts +7 -0
- package/types/pc/table/interface.d.ts +715 -0
- package/types/pc/table/util.d.ts +17 -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/computeScrollIntoView.d.ts +1 -0
- package/types/pc/utils/constant.d.ts +4 -0
- package/types/pc/utils/copy.d.ts +3 -0
- package/types/pc/utils/dayjs.d.ts +1 -0
- package/types/pc/utils/dom.d.ts +1 -0
- 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/pc/utils/is.d.ts +1 -0
- package/types/pc/utils/keyboardCode.d.ts +4 -0
- package/types/pc/utils/lodash.d.ts +1 -0
- package/types/pc/utils/math.d.ts +1 -0
- package/types/pc/utils/mergeProps.d.ts +3 -0
- package/types/pc/utils/mergedToString.d.ts +3 -0
- package/types/pc/utils/names.d.ts +505 -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/reactTransitionGroup.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/pc/utils/scrollIntoView.d.ts +3 -0
- 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/tween.d.ts +1 -0
- package/types/pc/utils/type.d.ts +1 -0
- package/types/pc/utils/uuid.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/pc/virtual-list/Filler.d.ts +15 -0
- package/types/pc/virtual-list/VirtualList.d.ts +40 -0
- package/types/pc/virtual-list/util/algorithm.d.ts +23 -0
- package/types/pc/virtual-list/util/item.d.ts +75 -0
- package/types/pc/watermark/interface.d.ts +70 -0
- package/typography/Base.js +1 -1
- package/typography/Ellipsis.js +12 -10
- 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/BZ9g7J4R.js +0 -178
- package/chunk/BmulTYLW.js +0 -7815
- package/chunk/C9oo3EJI.js +0 -692
- package/chunk/CVSWh4ZZ.js +0 -473
- package/chunk/DILUZgXW.js +0 -1464
- package/chunk/DSRHFFrc.js +0 -53
- package/chunk/DdJVL_4g.js +0 -570
- package/chunk/DlHiTTJO.js +0 -648
- package/chunk/R-uQJib2.js +0 -843
- package/chunk/ev6oHWqY.js +0 -257
- package/chunk/tamGhTJp.js +0 -186
- package/chunk/uKZyjtff.js +0 -73
- package/form/useForm.js +0 -53
- package/space/toArray.js +0 -11
- 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/anchor/util.d.ts +0 -5
- 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/index.d.ts +0 -19
- 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/base/node.d.ts +0 -48
- package/types/cascader/base/store.d.ts +0 -26
- 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/checkbox/useCheckbox.d.ts +0 -13
- package/types/collapse/interface.d.ts +0 -27
- package/types/collapse/style/index.d.ts +0 -2
- package/types/color-picker/hooks/useColorPicker.d.ts +0 -34
- 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/interface.d.ts +0 -170
- 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/interface.d.ts +0 -22
- 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/Control.d.ts +0 -56
- package/types/form/FormList.d.ts +0 -6
- package/types/form/hook/useContext.d.ts +0 -7
- package/types/form/index.d.ts +0 -25
- package/types/form/interface.d.ts +0 -228
- package/types/form/store.d.ts +0 -88
- package/types/form/style/index.d.ts +0 -3
- package/types/form/useForm.d.ts +0 -4
- package/types/grid/interface.d.ts +0 -76
- package/types/grid/style/index.d.ts +0 -2
- package/types/hooks/use-verification-code/interface.d.ts +0 -22
- 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/index.d.ts +0 -149
- package/types/input/Input.d.ts +0 -27
- package/types/input/Textarea.d.ts +0 -9
- package/types/input/index.d.ts +0 -8
- package/types/input/interface.d.ts +0 -100
- package/types/input/style/index.d.ts +0 -3
- package/types/input-number/decimal.d.ts +0 -16
- package/types/input-number/interface.d.ts +0 -37
- package/types/input-number/style/index.d.ts +0 -3
- package/types/input-number/util.d.ts +0 -13
- 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/context.d.ts +0 -15
- 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/PageItem.d.ts +0 -52
- 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/interface.d.ts +0 -8
- package/types/popover/style/index.d.ts +0 -3
- package/types/portal/Portal.d.ts +0 -7
- package/types/portal/index.d.ts +0 -10
- 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/ResizeTrigger.d.ts +0 -25
- 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/util.d.ts +0 -25
- package/types/select-view/interface.d.ts +0 -62
- package/types/select-view/style/index.d.ts +0 -2
- package/types/skeleton/interface.d.ts +0 -24
- 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/index.d.ts +0 -7
- package/types/space/interface.d.ts +0 -12
- package/types/space/style/index.d.ts +0 -2
- package/types/space/toArray.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/hook/useThResizable.d.ts +0 -7
- package/types/table/interface.d.ts +0 -301
- package/types/table/style/index.d.ts +0 -12
- package/types/table/util.d.ts +0 -17
- 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/copy.d.ts +0 -3
- package/types/utils/dayjs.d.ts +0 -1
- package/types/utils/dom.d.ts +0 -1
- 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/is.d.ts +0 -1
- package/types/utils/lodash.d.ts +0 -1
- package/types/utils/mergeProps.d.ts +0 -3
- package/types/utils/mergedToString.d.ts +0 -3
- package/types/utils/names.d.ts +0 -499
- 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/scrollIntoView.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/Filler.d.ts +0 -10
- package/types/virtual-list/VirtualList.d.ts +0 -39
- package/types/virtual-list/style/index.d.ts +0 -2
- package/types/virtual-list/util/algorithm.d.ts +0 -6
- package/types/virtual-list/util/item.d.ts +0 -44
- package/types/watermark/interface.d.ts +0 -21
- package/types/watermark/style/index.d.ts +0 -1
- /package/types/{utils → common/utils}/computeScrollIntoView.d.ts +0 -0
- /package/types/{utils → common/utils}/keyboardCode.d.ts +0 -0
- /package/types/{utils → common/utils}/math.d.ts +0 -0
- /package/types/{utils → common/utils}/reactTransitionGroup.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}/tween.d.ts +0 -0
- /package/types/{utils → common/utils}/type.d.ts +0 -0
- /package/types/{utils → common/utils}/uuid.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}/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}/promisify.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/{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/{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}/contextHolder.d.ts +0 -0
- /package/types/{utils → pc/utils}/index.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}/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
|
@@ -0,0 +1,570 @@
|
|
|
1
|
+
var ht = Object.defineProperty;
|
|
2
|
+
var vt = (a, t, o) => t in a ? ht(a, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : a[t] = o;
|
|
3
|
+
var ke = (a, t, o) => vt(a, typeof t != "symbol" ? t + "" : t, o);
|
|
4
|
+
import { jsx as s, jsxs as M } from "react/jsx-runtime";
|
|
5
|
+
import xe from "@unicom-cloud/icons/IconUiClose";
|
|
6
|
+
import bt from "@unicom-cloud/icons/IconUiCopy";
|
|
7
|
+
import yt from "@unicom-cloud/icons/IconUiFullscreen";
|
|
8
|
+
import kt from "@unicom-cloud/icons/IconUiLeft";
|
|
9
|
+
import xt from "@unicom-cloud/icons/IconUiLoading";
|
|
10
|
+
import It from "@unicom-cloud/icons/IconUiOriginalSize";
|
|
11
|
+
import Ct from "@unicom-cloud/icons/IconUiRight";
|
|
12
|
+
import St from "@unicom-cloud/icons/IconUiRotateLeft";
|
|
13
|
+
import wt from "@unicom-cloud/icons/IconUiRotateRight";
|
|
14
|
+
import Pt from "@unicom-cloud/icons/IconUiZoomIn";
|
|
15
|
+
import Lt from "@unicom-cloud/icons/IconUiZoomOut";
|
|
16
|
+
import Nt from "lodash/isUndefined";
|
|
17
|
+
import { useState as h, forwardRef as zt, useContext as Ie, useRef as x, useMemo as Ce, useImperativeHandle as At, useCallback as Mt, useEffect as b } from "react";
|
|
18
|
+
import { a as Tt, b as Et } from "./B44Hj5ad.js";
|
|
19
|
+
import "lodash/isEqualWith";
|
|
20
|
+
import { u as Ot } from "./CXPOj2uy.js";
|
|
21
|
+
import "./ClM74To2.js";
|
|
22
|
+
import { ArrowDown as $t, ArrowUp as Ut, ArrowLeft as Rt, ArrowRight as Yt, Esc as Dt } from "@unicom-cloud/utils/constant/keyboardCode";
|
|
23
|
+
import "lodash/isNumber";
|
|
24
|
+
import "lodash/merge";
|
|
25
|
+
import { isServerRendering as Xt, on as Q, off as ee } from "../utils/dom.js";
|
|
26
|
+
import "./B4WG1mhs.js";
|
|
27
|
+
import { u as Vt } from "./BFTV6myl.js";
|
|
28
|
+
import { u as Bt } from "./DU1RCDfh.js";
|
|
29
|
+
import { f as Ft } from "./BZ3igxQN.js";
|
|
30
|
+
import "@unicom-cloud/utils/constant";
|
|
31
|
+
import { u as Wt } from "./a3hR6zLw.js";
|
|
32
|
+
import "lodash/debounce";
|
|
33
|
+
import Zt from "../portal/index.js";
|
|
34
|
+
import { P as Se } from "./NPajzdOv.js";
|
|
35
|
+
import we from "@unicom-cloud/utils/class-name";
|
|
36
|
+
import jt from "@unicom-cloud/utils/clipboard-copy";
|
|
37
|
+
import { r as Ht } from "./CIRG541s.js";
|
|
38
|
+
import Gt from "../image/ImagePreviewArrow.js";
|
|
39
|
+
import _t from "../image/ImagePreviewToolbar.js";
|
|
40
|
+
import { PreviewGroupContext as qt } from "../image/previewGroupContext.js";
|
|
41
|
+
import Kt from "lodash/isArray";
|
|
42
|
+
function Jt(a, t, o, n, i) {
|
|
43
|
+
let f = o, u = n;
|
|
44
|
+
return o && (a.width > t.width ? f = 0 : (t.left > a.left && (f -= Math.abs(a.left - t.left) / i), t.right < a.right && (f += Math.abs(a.right - t.right) / i))), n && (a.height > t.height ? u = 0 : (t.top > a.top && (u -= Math.abs(a.top - t.top) / i), t.bottom < a.bottom && (u += Math.abs(a.bottom - t.bottom) / i))), [f, u];
|
|
45
|
+
}
|
|
46
|
+
const Pe = [
|
|
47
|
+
25,
|
|
48
|
+
33,
|
|
49
|
+
50,
|
|
50
|
+
67,
|
|
51
|
+
75,
|
|
52
|
+
80,
|
|
53
|
+
90,
|
|
54
|
+
100,
|
|
55
|
+
110,
|
|
56
|
+
125,
|
|
57
|
+
150,
|
|
58
|
+
175,
|
|
59
|
+
200,
|
|
60
|
+
250,
|
|
61
|
+
300,
|
|
62
|
+
400,
|
|
63
|
+
500
|
|
64
|
+
];
|
|
65
|
+
class Qt {
|
|
66
|
+
constructor(t) {
|
|
67
|
+
ke(this, "scaleAttr");
|
|
68
|
+
this.updateScale(t);
|
|
69
|
+
}
|
|
70
|
+
get scales() {
|
|
71
|
+
return this.scaleAttr;
|
|
72
|
+
}
|
|
73
|
+
get minScale() {
|
|
74
|
+
return this.scaleAttr[0];
|
|
75
|
+
}
|
|
76
|
+
get maxScale() {
|
|
77
|
+
return this.scaleAttr[this.scaleAttr.length - 1];
|
|
78
|
+
}
|
|
79
|
+
updateScale(t) {
|
|
80
|
+
let o = Pe;
|
|
81
|
+
if (Kt(t) && t.filter((n) => n > 0).length && (o = t.filter((n) => n > 0)), o = o.map((n) => +(n / 100).toFixed(2)), !o.includes(1)) {
|
|
82
|
+
const n = this.findClosestIndex(1, o), f = o[n] < 1 ? n + 1 : n;
|
|
83
|
+
o.splice(f, 0, 1);
|
|
84
|
+
}
|
|
85
|
+
this.scaleAttr = o;
|
|
86
|
+
}
|
|
87
|
+
findClosestIndex(t, o = this.scaleAttr) {
|
|
88
|
+
if (!o.length)
|
|
89
|
+
return;
|
|
90
|
+
if (o.length === 1)
|
|
91
|
+
return 0;
|
|
92
|
+
let n = o.length - 1;
|
|
93
|
+
for (let i = 0; i < o.length; i++) {
|
|
94
|
+
const f = o[i];
|
|
95
|
+
if (t === f) {
|
|
96
|
+
n = i;
|
|
97
|
+
break;
|
|
98
|
+
}
|
|
99
|
+
if (t < f) {
|
|
100
|
+
const u = o[i - 1];
|
|
101
|
+
n = u === void 0 || Math.abs(u - t) <= Math.abs(f - t) ? i - 1 : i;
|
|
102
|
+
break;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
return n;
|
|
106
|
+
}
|
|
107
|
+
getNextScale(t, o = "zoomIn") {
|
|
108
|
+
let n = this.scaleAttr.indexOf(t);
|
|
109
|
+
return n === -1 && (n = this.findClosestIndex(t)), o === "zoomIn" ? n === this.scaleAttr.length - 1 ? t : this.scaleAttr[n + 1] : n === 0 ? t : this.scaleAttr[n - 1];
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
function eo(a) {
|
|
113
|
+
const [t, o] = h(a);
|
|
114
|
+
return {
|
|
115
|
+
status: t,
|
|
116
|
+
isBeforeLoad: t === "beforeLoad",
|
|
117
|
+
isLoading: t === "loading",
|
|
118
|
+
isError: t === "error",
|
|
119
|
+
isLoaded: t === "loaded",
|
|
120
|
+
isLazyLoad: t === "lazyload",
|
|
121
|
+
setStatus: o
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
const te = 90, to = {
|
|
125
|
+
maskClosable: !0,
|
|
126
|
+
closable: !0,
|
|
127
|
+
breakPoint: 316,
|
|
128
|
+
actionsLayout: [
|
|
129
|
+
// 'fullScreen', // 潘启宝注释于2023年9月16日
|
|
130
|
+
"zoomOut",
|
|
131
|
+
"zoomIn",
|
|
132
|
+
"maximize",
|
|
133
|
+
"originalSize",
|
|
134
|
+
"rotateLeft",
|
|
135
|
+
"rotateRight",
|
|
136
|
+
"prev",
|
|
137
|
+
"next",
|
|
138
|
+
"copy",
|
|
139
|
+
"extra",
|
|
140
|
+
// 潘启宝更改
|
|
141
|
+
"close"
|
|
142
|
+
],
|
|
143
|
+
getPopupContainer: () => document.body,
|
|
144
|
+
escToExit: !0,
|
|
145
|
+
scales: Pe,
|
|
146
|
+
resetTranslate: !0
|
|
147
|
+
};
|
|
148
|
+
function oo(a, t) {
|
|
149
|
+
const {
|
|
150
|
+
previewGroup: o,
|
|
151
|
+
previewUrlMap: n,
|
|
152
|
+
currentIndex: i,
|
|
153
|
+
setCurrentIndex: f,
|
|
154
|
+
infinite: u,
|
|
155
|
+
previewPropsMap: oe
|
|
156
|
+
} = Ie(qt), Le = o ? oe.get(i) : {}, T = Vt(
|
|
157
|
+
a,
|
|
158
|
+
to,
|
|
159
|
+
Le
|
|
160
|
+
), {
|
|
161
|
+
className: Ne,
|
|
162
|
+
style: ze,
|
|
163
|
+
src: Ae,
|
|
164
|
+
defaultVisible: Me,
|
|
165
|
+
maskClosable: Te,
|
|
166
|
+
closable: Ee,
|
|
167
|
+
breakPoint: Oe,
|
|
168
|
+
actions: $e,
|
|
169
|
+
actionsLayout: Ue,
|
|
170
|
+
getPopupContainer: S,
|
|
171
|
+
onVisibleChange: E,
|
|
172
|
+
scales: O,
|
|
173
|
+
escToExit: ne,
|
|
174
|
+
imgAttributes: Re = {},
|
|
175
|
+
imageRender: $,
|
|
176
|
+
extra: Ye = null,
|
|
177
|
+
resetTranslate: re
|
|
178
|
+
} = T, w = o ? n.get(i) : Ae, [U, De] = h(w), [m, Xe] = Ot(!1, {
|
|
179
|
+
defaultValue: Me,
|
|
180
|
+
value: T.visible
|
|
181
|
+
}), ie = Ie(Tt), { getPrefixCls: R, locale: l, rtl: Ve } = ie, se = R == null ? void 0 : R("image"), d = `${se}-preview`, Be = we(
|
|
182
|
+
d,
|
|
183
|
+
{
|
|
184
|
+
[`${d}-hide`]: !m,
|
|
185
|
+
[`${d}-rtl`]: Ve
|
|
186
|
+
},
|
|
187
|
+
Ne
|
|
188
|
+
), P = x(), Fe = x(), y = x(), ae = x(), Y = x(!1), C = x({
|
|
189
|
+
pageX: 0,
|
|
190
|
+
pageY: 0,
|
|
191
|
+
originX: 0,
|
|
192
|
+
originY: 0
|
|
193
|
+
}), { isLoading: We, isLoaded: Ze, setStatus: D } = eo("loading"), [je, He] = h(!1), [g, X] = h({ x: 0, y: 0 }), [c, V] = h(1), [ce, le] = h(!1), [L, B] = h(0), [v, me] = h(!1), k = Ce(() => new Qt(O), []), {
|
|
194
|
+
onLoad: F,
|
|
195
|
+
onError: W,
|
|
196
|
+
onMouseDown: Z,
|
|
197
|
+
style: Ge,
|
|
198
|
+
className: _e,
|
|
199
|
+
...qe
|
|
200
|
+
} = Re, fe = !u && i <= 0, ue = !u && i >= n.size - 1;
|
|
201
|
+
function j() {
|
|
202
|
+
X({ x: 0, y: 0 }), V(1), B(0);
|
|
203
|
+
}
|
|
204
|
+
At(t, () => ({
|
|
205
|
+
reset: j,
|
|
206
|
+
getRootDOMNode: () => ae.current
|
|
207
|
+
}));
|
|
208
|
+
const [N, Ke] = h(), de = Mt(() => N, [N]);
|
|
209
|
+
b(() => {
|
|
210
|
+
const e = S == null ? void 0 : S(), r = Ft(e) || document.body;
|
|
211
|
+
Ke(r);
|
|
212
|
+
}, [S]), Bt(de, { hidden: m });
|
|
213
|
+
const Je = Ce(
|
|
214
|
+
() => !Xt && N === document.body,
|
|
215
|
+
[N]
|
|
216
|
+
);
|
|
217
|
+
function pe(e) {
|
|
218
|
+
const r = n.size;
|
|
219
|
+
u && (e %= r, e < 0 && (e = r - Math.abs(e))), e !== i && e >= 0 && e <= r - 1 && f(e);
|
|
220
|
+
}
|
|
221
|
+
function H() {
|
|
222
|
+
pe(i - 1);
|
|
223
|
+
}
|
|
224
|
+
function G() {
|
|
225
|
+
pe(i + 1);
|
|
226
|
+
}
|
|
227
|
+
function Qe() {
|
|
228
|
+
B(L === 0 ? 360 - te : L - te);
|
|
229
|
+
}
|
|
230
|
+
function et() {
|
|
231
|
+
B((L + te) % 360);
|
|
232
|
+
}
|
|
233
|
+
const _ = x(null), tt = () => {
|
|
234
|
+
!ce && le(!0), _.current && clearTimeout(_.current), _.current = setTimeout(() => {
|
|
235
|
+
le(!1);
|
|
236
|
+
}, 1e3);
|
|
237
|
+
}, z = (e) => {
|
|
238
|
+
c !== e && (V(e), tt());
|
|
239
|
+
};
|
|
240
|
+
function q() {
|
|
241
|
+
const e = k.getNextScale(c, "zoomIn");
|
|
242
|
+
z(e);
|
|
243
|
+
}
|
|
244
|
+
function K() {
|
|
245
|
+
const e = k.getNextScale(c, "zoomOut");
|
|
246
|
+
z(e);
|
|
247
|
+
}
|
|
248
|
+
function ot(e) {
|
|
249
|
+
e.deltaY > 0 ? c >= k.minScale && K() : c <= k.maxScale && q();
|
|
250
|
+
}
|
|
251
|
+
function nt() {
|
|
252
|
+
z(1);
|
|
253
|
+
}
|
|
254
|
+
function rt() {
|
|
255
|
+
const e = y.current.getBoundingClientRect(), r = P.current.getBoundingClientRect(), p = e.height / (r.height / c), I = e.width / (r.width / c), J = Math.max(p, I);
|
|
256
|
+
z(J);
|
|
257
|
+
}
|
|
258
|
+
function ge(e) {
|
|
259
|
+
e.target === e.currentTarget && Te && A();
|
|
260
|
+
}
|
|
261
|
+
function it() {
|
|
262
|
+
jt(U);
|
|
263
|
+
}
|
|
264
|
+
function he() {
|
|
265
|
+
A();
|
|
266
|
+
}
|
|
267
|
+
function st(e) {
|
|
268
|
+
A();
|
|
269
|
+
}
|
|
270
|
+
function A() {
|
|
271
|
+
m && (E == null || E(!1, m), Nt(T.visible) && Xe(!1));
|
|
272
|
+
}
|
|
273
|
+
function at(e) {
|
|
274
|
+
if (e && e.length) {
|
|
275
|
+
const p = e[0].contentRect.width < Oe;
|
|
276
|
+
He(p);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
const ve = () => {
|
|
280
|
+
if (!y.current || !P.current)
|
|
281
|
+
return;
|
|
282
|
+
const e = y.current.getBoundingClientRect(), r = P.current.getBoundingClientRect(), [p, I] = Jt(
|
|
283
|
+
e,
|
|
284
|
+
r,
|
|
285
|
+
g.x,
|
|
286
|
+
g.y,
|
|
287
|
+
c
|
|
288
|
+
);
|
|
289
|
+
(p !== g.x || I !== g.y) && X({
|
|
290
|
+
x: p,
|
|
291
|
+
y: I
|
|
292
|
+
});
|
|
293
|
+
}, be = (e) => {
|
|
294
|
+
var r;
|
|
295
|
+
if (m && v) {
|
|
296
|
+
(r = e.preventDefault) == null || r.call(e);
|
|
297
|
+
const { originX: p, originY: I, pageX: J, pageY: dt } = C.current, pt = p + (e.pageX - J) / c, gt = I + (e.pageY - dt) / c;
|
|
298
|
+
X({
|
|
299
|
+
x: pt,
|
|
300
|
+
y: gt
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
}, ye = (e) => {
|
|
304
|
+
var r;
|
|
305
|
+
(r = e.preventDefault) == null || r.call(e), me(!1);
|
|
306
|
+
};
|
|
307
|
+
function ct(e) {
|
|
308
|
+
D("loaded"), F == null || F(e);
|
|
309
|
+
}
|
|
310
|
+
function lt(e) {
|
|
311
|
+
D("error"), W == null || W(e);
|
|
312
|
+
}
|
|
313
|
+
const mt = (e) => {
|
|
314
|
+
var p;
|
|
315
|
+
(p = e.preventDefault) == null || p.call(e), me(!0);
|
|
316
|
+
const r = e.type === "touchstart" ? e.touches[0] : e;
|
|
317
|
+
C.current.pageX = r.pageX, C.current.pageY = r.pageY, C.current.originX = g.x, C.current.originY = g.y, Z == null || Z(e);
|
|
318
|
+
};
|
|
319
|
+
b(() => (m && v && (Q(document, "mousemove", be, !1), Q(document, "mouseup", ye, !1)), () => {
|
|
320
|
+
ee(document, "mousemove", be, !1), ee(document, "mouseup", ye, !1);
|
|
321
|
+
}), [m, v]), b(() => {
|
|
322
|
+
re && !v && ve();
|
|
323
|
+
}, [v, g]), b(() => {
|
|
324
|
+
re && ve();
|
|
325
|
+
}, [c]), b(() => {
|
|
326
|
+
m && j();
|
|
327
|
+
}, [m]), b(() => {
|
|
328
|
+
De(w), D(w ? "loading" : "loaded"), j();
|
|
329
|
+
}, [w]), Wt(() => {
|
|
330
|
+
k.updateScale(O), V(1);
|
|
331
|
+
}, [O]), b(() => {
|
|
332
|
+
const e = (r) => {
|
|
333
|
+
if (r)
|
|
334
|
+
switch (r.key) {
|
|
335
|
+
case Dt.key:
|
|
336
|
+
ne && A();
|
|
337
|
+
break;
|
|
338
|
+
case Yt.key:
|
|
339
|
+
G();
|
|
340
|
+
break;
|
|
341
|
+
case Rt.key:
|
|
342
|
+
H();
|
|
343
|
+
break;
|
|
344
|
+
case Ut.key:
|
|
345
|
+
q();
|
|
346
|
+
break;
|
|
347
|
+
case $t.key:
|
|
348
|
+
K();
|
|
349
|
+
break;
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
return m && !v && !Y.current && (Y.current = !0, Q(document, "keydown", e)), () => {
|
|
353
|
+
Y.current = !1, ee(document, "keydown", e);
|
|
354
|
+
};
|
|
355
|
+
}, [m, ne, v, i, c]);
|
|
356
|
+
const ft = [
|
|
357
|
+
!1,
|
|
358
|
+
{
|
|
359
|
+
key: "rotateRight",
|
|
360
|
+
name: l == null ? void 0 : l.ImagePreview.rotateRight,
|
|
361
|
+
content: /* @__PURE__ */ s(wt, {}),
|
|
362
|
+
onClick: et
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
key: "rotateLeft",
|
|
366
|
+
name: l == null ? void 0 : l.ImagePreview.rotateLeft,
|
|
367
|
+
content: /* @__PURE__ */ s(St, {}),
|
|
368
|
+
onClick: Qe
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
key: "zoomIn",
|
|
372
|
+
name: l == null ? void 0 : l.ImagePreview.zoomIn,
|
|
373
|
+
content: /* @__PURE__ */ s(Pt, {}),
|
|
374
|
+
onClick: q,
|
|
375
|
+
disabled: c === k.maxScale
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
key: "zoomOut",
|
|
379
|
+
name: l == null ? void 0 : l.ImagePreview.zoomOut,
|
|
380
|
+
content: /* @__PURE__ */ s(Lt, {}),
|
|
381
|
+
onClick: K,
|
|
382
|
+
disabled: c === k.minScale
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
key: "originalSize",
|
|
386
|
+
name: l == null ? void 0 : l.ImagePreview.originalSize,
|
|
387
|
+
content: /* @__PURE__ */ s(It, {}),
|
|
388
|
+
onClick: nt
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
key: "maximize",
|
|
392
|
+
name: "最大化",
|
|
393
|
+
content: /* @__PURE__ */ s(yt, {}),
|
|
394
|
+
onClick: rt
|
|
395
|
+
},
|
|
396
|
+
!!o && {
|
|
397
|
+
key: "next",
|
|
398
|
+
name: "下一张",
|
|
399
|
+
content: /* @__PURE__ */ s(Ct, {}),
|
|
400
|
+
disabled: ue,
|
|
401
|
+
onClick: G
|
|
402
|
+
},
|
|
403
|
+
!!o && {
|
|
404
|
+
key: "prev",
|
|
405
|
+
name: "上一张",
|
|
406
|
+
content: /* @__PURE__ */ s(kt, {}),
|
|
407
|
+
disabled: fe,
|
|
408
|
+
onClick: H
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
key: "copy",
|
|
412
|
+
name: "复制",
|
|
413
|
+
content: /* @__PURE__ */ s(bt, {}),
|
|
414
|
+
onClick: it
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
key: "close",
|
|
418
|
+
name: "关闭",
|
|
419
|
+
content: /* @__PURE__ */ s(xe, {}),
|
|
420
|
+
onClick: he
|
|
421
|
+
}
|
|
422
|
+
].filter(Boolean);
|
|
423
|
+
b(() => {
|
|
424
|
+
const e = Ht([y.current], at);
|
|
425
|
+
return () => {
|
|
426
|
+
e();
|
|
427
|
+
};
|
|
428
|
+
}, [y.current]);
|
|
429
|
+
const ut = () => {
|
|
430
|
+
const e = /* @__PURE__ */ s(
|
|
431
|
+
"img",
|
|
432
|
+
{
|
|
433
|
+
onWheel: ot,
|
|
434
|
+
ref: P,
|
|
435
|
+
className: we(_e, `${d}-img`, {
|
|
436
|
+
[`${d}-img-moving`]: v
|
|
437
|
+
}),
|
|
438
|
+
style: {
|
|
439
|
+
...Ge,
|
|
440
|
+
transform: `translate(${g.x}px, ${g.y}px) rotate(${L}deg)`
|
|
441
|
+
},
|
|
442
|
+
src: U,
|
|
443
|
+
...qe,
|
|
444
|
+
onLoad: ct,
|
|
445
|
+
onError: lt,
|
|
446
|
+
onMouseDown: (r) => {
|
|
447
|
+
r.button === 0 && mt(r);
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
U
|
|
451
|
+
);
|
|
452
|
+
return ($ == null ? void 0 : $(e)) ?? e;
|
|
453
|
+
};
|
|
454
|
+
return /* @__PURE__ */ s(Zt, { visible: m, forceRender: !1, getContainer: de, children: /* @__PURE__ */ s(
|
|
455
|
+
Et,
|
|
456
|
+
{
|
|
457
|
+
...ie,
|
|
458
|
+
childrenName: "ImagePreview",
|
|
459
|
+
getPopupContainer: () => y.current,
|
|
460
|
+
children: /* @__PURE__ */ M(
|
|
461
|
+
"div",
|
|
462
|
+
{
|
|
463
|
+
className: Be,
|
|
464
|
+
style: {
|
|
465
|
+
...ze || {},
|
|
466
|
+
...Je ? {} : { zIndex: "inherit", position: "absolute" }
|
|
467
|
+
},
|
|
468
|
+
ref: ae,
|
|
469
|
+
children: [
|
|
470
|
+
/* @__PURE__ */ s(
|
|
471
|
+
Se,
|
|
472
|
+
{
|
|
473
|
+
in: m,
|
|
474
|
+
timeout: 400,
|
|
475
|
+
appear: !0,
|
|
476
|
+
classNames: "fadeImage",
|
|
477
|
+
mountOnEnter: !0,
|
|
478
|
+
unmountOnExit: !1,
|
|
479
|
+
onEnter: (e) => {
|
|
480
|
+
e && (e.parentNode.style.display = "block", e.style.display = "block");
|
|
481
|
+
},
|
|
482
|
+
onExited: (e) => {
|
|
483
|
+
e && (e.parentNode.style.display = "", e.style.display = "none");
|
|
484
|
+
},
|
|
485
|
+
children: /* @__PURE__ */ s("div", { className: `${d}-mask`, onClick: st })
|
|
486
|
+
}
|
|
487
|
+
),
|
|
488
|
+
m && /* @__PURE__ */ M(
|
|
489
|
+
"div",
|
|
490
|
+
{
|
|
491
|
+
ref: y,
|
|
492
|
+
className: `${d}-wrapper`,
|
|
493
|
+
onClick: ge,
|
|
494
|
+
children: [
|
|
495
|
+
/* @__PURE__ */ M(
|
|
496
|
+
"div",
|
|
497
|
+
{
|
|
498
|
+
ref: Fe,
|
|
499
|
+
className: `${d}-img-container`,
|
|
500
|
+
style: { transform: `scale(${c}, ${c})` },
|
|
501
|
+
onClick: ge,
|
|
502
|
+
children: [
|
|
503
|
+
ut(),
|
|
504
|
+
We && /* @__PURE__ */ s("div", { className: `${d}-loading`, children: /* @__PURE__ */ s(xt, {}) })
|
|
505
|
+
]
|
|
506
|
+
}
|
|
507
|
+
),
|
|
508
|
+
/* @__PURE__ */ s(
|
|
509
|
+
Se,
|
|
510
|
+
{
|
|
511
|
+
in: ce,
|
|
512
|
+
timeout: 400,
|
|
513
|
+
appear: !0,
|
|
514
|
+
classNames: "fadeImage",
|
|
515
|
+
unmountOnExit: !0,
|
|
516
|
+
children: /* @__PURE__ */ M("div", { className: `${d}-scale-value`, children: [
|
|
517
|
+
(c * 100).toFixed(0),
|
|
518
|
+
"%"
|
|
519
|
+
] })
|
|
520
|
+
}
|
|
521
|
+
),
|
|
522
|
+
Ze && /* @__PURE__ */ s(
|
|
523
|
+
_t,
|
|
524
|
+
{
|
|
525
|
+
prefixCls: se,
|
|
526
|
+
previewPrefixCls: d,
|
|
527
|
+
actions: $e,
|
|
528
|
+
actionsLayout: Ue,
|
|
529
|
+
defaultActions: ft,
|
|
530
|
+
simple: je
|
|
531
|
+
}
|
|
532
|
+
),
|
|
533
|
+
Ee && /* @__PURE__ */ s(
|
|
534
|
+
"div",
|
|
535
|
+
{
|
|
536
|
+
className: `${d}-close-btn`,
|
|
537
|
+
onClick: he,
|
|
538
|
+
children: /* @__PURE__ */ s(xe, {})
|
|
539
|
+
}
|
|
540
|
+
),
|
|
541
|
+
o && /* @__PURE__ */ s(
|
|
542
|
+
Gt,
|
|
543
|
+
{
|
|
544
|
+
previewCount: n.size,
|
|
545
|
+
current: i,
|
|
546
|
+
infinite: u,
|
|
547
|
+
disableLeft: fe,
|
|
548
|
+
disableRight: ue,
|
|
549
|
+
onPrev: H,
|
|
550
|
+
onNext: G
|
|
551
|
+
}
|
|
552
|
+
),
|
|
553
|
+
Ye
|
|
554
|
+
]
|
|
555
|
+
}
|
|
556
|
+
)
|
|
557
|
+
]
|
|
558
|
+
}
|
|
559
|
+
)
|
|
560
|
+
}
|
|
561
|
+
) });
|
|
562
|
+
}
|
|
563
|
+
const no = zt(
|
|
564
|
+
oo
|
|
565
|
+
);
|
|
566
|
+
no.displayName = "ImagePreview";
|
|
567
|
+
export {
|
|
568
|
+
no as P,
|
|
569
|
+
eo as u
|
|
570
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { UI_PC_PREFIX as f } from "@unicom-cloud/utils/constant/ui.js";
|
|
2
|
+
import $ from "lodash/isPlainObject";
|
|
3
|
+
import { C as p } from "./B6r8jPCd.js";
|
|
4
|
+
import { c as s } from "./9TSjT7x_.js";
|
|
5
|
+
function A(a) {
|
|
6
|
+
if (!$(a)) return;
|
|
7
|
+
const { prefix: e = f, ...n } = a, c = {
|
|
8
|
+
primary: {
|
|
9
|
+
default: `--${e}-pqbblue-6`,
|
|
10
|
+
hover: `--${e}-pqbblue-5`,
|
|
11
|
+
active: `--${e}-pqbblue-7`
|
|
12
|
+
},
|
|
13
|
+
success: {
|
|
14
|
+
default: `--${e}-green-6`,
|
|
15
|
+
hover: `--${e}-green-5`,
|
|
16
|
+
active: `--${e}-green-7`
|
|
17
|
+
},
|
|
18
|
+
info: {
|
|
19
|
+
default: `--${e}-pqbblue-6`,
|
|
20
|
+
hover: `--${e}-pqbblue-5`,
|
|
21
|
+
active: `--${e}-pqbblue-7`
|
|
22
|
+
},
|
|
23
|
+
// warning: {
|
|
24
|
+
// default: `--${prefix}-orangered-6`,
|
|
25
|
+
// hover: `--${prefix}-orangered-5`,
|
|
26
|
+
// active: `--${prefix}-orangered-7`,
|
|
27
|
+
// },
|
|
28
|
+
warning: {
|
|
29
|
+
default: `--${e}-orange-6`,
|
|
30
|
+
hover: `--${e}-orange-5`,
|
|
31
|
+
active: `--${e}-orange-7`
|
|
32
|
+
},
|
|
33
|
+
danger: {
|
|
34
|
+
default: `--${e}-red-6`,
|
|
35
|
+
hover: `--${e}-red-5`,
|
|
36
|
+
active: `--${e}-red-7`
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
Object.entries(c).forEach(([o, r], u, y) => {
|
|
40
|
+
c[`${o}Color`] = r;
|
|
41
|
+
const l = n[o];
|
|
42
|
+
if (!l) return;
|
|
43
|
+
const i = new s(l), t = p;
|
|
44
|
+
t.style.setProperty(r.default, i.toRgbArrayString());
|
|
45
|
+
const g = n[`${o}Hover`];
|
|
46
|
+
g ? t.style.setProperty(r.hover, new s(g).toRgbArrayString()) : t.style.setProperty(r.hover, i.lighten(10).toRgbArrayString());
|
|
47
|
+
const b = n[`${o}Active`];
|
|
48
|
+
b ? t.style.setProperty(r.active, new s(b).toRgbArrayString()) : t.style.setProperty(r.active, i.lighten(-10).toRgbArrayString());
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
A as s
|
|
53
|
+
};
|
package/collapse/Collapse.js
CHANGED
|
@@ -3,12 +3,12 @@ import "@unicom-cloud/icons/IconUiCaretLeft";
|
|
|
3
3
|
import "@unicom-cloud/icons/IconUiCaretRight";
|
|
4
4
|
import "lodash/isFunction";
|
|
5
5
|
import "react";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/B44Hj5ad.js";
|
|
7
7
|
import "../chunk/BFTV6myl.js";
|
|
8
8
|
import "../chunk/CXPOj2uy.js";
|
|
9
9
|
import "@unicom-cloud/utils/class-name";
|
|
10
10
|
import "../chunk/BKKEev13.js";
|
|
11
|
-
import { a as x, C as d } from "../chunk/
|
|
11
|
+
import { a as x, C as d } from "../chunk/BJjotfW6.js";
|
|
12
12
|
export {
|
|
13
13
|
x as CollapseContext,
|
|
14
14
|
d as default
|
package/collapse/Item.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../chunk/BJ9_azwQ.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../chunk/
|
|
4
|
+
import "../chunk/B44Hj5ad.js";
|
|
5
5
|
import "../chunk/BYdIoY50.js";
|
|
6
6
|
import "@unicom-cloud/utils/class-name";
|
|
7
7
|
import "../utils/dom.js";
|
|
8
|
-
import { I as d } from "../chunk/
|
|
8
|
+
import { I as d } from "../chunk/BJjotfW6.js";
|
|
9
9
|
export {
|
|
10
10
|
d as default
|
|
11
11
|
};
|
package/collapse/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as B } from "react";
|
|
3
|
-
import { a as C } from "../chunk/
|
|
3
|
+
import { a as C } from "../chunk/B44Hj5ad.js";
|
|
4
4
|
import R from "@unicom-cloud/utils/class-name";
|
|
5
5
|
import { u as g } from "../chunk/k-OUstoD.js";
|
|
6
6
|
const q = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as a } from "react";
|
|
3
|
-
import { a as e } from "../chunk/
|
|
3
|
+
import { a as e } from "../chunk/B44Hj5ad.js";
|
|
4
4
|
import { InputNumber as i } from "../input/Input.js";
|
|
5
5
|
const x = ({ value: n, onChange: t }) => {
|
|
6
6
|
const { getPrefixCls: o } = a(e), r = o == null ? void 0 : o("color-picker");
|
package/color-picker/InputHex.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as v, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { c as u } from "../chunk/9TSjT7x_.js";
|
|
3
3
|
import { useContext as I, useState as j, useEffect as D } from "react";
|
|
4
|
-
import { a as
|
|
4
|
+
import { a as H } from "../chunk/B44Hj5ad.js";
|
|
5
5
|
import f from "../input/Input.js";
|
|
6
|
-
import { InputAlpha as
|
|
6
|
+
import { InputAlpha as b } from "./InputAlpha.js";
|
|
7
7
|
const $ = ({
|
|
8
8
|
color: n,
|
|
9
9
|
alpha: x,
|
|
@@ -11,7 +11,7 @@ const $ = ({
|
|
|
11
11
|
onAlphaChange: l,
|
|
12
12
|
disabledAlpha: g
|
|
13
13
|
}) => {
|
|
14
|
-
const { getPrefixCls: s } = I(
|
|
14
|
+
const { getPrefixCls: s } = I(H), a = s == null ? void 0 : s("color-picker"), [o, r] = j(n.hex);
|
|
15
15
|
D(() => {
|
|
16
16
|
n.hex !== o && r(n.hex);
|
|
17
17
|
}, [n]);
|
|
@@ -47,7 +47,7 @@ const $ = ({
|
|
|
47
47
|
onPaste: C
|
|
48
48
|
}
|
|
49
49
|
),
|
|
50
|
-
!g && /* @__PURE__ */ m(
|
|
50
|
+
!g && /* @__PURE__ */ m(b, { value: x, onChange: l })
|
|
51
51
|
] });
|
|
52
52
|
};
|
|
53
53
|
export {
|