@unicom-cloud/ui 0.8.149 → 0.8.151
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/.virtual/_rolldown/runtime.js +19 -0
- package/.vite/license.md +3 -0
- package/.vite/manifest.json +8214 -0
- package/affix/Affix.d.ts +10 -0
- package/affix/Affix.js +114 -130
- package/affix/index.d.ts +7 -0
- package/affix/index.js +7 -5
- package/alert/Alert.d.ts +5 -0
- package/alert/Alert.js +82 -111
- package/alert/index.d.ts +3 -0
- package/alert/index.js +7 -5
- package/anchor/Anchor.d.ts +10 -0
- package/anchor/Anchor.js +146 -190
- package/anchor/Link.d.ts +6 -0
- package/anchor/Link.js +40 -57
- package/anchor/context.d.ts +3 -0
- package/anchor/context.js +12 -15
- package/anchor/index.d.ts +14 -0
- package/anchor/index.js +9 -9
- package/anchor/utils.d.ts +5 -0
- package/anchor/utils.js +37 -46
- package/app/App.js +34 -26
- package/app/context.d.ts +4 -0
- package/app/context.js +11 -10
- package/app/index.js +9 -12
- package/app/useApp.d.ts +3 -0
- package/app/useApp.js +8 -7
- package/auto-complete/AutoComplete.d.ts +11 -0
- package/auto-complete/AutoComplete.js +109 -165
- package/auto-complete/index.d.ts +20 -0
- package/auto-complete/index.js +10 -7
- package/auto-complete/interface.d.ts +122 -0
- package/avatar/Avatar.d.ts +6 -0
- package/avatar/Avatar.js +70 -91
- package/avatar/Group.d.ts +6 -0
- package/avatar/Group.js +65 -83
- package/avatar/context.d.ts +3 -0
- package/avatar/context.js +7 -6
- package/avatar/index.d.ts +12 -0
- package/avatar/index.js +9 -11
- package/avatar/interface.d.ts +91 -0
- package/back-top/BackTop.d.ts +6 -0
- package/back-top/BackTop.js +59 -74
- package/back-top/index.d.ts +5 -0
- package/back-top/index.js +7 -5
- package/badge/Badge.d.ts +7 -0
- package/badge/Badge.js +123 -211
- package/badge/Count.js +33 -36
- package/badge/index.d.ts +10 -0
- package/badge/index.js +9 -10
- package/badge/utils.d.ts +5 -0
- package/badge/utils.js +24 -0
- package/breadcrumb/Breadcrumb.d.ts +9 -0
- package/breadcrumb/Breadcrumb.js +77 -94
- package/breadcrumb/Item.d.ts +8 -0
- package/breadcrumb/Item.js +37 -67
- package/breadcrumb/context.d.ts +4 -0
- package/breadcrumb/context.js +7 -6
- package/breadcrumb/index.d.ts +11 -0
- package/breadcrumb/index.js +9 -9
- package/breadcrumb/interface.d.ts +79 -0
- package/button/Button.d.ts +19 -0
- package/button/Button.js +102 -157
- package/button/Group.d.ts +5 -0
- package/button/Group.js +20 -13
- package/button/index.d.ts +18 -0
- package/button/index.js +11 -10
- package/button/interface.d.ts +114 -0
- package/calendar/Calendar.d.ts +4 -0
- package/calendar/Calendar.js +138 -0
- package/calendar/Month.d.ts +15 -0
- package/calendar/Month.js +115 -142
- package/calendar/WeekList.js +24 -24
- package/calendar/Year.d.ts +13 -0
- package/calendar/Year.js +82 -78
- package/calendar/header/Panel.js +43 -57
- package/calendar/header/index.js +95 -109
- package/calendar/hook/useCellClassName.js +32 -40
- package/calendar/index.d.ts +10 -0
- package/calendar/index.js +12 -183
- package/card/Card.d.ts +11 -0
- package/card/Card.js +73 -0
- package/card/Grid.d.ts +5 -0
- package/card/Grid.js +20 -26
- package/card/Meta.d.ts +5 -0
- package/card/Meta.js +35 -31
- package/card/index.d.ts +13 -0
- package/card/index.js +12 -133
- package/carousel/Arrow.d.ts +4 -0
- package/carousel/Arrow.js +37 -56
- package/carousel/Carousel.d.ts +5 -0
- package/carousel/Carousel.js +180 -0
- package/carousel/Indicator.d.ts +4 -0
- package/carousel/Indicator.js +42 -67
- package/carousel/index.d.ts +4 -0
- package/carousel/index.js +7 -287
- package/cascader/Cascader.d.ts +12 -0
- package/cascader/Cascader.js +229 -305
- package/cascader/base/node.d.ts +66 -0
- package/cascader/base/node.js +87 -95
- package/cascader/base/store.d.ts +40 -0
- package/cascader/base/store.js +65 -52
- package/cascader/hook/useRefCurrent.js +13 -12
- package/cascader/index.d.ts +5 -0
- package/cascader/index.js +7 -5
- package/cascader/interface.d.ts +297 -0
- package/cascader/panel/List.d.ts +4 -0
- package/cascader/panel/List.js +198 -269
- package/cascader/panel/Option.d.ts +23 -0
- package/cascader/panel/Option.js +24 -34
- package/cascader/panel/Search.d.ts +28 -0
- package/cascader/panel/Search.js +138 -161
- package/cascader/utils.d.ts +23 -0
- package/cascader/utils.js +50 -64
- package/checkbox/Checkbox.d.ts +5 -0
- package/checkbox/Checkbox.js +87 -138
- package/checkbox/Group.d.ts +9 -0
- package/checkbox/Group.js +71 -104
- package/checkbox/GroupBlock.d.ts +8 -0
- package/checkbox/GroupBlock.js +59 -102
- package/checkbox/context.js +12 -15
- package/checkbox/index.d.ts +12 -0
- package/checkbox/index.js +15 -14
- package/checkbox/interface.d.ts +102 -0
- package/checkbox/useCheckbox.js +49 -45
- package/collapse/Collapse.d.ts +11 -0
- package/collapse/Collapse.js +75 -119
- package/collapse/Item.d.ts +8 -0
- package/collapse/Item.js +118 -182
- package/collapse/context.d.ts +5 -0
- package/collapse/context.js +12 -12
- package/collapse/index.d.ts +14 -0
- package/collapse/index.js +9 -9
- package/color-picker/ColorPicker.d.ts +19 -0
- package/color-picker/ColorPicker.js +120 -0
- package/color-picker/ControlBar.d.ts +18 -0
- package/color-picker/ControlBar.js +45 -64
- package/color-picker/InputAlpha.d.ts +7 -0
- package/color-picker/InputAlpha.js +21 -23
- package/color-picker/InputHex.d.ts +11 -0
- package/color-picker/InputHex.js +49 -55
- package/color-picker/InputRgb.d.ts +10 -0
- package/color-picker/InputRgb.js +67 -63
- package/color-picker/Mode.d.ts +8 -0
- package/color-picker/Mode.js +8 -12
- package/color-picker/Palette.d.ts +7 -0
- package/color-picker/Palette.js +34 -35
- package/color-picker/Panel.d.ts +31 -0
- package/color-picker/Panel.js +227 -284
- package/color-picker/colors.d.ts +2 -0
- package/color-picker/colors.js +12 -34
- package/color-picker/hooks/useColorPicker.d.ts +35 -0
- package/color-picker/hooks/useColorPicker.js +101 -120
- package/color-picker/hooks/useControlBlock.d.ts +18 -0
- package/color-picker/hooks/useControlBlock.js +48 -57
- package/color-picker/index.js +20 -188
- package/color-picker/interface.d.ts +148 -0
- package/color-picker/interface.js +9 -5
- package/color-picker/utils.d.ts +23 -0
- package/color-picker/utils.js +64 -90
- package/comment/Comment.d.ts +6 -0
- package/comment/Comment.js +71 -0
- package/comment/index.d.ts +6 -0
- package/comment/index.js +7 -77
- package/config-provider/ConfigProvider.d.ts +6 -0
- package/config-provider/ConfigProvider.js +38 -49
- package/config-provider/context.d.ts +6 -0
- package/config-provider/context.js +26 -28
- package/config-provider/index.d.ts +8 -0
- package/config-provider/index.js +8 -10
- package/config-provider/initUI.js +14 -14
- package/config-provider/interface.d.ts +273 -0
- package/config-provider/useConfigProvider.js +53 -97
- package/constant/index.d.ts +3 -0
- package/constant/index.js +6 -6
- package/copy/Copy.d.ts +7 -0
- package/copy/Copy.js +46 -0
- package/copy/index.d.ts +5 -0
- package/copy/index.js +7 -71
- package/countdown/Countdown.d.ts +4 -0
- package/countdown/Countdown.js +63 -0
- package/countdown/index.d.ts +4 -0
- package/countdown/index.js +7 -115
- package/countdown/utils.js +21 -28
- package/date-picker/DatePicker.d.ts +11 -0
- package/date-picker/DatePicker.js +53 -0
- package/date-picker/DatePickerRange.d.ts +3 -0
- package/date-picker/DatePickerRange.js +397 -593
- package/date-picker/Picker.d.ts +4 -0
- package/date-picker/Picker.js +307 -408
- package/date-picker/context.d.ts +6 -0
- package/date-picker/context.js +7 -9
- package/date-picker/hook/useCellClassName.js +52 -81
- package/date-picker/index.d.ts +13 -0
- package/date-picker/index.js +16 -64
- package/date-picker/interface.d.ts +532 -0
- package/date-picker/panel/Body.d.ts +30 -0
- package/date-picker/panel/Body.js +63 -94
- package/date-picker/panel/Footer.js +61 -75
- package/date-picker/panel/Header.d.ts +22 -0
- package/date-picker/panel/Header.js +84 -100
- package/date-picker/panel/Shortcut.d.ts +3 -0
- package/date-picker/panel/Shortcut.js +40 -47
- package/date-picker/panel/WeekList.js +28 -26
- package/date-picker/panel/date/index.js +162 -230
- package/date-picker/panel/month/index.d.ts +17 -0
- package/date-picker/panel/month/index.js +93 -129
- package/date-picker/panel/quarter/index.d.ts +17 -0
- package/date-picker/panel/quarter/index.js +79 -111
- package/date-picker/panel/range/index.d.ts +28 -0
- package/date-picker/panel/range/index.js +169 -270
- package/date-picker/panel/week/index.d.ts +16 -0
- package/date-picker/panel/week/index.js +34 -50
- package/date-picker/panel/year/index.d.ts +16 -0
- package/date-picker/panel/year/index.js +59 -87
- package/date-picker/utils.d.ts +11 -0
- package/date-picker/utils.js +75 -100
- package/descriptions/Descriptions.d.ts +4 -0
- package/descriptions/Descriptions.js +142 -0
- package/descriptions/index.d.ts +4 -0
- package/descriptions/index.js +7 -251
- package/descriptions/interface.d.ts +80 -0
- package/details/Details.d.ts +5 -0
- package/details/Details.js +83 -0
- package/details/index.d.ts +4 -0
- package/details/index.js +7 -121
- package/development/Development.js +29 -0
- package/development/index.d.ts +4 -0
- package/development/index.js +7 -36
- package/divider/Divider.d.ts +7 -0
- package/divider/Divider.js +51 -0
- package/divider/index.d.ts +8 -0
- package/divider/index.js +7 -78
- package/draggable/Draggable.d.ts +4 -0
- package/draggable/Draggable.js +33 -0
- package/draggable/Item.d.ts +3 -0
- package/draggable/Item.js +51 -67
- package/draggable/index.d.ts +8 -0
- package/draggable/index.js +8 -39
- package/draw/Draw.d.ts +4 -0
- package/draw/Draw.js +34 -45
- package/draw/constant.js +2 -1
- package/draw/index.d.ts +6 -0
- package/draw/index.js +7 -6
- package/drawer/Drawer.d.ts +5 -0
- package/drawer/Drawer.js +200 -269
- package/drawer/index.d.ts +3 -0
- package/drawer/index.js +7 -5
- package/drawer/interface.d.ts +175 -0
- package/dropdown/Button.d.ts +4 -0
- package/dropdown/Button.js +55 -89
- package/dropdown/Dropdown.d.ts +5 -0
- package/dropdown/Dropdown.js +93 -0
- package/dropdown/index.d.ts +8 -0
- package/dropdown/index.js +8 -130
- package/dropdown/interface.d.ts +100 -0
- package/empty/Empty.d.ts +4 -0
- package/empty/Empty.js +27 -0
- package/empty/index.d.ts +4 -0
- package/empty/index.js +7 -38
- package/empty/interface.d.ts +8 -0
- package/flex/Flex.d.ts +9 -0
- package/flex/Flex.js +39 -0
- package/flex/index.d.ts +8 -0
- package/flex/index.js +7 -51
- package/flex/interface.d.ts +9 -0
- package/form/Control.d.ts +51 -0
- package/form/Control.js +204 -229
- package/form/Form.d.ts +6 -0
- package/form/Form.js +146 -169
- package/form/FormControl.d.ts +50 -0
- package/form/FormControl.js +246 -0
- package/form/FormItem.d.ts +7 -0
- package/form/FormItem.js +169 -250
- package/form/FormItemTip.d.ts +3 -0
- package/form/FormItemTip.js +39 -45
- package/form/FormLabel.js +44 -74
- package/form/FormLabelSymbol.d.ts +3 -0
- package/form/FormLabelSymbol.js +19 -0
- package/form/FormList.d.ts +6 -0
- package/form/FormList.js +85 -100
- package/form/FormProvider.d.ts +5 -0
- package/form/FormProvider.js +28 -45
- package/form/constant.d.ts +2 -0
- package/form/constant.js +6 -0
- package/form/context.d.ts +15 -0
- package/form/context.js +61 -50
- package/form/hook/useForm.d.ts +5 -0
- package/form/hook/useForm.js +53 -57
- package/form/hook/useFormContext.d.ts +10 -0
- package/form/hook/useFormContext.js +33 -31
- package/form/hook/useFormState.d.ts +3 -0
- package/form/hook/useFormState.js +30 -29
- package/form/hook/useWatch.d.ts +3 -0
- package/form/hook/useWatch.js +33 -33
- package/form/index.d.ts +35 -0
- package/form/index.js +37 -43
- package/form/interface.d.ts +558 -0
- package/form/interface.js +16 -10
- package/form/promisify.js +14 -13
- package/form/store.d.ts +81 -0
- package/form/store.js +239 -264
- package/form/utils.d.ts +19 -0
- package/form/utils.js +73 -77
- package/global-provider/GlobalProvider.d.ts +7 -0
- package/global-provider/GlobalProvider.js +18 -0
- package/global-provider/context.d.ts +3 -0
- package/global-provider/context.js +7 -6
- package/global-provider/index.d.ts +11 -0
- package/global-provider/index.js +11 -20
- package/grid/Grid.js +55 -84
- package/grid/Item.d.ts +4 -0
- package/grid/Item.js +34 -59
- package/grid/context.js +7 -6
- package/grid/index.d.ts +25 -0
- package/grid/index.js +16 -17
- package/grid/interface.d.ts +114 -0
- package/grid/utils.d.ts +2 -0
- package/grid/utils.js +11 -13
- package/hooks/index.js +8 -120
- package/hooks/use-breakpoint/index.d.ts +3 -0
- package/hooks/use-breakpoint/index.js +18 -17
- package/hooks/use-computed-state/index.js +7 -6
- package/hooks/use-create/index.js +7 -6
- package/hooks/use-creation/index.js +7 -6
- package/hooks/use-event/index.js +7 -6
- package/hooks/use-event-listener/index.js +7 -6
- package/hooks/use-force-update/index.js +7 -6
- package/hooks/use-fullscreen/index.js +7 -6
- package/hooks/use-id/index.js +7 -6
- package/hooks/use-in-view/index.js +7 -6
- package/hooks/use-intersection-observer/index.js +7 -6
- package/hooks/use-intersection-observers/index.js +7 -6
- package/hooks/use-interval/index.js +7 -6
- package/hooks/use-is-first-render/index.js +7 -6
- package/hooks/use-isomorphic-layout-effect/index.js +7 -6
- package/hooks/use-keyboard-event/index.js +7 -6
- package/hooks/use-latest/index.js +7 -6
- package/hooks/use-listen-window-resize/index.js +7 -6
- package/hooks/use-media/index.js +7 -6
- package/hooks/use-merge-props/index.js +7 -6
- package/hooks/use-merge-value/index.js +7 -6
- package/hooks/use-move/index.js +7 -6
- package/hooks/use-mutation-observers/index.js +7 -6
- package/hooks/use-online-status/index.js +7 -6
- package/hooks/use-overflow-hidden/index.js +7 -6
- package/hooks/use-override-ref/index.js +7 -6
- package/hooks/use-persist-callback/index.js +7 -6
- package/hooks/use-prefers-color-scheme-dark/index.js +7 -6
- package/hooks/use-previous/index.js +7 -6
- package/hooks/use-refs/index.js +7 -7
- package/hooks/use-resize-observer/index.js +7 -6
- package/hooks/use-resize-observers/index.js +7 -6
- package/hooks/use-responsive-state/index.js +42 -52
- package/hooks/use-set-state/index.js +7 -6
- package/hooks/use-state-callback/index.js +7 -6
- package/hooks/use-state-with-promise/index.js +7 -6
- package/hooks/use-update-effect/index.js +7 -6
- package/hooks/use-update-layout-effect/index.js +7 -6
- package/hooks/use-verification-code/index.d.ts +3 -0
- package/hooks/use-verification-code/index.js +64 -69
- package/hooks/use-watch/index.js +7 -6
- package/hooks/use-watermark/index.d.ts +3 -0
- package/hooks/use-watermark/index.js +142 -157
- package/hooks/use-watermark/utils.js +9 -9
- package/hooks/use-window-size/index.js +7 -6
- package/hooks/useUnmountOnExit.js +13 -10
- package/icon/Icon.d.ts +5 -0
- package/icon/Icon.js +32 -41
- package/icon/addIconFromCdn.js +34 -27
- package/icon/index.d.ts +7 -0
- package/icon/index.js +13 -11
- package/icon-hover/IconHover.d.ts +5 -0
- package/icon-hover/IconHover.js +29 -0
- package/icon-hover/index.d.ts +6 -0
- package/icon-hover/index.js +7 -46
- package/icon-hover/interface.d.ts +8 -0
- package/icons/file/File.d.ts +4 -0
- package/icons/file/File.js +26 -0
- package/icons/file/index.d.ts +4 -0
- package/icons/file/index.js +7 -33
- package/icons/file/interface.d.ts +7 -0
- package/icons.js +7 -6
- package/image/Image.d.ts +12 -0
- package/image/Image.js +154 -199
- package/image/ImageFooter.d.ts +13 -0
- package/image/ImageFooter.js +57 -46
- package/image/ImagePreview.d.ts +7 -0
- package/image/ImagePreview.js +400 -481
- package/image/ImagePreviewArrow.js +30 -47
- package/image/ImagePreviewGroup.d.ts +11 -0
- package/image/ImagePreviewGroup.js +103 -126
- package/image/ImagePreviewToolbar.d.ts +14 -0
- package/image/ImagePreviewToolbar.js +60 -100
- package/image/TriggerForToolbar.d.ts +10 -0
- package/image/TriggerForToolbar.js +18 -10
- package/image/context.d.ts +24 -0
- package/image/context.js +18 -19
- package/image/index.d.ts +18 -0
- package/image/index.js +13 -11
- package/image/interface.d.ts +257 -0
- package/image/utils/getFixTranslate.js +8 -7
- package/image/utils/getScale.d.ts +12 -0
- package/image/utils/getScale.js +68 -70
- package/image/utils/hook/useImageStatus.js +17 -16
- package/image/utils/hook/useShowFooter.d.ts +8 -0
- package/image/utils/hook/useShowFooter.js +12 -7
- package/index.d.ts +194 -0
- package/index.js +918 -890
- package/input/Button.d.ts +5 -0
- package/input/Button.js +52 -86
- package/input/Group.d.ts +7 -0
- package/input/Group.js +20 -22
- package/input/Input.d.ts +5 -0
- package/input/Input.js +140 -218
- package/input/InputElement.d.ts +4 -0
- package/input/InputElement.js +183 -241
- package/input/Number.js +7 -5
- package/input/Password.d.ts +5 -0
- package/input/Password.js +57 -85
- package/input/Search.d.ts +5 -0
- package/input/Search.js +53 -81
- package/input/Tag.js +7 -5
- package/input/Textarea.d.ts +9 -0
- package/input/Textarea.js +166 -211
- package/input/autoSizeTextareaHeight.js +65 -72
- package/input/index.d.ts +23 -0
- package/input/index.js +23 -20
- package/input/interface.d.ts +318 -0
- package/input/useComposition.d.ts +18 -0
- package/input/useComposition.js +30 -39
- package/input/utils.js +9 -8
- package/input-number/InputNumber.d.ts +6 -0
- package/input-number/InputNumber.js +158 -0
- package/input-number/decimal.js +113 -140
- package/input-number/index.d.ts +4 -0
- package/input-number/index.js +7 -220
- package/input-number/interface.d.ts +128 -0
- package/input-number/useSelectionRange.js +24 -26
- package/input-number/utils.js +42 -53
- package/input-tag/InputTag.d.ts +7 -0
- package/input-tag/InputTag.js +280 -359
- package/input-tag/constant.d.ts +1 -0
- package/input-tag/constant.js +6 -0
- package/input-tag/hook/useComputeAutoWidthDelay.d.ts +3 -0
- package/input-tag/hook/useComputeAutoWidthDelay.js +12 -0
- package/input-tag/index.d.ts +4 -0
- package/input-tag/index.js +7 -5
- package/input-tag/interface.d.ts +187 -0
- package/layout/Content.d.ts +3 -0
- package/layout/Content.js +20 -14
- package/layout/Footer.d.ts +3 -0
- package/layout/Footer.js +20 -14
- package/layout/Header.d.ts +3 -0
- package/layout/Header.js +20 -14
- package/layout/Layout.d.ts +14 -0
- package/layout/Layout.js +36 -0
- package/layout/Sider.d.ts +8 -0
- package/layout/Sider.js +96 -130
- package/layout/context.js +8 -7
- package/layout/index.d.ts +25 -0
- package/layout/index.js +18 -56
- package/layout/interface.d.ts +123 -0
- package/link/Link.d.ts +6 -0
- package/link/Link.js +42 -0
- package/link/index.d.ts +6 -0
- package/link/index.js +7 -72
- package/liquid-fill/LiquidFill.js +168 -0
- package/liquid-fill/index.d.ts +4 -0
- package/liquid-fill/index.js +7 -222
- package/list/Item.d.ts +8 -0
- package/list/Item.js +49 -50
- package/list/List.d.ts +12 -0
- package/list/List.js +185 -0
- package/list/Meta.d.ts +4 -0
- package/list/Meta.js +32 -20
- package/list/index.js +8 -274
- package/list/interface.d.ts +189 -0
- package/loading/Loading.js +62 -0
- package/loading/index.d.ts +4 -0
- package/loading/index.js +7 -81
- package/locale/ar-EG.d.ts +4 -0
- package/locale/ar-EG.js +164 -169
- package/locale/de-DE.d.ts +4 -0
- package/locale/de-DE.js +164 -169
- package/locale/default.js +7 -5
- package/locale/en-US.js +183 -198
- package/locale/es-ES.d.ts +4 -0
- package/locale/es-ES.js +164 -169
- package/locale/fr-FR.d.ts +4 -0
- package/locale/fr-FR.js +164 -169
- package/locale/id-ID.d.ts +4 -0
- package/locale/id-ID.js +164 -169
- package/locale/it-IT.d.ts +4 -0
- package/locale/it-IT.js +164 -169
- package/locale/ja-JP.d.ts +4 -0
- package/locale/ja-JP.js +219 -226
- package/locale/ko-KR.d.ts +4 -0
- package/locale/ko-KR.js +164 -169
- package/locale/ms-MY.d.ts +4 -0
- package/locale/ms-MY.js +164 -169
- package/locale/pt-BR.d.ts +4 -0
- package/locale/pt-BR.js +164 -169
- package/locale/pt-PT.d.ts +4 -0
- package/locale/pt-PT.js +164 -169
- package/locale/ru-RU.d.ts +4 -0
- package/locale/ru-RU.js +164 -169
- package/locale/th-TH.d.ts +4 -0
- package/locale/th-TH.js +164 -169
- package/locale/tr-TR.d.ts +4 -0
- package/locale/tr-TR.js +164 -169
- package/locale/vi-VN.d.ts +4 -0
- package/locale/vi-VN.js +164 -169
- package/locale/zh-CN.d.ts +4 -0
- package/locale/zh-CN.js +228 -245
- package/locale/zh-HK.d.ts +4 -0
- package/locale/zh-HK.js +219 -227
- package/locale/zh-TW.d.ts +4 -0
- package/locale/zh-TW.js +219 -226
- package/marquee/Marquee.js +135 -0
- package/marquee/index.d.ts +4 -0
- package/marquee/index.js +7 -164
- package/marquee/interface.d.ts +96 -0
- package/mask/Mask.d.ts +5 -0
- package/mask/Mask.js +44 -76
- package/mask/index.d.ts +6 -0
- package/mask/index.js +7 -5
- package/masonry/Masonry.js +110 -211
- package/masonry/MasonryItem.js +36 -35
- package/masonry/hooks/useDelay.d.ts +2 -0
- package/masonry/hooks/useDelay.js +13 -12
- package/masonry/hooks/useGutter.d.ts +5 -0
- package/masonry/hooks/useGutter.js +26 -27
- package/masonry/hooks/usePositions.js +25 -24
- package/masonry/hooks/useRefs.js +7 -6
- package/masonry/index.d.ts +10 -0
- package/masonry/index.js +8 -5
- package/masonry/interface.d.ts +43 -0
- package/mentions/Mentions.d.ts +5 -0
- package/mentions/Mentions.js +123 -0
- package/mentions/index.d.ts +4 -0
- package/mentions/index.js +7 -160
- package/mentions/interface.d.ts +88 -0
- package/mentions/utils.d.ts +9 -0
- package/mentions/utils.js +21 -25
- package/menu/Indent.js +14 -17
- package/menu/Item.d.ts +6 -0
- package/menu/Item.js +75 -124
- package/menu/ItemGroup.d.ts +6 -0
- package/menu/ItemGroup.js +28 -39
- package/menu/Menu.d.ts +3 -0
- package/menu/Menu.js +120 -199
- package/menu/OverflowWrap.d.ts +9 -0
- package/menu/OverflowWrap.js +69 -90
- package/menu/context.d.ts +15 -0
- package/menu/context.js +7 -6
- package/menu/index.d.ts +9 -0
- package/menu/index.js +18 -16
- package/menu/interface.d.ts +222 -0
- package/menu/sub-menu/Inline.d.ts +5 -0
- package/menu/sub-menu/Inline.js +84 -113
- package/menu/sub-menu/Pop.d.ts +5 -0
- package/menu/sub-menu/Pop.js +84 -121
- package/menu/sub-menu/index.d.ts +5 -0
- package/menu/sub-menu/index.js +22 -18
- package/menu/utils.js +74 -80
- package/message/Message.d.ts +20 -0
- package/message/Message.js +127 -167
- package/message/index.js +8 -7
- package/message/useMessage.d.ts +5 -0
- package/message/useMessage.js +51 -113
- package/modal/Confirm.d.ts +15 -0
- package/modal/Confirm.js +102 -112
- package/modal/Modal.d.ts +19 -0
- package/modal/Modal.js +301 -400
- package/modal/config.d.ts +9 -0
- package/modal/config.js +16 -24
- package/modal/index.d.ts +6 -0
- package/modal/index.js +8 -7
- package/modal/interface.d.ts +191 -0
- package/modal/use-modal/Hook.d.ts +7 -0
- package/modal/use-modal/Hook.js +46 -52
- package/modal/use-modal/index.d.ts +4 -0
- package/modal/use-modal/index.js +61 -71
- package/notice/Notice.d.ts +4 -0
- package/notice/Notice.js +151 -171
- package/notice/index.d.ts +4 -0
- package/notice/index.js +7 -5
- package/notification/Notification.d.ts +22 -0
- package/notification/Notification.js +132 -161
- package/notification/index.js +7 -6
- package/notification/interface.d.ts +85 -0
- package/notification/useNotification.d.ts +5 -0
- package/notification/useNotification.js +42 -111
- package/notification/withNotification.js +46 -57
- package/overflow-ellipsis/OverflowEllipsis.d.ts +3 -0
- package/overflow-ellipsis/OverflowEllipsis.js +72 -0
- package/overflow-ellipsis/OverflowItem.js +22 -29
- package/overflow-ellipsis/index.d.ts +6 -0
- package/overflow-ellipsis/index.js +8 -80
- package/package.json +1 -1
- package/page-header/PageHeader.d.ts +6 -0
- package/page-header/PageHeader.js +108 -0
- package/page-header/index.d.ts +6 -0
- package/page-header/index.js +7 -163
- package/page-header/interface.d.ts +57 -0
- package/pagination/PageItem.d.ts +18 -0
- package/pagination/PageItem.js +71 -114
- package/pagination/PageJumper.d.ts +13 -0
- package/pagination/PageJumper.js +64 -58
- package/pagination/PageOption.d.ts +17 -0
- package/pagination/PageOption.js +59 -121
- package/pagination/Pagination.d.ts +11 -0
- package/pagination/Pagination.js +206 -249
- package/pagination/index.d.ts +5 -0
- package/pagination/index.js +6 -5
- package/pagination/interface.d.ts +179 -0
- package/pagination/interface.js +9 -5
- package/picker/Input.d.ts +3 -0
- package/picker/Input.js +92 -135
- package/picker/InputRange.d.ts +3 -0
- package/picker/InputRange.js +129 -167
- package/picker/index.d.ts +3 -0
- package/picker/index.js +8 -7
- package/picker/interface.d.ts +57 -0
- package/popconfirm/Popconfirm.d.ts +6 -0
- package/popconfirm/Popconfirm.js +121 -0
- package/popconfirm/index.d.ts +6 -0
- package/popconfirm/index.js +7 -132
- package/popconfirm/interface.d.ts +109 -0
- package/popover/Popover.d.ts +6 -0
- package/popover/Popover.js +52 -73
- package/popover/index.d.ts +5 -0
- package/popover/index.js +6 -4
- package/popover/interface.d.ts +19 -0
- package/portal/Portal.d.ts +3 -0
- package/portal/Portal.js +21 -27
- package/portal/index.d.ts +4 -0
- package/portal/index.js +7 -5
- package/progress/CircleProgress.d.ts +8 -0
- package/progress/CircleProgress.js +101 -116
- package/progress/LineProgess.js +72 -92
- package/progress/Progress.d.ts +4 -0
- package/progress/Progress.js +82 -0
- package/progress/StepProgress.js +50 -65
- package/progress/index.d.ts +19 -0
- package/progress/index.js +16 -107
- package/progress/interface.d.ts +85 -0
- package/qr-code/QRCode.d.ts +5 -0
- package/qr-code/QRCode.js +50 -77
- package/qr-code/index.d.ts +5 -0
- package/qr-code/index.js +8 -7
- package/qr-code/src/index.js +195 -257
- package/qr-code/src/qrcodegen.d.ts +66 -0
- package/qr-code/src/qrcodegen.js +782 -943
- package/radio/Group.d.ts +8 -0
- package/radio/Group.js +81 -122
- package/radio/GroupBlock.d.ts +7 -0
- package/radio/GroupBlock.js +62 -117
- package/radio/Radio.d.ts +5 -0
- package/radio/Radio.js +74 -118
- package/radio/context.d.ts +2 -0
- package/radio/context.js +6 -0
- package/radio/index.d.ts +13 -0
- package/radio/index.js +15 -11
- package/radio/interface.d.ts +102 -0
- package/rate/Rate.d.ts +5 -0
- package/rate/Rate.js +98 -0
- package/rate/index.d.ts +4 -0
- package/rate/index.js +7 -135
- package/rate/interface.d.ts +66 -0
- package/resize-box/ResizeBox.d.ts +13 -0
- package/resize-box/ResizeBox.js +143 -0
- package/resize-box/ResizeTrigger.js +55 -71
- package/resize-box/Split.d.ts +4 -0
- package/resize-box/Split.js +95 -132
- package/resize-box/SplitGroup.d.ts +4 -0
- package/resize-box/SplitGroup.js +145 -197
- package/resize-box/index.d.ts +15 -0
- package/resize-box/index.js +12 -181
- package/result/403.js +720 -695
- package/result/404.js +508 -513
- package/result/500.js +176 -166
- package/result/Result.d.ts +6 -0
- package/result/Result.js +71 -0
- package/result/index.d.ts +6 -0
- package/result/index.js +7 -79
- package/rich-text/RichText.d.ts +8 -0
- package/rich-text/RichText.js +322 -454
- package/rich-text/Toolbar.js +555 -702
- package/rich-text/constant.d.ts +1 -0
- package/rich-text/constant.js +7 -6
- package/rich-text/index.d.ts +11 -0
- package/rich-text/index.js +19 -25
- package/rich-text/lib/blots/block.js +113 -127
- package/rich-text/lib/blots/break.js +19 -28
- package/rich-text/lib/blots/container.js +8 -15
- package/rich-text/lib/blots/cursor.js +95 -122
- package/rich-text/lib/blots/embed.js +46 -57
- package/rich-text/lib/blots/inline.js +49 -54
- package/rich-text/lib/blots/scroll.d.ts +43 -0
- package/rich-text/lib/blots/scroll.js +246 -277
- package/rich-text/lib/blots/text.js +15 -24
- package/rich-text/lib/core/composition.d.ts +9 -0
- package/rich-text/lib/core/composition.js +36 -40
- package/rich-text/lib/core/editor.js +241 -280
- package/rich-text/lib/core/emitter.js +46 -44
- package/rich-text/lib/core/logger.js +18 -17
- package/rich-text/lib/core/module.js +13 -13
- package/rich-text/lib/core/rich.d.ts +183 -0
- package/rich-text/lib/core/rich.js +359 -471
- package/rich-text/lib/core/selection.d.ts +71 -0
- package/rich-text/lib/core/selection.js +221 -278
- package/rich-text/lib/core/theme.js +31 -36
- package/rich-text/lib/core/utils/createRegistryWithFormats.js +28 -32
- package/rich-text/lib/core/utils/scrollRectIntoView.js +58 -68
- package/rich-text/lib/delta/AttributeMap.js +32 -39
- package/rich-text/lib/delta/Op.js +9 -8
- package/rich-text/lib/delta/OpIterator.js +44 -50
- package/rich-text/lib/delta/index.d.ts +53 -0
- package/rich-text/lib/delta/index.js +234 -314
- package/rich-text/lib/diff/index.js +266 -364
- package/rich-text/lib/formats/align.js +20 -28
- package/rich-text/lib/formats/background.js +11 -28
- package/rich-text/lib/formats/blockquote.js +15 -14
- package/rich-text/lib/formats/bold.js +23 -22
- package/rich-text/lib/formats/code.js +37 -51
- package/rich-text/lib/formats/color.js +16 -36
- package/rich-text/lib/formats/direction.js +15 -28
- package/rich-text/lib/formats/emoji.js +19 -18
- package/rich-text/lib/formats/font.js +51 -67
- package/rich-text/lib/formats/formula.js +33 -32
- package/rich-text/lib/formats/header.js +24 -25
- package/rich-text/lib/formats/hr.js +16 -21
- package/rich-text/lib/formats/image.js +45 -47
- package/rich-text/lib/formats/indent.js +38 -41
- package/rich-text/lib/formats/italic.js +15 -14
- package/rich-text/lib/formats/lineHeight.js +11 -21
- package/rich-text/lib/formats/link.js +46 -40
- package/rich-text/lib/formats/list.js +35 -42
- package/rich-text/lib/formats/script.js +21 -22
- package/rich-text/lib/formats/size.js +26 -32
- package/rich-text/lib/formats/strike.js +15 -14
- package/rich-text/lib/formats/table.js +133 -144
- package/rich-text/lib/formats/underline.js +13 -12
- package/rich-text/lib/formats/video.js +39 -42
- package/rich-text/lib/index.js +113 -121
- package/rich-text/lib/modules/clipboard.d.ts +44 -0
- package/rich-text/lib/modules/clipboard.js +281 -374
- package/rich-text/lib/modules/history.d.ts +38 -0
- package/rich-text/lib/modules/history.js +115 -113
- package/rich-text/lib/modules/image-resize/index.js +78 -81
- package/rich-text/lib/modules/image-resize/modules/Base.js +13 -43
- package/rich-text/lib/modules/image-resize/modules/DisplaySize.js +40 -49
- package/rich-text/lib/modules/image-resize/modules/Resize.js +61 -52
- package/rich-text/lib/modules/image-resize/options.js +10 -9
- package/rich-text/lib/modules/input.d.ts +8 -0
- package/rich-text/lib/modules/input.js +53 -61
- package/rich-text/lib/modules/keyboard.d.ts +60 -0
- package/rich-text/lib/modules/keyboard.js +415 -508
- package/rich-text/lib/modules/normalizeExternalHTML/index.js +10 -9
- package/rich-text/lib/modules/normalizeExternalHTML/normalizers/googleDocs.js +20 -17
- package/rich-text/lib/modules/normalizeExternalHTML/normalizers/msWord.js +37 -41
- package/rich-text/lib/modules/table.d.ts +22 -0
- package/rich-text/lib/modules/table.js +112 -102
- package/rich-text/lib/modules/toolbar.js +15 -13
- package/rich-text/lib/modules/uiNode.d.ts +11 -0
- package/rich-text/lib/modules/uiNode.js +51 -72
- package/rich-text/lib/modules/uploader.d.ts +17 -0
- package/rich-text/lib/modules/uploader.js +44 -46
- package/rich-text/lib/parchment/attributor/attributor.js +29 -31
- package/rich-text/lib/parchment/attributor/class.js +24 -23
- package/rich-text/lib/parchment/attributor/store.d.ts +14 -0
- package/rich-text/lib/parchment/attributor/store.js +43 -44
- package/rich-text/lib/parchment/attributor/style.js +23 -22
- package/rich-text/lib/parchment/blot/abstract/container.js +30 -28
- package/rich-text/lib/parchment/blot/abstract/leaf.js +24 -43
- package/rich-text/lib/parchment/blot/abstract/parent.js +154 -173
- package/rich-text/lib/parchment/blot/abstract/shadow.js +76 -81
- package/rich-text/lib/parchment/blot/block.js +70 -75
- package/rich-text/lib/parchment/blot/embed.js +17 -17
- package/rich-text/lib/parchment/blot/inline.js +72 -78
- package/rich-text/lib/parchment/blot/scroll.d.ts +35 -0
- package/rich-text/lib/parchment/blot/scroll.js +99 -103
- package/rich-text/lib/parchment/blot/text.js +55 -56
- package/rich-text/lib/parchment/collection/linked-list.js +85 -105
- package/rich-text/lib/parchment/error.js +9 -8
- package/rich-text/lib/parchment/index.js +36 -31
- package/rich-text/lib/parchment/registry.d.ts +18 -0
- package/rich-text/lib/parchment/registry.js +55 -57
- package/rich-text/lib/parchment/scope.js +8 -5
- package/row-col/Col-.js +63 -85
- package/row-col/Col.js +135 -142
- package/row-col/Row.js +57 -79
- package/row-col/context.js +7 -6
- package/row-col/index.d.ts +14 -0
- package/row-col/index.js +12 -13
- package/segmented/Segmented.js +210 -0
- package/segmented/index.d.ts +4 -0
- package/segmented/index.js +7 -272
- package/segmented/interface.d.ts +123 -0
- package/select/Option.d.ts +7 -0
- package/select/Option.js +69 -97
- package/select/OptionGroup.d.ts +7 -0
- package/select/OptionGroup.js +22 -22
- package/select/Select.d.ts +11 -0
- package/select/Select.js +400 -555
- package/select/index.d.ts +16 -0
- package/select/index.js +12 -9
- package/select/interface.d.ts +295 -0
- package/select/utils.d.ts +26 -0
- package/select/utils.js +93 -114
- package/select-view/Core.js +308 -411
- package/select-view/SelectView.js +60 -0
- package/select-view/index.d.ts +3 -0
- package/select-view/index.js +7 -75
- package/select-view/interface.d.ts +148 -0
- package/skeleton/Image.d.ts +3 -0
- package/skeleton/Image.js +17 -24
- package/skeleton/Skeleton.d.ts +7 -0
- package/skeleton/Skeleton.js +62 -0
- package/skeleton/Text.d.ts +4 -0
- package/skeleton/Text.js +23 -27
- package/skeleton/index.d.ts +11 -0
- package/skeleton/index.js +12 -60
- package/slider/Button.d.ts +21 -0
- package/slider/Button.js +120 -151
- package/slider/Dot.d.ts +17 -0
- package/slider/Dot.js +26 -43
- package/slider/Input.d.ts +16 -0
- package/slider/Input.js +56 -79
- package/slider/Mark.d.ts +16 -0
- package/slider/Mark.js +26 -28
- package/slider/Slider.d.ts +5 -0
- package/slider/Slider.js +247 -0
- package/slider/Tick.d.ts +14 -0
- package/slider/Tick.js +31 -41
- package/slider/hook/useInterval.d.ts +24 -0
- package/slider/hook/useInterval.js +92 -71
- package/slider/hook/useLegalValue.d.ts +16 -0
- package/slider/hook/useLegalValue.js +56 -65
- package/slider/index.js +18 -318
- package/slider/interface.d.ts +119 -0
- package/slider/utils.d.ts +11 -0
- package/slider/utils.js +50 -64
- package/space/Space.d.ts +5 -0
- package/space/Space.js +46 -0
- package/space/index.d.ts +8 -0
- package/space/index.js +7 -58
- package/space/interface.d.ts +10 -0
- package/speech-synthesis/SpeechSynthesis.d.ts +3 -0
- package/speech-synthesis/SpeechSynthesis.js +15 -0
- package/speech-synthesis/index.d.ts +4 -0
- package/speech-synthesis/index.js +7 -13
- package/speech-synthesis/interface.d.ts +7 -0
- package/spin/DotLoading.js +32 -25
- package/spin/Spin.d.ts +5 -0
- package/spin/Spin.js +78 -0
- package/spin/index.d.ts +7 -0
- package/spin/index.js +8 -113
- package/splitter/Panel.js +23 -40
- package/splitter/SplitBar.js +96 -157
- package/splitter/Splitter.js +86 -140
- package/splitter/hooks/useItems.js +23 -26
- package/splitter/hooks/useResizable.js +22 -17
- package/splitter/hooks/useResize.js +53 -69
- package/splitter/hooks/useSizes.js +56 -59
- package/splitter/index.d.ts +7 -0
- package/splitter/index.js +8 -9
- package/statistic/Statistic.d.ts +8 -0
- package/statistic/Statistic.js +108 -0
- package/statistic/index.d.ts +10 -0
- package/statistic/index.js +8 -124
- package/statistic/interface.js +8 -5
- package/steps/Step.d.ts +4 -0
- package/steps/Step.js +61 -68
- package/steps/Steps.d.ts +10 -0
- package/steps/Steps.js +62 -0
- package/steps/index.d.ts +12 -0
- package/steps/index.js +11 -97
- package/style.css +2 -1
- package/suspense-fallback-test/SuspenseFallbackTest.js +7 -0
- package/suspense-fallback-test/index.d.ts +2 -0
- package/suspense-fallback-test/index.js +7 -6
- package/suspense-fallback-test/interface.d.ts +2 -0
- package/switch/Switch.d.ts +11 -0
- package/switch/Switch.js +75 -0
- package/switch/index.d.ts +8 -0
- package/switch/index.js +7 -103
- package/switch/interface.d.ts +66 -0
- package/table/ColGroup.d.ts +13 -0
- package/table/ColGroup.js +46 -68
- package/table/Table.d.ts +10 -0
- package/table/Table.js +501 -660
- package/table/constant.d.ts +5 -0
- package/table/constant.js +35 -42
- package/table/context.js +7 -10
- package/table/hook/useColumns.d.ts +3 -0
- package/table/hook/useColumns.js +112 -140
- package/table/hook/useComponent.d.ts +31 -0
- package/table/hook/useComponent.js +25 -24
- package/table/hook/useExpand.d.ts +4 -0
- package/table/hook/useExpand.js +32 -44
- package/table/hook/useRowSelection.d.ts +13 -0
- package/table/hook/useRowSelection.js +71 -93
- package/table/hook/useSorter.d.ts +8 -0
- package/table/hook/useSorter.js +50 -57
- package/table/hook/useStickyClassNames.d.ts +3 -0
- package/table/hook/useStickyClassNames.js +23 -30
- package/table/hook/useStickyOffsets.d.ts +3 -0
- package/table/hook/useStickyOffsets.js +27 -28
- package/table/hook/useThResizable.js +35 -36
- package/table/index.js +40 -39
- package/table/interface.d.ts +729 -0
- package/table/summary/Cell.js +20 -10
- package/table/summary/Row.js +29 -24
- package/table/summary/context.d.ts +9 -0
- package/table/summary/context.js +7 -6
- package/table/summary/index.d.ts +11 -0
- package/table/summary/index.js +11 -12
- package/table/tbody/DataRecordRenderer.d.ts +11 -0
- package/table/tbody/DataRecordRenderer.js +58 -0
- package/table/tbody/Td.d.ts +4 -0
- package/table/tbody/Td.js +145 -213
- package/table/tbody/Tr.d.ts +9 -0
- package/table/tbody/Tr.js +153 -196
- package/table/tbody/index.d.ts +3 -0
- package/table/tbody/index.js +81 -177
- package/table/tfoot/index.d.ts +3 -0
- package/table/tfoot/index.js +26 -17
- package/table/th-resizable/index.js +49 -56
- package/table/thead/Column.d.ts +3 -0
- package/table/thead/Column.js +193 -261
- package/table/thead/index.d.ts +3 -0
- package/table/thead/index.js +91 -131
- package/table/utils.d.ts +16 -0
- package/table/utils.js +71 -107
- package/tabs/TabContent.d.ts +3 -0
- package/tabs/TabContent.js +36 -51
- package/tabs/TabPane.d.ts +4 -0
- package/tabs/TabPane.js +27 -33
- package/tabs/Tabs.d.ts +11 -0
- package/tabs/Tabs.js +137 -185
- package/tabs/context.js +7 -7
- package/tabs/hook/useDomSize.d.ts +12 -0
- package/tabs/hook/useDomSize.js +22 -17
- package/tabs/hook/useHeaderScroll.d.ts +12 -0
- package/tabs/hook/useHeaderScroll.js +73 -58
- package/tabs/index.d.ts +25 -0
- package/tabs/index.js +14 -14
- package/tabs/interface.d.ts +228 -0
- package/tabs/tab-header/DropdownIcon.js +65 -73
- package/tabs/tab-header/TabInk.js +58 -65
- package/tabs/tab-header/TabNavIcon.d.ts +17 -0
- package/tabs/tab-header/TabNavIcon.js +61 -66
- package/tabs/tab-header/TabTitle.js +59 -80
- package/tabs/tab-header/index.d.ts +4 -0
- package/tabs/tab-header/index.js +250 -320
- package/tabs/utils.js +20 -23
- package/tag/Tag.d.ts +4 -0
- package/tag/Tag.js +101 -0
- package/tag/index.d.ts +6 -0
- package/tag/index.js +8 -152
- package/tag/interface.d.ts +70 -0
- package/tag/utils.d.ts +1 -0
- package/tag/utils.js +19 -0
- package/time-picker/Picker.d.ts +3 -0
- package/time-picker/Picker.js +173 -231
- package/time-picker/TimeColumn.js +46 -59
- package/time-picker/TimePicker.d.ts +3 -0
- package/time-picker/TimePicker.js +160 -241
- package/time-picker/TimePickerRange.d.ts +3 -0
- package/time-picker/TimePickerRange.js +45 -59
- package/time-picker/context.d.ts +6 -0
- package/time-picker/context.js +6 -10
- package/time-picker/index.d.ts +10 -0
- package/time-picker/index.js +24 -25
- package/time-picker/interface.d.ts +264 -0
- package/time-picker/utils.js +29 -23
- package/timeline/Item.d.ts +8 -0
- package/timeline/Item.js +70 -92
- package/timeline/Timeline.d.ts +11 -0
- package/timeline/Timeline.js +54 -79
- package/timeline/index.d.ts +13 -0
- package/timeline/index.js +8 -7
- package/timer/Timer.js +28 -0
- package/timer/index.d.ts +2 -0
- package/timer/index.js +7 -39
- package/timer/interface.d.ts +6 -0
- package/tooltip/Tooltip.d.ts +6 -0
- package/tooltip/Tooltip.js +103 -133
- package/tooltip/index.d.ts +5 -0
- package/tooltip/index.js +7 -5
- package/tooltip/interface.d.ts +95 -0
- package/tour/Tour.js +211 -0
- package/tour/index.d.ts +4 -0
- package/tour/index.js +7 -287
- package/transfer/Item.d.ts +3 -0
- package/transfer/Item.js +76 -113
- package/transfer/List.d.ts +5 -0
- package/transfer/List.js +164 -213
- package/transfer/Transfer.d.ts +5 -0
- package/transfer/Transfer.js +139 -0
- package/transfer/index.d.ts +4 -0
- package/transfer/index.js +7 -192
- package/transfer/interface.d.ts +219 -0
- package/tree/Animation.d.ts +4 -0
- package/tree/Animation.js +103 -101
- package/tree/Context.d.ts +28 -0
- package/tree/Context2.js +7 -0
- package/tree/Node.d.ts +10 -0
- package/tree/Node.js +194 -208
- package/tree/NodeList.js +74 -83
- package/tree/Tree.d.ts +11 -0
- package/tree/Tree.js +425 -540
- package/tree/context.js +7 -6
- package/tree/index.js +20 -9
- package/tree/interface.d.ts +371 -0
- package/tree/utils.d.ts +15 -0
- package/tree/utils.js +62 -72
- package/tree-select/List.d.ts +11 -0
- package/tree-select/List.js +113 -122
- package/tree-select/TreeSelect.d.ts +13 -0
- package/tree-select/TreeSelect.js +213 -0
- package/tree-select/hook/useKeyCache.d.ts +6 -0
- package/tree-select/hook/useKeyCache.js +49 -55
- package/tree-select/hook/useStateValue.d.ts +19 -0
- package/tree-select/hook/useStateValue.js +69 -93
- package/tree-select/hook/useTreeData.d.ts +4 -0
- package/tree-select/hook/useTreeData.js +14 -13
- package/tree-select/index.d.ts +17 -0
- package/tree-select/index.js +14 -7
- package/tree-select/interface.d.ts +196 -0
- package/tree-select/interface.js +15 -13
- package/tree-select/utils.js +9 -8
- package/trigger/Trigger.d.ts +9 -0
- package/trigger/Trigger.js +494 -0
- package/trigger/getPopupStyle.d.ts +14 -0
- package/trigger/getPopupStyle.js +166 -213
- package/trigger/index.d.ts +6 -0
- package/trigger/index.js +8 -622
- package/trigger/interface.d.ts +258 -0
- package/trigger/utils.d.ts +1 -0
- package/trigger/utils.js +15 -0
- package/typography/Base.d.ts +8 -0
- package/typography/Base.js +139 -189
- package/typography/EditContent.d.ts +4 -0
- package/typography/EditContent.js +53 -58
- package/typography/Ellipsis.d.ts +6 -0
- package/typography/Ellipsis.js +140 -174
- package/typography/Operations.d.ts +4 -0
- package/typography/Operations.js +49 -76
- package/typography/Paragraph.d.ts +3 -0
- package/typography/Paragraph.js +21 -25
- package/typography/Text.js +16 -11
- package/typography/Title.d.ts +3 -0
- package/typography/Title.js +18 -12
- package/typography/Typography.d.ts +3 -0
- package/typography/Typography.js +22 -18
- package/typography/index.d.ts +23 -0
- package/typography/index.js +22 -16
- package/typography/interface.d.ts +277 -0
- package/typography/useCssEllipsis.d.ts +6 -0
- package/typography/useCssEllipsis.js +40 -37
- package/typography/useEllipsis.d.ts +21 -0
- package/typography/useEllipsis.js +148 -148
- package/upload/TriggerNode.d.ts +6 -0
- package/upload/TriggerNode.js +86 -114
- package/upload/Upload.d.ts +7 -0
- package/upload/Upload.js +157 -234
- package/upload/Uploader.d.ts +15 -0
- package/upload/Uploader.js +158 -208
- package/upload/constant.d.ts +4 -0
- package/upload/constant.js +10 -9
- package/upload/index.d.ts +26 -0
- package/upload/index.js +16 -9
- package/upload/interface.d.ts +336 -0
- package/upload/list/PictureItem.d.ts +8 -0
- package/upload/list/PictureItem.js +109 -117
- package/upload/list/TextItem.d.ts +8 -0
- package/upload/list/TextItem.js +114 -121
- package/upload/list/UploadProgress.d.ts +14 -0
- package/upload/list/UploadProgress.js +86 -90
- package/upload/list/index.d.ts +6 -0
- package/upload/list/index.js +70 -104
- package/upload/list/utils.d.ts +2 -0
- package/upload/list/utils.js +32 -18
- package/upload/request.d.ts +3 -0
- package/upload/request.js +33 -49
- package/upload/utils.d.ts +4 -0
- package/upload/utils.js +50 -59
- package/utils/callOrReturn.js +4 -6
- package/utils/callbackOriginRef.js +7 -7
- package/utils/caseName.js +7 -7
- package/utils/className.js +7 -8
- package/utils/constant.d.ts +4 -0
- package/utils/constant.js +20 -23
- package/utils/contextHolder.d.ts +10 -0
- package/utils/contextHolder.js +26 -28
- package/utils/copy.js +7 -8
- package/utils/date.js +4 -8
- package/utils/dayjs.js +125 -164
- package/utils/dom.js +4 -14
- package/utils/emitter.js +7 -12
- package/utils/fileRead.js +4 -6
- package/utils/fileToDataURL.js +4 -6
- package/utils/fillNBSP.js +7 -7
- package/utils/findRootElement.js +7 -7
- package/utils/findScrollParent.js +7 -6
- package/utils/getHighlightText.js +7 -7
- package/utils/getHotkeyHandler.d.ts +5 -0
- package/utils/getHotkeyHandler.js +7 -7
- package/utils/getStringLength.js +7 -7
- package/utils/include.js +7 -7
- package/utils/index.js +337 -332
- package/utils/intersectionObserver.js +7 -6
- package/utils/is.d.ts +1 -0
- package/utils/is.js +107 -97
- package/utils/keyboardCode.js +8 -30
- package/utils/lodash.js +5 -64
- package/utils/math.js +4 -10
- package/utils/mergeProps.js +7 -7
- package/utils/mergedToString.js +7 -7
- package/utils/mutationObserver.js +7 -6
- package/utils/names.d.ts +1023 -0
- package/utils/names.js +1030 -1041
- package/utils/omit.js +7 -7
- package/utils/pad.js +4 -6
- package/utils/pick.js +7 -8
- package/utils/pinyin.js +4 -6
- package/utils/react19Adapter.js +2 -1
- package/utils/ref.js +4 -11
- package/utils/resizeObserver.js +7 -6
- package/utils/responsiveObserve.js +64 -79
- package/utils/saveAs.js +7 -7
- package/utils/screenfull.js +7 -7
- package/utils/scrollIntoViewIfNeeded.js +7 -7
- package/utils/setCreateRoot.js +7 -7
- package/utils/setDarkTheme.js +18 -16
- package/utils/setPrimaryColor.js +12 -9
- package/utils/setTheme.js +11 -8
- package/utils/string.js +4 -6
- package/utils/style.js +4 -7
- package/utils/throttleByRaf.js +4 -6
- package/utils/throttleByRaf2.js +4 -6
- package/utils/toArray.js +7 -7
- package/utils/tree.js +4 -12
- package/utils/tween.js +4 -7
- package/utils/uuid.js +4 -7
- package/utils/validate.d.ts +2 -0
- package/utils/validate.js +4 -16
- package/utils/warning.js +4 -6
- package/verification-code/VerificationCode.d.ts +4 -0
- package/verification-code/VerificationCode.js +74 -105
- package/verification-code/index.d.ts +8 -0
- package/verification-code/index.js +8 -7
- package/verification-code/interface.d.ts +74 -0
- package/version/index.d.ts +5 -0
- package/version/index.js +30 -8
- package/virtual-list/Filler.js +36 -31
- package/virtual-list/VirtualList.js +296 -368
- package/virtual-list/constant.js +7 -7
- package/virtual-list/hook/useCacheChildrenNodes.d.ts +4 -0
- package/virtual-list/hook/useCacheChildrenNodes.js +11 -10
- package/virtual-list/hook/useComputeVirtualItemHeight.d.ts +3 -0
- package/virtual-list/hook/useComputeVirtualItemHeight.js +16 -18
- package/virtual-list/index.js +8 -5
- package/virtual-list/interface.d.ts +55 -0
- package/virtual-list/utils/algorithm.d.ts +23 -0
- package/virtual-list/utils/algorithm.js +32 -31
- package/virtual-list/utils/item.js +71 -91
- package/watermark/Watermark.d.ts +3 -0
- package/watermark/Watermark.js +57 -68
- package/watermark/index.d.ts +8 -0
- package/watermark/index.js +8 -7
- package/Affix.js +0 -5
- package/Alert.js +0 -5
- package/Anchor.js +0 -9
- package/App.js +0 -10
- package/AutoComplete.js +0 -7
- package/Avatar.js +0 -10
- package/BackTop.js +0 -5
- package/Badge.js +0 -9
- package/Breadcrumb.js +0 -9
- package/Button.js +0 -9
- package/Calendar.js +0 -21
- package/Card.js +0 -16
- package/Carousel.js +0 -18
- package/Cascader.js +0 -5
- package/Checkbox.js +0 -14
- package/Collapse.js +0 -9
- package/ColorPicker.js +0 -30
- package/Comment.js +0 -13
- package/ConfigProvider.js +0 -9
- package/Constant.js +0 -6
- package/Copy.js +0 -18
- package/Countdown.js +0 -16
- package/DatePicker.js +0 -23
- package/Descriptions.js +0 -66
- package/Details.js +0 -17
- package/Development.js +0 -11
- package/Divider.js +0 -12
- package/Draggable.js +0 -11
- package/Draw.js +0 -6
- package/Drawer.js +0 -5
- package/Dropdown.js +0 -21
- package/Empty.js +0 -11
- package/Flex.js +0 -13
- package/Form.js +0 -30
- package/GlobalProvider.js +0 -11
- package/Grid.js +0 -14
- package/Icon.js +0 -11
- package/IconHover.js +0 -11
- package/Image.js +0 -11
- package/Input.js +0 -20
- package/InputNumber.js +0 -25
- package/InputTag.js +0 -5
- package/Layout.js +0 -23
- package/Link.js +0 -13
- package/LiquidFill.js +0 -14
- package/List.js +0 -23
- package/Loading.js +0 -11
- package/Marquee.js +0 -214
- package/Mask.js +0 -5
- package/Masonry.js +0 -5
- package/Mentions.js +0 -17
- package/Menu.js +0 -16
- package/Message.js +0 -7
- package/Modal.js +0 -7
- package/Notice.js +0 -5
- package/Notification.js +0 -7
- package/OverflowEllipsis.js +0 -14
- package/PageHeader.js +0 -20
- package/Pagination.js +0 -7
- package/Picker.js +0 -7
- package/Popconfirm.js +0 -16
- package/Popover.js +0 -5
- package/Portal.js +0 -5
- package/Progress.js +0 -15
- package/Progress2.js +0 -6
- package/QrCode.js +0 -7
- package/Radio.js +0 -11
- package/Rate.js +0 -20
- package/ResizeBox.js +0 -20
- package/Result.js +0 -18
- package/RichText.js +0 -25
- package/RowCol.js +0 -11
- package/Segmented.js +0 -14
- package/Select.js +0 -9
- package/SelectView.js +0 -12
- package/Skeleton.js +0 -15
- package/Slider.js +0 -26
- package/Space.js +0 -13
- package/SpeechSynthesis.js +0 -10
- package/Spin.js +0 -18
- package/Splitter.js +0 -8
- package/Statistic.js +0 -19
- package/Steps.js +0 -16
- package/SuspenseFallbackTest.js +0 -5
- package/Switch.js +0 -16
- package/Table.js +0 -38
- package/Tabs.js +0 -15
- package/Tag.js +0 -19
- package/TimePicker.js +0 -13
- package/Timeline.js +0 -7
- package/Timer.js +0 -12
- package/Tooltip.js +0 -5
- package/Tour.js +0 -23
- package/Transfer.js +0 -19
- package/Tree.js +0 -9
- package/TreeSelect.js +0 -7
- package/Trigger.js +0 -24
- package/Typography.js +0 -14
- package/Upload.js +0 -9
- package/VerificationCode.js +0 -7
- package/VirtualList.js +0 -5
- package/Watermark.js +0 -7
- package/calendar/Lunar.js +0 -71
- package/hooks/useBreakpoint.js +0 -8
- package/hooks/useComputedState.js +0 -5
- package/hooks/useCreate.js +0 -5
- package/hooks/useCreation.js +0 -5
- package/hooks/useEvent.js +0 -5
- package/hooks/useEventListener.js +0 -5
- package/hooks/useForceUpdate.js +0 -5
- package/hooks/useFullscreen.js +0 -5
- package/hooks/useId.js +0 -5
- package/hooks/useInView.js +0 -5
- package/hooks/useIntersectionObserver.js +0 -5
- package/hooks/useIntersectionObservers.js +0 -5
- package/hooks/useInterval.js +0 -5
- package/hooks/useIsFirstRender.js +0 -5
- package/hooks/useIsomorphicLayoutEffect.js +0 -5
- package/hooks/useKeyboardEvent.js +0 -5
- package/hooks/useLatest.js +0 -5
- package/hooks/useListenWindowResize.js +0 -5
- package/hooks/useMedia.js +0 -5
- package/hooks/useMergeProps.js +0 -5
- package/hooks/useMergeValue.js +0 -5
- package/hooks/useMove.js +0 -5
- package/hooks/useMutationObservers.js +0 -5
- package/hooks/useOnlineStatus.js +0 -5
- package/hooks/useOverflowHidden.js +0 -5
- package/hooks/useOverrideRef.js +0 -5
- package/hooks/usePersistCallback.js +0 -5
- package/hooks/usePrefersColorSchemeDark.js +0 -5
- package/hooks/usePrevious.js +0 -5
- package/hooks/useRefs.js +0 -6
- package/hooks/useResizeObserver.js +0 -5
- package/hooks/useResizeObservers.js +0 -5
- package/hooks/useResponsiveState.js +0 -11
- package/hooks/useSetState.js +0 -5
- package/hooks/useStateCallback.js +0 -5
- package/hooks/useStateWithPromise.js +0 -5
- package/hooks/useUpdateEffect.js +0 -5
- package/hooks/useUpdateLayoutEffect.js +0 -5
- package/hooks/useVerificationCode.js +0 -10
- package/hooks/useWatch.js +0 -5
- package/hooks/useWatermark.js +0 -11
- package/hooks/useWindowSize.js +0 -5
- package/icons/file.js +0 -11
- package/progress2/index.js +0 -6
- package/tree-select/Select.js +0 -262
- package/types/affix/Affix.d.ts +0 -10
- package/types/affix/index.d.ts +0 -3
- package/types/alert/Alert.d.ts +0 -5
- package/types/alert/index.d.ts +0 -3
- package/types/anchor/Anchor.d.ts +0 -12
- package/types/anchor/Link.d.ts +0 -6
- package/types/anchor/context.d.ts +0 -3
- package/types/anchor/index.d.ts +0 -4
- package/types/anchor/utils.d.ts +0 -5
- package/types/app/context.d.ts +0 -4
- package/types/app/useApp.d.ts +0 -3
- package/types/auto-complete/AutoComplete.d.ts +0 -17
- package/types/auto-complete/index.d.ts +0 -4
- package/types/auto-complete/interface.d.ts +0 -122
- package/types/avatar/Avatar.d.ts +0 -8
- package/types/avatar/Group.d.ts +0 -6
- package/types/avatar/context.d.ts +0 -3
- package/types/avatar/index.d.ts +0 -9
- package/types/avatar/interface.d.ts +0 -91
- package/types/back-top/BackTop.d.ts +0 -6
- package/types/back-top/index.d.ts +0 -3
- package/types/badge/Badge.d.ts +0 -11
- package/types/badge/index.d.ts +0 -4
- package/types/breadcrumb/Breadcrumb.d.ts +0 -10
- package/types/breadcrumb/Item.d.ts +0 -8
- package/types/breadcrumb/context.d.ts +0 -4
- package/types/breadcrumb/index.d.ts +0 -6
- package/types/breadcrumb/interface.d.ts +0 -79
- package/types/button/Button.d.ts +0 -19
- package/types/button/Group.d.ts +0 -5
- package/types/button/index.d.ts +0 -4
- package/types/button/interface.d.ts +0 -114
- package/types/calendar/Lunar.d.ts +0 -17
- package/types/calendar/Month.d.ts +0 -15
- package/types/calendar/Year.d.ts +0 -13
- package/types/calendar/index.d.ts +0 -7
- package/types/card/Grid.d.ts +0 -5
- package/types/card/Meta.d.ts +0 -5
- package/types/card/index.d.ts +0 -12
- package/types/carousel/Arrow.d.ts +0 -4
- package/types/carousel/Indicator.d.ts +0 -4
- package/types/carousel/index.d.ts +0 -5
- package/types/cascader/Cascader.d.ts +0 -17
- package/types/cascader/base/node.d.ts +0 -78
- package/types/cascader/base/store.d.ts +0 -44
- package/types/cascader/index.d.ts +0 -5
- package/types/cascader/interface.d.ts +0 -297
- package/types/cascader/panel/List.d.ts +0 -4
- package/types/cascader/panel/Option.d.ts +0 -23
- package/types/cascader/panel/Search.d.ts +0 -28
- package/types/cascader/utils.d.ts +0 -23
- package/types/checkbox/Checkbox.d.ts +0 -18
- package/types/checkbox/Group.d.ts +0 -9
- package/types/checkbox/GroupBlock.d.ts +0 -8
- package/types/checkbox/index.d.ts +0 -5
- package/types/checkbox/interface.d.ts +0 -102
- package/types/collapse/Collapse.d.ts +0 -13
- package/types/collapse/Item.d.ts +0 -8
- package/types/collapse/context.d.ts +0 -5
- package/types/collapse/index.d.ts +0 -5
- package/types/color-picker/ControlBar.d.ts +0 -18
- package/types/color-picker/InputAlpha.d.ts +0 -7
- package/types/color-picker/InputHex.d.ts +0 -11
- package/types/color-picker/InputRgb.d.ts +0 -10
- package/types/color-picker/Mode.d.ts +0 -7
- package/types/color-picker/Palette.d.ts +0 -7
- package/types/color-picker/Panel.d.ts +0 -30
- package/types/color-picker/colors.d.ts +0 -2
- package/types/color-picker/hooks/useColorPicker.d.ts +0 -39
- package/types/color-picker/hooks/useControlBlock.d.ts +0 -18
- package/types/color-picker/index.d.ts +0 -12
- package/types/color-picker/interface.d.ts +0 -148
- package/types/color-picker/utils.d.ts +0 -28
- package/types/comment/index.d.ts +0 -6
- package/types/config-provider/ConfigProvider.d.ts +0 -11
- package/types/config-provider/context.d.ts +0 -5
- package/types/config-provider/index.d.ts +0 -4
- package/types/config-provider/interface.d.ts +0 -273
- package/types/constant/index.d.ts +0 -2
- package/types/copy/index.d.ts +0 -7
- package/types/countdown/index.d.ts +0 -4
- package/types/date-picker/DatePickerRange.d.ts +0 -3
- package/types/date-picker/Picker.d.ts +0 -4
- package/types/date-picker/context.d.ts +0 -6
- package/types/date-picker/index.d.ts +0 -11
- package/types/date-picker/interface.d.ts +0 -530
- package/types/date-picker/panel/Body.d.ts +0 -30
- package/types/date-picker/panel/Header.d.ts +0 -22
- package/types/date-picker/panel/Shortcut.d.ts +0 -3
- package/types/date-picker/panel/month/index.d.ts +0 -17
- package/types/date-picker/panel/quarter/index.d.ts +0 -17
- package/types/date-picker/panel/range/index.d.ts +0 -28
- package/types/date-picker/panel/week/index.d.ts +0 -16
- package/types/date-picker/panel/year/index.d.ts +0 -16
- package/types/date-picker/utils.d.ts +0 -11
- package/types/descriptions/index.d.ts +0 -4
- package/types/descriptions/interface.d.ts +0 -80
- package/types/details/index.d.ts +0 -5
- package/types/divider/index.d.ts +0 -10
- package/types/draggable/Item.d.ts +0 -3
- package/types/draggable/index.d.ts +0 -4
- package/types/draw/Draw.d.ts +0 -6
- package/types/draw/index.d.ts +0 -4
- package/types/drawer/Drawer.d.ts +0 -5
- package/types/drawer/index.d.ts +0 -3
- package/types/drawer/interface.d.ts +0 -175
- package/types/dropdown/Button.d.ts +0 -4
- package/types/dropdown/index.d.ts +0 -10
- package/types/dropdown/interface.d.ts +0 -100
- package/types/empty/index.d.ts +0 -4
- package/types/empty/interface.d.ts +0 -8
- package/types/flex/index.d.ts +0 -11
- package/types/flex/interface.d.ts +0 -9
- package/types/form/Control.d.ts +0 -65
- package/types/form/Form.d.ts +0 -6
- package/types/form/FormItem.d.ts +0 -7
- package/types/form/FormItemTip.d.ts +0 -3
- package/types/form/FormList.d.ts +0 -6
- package/types/form/FormProvider.d.ts +0 -5
- package/types/form/context.d.ts +0 -15
- package/types/form/hook/useForm.d.ts +0 -5
- package/types/form/hook/useFormContext.d.ts +0 -10
- package/types/form/hook/useFormState.d.ts +0 -3
- package/types/form/hook/useWatch.d.ts +0 -3
- package/types/form/index.d.ts +0 -32
- package/types/form/interface.d.ts +0 -552
- package/types/form/store.d.ts +0 -99
- package/types/form/utils.d.ts +0 -17
- package/types/global-provider/context.d.ts +0 -3
- package/types/global-provider/index.d.ts +0 -11
- package/types/grid/Item.d.ts +0 -4
- package/types/grid/index.d.ts +0 -11
- package/types/grid/interface.d.ts +0 -114
- package/types/grid/utils.d.ts +0 -2
- package/types/hooks/use-breakpoint/index.d.ts +0 -3
- package/types/hooks/use-verification-code/index.d.ts +0 -3
- package/types/hooks/use-watermark/index.d.ts +0 -3
- package/types/icon/Icon.d.ts +0 -8
- package/types/icon/index.d.ts +0 -2
- package/types/icon-hover/index.d.ts +0 -6
- package/types/icon-hover/interface.d.ts +0 -8
- package/types/icons/file/index.d.ts +0 -4
- package/types/icons/file/interface.d.ts +0 -7
- package/types/image/Image.d.ts +0 -14
- package/types/image/ImageFooter.d.ts +0 -13
- package/types/image/ImagePreview.d.ts +0 -7
- package/types/image/ImagePreviewGroup.d.ts +0 -11
- package/types/image/ImagePreviewToolbar.d.ts +0 -14
- package/types/image/TriggerForToolbar.d.ts +0 -10
- package/types/image/context.d.ts +0 -24
- package/types/image/index.d.ts +0 -4
- package/types/image/interface.d.ts +0 -257
- package/types/image/utils/getScale.d.ts +0 -13
- package/types/image/utils/hook/useShowFooter.d.ts +0 -8
- package/types/index.d.ts +0 -195
- package/types/input/Button.d.ts +0 -5
- package/types/input/Group.d.ts +0 -7
- package/types/input/Input.d.ts +0 -25
- package/types/input/InputElement.d.ts +0 -4
- package/types/input/Password.d.ts +0 -5
- package/types/input/Search.d.ts +0 -5
- package/types/input/Textarea.d.ts +0 -9
- package/types/input/index.d.ts +0 -8
- package/types/input/interface.d.ts +0 -318
- package/types/input/useComposition.d.ts +0 -18
- package/types/input-number/index.d.ts +0 -6
- package/types/input-number/interface.d.ts +0 -128
- package/types/input-tag/InputTag.d.ts +0 -7
- package/types/input-tag/index.d.ts +0 -3
- package/types/input-tag/interface.d.ts +0 -187
- package/types/layout/Content.d.ts +0 -3
- package/types/layout/Footer.d.ts +0 -3
- package/types/layout/Header.d.ts +0 -3
- package/types/layout/Sider.d.ts +0 -8
- package/types/layout/index.d.ts +0 -16
- package/types/layout/interface.d.ts +0 -123
- package/types/link/index.d.ts +0 -6
- package/types/list/Item.d.ts +0 -8
- package/types/list/Meta.d.ts +0 -4
- package/types/list/index.d.ts +0 -13
- package/types/list/interface.d.ts +0 -189
- package/types/locale/ar-EG.d.ts +0 -4
- package/types/locale/de-DE.d.ts +0 -4
- package/types/locale/es-ES.d.ts +0 -4
- package/types/locale/fr-FR.d.ts +0 -4
- package/types/locale/id-ID.d.ts +0 -4
- package/types/locale/it-IT.d.ts +0 -4
- package/types/locale/ja-JP.d.ts +0 -4
- package/types/locale/ko-KR.d.ts +0 -4
- package/types/locale/ms-MY.d.ts +0 -4
- package/types/locale/pt-BR.d.ts +0 -4
- package/types/locale/pt-PT.d.ts +0 -4
- package/types/locale/ru-RU.d.ts +0 -4
- package/types/locale/th-TH.d.ts +0 -4
- package/types/locale/tr-TR.d.ts +0 -4
- package/types/locale/vi-VN.d.ts +0 -4
- package/types/locale/zh-CN.d.ts +0 -4
- package/types/locale/zh-HK.d.ts +0 -4
- package/types/locale/zh-TW.d.ts +0 -4
- package/types/marquee/interface.d.ts +0 -95
- package/types/marquee-/index.d.ts +0 -8
- package/types/marquee-/interface.d.ts +0 -56
- package/types/mask/Mask.d.ts +0 -5
- package/types/mask/index.d.ts +0 -2
- package/types/masonry/hooks/useDelay.d.ts +0 -2
- package/types/masonry/hooks/useGutter.d.ts +0 -5
- package/types/masonry/index.d.ts +0 -2
- package/types/masonry/interface.d.ts +0 -43
- package/types/mentions/index.d.ts +0 -5
- package/types/mentions/interface.d.ts +0 -88
- package/types/mentions/utils.d.ts +0 -9
- package/types/menu/Item.d.ts +0 -6
- package/types/menu/ItemGroup.d.ts +0 -6
- package/types/menu/Menu.d.ts +0 -16
- package/types/menu/OverflowWrap.d.ts +0 -9
- package/types/menu/context.d.ts +0 -15
- package/types/menu/index.d.ts +0 -4
- package/types/menu/interface.d.ts +0 -222
- package/types/menu/sub-menu/Inline.d.ts +0 -5
- package/types/menu/sub-menu/Pop.d.ts +0 -5
- package/types/menu/sub-menu/index.d.ts +0 -6
- package/types/message/Message.d.ts +0 -20
- package/types/message/index.d.ts +0 -6
- package/types/message/useMessage.d.ts +0 -5
- package/types/modal/Confirm.d.ts +0 -15
- package/types/modal/Modal.d.ts +0 -20
- package/types/modal/config.d.ts +0 -9
- package/types/modal/index.d.ts +0 -4
- package/types/modal/interface.d.ts +0 -191
- package/types/modal/use-modal/Hook.d.ts +0 -7
- package/types/modal/use-modal/index.d.ts +0 -4
- package/types/notice/Notice.d.ts +0 -4
- package/types/notice/index.d.ts +0 -2
- package/types/notification/Notification.d.ts +0 -22
- package/types/notification/index.d.ts +0 -6
- package/types/notification/interface.d.ts +0 -84
- package/types/notification/useNotification.d.ts +0 -5
- package/types/overflow-ellipsis/index.d.ts +0 -5
- package/types/page-header/index.d.ts +0 -7
- package/types/page-header/interface.d.ts +0 -57
- package/types/pagination/PageItem.d.ts +0 -18
- package/types/pagination/PageJumper.d.ts +0 -13
- package/types/pagination/PageOption.d.ts +0 -17
- package/types/pagination/Pagination.d.ts +0 -11
- package/types/pagination/index.d.ts +0 -5
- package/types/pagination/interface.d.ts +0 -179
- package/types/picker/Input.d.ts +0 -3
- package/types/picker/InputRange.d.ts +0 -3
- package/types/picker/index.d.ts +0 -3
- package/types/picker/interface.d.ts +0 -57
- package/types/popconfirm/index.d.ts +0 -6
- package/types/popconfirm/interface.d.ts +0 -108
- package/types/popover/Popover.d.ts +0 -6
- package/types/popover/index.d.ts +0 -3
- package/types/popover/interface.d.ts +0 -19
- package/types/portal/Portal.d.ts +0 -4
- package/types/portal/index.d.ts +0 -4
- package/types/progress/CircleProgress.d.ts +0 -8
- package/types/progress/index.d.ts +0 -4
- package/types/progress/interface.d.ts +0 -84
- package/types/progress2/index.d.ts +0 -1
- package/types/progress2/interface.d.ts +0 -1
- package/types/qr-code/QRCode.d.ts +0 -5
- package/types/qr-code/index.d.ts +0 -4
- package/types/qr-code/src/qrcodegen.d.ts +0 -95
- package/types/qr-code/src/qrcodegen2.d.ts +0 -325
- package/types/radio/Group.d.ts +0 -10
- package/types/radio/GroupBlock.d.ts +0 -7
- package/types/radio/Radio.d.ts +0 -14
- package/types/radio/index.d.ts +0 -6
- package/types/radio/interface.d.ts +0 -102
- package/types/rate/index.d.ts +0 -5
- package/types/rate/interface.d.ts +0 -66
- package/types/resize-box/Split.d.ts +0 -4
- package/types/resize-box/SplitGroup.d.ts +0 -4
- package/types/resize-box/index.d.ts +0 -14
- package/types/result/index.d.ts +0 -6
- package/types/rich-text/RichText.d.ts +0 -8
- package/types/rich-text/constant.d.ts +0 -1
- package/types/rich-text/index.d.ts +0 -6
- package/types/rich-text/lib/blots/scroll.d.ts +0 -44
- package/types/rich-text/lib/core/composition.d.ts +0 -16
- package/types/rich-text/lib/core/rich.d.ts +0 -185
- package/types/rich-text/lib/core/selection.d.ts +0 -74
- package/types/rich-text/lib/delta/index.d.ts +0 -54
- package/types/rich-text/lib/modules/clipboard.d.ts +0 -47
- package/types/rich-text/lib/modules/history.d.ts +0 -39
- package/types/rich-text/lib/modules/input.d.ts +0 -13
- package/types/rich-text/lib/modules/keyboard.d.ts +0 -60
- package/types/rich-text/lib/modules/table.d.ts +0 -22
- package/types/rich-text/lib/modules/uiNode.d.ts +0 -22
- package/types/rich-text/lib/modules/uploader.d.ts +0 -17
- package/types/rich-text/lib/parchment/attributor/store.d.ts +0 -15
- package/types/rich-text/lib/parchment/blot/scroll.d.ts +0 -34
- package/types/rich-text/lib/parchment/registry.d.ts +0 -21
- package/types/row-col/index.d.ts +0 -8
- package/types/segmented/interface.d.ts +0 -123
- package/types/select/Option.d.ts +0 -7
- package/types/select/OptionGroup.d.ts +0 -7
- package/types/select/Select.d.ts +0 -12
- package/types/select/index.d.ts +0 -4
- package/types/select/interface.d.ts +0 -295
- package/types/select/utils.d.ts +0 -25
- package/types/select-view/interface.d.ts +0 -148
- package/types/skeleton/Image.d.ts +0 -3
- package/types/skeleton/Text.d.ts +0 -4
- package/types/skeleton/index.d.ts +0 -7
- package/types/slider/Button.d.ts +0 -21
- package/types/slider/Dot.d.ts +0 -17
- package/types/slider/Input.d.ts +0 -16
- package/types/slider/Mark.d.ts +0 -16
- package/types/slider/Tick.d.ts +0 -14
- package/types/slider/hook/useInterval.d.ts +0 -24
- package/types/slider/hook/useLegalValue.d.ts +0 -16
- package/types/slider/index.d.ts +0 -5
- package/types/slider/interface.d.ts +0 -119
- package/types/slider/utils.d.ts +0 -11
- package/types/space/index.d.ts +0 -7
- package/types/space/interface.d.ts +0 -10
- package/types/speech-synthesis/index.d.ts +0 -3
- package/types/speech-synthesis/interface.d.ts +0 -7
- package/types/speech-synthesis/style/index.d.ts +0 -1
- package/types/spin/index.d.ts +0 -5
- package/types/splitter/index.d.ts +0 -9
- package/types/statistic/index.d.ts +0 -9
- package/types/steps/Step.d.ts +0 -4
- package/types/steps/index.d.ts +0 -11
- package/types/suspense-fallback-test/interface.d.ts +0 -2
- package/types/switch/index.d.ts +0 -11
- package/types/switch/interface.d.ts +0 -66
- package/types/table/ColGroup.d.ts +0 -13
- package/types/table/Table.d.ts +0 -10
- package/types/table/constant.d.ts +0 -4
- package/types/table/hook/useColumns.d.ts +0 -3
- package/types/table/hook/useComponent.d.ts +0 -31
- package/types/table/hook/useExpand.d.ts +0 -4
- package/types/table/hook/useRowSelection.d.ts +0 -13
- package/types/table/hook/useSorter.d.ts +0 -8
- package/types/table/hook/useStickyClassNames.d.ts +0 -3
- package/types/table/hook/useStickyOffsets.d.ts +0 -3
- package/types/table/index.d.ts +0 -19
- package/types/table/interface.d.ts +0 -729
- package/types/table/summary/context.d.ts +0 -9
- package/types/table/summary/index.d.ts +0 -11
- package/types/table/tbody/Td.d.ts +0 -5
- package/types/table/tbody/Tr.d.ts +0 -9
- package/types/table/tbody/index.d.ts +0 -4
- package/types/table/tfoot/index.d.ts +0 -3
- package/types/table/thead/Column.d.ts +0 -3
- package/types/table/thead/index.d.ts +0 -3
- package/types/table/utils.d.ts +0 -17
- package/types/tabs/TabContent.d.ts +0 -3
- package/types/tabs/TabPane.d.ts +0 -5
- package/types/tabs/Tabs.d.ts +0 -13
- package/types/tabs/hook/useDomSize.d.ts +0 -12
- package/types/tabs/hook/useHeaderScroll.d.ts +0 -10
- package/types/tabs/index.d.ts +0 -7
- package/types/tabs/interface.d.ts +0 -228
- package/types/tabs/tab-header/TabNavIcon.d.ts +0 -17
- package/types/tabs/tab-header/index.d.ts +0 -4
- package/types/tag/index.d.ts +0 -6
- package/types/tag/interface.d.ts +0 -70
- package/types/time-picker/Picker.d.ts +0 -3
- package/types/time-picker/TimePicker.d.ts +0 -3
- package/types/time-picker/TimePickerRange.d.ts +0 -3
- package/types/time-picker/context.d.ts +0 -6
- package/types/time-picker/index.d.ts +0 -10
- package/types/time-picker/interface.d.ts +0 -264
- package/types/timeline/Item.d.ts +0 -8
- package/types/timeline/Timeline.d.ts +0 -12
- package/types/timeline/index.d.ts +0 -4
- package/types/timer/interface.d.ts +0 -6
- package/types/tooltip/Tooltip.d.ts +0 -6
- package/types/tooltip/index.d.ts +0 -3
- package/types/tooltip/interface.d.ts +0 -94
- package/types/transfer/Item.d.ts +0 -3
- package/types/transfer/List.d.ts +0 -5
- package/types/transfer/index.d.ts +0 -5
- package/types/transfer/interface.d.ts +0 -219
- package/types/tree/Animation.d.ts +0 -4
- package/types/tree/Context.d.ts +0 -28
- package/types/tree/Node.d.ts +0 -10
- package/types/tree/Tree.d.ts +0 -19
- package/types/tree/index.d.ts +0 -2
- package/types/tree/interface.d.ts +0 -371
- package/types/tree/utils.d.ts +0 -12
- package/types/tree-select/List.d.ts +0 -11
- package/types/tree-select/Select.d.ts +0 -14
- package/types/tree-select/hook/useKeyCache.d.ts +0 -6
- package/types/tree-select/hook/useStateValue.d.ts +0 -19
- package/types/tree-select/hook/useTreeData.d.ts +0 -4
- package/types/tree-select/index.d.ts +0 -4
- package/types/tree-select/interface.d.ts +0 -196
- package/types/trigger/getPopupStyle.d.ts +0 -14
- package/types/trigger/index.d.ts +0 -10
- package/types/trigger/interface.d.ts +0 -257
- package/types/typography/Base.d.ts +0 -8
- package/types/typography/EditContent.d.ts +0 -4
- package/types/typography/Ellipsis.d.ts +0 -6
- package/types/typography/Operations.d.ts +0 -4
- package/types/typography/Paragraph.d.ts +0 -3
- package/types/typography/Title.d.ts +0 -3
- package/types/typography/Typography.d.ts +0 -3
- package/types/typography/index.d.ts +0 -14
- package/types/typography/interface.d.ts +0 -277
- package/types/typography/useCssEllipsis.d.ts +0 -6
- package/types/typography/useEllipsis.d.ts +0 -21
- package/types/upload/TriggerNode.d.ts +0 -6
- package/types/upload/Upload.d.ts +0 -9
- package/types/upload/Uploader.d.ts +0 -15
- package/types/upload/constant.d.ts +0 -4
- package/types/upload/index.d.ts +0 -6
- package/types/upload/interface.d.ts +0 -336
- package/types/upload/list/PictureItem.d.ts +0 -8
- package/types/upload/list/TextItem.d.ts +0 -8
- package/types/upload/list/UploadProgress.d.ts +0 -14
- package/types/upload/list/index.d.ts +0 -6
- package/types/upload/list/utils.d.ts +0 -2
- package/types/upload/request.d.ts +0 -3
- package/types/upload/utils.d.ts +0 -4
- package/types/utils/constant.d.ts +0 -4
- package/types/utils/contextHolder.d.ts +0 -10
- package/types/utils/getHotkeyHandler.d.ts +0 -4
- package/types/utils/is.d.ts +0 -1
- package/types/utils/names.d.ts +0 -1035
- package/types/utils/validate.d.ts +0 -2
- package/types/verification-code/VerificationCode.d.ts +0 -10
- package/types/verification-code/index.d.ts +0 -6
- package/types/verification-code/interface.d.ts +0 -74
- package/types/version/index.d.ts +0 -4
- package/types/virtual-list/hook/useCacheChildrenNodes.d.ts +0 -4
- package/types/virtual-list/hook/useComputeVirtualItemHeight.d.ts +0 -3
- package/types/virtual-list/index.d.ts +0 -4
- package/types/virtual-list/interface.d.ts +0 -55
- package/types/virtual-list/utils/algorithm.d.ts +0 -23
- package/types/watermark/Watermark.d.ts +0 -5
- package/types/watermark/index.d.ts +0 -6
- /package/{types/affix → affix}/interface.d.ts +0 -0
- /package/{types/alert → alert}/interface.d.ts +0 -0
- /package/{types/anchor → anchor}/interface.d.ts +0 -0
- /package/{types/app → app}/App.d.ts +0 -0
- /package/{types/app → app}/index.d.ts +0 -0
- /package/{types/app → app}/interface.d.ts +0 -0
- /package/{types/back-top → back-top}/interface.d.ts +0 -0
- /package/{types/badge → badge}/Count.d.ts +0 -0
- /package/{types/badge → badge}/interface.d.ts +0 -0
- /package/{types/calendar → calendar}/WeekList.d.ts +0 -0
- /package/{types/calendar → calendar}/header/Panel.d.ts +0 -0
- /package/{types/calendar → calendar}/header/index.d.ts +0 -0
- /package/{types/calendar → calendar}/hook/useCellClassName.d.ts +0 -0
- /package/{types/calendar → calendar}/interface.d.ts +0 -0
- /package/{types/card → card}/interface.d.ts +0 -0
- /package/{types/carousel → carousel}/interface.d.ts +0 -0
- /package/{types/cascader → cascader}/hook/useRefCurrent.d.ts +0 -0
- /package/{types/checkbox → checkbox}/context.d.ts +0 -0
- /package/{types/checkbox → checkbox}/useCheckbox.d.ts +0 -0
- /package/{types/collapse → collapse}/interface.d.ts +0 -0
- /package/{types/comment → comment}/interface.d.ts +0 -0
- /package/{types/config-provider → config-provider}/initUI.d.ts +0 -0
- /package/{types/config-provider → config-provider}/useConfigProvider.d.ts +0 -0
- /package/{types/copy → copy}/interface.d.ts +0 -0
- /package/{types/countdown → countdown}/interface.d.ts +0 -0
- /package/{types/countdown → countdown}/utils.d.ts +0 -0
- /package/{types/date-picker → date-picker}/hook/useCellClassName.d.ts +0 -0
- /package/{types/date-picker → date-picker}/panel/Footer.d.ts +0 -0
- /package/{types/date-picker → date-picker}/panel/WeekList.d.ts +0 -0
- /package/{types/date-picker → date-picker}/panel/date/index.d.ts +0 -0
- /package/{types/details → details}/interface.d.ts +0 -0
- /package/{types/development/index.d.ts → development/Development.d.ts} +0 -0
- /package/{types/development → development}/interface.d.ts +0 -0
- /package/{types/divider → divider}/interface.d.ts +0 -0
- /package/{types/draggable → draggable}/interface.d.ts +0 -0
- /package/{types/draw → draw}/constant.d.ts +0 -0
- /package/{types/draw → draw}/interface.d.ts +0 -0
- /package/{types/form → form}/FormLabel.d.ts +0 -0
- /package/{types/form → form}/promisify.d.ts +0 -0
- /package/{types/global-provider → global-provider}/interface.d.ts +0 -0
- /package/{types/grid → grid}/Grid.d.ts +0 -0
- /package/{types/grid → grid}/context.d.ts +0 -0
- /package/{types/hooks → hooks}/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-computed-state/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-create/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-creation/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-event/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-event-listener/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-force-update/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-fullscreen/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-id/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-in-view/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-intersection-observer/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-intersection-observers/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-interval/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-is-first-render/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-isomorphic-layout-effect/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-keyboard-event/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-latest/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-listen-window-resize/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-media/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-merge-props/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-merge-value/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-move/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-mutation-observers/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-online-status/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-overflow-hidden/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-override-ref/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-persist-callback/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-prefers-color-scheme-dark/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-previous/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-refs/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-resize-observer/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-resize-observers/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-responsive-state/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-set-state/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-state-callback/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-state-with-promise/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-update-effect/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-update-layout-effect/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-verification-code/interface.d.ts +0 -0
- /package/{types/hooks → hooks}/use-watch/index.d.ts +0 -0
- /package/{types/hooks → hooks}/use-watermark/interface.d.ts +0 -0
- /package/{types/hooks → hooks}/use-watermark/utils.d.ts +0 -0
- /package/{types/hooks → hooks}/use-window-size/index.d.ts +0 -0
- /package/{types/hooks → hooks}/useUnmountOnExit.d.ts +0 -0
- /package/{types/icon → icon}/addIconFromCdn.d.ts +0 -0
- /package/{types/icon → icon}/interface.d.ts +0 -0
- /package/{types/icons.d.ts → icons.d.ts} +0 -0
- /package/{types/image → image}/ImagePreviewArrow.d.ts +0 -0
- /package/{types/image → image}/utils/getFixTranslate.d.ts +0 -0
- /package/{types/image → image}/utils/hook/useImageStatus.d.ts +0 -0
- /package/{types/input → input}/Number.d.ts +0 -0
- /package/{types/input → input}/Tag.d.ts +0 -0
- /package/{types/input → input}/autoSizeTextareaHeight.d.ts +0 -0
- /package/{types/input → input}/utils.d.ts +0 -0
- /package/{types/input-number → input-number}/decimal.d.ts +0 -0
- /package/{types/input-number → input-number}/useSelectionRange.d.ts +0 -0
- /package/{types/input-number → input-number}/utils.d.ts +0 -0
- /package/{types/interface.d.ts → interface.d.ts} +0 -0
- /package/{types/layout → layout}/context.d.ts +0 -0
- /package/{types/link → link}/interface.d.ts +0 -0
- /package/{types/liquid-fill/index.d.ts → liquid-fill/LiquidFill.d.ts} +0 -0
- /package/{types/liquid-fill → liquid-fill}/interface.d.ts +0 -0
- /package/{types/loading/index.d.ts → loading/Loading.d.ts} +0 -0
- /package/{types/loading → loading}/interface.d.ts +0 -0
- /package/{types/locale → locale}/default.d.ts +0 -0
- /package/{types/locale → locale}/en-US.d.ts +0 -0
- /package/{types/locale → locale}/interface.d.ts +0 -0
- /package/{types/marquee/index.d.ts → marquee/Marquee.d.ts} +0 -0
- /package/{types/mask → mask}/interface.d.ts +0 -0
- /package/{types/masonry → masonry}/Masonry.d.ts +0 -0
- /package/{types/masonry → masonry}/MasonryItem.d.ts +0 -0
- /package/{types/masonry → masonry}/hooks/usePositions.d.ts +0 -0
- /package/{types/masonry → masonry}/hooks/useRefs.d.ts +0 -0
- /package/{types/menu → menu}/Indent.d.ts +0 -0
- /package/{types/menu → menu}/utils.d.ts +0 -0
- /package/{types/message → message}/interface.d.ts +0 -0
- /package/{types/notice → notice}/interface.d.ts +0 -0
- /package/{types/notification → notification}/withNotification.d.ts +0 -0
- /package/{types/overflow-ellipsis → overflow-ellipsis}/OverflowItem.d.ts +0 -0
- /package/{types/overflow-ellipsis → overflow-ellipsis}/interface.d.ts +0 -0
- /package/{types/portal → portal}/interface.d.ts +0 -0
- /package/{types/progress → progress}/LineProgess.d.ts +0 -0
- /package/{types/progress → progress}/StepProgress.d.ts +0 -0
- /package/{types/qr-code → qr-code}/examples/demo.d.ts +0 -0
- /package/{types/qr-code → qr-code}/examples/download.d.ts +0 -0
- /package/{types/qr-code → qr-code}/examples/full.d.ts +0 -0
- /package/{types/qr-code → qr-code}/examples/image.d.ts +0 -0
- /package/{types/qr-code → qr-code}/interface.d.ts +0 -0
- /package/{types/qr-code → qr-code}/src/index.d.ts +0 -0
- /package/{types/resize-box → resize-box}/ResizeTrigger.d.ts +0 -0
- /package/{types/resize-box → resize-box}/interface.d.ts +0 -0
- /package/{types/result → result}/403.d.ts +0 -0
- /package/{types/result → result}/404.d.ts +0 -0
- /package/{types/result → result}/500.d.ts +0 -0
- /package/{types/result → result}/interface.d.ts +0 -0
- /package/{types/rich-text → rich-text}/Toolbar.d.ts +0 -0
- /package/{types/rich-text → rich-text}/interface.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/block.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/break.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/container.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/cursor.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/embed.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/inline.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/blots/text.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/editor.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/emitter.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/logger.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/module.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/theme.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/utils/createRegistryWithFormats.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/core/utils/scrollRectIntoView.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/delta/AttributeMap.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/delta/Op.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/delta/OpIterator.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/diff/index.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/align.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/background.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/blockquote.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/bold.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/code.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/color.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/direction.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/emoji.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/font.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/formula.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/header.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/hr.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/image.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/indent.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/italic.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/liOl.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/liUl.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/lineHeight.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/link.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/list.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/script.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/size.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/strike.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/table.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/underline.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/formats/video.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/index.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/image-resize/index.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/image-resize/modules/Base.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/image-resize/modules/DisplaySize.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/image-resize/modules/Resize.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/image-resize/options.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/normalizeExternalHTML/index.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/normalizeExternalHTML/normalizers/googleDocs.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/normalizeExternalHTML/normalizers/msWord.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/tableEmbed.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/toolbar copy.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/modules/toolbar.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/attributor/attributor.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/attributor/class.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/attributor/style.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/blot.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/container.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/leaf.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/parent.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/abstract/shadow.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/block.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/embed.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/inline.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/blot/text.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/collection/linked-list.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/collection/linked-node.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/error.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/index.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/parchment/scope.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/themes/base.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/themes/pqb.d.ts +0 -0
- /package/{types/rich-text → rich-text}/lib/ui/tooltip.d.ts +0 -0
- /package/{types/row-col → row-col}/Col-.d.ts +0 -0
- /package/{types/row-col → row-col}/Col.d.ts +0 -0
- /package/{types/row-col → row-col}/Row.d.ts +0 -0
- /package/{types/row-col → row-col}/context.d.ts +0 -0
- /package/{types/row-col → row-col}/interface.d.ts +0 -0
- /package/{types/segmented/index.d.ts → segmented/Segmented.d.ts} +0 -0
- /package/{types/select-view → select-view}/Core.d.ts +0 -0
- /package/{types/select-view/index.d.ts → select-view/SelectView.d.ts} +0 -0
- /package/{types/skeleton → skeleton}/interface.d.ts +0 -0
- /package/{types/spin → spin}/DotLoading.d.ts +0 -0
- /package/{types/spin → spin}/interface.d.ts +0 -0
- /package/{types/splitter → splitter}/Panel.d.ts +0 -0
- /package/{types/splitter → splitter}/SplitBar.d.ts +0 -0
- /package/{types/splitter → splitter}/Splitter.d.ts +0 -0
- /package/{types/splitter → splitter}/hooks/useItems.d.ts +0 -0
- /package/{types/splitter → splitter}/hooks/useResizable.d.ts +0 -0
- /package/{types/splitter → splitter}/hooks/useResize.d.ts +0 -0
- /package/{types/splitter → splitter}/hooks/useSizes.d.ts +0 -0
- /package/{types/splitter → splitter}/interface.d.ts +0 -0
- /package/{types/statistic → statistic}/interface.d.ts +0 -0
- /package/{types/steps → steps}/interface.d.ts +0 -0
- /package/{types/suspense-fallback-test/index.d.ts → suspense-fallback-test/SuspenseFallbackTest.d.ts} +0 -0
- /package/{types/table → table}/context.d.ts +0 -0
- /package/{types/table → table}/hook/useThResizable.d.ts +0 -0
- /package/{types/table → table}/summary/Cell.d.ts +0 -0
- /package/{types/table → table}/summary/Row.d.ts +0 -0
- /package/{types/table → table}/th-resizable/index.d.ts +0 -0
- /package/{types/tabs → tabs}/context.d.ts +0 -0
- /package/{types/tabs → tabs}/tab-header/DropdownIcon.d.ts +0 -0
- /package/{types/tabs → tabs}/tab-header/TabInk.d.ts +0 -0
- /package/{types/tabs → tabs}/tab-header/TabTitle.d.ts +0 -0
- /package/{types/tabs → tabs}/utils.d.ts +0 -0
- /package/{types/time-picker → time-picker}/TimeColumn.d.ts +0 -0
- /package/{types/time-picker → time-picker}/utils.d.ts +0 -0
- /package/{types/timeline → timeline}/interface.d.ts +0 -0
- /package/{types/timer/index.d.ts → timer/Timer.d.ts} +0 -0
- /package/{types/tour/index.d.ts → tour/Tour.d.ts} +0 -0
- /package/{types/tour → tour}/interface.d.ts +0 -0
- /package/{types/tree → tree}/NodeList.d.ts +0 -0
- /package/{types/tree-select → tree-select}/utils.d.ts +0 -0
- /package/{types/typography → typography}/Text.d.ts +0 -0
- /package/{types/utils → utils}/callOrReturn.d.ts +0 -0
- /package/{types/utils → utils}/callbackOriginRef.d.ts +0 -0
- /package/{types/utils → utils}/caseName.d.ts +0 -0
- /package/{types/utils → utils}/className.d.ts +0 -0
- /package/{types/utils → utils}/copy.d.ts +0 -0
- /package/{types/utils → utils}/date.d.ts +0 -0
- /package/{types/utils → utils}/dayjs.d.ts +0 -0
- /package/{types/utils → utils}/dom.d.ts +0 -0
- /package/{types/utils → utils}/emitter.d.ts +0 -0
- /package/{types/utils → utils}/fileRead.d.ts +0 -0
- /package/{types/utils → utils}/fileToDataURL.d.ts +0 -0
- /package/{types/utils → utils}/fillNBSP.d.ts +0 -0
- /package/{types/utils → utils}/findRootElement.d.ts +0 -0
- /package/{types/utils → utils}/findScrollParent.d.ts +0 -0
- /package/{types/utils → utils}/getHighlightText.d.ts +0 -0
- /package/{types/utils → utils}/getStringLength.d.ts +0 -0
- /package/{types/utils → utils}/include.d.ts +0 -0
- /package/{types/utils → utils}/index.d.ts +0 -0
- /package/{types/utils → utils}/intersectionObserver.d.ts +0 -0
- /package/{types/utils → utils}/keyboardCode.d.ts +0 -0
- /package/{types/utils → utils}/lodash.d.ts +0 -0
- /package/{types/utils → utils}/math.d.ts +0 -0
- /package/{types/utils → utils}/mergeProps.d.ts +0 -0
- /package/{types/utils → utils}/mergedToString.d.ts +0 -0
- /package/{types/utils → utils}/mutationObserver.d.ts +0 -0
- /package/{types/utils → utils}/omit.d.ts +0 -0
- /package/{types/utils → utils}/pad.d.ts +0 -0
- /package/{types/utils → utils}/pick.d.ts +0 -0
- /package/{types/utils → utils}/pinyin.d.ts +0 -0
- /package/{types/utils → utils}/react19Adapter.d.ts +0 -0
- /package/{types/utils → utils}/ref.d.ts +0 -0
- /package/{types/utils → utils}/resizeObserver.d.ts +0 -0
- /package/{types/utils → utils}/responsiveObserve.d.ts +0 -0
- /package/{types/utils → utils}/saveAs.d.ts +0 -0
- /package/{types/utils → utils}/screenfull.d.ts +0 -0
- /package/{types/utils → utils}/scrollIntoViewIfNeeded.d.ts +0 -0
- /package/{types/utils → utils}/setCreateRoot.d.ts +0 -0
- /package/{types/utils → utils}/setDarkTheme.d.ts +0 -0
- /package/{types/utils → utils}/setPrimaryColor.d.ts +0 -0
- /package/{types/utils → utils}/setTheme.d.ts +0 -0
- /package/{types/utils → utils}/string.d.ts +0 -0
- /package/{types/utils → utils}/style.d.ts +0 -0
- /package/{types/utils → utils}/throttleByRaf.d.ts +0 -0
- /package/{types/utils → utils}/throttleByRaf2.d.ts +0 -0
- /package/{types/utils → utils}/toArray.d.ts +0 -0
- /package/{types/utils → utils}/tree.d.ts +0 -0
- /package/{types/utils → utils}/tween.d.ts +0 -0
- /package/{types/utils → utils}/uuid.d.ts +0 -0
- /package/{types/utils → utils}/warning.d.ts +0 -0
- /package/{types/virtual-list → virtual-list}/Filler.d.ts +0 -0
- /package/{types/virtual-list → virtual-list}/VirtualList.d.ts +0 -0
- /package/{types/virtual-list → virtual-list}/constant.d.ts +0 -0
- /package/{types/virtual-list → virtual-list}/utils/item.d.ts +0 -0
- /package/{types/watermark → watermark}/interface.d.ts +0 -0
package/hooks/useOnlineStatus.js
DELETED
package/hooks/useOverrideRef.js
DELETED
package/hooks/usePrevious.js
DELETED
package/hooks/useRefs.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* 2026-03-02 09:28:59 */
|
|
2
|
-
import "react";
|
|
3
|
-
import "@unicom-cloud/ui-common/utils/is";
|
|
4
|
-
import "../utils/responsiveObserve.js";
|
|
5
|
-
import { default as p, isResponsiveValue as a, useResponsive as r, default as u } from "./use-responsive-state/index.js";
|
|
6
|
-
export {
|
|
7
|
-
p as default,
|
|
8
|
-
a as isResponsiveValue,
|
|
9
|
-
r as useResponsive,
|
|
10
|
-
u as useResponsiveState
|
|
11
|
-
};
|
package/hooks/useSetState.js
DELETED
package/hooks/useUpdateEffect.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* 2026-03-02 09:28:59 */
|
|
2
|
-
import "react";
|
|
3
|
-
import "@unicom-cloud/ui-common/utils/is";
|
|
4
|
-
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
5
|
-
import "@unicom-cloud/ui-common/hooks/use-merge-value";
|
|
6
|
-
import { default as p, default as a } from "./use-verification-code/index.js";
|
|
7
|
-
export {
|
|
8
|
-
p as default,
|
|
9
|
-
a as useVerificationCode
|
|
10
|
-
};
|
package/hooks/useWatch.js
DELETED
package/hooks/useWatermark.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* 2026-03-02 09:28:59 */
|
|
2
|
-
import "@unicom-cloud/ui-common/utils/dom";
|
|
3
|
-
import "lodash/merge";
|
|
4
|
-
import "react";
|
|
5
|
-
import "@unicom-cloud/ui-common/utils/is";
|
|
6
|
-
import "./use-watermark/utils.js";
|
|
7
|
-
import { default as i, default as f } from "./use-watermark/index.js";
|
|
8
|
-
export {
|
|
9
|
-
i as default,
|
|
10
|
-
f as useWatermark
|
|
11
|
-
};
|
package/hooks/useWindowSize.js
DELETED
package/icons/file.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* 2026-03-02 09:28:59 */
|
|
2
|
-
import "react/jsx-runtime";
|
|
3
|
-
import "@unicom-cloud/ui-common/icons/file";
|
|
4
|
-
import "react";
|
|
5
|
-
import "../config-provider/ConfigProvider.js";
|
|
6
|
-
import "@unicom-cloud/ui-common/utils/className";
|
|
7
|
-
import "../config-provider/context.js";
|
|
8
|
-
import { default as a } from "./file/index.js";
|
|
9
|
-
export {
|
|
10
|
-
a as default
|
|
11
|
-
};
|
package/progress2/index.js
DELETED
package/tree-select/Select.js
DELETED
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
/* 2026-03-02 09:28:59 */
|
|
2
|
-
import { jsx as C } from "react/jsx-runtime";
|
|
3
|
-
import me from "lodash/debounce";
|
|
4
|
-
import { forwardRef as fe, useContext as x, useRef as m, useState as de, useCallback as S, useEffect as j, useMemo as ge, useImperativeHandle as he } from "react";
|
|
5
|
-
import "../config-provider/ConfigProvider.js";
|
|
6
|
-
import { FormContext as ye, FormItemContext as Ce } from "../form/context.js";
|
|
7
|
-
import Se from "@unicom-cloud/ui-common/hooks/use-id";
|
|
8
|
-
import Ve from "@unicom-cloud/ui-common/hooks/use-is-first-render";
|
|
9
|
-
import be from "@unicom-cloud/ui-common/hooks/use-merge-props";
|
|
10
|
-
import U from "@unicom-cloud/ui-common/hooks/use-merge-value";
|
|
11
|
-
import Pe from "../select-view/index.js";
|
|
12
|
-
import d from "../tree/Tree.js";
|
|
13
|
-
import { getAllCheckedKeysByCheck as Ie } from "../tree/utils.js";
|
|
14
|
-
import ke from "../trigger/index.js";
|
|
15
|
-
import { callOrReturn as Ne } from "@unicom-cloud/utils/function";
|
|
16
|
-
import z from "@unicom-cloud/ui-common/utils/className";
|
|
17
|
-
import { isFunction as f, isPlainObject as B, isNil as ve, isArray as Oe, isEmptyValue as we, isEmptyArray as Ee, isEmptyObject as Te } from "@unicom-cloud/ui-common/utils/is";
|
|
18
|
-
import He from "./List.js";
|
|
19
|
-
import Re from "./hook/useKeyCache.js";
|
|
20
|
-
import xe, { parseValue as Fe } from "./hook/useStateValue.js";
|
|
21
|
-
import Ke from "./hook/useTreeData.js";
|
|
22
|
-
import { DefaultFieldNames as Ae } from "./interface.js";
|
|
23
|
-
import { normalizeValueToArray as _e } from "./utils.js";
|
|
24
|
-
import We from "../config-provider/context.js";
|
|
25
|
-
import { default as dt } from "../tree/Node.js";
|
|
26
|
-
const Le = {
|
|
27
|
-
bordered: !0,
|
|
28
|
-
treeCheckedStrategy: d.SHOW_CHILD,
|
|
29
|
-
fieldNames: Ae
|
|
30
|
-
}, De = { bottom: 4 }, Me = (J, q) => {
|
|
31
|
-
const {
|
|
32
|
-
prefixCls: G,
|
|
33
|
-
getPrefixCls: Q,
|
|
34
|
-
renderEmpty: X,
|
|
35
|
-
componentConfig: Y,
|
|
36
|
-
rtl: F
|
|
37
|
-
} = x(We), Z = x(ye), ee = x(Ce), t = be(J, Le, Y?.TreeSelect), {
|
|
38
|
-
readOnly: K = ee?.readOnly ?? Z?.readOnly,
|
|
39
|
-
onInputValueChange: te
|
|
40
|
-
} = t, re = Ve(), oe = m(void 0), N = m(null), u = m(null), v = m([]), [g] = Ke(t), o = Re(g, t.fieldNames), [O, ne] = de(), [a, le] = U(!1, {
|
|
41
|
-
value: t.popupVisible
|
|
42
|
-
}), [n, se] = U(
|
|
43
|
-
void 0,
|
|
44
|
-
// Compatible with previous behavior 'undefined as default'
|
|
45
|
-
{
|
|
46
|
-
value: "inputValue" in t ? t.inputValue || "" : void 0
|
|
47
|
-
}
|
|
48
|
-
), b = m(n), A = m(null), [i, w] = xe(
|
|
49
|
-
t,
|
|
50
|
-
o,
|
|
51
|
-
v
|
|
52
|
-
), h = t.multiple || t.treeCheckable, c = Q?.("tree-select"), E = n && !f(t.onSearch), _ = Se(`${c}-popup`), W = (e) => {
|
|
53
|
-
e !== a && (le(e), t.onVisibleChange?.(e));
|
|
54
|
-
}, T = (e, r) => {
|
|
55
|
-
(e !== b.current || r !== A.current) && (se(e), b.current = e, A.current = r, te?.(e, r));
|
|
56
|
-
}, ie = S(
|
|
57
|
-
(e) => me(async (l) => {
|
|
58
|
-
if (f(t.onSearch)) {
|
|
59
|
-
await t.onSearch(l);
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
if (!l)
|
|
63
|
-
return g;
|
|
64
|
-
const s = /* @__PURE__ */ new Set();
|
|
65
|
-
Object.keys(o).forEach((p) => {
|
|
66
|
-
const { key: I, ...k } = o[p];
|
|
67
|
-
let y = !1;
|
|
68
|
-
if (f(t.filterTreeNode))
|
|
69
|
-
t.filterTreeNode(
|
|
70
|
-
l,
|
|
71
|
-
/* @__PURE__ */ C(d.Node, { ...k }, I)
|
|
72
|
-
) && (y = !0);
|
|
73
|
-
else {
|
|
74
|
-
const $ = k.value || k._key;
|
|
75
|
-
$ && $.includes(l) && (y = !0);
|
|
76
|
-
}
|
|
77
|
-
y && s.add(I);
|
|
78
|
-
}), ne(s);
|
|
79
|
-
}, 100)(e),
|
|
80
|
-
[t.onSearch, g, o, t.filterTreeNode]
|
|
81
|
-
), L = S(() => {
|
|
82
|
-
let e = !0;
|
|
83
|
-
B(t.showSearch) && (e = t.showSearch.retainInputValueWhileSelect !== !1), t.multiple && !e && n !== void 0 && T("", "optionChecked");
|
|
84
|
-
}, [n, t.multiple, JSON.stringify(t.showSearch)]), P = S(
|
|
85
|
-
(e, r) => {
|
|
86
|
-
w(e, r), L(), h || W(!1);
|
|
87
|
-
},
|
|
88
|
-
[w, L, a]
|
|
89
|
-
), ae = (e, r, l) => {
|
|
90
|
-
if (l.stopPropagation(), e.disabled)
|
|
91
|
-
return;
|
|
92
|
-
const s = B(e.value) ? e.value.value : e.value;
|
|
93
|
-
if (!t.treeCheckable || t.treeCheckStrictly || !o[s]) {
|
|
94
|
-
const I = i.filter((k, y) => y !== r);
|
|
95
|
-
P(I, {
|
|
96
|
-
trigger: o[s] || e,
|
|
97
|
-
checked: !1,
|
|
98
|
-
selected: !1
|
|
99
|
-
});
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
const p = Ie(
|
|
103
|
-
s,
|
|
104
|
-
!1,
|
|
105
|
-
_e(i),
|
|
106
|
-
o,
|
|
107
|
-
v.current
|
|
108
|
-
);
|
|
109
|
-
v.current = p.indeterminateKeys, P(Fe(p.checkedKeys, o, i), {
|
|
110
|
-
trigger: o[s],
|
|
111
|
-
checked: !1,
|
|
112
|
-
selected: !1
|
|
113
|
-
});
|
|
114
|
-
};
|
|
115
|
-
function H(e) {
|
|
116
|
-
return we(e) || Ee(e) || Te(e);
|
|
117
|
-
}
|
|
118
|
-
j(() => {
|
|
119
|
-
n !== void 0 && ie(n), n !== b.current && (b.current = n);
|
|
120
|
-
}, [n]);
|
|
121
|
-
const R = ge(() => {
|
|
122
|
-
let e = [];
|
|
123
|
-
if (n)
|
|
124
|
-
for (const r in o) {
|
|
125
|
-
const s = [...o[r].pathParentKeys, r];
|
|
126
|
-
s.some((p) => O && O.has(p)) && (e = e.concat(s));
|
|
127
|
-
}
|
|
128
|
-
return Array.from(new Set(e));
|
|
129
|
-
}, [n, o, O]);
|
|
130
|
-
j(() => {
|
|
131
|
-
a ? setTimeout(() => {
|
|
132
|
-
const e = i[0];
|
|
133
|
-
N.current && e && N.current.scrollIntoView(e.value);
|
|
134
|
-
}) : re || n && T("", "optionListHide");
|
|
135
|
-
}, [a]), he(q, () => ({
|
|
136
|
-
focus() {
|
|
137
|
-
u.current && u.current.focus();
|
|
138
|
-
},
|
|
139
|
-
blur() {
|
|
140
|
-
u.current && u.current.blur();
|
|
141
|
-
},
|
|
142
|
-
getRootElement() {
|
|
143
|
-
return u.current?.getRootElement?.();
|
|
144
|
-
}
|
|
145
|
-
}));
|
|
146
|
-
const ue = S(
|
|
147
|
-
(e) => E ? R.includes(e._key) : !0,
|
|
148
|
-
[E, R]
|
|
149
|
-
), ce = S(
|
|
150
|
-
(e) => {
|
|
151
|
-
const { disabled: r, value: l } = e || {};
|
|
152
|
-
let s = e?.label;
|
|
153
|
-
return f(t.renderFormat) && (s = t.renderFormat(
|
|
154
|
-
o[l] || null,
|
|
155
|
-
t.labelInValue ? e : l
|
|
156
|
-
)), { text: s || l || "", disabled: r };
|
|
157
|
-
},
|
|
158
|
-
[t.renderFormat, t.labelInValue, o]
|
|
159
|
-
), pe = (e) => {
|
|
160
|
-
w(e, {});
|
|
161
|
-
}, D = (e) => K ? e : /* @__PURE__ */ C(
|
|
162
|
-
ke,
|
|
163
|
-
{
|
|
164
|
-
autoAlignPopupWidth: !1,
|
|
165
|
-
autoAlignPopupMinWidth: !0,
|
|
166
|
-
ref: oe,
|
|
167
|
-
classNames: `${G}-slide-dynamic-origin`,
|
|
168
|
-
trigger: "click",
|
|
169
|
-
position: "bl",
|
|
170
|
-
getPopupContainer: t.getPopupContainer,
|
|
171
|
-
popupAlign: De,
|
|
172
|
-
unmountOnExit: t.unmountOnExit,
|
|
173
|
-
...t.triggerProps,
|
|
174
|
-
className: z(
|
|
175
|
-
`${c}-trigger`,
|
|
176
|
-
t.triggerProps && t.triggerProps.className
|
|
177
|
-
),
|
|
178
|
-
popup: () => {
|
|
179
|
-
const r = t.dropdownRender, l = E && H(R) || H(g) ? t.notFoundContent || X?.("TreeSelect") : /* @__PURE__ */ C(
|
|
180
|
-
He,
|
|
181
|
-
{
|
|
182
|
-
prefixCls: c,
|
|
183
|
-
ref: N,
|
|
184
|
-
...t,
|
|
185
|
-
inputValue: n,
|
|
186
|
-
filterNode: ue,
|
|
187
|
-
value: i,
|
|
188
|
-
onChange: P,
|
|
189
|
-
multiple: h,
|
|
190
|
-
treeData: g
|
|
191
|
-
}
|
|
192
|
-
);
|
|
193
|
-
return /* @__PURE__ */ C(
|
|
194
|
-
"div",
|
|
195
|
-
{
|
|
196
|
-
id: _,
|
|
197
|
-
className: z(`${c}-popup`, {
|
|
198
|
-
[`${c}-rtl-popup`]: F
|
|
199
|
-
}),
|
|
200
|
-
style: {
|
|
201
|
-
maxHeight: t.treeProps?.height || t.treeProps?.virtualListProps?.height ? "unset" : "",
|
|
202
|
-
...t.dropdownMenuStyle
|
|
203
|
-
},
|
|
204
|
-
children: f(r) ? r(l) : l
|
|
205
|
-
}
|
|
206
|
-
);
|
|
207
|
-
},
|
|
208
|
-
disabled: t.disabled,
|
|
209
|
-
onVisibleChange: (r) => {
|
|
210
|
-
W(r);
|
|
211
|
-
},
|
|
212
|
-
popupVisible: a,
|
|
213
|
-
children: e
|
|
214
|
-
}
|
|
215
|
-
), M = f(t.triggerElement) ? Ne(() => {
|
|
216
|
-
let e;
|
|
217
|
-
return h ? e = i.map(
|
|
218
|
-
(r) => t.labelInValue ? { label: r.label, value: r.value } : r.value
|
|
219
|
-
) : e = t.labelInValue ? i[0] : i[0]?.value, t.triggerElement({ value: e });
|
|
220
|
-
}) : t.triggerElement;
|
|
221
|
-
return ve(M) ? /* @__PURE__ */ C(
|
|
222
|
-
Pe,
|
|
223
|
-
{
|
|
224
|
-
ref: u,
|
|
225
|
-
rtl: F,
|
|
226
|
-
ariaControls: _,
|
|
227
|
-
...t,
|
|
228
|
-
popupVisible: a,
|
|
229
|
-
value: !h && Oe(i) ? i[0] : i,
|
|
230
|
-
inputValue: n,
|
|
231
|
-
isEmptyValue: H(i),
|
|
232
|
-
prefixCls: c,
|
|
233
|
-
readOnly: K,
|
|
234
|
-
isMultiple: h,
|
|
235
|
-
renderText: ce,
|
|
236
|
-
onSort: pe,
|
|
237
|
-
onRemoveCheckedItem: ae,
|
|
238
|
-
onClear: (e) => {
|
|
239
|
-
e.stopPropagation(), P([], {}), t.onClear?.(!!a);
|
|
240
|
-
},
|
|
241
|
-
onKeyDown: (e) => {
|
|
242
|
-
e.stopPropagation(), t.onKeyDown?.(e);
|
|
243
|
-
},
|
|
244
|
-
onFocus: (e) => {
|
|
245
|
-
e && e.stopPropagation();
|
|
246
|
-
},
|
|
247
|
-
onChangeInputValue: (e) => {
|
|
248
|
-
T(e, "manual");
|
|
249
|
-
},
|
|
250
|
-
renderView: D
|
|
251
|
-
}
|
|
252
|
-
) : D(M);
|
|
253
|
-
}, $e = fe(Me), V = $e;
|
|
254
|
-
V.displayName = "TreeSelect";
|
|
255
|
-
V.Node = d.Node;
|
|
256
|
-
V.SHOW_ALL = d.SHOW_ALL;
|
|
257
|
-
V.SHOW_PARENT = d.SHOW_PARENT;
|
|
258
|
-
V.SHOW_CHILD = d.SHOW_CHILD;
|
|
259
|
-
export {
|
|
260
|
-
dt as TreeSelectNode,
|
|
261
|
-
V as default
|
|
262
|
-
};
|
package/types/affix/Affix.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ImperativeHandle } from '../interface';
|
|
2
|
-
import { AffixProps } from './interface';
|
|
3
|
-
type AffixHandle = {
|
|
4
|
-
updatePosition: () => void;
|
|
5
|
-
} & ImperativeHandle;
|
|
6
|
-
declare const Affix: import("react").ForwardRefExoticComponent<AffixProps & {
|
|
7
|
-
children?: import("react").ReactNode | undefined;
|
|
8
|
-
} & import("react").RefAttributes<AffixHandle>>;
|
|
9
|
-
export default Affix;
|
|
10
|
-
export type { AffixProps };
|
package/types/affix/index.d.ts
DELETED
package/types/alert/Alert.d.ts
DELETED
package/types/alert/index.d.ts
DELETED
package/types/anchor/Anchor.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import AnchorContext from './context';
|
|
3
|
-
import { AnchorProps } from './interface';
|
|
4
|
-
import Link from './Link';
|
|
5
|
-
declare const AnchorForwardRef: React.ForwardRefExoticComponent<AnchorProps & {
|
|
6
|
-
children?: React.ReactNode | undefined;
|
|
7
|
-
} & React.RefAttributes<unknown>>;
|
|
8
|
-
declare const Anchor: typeof AnchorForwardRef & {
|
|
9
|
-
Link: typeof Link;
|
|
10
|
-
};
|
|
11
|
-
export { AnchorContext, Link as AnchorLink };
|
|
12
|
-
export default Anchor;
|
package/types/anchor/Link.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { AnchorLinkProps } from './interface';
|
|
3
|
-
declare const AnchorLinkComponent: React.ForwardRefExoticComponent<AnchorLinkProps & {
|
|
4
|
-
children?: React.ReactNode | undefined;
|
|
5
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
export default AnchorLinkComponent;
|
package/types/anchor/index.d.ts
DELETED
package/types/anchor/utils.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare function findElement(dom: HTMLElement | Document, selector: string): HTMLElement | null;
|
|
2
|
-
export declare function slide(el: HTMLElement, top: number, cb: () => void): void;
|
|
3
|
-
export declare function getContainer(targetContainer?: string | HTMLElement | Window | (() => HTMLElement)): any;
|
|
4
|
-
export declare function getContainerElement(scrollContainer: HTMLElement | Window): HTMLElement;
|
|
5
|
-
export declare function getScrollParent(element: any): any;
|
package/types/app/context.d.ts
DELETED
package/types/app/useApp.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { RefInputType } from '../input';
|
|
3
|
-
import Select from '../select/Select';
|
|
4
|
-
import { AutoCompleteProps } from './interface';
|
|
5
|
-
declare const ForwardRefAutoComplete: React.ForwardRefExoticComponent<AutoCompleteProps & React.RefAttributes<RefInputType>>;
|
|
6
|
-
declare const AutoComplete: typeof ForwardRefAutoComplete & {
|
|
7
|
-
Option: typeof Select.Option;
|
|
8
|
-
OptionGroup: typeof Select.OptionGroup;
|
|
9
|
-
};
|
|
10
|
-
declare const AutoCompleteOption: React.ForwardRefExoticComponent<import("..").SelectOptionProps & React.RefAttributes<unknown>> & {
|
|
11
|
-
___PQB_SELECT_OPTION___?: boolean;
|
|
12
|
-
}, AutoCompleteOptionGroup: React.ForwardRefExoticComponent<import("..").SelectOptionGroupProps & React.RefAttributes<unknown>> & {
|
|
13
|
-
___PQB_SELECT_OPTGROUP___?: boolean;
|
|
14
|
-
};
|
|
15
|
-
export { AutoCompleteOption, AutoCompleteOptionGroup };
|
|
16
|
-
export default AutoComplete;
|
|
17
|
-
export type { AutoCompleteProps };
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { InputProps } from '../input';
|
|
3
|
-
import { OptionInfo, SelectProps } from '../select/interface';
|
|
4
|
-
import { ReadOnly } from '../interface';
|
|
5
|
-
import { AvailableVirtualListProps } from '../virtual-list';
|
|
6
|
-
type PartialSelectProps = Pick<SelectProps, 'filterOption' | 'dropdownRender' | 'triggerProps' | 'getPopupContainer' | 'defaultActiveFirstOption'>;
|
|
7
|
-
/**
|
|
8
|
-
* @title AutoComplete
|
|
9
|
-
*/
|
|
10
|
-
export interface AutoCompleteProps extends PartialSelectProps, ReadOnly {
|
|
11
|
-
style?: CSSProperties;
|
|
12
|
-
className?: string | string[];
|
|
13
|
-
/**
|
|
14
|
-
* @zh 是否禁用
|
|
15
|
-
* @en Whether to disable the autocomplete
|
|
16
|
-
*/
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* @zh 自定义输入框/数据源
|
|
20
|
-
* @en Custom input/source data
|
|
21
|
-
*/
|
|
22
|
-
children?: ReactNode;
|
|
23
|
-
/**
|
|
24
|
-
* @zh 是否允许一键清除
|
|
25
|
-
* @en Whether to allow clear the content
|
|
26
|
-
*/
|
|
27
|
-
allowClear?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* @zh 自动完成的数据源
|
|
30
|
-
* @en Data source
|
|
31
|
-
*/
|
|
32
|
-
data?: (string | {
|
|
33
|
-
value: string;
|
|
34
|
-
name: string;
|
|
35
|
-
[key: string]: any;
|
|
36
|
-
} | ReactNode)[];
|
|
37
|
-
/**
|
|
38
|
-
* @zh 输入框提示
|
|
39
|
-
* @en Placeholder of input
|
|
40
|
-
*/
|
|
41
|
-
placeholder?: string;
|
|
42
|
-
/**
|
|
43
|
-
* @zh 自动补全组件的默认值
|
|
44
|
-
* @en The default value of the autocomplete.
|
|
45
|
-
*/
|
|
46
|
-
defaultValue?: string;
|
|
47
|
-
/**
|
|
48
|
-
* @zh 自动补全组件的值(受控模式)
|
|
49
|
-
* @en The value of the autocomplete.
|
|
50
|
-
*/
|
|
51
|
-
value?: string;
|
|
52
|
-
/**
|
|
53
|
-
* @zh 是否是错误状态。(废弃,下个大版本移除,使用 status='error' 替代)
|
|
54
|
-
* @en Whether the textarea is error.(Deprecated, removed in the next major version, use status='error' instead)
|
|
55
|
-
* @deprecated use status="error"
|
|
56
|
-
*/
|
|
57
|
-
error?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* @zh 状态
|
|
60
|
-
* @en Status
|
|
61
|
-
*/
|
|
62
|
-
status?: 'error' | 'warning';
|
|
63
|
-
/**
|
|
64
|
-
* @zh `strict: true` 的时候大小写敏感
|
|
65
|
-
* @en Case sensitive when set `strict: true`
|
|
66
|
-
*/
|
|
67
|
-
strict?: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* @zh 是否处于加载状态。
|
|
70
|
-
* @en Whether the component is loading data.
|
|
71
|
-
*/
|
|
72
|
-
loading?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* @zh 自定义触发元素
|
|
75
|
-
* @en Custom trigger element
|
|
76
|
-
* @defaultValue <Input />
|
|
77
|
-
*/
|
|
78
|
-
triggerElement?: ReactElement | (({ value }: {
|
|
79
|
-
value: any;
|
|
80
|
-
}) => ReactElement);
|
|
81
|
-
/**
|
|
82
|
-
* @zh 搜索补全时的回调
|
|
83
|
-
* @en Callback when searching items
|
|
84
|
-
*/
|
|
85
|
-
onSearch?: (value: string) => void;
|
|
86
|
-
/**
|
|
87
|
-
* @zh 点击补全项时的回调
|
|
88
|
-
* @en Callback when an option is selected.
|
|
89
|
-
*/
|
|
90
|
-
onSelect?: (value: string, option: OptionInfo) => void;
|
|
91
|
-
/**
|
|
92
|
-
* @zh 输入或者点击补全项,value 改变时的回调(仅在点击补全项时存在第二个参数)
|
|
93
|
-
* @en Callback when an option is selected or input value changes
|
|
94
|
-
*/
|
|
95
|
-
onChange?: (value: string, option?: OptionInfo) => void;
|
|
96
|
-
/**
|
|
97
|
-
* @zh 按下回车键的回调
|
|
98
|
-
* @en Callback when Enter is pressed
|
|
99
|
-
*/
|
|
100
|
-
onPressEnter?: (e: any, activeOption?: OptionInfo) => void;
|
|
101
|
-
/**
|
|
102
|
-
* @zh 聚焦时的回调
|
|
103
|
-
* @en Callback when component gets focus
|
|
104
|
-
*/
|
|
105
|
-
onFocus?: (e: any) => void;
|
|
106
|
-
/**
|
|
107
|
-
* @zh 失去焦点的回调
|
|
108
|
-
* @en Callback when component is blurred
|
|
109
|
-
*/
|
|
110
|
-
onBlur?: (e: any) => void;
|
|
111
|
-
/**
|
|
112
|
-
* @zh 传递虚拟滚动属性。
|
|
113
|
-
* @en Virtual scroll properties.
|
|
114
|
-
*/
|
|
115
|
-
virtualListProps?: AvailableVirtualListProps;
|
|
116
|
-
/**
|
|
117
|
-
* @zh 传递 Input 组件的属性。
|
|
118
|
-
* @en Properties of Input component.
|
|
119
|
-
*/
|
|
120
|
-
inputProps?: Partial<InputProps>;
|
|
121
|
-
}
|
|
122
|
-
export {};
|
package/types/avatar/Avatar.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import AvatarContext from './context';
|
|
3
|
-
import { AvatarProps } from './interface';
|
|
4
|
-
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & {
|
|
5
|
-
children?: React.ReactNode | undefined;
|
|
6
|
-
} & React.RefAttributes<HTMLElement>>;
|
|
7
|
-
export { AvatarContext };
|
|
8
|
-
export default Avatar;
|