@unicom-cloud/ui 0.8.115 → 0.8.117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Affix.js +12 -12
- package/Alert.js +7 -5
- package/Anchor.js +2 -1
- package/App.js +1 -0
- package/AutoComplete.js +14 -10
- package/Avatar.js +1 -0
- package/BackTop.js +11 -9
- package/Badge.js +13 -10
- package/Breadcrumb.js +11 -9
- package/Button.js +12 -8
- package/Calendar.js +16 -10
- package/Card.js +10 -8
- package/Carousel.js +12 -8
- package/Cascader.js +3 -2
- package/Checkbox.js +10 -7
- package/Collapse.js +4 -2
- package/ColorPicker.js +21 -19
- package/Comment.js +9 -7
- package/ConfigProvider.js +7 -5
- package/Constant.js +1 -0
- package/Copy.js +8 -6
- package/Countdown.js +20 -17
- package/DatePicker.js +14 -8
- package/Descriptions.js +6 -5
- package/Details.js +19 -15
- package/Development.js +8 -3
- package/Divider.js +7 -5
- package/Draggable.js +5 -3
- package/Drawer.js +1 -0
- package/Dropdown.js +14 -10
- package/Empty.js +13 -3
- package/Flex.js +22 -16
- package/Form.js +25 -20
- package/Grid.js +1 -0
- package/Icon.js +8 -6
- package/IconHover.js +5 -2
- package/Image.js +6 -5
- package/Input.js +18 -12
- package/InputNumber.js +10 -6
- package/InputTag.js +1 -0
- package/Layout.js +17 -13
- package/Link.js +7 -5
- package/LiquidFill.js +19 -16
- package/List.js +13 -10
- package/Loading.js +18 -14
- package/Marquee.js +259 -19
- package/Mentions.js +8 -6
- package/Menu.js +8 -6
- package/Message.js +18 -7
- package/Modal.js +5 -3
- package/Notice.js +19 -13
- package/Notification.js +19 -9
- package/OverflowEllipsis.js +9 -7
- package/PageHeader.js +12 -8
- package/Pagination.js +1 -0
- package/Picker.js +1 -0
- package/Popconfirm.js +9 -7
- package/Popover.js +8 -6
- package/Portal.js +1 -0
- package/Progress.js +7 -5
- package/QrCode.js +21 -15
- package/Radio.js +9 -6
- package/Rate.js +9 -5
- package/ResizeBox.js +15 -12
- package/Result.js +6 -4
- package/RichText.js +26 -12
- package/RowCol.js +1 -0
- package/Segmented.js +20 -17
- package/Select.js +1 -0
- package/SelectView.js +3 -2
- package/Skeleton.js +9 -6
- package/Slider.js +15 -12
- package/Space.js +23 -16
- package/SpeechSynthesis.js +9 -2
- package/Spin.js +7 -5
- package/Splitter.js +1 -0
- package/Statistic.js +12 -10
- package/Steps.js +12 -8
- package/SuspenseFallbackTest.js +3 -2
- package/Switch.js +16 -9
- package/Table.js +27 -15
- package/Tabs.js +6 -5
- package/Tag.js +12 -8
- package/TimePicker.js +1 -0
- package/Timeline.js +1 -0
- package/Tooltip.js +9 -7
- package/Tour.js +22 -17
- package/Transfer.js +7 -6
- package/Tree.js +2 -1
- package/TreeSelect.js +2 -1
- package/Trigger.js +20 -14
- package/Typography.js +1 -0
- package/Upload.js +7 -5
- package/VerificationCode.js +5 -2
- package/VirtualList.js +1 -0
- package/Watermark.js +5 -2
- package/affix/index.js +58 -58
- package/alert/index.js +62 -55
- package/anchor/Anchor.js +123 -130
- package/anchor/Link.js +32 -32
- package/anchor/context.js +1 -0
- package/anchor/index.js +2 -1
- package/anchor/utils.js +51 -0
- package/app/App.js +14 -9
- package/app/context.js +1 -0
- package/app/index.js +1 -0
- package/app/useApp.js +1 -0
- package/auto-complete/index.js +95 -91
- package/avatar/Avatar.js +23 -20
- package/avatar/Group.js +39 -36
- package/avatar/context.js +1 -0
- package/avatar/index.js +1 -0
- package/back-top/index.js +42 -35
- package/badge/Count.js +15 -14
- package/badge/index.js +82 -79
- package/breadcrumb/Item.js +26 -24
- package/breadcrumb/index.js +43 -41
- package/button/Group.js +10 -8
- package/button/index.js +58 -54
- package/calendar/Lunar.js +2 -1
- package/calendar/Month.js +144 -10
- package/calendar/WeekList.js +1 -0
- package/calendar/Year.js +31 -25
- package/calendar/header/Panel.js +59 -0
- package/calendar/header/index.js +112 -0
- package/calendar/hook/useCellClassName.js +43 -0
- package/calendar/index.js +136 -282
- package/card/Grid.js +14 -12
- package/card/Meta.js +15 -13
- package/card/index.js +39 -37
- package/carousel/Arrow.js +20 -18
- package/carousel/Indicator.js +28 -26
- package/carousel/index.js +109 -105
- package/cascader/Cascader.js +290 -24
- package/cascader/base/node.js +97 -0
- package/cascader/base/store.js +59 -0
- package/cascader/hook/useRefCurrent.js +13 -0
- package/cascader/index.js +3 -2
- package/cascader/panel/List.js +274 -0
- package/cascader/panel/Option.js +35 -0
- package/cascader/panel/Search.js +165 -0
- package/cascader/utils.js +73 -0
- package/checkbox/Checkbox.js +124 -17
- package/checkbox/Group.js +96 -12
- package/checkbox/GroupBlock.js +62 -7
- package/checkbox/IconCheck.js +1 -0
- package/checkbox/index.js +9 -7
- package/checkbox/useCheckbox.js +10 -8
- package/collapse/Collapse.js +71 -234
- package/collapse/Item.js +184 -9
- package/collapse/index.js +2 -1
- package/color-picker/ControlBar.js +23 -21
- package/color-picker/InputAlpha.js +12 -10
- package/color-picker/InputHex.js +25 -23
- package/color-picker/InputRgb.js +19 -16
- package/color-picker/Mode.js +9 -7
- package/color-picker/Palette.js +12 -10
- package/color-picker/Panel.js +72 -67
- package/color-picker/colors.js +1 -0
- package/color-picker/hooks/useColorPicker.js +127 -0
- package/color-picker/hooks/useControlBlock.js +59 -0
- package/color-picker/index.js +141 -256
- package/color-picker/interface.js +1 -0
- package/color-picker/utils.js +40 -38
- package/comment/index.js +34 -32
- package/config-provider/ConfigProvider.js +64 -13
- package/config-provider/context.js +25 -7
- package/config-provider/index.js +7 -5
- package/constant/index.js +1 -0
- package/copy/index.js +35 -33
- package/countdown/index.js +52 -49
- package/countdown/utils.js +30 -0
- package/date-picker/Picker.js +277 -273
- package/date-picker/RangePicker.js +582 -22
- package/date-picker/context.js +1 -0
- package/date-picker/hook/useCellClassName.js +63 -0
- package/date-picker/index.js +27 -21
- package/date-picker/panel/Body.js +92 -0
- package/date-picker/panel/Footer.js +73 -0
- package/date-picker/panel/Header.js +72 -0
- package/date-picker/panel/Shortcut.js +47 -0
- package/date-picker/panel/WeekList.js +20 -0
- package/date-picker/panel/date/index.js +200 -0
- package/date-picker/panel/month/index.js +116 -0
- package/date-picker/panel/quarter/index.js +98 -0
- package/date-picker/panel/range/index.js +252 -0
- package/date-picker/panel/week/index.js +36 -0
- package/date-picker/panel/year/index.js +75 -0
- package/date-picker/utils.js +76 -0
- package/descriptions/index.js +74 -73
- package/details/index.js +63 -59
- package/development/index.js +20 -56
- package/dist/ui-common/development/index.js +48 -0
- package/dist/ui-common/empty/index.js +52 -0
- package/dist/ui-common/flex/index.js +76 -0
- package/dist/ui-common/flex/interface.js +10 -0
- package/dist/ui-common/higher-order/with-speech-synthesis/index.js +83 -0
- package/dist/ui-common/hooks/create-deep-compare-effect/index.js +10 -0
- package/dist/ui-common/hooks/create-update-effect/index.js +15 -0
- package/dist/ui-common/hooks/create-use-storage-state/index.js +79 -0
- package/dist/ui-common/hooks/use-async-effect/index.js +26 -0
- package/dist/ui-common/hooks/use-boolean/index.js +15 -0
- package/dist/ui-common/hooks/use-click-away/index.js +32 -0
- package/dist/ui-common/hooks/use-computed-state/index.js +12 -0
- package/dist/ui-common/hooks/use-controllable-value/index.js +27 -0
- package/dist/ui-common/hooks/use-cookie-state/index.js +21 -0
- package/dist/ui-common/hooks/use-count-down/index.js +37 -0
- package/dist/ui-common/hooks/use-counter/index.js +44 -0
- package/dist/ui-common/hooks/use-create/index.js +9 -0
- package/dist/ui-common/hooks/use-creation/index.js +14 -0
- package/dist/ui-common/hooks/use-debounce/index.js +14 -0
- package/dist/ui-common/hooks/use-debounce-effect/index.js +13 -0
- package/dist/ui-common/hooks/use-debounce-fn/index.js +31 -0
- package/dist/ui-common/hooks/use-deep-compare-effect/index.js +7 -0
- package/dist/ui-common/hooks/use-deep-compare-layout-effect/index.js +7 -0
- package/dist/ui-common/hooks/use-document-visibility/index.js +20 -0
- package/dist/ui-common/hooks/use-drag/index.js +47 -0
- package/dist/ui-common/hooks/use-drop/index.js +60 -0
- package/dist/ui-common/hooks/use-event-listener/index.js +37 -0
- package/dist/ui-common/hooks/use-event-target/index.js +21 -0
- package/dist/ui-common/hooks/use-external/index.js +65 -0
- package/dist/ui-common/hooks/use-favicon/index.js +18 -0
- package/dist/ui-common/hooks/use-focus-within/index.js +26 -0
- package/dist/ui-common/hooks/use-fullscreen/index.js +75 -0
- package/dist/ui-common/hooks/use-get-state/index.js +10 -0
- package/dist/ui-common/hooks/use-history-travel/index.js +79 -0
- package/dist/ui-common/hooks/use-hover/index.js +26 -0
- package/dist/ui-common/hooks/use-id/index.js +11 -0
- package/dist/ui-common/hooks/use-in-view/index.js +32 -0
- package/dist/ui-common/hooks/use-in-viewport/index.js +34 -0
- package/dist/ui-common/hooks/use-infinite-scroll/index.js +83 -0
- package/dist/ui-common/hooks/use-intersection-observer/index.js +25 -0
- package/dist/ui-common/hooks/use-interval/index.js +17 -0
- package/dist/ui-common/hooks/use-is-first-render/index.js +10 -0
- package/dist/ui-common/hooks/use-isomorphic-layout-effect/index.js +7 -0
- package/dist/ui-common/hooks/use-key-press/index.js +169 -0
- package/dist/ui-common/hooks/use-keyboard-event/index.js +17 -0
- package/dist/ui-common/hooks/use-latest/index.js +9 -0
- package/dist/ui-common/hooks/use-listen-window-resize/index.js +10 -0
- package/dist/ui-common/hooks/use-local-storage-state/index.js +9 -0
- package/dist/ui-common/hooks/use-lock-fn/index.js +23 -0
- package/dist/ui-common/hooks/use-long-press/index.js +59 -0
- package/dist/ui-common/hooks/use-media/index.js +16 -0
- package/dist/ui-common/hooks/use-memoized-fn/index.js +19 -0
- package/dist/ui-common/hooks/use-merge-props/index.js +18 -0
- package/dist/ui-common/hooks/use-merge-value/index.js +20 -0
- package/dist/ui-common/hooks/use-mount/index.js +13 -0
- package/dist/ui-common/hooks/use-mouse/index.js +50 -0
- package/dist/ui-common/hooks/use-mutation-observer/index.js +23 -0
- package/dist/ui-common/hooks/use-network/index.js +57 -0
- package/dist/ui-common/hooks/use-online-status/index.js +21 -0
- package/dist/ui-common/hooks/use-overflow-hidden/index.js +27 -0
- package/dist/ui-common/hooks/use-override-ref/index.js +15 -0
- package/dist/ui-common/hooks/use-pagination/index.js +49 -0
- package/dist/ui-common/hooks/use-persist-callback/index.js +9 -0
- package/dist/ui-common/hooks/use-prefers-color-scheme-dark/index.js +25 -0
- package/dist/ui-common/hooks/use-previous/index.js +10 -0
- package/dist/ui-common/hooks/use-raf-interval/index.js +36 -0
- package/dist/ui-common/hooks/use-raf-state/index.js +16 -0
- package/dist/ui-common/hooks/use-raf-timeout/index.js +35 -0
- package/dist/ui-common/hooks/use-reactive/index.js +38 -0
- package/dist/ui-common/hooks/use-refs/index.js +11 -0
- package/dist/ui-common/hooks/use-request/src/Fetch.js +93 -0
- package/dist/ui-common/hooks/use-request/src/plugins/useAutoRunPlugin.js +30 -0
- package/dist/ui-common/hooks/use-request/src/plugins/useCachePlugin.js +66 -0
- package/dist/ui-common/hooks/use-request/src/plugins/useDebouncePlugin.js +34 -0
- package/dist/ui-common/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +28 -0
- package/dist/ui-common/hooks/use-request/src/plugins/usePollingPlugin.js +37 -0
- package/dist/ui-common/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +29 -0
- package/dist/ui-common/hooks/use-request/src/plugins/useRetryPlugin.js +28 -0
- package/dist/ui-common/hooks/use-request/src/plugins/useThrottlePlugin.js +31 -0
- package/dist/ui-common/hooks/use-request/src/useRequest.js +26 -0
- package/dist/ui-common/hooks/use-request/src/useRequestImplement.js +54 -0
- package/dist/ui-common/hooks/use-request/src/utils/cache.js +20 -0
- package/dist/ui-common/hooks/use-request/src/utils/cachePromise.js +10 -0
- package/dist/ui-common/hooks/use-request/src/utils/cacheSubscribe.js +11 -0
- package/dist/ui-common/hooks/use-request/src/utils/isDocumentVisible.js +8 -0
- package/dist/ui-common/hooks/use-request/src/utils/isOnline.js +8 -0
- package/dist/ui-common/hooks/use-request/src/utils/limit.js +12 -0
- package/dist/ui-common/hooks/use-request/src/utils/subscribeFocus.js +19 -0
- package/dist/ui-common/hooks/use-request/src/utils/subscribeReVisible.js +18 -0
- package/dist/ui-common/hooks/use-reset-state/index.js +18 -0
- package/dist/ui-common/hooks/use-responsive/index.js +47 -0
- package/dist/ui-common/hooks/use-safe-state/index.js +12 -0
- package/dist/ui-common/hooks/use-scroll/index.js +44 -0
- package/dist/ui-common/hooks/use-selections/index.js +58 -0
- package/dist/ui-common/hooks/use-session-storage-state/index.js +9 -0
- package/dist/ui-common/hooks/use-set-state/index.js +17 -0
- package/dist/ui-common/hooks/use-size/index.js +41 -0
- package/dist/ui-common/hooks/use-state-callback/index.js +16 -0
- package/dist/ui-common/hooks/use-state-with-promise/index.js +36 -0
- package/dist/ui-common/hooks/use-text-selection/index.js +56 -0
- package/dist/ui-common/hooks/use-theme/index.js +34 -0
- package/dist/ui-common/hooks/use-throttle/index.js +14 -0
- package/dist/ui-common/hooks/use-throttle-effect/index.js +13 -0
- package/dist/ui-common/hooks/use-throttle-fn/index.js +31 -0
- package/dist/ui-common/hooks/use-timeout/index.js +17 -0
- package/dist/ui-common/hooks/use-title/index.js +18 -0
- package/dist/ui-common/hooks/use-toggle/index.js +17 -0
- package/dist/ui-common/hooks/use-tracked-effect/index.js +12 -0
- package/dist/ui-common/hooks/use-unmount/index.js +21 -0
- package/dist/ui-common/hooks/use-unmounted-ref/index.js +11 -0
- package/dist/ui-common/hooks/use-update/index.js +9 -0
- package/dist/ui-common/hooks/use-update-effect/index.js +7 -0
- package/dist/ui-common/hooks/use-update-layout-effect/index.js +7 -0
- package/dist/ui-common/hooks/use-url-state/index.js +60 -0
- package/dist/ui-common/hooks/use-virtual-list/index.js +83 -0
- package/dist/ui-common/hooks/use-watch/index.js +14 -0
- package/dist/ui-common/hooks/use-web-socket/index.js +72 -0
- package/dist/ui-common/hooks/use-why-did-you-update/index.js +20 -0
- package/dist/ui-common/hooks/use-window-size/index.js +40 -0
- package/dist/ui-common/hooks/utils/createEffectWithTarget.js +23 -0
- package/dist/ui-common/hooks/utils/depsAreSame.js +12 -0
- package/dist/ui-common/hooks/utils/depsEqual.js +7 -0
- package/dist/ui-common/hooks/utils/domTarget.js +16 -0
- package/dist/ui-common/hooks/utils/getDocumentOrShadow.js +16 -0
- package/dist/ui-common/hooks/utils/isDev.js +5 -0
- package/dist/ui-common/hooks/utils/rect.js +19 -0
- package/dist/ui-common/hooks/utils/useDeepCompareWithTarget.js +11 -0
- package/dist/ui-common/hooks/utils/useEffectWithTarget.js +7 -0
- package/dist/ui-common/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +8 -0
- package/dist/ui-common/hooks/utils/useLayoutEffectWithTarget.js +7 -0
- package/dist/ui-common/icons/file/index.js +59 -0
- package/dist/ui-common/space/index.js +77 -0
- package/dist/ui-common/suspense-fallback-test/index.js +17 -0
- package/dist/ui-common/transition-group/CSSTransition.js +91 -0
- package/dist/ui-common/transition-group/PqbCSSTransition.js +36 -0
- package/dist/ui-common/transition-group/ReplaceTransition.js +34 -0
- package/dist/ui-common/transition-group/SwitchTransition.js +102 -0
- package/dist/ui-common/transition-group/Transition.js +187 -0
- package/dist/ui-common/transition-group/TransitionGroup.js +50 -0
- package/dist/ui-common/transition-group/TransitionGroupContext.js +6 -0
- package/dist/ui-common/transition-group/utils/ChildMapping.js +66 -0
- package/dist/ui-common/utils/compute.js +142 -0
- package/dist/ui-common/utils/constant.js +10 -0
- package/dist/ui-common/utils/dayjs.js +23 -0
- package/dist/ui-common/utils/dom.js +62 -0
- package/dist/ui-common/utils/fillNBSP.js +10 -0
- package/dist/ui-common/utils/findScrollParent.js +18 -0
- package/dist/ui-common/utils/getHighlightText.js +45 -0
- package/dist/ui-common/utils/getHotkeyHandler.js +29 -0
- package/dist/ui-common/utils/getStringLength.js +11 -0
- package/dist/ui-common/utils/include.js +11 -0
- package/dist/ui-common/utils/intersectionObserver.js +23 -0
- package/dist/ui-common/utils/is.js +120 -0
- package/dist/ui-common/utils/mergeProps.js +13 -0
- package/dist/ui-common/utils/mergedToString.js +16 -0
- package/dist/ui-common/utils/mutationObserver.js +21 -0
- package/dist/ui-common/utils/omit.js +13 -0
- package/dist/ui-common/utils/pad.js +19 -0
- package/dist/ui-common/utils/pick.js +19 -0
- package/dist/ui-common/utils/react19Adapter.js +4 -0
- package/dist/ui-common/utils/reactDOM.js +54 -0
- package/dist/ui-common/utils/resizeObserver.js +33 -0
- package/dist/ui-common/utils/scrollIntoViewIfNeeded.js +75 -0
- package/dist/ui-common/utils/setDarkTheme.js +28 -0
- package/dist/ui-common/utils/setDir.js +14 -0
- package/dist/ui-common/utils/setPrimaryColor.js +31 -0
- package/dist/ui-common/utils/setTheme.js +56 -0
- package/dist/ui-common/utils/style.js +40 -0
- package/dist/ui-common/utils/throttleByRaf.js +17 -0
- package/dist/ui-common/utils/throttleByRaf2.js +9 -0
- package/dist/ui-common/utils/toArray.js +15 -0
- package/dist/ui-common/utils/warning.js +12 -0
- package/divider/index.js +25 -23
- package/draggable/Item.js +1 -0
- package/draggable/index.js +22 -20
- package/drawer/Drawer.js +150 -140
- package/drawer/index.js +1 -0
- package/dropdown/Button.js +89 -9
- package/dropdown/index.js +95 -166
- package/empty/index.js +28 -5
- package/flex/index.js +41 -101
- package/form/Control.js +39 -41
- package/form/Form.js +158 -14
- package/form/FormItem.js +69 -69
- package/form/FormLabel.js +22 -21
- package/form/FormList.js +20 -19
- package/form/FormProvider.js +1 -0
- package/form/IconSymbol.js +1 -0
- package/form/context.js +2 -1
- package/form/hook/useContext.js +31 -0
- package/form/hook/useForm.js +59 -0
- package/form/hook/useState.js +32 -0
- package/form/hook/useWatch.js +36 -0
- package/form/index.js +39 -110
- package/form/interface.js +4 -5
- package/form/promisify.js +2 -1
- package/form/store.js +11 -12
- package/form/utils.js +82 -0
- package/grid/Grid.js +41 -41
- package/grid/Item.js +21 -19
- package/grid/context.js +1 -0
- package/grid/index.js +1 -0
- package/grid/utils.js +14 -0
- package/hooks/index.js +199 -128
- package/hooks/use-computed-state/index.js +5 -0
- package/hooks/use-create/index.js +5 -0
- package/hooks/use-creation/index.js +5 -0
- package/hooks/use-force-update/index.js +5 -0
- package/hooks/use-id/index.js +5 -0
- package/hooks/use-in-view/index.js +5 -0
- package/hooks/use-intersection-observer/index.js +5 -0
- package/hooks/use-interval/index.js +5 -0
- package/hooks/use-is-first-render/index.js +5 -0
- package/hooks/use-isomorphic-layout-effect/index.js +5 -0
- package/hooks/use-keyboard-event/index.js +5 -0
- package/hooks/use-listen-window-resize/index.js +5 -0
- package/hooks/use-media/index.js +5 -0
- package/hooks/use-merge-props/index.js +5 -0
- package/hooks/use-merge-value/index.js +5 -0
- package/hooks/use-online-status/index.js +5 -0
- package/hooks/use-overflow-hidden/index.js +5 -0
- package/hooks/use-override-ref/index.js +5 -0
- package/hooks/use-persist-callback/index.js +5 -0
- package/hooks/use-prefers-color-scheme-dark/index.js +5 -0
- package/hooks/use-previous/index.js +5 -0
- package/hooks/use-refs/index.js +5 -0
- package/hooks/use-resize-observer/index.js +5 -0
- package/hooks/use-responsive-state/index.js +56 -0
- package/hooks/use-state-callback/index.js +5 -0
- package/hooks/use-state-with-promise/index.js +5 -0
- package/hooks/use-update-effect/index.js +5 -0
- package/hooks/use-verification-code/index.js +72 -0
- package/hooks/use-watch/index.js +5 -0
- package/hooks/use-watermark/index.js +170 -0
- package/hooks/use-watermark/utils.js +10 -0
- package/hooks/use-window-size/index.js +5 -0
- package/hooks/useComputedState.js +5 -0
- package/hooks/useCreate.js +5 -0
- package/hooks/useCreation.js +3 -2
- package/hooks/useForceUpdate.js +3 -2
- package/hooks/useId.js +3 -2
- package/hooks/useInView.js +3 -2
- package/hooks/useIntersectionObserver.js +3 -2
- package/hooks/useInterval.js +3 -2
- package/hooks/useIsFirstRender.js +3 -2
- package/hooks/useIsomorphicLayoutEffect.js +3 -2
- package/hooks/useKeyboardEvent.js +3 -2
- package/hooks/useListenWindowResize.js +3 -2
- package/hooks/useMedia.js +3 -2
- package/hooks/useMergeProps.js +3 -2
- package/hooks/useMergeValue.js +3 -2
- package/hooks/useOnlineStatus.js +3 -2
- package/hooks/useOverflowHidden.js +3 -2
- package/hooks/useOverrideRef.js +3 -2
- package/hooks/usePersistCallback.js +3 -2
- package/hooks/usePrefersColorSchemeDark.js +3 -2
- package/hooks/usePrevious.js +3 -2
- package/hooks/useRefs.js +3 -2
- package/hooks/useResizeObserver.js +3 -15
- package/hooks/useResponsiveState.js +10 -52
- package/hooks/useStateCallback.js +3 -2
- package/hooks/useStateWithPromise.js +3 -2
- package/hooks/useUpdateEffect.js +3 -2
- package/hooks/useVerificationCode.js +9 -69
- package/hooks/useWatch.js +3 -2
- package/hooks/useWatermark.js +10 -171
- package/hooks/useWindowSize.js +3 -2
- package/icon/addFromIconFontCn.js +34 -5
- package/icon/index.js +24 -49
- package/icon-hover/index.js +38 -5
- package/icons/file/index.js +21 -0
- package/icons/file.js +10 -67
- package/icons.js +1 -0
- package/image/Image.js +75 -72
- package/image/ImageFooter.js +45 -6
- package/image/ImagePreview.js +485 -40
- package/image/ImagePreviewArrow.js +13 -11
- package/image/ImagePreviewGroup.js +36 -36
- package/image/ImagePreviewToolbar.js +7 -6
- package/image/TriggerForToolbar.js +8 -7
- package/image/index.js +4 -3
- package/image/previewGroupContext.js +1 -0
- package/image/utils/getFixTranslate.js +8 -0
- package/image/utils/getScale.js +72 -0
- package/image/utils/hook/useImageStatus.js +17 -0
- package/image/utils/hook/useShowFooter.js +8 -0
- package/index.js +924 -736
- package/input/Button.js +72 -9
- package/input/Group.js +13 -11
- package/input/Input.js +158 -684
- package/input/InputElement.js +94 -95
- package/input/Number.js +3 -2
- package/input/Password.js +70 -11
- package/input/Search.js +66 -11
- package/input/Tag.js +1 -0
- package/input/Textarea.js +170 -14
- package/input/autoSizeTextAreaHeight.js +3 -2
- package/input/index.js +18 -13
- package/input/useComposition.js +1 -0
- package/input-number/decimal.js +14 -11
- package/input-number/index.js +209 -16
- package/input-number/useSelectionRange.js +15 -13
- package/input-number/utils.js +60 -0
- package/input-tag/InputTag.js +228 -219
- package/input-tag/index.js +1 -0
- package/layout/Content.js +8 -6
- package/layout/Footer.js +8 -6
- package/layout/Header.js +9 -7
- package/layout/Sider.js +37 -35
- package/layout/index.js +25 -21
- package/link/index.js +29 -27
- package/liquid-fill/index.js +89 -85
- package/list/Item.js +20 -18
- package/list/Meta.js +12 -10
- package/list/index.js +145 -142
- package/loading/index.js +31 -27
- package/locale/ar-EG.js +1 -0
- package/locale/de-DE.js +1 -0
- package/locale/default.js +1 -0
- package/locale/en-US.js +4 -5
- package/locale/es-ES.js +1 -0
- package/locale/fr-FR.js +1 -0
- package/locale/id-ID.js +1 -0
- package/locale/it-IT.js +1 -0
- package/locale/ja-JP.js +1 -0
- package/locale/ko-KR.js +1 -0
- package/locale/ms-MY.js +1 -0
- package/locale/pt-BR.js +1 -0
- package/locale/pt-PT.js +1 -0
- package/locale/ru-RU.js +1 -0
- package/locale/th-TH.js +1 -0
- package/locale/tr-TR.js +4 -5
- package/locale/vi-VN.js +1 -0
- package/locale/zh-CN.js +1 -0
- package/locale/zh-HK.js +1 -0
- package/locale/zh-TW.js +1 -0
- package/marquee/index.js +122 -78
- package/mentions/index.js +55 -53
- package/mentions/utils.js +29 -0
- package/menu/Indent.js +1 -0
- package/menu/Item.js +40 -37
- package/menu/ItemGroup.js +8 -7
- package/menu/Menu.js +182 -24
- package/menu/OverflowWrap.js +88 -8
- package/menu/context.js +1 -0
- package/menu/index.js +10 -9
- package/menu/sub-menu/Inline.js +112 -0
- package/menu/sub-menu/Pop.js +121 -0
- package/menu/sub-menu/index.js +20 -0
- package/menu/utils.js +81 -0
- package/message/index.js +157 -13
- package/message/useMessage.js +144 -6
- package/modal/Confirm.js +109 -11
- package/modal/Modal.js +446 -21
- package/modal/config.js +1 -0
- package/modal/index.js +5 -4
- package/modal/use-modal/Hook.js +51 -0
- package/modal/use-modal/index.js +66 -0
- package/notice/index.js +184 -23
- package/notification/index.js +149 -15
- package/notification/useNotification.js +141 -4
- package/notification/withNotification.js +1 -0
- package/overflow-ellipsis/OverflowItem.js +18 -15
- package/overflow-ellipsis/index.js +50 -48
- package/package.json +1 -1
- package/page-header/index.js +48 -44
- package/pagination/PageItem.js +20 -18
- package/pagination/PageJumper.js +26 -25
- package/pagination/PageOption.js +72 -31
- package/pagination/Pagination.js +116 -112
- package/pagination/index.js +1 -0
- package/pagination/interface.js +1 -0
- package/picker/Input.js +45 -41
- package/picker/InputRange.js +51 -46
- package/picker/index.js +1 -0
- package/popconfirm/index.js +57 -55
- package/popover/index.js +37 -35
- package/portal/Portal.js +8 -7
- package/portal/index.js +1 -0
- package/progress/CircleProgress.js +16 -15
- package/progress/LineProgess.js +14 -13
- package/progress/StepProgress.js +21 -19
- package/progress/index.js +46 -44
- package/qr-code/index.js +63 -1243
- package/qr-code/src/index.js +261 -0
- package/qr-code/src/qrcodegen.js +943 -0
- package/radio/Group.js +95 -14
- package/radio/GroupBlock.js +68 -8
- package/radio/Radio.js +91 -14
- package/radio/index.js +7 -5
- package/rate/index.js +56 -52
- package/resize-box/ResizeTrigger.js +47 -46
- package/resize-box/Split.js +67 -63
- package/resize-box/SplitGroup.js +35 -36
- package/resize-box/index.js +65 -62
- package/result/403.js +1 -0
- package/result/404.js +1 -0
- package/result/500.js +1 -0
- package/result/index.js +44 -42
- package/rich-text/constant.js +1 -0
- package/rich-text/index.js +95 -6294
- package/rich-text/lib/assets/icons/align-center.svg.js +5 -0
- package/rich-text/lib/assets/icons/align-justify.svg.js +5 -0
- package/rich-text/lib/assets/icons/align-left.svg.js +5 -0
- package/rich-text/lib/assets/icons/align-right.svg.js +5 -0
- package/rich-text/lib/assets/icons/background.svg.js +5 -0
- package/rich-text/lib/assets/icons/blockquote.svg.js +5 -0
- package/rich-text/lib/assets/icons/bold.svg.js +5 -0
- package/rich-text/lib/assets/icons/clean.svg.js +5 -0
- package/rich-text/lib/assets/icons/code.svg.js +5 -0
- package/rich-text/lib/assets/icons/color.svg.js +5 -0
- package/rich-text/lib/assets/icons/direction-ltr.svg.js +5 -0
- package/rich-text/lib/assets/icons/direction-rtl.svg.js +5 -0
- package/rich-text/lib/assets/icons/divider.svg.js +5 -0
- package/rich-text/lib/assets/icons/dropdown.svg.js +5 -0
- package/rich-text/lib/assets/icons/formula.svg.js +5 -0
- package/rich-text/lib/assets/icons/fullscreen-exit.svg.js +5 -0
- package/rich-text/lib/assets/icons/fullscreen.svg.js +5 -0
- package/rich-text/lib/assets/icons/header-2.svg.js +5 -0
- package/rich-text/lib/assets/icons/header-3.svg.js +5 -0
- package/rich-text/lib/assets/icons/header-4.svg.js +5 -0
- package/rich-text/lib/assets/icons/header-5.svg.js +5 -0
- package/rich-text/lib/assets/icons/header-6.svg.js +5 -0
- package/rich-text/lib/assets/icons/header.svg.js +5 -0
- package/rich-text/lib/assets/icons/image.svg.js +5 -0
- package/rich-text/lib/assets/icons/indent.svg.js +5 -0
- package/rich-text/lib/assets/icons/italic.svg.js +5 -0
- package/rich-text/lib/assets/icons/link.svg.js +5 -0
- package/rich-text/lib/assets/icons/list-bullet.svg.js +5 -0
- package/rich-text/lib/assets/icons/list-ordered.svg.js +5 -0
- package/rich-text/lib/assets/icons/outdent.svg.js +5 -0
- package/rich-text/lib/assets/icons/redo.svg.js +5 -0
- package/rich-text/lib/assets/icons/strike.svg.js +5 -0
- package/rich-text/lib/assets/icons/subscript.svg.js +5 -0
- package/rich-text/lib/assets/icons/superscript.svg.js +5 -0
- package/rich-text/lib/assets/icons/table.svg.js +5 -0
- package/rich-text/lib/assets/icons/underline.svg.js +5 -0
- package/rich-text/lib/assets/icons/undo.svg.js +5 -0
- package/rich-text/lib/assets/icons/video.svg.js +5 -0
- package/rich-text/lib/blots/block.js +130 -0
- package/rich-text/lib/blots/break.js +29 -0
- package/rich-text/lib/blots/container.js +15 -0
- package/rich-text/lib/blots/cursor.js +123 -0
- package/rich-text/lib/blots/embed.js +58 -0
- package/rich-text/lib/blots/inline.js +55 -0
- package/rich-text/lib/blots/scroll.js +279 -0
- package/rich-text/lib/blots/text.js +26 -0
- package/rich-text/lib/core/composition.js +27 -0
- package/rich-text/lib/core/editor.js +283 -0
- package/rich-text/lib/core/emitter.js +68 -0
- package/rich-text/lib/core/instances.js +5 -0
- package/rich-text/lib/core/logger.js +19 -0
- package/rich-text/lib/core/module.js +12 -0
- package/rich-text/lib/core/rich.js +442 -0
- package/rich-text/lib/core/selection.js +261 -0
- package/rich-text/lib/core/theme.js +31 -0
- package/rich-text/lib/core/utils/createRegistryWithFormats.js +33 -0
- package/rich-text/lib/core/utils/scrollRectIntoView.js +69 -0
- package/rich-text/lib/core.js +40 -0
- package/rich-text/lib/delta/AttributeMap.js +45 -0
- package/rich-text/lib/delta/Op.js +10 -0
- package/rich-text/lib/delta/OpIterator.js +52 -0
- package/rich-text/lib/delta/index.js +316 -0
- package/rich-text/lib/diff/index.js +384 -0
- package/rich-text/lib/formats/align.js +27 -0
- package/rich-text/lib/formats/background.js +27 -0
- package/rich-text/lib/formats/blockquote.js +15 -0
- package/rich-text/lib/formats/bold.js +24 -0
- package/rich-text/lib/formats/code.js +51 -0
- package/rich-text/lib/formats/color.js +34 -0
- package/rich-text/lib/formats/direction.js +27 -0
- package/rich-text/lib/formats/font.js +32 -0
- package/rich-text/lib/formats/formula.js +35 -0
- package/rich-text/lib/formats/header.js +18 -0
- package/rich-text/lib/formats/hr.js +17 -0
- package/rich-text/lib/formats/image-resize/index.js +83 -0
- package/rich-text/lib/formats/image-resize/modules/BaseModule.js +42 -0
- package/rich-text/lib/formats/image-resize/modules/DisplaySize.js +47 -0
- package/rich-text/lib/formats/image-resize/modules/Resize.js +48 -0
- package/rich-text/lib/formats/image-resize/options.js +10 -0
- package/rich-text/lib/formats/image.js +49 -0
- package/rich-text/lib/formats/indent.js +41 -0
- package/rich-text/lib/formats/italic.js +15 -0
- package/rich-text/lib/formats/lineHeight.js +21 -0
- package/rich-text/lib/formats/link.js +41 -0
- package/rich-text/lib/formats/list.js +47 -0
- package/rich-text/lib/formats/script.js +22 -0
- package/rich-text/lib/formats/size.js +31 -0
- package/rich-text/lib/formats/strike.js +15 -0
- package/rich-text/lib/formats/table.js +145 -0
- package/rich-text/lib/formats/underline.js +15 -0
- package/rich-text/lib/formats/video.js +43 -0
- package/rich-text/lib/index.js +96 -0
- package/rich-text/lib/modules/clipboard.js +385 -0
- package/rich-text/lib/modules/history.js +117 -0
- package/rich-text/lib/modules/input.js +54 -0
- package/rich-text/lib/modules/keyboard.js +516 -0
- package/rich-text/lib/modules/normalizeExternalHTML/index.js +11 -0
- package/rich-text/lib/modules/normalizeExternalHTML/normalizers/googleDocs.js +19 -0
- package/rich-text/lib/modules/normalizeExternalHTML/normalizers/msWord.js +43 -0
- package/rich-text/lib/modules/syntax.js +215 -0
- package/rich-text/lib/modules/table.js +100 -0
- package/rich-text/lib/modules/toolbar.js +180 -0
- package/rich-text/lib/modules/uiNode.js +72 -0
- package/rich-text/lib/modules/uploader.js +52 -0
- package/rich-text/lib/parchment/attributor/attributor.js +33 -0
- package/rich-text/lib/parchment/attributor/class.js +25 -0
- package/rich-text/lib/parchment/attributor/store.js +45 -0
- package/rich-text/lib/parchment/attributor/style.js +24 -0
- package/rich-text/lib/parchment/blot/abstract/container.js +29 -0
- package/rich-text/lib/parchment/blot/abstract/leaf.js +44 -0
- package/rich-text/lib/parchment/blot/abstract/parent.js +176 -0
- package/rich-text/lib/parchment/blot/abstract/shadow.js +84 -0
- package/rich-text/lib/parchment/blot/block.js +77 -0
- package/rich-text/lib/parchment/blot/embed.js +18 -0
- package/rich-text/lib/parchment/blot/inline.js +80 -0
- package/rich-text/lib/parchment/blot/scroll.js +104 -0
- package/rich-text/lib/parchment/blot/text.js +57 -0
- package/rich-text/lib/parchment/collection/linked-list.js +106 -0
- package/rich-text/lib/parchment/error.js +9 -0
- package/rich-text/lib/parchment/index.js +31 -0
- package/rich-text/lib/parchment/registry.js +59 -0
- package/rich-text/lib/parchment/scope.js +5 -0
- package/rich-text/lib/themes/base.js +171 -0
- package/rich-text/lib/themes/pqb.js +119 -0
- package/rich-text/lib/ui/color-picker.js +28 -0
- package/rich-text/lib/ui/icon-picker.js +27 -0
- package/rich-text/lib/ui/icons.js +100 -0
- package/rich-text/lib/ui/picker.js +101 -0
- package/rich-text/lib/ui/tooltip.js +41 -0
- package/row-col/Col-.js +64 -63
- package/row-col/Col.js +63 -61
- package/row-col/Row.js +32 -30
- package/row-col/context.js +1 -0
- package/row-col/index.js +1 -0
- package/segmented/index.js +39 -36
- package/select/OptGroup.js +12 -11
- package/select/Option.js +30 -26
- package/select/Select.js +238 -231
- package/select/index.js +1 -0
- package/select/utils.js +134 -0
- package/select-view/Core.js +160 -159
- package/select-view/index.js +28 -27
- package/skeleton/Image.js +14 -13
- package/skeleton/Text.js +16 -14
- package/skeleton/index.js +31 -28
- package/slider/Button.js +74 -73
- package/slider/Dot.js +21 -20
- package/slider/Input.js +25 -24
- package/slider/Mark.js +16 -15
- package/slider/Tick.js +13 -12
- package/slider/hook/useInterval.js +74 -0
- package/slider/hook/useLegalValue.js +68 -0
- package/slider/index.js +222 -347
- package/slider/utils.js +64 -0
- package/space/index.js +39 -32
- package/speech-synthesis/index.js +14 -84
- package/spin/DotLoading.js +10 -7
- package/spin/index.js +46 -44
- package/splitter/Panel.js +21 -19
- package/splitter/SplitBar.js +158 -10
- package/splitter/Splitter.js +108 -252
- package/splitter/hooks/useEvent.js +13 -0
- package/splitter/hooks/useItems.js +29 -0
- package/splitter/hooks/useResizable.js +18 -0
- package/splitter/hooks/useResize.js +71 -0
- package/splitter/hooks/useSizes.js +63 -0
- package/splitter/index.js +1 -0
- package/statistic/index.js +53 -51
- package/statistic/interface.js +1 -0
- package/steps/Step.js +15 -14
- package/steps/index.js +47 -43
- package/style/animation/fade.less +46 -0
- package/style/animation/index.less +4 -0
- package/style/animation/keyframes.less +13 -0
- package/style/animation/slide.less +132 -0
- package/style/animation/zoom.less +207 -0
- package/style/global.less +69 -0
- package/style/index.less +19 -0
- package/style/mixin/clearfix.less +13 -0
- package/style/mixin/index.less +28 -0
- package/style/normalize.less +375 -0
- package/style/override.less +4 -0
- package/style/variables.css +902 -0
- package/style/variables.less +2 -0
- package/style.css +1 -1
- package/suspense-fallback-test/index.js +3 -2
- package/switch/index.js +78 -70
- package/table/ColGroup.js +27 -24
- package/table/Table.js +630 -32
- package/table/constant.js +1 -0
- package/table/context.js +1 -0
- package/table/hook/useColumns.js +144 -0
- package/table/hook/useComponent.js +30 -0
- package/table/hook/useExpand.js +39 -0
- package/table/hook/useRowSelection.js +96 -0
- package/table/hook/useSorter.js +56 -0
- package/table/hook/useStickyClassNames.js +32 -0
- package/table/hook/useStickyOffsets.js +29 -0
- package/table/hook/useThResizable.js +38 -0
- package/table/index.js +28 -125
- package/table/summary/Cell.js +11 -0
- package/table/summary/Row.js +25 -0
- package/table/summary/context.js +6 -0
- package/table/summary/index.js +13 -0
- package/table/tbody/Td.js +189 -0
- package/table/tbody/Tr.js +164 -0
- package/table/tbody/index.js +155 -0
- package/table/tfoot/index.js +17 -0
- package/table/th-resizable/index.js +58 -0
- package/table/thead/Column.js +259 -0
- package/table/thead/index.js +132 -0
- package/table/utils.js +118 -0
- package/tabs/Tab.js +170 -16
- package/tabs/TabContent.js +52 -6
- package/tabs/TabPane.js +13 -11
- package/tabs/hook/useDomSize.js +18 -0
- package/tabs/hook/useHeaderScroll.js +65 -0
- package/tabs/index.js +7 -6
- package/tabs/tab-header/DropdownIcon.js +67 -0
- package/tabs/tab-header/TabInk.js +66 -0
- package/tabs/tab-header/TabNavIcon.js +67 -0
- package/tabs/tab-header/TabTitle.js +80 -0
- package/tabs/tab-header/index.js +329 -0
- package/tabs/utils.js +23 -0
- package/tag/index.js +51 -47
- package/time-picker/Picker.js +126 -117
- package/time-picker/RangePicker.js +24 -22
- package/time-picker/TimeColumn.js +19 -16
- package/time-picker/TimePicker.js +156 -151
- package/time-picker/context.js +1 -0
- package/time-picker/index.js +1 -0
- package/time-picker/utils.js +36 -0
- package/timeline/Item.js +32 -30
- package/timeline/Timeline.js +44 -44
- package/timeline/index.js +1 -0
- package/tooltip/index.js +70 -64
- package/tour/index.js +89 -84
- package/transfer/Item.js +32 -30
- package/transfer/List.js +86 -81
- package/transfer/index.js +73 -72
- package/tree/Animation.js +101 -9
- package/tree/Context.js +1 -0
- package/tree/Node.js +207 -14
- package/tree/NodeList.js +39 -36
- package/tree/Tree.js +70 -69
- package/tree/index.js +2 -1
- package/tree/utils.js +77 -0
- package/tree-select/List.js +16 -15
- package/tree-select/Select.js +201 -331
- package/tree-select/hook/useKeyCache.js +56 -0
- package/tree-select/hook/useStateValue.js +94 -0
- package/tree-select/hook/useTreeData.js +14 -0
- package/tree-select/index.js +3 -2
- package/tree-select/interface.js +1 -0
- package/tree-select/utils.js +10 -0
- package/trigger/getPopupStyle.js +93 -92
- package/trigger/index.js +246 -238
- package/types/_common/higher-order/index.d.ts +1 -0
- package/types/_common/hooks/index.d.ts +97 -0
- package/types/_common/hooks/use-async-effect/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-async-effect/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-boolean/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-click-away/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-click-away/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-click-away/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-click-away/demo/demo4.d.ts +1 -0
- package/types/_common/hooks/use-click-away/demo/demo5.d.ts +1 -0
- package/types/_common/hooks/use-click-away/demo/demo6.d.ts +1 -0
- package/types/_common/hooks/use-computed-state/index.d.ts +4 -0
- package/types/_common/hooks/use-controllable-value/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-controllable-value/demo/demo2.d.ts +2 -0
- package/types/_common/hooks/use-controllable-value/demo/demo3.d.ts +2 -0
- package/types/_common/hooks/use-cookie-state/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-cookie-state/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-cookie-state/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-cookie-state/index.d.ts +7 -0
- package/types/_common/hooks/use-count-down/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-count-down/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-count-down/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-counter/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-create/index.d.ts +2 -0
- package/types/_common/hooks/use-creation/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-debounce/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-debounce-effect/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-debounce-fn/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-deep-compare-effect/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-deep-compare-layout-effect/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-document-visibility/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-drop/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-drop/demo/demo2.d.ts +2 -0
- package/types/_common/hooks/use-event-listener/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-event-listener/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-event-listener/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-event-target/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-event-target/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-external/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-external/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-external/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-favicon/demo/demo1.d.ts +3 -0
- package/types/_common/hooks/use-focus-within/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-focus-within/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-force-update/index.d.ts +16 -0
- package/types/_common/hooks/use-fullscreen/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-fullscreen/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-fullscreen/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-fullscreen/demo/demo4.d.ts +1 -0
- package/types/_common/hooks/use-fullscreen/index.d.ts +17 -0
- package/types/_common/hooks/use-get-state/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-history-travel/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-history-travel/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-history-travel/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-hover/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-hover/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-in-viewport/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-in-viewport/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-in-viewport/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-infinite-scroll/demo/default.d.ts +1 -0
- package/types/_common/hooks/use-infinite-scroll/demo/mutate.d.ts +1 -0
- package/types/_common/hooks/use-infinite-scroll/demo/pagination.d.ts +1 -0
- package/types/_common/hooks/use-infinite-scroll/demo/reload.d.ts +1 -0
- package/types/_common/hooks/use-infinite-scroll/demo/scroll.d.ts +1 -0
- package/types/_common/hooks/use-infinite-scroll/demo/scrollTop.d.ts +1 -0
- package/types/_common/hooks/use-interval/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-interval/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-key-press/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-key-press/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-key-press/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-key-press/demo/demo4.d.ts +1 -0
- package/types/_common/hooks/use-key-press/demo/demo5.d.ts +1 -0
- package/types/_common/hooks/use-key-press/demo/demo6.d.ts +1 -0
- package/types/_common/hooks/use-key-press/demo/demo7.d.ts +1 -0
- package/types/_common/hooks/use-key-press/demo/demo8.d.ts +1 -0
- package/types/_common/hooks/use-latest/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-local-storage-state/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-local-storage-state/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-local-storage-state/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-local-storage-state/demo/demo4.d.ts +1 -0
- package/types/_common/hooks/use-lock-fn/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-long-press/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-long-press/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-long-press/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-map/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-map/index.d.ts +8 -0
- package/types/_common/hooks/use-memoized-fn/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-memoized-fn/demo/demo2.d.ts +2 -0
- package/types/_common/hooks/use-mount/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-mouse/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-mouse/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-mutation-observer/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-network/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-pagination/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-pagination/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-pagination/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-pagination/demo/demo4.d.ts +2 -0
- package/types/_common/hooks/use-prefers-color-scheme-dark/index.d.ts +2 -0
- package/types/_common/hooks/use-previous/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-previous/index.d.ts +3 -0
- package/types/_common/hooks/use-raf-interval/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-raf-interval/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-raf-state/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-raf-timeout/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-raf-timeout/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-reactive/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-reactive/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-reactive/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-reactive/demo/demo4.d.ts +1 -0
- package/types/_common/hooks/use-reactive/demo/index.d.ts +1 -0
- package/types/_common/hooks/use-ref-latest/index.d.ts +2 -0
- package/types/_common/hooks/use-request/doc/basic/demo/cancel.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/basic/demo/default.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/basic/demo/lifeCycle.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/basic/demo/manual-run.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/basic/demo/manual-runAsync.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/basic/demo/mutate.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/basic/demo/params.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/basic/demo/refresh.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/cache/demo/cacheKey.d.ts +2 -0
- package/types/_common/hooks/use-request/doc/cache/demo/clearCache.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/cache/demo/params.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/cache/demo/setCache.d.ts +2 -0
- package/types/_common/hooks/use-request/doc/cache/demo/share.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/cache/demo/staleTime.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/debounce/demo/index.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/index/demo/default.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/index/demo/manual.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/loadingDelay/demo/index.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/polling/demo/index.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/polling/demo/indexError.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/ready/demo/index.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/ready/demo/indexManual.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/refreshDeps/demo/index.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/refreshDeps/demo/indexAction.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/refreshOnWindowFocus/demo/index.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/retry/demo/index.d.ts +1 -0
- package/types/_common/hooks/use-request/doc/throttle/demo/index.d.ts +1 -0
- package/types/_common/hooks/use-request/src/utils/cache.d.ts +14 -0
- package/types/_common/hooks/use-reset-state/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-resize-observer/index.d.ts +2 -0
- package/types/_common/hooks/use-responsive/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-safe-state/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-scroll/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-scroll/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-scroll/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-selections/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-selections/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-selections/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-set/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-set/index.d.ts +6 -0
- package/types/_common/hooks/use-set-state/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-set-state/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-size/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-size/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-text-selection/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-text-selection/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-text-selection/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-theme/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-theme/index.d.ts +16 -0
- package/types/_common/hooks/use-throttle/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-throttle-effect/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-throttle-fn/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-timeout/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-timeout/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-title/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-toggle/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-toggle/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-tracked-effect/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-unmount/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-unmounted-ref/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-update/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-update-effect/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-update-layout-effect/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-url-state/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-url-state/demo/demo2.d.ts +1 -0
- package/types/_common/hooks/use-url-state/demo/demo3.d.ts +1 -0
- package/types/_common/hooks/use-url-state/demo/demo4.d.ts +1 -0
- package/types/_common/hooks/use-url-state/index.d.ts +10 -0
- package/types/_common/hooks/use-virtual-list/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-virtual-list/demo/demo2.d.ts +2 -0
- package/types/_common/hooks/use-web-socket/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/use-why-did-you-update/demo/demo1.d.ts +1 -0
- package/types/_common/hooks/utils/index.d.ts +2 -0
- package/types/_common/hooks/utils/isAppleDevice.d.ts +2 -0
- package/types/_common/hooks/utils/isBrowser.d.ts +2 -0
- package/types/_common/hooks/utils/isDev.d.ts +2 -0
- package/types/_common/hooks/utils/rect.d.ts +4 -0
- package/types/_common/index.d.ts +16 -0
- package/types/_common/progress/index.d.ts +437 -0
- package/types/_common/transition-group/CSSTransition.d.ts +98 -0
- package/types/_common/transition-group/PqbCSSTransition.d.ts +4 -0
- package/types/_common/transition-group/ReplaceTransition.d.ts +23 -0
- package/types/_common/transition-group/SwitchTransition.d.ts +88 -0
- package/types/_common/transition-group/Transition.d.ts +130 -0
- package/types/_common/transition-group/TransitionGroup.d.ts +31 -0
- package/types/_common/transition-group/TransitionGroupContext.d.ts +3 -0
- package/types/_common/transition-group/index.d.ts +10 -0
- package/types/_common/transition-group/utils/ChildMapping.d.ts +27 -0
- package/types/_common/utils/caseName.d.ts +2 -0
- package/types/_common/utils/className.d.ts +2 -0
- package/types/_common/utils/compute.d.ts +100 -0
- package/types/_common/utils/constant.d.ts +3 -0
- package/types/_common/utils/copy.d.ts +4 -0
- package/types/_common/utils/date.d.ts +2 -0
- package/types/_common/utils/dayjs.d.ts +3 -0
- package/types/_common/utils/dom.d.ts +27 -0
- package/types/_common/utils/emitter.d.ts +2 -0
- package/types/_common/utils/fileToURL.d.ts +2 -0
- package/types/_common/utils/findScrollParent.d.ts +2 -0
- package/types/_common/utils/index.d.ts +45 -0
- package/types/_common/utils/intersectionObserver.d.ts +3 -0
- package/types/_common/utils/is.d.ts +18 -0
- package/types/_common/utils/keyboardCode.d.ts +5 -0
- package/types/_common/utils/lodash.d.ts +60 -0
- package/types/_common/utils/math.d.ts +2 -0
- package/types/_common/utils/mutationObserver.d.ts +3 -0
- package/types/_common/utils/pick.d.ts +6 -0
- package/types/_common/utils/pinyin.d.ts +2 -0
- package/types/_common/utils/reactDOM.d.ts +34 -0
- package/types/_common/utils/saveAs.d.ts +2 -0
- package/types/_common/utils/screenfull.d.ts +2 -0
- package/types/_common/utils/scrollIntoViewIfNeeded.d.ts +12 -0
- package/types/_common/utils/setDarkTheme.d.ts +4 -0
- package/types/_common/utils/setDir.d.ts +3 -0
- package/types/_common/utils/setPrimaryColor.d.ts +3 -0
- package/types/_common/utils/setTheme.d.ts +3 -0
- package/types/_common/utils/throttleByRaf2.d.ts +6 -0
- package/types/_common/utils/tinycolor.d.ts +3 -0
- package/types/_common/utils/tree.d.ts +2 -0
- package/types/_common/utils/tween.d.ts +2 -0
- package/types/_common/utils/validate.d.ts +2 -0
- package/types/anchor/index.d.ts +5 -0
- package/types/anchor/interface.d.ts +103 -0
- package/types/anchor/utils.d.ts +5 -0
- package/types/app/App.d.ts +6 -0
- package/types/badge/Count.d.ts +8 -0
- package/types/badge/interface.d.ts +93 -0
- package/types/breadcrumb/Item.d.ts +8 -0
- package/types/calendar/Lunar.d.ts +17 -0
- package/types/calendar/Month.d.ts +16 -0
- package/types/calendar/WeekList.d.ts +11 -0
- package/types/calendar/Year.d.ts +14 -0
- package/types/calendar/header/Panel.d.ts +2 -0
- package/types/calendar/header/index.d.ts +2 -0
- package/types/calendar/index.d.ts +10 -0
- package/types/card/interface.d.ts +106 -0
- package/types/cascader/Cascader.d.ts +17 -0
- package/types/cascader/base/node.d.ts +78 -0
- package/types/cascader/panel/List.d.ts +5 -0
- package/types/cascader/panel/Option.d.ts +23 -0
- package/types/cascader/panel/Search.d.ts +28 -0
- package/types/checkbox/Group.d.ts +17 -0
- package/types/checkbox/GroupBlock.d.ts +7 -0
- package/types/checkbox/IconCheck.d.ts +4 -0
- package/types/color-picker/InputRgb.d.ts +10 -0
- package/types/color-picker/Palette.d.ts +7 -0
- package/types/color-picker/hooks/useColorPicker.d.ts +39 -0
- package/types/config-provider/ConfigProvider.d.ts +11 -0
- package/types/config-provider/index.d.ts +4 -0
- package/types/config-provider/interface.d.ts +259 -0
- package/types/copy/index.d.ts +7 -0
- package/types/date-picker/RangePicker.d.ts +3 -0
- package/types/date-picker/interface.d.ts +505 -0
- package/types/date-picker/panel/Body.d.ts +30 -0
- package/types/date-picker/panel/Footer.d.ts +2 -0
- package/types/date-picker/panel/Header.d.ts +20 -0
- package/types/date-picker/panel/WeekList.d.ts +8 -0
- package/types/date-picker/panel/date/index.d.ts +24 -0
- package/types/date-picker/panel/month/index.d.ts +17 -0
- package/types/date-picker/panel/quarter/index.d.ts +17 -0
- package/types/date-picker/panel/range/index.d.ts +28 -0
- package/types/date-picker/panel/week/index.d.ts +16 -0
- package/types/date-picker/panel/year/index.d.ts +16 -0
- package/types/descriptions/index.d.ts +7 -0
- package/types/development/interface.d.ts +15 -0
- package/types/draggable/Item.d.ts +3 -0
- package/types/draggable/index.d.ts +4 -0
- package/types/empty/interface.d.ts +8 -0
- package/types/flex/interface.d.ts +9 -0
- package/types/form/Control.d.ts +64 -0
- package/types/form/FormList.d.ts +7 -0
- package/types/form/IconSymbol.d.ts +4 -0
- package/types/form/interface.d.ts +541 -0
- package/types/form/utils.d.ts +13 -0
- package/types/hooks/index.d.ts +4 -0
- package/types/hooks/use-computed-state/index.d.ts +2 -0
- package/types/hooks/use-create/index.d.ts +2 -0
- package/types/hooks/use-creation/index.d.ts +2 -0
- package/types/hooks/use-force-update/index.d.ts +2 -0
- package/types/hooks/use-id/index.d.ts +2 -0
- package/types/hooks/use-in-view/index.d.ts +2 -0
- package/types/hooks/use-intersection-observer/index.d.ts +2 -0
- package/types/hooks/use-interval/index.d.ts +2 -0
- package/types/hooks/use-is-first-render/index.d.ts +2 -0
- package/types/hooks/use-isomorphic-layout-effect/index.d.ts +2 -0
- package/types/hooks/use-keyboard-event/index.d.ts +2 -0
- package/types/hooks/use-listen-window-resize/index.d.ts +2 -0
- package/types/hooks/use-media/index.d.ts +2 -0
- package/types/hooks/use-merge-props/index.d.ts +2 -0
- package/types/hooks/use-merge-value/index.d.ts +2 -0
- package/types/hooks/use-online-status/index.d.ts +2 -0
- package/types/hooks/use-overflow-hidden/index.d.ts +2 -0
- package/types/hooks/use-override-ref/index.d.ts +2 -0
- package/types/hooks/use-persist-callback/index.d.ts +2 -0
- package/types/hooks/use-prefers-color-scheme-dark/index.d.ts +2 -0
- package/types/hooks/use-previous/index.d.ts +2 -0
- package/types/hooks/use-refs/index.d.ts +2 -0
- package/types/hooks/use-resize-observer/index.d.ts +2 -0
- package/types/hooks/use-responsive-state/index.d.ts +4 -0
- package/types/hooks/use-state-callback/index.d.ts +2 -0
- package/types/hooks/use-state-with-promise/index.d.ts +2 -0
- package/types/hooks/use-update-effect/index.d.ts +2 -0
- package/types/hooks/use-watch/index.d.ts +2 -0
- package/types/hooks/use-window-size/index.d.ts +2 -0
- package/types/icons/file/interface.d.ts +7 -0
- package/types/icons.d.ts +4 -0
- package/types/image/ImageFooter.d.ts +13 -0
- package/types/image/ImagePreviewArrow.d.ts +11 -0
- package/types/image/TriggerForToolbar.d.ts +10 -0
- package/types/image/interface.d.ts +262 -0
- package/types/index.d.ts +187 -0
- package/types/input/Input.d.ts +26 -0
- package/types/input/interface.d.ts +332 -0
- package/types/layout/interface.d.ts +119 -0
- package/types/menu/Indent.d.ts +6 -0
- package/types/menu/OverflowWrap.d.ts +9 -0
- package/types/menu/context.d.ts +15 -0
- package/types/menu/sub-menu/Inline.d.ts +5 -0
- package/types/menu/sub-menu/Pop.d.ts +5 -0
- package/types/message/interface.d.ts +90 -0
- package/types/modal/interface.d.ts +198 -0
- package/types/overflow-ellipsis/OverflowItem.d.ts +3 -0
- package/types/overflow-ellipsis/index.d.ts +6 -0
- package/types/pagination/PageItem.d.ts +18 -0
- package/types/pagination/PageJumper.d.ts +13 -0
- package/types/pagination/PageOption.d.ts +17 -0
- package/types/progress/CircleProgress.d.ts +8 -0
- package/types/progress/LineProgess.d.ts +2 -0
- package/types/progress/StepProgress.d.ts +2 -0
- package/types/qr-code/examples/download.d.ts +2 -0
- package/types/qr-code/examples/full.d.ts +2 -0
- package/types/qr-code/examples/image.d.ts +2 -0
- package/types/qr-code/interface.d.ts +132 -0
- package/types/qr-code/src/index.d.ts +10 -0
- package/types/radio/Group.d.ts +10 -0
- package/types/radio/GroupBlock.d.ts +7 -0
- package/types/radio/Radio.d.ts +15 -0
- package/types/resize-box/ResizeTrigger.d.ts +31 -0
- package/types/result/403.d.ts +2 -0
- package/types/result/404.d.ts +2 -0
- package/types/result/500.d.ts +2 -0
- package/types/select/interface.d.ts +313 -0
- package/types/select/utils.d.ts +25 -0
- package/types/skeleton/Image.d.ts +3 -0
- package/types/skeleton/Text.d.ts +3 -0
- package/types/slider/Button.d.ts +21 -0
- package/types/slider/Input.d.ts +15 -0
- package/types/slider/Tick.d.ts +14 -0
- package/types/space/interface.d.ts +9 -0
- package/types/speech-synthesis/index.d.ts +3 -0
- package/types/speech-synthesis/interface.d.ts +7 -0
- package/types/spin/DotLoading.d.ts +6 -0
- package/types/suspense-fallback-test/index.d.ts +2 -0
- package/types/suspense-fallback-test/interface.d.ts +2 -0
- package/types/table/ColGroup.d.ts +13 -0
- package/types/table/summary/Cell.d.ts +11 -0
- package/types/table/summary/Row.d.ts +6 -0
- package/types/table/tbody/Td.d.ts +25 -0
- package/types/table/tbody/index.d.ts +4 -0
- package/types/table/tfoot/index.d.ts +3 -0
- package/types/table/th-resizable/index.d.ts +2 -0
- package/types/table/thead/Column.d.ts +2 -0
- package/types/table/thead/index.d.ts +4 -0
- package/types/tabs/TabContent.d.ts +9 -0
- package/types/tabs/tab-header/DropdownIcon.d.ts +2 -0
- package/types/tabs/tab-header/TabInk.d.ts +11 -0
- package/types/tabs/tab-header/TabNavIcon.d.ts +17 -0
- package/types/time-picker/Picker.d.ts +15 -0
- package/types/time-picker/RangePicker.d.ts +12 -0
- package/types/time-picker/TimeColumn.d.ts +17 -0
- package/types/time-picker/TimePicker.d.ts +24 -0
- package/types/time-picker/index.d.ts +9 -0
- package/types/time-picker/interface.d.ts +237 -0
- package/types/transfer/Item.d.ts +3 -0
- package/types/transfer/List.d.ts +5 -0
- package/types/tree/Animation.d.ts +4 -0
- package/types/trigger/interface.d.ts +242 -0
- package/types/typography/Operations.d.ts +4 -0
- package/types/upload/index.d.ts +6 -0
- package/types/upload/interface.d.ts +330 -0
- package/types/upload/list/index.d.ts +6 -0
- package/types/utils/caseName.d.ts +4 -0
- package/types/utils/className.d.ts +4 -0
- package/types/utils/constant.d.ts +4 -0
- package/types/utils/contextHolder.d.ts +10 -0
- package/types/utils/copy.d.ts +4 -0
- package/types/utils/date.d.ts +2 -0
- package/types/utils/dayjs.d.ts +26 -0
- package/types/utils/dom.d.ts +2 -0
- package/types/utils/emitter.d.ts +2 -0
- package/types/utils/fileToURL.d.ts +4 -0
- package/types/utils/fillNBSP.d.ts +4 -0
- package/types/utils/findScrollParent.d.ts +3 -0
- package/types/utils/getHighlightText.d.ts +4 -0
- package/types/utils/getHotkeyHandler.d.ts +5 -0
- package/types/utils/getStringLength.d.ts +4 -0
- package/types/utils/include.d.ts +4 -0
- package/types/utils/index.d.ts +48 -0
- package/types/utils/intersectionObserver.d.ts +3 -0
- package/types/utils/is.d.ts +2 -0
- package/types/utils/keyboardCode.d.ts +6 -0
- package/types/utils/lodash.d.ts +2 -0
- package/types/utils/math.d.ts +2 -0
- package/types/utils/mergeProps.d.ts +4 -0
- package/types/utils/mergedToString.d.ts +4 -0
- package/types/utils/mutationObserver.d.ts +3 -0
- package/types/utils/names.d.ts +747 -0
- package/types/utils/omit.d.ts +4 -0
- package/types/utils/pad.d.ts +2 -0
- package/types/utils/pick.d.ts +4 -0
- package/types/utils/pinyin.d.ts +2 -0
- package/types/utils/react19Adapter.d.ts +2 -0
- package/types/utils/reactDOM.d.ts +2 -0
- package/types/utils/resizeObserver.d.ts +3 -0
- package/types/utils/saveAs.d.ts +4 -0
- package/types/utils/screenfull.d.ts +4 -0
- package/types/utils/scrollIntoViewIfNeeded.d.ts +4 -0
- package/types/utils/setDarkTheme.d.ts +5 -0
- package/types/utils/setPrimaryColor.d.ts +4 -0
- package/types/utils/setTheme.d.ts +4 -0
- package/types/utils/style.d.ts +2 -0
- package/types/utils/throttleByRaf.d.ts +2 -0
- package/types/utils/throttleByRaf2.d.ts +2 -0
- package/types/utils/toArray.d.ts +4 -0
- package/types/utils/tree.d.ts +3 -0
- package/types/utils/tween.d.ts +2 -0
- package/types/utils/uuid.d.ts +1 -0
- package/types/utils/validate.d.ts +2 -0
- package/types/utils/warning.d.ts +2 -0
- package/types/verification-code/VerificationCode.d.ts +10 -0
- package/types/verification-code/index.d.ts +6 -0
- package/types/version/index.d.ts +4 -0
- package/types/virtual-list/interface.d.ts +56 -0
- package/types/watermark/Watermark.d.ts +6 -0
- package/types/watermark/index.d.ts +6 -0
- package/typography/Base.js +61 -59
- package/typography/EditContent.js +27 -26
- package/typography/Ellipsis.js +54 -52
- package/typography/Operations.js +32 -33
- package/typography/Paragraph.js +14 -12
- package/typography/Text.js +1 -0
- package/typography/Title.js +1 -0
- package/typography/Typography.js +9 -7
- package/typography/index.js +1 -0
- package/typography/useCssEllipsis.js +17 -16
- package/typography/useEllipsis.js +25 -24
- package/upload/TriggerNode.js +35 -33
- package/upload/Upload.js +125 -522
- package/upload/Uploader.js +85 -79
- package/upload/constant.js +1 -0
- package/upload/index.js +5 -4
- package/upload/list/PictureItem.js +109 -0
- package/upload/list/TextItem.js +117 -0
- package/upload/list/UploadProgress.js +91 -0
- package/upload/list/index.js +142 -0
- package/upload/request.js +24 -21
- package/upload/utils.js +61 -0
- package/utils/caseName.js +1 -0
- package/utils/className.js +4 -3
- package/utils/constant.js +7 -6
- package/utils/contextHolder.js +27 -4
- package/utils/copy.js +1 -0
- package/utils/date.js +1 -0
- package/utils/dayjs.js +173 -17
- package/utils/dom.js +14 -7
- package/utils/emitter.js +1 -0
- package/utils/fileToURL.js +1 -0
- package/utils/fillNBSP.js +4 -3
- package/utils/findScrollParent.js +3 -15
- package/utils/getHighlightText.js +2 -1
- package/utils/getHotkeyHandler.js +2 -1
- package/utils/getStringLength.js +2 -1
- package/utils/include.js +2 -1
- package/utils/index.js +341 -262
- package/utils/intersectionObserver.js +2 -1
- package/utils/is.js +41 -40
- package/utils/keyboardCode.js +1 -0
- package/utils/lodash.js +119 -33
- package/utils/math.js +1 -0
- package/utils/mergeProps.js +2 -1
- package/utils/mergedToString.js +2 -1
- package/utils/mutationObserver.js +3 -2
- package/utils/names.js +1 -0
- package/utils/omit.js +2 -1
- package/utils/pad.js +4 -16
- package/utils/pick.js +6 -5
- package/utils/pinyin.js +1 -0
- package/utils/react19Adapter.js +2 -3
- package/utils/reactDOM.js +4 -3
- package/utils/resizeObserver.js +3 -2
- package/utils/responsiveObserve.js +2 -1
- package/utils/saveAs.js +1 -0
- package/utils/screenfull.js +4 -3
- package/utils/scrollIntoViewIfNeeded.js +7 -8
- package/utils/setDarkTheme.js +11 -30
- package/utils/setPrimaryColor.js +7 -30
- package/utils/setTheme.js +7 -6
- package/utils/style.js +5 -37
- package/utils/throttleByRaf.js +4 -14
- package/utils/throttleByRaf2.js +2 -1
- package/utils/toArray.js +2 -1
- package/utils/tree.js +1 -0
- package/utils/tween.js +5 -4
- package/utils/uuid.js +1 -0
- package/utils/validate.js +15 -14
- package/utils/warning.js +4 -9
- package/verification-code/VerificationCode.js +28 -25
- package/verification-code/index.js +4 -1
- package/version/index.js +2 -1
- package/virtual-list/Filler.js +1 -0
- package/virtual-list/VirtualList.js +282 -393
- package/virtual-list/index.js +1 -0
- package/virtual-list/utils/algorithm.js +33 -0
- package/virtual-list/utils/item.js +101 -0
- package/watermark/Watermark.js +27 -23
- package/watermark/index.js +4 -1
- package/affix/interface.js +0 -1
- package/alert/interface.js +0 -1
- package/anchor/interface.js +0 -1
- package/anchor/util.js +0 -50
- package/app/interface.js +0 -1
- package/auto-complete/interface.js +0 -1
- package/avatar/interface.js +0 -1
- package/back-top/interface.js +0 -1
- package/badge/interface.js +0 -1
- package/breadcrumb/interface.js +0 -1
- package/button/interface.js +0 -1
- package/calendar/interface.js +0 -1
- package/card/interface.js +0 -1
- package/carousel/interface.js +0 -1
- package/cascader/interface.js +0 -1
- package/cascader/util.js +0 -17
- package/checkbox/interface.js +0 -1
- package/chunk/-PX9OR3r.js +0 -154
- package/chunk/2vdCeheu.js +0 -19
- package/chunk/8w-ItYb1.js +0 -9
- package/chunk/B4h3m4Jx.js +0 -69
- package/chunk/B5RFT17G.js +0 -15
- package/chunk/B7M-FGia.js +0 -41
- package/chunk/BE7UY3my.js +0 -53
- package/chunk/BJ9_azwQ.js +0 -1391
- package/chunk/BJeTDXdz.js +0 -8
- package/chunk/BKKEev13.js +0 -11
- package/chunk/BL9DMeor.js +0 -9
- package/chunk/BO_5qdS_.js +0 -13
- package/chunk/BcWPf1id.js +0 -31
- package/chunk/BcdTSJks.js +0 -48
- package/chunk/Bl3hZtxi.js +0 -51
- package/chunk/BqWBaRtM.js +0 -26
- package/chunk/Bvxzb1wd.js +0 -16
- package/chunk/C0pqKVwu.js +0 -18
- package/chunk/CAA93JLq.js +0 -6
- package/chunk/CEAeR6xB.js +0 -24
- package/chunk/CHQ8c547.js +0 -30
- package/chunk/CKojyqln.js +0 -925
- package/chunk/CN7NKv_2.js +0 -11
- package/chunk/CQPG8hFg.js +0 -56
- package/chunk/CRgtPpMG.js +0 -261
- package/chunk/CT7ury1Z.js +0 -13
- package/chunk/CTMmW21t.js +0 -13
- package/chunk/CVMFAeSw.js +0 -39
- package/chunk/CVjWKHBo.js +0 -1470
- package/chunk/CYPFoLks.js +0 -640
- package/chunk/CYhxqVkn.js +0 -9
- package/chunk/Ca6eMq_Y.js +0 -8
- package/chunk/CcH9qbbg.js +0 -1841
- package/chunk/CdXR6dj7.js +0 -4
- package/chunk/CftuXmo_.js +0 -6
- package/chunk/Ch4iApRQ.js +0 -470
- package/chunk/CjNkKiBA.js +0 -7
- package/chunk/ClNkxEcR.js +0 -154
- package/chunk/ClqoGc3r.js +0 -17
- package/chunk/Cs9GrNJa.js +0 -573
- package/chunk/CsqGBZv1.js +0 -10
- package/chunk/CwLSam2p.js +0 -2123
- package/chunk/CxbF1opI.js +0 -231
- package/chunk/Cy26_CKq.js +0 -33
- package/chunk/D1iEYgh3.js +0 -27
- package/chunk/D3F0iWPu.js +0 -14
- package/chunk/D6I1_o6O.js +0 -164
- package/chunk/DE-83rKc.js +0 -23
- package/chunk/DEpQcf8m.js +0 -20
- package/chunk/DGU7ULZK.js +0 -86
- package/chunk/DH7HTOV_.js +0 -11
- package/chunk/DKHXj8Kf.js +0 -9
- package/chunk/DPDyV8yt.js +0 -833
- package/chunk/DQ8_XXrH.js +0 -27
- package/chunk/DS_deHpN.js +0 -180
- package/chunk/DX1O8GPj.js +0 -16
- package/chunk/DfChiMIE.js +0 -15
- package/chunk/Dh-zFF65.js +0 -15
- package/chunk/Dh7Osrvr.js +0 -27
- package/chunk/DmHIX8hU.js +0 -503
- package/chunk/DsaQZE4X.js +0 -45
- package/chunk/DstheLSK.js +0 -806
- package/chunk/Dt2nDgq_.js +0 -178
- package/chunk/DxYoPlum.js +0 -50
- package/chunk/FgWHhRFz.js +0 -17
- package/chunk/HFPyZ48d.js +0 -211
- package/chunk/LTS4rIKA.js +0 -70
- package/chunk/Ry6vahfr.js +0 -15
- package/chunk/efH9HX0H.js +0 -296
- package/chunk/exc7v_Hl.js +0 -53
- package/chunk/gJsdBcpG.js +0 -10
- package/chunk/oopARUrq.js +0 -10
- package/chunk/rT6qmv-Y.js +0 -24
- package/chunk/yXI2bb8U.js +0 -110
- package/chunk/zmmqLCF4.js +0 -20
- package/collapse/interface.js +0 -1
- package/comment/interface.js +0 -1
- package/config-provider/interface.js +0 -1
- package/copy/interface.js +0 -1
- package/countdown/interface.js +0 -1
- package/countdown/util.js +0 -29
- package/date-picker/interface.js +0 -1
- package/date-picker/util.js +0 -75
- package/descriptions/interface.js +0 -1
- package/details/interface.js +0 -1
- package/development/interface.js +0 -1
- package/divider/interface.js +0 -1
- package/draggable/interface.js +0 -1
- package/drawer/interface.js +0 -1
- package/dropdown/interface.js +0 -1
- package/empty/interface.js +0 -1
- package/flex/interface.js +0 -1
- package/form/util.js +0 -84
- package/grid/interface.js +0 -1
- package/grid/util.js +0 -13
- package/icon/interface.js +0 -1
- package/icon-hover/interface.js +0 -1
- package/image/interface.js +0 -1
- package/input/interface.js +0 -1
- package/input-number/interface.js +0 -1
- package/input-number/util.js +0 -57
- package/input-tag/interface.js +0 -1
- package/layout/interface.js +0 -1
- package/link/interface.js +0 -1
- package/liquid-fill/interface.js +0 -1
- package/list/interface.js +0 -1
- package/loading/interface.js +0 -1
- package/locale/interface.js +0 -1
- package/marquee/interface.js +0 -1
- package/marquee-/index.js +0 -241
- package/marquee-/interface.js +0 -1
- package/mentions/interface.js +0 -1
- package/mentions/util.js +0 -27
- package/menu/interface.js +0 -1
- package/menu/util.js +0 -78
- package/message/interface.js +0 -1
- package/modal/interface.js +0 -1
- package/notification/interface.js +0 -1
- package/overflow-ellipsis/interface.js +0 -1
- package/page-header/interface.js +0 -1
- package/popconfirm/interface.js +0 -1
- package/popover/interface.js +0 -1
- package/portal/interface.js +0 -1
- package/progress/interface.js +0 -1
- package/qr-code/interface.js +0 -1
- package/radio/interface.js +0 -1
- package/rate/interface.js +0 -1
- package/resize-box/interface.js +0 -1
- package/result/interface.js +0 -1
- package/rich-text/interface.js +0 -1
- package/row-col/interface.js +0 -1
- package/segmented/interface.js +0 -1
- package/select/interface.js +0 -1
- package/select/util.js +0 -137
- package/select-view/interface.js +0 -1
- package/skeleton/interface.js +0 -1
- package/slider/interface.js +0 -1
- package/slider/util.js +0 -63
- package/space/interface.js +0 -1
- package/speech-synthesis/interface.js +0 -1
- package/spin/interface.js +0 -1
- package/splitter/interface.js +0 -1
- package/steps/interface.js +0 -1
- package/suspense-fallback-test/interface.js +0 -1
- package/switch/interface.js +0 -1
- package/table/interface.js +0 -1
- package/table/util.js +0 -121
- package/tabs/interface.js +0 -1
- package/tabs/util.js +0 -22
- package/tag/interface.js +0 -1
- package/time-picker/interface.js +0 -1
- package/time-picker/util.js +0 -34
- package/timeline/interface.js +0 -1
- package/tooltip/interface.js +0 -1
- package/tour/interface.js +0 -1
- package/transfer/interface.js +0 -1
- package/tree/interface.js +0 -1
- package/tree/util.js +0 -76
- package/tree-select/util.js +0 -9
- package/trigger/interface.js +0 -1
- package/types/common/hooks/src/index.d.ts +0 -74
- package/types/common/hooks/src/use-cookie-state/index.d.ts +0 -7
- package/types/common/hooks/src/use-fullscreen/index.d.ts +0 -17
- package/types/common/hooks/src/use-previous/index.d.ts +0 -3
- package/types/common/hooks/src/use-request/src/utils/cache.d.ts +0 -14
- package/types/common/hooks/src/use-theme/index.d.ts +0 -16
- package/types/common/hooks/src/use-url-state/index.d.ts +0 -10
- package/types/common/hooks/src/utils/is.d.ts +0 -1
- package/types/common/hooks/src/utils/isAppleDevice.d.ts +0 -2
- package/types/common/hooks/src/utils/isBrowser.d.ts +0 -2
- package/types/common/hooks/src/utils/isDev.d.ts +0 -2
- package/types/common/hooks/src/utils/rect.d.ts +0 -4
- package/types/common/hooks/useForceUpdate.d.ts +0 -16
- package/types/common/hooks/useInterval.d.ts +0 -1
- package/types/common/hooks/useIsomorphicLayoutEffect.d.ts +0 -1
- package/types/common/hooks/usePrefersColorSchemeDark.d.ts +0 -2
- package/types/common/hooks/usePrevious.d.ts +0 -1
- package/types/common/hooks/useResizeObserver.d.ts +0 -2
- package/types/common/hooks/useUpdateEffect.d.ts +0 -2
- package/types/common/utils/PqbCSSTransition.d.ts +0 -4
- package/types/common/utils/caseName.d.ts +0 -1
- package/types/common/utils/className.d.ts +0 -1
- package/types/common/utils/constant.d.ts +0 -3
- package/types/common/utils/copy.d.ts +0 -3
- package/types/common/utils/dayjs.d.ts +0 -24
- package/types/common/utils/dom.d.ts +0 -24
- package/types/common/utils/emitter.d.ts +0 -1
- package/types/common/utils/fileToURL.d.ts +0 -1
- package/types/common/utils/findScrollParent.d.ts +0 -2
- package/types/common/utils/intersectionObserver.d.ts +0 -2
- package/types/common/utils/is.d.ts +0 -16
- package/types/common/utils/lodash.d.ts +0 -18
- package/types/common/utils/mutationObserver.d.ts +0 -2
- package/types/common/utils/pick.d.ts +0 -6
- package/types/common/utils/pinyin.d.ts +0 -1
- package/types/common/utils/reactDOM.d.ts +0 -34
- package/types/common/utils/saveAs.d.ts +0 -1
- package/types/common/utils/screenfull.d.ts +0 -1
- package/types/common/utils/scrollIntoViewIfNeeded.d.ts +0 -4
- package/types/common/utils/setDarkTheme.d.ts +0 -3
- package/types/common/utils/setDir.d.ts +0 -2
- package/types/common/utils/setPrimaryColor.d.ts +0 -2
- package/types/common/utils/setTheme.d.ts +0 -2
- package/types/common/utils/tree.d.ts +0 -1
- package/types/common/utils/tween.d.ts +0 -1
- package/types/common/utils/type.d.ts +0 -6
- package/types/common/utils/validate.d.ts +0 -2
- package/types/pc/anchor/index.d.ts +0 -5
- package/types/pc/anchor/interface.d.ts +0 -103
- package/types/pc/anchor/util.d.ts +0 -5
- package/types/pc/app/App.d.ts +0 -6
- package/types/pc/badge/Count.d.ts +0 -8
- package/types/pc/badge/interface.d.ts +0 -94
- package/types/pc/breadcrumb/Item.d.ts +0 -8
- package/types/pc/calendar/Lunar.d.ts +0 -17
- package/types/pc/calendar/Month.d.ts +0 -15
- package/types/pc/calendar/WeekList.d.ts +0 -10
- package/types/pc/calendar/Year.d.ts +0 -13
- package/types/pc/calendar/header/Panel.d.ts +0 -2
- package/types/pc/calendar/header/index.d.ts +0 -2
- package/types/pc/calendar/index.d.ts +0 -10
- package/types/pc/card/interface.d.ts +0 -107
- package/types/pc/cascader/Cascader.d.ts +0 -17
- package/types/pc/cascader/base/node.d.ts +0 -78
- package/types/pc/cascader/panel/List.d.ts +0 -4
- package/types/pc/cascader/panel/Option.d.ts +0 -23
- package/types/pc/cascader/panel/Search.d.ts +0 -28
- package/types/pc/checkbox/Group.d.ts +0 -17
- package/types/pc/checkbox/GroupBlock.d.ts +0 -7
- package/types/pc/checkbox/IconCheck.d.ts +0 -4
- package/types/pc/color-picker/InputRgb.d.ts +0 -10
- package/types/pc/color-picker/Palette.d.ts +0 -7
- package/types/pc/color-picker/hooks/useColorPicker.d.ts +0 -39
- package/types/pc/config-provider/ConfigProvider.d.ts +0 -11
- package/types/pc/config-provider/index.d.ts +0 -4
- package/types/pc/config-provider/interface.d.ts +0 -260
- package/types/pc/copy/index.d.ts +0 -7
- package/types/pc/date-picker/RangePicker.d.ts +0 -3
- package/types/pc/date-picker/interface.d.ts +0 -501
- package/types/pc/date-picker/panel/Body.d.ts +0 -30
- package/types/pc/date-picker/panel/Footer.d.ts +0 -2
- package/types/pc/date-picker/panel/Header.d.ts +0 -20
- package/types/pc/date-picker/panel/WeekList.d.ts +0 -8
- package/types/pc/date-picker/panel/date/index.d.ts +0 -24
- package/types/pc/date-picker/panel/month/index.d.ts +0 -17
- package/types/pc/date-picker/panel/quarter/index.d.ts +0 -17
- package/types/pc/date-picker/panel/range/index.d.ts +0 -28
- package/types/pc/date-picker/panel/week/index.d.ts +0 -16
- package/types/pc/date-picker/panel/year/index.d.ts +0 -16
- package/types/pc/descriptions/index.d.ts +0 -7
- package/types/pc/development/interface.d.ts +0 -15
- package/types/pc/draggable/Item.d.ts +0 -3
- package/types/pc/draggable/index.d.ts +0 -3
- package/types/pc/empty/interface.d.ts +0 -8
- package/types/pc/flex/interface.d.ts +0 -9
- package/types/pc/form/Control.d.ts +0 -64
- package/types/pc/form/FormList.d.ts +0 -6
- package/types/pc/form/IconSymbol.d.ts +0 -4
- package/types/pc/form/interface.d.ts +0 -541
- package/types/pc/form/util.d.ts +0 -14
- package/types/pc/hooks/index.d.ts +0 -29
- package/types/pc/hooks/useCreation.d.ts +0 -1
- package/types/pc/hooks/useForceUpdate.d.ts +0 -1
- package/types/pc/hooks/useId.d.ts +0 -1
- package/types/pc/hooks/useInView.d.ts +0 -1
- package/types/pc/hooks/useIntersectionObserver.d.ts +0 -1
- package/types/pc/hooks/useInterval.d.ts +0 -1
- package/types/pc/hooks/useIsFirstRender.d.ts +0 -1
- package/types/pc/hooks/useIsomorphicLayoutEffect.d.ts +0 -1
- package/types/pc/hooks/useKeyboardEvent.d.ts +0 -1
- package/types/pc/hooks/useListenWindowResize.d.ts +0 -1
- package/types/pc/hooks/useMedia.d.ts +0 -1
- package/types/pc/hooks/useMergeProps.d.ts +0 -2
- package/types/pc/hooks/useMergeValue.d.ts +0 -1
- package/types/pc/hooks/useOnlineStatus.d.ts +0 -1
- package/types/pc/hooks/useOverflowHidden.d.ts +0 -1
- package/types/pc/hooks/useOverrideRef.d.ts +0 -1
- package/types/pc/hooks/usePersistCallback.d.ts +0 -1
- package/types/pc/hooks/usePrefersColorSchemeDark.d.ts +0 -1
- package/types/pc/hooks/usePrevious.d.ts +0 -1
- package/types/pc/hooks/useRefs.d.ts +0 -1
- package/types/pc/hooks/useResizeObserver.d.ts +0 -1
- package/types/pc/hooks/useResponsiveState.d.ts +0 -3
- package/types/pc/hooks/useStateCallback.d.ts +0 -1
- package/types/pc/hooks/useStateWithPromise.d.ts +0 -1
- package/types/pc/hooks/useUpdateEffect.d.ts +0 -1
- package/types/pc/hooks/useWatch.d.ts +0 -1
- package/types/pc/hooks/useWindowSize.d.ts +0 -1
- package/types/pc/icons/file/interface.d.ts +0 -7
- package/types/pc/icons.d.ts +0 -4
- package/types/pc/image/ImageFooter.d.ts +0 -13
- package/types/pc/image/ImagePreviewArrow.d.ts +0 -11
- package/types/pc/image/TriggerForToolbar.d.ts +0 -10
- package/types/pc/image/interface.d.ts +0 -262
- package/types/pc/index.d.ts +0 -187
- package/types/pc/input/Input.d.ts +0 -26
- package/types/pc/input/interface.d.ts +0 -333
- package/types/pc/layout/interface.d.ts +0 -120
- package/types/pc/menu/Indent.d.ts +0 -6
- package/types/pc/menu/OverflowWrap.d.ts +0 -9
- package/types/pc/menu/context.d.ts +0 -15
- package/types/pc/menu/sub-menu/Inline.d.ts +0 -5
- package/types/pc/menu/sub-menu/Pop.d.ts +0 -5
- package/types/pc/message/interface.d.ts +0 -90
- package/types/pc/modal/interface.d.ts +0 -193
- package/types/pc/overflow-ellipsis/OverflowItem.d.ts +0 -3
- package/types/pc/overflow-ellipsis/index.d.ts +0 -5
- package/types/pc/pagination/PageItem.d.ts +0 -18
- package/types/pc/pagination/PageJumper.d.ts +0 -13
- package/types/pc/pagination/PageOption.d.ts +0 -17
- package/types/pc/progress/CircleProgress.d.ts +0 -8
- package/types/pc/progress/LineProgess.d.ts +0 -2
- package/types/pc/progress/StepProgress.d.ts +0 -2
- package/types/pc/qr-code/examples/download.d.ts +0 -2
- package/types/pc/qr-code/examples/full.d.ts +0 -2
- package/types/pc/qr-code/examples/image.d.ts +0 -2
- package/types/pc/qr-code/interface.d.ts +0 -32
- package/types/pc/qr-code/src/index.d.ts +0 -116
- package/types/pc/radio/Group.d.ts +0 -10
- package/types/pc/radio/GroupBlock.d.ts +0 -7
- package/types/pc/radio/Radio.d.ts +0 -15
- package/types/pc/resize-box/ResizeTrigger.d.ts +0 -31
- package/types/pc/result/403.d.ts +0 -2
- package/types/pc/result/404.d.ts +0 -2
- package/types/pc/result/500.d.ts +0 -2
- package/types/pc/select/interface.d.ts +0 -313
- package/types/pc/select/util.d.ts +0 -26
- package/types/pc/skeleton/Image.d.ts +0 -3
- package/types/pc/skeleton/Text.d.ts +0 -4
- package/types/pc/slider/Button.d.ts +0 -21
- package/types/pc/slider/Input.d.ts +0 -15
- package/types/pc/slider/Tick.d.ts +0 -14
- package/types/pc/space/interface.d.ts +0 -9
- package/types/pc/speech-synthesis/index.d.ts +0 -4
- package/types/pc/speech-synthesis/interface.d.ts +0 -7
- package/types/pc/spin/DotLoading.d.ts +0 -6
- package/types/pc/suspense-fallback-test/index.d.ts +0 -2
- package/types/pc/suspense-fallback-test/interface.d.ts +0 -2
- package/types/pc/table/ColGroup.d.ts +0 -13
- package/types/pc/table/summary/Cell.d.ts +0 -12
- package/types/pc/table/summary/Row.d.ts +0 -7
- package/types/pc/table/tbody/Td.d.ts +0 -25
- package/types/pc/table/tbody/index.d.ts +0 -3
- package/types/pc/table/tfoot/index.d.ts +0 -3
- package/types/pc/table/th-resizable/index.d.ts +0 -2
- package/types/pc/table/thead/Column.d.ts +0 -2
- package/types/pc/table/thead/index.d.ts +0 -3
- package/types/pc/tabs/TabContent.d.ts +0 -9
- package/types/pc/tabs/tab-header/DropdownIcon.d.ts +0 -2
- package/types/pc/tabs/tab-header/TabInk.d.ts +0 -11
- package/types/pc/tabs/tab-header/TabNavIcon.d.ts +0 -17
- package/types/pc/time-picker/Picker.d.ts +0 -15
- package/types/pc/time-picker/RangePicker.d.ts +0 -12
- package/types/pc/time-picker/TimeColumn.d.ts +0 -17
- package/types/pc/time-picker/TimePicker.d.ts +0 -24
- package/types/pc/time-picker/index.d.ts +0 -9
- package/types/pc/time-picker/interface.d.ts +0 -237
- package/types/pc/transfer/Item.d.ts +0 -3
- package/types/pc/transfer/List.d.ts +0 -5
- package/types/pc/tree/Animation.d.ts +0 -4
- package/types/pc/trigger/interface.d.ts +0 -242
- package/types/pc/typography/Operations.d.ts +0 -4
- package/types/pc/upload/index.d.ts +0 -6
- package/types/pc/upload/interface.d.ts +0 -330
- package/types/pc/upload/list/index.d.ts +0 -6
- package/types/pc/upload/request_.d.ts +0 -3
- package/types/pc/utils/PqbCSSTransition.d.ts +0 -3
- package/types/pc/utils/caseName.d.ts +0 -3
- package/types/pc/utils/className.d.ts +0 -3
- package/types/pc/utils/constant.d.ts +0 -3
- package/types/pc/utils/contextHolder.d.ts +0 -10
- package/types/pc/utils/copy.d.ts +0 -3
- package/types/pc/utils/date.d.ts +0 -1
- package/types/pc/utils/dayjs.d.ts +0 -2
- package/types/pc/utils/dom.d.ts +0 -1
- package/types/pc/utils/emitter.d.ts +0 -1
- package/types/pc/utils/fileToURL.d.ts +0 -3
- package/types/pc/utils/fillNBSP.d.ts +0 -3
- package/types/pc/utils/findScrollParent.d.ts +0 -2
- package/types/pc/utils/getHighlightText.d.ts +0 -3
- package/types/pc/utils/getHotkeyHandler.d.ts +0 -4
- package/types/pc/utils/getStringLength.d.ts +0 -3
- package/types/pc/utils/include.d.ts +0 -3
- package/types/pc/utils/index.d.ts +0 -50
- package/types/pc/utils/intersectionObserver.d.ts +0 -2
- package/types/pc/utils/is.d.ts +0 -1
- package/types/pc/utils/keyboardCode.d.ts +0 -5
- package/types/pc/utils/lodash.d.ts +0 -1
- package/types/pc/utils/math.d.ts +0 -1
- package/types/pc/utils/mergeProps.d.ts +0 -3
- package/types/pc/utils/mergedToString.d.ts +0 -3
- package/types/pc/utils/mutationObserver.d.ts +0 -2
- package/types/pc/utils/names.d.ts +0 -1191
- package/types/pc/utils/omit.d.ts +0 -3
- package/types/pc/utils/pad.d.ts +0 -1
- package/types/pc/utils/pick.d.ts +0 -3
- package/types/pc/utils/pinyin.d.ts +0 -1
- package/types/pc/utils/react19Adapter.d.ts +0 -1
- package/types/pc/utils/reactDOM.d.ts +0 -1
- package/types/pc/utils/reactTransitionGroup.d.ts +0 -1
- package/types/pc/utils/resizeObserver.d.ts +0 -2
- package/types/pc/utils/saveAs.d.ts +0 -3
- package/types/pc/utils/screenfull.d.ts +0 -3
- package/types/pc/utils/scrollIntoViewIfNeeded.d.ts +0 -3
- package/types/pc/utils/setDarkTheme.d.ts +0 -3
- package/types/pc/utils/setPrimaryColor.d.ts +0 -2
- package/types/pc/utils/setTheme.d.ts +0 -2
- package/types/pc/utils/style.d.ts +0 -1
- package/types/pc/utils/throttleByRaf.d.ts +0 -1
- package/types/pc/utils/throttleByRaf2.d.ts +0 -1
- package/types/pc/utils/toArray.d.ts +0 -3
- package/types/pc/utils/tree.d.ts +0 -2
- package/types/pc/utils/tween.d.ts +0 -1
- package/types/pc/utils/type.d.ts +0 -1
- package/types/pc/utils/validate.d.ts +0 -1
- package/types/pc/utils/warning.d.ts +0 -1
- package/types/pc/verification-code/VerificationCode.d.ts +0 -8
- package/types/pc/verification-code/index.d.ts +0 -4
- package/types/pc/version/index.d.ts +0 -4
- package/types/pc/virtual-list/interface.d.ts +0 -56
- package/types/pc/watermark/Watermark.d.ts +0 -4
- package/types/pc/watermark/index.d.ts +0 -4
- package/typography/interface.js +0 -1
- package/upload/interface.js +0 -1
- package/upload/request_.js +0 -1993
- package/upload/util.js +0 -60
- package/utils/PqbCSSTransition.js +0 -5
- package/utils/reactTransitionGroup.js +0 -10
- package/utils/type.js +0 -1
- package/verification-code/interface.js +0 -1
- package/virtual-list/interface.js +0 -1
- package/watermark/interface.js +0 -1
- /package/types/{common → _common}/development/index.d.ts +0 -0
- /package/types/{common → _common}/development/interface.d.ts +0 -0
- /package/types/{common → _common}/empty/index.d.ts +0 -0
- /package/types/{common → _common}/empty/interface.d.ts +0 -0
- /package/types/{common → _common}/flex/index.d.ts +0 -0
- /package/types/{common → _common}/flex/interface.d.ts +0 -0
- /package/types/{common → _common}/higher-order/with-speech-synthesis/index.d.ts +0 -0
- /package/types/{common → _common}/higher-order/with-speech-synthesis/interface.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/create-deep-compare-effect/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/create-update-effect/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/create-use-storage-state/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-async-effect/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-boolean/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-click-away/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-controllable-value/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-count-down/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-counter/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-creation/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-debounce/debounceOptions.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-debounce/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-debounce-effect/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-debounce-fn/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-deep-compare-effect/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-deep-compare-layout-effect/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-document-visibility/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-drag/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-drop/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-event-listener/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-event-target/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-external/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-favicon/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-focus-within/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-get-state/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-history-travel/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-hover/index.d.ts +0 -0
- /package/types/{common/hooks/useId.d.ts → _common/hooks/use-id/index.d.ts} +0 -0
- /package/types/{common/hooks/useInView.d.ts → _common/hooks/use-in-view/index.d.ts} +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-in-viewport/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-infinite-scroll/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-infinite-scroll/types.d.ts +0 -0
- /package/types/{common/hooks/useIntersectionObserver.d.ts → _common/hooks/use-intersection-observer/index.d.ts} +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-interval/index.d.ts +0 -0
- /package/types/{common/hooks/useIsFirstRender.d.ts → _common/hooks/use-is-first-render/index.d.ts} +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-isomorphic-layout-effect/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-key-press/index.d.ts +0 -0
- /package/types/{common/hooks/useKeyboardEvent.d.ts → _common/hooks/use-keyboard-event/index.d.ts} +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-latest/index.d.ts +0 -0
- /package/types/{common/hooks/useListenWindowResize.d.ts → _common/hooks/use-listen-window-resize/index.d.ts} +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-local-storage-state/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-lock-fn/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-long-press/index.d.ts +0 -0
- /package/types/{common/hooks/useMedia.d.ts → _common/hooks/use-media/index.d.ts} +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-memoized-fn/index.d.ts +0 -0
- /package/types/{common/hooks/useMergeProps.d.ts → _common/hooks/use-merge-props/index.d.ts} +0 -0
- /package/types/{common/hooks/useMergeValue.d.ts → _common/hooks/use-merge-value/index.d.ts} +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-mount/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-mouse/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-mutation-observer/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-network/index.d.ts +0 -0
- /package/types/{common/hooks/useOnlineStatus.d.ts → _common/hooks/use-online-status/index.d.ts} +0 -0
- /package/types/{common/hooks/useOverflowHidden.d.ts → _common/hooks/use-overflow-hidden/index.d.ts} +0 -0
- /package/types/{common/hooks/useOverrideRef.d.ts → _common/hooks/use-override-ref/index.d.ts} +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-pagination/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-pagination/types.d.ts +0 -0
- /package/types/{common/hooks/usePersistCallback.d.ts → _common/hooks/use-persist-callback/index.d.ts} +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-raf-interval/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-raf-state/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-raf-timeout/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-reactive/index.d.ts +0 -0
- /package/types/{common/hooks/useRefs.d.ts → _common/hooks/use-refs/index.d.ts} +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/Fetch.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/plugins/useAutoRunPlugin.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/plugins/useCachePlugin.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/plugins/useDebouncePlugin.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/plugins/useLoadingDelayPlugin.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/plugins/usePollingPlugin.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/plugins/useRefreshOnWindowFocusPlugin.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/plugins/useRetryPlugin.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/plugins/useThrottlePlugin.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/types.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/useRequest.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/useRequestImplement.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/utils/cachePromise.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/utils/cacheSubscribe.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/utils/isDocumentVisible.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/utils/isOnline.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/utils/limit.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/utils/subscribeFocus.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-request/src/utils/subscribeReVisible.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-reset-state/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-responsive/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-safe-state/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-scroll/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-selections/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-session-storage-state/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-set-state/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-size/index.d.ts +0 -0
- /package/types/{common/hooks/useStateCallback.d.ts → _common/hooks/use-state-callback/index.d.ts} +0 -0
- /package/types/{common/hooks/useStateWithPromise.d.ts → _common/hooks/use-state-with-promise/index.d.ts} +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-text-selection/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-throttle/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-throttle/throttleOptions.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-throttle-effect/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-throttle-fn/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-timeout/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-title/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-toggle/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-tracked-effect/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-unmount/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-unmounted-ref/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-update/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-update-effect/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-update-layout-effect/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-virtual-list/index.d.ts +0 -0
- /package/types/{common/hooks/useWatch.d.ts → _common/hooks/use-watch/index.d.ts} +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-web-socket/index.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/use-why-did-you-update/index.d.ts +0 -0
- /package/types/{common/hooks/useWindowSize.d.ts → _common/hooks/use-window-size/index.d.ts} +0 -0
- /package/types/{common/hooks/src → _common/hooks}/utils/createEffectWithTarget.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/utils/depsAreSame.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/utils/depsEqual.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/utils/domTarget.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/utils/getDocumentOrShadow.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/utils/useDeepCompareWithTarget.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/utils/useEffectWithTarget.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/utils/useIsomorphicLayoutEffectWithTarget.d.ts +0 -0
- /package/types/{common/hooks/src → _common/hooks}/utils/useLayoutEffectWithTarget.d.ts +0 -0
- /package/types/{common → _common}/icons/file/index.d.ts +0 -0
- /package/types/{common → _common}/icons/file/interface.d.ts +0 -0
- /package/types/{common → _common}/space/index.d.ts +0 -0
- /package/types/{common → _common}/space/interface.d.ts +0 -0
- /package/types/{common → _common}/suspense-fallback-test/index.d.ts +0 -0
- /package/types/{common → _common}/suspense-fallback-test/interface.d.ts +0 -0
- /package/types/{common → _common}/utils/fillNBSP.d.ts +0 -0
- /package/types/{common → _common}/utils/getHighlightText.d.ts +0 -0
- /package/types/{common → _common}/utils/getHotkeyHandler.d.ts +0 -0
- /package/types/{common → _common}/utils/getStringLength.d.ts +0 -0
- /package/types/{common → _common}/utils/include.d.ts +0 -0
- /package/types/{common → _common}/utils/mergeProps.d.ts +0 -0
- /package/types/{common → _common}/utils/mergedToString.d.ts +0 -0
- /package/types/{common → _common}/utils/omit.d.ts +0 -0
- /package/types/{common → _common}/utils/pad.d.ts +0 -0
- /package/types/{common → _common}/utils/react19Adapter.d.ts +0 -0
- /package/types/{common → _common}/utils/resizeObserver.d.ts +0 -0
- /package/types/{common → _common}/utils/style.d.ts +0 -0
- /package/types/{common → _common}/utils/throttleByRaf.d.ts +0 -0
- /package/types/{common → _common}/utils/toArray.d.ts +0 -0
- /package/types/{pc → _common}/utils/uuid.d.ts +0 -0
- /package/types/{common → _common}/utils/warning.d.ts +0 -0
- /package/types/{pc/affix → affix}/index.d.ts +0 -0
- /package/types/{pc/affix → affix}/interface.d.ts +0 -0
- /package/types/{pc/alert → alert}/index.d.ts +0 -0
- /package/types/{pc/alert → alert}/interface.d.ts +0 -0
- /package/types/{pc/anchor → anchor}/Anchor.d.ts +0 -0
- /package/types/{pc/anchor → anchor}/Link.d.ts +0 -0
- /package/types/{pc/anchor → anchor}/context.d.ts +0 -0
- /package/types/{pc/app → app}/context.d.ts +0 -0
- /package/types/{pc/app → app}/index.d.ts +0 -0
- /package/types/{pc/app → app}/interface.d.ts +0 -0
- /package/types/{pc/app → app}/useApp.d.ts +0 -0
- /package/types/{pc/auto-complete → auto-complete}/index.d.ts +0 -0
- /package/types/{pc/auto-complete → auto-complete}/interface.d.ts +0 -0
- /package/types/{pc/avatar → avatar}/Avatar.d.ts +0 -0
- /package/types/{pc/avatar → avatar}/Group.d.ts +0 -0
- /package/types/{pc/avatar → avatar}/context.d.ts +0 -0
- /package/types/{pc/avatar → avatar}/index.d.ts +0 -0
- /package/types/{pc/avatar → avatar}/interface.d.ts +0 -0
- /package/types/{pc/back-top → back-top}/index.d.ts +0 -0
- /package/types/{pc/back-top → back-top}/interface.d.ts +0 -0
- /package/types/{pc/badge → badge}/index.d.ts +0 -0
- /package/types/{pc/breadcrumb → breadcrumb}/index.d.ts +0 -0
- /package/types/{pc/breadcrumb → breadcrumb}/interface.d.ts +0 -0
- /package/types/{pc/button → button}/Group.d.ts +0 -0
- /package/types/{pc/button → button}/index.d.ts +0 -0
- /package/types/{pc/button → button}/interface.d.ts +0 -0
- /package/types/{pc/calendar → calendar}/hook/useCellClassName.d.ts +0 -0
- /package/types/{pc/calendar → calendar}/interface.d.ts +0 -0
- /package/types/{pc/card → card}/Grid.d.ts +0 -0
- /package/types/{pc/card → card}/Meta.d.ts +0 -0
- /package/types/{pc/card → card}/index.d.ts +0 -0
- /package/types/{pc/carousel → carousel}/Arrow.d.ts +0 -0
- /package/types/{pc/carousel → carousel}/Indicator.d.ts +0 -0
- /package/types/{pc/carousel → carousel}/index.d.ts +0 -0
- /package/types/{pc/carousel → carousel}/interface.d.ts +0 -0
- /package/types/{pc/cascader → cascader}/base/store.d.ts +0 -0
- /package/types/{pc/cascader → cascader}/hook/useRefCurrent.d.ts +0 -0
- /package/types/{pc/cascader → cascader}/index.d.ts +0 -0
- /package/types/{pc/cascader → cascader}/interface.d.ts +0 -0
- /package/types/{pc/cascader/util.d.ts → cascader/utils.d.ts} +0 -0
- /package/types/{pc/checkbox → checkbox}/Checkbox.d.ts +0 -0
- /package/types/{pc/checkbox → checkbox}/index.d.ts +0 -0
- /package/types/{pc/checkbox → checkbox}/interface.d.ts +0 -0
- /package/types/{pc/checkbox → checkbox}/useCheckbox.d.ts +0 -0
- /package/types/{pc/collapse → collapse}/Collapse.d.ts +0 -0
- /package/types/{pc/collapse → collapse}/Item.d.ts +0 -0
- /package/types/{pc/collapse → collapse}/index.d.ts +0 -0
- /package/types/{pc/collapse → collapse}/interface.d.ts +0 -0
- /package/types/{pc/color-picker → color-picker}/ControlBar.d.ts +0 -0
- /package/types/{pc/color-picker → color-picker}/InputAlpha.d.ts +0 -0
- /package/types/{pc/color-picker → color-picker}/InputHex.d.ts +0 -0
- /package/types/{pc/color-picker → color-picker}/Mode.d.ts +0 -0
- /package/types/{pc/color-picker → color-picker}/Panel.d.ts +0 -0
- /package/types/{pc/color-picker → color-picker}/colors.d.ts +0 -0
- /package/types/{pc/color-picker → color-picker}/hooks/useControlBlock.d.ts +0 -0
- /package/types/{pc/color-picker → color-picker}/index.d.ts +0 -0
- /package/types/{pc/color-picker → color-picker}/interface.d.ts +0 -0
- /package/types/{pc/color-picker → color-picker}/utils.d.ts +0 -0
- /package/types/{pc/comment → comment}/index.d.ts +0 -0
- /package/types/{pc/comment → comment}/interface.d.ts +0 -0
- /package/types/{pc/config-provider → config-provider}/context.d.ts +0 -0
- /package/types/{pc/constant → constant}/index.d.ts +0 -0
- /package/types/{pc/copy → copy}/interface.d.ts +0 -0
- /package/types/{pc/countdown → countdown}/index.d.ts +0 -0
- /package/types/{pc/countdown → countdown}/interface.d.ts +0 -0
- /package/types/{pc/countdown/util.d.ts → countdown/utils.d.ts} +0 -0
- /package/types/{pc/date-picker → date-picker}/Picker.d.ts +0 -0
- /package/types/{pc/date-picker → date-picker}/context.d.ts +0 -0
- /package/types/{pc/date-picker → date-picker}/hook/useCellClassName.d.ts +0 -0
- /package/types/{pc/date-picker → date-picker}/index.d.ts +0 -0
- /package/types/{pc/date-picker → date-picker}/panel/Shortcut.d.ts +0 -0
- /package/types/{pc/date-picker/util.d.ts → date-picker/utils.d.ts} +0 -0
- /package/types/{pc/descriptions → descriptions}/interface.d.ts +0 -0
- /package/types/{pc/details → details}/index.d.ts +0 -0
- /package/types/{pc/details → details}/interface.d.ts +0 -0
- /package/types/{pc/development → development}/index.d.ts +0 -0
- /package/types/{pc/divider → divider}/index.d.ts +0 -0
- /package/types/{pc/divider → divider}/interface.d.ts +0 -0
- /package/types/{pc/draggable → draggable}/interface.d.ts +0 -0
- /package/types/{pc/drawer → drawer}/Drawer.d.ts +0 -0
- /package/types/{pc/drawer → drawer}/index.d.ts +0 -0
- /package/types/{pc/drawer → drawer}/interface.d.ts +0 -0
- /package/types/{pc/dropdown → dropdown}/Button.d.ts +0 -0
- /package/types/{pc/dropdown → dropdown}/index.d.ts +0 -0
- /package/types/{pc/dropdown → dropdown}/interface.d.ts +0 -0
- /package/types/{pc/empty → empty}/index.d.ts +0 -0
- /package/types/{pc/flex → flex}/index.d.ts +0 -0
- /package/types/{pc/form → form}/Form.d.ts +0 -0
- /package/types/{pc/form → form}/FormItem.d.ts +0 -0
- /package/types/{pc/form → form}/FormLabel.d.ts +0 -0
- /package/types/{pc/form → form}/FormProvider.d.ts +0 -0
- /package/types/{pc/form → form}/context.d.ts +0 -0
- /package/types/{pc/form → form}/hook/useContext.d.ts +0 -0
- /package/types/{pc/form → form}/hook/useForm.d.ts +0 -0
- /package/types/{pc/form → form}/hook/useState.d.ts +0 -0
- /package/types/{pc/form → form}/hook/useWatch.d.ts +0 -0
- /package/types/{pc/form → form}/index.d.ts +0 -0
- /package/types/{pc/form → form}/promisify.d.ts +0 -0
- /package/types/{pc/form → form}/store.d.ts +0 -0
- /package/types/{pc/grid → grid}/Grid.d.ts +0 -0
- /package/types/{pc/grid → grid}/Item.d.ts +0 -0
- /package/types/{pc/grid → grid}/context.d.ts +0 -0
- /package/types/{pc/grid → grid}/index.d.ts +0 -0
- /package/types/{pc/grid → grid}/interface.d.ts +0 -0
- /package/types/{pc/grid/util.d.ts → grid/utils.d.ts} +0 -0
- /package/types/{pc/hooks → hooks}/use-verification-code/index.d.ts +0 -0
- /package/types/{pc/hooks → hooks}/use-verification-code/interface.d.ts +0 -0
- /package/types/{pc/hooks → hooks}/use-watermark/index.d.ts +0 -0
- /package/types/{pc/hooks → hooks}/use-watermark/interface.d.ts +0 -0
- /package/types/{pc/hooks → hooks}/use-watermark/utils.d.ts +0 -0
- /package/types/{pc/icon → icon}/addFromIconFontCn.d.ts +0 -0
- /package/types/{pc/icon → icon}/index.d.ts +0 -0
- /package/types/{pc/icon → icon}/interface.d.ts +0 -0
- /package/types/{pc/icon-hover → icon-hover}/index.d.ts +0 -0
- /package/types/{pc/icon-hover → icon-hover}/interface.d.ts +0 -0
- /package/types/{pc/icons → icons}/file/index.d.ts +0 -0
- /package/types/{pc/image → image}/Image.d.ts +0 -0
- /package/types/{pc/image → image}/ImagePreview.d.ts +0 -0
- /package/types/{pc/image → image}/ImagePreviewGroup.d.ts +0 -0
- /package/types/{pc/image → image}/ImagePreviewToolbar.d.ts +0 -0
- /package/types/{pc/image → image}/index.d.ts +0 -0
- /package/types/{pc/image → image}/previewGroupContext.d.ts +0 -0
- /package/types/{pc/image/util → image/utils}/getFixTranslate.d.ts +0 -0
- /package/types/{pc/image/util → image/utils}/getScale.d.ts +0 -0
- /package/types/{pc/image/util → image/utils}/hook/useImageStatus.d.ts +0 -0
- /package/types/{pc/image/util → image/utils}/hook/useShowFooter.d.ts +0 -0
- /package/types/{pc/input → input}/Button.d.ts +0 -0
- /package/types/{pc/input → input}/Group.d.ts +0 -0
- /package/types/{pc/input → input}/InputElement.d.ts +0 -0
- /package/types/{pc/input → input}/Number.d.ts +0 -0
- /package/types/{pc/input → input}/Password.d.ts +0 -0
- /package/types/{pc/input → input}/Search.d.ts +0 -0
- /package/types/{pc/input → input}/Tag.d.ts +0 -0
- /package/types/{pc/input → input}/Textarea.d.ts +0 -0
- /package/types/{pc/input → input}/autoSizeTextAreaHeight.d.ts +0 -0
- /package/types/{pc/input → input}/index.d.ts +0 -0
- /package/types/{pc/input → input}/useComposition.d.ts +0 -0
- /package/types/{pc/input-number → input-number}/decimal.d.ts +0 -0
- /package/types/{pc/input-number → input-number}/index.d.ts +0 -0
- /package/types/{pc/input-number → input-number}/interface.d.ts +0 -0
- /package/types/{pc/input-number → input-number}/useSelectionRange.d.ts +0 -0
- /package/types/{pc/input-number/util.d.ts → input-number/utils.d.ts} +0 -0
- /package/types/{pc/input-tag → input-tag}/InputTag.d.ts +0 -0
- /package/types/{pc/input-tag → input-tag}/index.d.ts +0 -0
- /package/types/{pc/input-tag → input-tag}/interface.d.ts +0 -0
- /package/types/{pc/layout → layout}/Content.d.ts +0 -0
- /package/types/{pc/layout → layout}/Footer.d.ts +0 -0
- /package/types/{pc/layout → layout}/Header.d.ts +0 -0
- /package/types/{pc/layout → layout}/Sider.d.ts +0 -0
- /package/types/{pc/layout → layout}/index.d.ts +0 -0
- /package/types/{pc/link → link}/index.d.ts +0 -0
- /package/types/{pc/link → link}/interface.d.ts +0 -0
- /package/types/{pc/liquid-fill → liquid-fill}/index.d.ts +0 -0
- /package/types/{pc/liquid-fill → liquid-fill}/interface.d.ts +0 -0
- /package/types/{pc/list → list}/Item.d.ts +0 -0
- /package/types/{pc/list → list}/Meta.d.ts +0 -0
- /package/types/{pc/list → list}/index.d.ts +0 -0
- /package/types/{pc/list → list}/interface.d.ts +0 -0
- /package/types/{pc/loading → loading}/index.d.ts +0 -0
- /package/types/{pc/loading → loading}/interface.d.ts +0 -0
- /package/types/{pc/locale → locale}/ar-EG.d.ts +0 -0
- /package/types/{pc/locale → locale}/de-DE.d.ts +0 -0
- /package/types/{pc/locale → locale}/default.d.ts +0 -0
- /package/types/{pc/locale → locale}/en-US.d.ts +0 -0
- /package/types/{pc/locale → locale}/es-ES.d.ts +0 -0
- /package/types/{pc/locale → locale}/fr-FR.d.ts +0 -0
- /package/types/{pc/locale → locale}/id-ID.d.ts +0 -0
- /package/types/{pc/locale → locale}/interface.d.ts +0 -0
- /package/types/{pc/locale → locale}/it-IT.d.ts +0 -0
- /package/types/{pc/locale → locale}/ja-JP.d.ts +0 -0
- /package/types/{pc/locale → locale}/ko-KR.d.ts +0 -0
- /package/types/{pc/locale → locale}/ms-MY.d.ts +0 -0
- /package/types/{pc/locale → locale}/pt-BR.d.ts +0 -0
- /package/types/{pc/locale → locale}/pt-PT.d.ts +0 -0
- /package/types/{pc/locale → locale}/ru-RU.d.ts +0 -0
- /package/types/{pc/locale → locale}/th-TH.d.ts +0 -0
- /package/types/{pc/locale → locale}/tr-TR.d.ts +0 -0
- /package/types/{pc/locale → locale}/vi-VN.d.ts +0 -0
- /package/types/{pc/locale → locale}/zh-CN.d.ts +0 -0
- /package/types/{pc/locale → locale}/zh-HK.d.ts +0 -0
- /package/types/{pc/locale → locale}/zh-TW.d.ts +0 -0
- /package/types/{pc/marquee → marquee}/index.d.ts +0 -0
- /package/types/{pc/marquee → marquee}/interface.d.ts +0 -0
- /package/types/{pc/marquee- → marquee-}/index.d.ts +0 -0
- /package/types/{pc/marquee- → marquee-}/interface.d.ts +0 -0
- /package/types/{pc/mentions → mentions}/index.d.ts +0 -0
- /package/types/{pc/mentions → mentions}/interface.d.ts +0 -0
- /package/types/{pc/mentions/util.d.ts → mentions/utils.d.ts} +0 -0
- /package/types/{pc/menu → menu}/Item.d.ts +0 -0
- /package/types/{pc/menu → menu}/ItemGroup.d.ts +0 -0
- /package/types/{pc/menu → menu}/Menu.d.ts +0 -0
- /package/types/{pc/menu → menu}/index.d.ts +0 -0
- /package/types/{pc/menu → menu}/interface.d.ts +0 -0
- /package/types/{pc/menu → menu}/sub-menu/index.d.ts +0 -0
- /package/types/{pc/menu/util.d.ts → menu/utils.d.ts} +0 -0
- /package/types/{pc/message → message}/index.d.ts +0 -0
- /package/types/{pc/message → message}/useMessage.d.ts +0 -0
- /package/types/{pc/modal → modal}/Confirm.d.ts +0 -0
- /package/types/{pc/modal → modal}/Modal.d.ts +0 -0
- /package/types/{pc/modal → modal}/config.d.ts +0 -0
- /package/types/{pc/modal → modal}/index.d.ts +0 -0
- /package/types/{pc/modal → modal}/use-modal/Hook.d.ts +0 -0
- /package/types/{pc/modal → modal}/use-modal/index.d.ts +0 -0
- /package/types/{pc/notice → notice}/index.d.ts +0 -0
- /package/types/{pc/notification → notification}/index.d.ts +0 -0
- /package/types/{pc/notification → notification}/interface.d.ts +0 -0
- /package/types/{pc/notification → notification}/useNotification.d.ts +0 -0
- /package/types/{pc/notification → notification}/withNotification.d.ts +0 -0
- /package/types/{pc/overflow-ellipsis → overflow-ellipsis}/interface.d.ts +0 -0
- /package/types/{pc/page-header → page-header}/index.d.ts +0 -0
- /package/types/{pc/page-header → page-header}/interface.d.ts +0 -0
- /package/types/{pc/pagination → pagination}/Pagination.d.ts +0 -0
- /package/types/{pc/pagination → pagination}/index.d.ts +0 -0
- /package/types/{pc/pagination → pagination}/interface.d.ts +0 -0
- /package/types/{pc/picker → picker}/Input.d.ts +0 -0
- /package/types/{pc/picker → picker}/InputRange.d.ts +0 -0
- /package/types/{pc/picker → picker}/index.d.ts +0 -0
- /package/types/{pc/popconfirm → popconfirm}/index.d.ts +0 -0
- /package/types/{pc/popconfirm → popconfirm}/interface.d.ts +0 -0
- /package/types/{pc/popover → popover}/index.d.ts +0 -0
- /package/types/{pc/popover → popover}/interface.d.ts +0 -0
- /package/types/{pc/portal → portal}/Portal.d.ts +0 -0
- /package/types/{pc/portal → portal}/index.d.ts +0 -0
- /package/types/{pc/portal → portal}/interface.d.ts +0 -0
- /package/types/{pc/progress → progress}/index.d.ts +0 -0
- /package/types/{pc/progress → progress}/interface.d.ts +0 -0
- /package/types/{pc/qr-code → qr-code}/examples/demo.d.ts +0 -0
- /package/types/{pc/qr-code → qr-code}/index.d.ts +0 -0
- /package/types/{pc/qr-code → qr-code}/src/qrcodegen.d.ts +0 -0
- /package/types/{pc/qr-code → qr-code}/src/qrcodegen2.d.ts +0 -0
- /package/types/{pc/radio → radio}/index.d.ts +0 -0
- /package/types/{pc/radio → radio}/interface.d.ts +0 -0
- /package/types/{pc/rate → rate}/index.d.ts +0 -0
- /package/types/{pc/rate → rate}/interface.d.ts +0 -0
- /package/types/{pc/resize-box → resize-box}/Split.d.ts +0 -0
- /package/types/{pc/resize-box → resize-box}/SplitGroup.d.ts +0 -0
- /package/types/{pc/resize-box → resize-box}/index.d.ts +0 -0
- /package/types/{pc/resize-box → resize-box}/interface.d.ts +0 -0
- /package/types/{pc/result → result}/index.d.ts +0 -0
- /package/types/{pc/result → result}/interface.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/constant.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/index.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/interface.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/blots/block.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/blots/break.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/blots/container.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/blots/cursor.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/blots/embed.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/blots/inline.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/blots/scroll.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/blots/text.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/core/composition.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/core/editor.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/core/emitter.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/core/instances.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/core/logger.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/core/module.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/core/rich.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/core/selection.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/core/theme.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/core/utils/createRegistryWithFormats.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/core/utils/scrollRectIntoView.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/core.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/delta/AttributeMap.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/delta/Op.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/delta/OpIterator.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/delta/index.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/diff/index.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/align.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/background.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/blockquote.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/bold.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/code.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/color.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/direction.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/font.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/formula.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/header.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/hr.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/image-resize/index.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/image-resize/modules/BaseModule.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/image-resize/modules/DisplaySize.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/image-resize/modules/Resize.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/image-resize/options.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/image.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/indent.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/italic.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/liOl.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/liUl.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/lineHeight.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/link.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/list.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/script.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/size.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/strike.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/table.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/underline.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/formats/video.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/index.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/modules/clipboard.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/modules/history.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/modules/input.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/modules/keyboard.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/modules/normalizeExternalHTML/index.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/modules/normalizeExternalHTML/normalizers/googleDocs.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/modules/normalizeExternalHTML/normalizers/msWord.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/modules/syntax.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/modules/table.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/modules/tableEmbed.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/modules/toolbar.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/modules/uiNode.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/modules/uploader.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/attributor/attributor.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/attributor/class.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/attributor/store.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/attributor/style.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/blot/abstract/blot.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/blot/abstract/container.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/blot/abstract/leaf.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/blot/abstract/parent.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/blot/abstract/shadow.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/blot/block.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/blot/embed.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/blot/inline.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/blot/scroll.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/blot/text.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/collection/linked-list.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/collection/linked-node.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/error.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/index.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/registry.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/parchment/scope.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/themes/base.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/themes/pqb.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/ui/color-picker.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/ui/icon-picker.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/ui/icons.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/ui/picker.d.ts +0 -0
- /package/types/{pc/rich-text → rich-text}/lib/ui/tooltip.d.ts +0 -0
- /package/types/{pc/row-col → row-col}/Col-.d.ts +0 -0
- /package/types/{pc/row-col → row-col}/Col.d.ts +0 -0
- /package/types/{pc/row-col → row-col}/Row.d.ts +0 -0
- /package/types/{pc/row-col → row-col}/context.d.ts +0 -0
- /package/types/{pc/row-col → row-col}/index.d.ts +0 -0
- /package/types/{pc/row-col → row-col}/interface.d.ts +0 -0
- /package/types/{pc/segmented → segmented}/index.d.ts +0 -0
- /package/types/{pc/segmented → segmented}/interface.d.ts +0 -0
- /package/types/{pc/select → select}/OptGroup.d.ts +0 -0
- /package/types/{pc/select → select}/Option.d.ts +0 -0
- /package/types/{pc/select → select}/Select.d.ts +0 -0
- /package/types/{pc/select → select}/index.d.ts +0 -0
- /package/types/{pc/select-view → select-view}/Core.d.ts +0 -0
- /package/types/{pc/select-view → select-view}/index.d.ts +0 -0
- /package/types/{pc/select-view → select-view}/interface.d.ts +0 -0
- /package/types/{pc/skeleton → skeleton}/index.d.ts +0 -0
- /package/types/{pc/skeleton → skeleton}/interface.d.ts +0 -0
- /package/types/{pc/slider → slider}/Dot.d.ts +0 -0
- /package/types/{pc/slider → slider}/Mark.d.ts +0 -0
- /package/types/{pc/slider → slider}/hook/useInterval.d.ts +0 -0
- /package/types/{pc/slider → slider}/hook/useLegalValue.d.ts +0 -0
- /package/types/{pc/slider → slider}/index.d.ts +0 -0
- /package/types/{pc/slider → slider}/interface.d.ts +0 -0
- /package/types/{pc/slider/util.d.ts → slider/utils.d.ts} +0 -0
- /package/types/{pc/space → space}/index.d.ts +0 -0
- /package/types/{pc/speech-synthesis → speech-synthesis}/style/index.d.ts +0 -0
- /package/types/{pc/spin → spin}/index.d.ts +0 -0
- /package/types/{pc/spin → spin}/interface.d.ts +0 -0
- /package/types/{pc/splitter → splitter}/Panel.d.ts +0 -0
- /package/types/{pc/splitter → splitter}/SplitBar.d.ts +0 -0
- /package/types/{pc/splitter → splitter}/Splitter.d.ts +0 -0
- /package/types/{pc/splitter → splitter}/hooks/useEvent.d.ts +0 -0
- /package/types/{pc/splitter → splitter}/hooks/useItems.d.ts +0 -0
- /package/types/{pc/splitter → splitter}/hooks/useResizable.d.ts +0 -0
- /package/types/{pc/splitter → splitter}/hooks/useResize.d.ts +0 -0
- /package/types/{pc/splitter → splitter}/hooks/useSizes.d.ts +0 -0
- /package/types/{pc/splitter → splitter}/index.d.ts +0 -0
- /package/types/{pc/splitter → splitter}/interface.d.ts +0 -0
- /package/types/{pc/statistic → statistic}/index.d.ts +0 -0
- /package/types/{pc/statistic → statistic}/interface.d.ts +0 -0
- /package/types/{pc/steps → steps}/Step.d.ts +0 -0
- /package/types/{pc/steps → steps}/index.d.ts +0 -0
- /package/types/{pc/steps → steps}/interface.d.ts +0 -0
- /package/types/{pc/switch → switch}/index.d.ts +0 -0
- /package/types/{pc/switch → switch}/interface.d.ts +0 -0
- /package/types/{pc/table → table}/Table.d.ts +0 -0
- /package/types/{pc/table → table}/constant.d.ts +0 -0
- /package/types/{pc/table → table}/context.d.ts +0 -0
- /package/types/{pc/table → table}/hook/useColumns.d.ts +0 -0
- /package/types/{pc/table → table}/hook/useComponent.d.ts +0 -0
- /package/types/{pc/table → table}/hook/useExpand.d.ts +0 -0
- /package/types/{pc/table → table}/hook/useRowSelection.d.ts +0 -0
- /package/types/{pc/table → table}/hook/useSorter.d.ts +0 -0
- /package/types/{pc/table → table}/hook/useStickyClassNames.d.ts +0 -0
- /package/types/{pc/table → table}/hook/useStickyOffsets.d.ts +0 -0
- /package/types/{pc/table → table}/hook/useThResizable.d.ts +0 -0
- /package/types/{pc/table → table}/index.d.ts +0 -0
- /package/types/{pc/table → table}/interface.d.ts +0 -0
- /package/types/{pc/table → table}/summary/context.d.ts +0 -0
- /package/types/{pc/table → table}/summary/index.d.ts +0 -0
- /package/types/{pc/table → table}/tbody/Tr.d.ts +0 -0
- /package/types/{pc/table/util.d.ts → table/utils.d.ts} +0 -0
- /package/types/{pc/tabs → tabs}/Tab.d.ts +0 -0
- /package/types/{pc/tabs → tabs}/TabPane.d.ts +0 -0
- /package/types/{pc/tabs → tabs}/hook/useDomSize.d.ts +0 -0
- /package/types/{pc/tabs → tabs}/hook/useHeaderScroll.d.ts +0 -0
- /package/types/{pc/tabs → tabs}/index.d.ts +0 -0
- /package/types/{pc/tabs → tabs}/interface.d.ts +0 -0
- /package/types/{pc/tabs → tabs}/tab-header/TabTitle.d.ts +0 -0
- /package/types/{pc/tabs → tabs}/tab-header/index.d.ts +0 -0
- /package/types/{pc/tabs/util.d.ts → tabs/utils.d.ts} +0 -0
- /package/types/{pc/tag → tag}/index.d.ts +0 -0
- /package/types/{pc/tag → tag}/interface.d.ts +0 -0
- /package/types/{pc/time-picker → time-picker}/context.d.ts +0 -0
- /package/types/{pc/time-picker/util.d.ts → time-picker/utils.d.ts} +0 -0
- /package/types/{pc/timeline → timeline}/Item.d.ts +0 -0
- /package/types/{pc/timeline → timeline}/Timeline.d.ts +0 -0
- /package/types/{pc/timeline → timeline}/index.d.ts +0 -0
- /package/types/{pc/timeline → timeline}/interface.d.ts +0 -0
- /package/types/{pc/tooltip → tooltip}/index.d.ts +0 -0
- /package/types/{pc/tooltip → tooltip}/interface.d.ts +0 -0
- /package/types/{pc/tour → tour}/index.d.ts +0 -0
- /package/types/{pc/tour → tour}/interface.d.ts +0 -0
- /package/types/{pc/transfer → transfer}/index.d.ts +0 -0
- /package/types/{pc/transfer → transfer}/interface.d.ts +0 -0
- /package/types/{pc/tree → tree}/Context.d.ts +0 -0
- /package/types/{pc/tree → tree}/Node.d.ts +0 -0
- /package/types/{pc/tree → tree}/NodeList.d.ts +0 -0
- /package/types/{pc/tree → tree}/Tree.d.ts +0 -0
- /package/types/{pc/tree → tree}/index.d.ts +0 -0
- /package/types/{pc/tree → tree}/interface.d.ts +0 -0
- /package/types/{pc/tree/util.d.ts → tree/utils.d.ts} +0 -0
- /package/types/{pc/tree-select → tree-select}/List.d.ts +0 -0
- /package/types/{pc/tree-select → tree-select}/Select.d.ts +0 -0
- /package/types/{pc/tree-select → tree-select}/hook/useKeyCache.d.ts +0 -0
- /package/types/{pc/tree-select → tree-select}/hook/useStateValue.d.ts +0 -0
- /package/types/{pc/tree-select → tree-select}/hook/useTreeData.d.ts +0 -0
- /package/types/{pc/tree-select → tree-select}/index.d.ts +0 -0
- /package/types/{pc/tree-select → tree-select}/interface.d.ts +0 -0
- /package/types/{pc/tree-select/util.d.ts → tree-select/utils.d.ts} +0 -0
- /package/types/{pc/trigger → trigger}/getPopupStyle.d.ts +0 -0
- /package/types/{pc/trigger → trigger}/index.d.ts +0 -0
- /package/types/{pc/typography → typography}/Base.d.ts +0 -0
- /package/types/{pc/typography → typography}/EditContent.d.ts +0 -0
- /package/types/{pc/typography → typography}/Ellipsis.d.ts +0 -0
- /package/types/{pc/typography → typography}/Paragraph.d.ts +0 -0
- /package/types/{pc/typography → typography}/Text.d.ts +0 -0
- /package/types/{pc/typography → typography}/Title.d.ts +0 -0
- /package/types/{pc/typography → typography}/Typography.d.ts +0 -0
- /package/types/{pc/typography → typography}/index.d.ts +0 -0
- /package/types/{pc/typography → typography}/interface.d.ts +0 -0
- /package/types/{pc/typography → typography}/useCssEllipsis.d.ts +0 -0
- /package/types/{pc/typography → typography}/useEllipsis.d.ts +0 -0
- /package/types/{pc/upload → upload}/TriggerNode.d.ts +0 -0
- /package/types/{pc/upload → upload}/Upload.d.ts +0 -0
- /package/types/{pc/upload → upload}/Uploader.d.ts +0 -0
- /package/types/{pc/upload → upload}/constant.d.ts +0 -0
- /package/types/{pc/upload → upload}/list/PictureItem.d.ts +0 -0
- /package/types/{pc/upload → upload}/list/TextItem.d.ts +0 -0
- /package/types/{pc/upload → upload}/list/UploadProgress.d.ts +0 -0
- /package/types/{pc/upload → upload}/request.d.ts +0 -0
- /package/types/{pc/upload/util.d.ts → upload/utils.d.ts} +0 -0
- /package/types/{pc/utils → utils}/responsiveObserve.d.ts +0 -0
- /package/types/{pc/verification-code → verification-code}/interface.d.ts +0 -0
- /package/types/{pc/virtual-list → virtual-list}/Filler.d.ts +0 -0
- /package/types/{pc/virtual-list → virtual-list}/VirtualList.d.ts +0 -0
- /package/types/{pc/virtual-list → virtual-list}/index.d.ts +0 -0
- /package/types/{pc/virtual-list/util → virtual-list/utils}/algorithm.d.ts +0 -0
- /package/types/{pc/virtual-list/util → virtual-list/utils}/item.d.ts +0 -0
- /package/types/{pc/watermark → watermark}/interface.d.ts +0 -0
package/upload/request_.js
DELETED
|
@@ -1,1993 +0,0 @@
|
|
|
1
|
-
import { N as le } from "../chunk/CjNkKiBA.js";
|
|
2
|
-
import "../chunk/DsaQZE4X.js";
|
|
3
|
-
import { isPlainObject as mt, isFunction as gt } from "@unicom-cloud/utils/is";
|
|
4
|
-
function He(e, t) {
|
|
5
|
-
return function() {
|
|
6
|
-
return e.apply(t, arguments);
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
const { toString: bt } = Object.prototype, { getPrototypeOf: ye } = Object, { iterator: re, toStringTag: Je } = Symbol, ne = /* @__PURE__ */ ((e) => (t) => {
|
|
10
|
-
const r = bt.call(t);
|
|
11
|
-
return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
|
|
12
|
-
})(/* @__PURE__ */ Object.create(null)), C = (e) => (e = e.toLowerCase(), (t) => ne(t) === e), oe = (e) => (t) => typeof t === e, { isArray: $ } = Array, D = oe("undefined");
|
|
13
|
-
function z(e) {
|
|
14
|
-
return e !== null && !D(e) && e.constructor !== null && !D(e.constructor) && S(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
15
|
-
}
|
|
16
|
-
const Ve = C("ArrayBuffer");
|
|
17
|
-
function yt(e) {
|
|
18
|
-
let t;
|
|
19
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ve(e.buffer), t;
|
|
20
|
-
}
|
|
21
|
-
const wt = oe("string"), S = oe("function"), We = oe("number"), H = (e) => e !== null && typeof e == "object", Et = (e) => e === !0 || e === !1, Z = (e) => {
|
|
22
|
-
if (ne(e) !== "object")
|
|
23
|
-
return !1;
|
|
24
|
-
const t = ye(e);
|
|
25
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Je in e) && !(re in e);
|
|
26
|
-
}, Ot = (e) => {
|
|
27
|
-
if (!H(e) || z(e))
|
|
28
|
-
return !1;
|
|
29
|
-
try {
|
|
30
|
-
return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
|
|
31
|
-
} catch {
|
|
32
|
-
return !1;
|
|
33
|
-
}
|
|
34
|
-
}, Rt = C("Date"), St = C("File"), Tt = C("Blob"), At = C("FileList"), Ct = (e) => H(e) && S(e.pipe), xt = (e) => {
|
|
35
|
-
let t;
|
|
36
|
-
return e && (typeof FormData == "function" && e instanceof FormData || S(e.append) && ((t = ne(e)) === "formdata" || // detect form-data instance
|
|
37
|
-
t === "object" && S(e.toString) && e.toString() === "[object FormData]"));
|
|
38
|
-
}, vt = C("URLSearchParams"), [jt, Nt, Pt, Ut] = [
|
|
39
|
-
"ReadableStream",
|
|
40
|
-
"Request",
|
|
41
|
-
"Response",
|
|
42
|
-
"Headers"
|
|
43
|
-
].map(C), Ft = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
44
|
-
function J(e, t, { allOwnKeys: r = !1 } = {}) {
|
|
45
|
-
if (e === null || typeof e > "u")
|
|
46
|
-
return;
|
|
47
|
-
let n, o;
|
|
48
|
-
if (typeof e != "object" && (e = [e]), $(e))
|
|
49
|
-
for (n = 0, o = e.length; n < o; n++)
|
|
50
|
-
t.call(null, e[n], n, e);
|
|
51
|
-
else {
|
|
52
|
-
if (z(e))
|
|
53
|
-
return;
|
|
54
|
-
const s = r ? Object.getOwnPropertyNames(e) : Object.keys(e), i = s.length;
|
|
55
|
-
let c;
|
|
56
|
-
for (n = 0; n < i; n++)
|
|
57
|
-
c = s[n], t.call(null, e[c], c, e);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
function Ke(e, t) {
|
|
61
|
-
if (z(e))
|
|
62
|
-
return null;
|
|
63
|
-
t = t.toLowerCase();
|
|
64
|
-
const r = Object.keys(e);
|
|
65
|
-
let n = r.length, o;
|
|
66
|
-
for (; n-- > 0; )
|
|
67
|
-
if (o = r[n], t === o.toLowerCase())
|
|
68
|
-
return o;
|
|
69
|
-
return null;
|
|
70
|
-
}
|
|
71
|
-
const _ = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Xe = (e) => !D(e) && e !== _;
|
|
72
|
-
function pe() {
|
|
73
|
-
const { caseless: e, skipUndefined: t } = Xe(this) && this || {}, r = {}, n = (o, s) => {
|
|
74
|
-
const i = e && Ke(r, s) || s;
|
|
75
|
-
Z(r[i]) && Z(o) ? r[i] = pe(r[i], o) : Z(o) ? r[i] = pe({}, o) : $(o) ? r[i] = o.slice() : (!t || !D(o)) && (r[i] = o);
|
|
76
|
-
};
|
|
77
|
-
for (let o = 0, s = arguments.length; o < s; o++)
|
|
78
|
-
arguments[o] && J(arguments[o], n);
|
|
79
|
-
return r;
|
|
80
|
-
}
|
|
81
|
-
const _t = (e, t, r, { allOwnKeys: n } = {}) => (J(
|
|
82
|
-
t,
|
|
83
|
-
(o, s) => {
|
|
84
|
-
r && S(o) ? e[s] = He(o, r) : e[s] = o;
|
|
85
|
-
},
|
|
86
|
-
{ allOwnKeys: n }
|
|
87
|
-
), e), Lt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), kt = (e, t, r, n) => {
|
|
88
|
-
e.prototype = Object.create(
|
|
89
|
-
t.prototype,
|
|
90
|
-
n
|
|
91
|
-
), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
92
|
-
value: t.prototype
|
|
93
|
-
}), r && Object.assign(e.prototype, r);
|
|
94
|
-
}, Bt = (e, t, r, n) => {
|
|
95
|
-
let o, s, i;
|
|
96
|
-
const c = {};
|
|
97
|
-
if (t = t || {}, e == null) return t;
|
|
98
|
-
do {
|
|
99
|
-
for (o = Object.getOwnPropertyNames(e), s = o.length; s-- > 0; )
|
|
100
|
-
i = o[s], (!n || n(i, e, t)) && !c[i] && (t[i] = e[i], c[i] = !0);
|
|
101
|
-
e = r !== !1 && ye(e);
|
|
102
|
-
} while (e && (!r || r(e, t)) && e !== Object.prototype);
|
|
103
|
-
return t;
|
|
104
|
-
}, Dt = (e, t, r) => {
|
|
105
|
-
e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
|
|
106
|
-
const n = e.indexOf(t, r);
|
|
107
|
-
return n !== -1 && n === r;
|
|
108
|
-
}, $t = (e) => {
|
|
109
|
-
if (!e) return null;
|
|
110
|
-
if ($(e)) return e;
|
|
111
|
-
let t = e.length;
|
|
112
|
-
if (!We(t)) return null;
|
|
113
|
-
const r = new Array(t);
|
|
114
|
-
for (; t-- > 0; )
|
|
115
|
-
r[t] = e[t];
|
|
116
|
-
return r;
|
|
117
|
-
}, qt = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && ye(Uint8Array)), Mt = (e, t) => {
|
|
118
|
-
const r = (e && e[re]).call(e);
|
|
119
|
-
let n;
|
|
120
|
-
for (; (n = r.next()) && !n.done; ) {
|
|
121
|
-
const o = n.value;
|
|
122
|
-
t.call(e, o[0], o[1]);
|
|
123
|
-
}
|
|
124
|
-
}, It = (e, t) => {
|
|
125
|
-
let r;
|
|
126
|
-
const n = [];
|
|
127
|
-
for (; (r = e.exec(t)) !== null; )
|
|
128
|
-
n.push(r);
|
|
129
|
-
return n;
|
|
130
|
-
}, zt = C("HTMLFormElement"), Ht = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(t, r, n) {
|
|
131
|
-
return r.toUpperCase() + n;
|
|
132
|
-
}), ve = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), Jt = C("RegExp"), Ge = (e, t) => {
|
|
133
|
-
const r = Object.getOwnPropertyDescriptors(e), n = {};
|
|
134
|
-
J(r, (o, s) => {
|
|
135
|
-
let i;
|
|
136
|
-
(i = t(o, s, e)) !== !1 && (n[s] = i || o);
|
|
137
|
-
}), Object.defineProperties(e, n);
|
|
138
|
-
}, Vt = (e) => {
|
|
139
|
-
Ge(e, (t, r) => {
|
|
140
|
-
if (S(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
|
|
141
|
-
return !1;
|
|
142
|
-
const n = e[r];
|
|
143
|
-
if (S(n)) {
|
|
144
|
-
if (t.enumerable = !1, "writable" in t) {
|
|
145
|
-
t.writable = !1;
|
|
146
|
-
return;
|
|
147
|
-
}
|
|
148
|
-
t.set || (t.set = () => {
|
|
149
|
-
throw Error("Can not rewrite read-only method '" + r + "'");
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
});
|
|
153
|
-
}, Wt = (e, t) => {
|
|
154
|
-
const r = {}, n = (o) => {
|
|
155
|
-
o.forEach((s) => {
|
|
156
|
-
r[s] = !0;
|
|
157
|
-
});
|
|
158
|
-
};
|
|
159
|
-
return $(e) ? n(e) : n(String(e).split(t)), r;
|
|
160
|
-
}, Kt = () => {
|
|
161
|
-
}, Xt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
162
|
-
function Gt(e) {
|
|
163
|
-
return !!(e && S(e.append) && e[Je] === "FormData" && e[re]);
|
|
164
|
-
}
|
|
165
|
-
const Qt = (e) => {
|
|
166
|
-
const t = new Array(10), r = (n, o) => {
|
|
167
|
-
if (H(n)) {
|
|
168
|
-
if (t.indexOf(n) >= 0)
|
|
169
|
-
return;
|
|
170
|
-
if (z(n))
|
|
171
|
-
return n;
|
|
172
|
-
if (!("toJSON" in n)) {
|
|
173
|
-
t[o] = n;
|
|
174
|
-
const s = $(n) ? [] : {};
|
|
175
|
-
return J(n, (i, c) => {
|
|
176
|
-
const d = r(i, o + 1);
|
|
177
|
-
!D(d) && (s[c] = d);
|
|
178
|
-
}), t[o] = void 0, s;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
return n;
|
|
182
|
-
};
|
|
183
|
-
return r(e, 0);
|
|
184
|
-
}, Zt = C("AsyncFunction"), Yt = (e) => e && (H(e) || S(e)) && S(e.then) && S(e.catch), Qe = ((e, t) => e ? setImmediate : t ? ((r, n) => (_.addEventListener(
|
|
185
|
-
"message",
|
|
186
|
-
({ source: o, data: s }) => {
|
|
187
|
-
o === _ && s === r && n.length && n.shift()();
|
|
188
|
-
},
|
|
189
|
-
!1
|
|
190
|
-
), (o) => {
|
|
191
|
-
n.push(o), _.postMessage(r, "*");
|
|
192
|
-
}))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(typeof setImmediate == "function", S(_.postMessage)), er = typeof queueMicrotask < "u" ? queueMicrotask.bind(_) : typeof process < "u" && process.nextTick || Qe, tr = (e) => e != null && S(e[re]), a = {
|
|
193
|
-
isArray: $,
|
|
194
|
-
isArrayBuffer: Ve,
|
|
195
|
-
isBuffer: z,
|
|
196
|
-
isFormData: xt,
|
|
197
|
-
isArrayBufferView: yt,
|
|
198
|
-
isString: wt,
|
|
199
|
-
isNumber: We,
|
|
200
|
-
isBoolean: Et,
|
|
201
|
-
isObject: H,
|
|
202
|
-
isPlainObject: Z,
|
|
203
|
-
isEmptyObject: Ot,
|
|
204
|
-
isReadableStream: jt,
|
|
205
|
-
isRequest: Nt,
|
|
206
|
-
isResponse: Pt,
|
|
207
|
-
isHeaders: Ut,
|
|
208
|
-
isUndefined: D,
|
|
209
|
-
isDate: Rt,
|
|
210
|
-
isFile: St,
|
|
211
|
-
isBlob: Tt,
|
|
212
|
-
isRegExp: Jt,
|
|
213
|
-
isFunction: S,
|
|
214
|
-
isStream: Ct,
|
|
215
|
-
isURLSearchParams: vt,
|
|
216
|
-
isTypedArray: qt,
|
|
217
|
-
isFileList: At,
|
|
218
|
-
forEach: J,
|
|
219
|
-
merge: pe,
|
|
220
|
-
extend: _t,
|
|
221
|
-
trim: Ft,
|
|
222
|
-
stripBOM: Lt,
|
|
223
|
-
inherits: kt,
|
|
224
|
-
toFlatObject: Bt,
|
|
225
|
-
kindOf: ne,
|
|
226
|
-
kindOfTest: C,
|
|
227
|
-
endsWith: Dt,
|
|
228
|
-
toArray: $t,
|
|
229
|
-
forEachEntry: Mt,
|
|
230
|
-
matchAll: It,
|
|
231
|
-
isHTMLForm: zt,
|
|
232
|
-
hasOwnProperty: ve,
|
|
233
|
-
hasOwnProp: ve,
|
|
234
|
-
// an alias to avoid ESLint no-prototype-builtins detection
|
|
235
|
-
reduceDescriptors: Ge,
|
|
236
|
-
freezeMethods: Vt,
|
|
237
|
-
toObjectSet: Wt,
|
|
238
|
-
toCamelCase: Ht,
|
|
239
|
-
noop: Kt,
|
|
240
|
-
toFiniteNumber: Xt,
|
|
241
|
-
findKey: Ke,
|
|
242
|
-
global: _,
|
|
243
|
-
isContextDefined: Xe,
|
|
244
|
-
isSpecCompliantForm: Gt,
|
|
245
|
-
toJSONObject: Qt,
|
|
246
|
-
isAsyncFn: Zt,
|
|
247
|
-
isThenable: Yt,
|
|
248
|
-
setImmediate: Qe,
|
|
249
|
-
asap: er,
|
|
250
|
-
isIterable: tr
|
|
251
|
-
};
|
|
252
|
-
function g(e, t, r, n, o) {
|
|
253
|
-
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), r && (this.config = r), n && (this.request = n), o && (this.response = o, this.status = o.status ? o.status : null);
|
|
254
|
-
}
|
|
255
|
-
a.inherits(g, Error, {
|
|
256
|
-
toJSON: function() {
|
|
257
|
-
return {
|
|
258
|
-
// Standard
|
|
259
|
-
message: this.message,
|
|
260
|
-
name: this.name,
|
|
261
|
-
// Microsoft
|
|
262
|
-
description: this.description,
|
|
263
|
-
number: this.number,
|
|
264
|
-
// Mozilla
|
|
265
|
-
fileName: this.fileName,
|
|
266
|
-
lineNumber: this.lineNumber,
|
|
267
|
-
columnNumber: this.columnNumber,
|
|
268
|
-
stack: this.stack,
|
|
269
|
-
// Axios
|
|
270
|
-
config: a.toJSONObject(this.config),
|
|
271
|
-
code: this.code,
|
|
272
|
-
status: this.status
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
});
|
|
276
|
-
const Ze = g.prototype, Ye = {};
|
|
277
|
-
[
|
|
278
|
-
"ERR_BAD_OPTION_VALUE",
|
|
279
|
-
"ERR_BAD_OPTION",
|
|
280
|
-
"ECONNABORTED",
|
|
281
|
-
"ETIMEDOUT",
|
|
282
|
-
"ERR_NETWORK",
|
|
283
|
-
"ERR_FR_TOO_MANY_REDIRECTS",
|
|
284
|
-
"ERR_DEPRECATED",
|
|
285
|
-
"ERR_BAD_RESPONSE",
|
|
286
|
-
"ERR_BAD_REQUEST",
|
|
287
|
-
"ERR_CANCELED",
|
|
288
|
-
"ERR_NOT_SUPPORT",
|
|
289
|
-
"ERR_INVALID_URL"
|
|
290
|
-
].forEach((e) => {
|
|
291
|
-
Ye[e] = { value: e };
|
|
292
|
-
});
|
|
293
|
-
Object.defineProperties(g, Ye);
|
|
294
|
-
Object.defineProperty(Ze, "isAxiosError", { value: !0 });
|
|
295
|
-
g.from = (e, t, r, n, o, s) => {
|
|
296
|
-
const i = Object.create(Ze);
|
|
297
|
-
a.toFlatObject(
|
|
298
|
-
e,
|
|
299
|
-
i,
|
|
300
|
-
function(l) {
|
|
301
|
-
return l !== Error.prototype;
|
|
302
|
-
},
|
|
303
|
-
(l) => l !== "isAxiosError"
|
|
304
|
-
);
|
|
305
|
-
const c = e && e.message ? e.message : "Error", d = t == null && e ? e.code : t;
|
|
306
|
-
return g.call(i, c, d, r, n, o), e && i.cause == null && Object.defineProperty(i, "cause", {
|
|
307
|
-
value: e,
|
|
308
|
-
configurable: !0
|
|
309
|
-
}), i.name = e && e.name || "Error", s && Object.assign(i, s), i;
|
|
310
|
-
};
|
|
311
|
-
const rr = a.toObjectSet([
|
|
312
|
-
"age",
|
|
313
|
-
"authorization",
|
|
314
|
-
"content-length",
|
|
315
|
-
"content-type",
|
|
316
|
-
"etag",
|
|
317
|
-
"expires",
|
|
318
|
-
"from",
|
|
319
|
-
"host",
|
|
320
|
-
"if-modified-since",
|
|
321
|
-
"if-unmodified-since",
|
|
322
|
-
"last-modified",
|
|
323
|
-
"location",
|
|
324
|
-
"max-forwards",
|
|
325
|
-
"proxy-authorization",
|
|
326
|
-
"referer",
|
|
327
|
-
"retry-after",
|
|
328
|
-
"user-agent"
|
|
329
|
-
]), nr = (e) => {
|
|
330
|
-
const t = {};
|
|
331
|
-
let r, n, o;
|
|
332
|
-
return e && e.split(`
|
|
333
|
-
`).forEach(function(s) {
|
|
334
|
-
o = s.indexOf(":"), r = s.substring(0, o).trim().toLowerCase(), n = s.substring(o + 1).trim(), !(!r || t[r] && rr[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n);
|
|
335
|
-
}), t;
|
|
336
|
-
}, je = Symbol("internals");
|
|
337
|
-
function I(e) {
|
|
338
|
-
return e && String(e).trim().toLowerCase();
|
|
339
|
-
}
|
|
340
|
-
function Y(e) {
|
|
341
|
-
return e === !1 || e == null ? e : a.isArray(e) ? e.map(Y) : String(e);
|
|
342
|
-
}
|
|
343
|
-
function or(e) {
|
|
344
|
-
const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
345
|
-
let n;
|
|
346
|
-
for (; n = r.exec(e); )
|
|
347
|
-
t[n[1]] = n[2];
|
|
348
|
-
return t;
|
|
349
|
-
}
|
|
350
|
-
const sr = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
351
|
-
function ue(e, t, r, n, o) {
|
|
352
|
-
if (a.isFunction(n))
|
|
353
|
-
return n.call(this, t, r);
|
|
354
|
-
if (o && (t = r), !!a.isString(t)) {
|
|
355
|
-
if (a.isString(n))
|
|
356
|
-
return t.indexOf(n) !== -1;
|
|
357
|
-
if (a.isRegExp(n))
|
|
358
|
-
return n.test(t);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
function ir(e) {
|
|
362
|
-
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
|
|
363
|
-
}
|
|
364
|
-
function ar(e, t) {
|
|
365
|
-
const r = a.toCamelCase(" " + t);
|
|
366
|
-
["get", "set", "has"].forEach((n) => {
|
|
367
|
-
Object.defineProperty(e, n + r, {
|
|
368
|
-
value: function(o, s, i) {
|
|
369
|
-
return this[n].call(this, t, o, s, i);
|
|
370
|
-
},
|
|
371
|
-
configurable: !0
|
|
372
|
-
});
|
|
373
|
-
});
|
|
374
|
-
}
|
|
375
|
-
class T {
|
|
376
|
-
constructor(t) {
|
|
377
|
-
t && this.set(t);
|
|
378
|
-
}
|
|
379
|
-
set(t, r, n) {
|
|
380
|
-
const o = this;
|
|
381
|
-
function s(c, d, l) {
|
|
382
|
-
const f = I(d);
|
|
383
|
-
if (!f)
|
|
384
|
-
throw new Error("header name must be a non-empty string");
|
|
385
|
-
const h = a.findKey(o, f);
|
|
386
|
-
(!h || o[h] === void 0 || l === !0 || l === void 0 && o[h] !== !1) && (o[h || d] = Y(c));
|
|
387
|
-
}
|
|
388
|
-
const i = (c, d) => a.forEach(
|
|
389
|
-
c,
|
|
390
|
-
(l, f) => s(l, f, d)
|
|
391
|
-
);
|
|
392
|
-
if (a.isPlainObject(t) || t instanceof this.constructor)
|
|
393
|
-
i(t, r);
|
|
394
|
-
else if (a.isString(t) && (t = t.trim()) && !sr(t))
|
|
395
|
-
i(nr(t), r);
|
|
396
|
-
else if (a.isObject(t) && a.isIterable(t)) {
|
|
397
|
-
let c = {}, d, l;
|
|
398
|
-
for (const f of t) {
|
|
399
|
-
if (!a.isArray(f))
|
|
400
|
-
throw TypeError("Object iterator must return a key-value pair");
|
|
401
|
-
c[l = f[0]] = (d = c[l]) ? a.isArray(d) ? [...d, f[1]] : [d, f[1]] : f[1];
|
|
402
|
-
}
|
|
403
|
-
i(c, r);
|
|
404
|
-
} else
|
|
405
|
-
t != null && s(r, t, n);
|
|
406
|
-
return this;
|
|
407
|
-
}
|
|
408
|
-
get(t, r) {
|
|
409
|
-
if (t = I(t), t) {
|
|
410
|
-
const n = a.findKey(this, t);
|
|
411
|
-
if (n) {
|
|
412
|
-
const o = this[n];
|
|
413
|
-
if (!r)
|
|
414
|
-
return o;
|
|
415
|
-
if (r === !0)
|
|
416
|
-
return or(o);
|
|
417
|
-
if (a.isFunction(r))
|
|
418
|
-
return r.call(this, o, n);
|
|
419
|
-
if (a.isRegExp(r))
|
|
420
|
-
return r.exec(o);
|
|
421
|
-
throw new TypeError("parser must be boolean|regexp|function");
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
has(t, r) {
|
|
426
|
-
if (t = I(t), t) {
|
|
427
|
-
const n = a.findKey(this, t);
|
|
428
|
-
return !!(n && this[n] !== void 0 && (!r || ue(this, this[n], n, r)));
|
|
429
|
-
}
|
|
430
|
-
return !1;
|
|
431
|
-
}
|
|
432
|
-
delete(t, r) {
|
|
433
|
-
const n = this;
|
|
434
|
-
let o = !1;
|
|
435
|
-
function s(i) {
|
|
436
|
-
if (i = I(i), i) {
|
|
437
|
-
const c = a.findKey(n, i);
|
|
438
|
-
c && (!r || ue(n, n[c], c, r)) && (delete n[c], o = !0);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
return a.isArray(t) ? t.forEach(s) : s(t), o;
|
|
442
|
-
}
|
|
443
|
-
clear(t) {
|
|
444
|
-
const r = Object.keys(this);
|
|
445
|
-
let n = r.length, o = !1;
|
|
446
|
-
for (; n--; ) {
|
|
447
|
-
const s = r[n];
|
|
448
|
-
(!t || ue(this, this[s], s, t, !0)) && (delete this[s], o = !0);
|
|
449
|
-
}
|
|
450
|
-
return o;
|
|
451
|
-
}
|
|
452
|
-
normalize(t) {
|
|
453
|
-
const r = this, n = {};
|
|
454
|
-
return a.forEach(this, (o, s) => {
|
|
455
|
-
const i = a.findKey(n, s);
|
|
456
|
-
if (i) {
|
|
457
|
-
r[i] = Y(o), delete r[s];
|
|
458
|
-
return;
|
|
459
|
-
}
|
|
460
|
-
const c = t ? ir(s) : String(s).trim();
|
|
461
|
-
c !== s && delete r[s], r[c] = Y(o), n[c] = !0;
|
|
462
|
-
}), this;
|
|
463
|
-
}
|
|
464
|
-
concat(...t) {
|
|
465
|
-
return this.constructor.concat(this, ...t);
|
|
466
|
-
}
|
|
467
|
-
toJSON(t) {
|
|
468
|
-
const r = /* @__PURE__ */ Object.create(null);
|
|
469
|
-
return a.forEach(this, (n, o) => {
|
|
470
|
-
n != null && n !== !1 && (r[o] = t && a.isArray(n) ? n.join(", ") : n);
|
|
471
|
-
}), r;
|
|
472
|
-
}
|
|
473
|
-
[Symbol.iterator]() {
|
|
474
|
-
return Object.entries(this.toJSON())[Symbol.iterator]();
|
|
475
|
-
}
|
|
476
|
-
toString() {
|
|
477
|
-
return Object.entries(this.toJSON()).map(([t, r]) => t + ": " + r).join(`
|
|
478
|
-
`);
|
|
479
|
-
}
|
|
480
|
-
getSetCookie() {
|
|
481
|
-
return this.get("set-cookie") || [];
|
|
482
|
-
}
|
|
483
|
-
get [Symbol.toStringTag]() {
|
|
484
|
-
return "AxiosHeaders";
|
|
485
|
-
}
|
|
486
|
-
static from(t) {
|
|
487
|
-
return t instanceof this ? t : new this(t);
|
|
488
|
-
}
|
|
489
|
-
static concat(t, ...r) {
|
|
490
|
-
const n = new this(t);
|
|
491
|
-
return r.forEach((o) => n.set(o)), n;
|
|
492
|
-
}
|
|
493
|
-
static accessor(t) {
|
|
494
|
-
const r = (this[je] = this[je] = {
|
|
495
|
-
accessors: {}
|
|
496
|
-
}).accessors, n = this.prototype;
|
|
497
|
-
function o(s) {
|
|
498
|
-
const i = I(s);
|
|
499
|
-
r[i] || (ar(n, s), r[i] = !0);
|
|
500
|
-
}
|
|
501
|
-
return a.isArray(t) ? t.forEach(o) : o(t), this;
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
T.accessor([
|
|
505
|
-
"Content-Type",
|
|
506
|
-
"Content-Length",
|
|
507
|
-
"Accept",
|
|
508
|
-
"Accept-Encoding",
|
|
509
|
-
"User-Agent",
|
|
510
|
-
"Authorization"
|
|
511
|
-
]);
|
|
512
|
-
a.reduceDescriptors(T.prototype, ({ value: e }, t) => {
|
|
513
|
-
let r = t[0].toUpperCase() + t.slice(1);
|
|
514
|
-
return {
|
|
515
|
-
get: () => e,
|
|
516
|
-
set(n) {
|
|
517
|
-
this[r] = n;
|
|
518
|
-
}
|
|
519
|
-
};
|
|
520
|
-
});
|
|
521
|
-
a.freezeMethods(T);
|
|
522
|
-
function et(e, t, r) {
|
|
523
|
-
const n = r.config.validateStatus;
|
|
524
|
-
!r.status || !n || n(r.status) ? e(r) : t(
|
|
525
|
-
new g(
|
|
526
|
-
"Request failed with status code " + r.status,
|
|
527
|
-
[g.ERR_BAD_REQUEST, g.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
|
|
528
|
-
r.config,
|
|
529
|
-
r.request,
|
|
530
|
-
r
|
|
531
|
-
)
|
|
532
|
-
);
|
|
533
|
-
}
|
|
534
|
-
function q(e, t, r) {
|
|
535
|
-
g.call(
|
|
536
|
-
this,
|
|
537
|
-
e ?? "canceled",
|
|
538
|
-
g.ERR_CANCELED,
|
|
539
|
-
t,
|
|
540
|
-
r
|
|
541
|
-
), this.name = "CanceledError";
|
|
542
|
-
}
|
|
543
|
-
a.inherits(q, g, {
|
|
544
|
-
__CANCEL__: !0
|
|
545
|
-
});
|
|
546
|
-
const cr = (e, t) => {
|
|
547
|
-
const { length: r } = e = e ? e.filter(Boolean) : [];
|
|
548
|
-
if (t || r) {
|
|
549
|
-
let n = new AbortController(), o;
|
|
550
|
-
const s = function(l) {
|
|
551
|
-
if (!o) {
|
|
552
|
-
o = !0, c();
|
|
553
|
-
const f = l instanceof Error ? l : this.reason;
|
|
554
|
-
n.abort(
|
|
555
|
-
f instanceof g ? f : new q(f instanceof Error ? f.message : f)
|
|
556
|
-
);
|
|
557
|
-
}
|
|
558
|
-
};
|
|
559
|
-
let i = t && setTimeout(() => {
|
|
560
|
-
i = null, s(
|
|
561
|
-
new g(
|
|
562
|
-
`timeout ${t} of ms exceeded`,
|
|
563
|
-
g.ETIMEDOUT
|
|
564
|
-
)
|
|
565
|
-
);
|
|
566
|
-
}, t);
|
|
567
|
-
const c = () => {
|
|
568
|
-
e && (i && clearTimeout(i), i = null, e.forEach((l) => {
|
|
569
|
-
l.unsubscribe ? l.unsubscribe(s) : l.removeEventListener("abort", s);
|
|
570
|
-
}), e = null);
|
|
571
|
-
};
|
|
572
|
-
e.forEach((l) => l.addEventListener("abort", s));
|
|
573
|
-
const { signal: d } = n;
|
|
574
|
-
return d.unsubscribe = () => a.asap(c), d;
|
|
575
|
-
}
|
|
576
|
-
};
|
|
577
|
-
function lr(e, t) {
|
|
578
|
-
e = e || 10;
|
|
579
|
-
const r = new Array(e), n = new Array(e);
|
|
580
|
-
let o = 0, s = 0, i;
|
|
581
|
-
return t = t !== void 0 ? t : 1e3, function(c) {
|
|
582
|
-
const d = Date.now(), l = n[s];
|
|
583
|
-
i || (i = d), r[o] = c, n[o] = d;
|
|
584
|
-
let f = s, h = 0;
|
|
585
|
-
for (; f !== o; )
|
|
586
|
-
h += r[f++], f = f % e;
|
|
587
|
-
if (o = (o + 1) % e, o === s && (s = (s + 1) % e), d - i < t)
|
|
588
|
-
return;
|
|
589
|
-
const y = l && d - l;
|
|
590
|
-
return y ? Math.round(h * 1e3 / y) : void 0;
|
|
591
|
-
};
|
|
592
|
-
}
|
|
593
|
-
function ur(e, t) {
|
|
594
|
-
let r = 0, n = 1e3 / t, o, s;
|
|
595
|
-
const i = (c, d = Date.now()) => {
|
|
596
|
-
r = d, o = null, s && (clearTimeout(s), s = null), e(...c);
|
|
597
|
-
};
|
|
598
|
-
return [(...c) => {
|
|
599
|
-
const d = Date.now(), l = d - r;
|
|
600
|
-
l >= n ? i(c, d) : (o = c, s || (s = setTimeout(() => {
|
|
601
|
-
s = null, i(o);
|
|
602
|
-
}, n - l)));
|
|
603
|
-
}, () => o && i(o)];
|
|
604
|
-
}
|
|
605
|
-
const te = (e, t, r = 3) => {
|
|
606
|
-
let n = 0;
|
|
607
|
-
const o = lr(50, 250);
|
|
608
|
-
return ur((s) => {
|
|
609
|
-
const i = s.loaded, c = s.lengthComputable ? s.total : void 0, d = i - n, l = o(d), f = i <= c;
|
|
610
|
-
n = i;
|
|
611
|
-
const h = {
|
|
612
|
-
loaded: i,
|
|
613
|
-
total: c,
|
|
614
|
-
progress: c ? i / c : void 0,
|
|
615
|
-
bytes: d,
|
|
616
|
-
rate: l || void 0,
|
|
617
|
-
estimated: l && c && f ? (c - i) / l : void 0,
|
|
618
|
-
event: s,
|
|
619
|
-
lengthComputable: c != null,
|
|
620
|
-
[t ? "download" : "upload"]: !0
|
|
621
|
-
};
|
|
622
|
-
e(h);
|
|
623
|
-
}, r);
|
|
624
|
-
}, Ne = (e, t) => {
|
|
625
|
-
const r = e != null;
|
|
626
|
-
return [
|
|
627
|
-
(n) => t[0]({
|
|
628
|
-
lengthComputable: r,
|
|
629
|
-
total: e,
|
|
630
|
-
loaded: n
|
|
631
|
-
}),
|
|
632
|
-
t[1]
|
|
633
|
-
];
|
|
634
|
-
}, Pe = (e) => (...t) => a.asap(() => e(...t));
|
|
635
|
-
function fr(e, t) {
|
|
636
|
-
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
637
|
-
}
|
|
638
|
-
function dr(e) {
|
|
639
|
-
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
640
|
-
}
|
|
641
|
-
function tt(e, t, r) {
|
|
642
|
-
let n = !dr(t);
|
|
643
|
-
return e && (n || r == !1) ? fr(e, t) : t;
|
|
644
|
-
}
|
|
645
|
-
const Ue = (e) => e instanceof T ? { ...e } : e;
|
|
646
|
-
function k(e, t) {
|
|
647
|
-
t = t || {};
|
|
648
|
-
const r = {};
|
|
649
|
-
function n(l, f, h, y) {
|
|
650
|
-
return a.isPlainObject(l) && a.isPlainObject(f) ? a.merge.call({ caseless: y }, l, f) : a.isPlainObject(f) ? a.merge({}, f) : a.isArray(f) ? f.slice() : f;
|
|
651
|
-
}
|
|
652
|
-
function o(l, f, h, y) {
|
|
653
|
-
if (a.isUndefined(f)) {
|
|
654
|
-
if (!a.isUndefined(l))
|
|
655
|
-
return n(void 0, l, h, y);
|
|
656
|
-
} else return n(l, f, h, y);
|
|
657
|
-
}
|
|
658
|
-
function s(l, f) {
|
|
659
|
-
if (!a.isUndefined(f))
|
|
660
|
-
return n(void 0, f);
|
|
661
|
-
}
|
|
662
|
-
function i(l, f) {
|
|
663
|
-
if (a.isUndefined(f)) {
|
|
664
|
-
if (!a.isUndefined(l))
|
|
665
|
-
return n(void 0, l);
|
|
666
|
-
} else return n(void 0, f);
|
|
667
|
-
}
|
|
668
|
-
function c(l, f, h) {
|
|
669
|
-
if (h in t)
|
|
670
|
-
return n(l, f);
|
|
671
|
-
if (h in e)
|
|
672
|
-
return n(void 0, l);
|
|
673
|
-
}
|
|
674
|
-
const d = {
|
|
675
|
-
url: s,
|
|
676
|
-
method: s,
|
|
677
|
-
data: s,
|
|
678
|
-
baseURL: i,
|
|
679
|
-
transformRequest: i,
|
|
680
|
-
transformResponse: i,
|
|
681
|
-
paramsSerializer: i,
|
|
682
|
-
timeout: i,
|
|
683
|
-
timeoutMessage: i,
|
|
684
|
-
withCredentials: i,
|
|
685
|
-
withXSRFToken: i,
|
|
686
|
-
adapter: i,
|
|
687
|
-
responseType: i,
|
|
688
|
-
xsrfCookieName: i,
|
|
689
|
-
xsrfHeaderName: i,
|
|
690
|
-
onUploadProgress: i,
|
|
691
|
-
onDownloadProgress: i,
|
|
692
|
-
decompress: i,
|
|
693
|
-
maxContentLength: i,
|
|
694
|
-
maxBodyLength: i,
|
|
695
|
-
beforeRedirect: i,
|
|
696
|
-
transport: i,
|
|
697
|
-
httpAgent: i,
|
|
698
|
-
httpsAgent: i,
|
|
699
|
-
cancelToken: i,
|
|
700
|
-
socketPath: i,
|
|
701
|
-
responseEncoding: i,
|
|
702
|
-
validateStatus: c,
|
|
703
|
-
headers: (l, f, h) => o(Ue(l), Ue(f), h, !0)
|
|
704
|
-
};
|
|
705
|
-
return a.forEach(
|
|
706
|
-
Object.keys({ ...e, ...t }),
|
|
707
|
-
function(l) {
|
|
708
|
-
const f = d[l] || o, h = f(e[l], t[l], l);
|
|
709
|
-
a.isUndefined(h) && f !== c || (r[l] = h);
|
|
710
|
-
}
|
|
711
|
-
), r;
|
|
712
|
-
}
|
|
713
|
-
const we = typeof window < "u" && typeof document < "u", he = typeof navigator == "object" && navigator || void 0, pr = we && (!he || ["ReactNative", "NativeScript", "NS"].indexOf(he.product) < 0), hr = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", mr = we && window.location.href || "http://localhost", gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
714
|
-
__proto__: null,
|
|
715
|
-
hasBrowserEnv: we,
|
|
716
|
-
hasStandardBrowserEnv: pr,
|
|
717
|
-
hasStandardBrowserWebWorkerEnv: hr,
|
|
718
|
-
navigator: he,
|
|
719
|
-
origin: mr
|
|
720
|
-
}, Symbol.toStringTag, { value: "Module" })), br = typeof Blob < "u" ? Blob : null, yr = typeof FormData < "u" ? FormData : null;
|
|
721
|
-
function me(e) {
|
|
722
|
-
return a.isPlainObject(e) || a.isArray(e);
|
|
723
|
-
}
|
|
724
|
-
function rt(e) {
|
|
725
|
-
return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
726
|
-
}
|
|
727
|
-
function Fe(e, t, r) {
|
|
728
|
-
return e ? e.concat(t).map(function(n, o) {
|
|
729
|
-
return n = rt(n), !r && o ? "[" + n + "]" : n;
|
|
730
|
-
}).join(r ? "." : "") : t;
|
|
731
|
-
}
|
|
732
|
-
function wr(e) {
|
|
733
|
-
return a.isArray(e) && !e.some(me);
|
|
734
|
-
}
|
|
735
|
-
const Er = a.toFlatObject(a, {}, null, function(e) {
|
|
736
|
-
return /^is[A-Z]/.test(e);
|
|
737
|
-
});
|
|
738
|
-
function V(e, t, r) {
|
|
739
|
-
if (!a.isObject(e))
|
|
740
|
-
throw new TypeError("target must be an object");
|
|
741
|
-
t = t || new (V || FormData)(), r = a.toFlatObject(
|
|
742
|
-
r,
|
|
743
|
-
{
|
|
744
|
-
metaTokens: !0,
|
|
745
|
-
dots: !1,
|
|
746
|
-
indexes: !1
|
|
747
|
-
},
|
|
748
|
-
!1,
|
|
749
|
-
function(m, u) {
|
|
750
|
-
return !a.isUndefined(u[m]);
|
|
751
|
-
}
|
|
752
|
-
);
|
|
753
|
-
const n = r.metaTokens, o = r.visitor || l, s = r.dots, i = r.indexes, c = (r.Blob || typeof Blob < "u" && Blob) && a.isSpecCompliantForm(t);
|
|
754
|
-
if (!a.isFunction(o))
|
|
755
|
-
throw new TypeError("visitor must be a function");
|
|
756
|
-
function d(m) {
|
|
757
|
-
if (m === null) return "";
|
|
758
|
-
if (a.isDate(m))
|
|
759
|
-
return m.toISOString();
|
|
760
|
-
if (a.isBoolean(m))
|
|
761
|
-
return m.toString();
|
|
762
|
-
if (!c && a.isBlob(m))
|
|
763
|
-
throw new g("Blob is not supported. Use a Buffer instead.");
|
|
764
|
-
return a.isArrayBuffer(m) || a.isTypedArray(m) ? c && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
|
|
765
|
-
}
|
|
766
|
-
function l(m, u, p) {
|
|
767
|
-
let E = m;
|
|
768
|
-
if (m && !p && typeof m == "object") {
|
|
769
|
-
if (a.endsWith(u, "{}"))
|
|
770
|
-
u = n ? u : u.slice(0, -2), m = JSON.stringify(m);
|
|
771
|
-
else if (a.isArray(m) && wr(m) || (a.isFileList(m) || a.endsWith(u, "[]")) && (E = a.toArray(m)))
|
|
772
|
-
return u = rt(u), E.forEach(function(b, w) {
|
|
773
|
-
!(a.isUndefined(b) || b === null) && t.append(
|
|
774
|
-
i === !0 ? Fe([u], w, s) : i === null ? u : u + "[]",
|
|
775
|
-
d(b)
|
|
776
|
-
);
|
|
777
|
-
}), !1;
|
|
778
|
-
}
|
|
779
|
-
return me(m) ? !0 : (t.append(Fe(p, u, s), d(m)), !1);
|
|
780
|
-
}
|
|
781
|
-
const f = [], h = Object.assign(Er, {
|
|
782
|
-
defaultVisitor: l,
|
|
783
|
-
convertValue: d,
|
|
784
|
-
isVisitable: me
|
|
785
|
-
});
|
|
786
|
-
function y(m, u) {
|
|
787
|
-
if (!a.isUndefined(m)) {
|
|
788
|
-
if (f.indexOf(m) !== -1)
|
|
789
|
-
throw Error("Circular reference detected in " + u.join("."));
|
|
790
|
-
f.push(m), a.forEach(m, function(p, E) {
|
|
791
|
-
(!(a.isUndefined(p) || p === null) && o.call(
|
|
792
|
-
t,
|
|
793
|
-
p,
|
|
794
|
-
a.isString(E) ? E.trim() : E,
|
|
795
|
-
u,
|
|
796
|
-
h
|
|
797
|
-
)) === !0 && y(p, u ? u.concat(E) : [E]);
|
|
798
|
-
}), f.pop();
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
if (!a.isObject(e))
|
|
802
|
-
throw new TypeError("data must be an object");
|
|
803
|
-
return y(e), t;
|
|
804
|
-
}
|
|
805
|
-
function _e(e) {
|
|
806
|
-
const t = {
|
|
807
|
-
"!": "%21",
|
|
808
|
-
"'": "%27",
|
|
809
|
-
"(": "%28",
|
|
810
|
-
")": "%29",
|
|
811
|
-
"~": "%7E",
|
|
812
|
-
"%20": "+",
|
|
813
|
-
"%00": "\0"
|
|
814
|
-
};
|
|
815
|
-
return encodeURIComponent(e).replace(
|
|
816
|
-
/[!'()~]|%20|%00/g,
|
|
817
|
-
function(r) {
|
|
818
|
-
return t[r];
|
|
819
|
-
}
|
|
820
|
-
);
|
|
821
|
-
}
|
|
822
|
-
function Ee(e, t) {
|
|
823
|
-
this._pairs = [], e && V(e, this, t);
|
|
824
|
-
}
|
|
825
|
-
const nt = Ee.prototype;
|
|
826
|
-
nt.append = function(e, t) {
|
|
827
|
-
this._pairs.push([e, t]);
|
|
828
|
-
};
|
|
829
|
-
nt.toString = function(e) {
|
|
830
|
-
const t = e ? function(r) {
|
|
831
|
-
return e.call(this, r, _e);
|
|
832
|
-
} : _e;
|
|
833
|
-
return this._pairs.map(function(r) {
|
|
834
|
-
return t(r[0]) + "=" + t(r[1]);
|
|
835
|
-
}, "").join("&");
|
|
836
|
-
};
|
|
837
|
-
const Or = typeof URLSearchParams < "u" ? URLSearchParams : Ee, Rr = {
|
|
838
|
-
isBrowser: !0,
|
|
839
|
-
classes: {
|
|
840
|
-
URLSearchParams: Or,
|
|
841
|
-
FormData: yr,
|
|
842
|
-
Blob: br
|
|
843
|
-
},
|
|
844
|
-
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
845
|
-
}, R = {
|
|
846
|
-
...gr,
|
|
847
|
-
...Rr
|
|
848
|
-
};
|
|
849
|
-
function Sr(e) {
|
|
850
|
-
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
851
|
-
}
|
|
852
|
-
function ot(e, t, r) {
|
|
853
|
-
if (!t)
|
|
854
|
-
return e;
|
|
855
|
-
const n = r && r.encode || Sr;
|
|
856
|
-
a.isFunction(r) && (r = {
|
|
857
|
-
serialize: r
|
|
858
|
-
});
|
|
859
|
-
const o = r && r.serialize;
|
|
860
|
-
let s;
|
|
861
|
-
if (o ? s = o(t, r) : s = a.isURLSearchParams(t) ? t.toString() : new Ee(t, r).toString(n), s) {
|
|
862
|
-
const i = e.indexOf("#");
|
|
863
|
-
i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + s;
|
|
864
|
-
}
|
|
865
|
-
return e;
|
|
866
|
-
}
|
|
867
|
-
const Tr = R.hasStandardBrowserEnv ? (
|
|
868
|
-
// Standard browser envs support document.cookie
|
|
869
|
-
{
|
|
870
|
-
write(e, t, r, n, o, s) {
|
|
871
|
-
const i = [e + "=" + encodeURIComponent(t)];
|
|
872
|
-
a.isNumber(r) && i.push("expires=" + new Date(r).toGMTString()), a.isString(n) && i.push("path=" + n), a.isString(o) && i.push("domain=" + o), s === !0 && i.push("secure"), document.cookie = i.join("; ");
|
|
873
|
-
},
|
|
874
|
-
read(e) {
|
|
875
|
-
const t = document.cookie.match(
|
|
876
|
-
new RegExp("(^|;\\s*)(" + e + ")=([^;]*)")
|
|
877
|
-
);
|
|
878
|
-
return t ? decodeURIComponent(t[3]) : null;
|
|
879
|
-
},
|
|
880
|
-
remove(e) {
|
|
881
|
-
this.write(e, "", Date.now() - 864e5);
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
) : (
|
|
885
|
-
// Non-standard browser env (web workers, react-native) lack needed support.
|
|
886
|
-
{
|
|
887
|
-
write() {
|
|
888
|
-
},
|
|
889
|
-
read() {
|
|
890
|
-
return null;
|
|
891
|
-
},
|
|
892
|
-
remove() {
|
|
893
|
-
}
|
|
894
|
-
}
|
|
895
|
-
), Ar = R.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (r) => (r = new URL(r, R.origin), e.protocol === r.protocol && e.host === r.host && (t || e.port === r.port)))(
|
|
896
|
-
new URL(R.origin),
|
|
897
|
-
R.navigator && /(msie|trident)/i.test(R.navigator.userAgent)
|
|
898
|
-
) : () => !0, st = (e) => {
|
|
899
|
-
const t = k({}, e);
|
|
900
|
-
let { data: r, withXSRFToken: n, xsrfHeaderName: o, xsrfCookieName: s, headers: i, auth: c } = t;
|
|
901
|
-
if (t.headers = i = T.from(i), t.url = ot(
|
|
902
|
-
tt(
|
|
903
|
-
t.baseURL,
|
|
904
|
-
t.url,
|
|
905
|
-
t.allowAbsoluteUrls
|
|
906
|
-
),
|
|
907
|
-
e.params,
|
|
908
|
-
e.paramsSerializer
|
|
909
|
-
), c && i.set(
|
|
910
|
-
"Authorization",
|
|
911
|
-
"Basic " + btoa(
|
|
912
|
-
(c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : "")
|
|
913
|
-
)
|
|
914
|
-
), a.isFormData(r)) {
|
|
915
|
-
if (R.hasStandardBrowserEnv || R.hasStandardBrowserWebWorkerEnv)
|
|
916
|
-
i.setContentType(void 0);
|
|
917
|
-
else if (a.isFunction(r.getHeaders)) {
|
|
918
|
-
const d = r.getHeaders(), l = ["content-type", "content-length"];
|
|
919
|
-
Object.entries(d).forEach(([f, h]) => {
|
|
920
|
-
l.includes(f.toLowerCase()) && i.set(f, h);
|
|
921
|
-
});
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
if (R.hasStandardBrowserEnv && (n && a.isFunction(n) && (n = n(t)), n || n !== !1 && Ar(t.url))) {
|
|
925
|
-
const d = o && s && Tr.read(s);
|
|
926
|
-
d && i.set(o, d);
|
|
927
|
-
}
|
|
928
|
-
return t;
|
|
929
|
-
}, Cr = function* (e, t) {
|
|
930
|
-
let r = e.byteLength;
|
|
931
|
-
if (r < t) {
|
|
932
|
-
yield e;
|
|
933
|
-
return;
|
|
934
|
-
}
|
|
935
|
-
let n = 0, o;
|
|
936
|
-
for (; n < r; )
|
|
937
|
-
o = n + t, yield e.slice(n, o), n = o;
|
|
938
|
-
}, xr = async function* (e, t) {
|
|
939
|
-
for await (const r of vr(e))
|
|
940
|
-
yield* Cr(r, t);
|
|
941
|
-
}, vr = async function* (e) {
|
|
942
|
-
if (e[Symbol.asyncIterator]) {
|
|
943
|
-
yield* e;
|
|
944
|
-
return;
|
|
945
|
-
}
|
|
946
|
-
const t = e.getReader();
|
|
947
|
-
try {
|
|
948
|
-
for (; ; ) {
|
|
949
|
-
const { done: r, value: n } = await t.read();
|
|
950
|
-
if (r)
|
|
951
|
-
break;
|
|
952
|
-
yield n;
|
|
953
|
-
}
|
|
954
|
-
} finally {
|
|
955
|
-
await t.cancel();
|
|
956
|
-
}
|
|
957
|
-
}, Le = (e, t, r, n) => {
|
|
958
|
-
const o = xr(e, t);
|
|
959
|
-
let s = 0, i, c = (d) => {
|
|
960
|
-
i || (i = !0, n && n(d));
|
|
961
|
-
};
|
|
962
|
-
return new ReadableStream(
|
|
963
|
-
{
|
|
964
|
-
async pull(d) {
|
|
965
|
-
try {
|
|
966
|
-
const { done: l, value: f } = await o.next();
|
|
967
|
-
if (l) {
|
|
968
|
-
c(), d.close();
|
|
969
|
-
return;
|
|
970
|
-
}
|
|
971
|
-
let h = f.byteLength;
|
|
972
|
-
if (r) {
|
|
973
|
-
let y = s += h;
|
|
974
|
-
r(y);
|
|
975
|
-
}
|
|
976
|
-
d.enqueue(new Uint8Array(f));
|
|
977
|
-
} catch (l) {
|
|
978
|
-
throw c(l), l;
|
|
979
|
-
}
|
|
980
|
-
},
|
|
981
|
-
cancel(d) {
|
|
982
|
-
return c(d), o.return();
|
|
983
|
-
}
|
|
984
|
-
},
|
|
985
|
-
{
|
|
986
|
-
highWaterMark: 2
|
|
987
|
-
}
|
|
988
|
-
);
|
|
989
|
-
}, ke = 64 * 1024, { isFunction: Q } = a, it = (({ fetch: e, Request: t, Response: r }) => ({
|
|
990
|
-
fetch: e,
|
|
991
|
-
Request: t,
|
|
992
|
-
Response: r
|
|
993
|
-
}))(a.global), { ReadableStream: Be, TextEncoder: De } = a.global, $e = (e, ...t) => {
|
|
994
|
-
try {
|
|
995
|
-
return !!e(...t);
|
|
996
|
-
} catch {
|
|
997
|
-
return !1;
|
|
998
|
-
}
|
|
999
|
-
}, jr = (e) => {
|
|
1000
|
-
const { fetch: t, Request: r, Response: n } = Object.assign({}, it, e), o = Q(t), s = Q(r), i = Q(n);
|
|
1001
|
-
if (!o)
|
|
1002
|
-
return !1;
|
|
1003
|
-
const c = o && Q(Be), d = o && (typeof De == "function" ? /* @__PURE__ */ ((u) => (p) => u.encode(p))(new De()) : async (u) => new Uint8Array(await new r(u).arrayBuffer())), l = s && c && $e(() => {
|
|
1004
|
-
let u = !1;
|
|
1005
|
-
const p = new r(R.origin, {
|
|
1006
|
-
body: new Be(),
|
|
1007
|
-
method: "POST",
|
|
1008
|
-
get duplex() {
|
|
1009
|
-
return u = !0, "half";
|
|
1010
|
-
}
|
|
1011
|
-
}).headers.has("Content-Type");
|
|
1012
|
-
return u && !p;
|
|
1013
|
-
}), f = i && c && $e(() => a.isReadableStream(new n("").body)), h = {
|
|
1014
|
-
stream: f && ((u) => u.body)
|
|
1015
|
-
};
|
|
1016
|
-
o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((u) => {
|
|
1017
|
-
!h[u] && (h[u] = (p, E) => {
|
|
1018
|
-
let b = p && p[u];
|
|
1019
|
-
if (b)
|
|
1020
|
-
return b.call(p);
|
|
1021
|
-
throw new g(
|
|
1022
|
-
`Response type '${u}' is not supported`,
|
|
1023
|
-
g.ERR_NOT_SUPPORT,
|
|
1024
|
-
E
|
|
1025
|
-
);
|
|
1026
|
-
});
|
|
1027
|
-
});
|
|
1028
|
-
const y = async (u) => {
|
|
1029
|
-
if (u == null)
|
|
1030
|
-
return 0;
|
|
1031
|
-
if (a.isBlob(u))
|
|
1032
|
-
return u.size;
|
|
1033
|
-
if (a.isSpecCompliantForm(u))
|
|
1034
|
-
return (await new r(R.origin, {
|
|
1035
|
-
method: "POST",
|
|
1036
|
-
body: u
|
|
1037
|
-
}).arrayBuffer()).byteLength;
|
|
1038
|
-
if (a.isArrayBufferView(u) || a.isArrayBuffer(u))
|
|
1039
|
-
return u.byteLength;
|
|
1040
|
-
if (a.isURLSearchParams(u) && (u = u + ""), a.isString(u))
|
|
1041
|
-
return (await d(u)).byteLength;
|
|
1042
|
-
}, m = async (u, p) => a.toFiniteNumber(u.getContentLength()) ?? y(p);
|
|
1043
|
-
return async (u) => {
|
|
1044
|
-
let {
|
|
1045
|
-
url: p,
|
|
1046
|
-
method: E,
|
|
1047
|
-
data: b,
|
|
1048
|
-
signal: w,
|
|
1049
|
-
cancelToken: A,
|
|
1050
|
-
timeout: j,
|
|
1051
|
-
onDownloadProgress: ie,
|
|
1052
|
-
onUploadProgress: Re,
|
|
1053
|
-
responseType: N,
|
|
1054
|
-
headers: ae,
|
|
1055
|
-
withCredentials: K = "same-origin",
|
|
1056
|
-
fetchOptions: Se
|
|
1057
|
-
} = st(u);
|
|
1058
|
-
N = N ? (N + "").toLowerCase() : "text";
|
|
1059
|
-
let X = cr(
|
|
1060
|
-
[w, A && A.toAbortSignal()],
|
|
1061
|
-
j
|
|
1062
|
-
), M = null;
|
|
1063
|
-
const F = X && X.unsubscribe && (() => {
|
|
1064
|
-
X.unsubscribe();
|
|
1065
|
-
});
|
|
1066
|
-
let Te;
|
|
1067
|
-
try {
|
|
1068
|
-
if (Re && l && E !== "get" && E !== "head" && (Te = await m(ae, b)) !== 0) {
|
|
1069
|
-
let U = new r(p, {
|
|
1070
|
-
method: "POST",
|
|
1071
|
-
body: b,
|
|
1072
|
-
duplex: "half"
|
|
1073
|
-
}), B;
|
|
1074
|
-
if (a.isFormData(b) && (B = U.headers.get("content-type")) && ae.setContentType(B), U.body) {
|
|
1075
|
-
const [ce, G] = Ne(
|
|
1076
|
-
Te,
|
|
1077
|
-
te(Pe(Re))
|
|
1078
|
-
);
|
|
1079
|
-
b = Le(
|
|
1080
|
-
U.body,
|
|
1081
|
-
ke,
|
|
1082
|
-
ce,
|
|
1083
|
-
G
|
|
1084
|
-
);
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
a.isString(K) || (K = K ? "include" : "omit");
|
|
1088
|
-
const x = s && "credentials" in r.prototype, Ae = {
|
|
1089
|
-
...Se,
|
|
1090
|
-
signal: X,
|
|
1091
|
-
method: E.toUpperCase(),
|
|
1092
|
-
headers: ae.normalize().toJSON(),
|
|
1093
|
-
body: b,
|
|
1094
|
-
duplex: "half",
|
|
1095
|
-
credentials: x ? K : void 0
|
|
1096
|
-
};
|
|
1097
|
-
M = s && new r(p, Ae);
|
|
1098
|
-
let P = await (s ? t(M, Se) : t(p, Ae));
|
|
1099
|
-
const Ce = f && (N === "stream" || N === "response");
|
|
1100
|
-
if (f && (ie || Ce && F)) {
|
|
1101
|
-
const U = {};
|
|
1102
|
-
["status", "statusText", "headers"].forEach((xe) => {
|
|
1103
|
-
U[xe] = P[xe];
|
|
1104
|
-
});
|
|
1105
|
-
const B = a.toFiniteNumber(
|
|
1106
|
-
P.headers.get("content-length")
|
|
1107
|
-
), [ce, G] = ie && Ne(
|
|
1108
|
-
B,
|
|
1109
|
-
te(Pe(ie), !0)
|
|
1110
|
-
) || [];
|
|
1111
|
-
P = new n(
|
|
1112
|
-
Le(P.body, ke, ce, () => {
|
|
1113
|
-
G && G(), F && F();
|
|
1114
|
-
}),
|
|
1115
|
-
U
|
|
1116
|
-
);
|
|
1117
|
-
}
|
|
1118
|
-
N = N || "text";
|
|
1119
|
-
let ht = await h[a.findKey(h, N) || "text"](P, u);
|
|
1120
|
-
return !Ce && F && F(), await new Promise((U, B) => {
|
|
1121
|
-
et(U, B, {
|
|
1122
|
-
data: ht,
|
|
1123
|
-
headers: T.from(P.headers),
|
|
1124
|
-
status: P.status,
|
|
1125
|
-
statusText: P.statusText,
|
|
1126
|
-
config: u,
|
|
1127
|
-
request: M
|
|
1128
|
-
});
|
|
1129
|
-
});
|
|
1130
|
-
} catch (x) {
|
|
1131
|
-
throw F && F(), x && x.name === "TypeError" && /Load failed|fetch/i.test(x.message) ? Object.assign(
|
|
1132
|
-
new g(
|
|
1133
|
-
"Network Error",
|
|
1134
|
-
g.ERR_NETWORK,
|
|
1135
|
-
u,
|
|
1136
|
-
M
|
|
1137
|
-
),
|
|
1138
|
-
{
|
|
1139
|
-
cause: x.cause || x
|
|
1140
|
-
}
|
|
1141
|
-
) : g.from(x, x && x.code, u, M);
|
|
1142
|
-
}
|
|
1143
|
-
};
|
|
1144
|
-
}, Nr = /* @__PURE__ */ new Map(), at = (e) => {
|
|
1145
|
-
let t = a.merge.call(
|
|
1146
|
-
{
|
|
1147
|
-
skipUndefined: !0
|
|
1148
|
-
},
|
|
1149
|
-
it,
|
|
1150
|
-
e ? e.env : null
|
|
1151
|
-
);
|
|
1152
|
-
const { fetch: r, Request: n, Response: o } = t, s = [n, o, r];
|
|
1153
|
-
let i = s.length, c = i, d, l, f = Nr;
|
|
1154
|
-
for (; c--; )
|
|
1155
|
-
d = s[c], l = f.get(d), l === void 0 && f.set(d, l = c ? /* @__PURE__ */ new Map() : jr(t)), f = l;
|
|
1156
|
-
return l;
|
|
1157
|
-
};
|
|
1158
|
-
at();
|
|
1159
|
-
const Pr = null, ct = {
|
|
1160
|
-
silentJSONParsing: !0,
|
|
1161
|
-
forcedJSONParsing: !0,
|
|
1162
|
-
clarifyTimeoutError: !1
|
|
1163
|
-
};
|
|
1164
|
-
function Ur(e) {
|
|
1165
|
-
const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
|
|
1166
|
-
return t && t[1] || "";
|
|
1167
|
-
}
|
|
1168
|
-
const Fr = typeof XMLHttpRequest < "u", _r = Fr && function(e) {
|
|
1169
|
-
return new Promise(function(t, r) {
|
|
1170
|
-
const n = st(e);
|
|
1171
|
-
let o = n.data;
|
|
1172
|
-
const s = T.from(n.headers).normalize();
|
|
1173
|
-
let { responseType: i, onUploadProgress: c, onDownloadProgress: d } = n, l, f, h, y, m;
|
|
1174
|
-
function u() {
|
|
1175
|
-
y && y(), m && m(), n.cancelToken && n.cancelToken.unsubscribe(l), n.signal && n.signal.removeEventListener("abort", l);
|
|
1176
|
-
}
|
|
1177
|
-
let p = new XMLHttpRequest();
|
|
1178
|
-
p.open(n.method.toUpperCase(), n.url, !0), p.timeout = n.timeout;
|
|
1179
|
-
function E() {
|
|
1180
|
-
if (!p)
|
|
1181
|
-
return;
|
|
1182
|
-
const w = T.from(
|
|
1183
|
-
"getAllResponseHeaders" in p && p.getAllResponseHeaders()
|
|
1184
|
-
), A = {
|
|
1185
|
-
data: !i || i === "text" || i === "json" ? p.responseText : p.response,
|
|
1186
|
-
status: p.status,
|
|
1187
|
-
statusText: p.statusText,
|
|
1188
|
-
headers: w,
|
|
1189
|
-
config: e,
|
|
1190
|
-
request: p
|
|
1191
|
-
};
|
|
1192
|
-
et(
|
|
1193
|
-
function(j) {
|
|
1194
|
-
t(j), u();
|
|
1195
|
-
},
|
|
1196
|
-
function(j) {
|
|
1197
|
-
r(j), u();
|
|
1198
|
-
},
|
|
1199
|
-
A
|
|
1200
|
-
), p = null;
|
|
1201
|
-
}
|
|
1202
|
-
"onloadend" in p ? p.onloadend = E : p.onreadystatechange = function() {
|
|
1203
|
-
!p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(E);
|
|
1204
|
-
}, p.onabort = function() {
|
|
1205
|
-
p && (r(
|
|
1206
|
-
new g(
|
|
1207
|
-
"Request aborted",
|
|
1208
|
-
g.ECONNABORTED,
|
|
1209
|
-
e,
|
|
1210
|
-
p
|
|
1211
|
-
)
|
|
1212
|
-
), p = null);
|
|
1213
|
-
}, p.onerror = function(w) {
|
|
1214
|
-
const A = w && w.message ? w.message : "Network Error", j = new g(
|
|
1215
|
-
A,
|
|
1216
|
-
g.ERR_NETWORK,
|
|
1217
|
-
e,
|
|
1218
|
-
p
|
|
1219
|
-
);
|
|
1220
|
-
j.event = w || null, r(j), p = null;
|
|
1221
|
-
}, p.ontimeout = function() {
|
|
1222
|
-
let w = n.timeout ? "timeout of " + n.timeout + "ms exceeded" : "timeout exceeded";
|
|
1223
|
-
const A = n.transitional || ct;
|
|
1224
|
-
n.timeoutErrorMessage && (w = n.timeoutErrorMessage), r(
|
|
1225
|
-
new g(
|
|
1226
|
-
w,
|
|
1227
|
-
A.clarifyTimeoutError ? g.ETIMEDOUT : g.ECONNABORTED,
|
|
1228
|
-
e,
|
|
1229
|
-
p
|
|
1230
|
-
)
|
|
1231
|
-
), p = null;
|
|
1232
|
-
}, o === void 0 && s.setContentType(null), "setRequestHeader" in p && a.forEach(
|
|
1233
|
-
s.toJSON(),
|
|
1234
|
-
function(w, A) {
|
|
1235
|
-
p.setRequestHeader(A, w);
|
|
1236
|
-
}
|
|
1237
|
-
), a.isUndefined(n.withCredentials) || (p.withCredentials = !!n.withCredentials), i && i !== "json" && (p.responseType = n.responseType), d && ([h, m] = te(
|
|
1238
|
-
d,
|
|
1239
|
-
!0
|
|
1240
|
-
), p.addEventListener("progress", h)), c && p.upload && ([f, y] = te(c), p.upload.addEventListener("progress", f), p.upload.addEventListener("loadend", y)), (n.cancelToken || n.signal) && (l = (w) => {
|
|
1241
|
-
p && (r(
|
|
1242
|
-
!w || w.type ? new q(null, e, p) : w
|
|
1243
|
-
), p.abort(), p = null);
|
|
1244
|
-
}, n.cancelToken && n.cancelToken.subscribe(l), n.signal && (n.signal.aborted ? l() : n.signal.addEventListener("abort", l)));
|
|
1245
|
-
const b = Ur(n.url);
|
|
1246
|
-
if (b && R.protocols.indexOf(b) === -1) {
|
|
1247
|
-
r(
|
|
1248
|
-
new g(
|
|
1249
|
-
"Unsupported protocol " + b + ":",
|
|
1250
|
-
g.ERR_BAD_REQUEST,
|
|
1251
|
-
e
|
|
1252
|
-
)
|
|
1253
|
-
);
|
|
1254
|
-
return;
|
|
1255
|
-
}
|
|
1256
|
-
p.send(o || null);
|
|
1257
|
-
});
|
|
1258
|
-
}, ge = {
|
|
1259
|
-
http: Pr,
|
|
1260
|
-
xhr: _r,
|
|
1261
|
-
fetch: {
|
|
1262
|
-
get: at
|
|
1263
|
-
}
|
|
1264
|
-
};
|
|
1265
|
-
a.forEach(ge, (e, t) => {
|
|
1266
|
-
if (e) {
|
|
1267
|
-
try {
|
|
1268
|
-
Object.defineProperty(e, "name", { value: t });
|
|
1269
|
-
} catch {
|
|
1270
|
-
}
|
|
1271
|
-
Object.defineProperty(e, "adapterName", { value: t });
|
|
1272
|
-
}
|
|
1273
|
-
});
|
|
1274
|
-
const qe = (e) => `- ${e}`, Lr = (e) => a.isFunction(e) || e === null || e === !1, lt = {
|
|
1275
|
-
getAdapter: (e, t) => {
|
|
1276
|
-
e = a.isArray(e) ? e : [e];
|
|
1277
|
-
const { length: r } = e;
|
|
1278
|
-
let n, o;
|
|
1279
|
-
const s = {};
|
|
1280
|
-
for (let i = 0; i < r; i++) {
|
|
1281
|
-
n = e[i];
|
|
1282
|
-
let c;
|
|
1283
|
-
if (o = n, !Lr(n) && (o = ge[(c = String(n)).toLowerCase()], o === void 0))
|
|
1284
|
-
throw new g(`Unknown adapter '${c}'`);
|
|
1285
|
-
if (o && (a.isFunction(o) || (o = o.get(t))))
|
|
1286
|
-
break;
|
|
1287
|
-
s[c || "#" + i] = o;
|
|
1288
|
-
}
|
|
1289
|
-
if (!o) {
|
|
1290
|
-
const i = Object.entries(s).map(
|
|
1291
|
-
([d, l]) => `adapter ${d} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
1292
|
-
);
|
|
1293
|
-
let c = r ? i.length > 1 ? `since :
|
|
1294
|
-
` + i.map(qe).join(`
|
|
1295
|
-
`) : " " + qe(i[0]) : "as no adapter specified";
|
|
1296
|
-
throw new g(
|
|
1297
|
-
"There is no suitable adapter to dispatch the request " + c,
|
|
1298
|
-
"ERR_NOT_SUPPORT"
|
|
1299
|
-
);
|
|
1300
|
-
}
|
|
1301
|
-
return o;
|
|
1302
|
-
},
|
|
1303
|
-
adapters: ge
|
|
1304
|
-
};
|
|
1305
|
-
class Oe {
|
|
1306
|
-
constructor(t) {
|
|
1307
|
-
if (typeof t != "function")
|
|
1308
|
-
throw new TypeError("executor must be a function.");
|
|
1309
|
-
let r;
|
|
1310
|
-
this.promise = new Promise(function(o) {
|
|
1311
|
-
r = o;
|
|
1312
|
-
});
|
|
1313
|
-
const n = this;
|
|
1314
|
-
this.promise.then((o) => {
|
|
1315
|
-
if (!n._listeners) return;
|
|
1316
|
-
let s = n._listeners.length;
|
|
1317
|
-
for (; s-- > 0; )
|
|
1318
|
-
n._listeners[s](o);
|
|
1319
|
-
n._listeners = null;
|
|
1320
|
-
}), this.promise.then = (o) => {
|
|
1321
|
-
let s;
|
|
1322
|
-
const i = new Promise((c) => {
|
|
1323
|
-
n.subscribe(c), s = c;
|
|
1324
|
-
}).then(o);
|
|
1325
|
-
return i.cancel = function() {
|
|
1326
|
-
n.unsubscribe(s);
|
|
1327
|
-
}, i;
|
|
1328
|
-
}, t(function(o, s, i) {
|
|
1329
|
-
n.reason || (n.reason = new q(o, s, i), r(n.reason));
|
|
1330
|
-
});
|
|
1331
|
-
}
|
|
1332
|
-
/**
|
|
1333
|
-
* Throws a `CanceledError` if cancellation has been requested.
|
|
1334
|
-
*/
|
|
1335
|
-
throwIfRequested() {
|
|
1336
|
-
if (this.reason)
|
|
1337
|
-
throw this.reason;
|
|
1338
|
-
}
|
|
1339
|
-
/**
|
|
1340
|
-
* Subscribe to the cancel signal
|
|
1341
|
-
*/
|
|
1342
|
-
subscribe(t) {
|
|
1343
|
-
if (this.reason) {
|
|
1344
|
-
t(this.reason);
|
|
1345
|
-
return;
|
|
1346
|
-
}
|
|
1347
|
-
this._listeners ? this._listeners.push(t) : this._listeners = [t];
|
|
1348
|
-
}
|
|
1349
|
-
/**
|
|
1350
|
-
* Unsubscribe from the cancel signal
|
|
1351
|
-
*/
|
|
1352
|
-
unsubscribe(t) {
|
|
1353
|
-
if (!this._listeners)
|
|
1354
|
-
return;
|
|
1355
|
-
const r = this._listeners.indexOf(t);
|
|
1356
|
-
r !== -1 && this._listeners.splice(r, 1);
|
|
1357
|
-
}
|
|
1358
|
-
toAbortSignal() {
|
|
1359
|
-
const t = new AbortController(), r = (n) => {
|
|
1360
|
-
t.abort(n);
|
|
1361
|
-
};
|
|
1362
|
-
return this.subscribe(r), t.signal.unsubscribe = () => this.unsubscribe(r), t.signal;
|
|
1363
|
-
}
|
|
1364
|
-
/**
|
|
1365
|
-
* Returns an object that contains a new `CancelToken` and a function that, when called,
|
|
1366
|
-
* cancels the `CancelToken`.
|
|
1367
|
-
*/
|
|
1368
|
-
static source() {
|
|
1369
|
-
let t;
|
|
1370
|
-
return {
|
|
1371
|
-
token: new Oe(function(r) {
|
|
1372
|
-
t = r;
|
|
1373
|
-
}),
|
|
1374
|
-
cancel: t
|
|
1375
|
-
};
|
|
1376
|
-
}
|
|
1377
|
-
}
|
|
1378
|
-
function ut(e) {
|
|
1379
|
-
return !!(e && e.__CANCEL__);
|
|
1380
|
-
}
|
|
1381
|
-
const ft = "1.11.0", se = {};
|
|
1382
|
-
["object", "boolean", "number", "function", "string", "symbol"].forEach(
|
|
1383
|
-
(e, t) => {
|
|
1384
|
-
se[e] = function(r) {
|
|
1385
|
-
return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
1386
|
-
};
|
|
1387
|
-
}
|
|
1388
|
-
);
|
|
1389
|
-
const Me = {};
|
|
1390
|
-
se.transitional = function(e, t, r) {
|
|
1391
|
-
function n(o, s) {
|
|
1392
|
-
return "[Axios v" + ft + "] Transitional option '" + o + "'" + s + (r ? ". " + r : "");
|
|
1393
|
-
}
|
|
1394
|
-
return (o, s, i) => {
|
|
1395
|
-
if (e === !1)
|
|
1396
|
-
throw new g(
|
|
1397
|
-
n(
|
|
1398
|
-
s,
|
|
1399
|
-
" has been removed" + (t ? " in " + t : "")
|
|
1400
|
-
),
|
|
1401
|
-
g.ERR_DEPRECATED
|
|
1402
|
-
);
|
|
1403
|
-
return t && !Me[s] && (Me[s] = !0, console.warn(
|
|
1404
|
-
n(
|
|
1405
|
-
s,
|
|
1406
|
-
" has been deprecated since v" + t + " and will be removed in the near future"
|
|
1407
|
-
)
|
|
1408
|
-
)), e ? e(o, s, i) : !0;
|
|
1409
|
-
};
|
|
1410
|
-
};
|
|
1411
|
-
se.spelling = function(e) {
|
|
1412
|
-
return (t, r) => (console.warn(`${r} is likely a misspelling of ${e}`), !0);
|
|
1413
|
-
};
|
|
1414
|
-
function kr(e, t, r) {
|
|
1415
|
-
if (typeof e != "object")
|
|
1416
|
-
throw new g(
|
|
1417
|
-
"options must be an object",
|
|
1418
|
-
g.ERR_BAD_OPTION_VALUE
|
|
1419
|
-
);
|
|
1420
|
-
const n = Object.keys(e);
|
|
1421
|
-
let o = n.length;
|
|
1422
|
-
for (; o-- > 0; ) {
|
|
1423
|
-
const s = n[o], i = t[s];
|
|
1424
|
-
if (i) {
|
|
1425
|
-
const c = e[s], d = c === void 0 || i(c, s, e);
|
|
1426
|
-
if (d !== !0)
|
|
1427
|
-
throw new g(
|
|
1428
|
-
"option " + s + " must be " + d,
|
|
1429
|
-
g.ERR_BAD_OPTION_VALUE
|
|
1430
|
-
);
|
|
1431
|
-
continue;
|
|
1432
|
-
}
|
|
1433
|
-
if (r !== !0)
|
|
1434
|
-
throw new g("Unknown option " + s, g.ERR_BAD_OPTION);
|
|
1435
|
-
}
|
|
1436
|
-
}
|
|
1437
|
-
const ee = {
|
|
1438
|
-
assertOptions: kr,
|
|
1439
|
-
validators: se
|
|
1440
|
-
};
|
|
1441
|
-
class Ie {
|
|
1442
|
-
constructor() {
|
|
1443
|
-
this.handlers = [];
|
|
1444
|
-
}
|
|
1445
|
-
/**
|
|
1446
|
-
* Add a new interceptor to the stack
|
|
1447
|
-
*
|
|
1448
|
-
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
|
1449
|
-
* @param {Function} rejected The function to handle `reject` for a `Promise`
|
|
1450
|
-
*
|
|
1451
|
-
* @return {Number} An ID used to remove interceptor later
|
|
1452
|
-
*/
|
|
1453
|
-
use(t, r, n) {
|
|
1454
|
-
return this.handlers.push({
|
|
1455
|
-
fulfilled: t,
|
|
1456
|
-
rejected: r,
|
|
1457
|
-
synchronous: n ? n.synchronous : !1,
|
|
1458
|
-
runWhen: n ? n.runWhen : null
|
|
1459
|
-
}), this.handlers.length - 1;
|
|
1460
|
-
}
|
|
1461
|
-
/**
|
|
1462
|
-
* Remove an interceptor from the stack
|
|
1463
|
-
*
|
|
1464
|
-
* @param {Number} id The ID that was returned by `use`
|
|
1465
|
-
*
|
|
1466
|
-
* @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
|
|
1467
|
-
*/
|
|
1468
|
-
eject(t) {
|
|
1469
|
-
this.handlers[t] && (this.handlers[t] = null);
|
|
1470
|
-
}
|
|
1471
|
-
/**
|
|
1472
|
-
* Clear all interceptors from the stack
|
|
1473
|
-
*
|
|
1474
|
-
* @returns {void}
|
|
1475
|
-
*/
|
|
1476
|
-
clear() {
|
|
1477
|
-
this.handlers && (this.handlers = []);
|
|
1478
|
-
}
|
|
1479
|
-
/**
|
|
1480
|
-
* Iterate over all the registered interceptors
|
|
1481
|
-
*
|
|
1482
|
-
* This method is particularly useful for skipping over any
|
|
1483
|
-
* interceptors that may have become `null` calling `eject`.
|
|
1484
|
-
*
|
|
1485
|
-
* @param {Function} fn The function to call for each interceptor
|
|
1486
|
-
*
|
|
1487
|
-
* @returns {void}
|
|
1488
|
-
*/
|
|
1489
|
-
forEach(t) {
|
|
1490
|
-
a.forEach(this.handlers, function(r) {
|
|
1491
|
-
r !== null && t(r);
|
|
1492
|
-
});
|
|
1493
|
-
}
|
|
1494
|
-
}
|
|
1495
|
-
function Br(e) {
|
|
1496
|
-
return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
1497
|
-
}
|
|
1498
|
-
function Dr(e) {
|
|
1499
|
-
const t = {}, r = Object.keys(e);
|
|
1500
|
-
let n;
|
|
1501
|
-
const o = r.length;
|
|
1502
|
-
let s;
|
|
1503
|
-
for (n = 0; n < o; n++)
|
|
1504
|
-
s = r[n], t[s] = e[s];
|
|
1505
|
-
return t;
|
|
1506
|
-
}
|
|
1507
|
-
function dt(e) {
|
|
1508
|
-
function t(r, n, o, s) {
|
|
1509
|
-
let i = r[s++];
|
|
1510
|
-
if (i === "__proto__") return !0;
|
|
1511
|
-
const c = Number.isFinite(+i), d = s >= r.length;
|
|
1512
|
-
return i = !i && a.isArray(o) ? o.length : i, d ? (a.hasOwnProp(o, i) ? o[i] = [o[i], n] : o[i] = n, !c) : ((!o[i] || !a.isObject(o[i])) && (o[i] = []), t(r, n, o[i], s) && a.isArray(o[i]) && (o[i] = Dr(o[i])), !c);
|
|
1513
|
-
}
|
|
1514
|
-
if (a.isFormData(e) && a.isFunction(e.entries)) {
|
|
1515
|
-
const r = {};
|
|
1516
|
-
return a.forEachEntry(e, (n, o) => {
|
|
1517
|
-
t(Br(n), o, r, 0);
|
|
1518
|
-
}), r;
|
|
1519
|
-
}
|
|
1520
|
-
return null;
|
|
1521
|
-
}
|
|
1522
|
-
function $r(e, t) {
|
|
1523
|
-
return V(e, new R.classes.URLSearchParams(), {
|
|
1524
|
-
visitor: function(r, n, o, s) {
|
|
1525
|
-
return R.isNode && a.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
|
|
1526
|
-
},
|
|
1527
|
-
...t
|
|
1528
|
-
});
|
|
1529
|
-
}
|
|
1530
|
-
function qr(e, t, r) {
|
|
1531
|
-
if (a.isString(e))
|
|
1532
|
-
try {
|
|
1533
|
-
return (t || JSON.parse)(e), a.trim(e);
|
|
1534
|
-
} catch (n) {
|
|
1535
|
-
if (n.name !== "SyntaxError")
|
|
1536
|
-
throw n;
|
|
1537
|
-
}
|
|
1538
|
-
return (r || JSON.stringify)(e);
|
|
1539
|
-
}
|
|
1540
|
-
const W = {
|
|
1541
|
-
transitional: ct,
|
|
1542
|
-
adapter: ["xhr", "http", "fetch"],
|
|
1543
|
-
transformRequest: [
|
|
1544
|
-
function(e, t) {
|
|
1545
|
-
const r = t.getContentType() || "", n = r.indexOf("application/json") > -1, o = a.isObject(e);
|
|
1546
|
-
if (o && a.isHTMLForm(e) && (e = new FormData(e)), a.isFormData(e))
|
|
1547
|
-
return n ? JSON.stringify(dt(e)) : e;
|
|
1548
|
-
if (a.isArrayBuffer(e) || a.isBuffer(e) || a.isStream(e) || a.isFile(e) || a.isBlob(e) || a.isReadableStream(e))
|
|
1549
|
-
return e;
|
|
1550
|
-
if (a.isArrayBufferView(e))
|
|
1551
|
-
return e.buffer;
|
|
1552
|
-
if (a.isURLSearchParams(e))
|
|
1553
|
-
return t.setContentType(
|
|
1554
|
-
"application/x-www-form-urlencoded;charset=utf-8",
|
|
1555
|
-
!1
|
|
1556
|
-
), e.toString();
|
|
1557
|
-
let s;
|
|
1558
|
-
if (o) {
|
|
1559
|
-
if (r.indexOf("application/x-www-form-urlencoded") > -1)
|
|
1560
|
-
return $r(e, this.formSerializer).toString();
|
|
1561
|
-
if ((s = a.isFileList(e)) || r.indexOf("multipart/form-data") > -1) {
|
|
1562
|
-
const i = this.env && this.env.FormData;
|
|
1563
|
-
return V(
|
|
1564
|
-
s ? { "files[]": e } : e,
|
|
1565
|
-
i && new i(),
|
|
1566
|
-
this.formSerializer
|
|
1567
|
-
);
|
|
1568
|
-
}
|
|
1569
|
-
}
|
|
1570
|
-
return o || n ? (t.setContentType("application/json", !1), qr(e)) : e;
|
|
1571
|
-
}
|
|
1572
|
-
],
|
|
1573
|
-
transformResponse: [
|
|
1574
|
-
function(e) {
|
|
1575
|
-
const t = this.transitional || W.transitional, r = t && t.forcedJSONParsing, n = this.responseType === "json";
|
|
1576
|
-
if (a.isResponse(e) || a.isReadableStream(e))
|
|
1577
|
-
return e;
|
|
1578
|
-
if (e && a.isString(e) && (r && !this.responseType || n)) {
|
|
1579
|
-
const o = !(t && t.silentJSONParsing) && n;
|
|
1580
|
-
try {
|
|
1581
|
-
return JSON.parse(e, this.parseReviver);
|
|
1582
|
-
} catch (s) {
|
|
1583
|
-
if (o)
|
|
1584
|
-
throw s.name === "SyntaxError" ? g.from(
|
|
1585
|
-
s,
|
|
1586
|
-
g.ERR_BAD_RESPONSE,
|
|
1587
|
-
this,
|
|
1588
|
-
null,
|
|
1589
|
-
this.response
|
|
1590
|
-
) : s;
|
|
1591
|
-
}
|
|
1592
|
-
}
|
|
1593
|
-
return e;
|
|
1594
|
-
}
|
|
1595
|
-
],
|
|
1596
|
-
/**
|
|
1597
|
-
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
1598
|
-
* timeout is not created.
|
|
1599
|
-
*/
|
|
1600
|
-
timeout: 0,
|
|
1601
|
-
xsrfCookieName: "XSRF-TOKEN",
|
|
1602
|
-
xsrfHeaderName: "X-XSRF-TOKEN",
|
|
1603
|
-
maxContentLength: -1,
|
|
1604
|
-
maxBodyLength: -1,
|
|
1605
|
-
env: {
|
|
1606
|
-
FormData: R.classes.FormData,
|
|
1607
|
-
Blob: R.classes.Blob
|
|
1608
|
-
},
|
|
1609
|
-
validateStatus: function(e) {
|
|
1610
|
-
return e >= 200 && e < 300;
|
|
1611
|
-
},
|
|
1612
|
-
headers: {
|
|
1613
|
-
common: {
|
|
1614
|
-
Accept: "application/json, text/plain, */*",
|
|
1615
|
-
"Content-Type": void 0
|
|
1616
|
-
}
|
|
1617
|
-
}
|
|
1618
|
-
};
|
|
1619
|
-
a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
1620
|
-
W.headers[e] = {};
|
|
1621
|
-
});
|
|
1622
|
-
function fe(e, t) {
|
|
1623
|
-
const r = this || W, n = t || r, o = T.from(n.headers);
|
|
1624
|
-
let s = n.data;
|
|
1625
|
-
return a.forEach(e, function(i) {
|
|
1626
|
-
s = i.call(
|
|
1627
|
-
r,
|
|
1628
|
-
s,
|
|
1629
|
-
o.normalize(),
|
|
1630
|
-
t ? t.status : void 0
|
|
1631
|
-
);
|
|
1632
|
-
}), o.normalize(), s;
|
|
1633
|
-
}
|
|
1634
|
-
function de(e) {
|
|
1635
|
-
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1636
|
-
throw new q(null, e);
|
|
1637
|
-
}
|
|
1638
|
-
function ze(e) {
|
|
1639
|
-
return de(e), e.headers = T.from(e.headers), e.data = fe.call(e, e.transformRequest), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), lt.getAdapter(
|
|
1640
|
-
e.adapter || W.adapter,
|
|
1641
|
-
e
|
|
1642
|
-
)(e).then(
|
|
1643
|
-
function(t) {
|
|
1644
|
-
return de(e), t.data = fe.call(
|
|
1645
|
-
e,
|
|
1646
|
-
e.transformResponse,
|
|
1647
|
-
t
|
|
1648
|
-
), t.headers = T.from(t.headers), t;
|
|
1649
|
-
},
|
|
1650
|
-
function(t) {
|
|
1651
|
-
return ut(t) || (de(e), t && t.response && (t.response.data = fe.call(
|
|
1652
|
-
e,
|
|
1653
|
-
e.transformResponse,
|
|
1654
|
-
t.response
|
|
1655
|
-
), t.response.headers = T.from(t.response.headers))), Promise.reject(t);
|
|
1656
|
-
}
|
|
1657
|
-
);
|
|
1658
|
-
}
|
|
1659
|
-
const v = ee.validators;
|
|
1660
|
-
class L {
|
|
1661
|
-
constructor(t) {
|
|
1662
|
-
this.defaults = t || {}, this.interceptors = {
|
|
1663
|
-
request: new Ie(),
|
|
1664
|
-
response: new Ie()
|
|
1665
|
-
};
|
|
1666
|
-
}
|
|
1667
|
-
/**
|
|
1668
|
-
* Dispatch a request
|
|
1669
|
-
*
|
|
1670
|
-
* @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
|
|
1671
|
-
* @param {?Object} config
|
|
1672
|
-
*
|
|
1673
|
-
* @returns {Promise} The Promise to be fulfilled
|
|
1674
|
-
*/
|
|
1675
|
-
async request(t, r) {
|
|
1676
|
-
try {
|
|
1677
|
-
return await this._request(t, r);
|
|
1678
|
-
} catch (n) {
|
|
1679
|
-
if (n instanceof Error) {
|
|
1680
|
-
let o = {};
|
|
1681
|
-
Error.captureStackTrace ? Error.captureStackTrace(o) : o = new Error();
|
|
1682
|
-
const s = o.stack ? o.stack.replace(/^.+\n/, "") : "";
|
|
1683
|
-
try {
|
|
1684
|
-
n.stack ? s && !String(n.stack).endsWith(s.replace(/^.+\n.+\n/, "")) && (n.stack += `
|
|
1685
|
-
` + s) : n.stack = s;
|
|
1686
|
-
} catch {
|
|
1687
|
-
}
|
|
1688
|
-
}
|
|
1689
|
-
throw n;
|
|
1690
|
-
}
|
|
1691
|
-
}
|
|
1692
|
-
_request(t, r) {
|
|
1693
|
-
typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = k(this.defaults, r);
|
|
1694
|
-
const { transitional: n, paramsSerializer: o, headers: s } = r;
|
|
1695
|
-
n !== void 0 && ee.assertOptions(
|
|
1696
|
-
n,
|
|
1697
|
-
{
|
|
1698
|
-
silentJSONParsing: v.transitional(v.boolean),
|
|
1699
|
-
forcedJSONParsing: v.transitional(v.boolean),
|
|
1700
|
-
clarifyTimeoutError: v.transitional(v.boolean)
|
|
1701
|
-
},
|
|
1702
|
-
!1
|
|
1703
|
-
), o != null && (a.isFunction(o) ? r.paramsSerializer = {
|
|
1704
|
-
serialize: o
|
|
1705
|
-
} : ee.assertOptions(
|
|
1706
|
-
o,
|
|
1707
|
-
{
|
|
1708
|
-
encode: v.function,
|
|
1709
|
-
serialize: v.function
|
|
1710
|
-
},
|
|
1711
|
-
!0
|
|
1712
|
-
)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0), ee.assertOptions(
|
|
1713
|
-
r,
|
|
1714
|
-
{
|
|
1715
|
-
baseUrl: v.spelling("baseURL"),
|
|
1716
|
-
withXsrfToken: v.spelling("withXSRFToken")
|
|
1717
|
-
},
|
|
1718
|
-
!0
|
|
1719
|
-
), r.method = (r.method || this.defaults.method || "get").toLowerCase();
|
|
1720
|
-
let i = s && a.merge(s.common, s[r.method]);
|
|
1721
|
-
s && a.forEach(
|
|
1722
|
-
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
1723
|
-
(u) => {
|
|
1724
|
-
delete s[u];
|
|
1725
|
-
}
|
|
1726
|
-
), r.headers = T.concat(i, s);
|
|
1727
|
-
const c = [];
|
|
1728
|
-
let d = !0;
|
|
1729
|
-
this.interceptors.request.forEach(
|
|
1730
|
-
function(u) {
|
|
1731
|
-
typeof u.runWhen == "function" && u.runWhen(r) === !1 || (d = d && u.synchronous, c.unshift(
|
|
1732
|
-
u.fulfilled,
|
|
1733
|
-
u.rejected
|
|
1734
|
-
));
|
|
1735
|
-
}
|
|
1736
|
-
);
|
|
1737
|
-
const l = [];
|
|
1738
|
-
this.interceptors.response.forEach(
|
|
1739
|
-
function(u) {
|
|
1740
|
-
l.push(
|
|
1741
|
-
u.fulfilled,
|
|
1742
|
-
u.rejected
|
|
1743
|
-
);
|
|
1744
|
-
}
|
|
1745
|
-
);
|
|
1746
|
-
let f, h = 0, y;
|
|
1747
|
-
if (!d) {
|
|
1748
|
-
const u = [ze.bind(this), void 0];
|
|
1749
|
-
for (u.unshift(...c), u.push(...l), y = u.length, f = Promise.resolve(r); h < y; )
|
|
1750
|
-
f = f.then(u[h++], u[h++]);
|
|
1751
|
-
return f;
|
|
1752
|
-
}
|
|
1753
|
-
y = c.length;
|
|
1754
|
-
let m = r;
|
|
1755
|
-
for (h = 0; h < y; ) {
|
|
1756
|
-
const u = c[h++], p = c[h++];
|
|
1757
|
-
try {
|
|
1758
|
-
m = u(m);
|
|
1759
|
-
} catch (E) {
|
|
1760
|
-
p.call(this, E);
|
|
1761
|
-
break;
|
|
1762
|
-
}
|
|
1763
|
-
}
|
|
1764
|
-
try {
|
|
1765
|
-
f = ze.call(this, m);
|
|
1766
|
-
} catch (u) {
|
|
1767
|
-
return Promise.reject(u);
|
|
1768
|
-
}
|
|
1769
|
-
for (h = 0, y = l.length; h < y; )
|
|
1770
|
-
f = f.then(
|
|
1771
|
-
l[h++],
|
|
1772
|
-
l[h++]
|
|
1773
|
-
);
|
|
1774
|
-
return f;
|
|
1775
|
-
}
|
|
1776
|
-
getUri(t) {
|
|
1777
|
-
t = k(this.defaults, t);
|
|
1778
|
-
const r = tt(
|
|
1779
|
-
t.baseURL,
|
|
1780
|
-
t.url,
|
|
1781
|
-
t.allowAbsoluteUrls
|
|
1782
|
-
);
|
|
1783
|
-
return ot(r, t.params, t.paramsSerializer);
|
|
1784
|
-
}
|
|
1785
|
-
}
|
|
1786
|
-
a.forEach(
|
|
1787
|
-
["delete", "get", "head", "options"],
|
|
1788
|
-
function(e) {
|
|
1789
|
-
L.prototype[e] = function(t, r) {
|
|
1790
|
-
return this.request(
|
|
1791
|
-
k(r || {}, {
|
|
1792
|
-
method: e,
|
|
1793
|
-
url: t,
|
|
1794
|
-
data: (r || {}).data
|
|
1795
|
-
})
|
|
1796
|
-
);
|
|
1797
|
-
};
|
|
1798
|
-
}
|
|
1799
|
-
);
|
|
1800
|
-
a.forEach(["post", "put", "patch"], function(e) {
|
|
1801
|
-
function t(r) {
|
|
1802
|
-
return function(n, o, s) {
|
|
1803
|
-
return this.request(
|
|
1804
|
-
k(s || {}, {
|
|
1805
|
-
method: e,
|
|
1806
|
-
headers: r ? {
|
|
1807
|
-
"Content-Type": "multipart/form-data"
|
|
1808
|
-
} : {},
|
|
1809
|
-
url: n,
|
|
1810
|
-
data: o
|
|
1811
|
-
})
|
|
1812
|
-
);
|
|
1813
|
-
};
|
|
1814
|
-
}
|
|
1815
|
-
L.prototype[e] = t(), L.prototype[e + "Form"] = t(!0);
|
|
1816
|
-
});
|
|
1817
|
-
const be = {
|
|
1818
|
-
Continue: 100,
|
|
1819
|
-
SwitchingProtocols: 101,
|
|
1820
|
-
Processing: 102,
|
|
1821
|
-
EarlyHints: 103,
|
|
1822
|
-
Ok: 200,
|
|
1823
|
-
Created: 201,
|
|
1824
|
-
Accepted: 202,
|
|
1825
|
-
NonAuthoritativeInformation: 203,
|
|
1826
|
-
NoContent: 204,
|
|
1827
|
-
ResetContent: 205,
|
|
1828
|
-
PartialContent: 206,
|
|
1829
|
-
MultiStatus: 207,
|
|
1830
|
-
AlreadyReported: 208,
|
|
1831
|
-
ImUsed: 226,
|
|
1832
|
-
MultipleChoices: 300,
|
|
1833
|
-
MovedPermanently: 301,
|
|
1834
|
-
Found: 302,
|
|
1835
|
-
SeeOther: 303,
|
|
1836
|
-
NotModified: 304,
|
|
1837
|
-
UseProxy: 305,
|
|
1838
|
-
Unused: 306,
|
|
1839
|
-
TemporaryRedirect: 307,
|
|
1840
|
-
PermanentRedirect: 308,
|
|
1841
|
-
BadRequest: 400,
|
|
1842
|
-
Unauthorized: 401,
|
|
1843
|
-
PaymentRequired: 402,
|
|
1844
|
-
Forbidden: 403,
|
|
1845
|
-
NotFound: 404,
|
|
1846
|
-
MethodNotAllowed: 405,
|
|
1847
|
-
NotAcceptable: 406,
|
|
1848
|
-
ProxyAuthenticationRequired: 407,
|
|
1849
|
-
RequestTimeout: 408,
|
|
1850
|
-
Conflict: 409,
|
|
1851
|
-
Gone: 410,
|
|
1852
|
-
LengthRequired: 411,
|
|
1853
|
-
PreconditionFailed: 412,
|
|
1854
|
-
PayloadTooLarge: 413,
|
|
1855
|
-
UriTooLong: 414,
|
|
1856
|
-
UnsupportedMediaType: 415,
|
|
1857
|
-
RangeNotSatisfiable: 416,
|
|
1858
|
-
ExpectationFailed: 417,
|
|
1859
|
-
ImATeapot: 418,
|
|
1860
|
-
MisdirectedRequest: 421,
|
|
1861
|
-
UnprocessableEntity: 422,
|
|
1862
|
-
Locked: 423,
|
|
1863
|
-
FailedDependency: 424,
|
|
1864
|
-
TooEarly: 425,
|
|
1865
|
-
UpgradeRequired: 426,
|
|
1866
|
-
PreconditionRequired: 428,
|
|
1867
|
-
TooManyRequests: 429,
|
|
1868
|
-
RequestHeaderFieldsTooLarge: 431,
|
|
1869
|
-
UnavailableForLegalReasons: 451,
|
|
1870
|
-
InternalServerError: 500,
|
|
1871
|
-
NotImplemented: 501,
|
|
1872
|
-
BadGateway: 502,
|
|
1873
|
-
ServiceUnavailable: 503,
|
|
1874
|
-
GatewayTimeout: 504,
|
|
1875
|
-
HttpVersionNotSupported: 505,
|
|
1876
|
-
VariantAlsoNegotiates: 506,
|
|
1877
|
-
InsufficientStorage: 507,
|
|
1878
|
-
LoopDetected: 508,
|
|
1879
|
-
NotExtended: 510,
|
|
1880
|
-
NetworkAuthenticationRequired: 511
|
|
1881
|
-
};
|
|
1882
|
-
Object.entries(be).forEach(([e, t]) => {
|
|
1883
|
-
be[t] = e;
|
|
1884
|
-
});
|
|
1885
|
-
function Mr(e) {
|
|
1886
|
-
return a.isObject(e) && e.isAxiosError === !0;
|
|
1887
|
-
}
|
|
1888
|
-
function Ir(e) {
|
|
1889
|
-
return function(t) {
|
|
1890
|
-
return e.apply(null, t);
|
|
1891
|
-
};
|
|
1892
|
-
}
|
|
1893
|
-
function pt(e) {
|
|
1894
|
-
const t = new L(e), r = He(L.prototype.request, t);
|
|
1895
|
-
return a.extend(r, L.prototype, t, { allOwnKeys: !0 }), a.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(n) {
|
|
1896
|
-
return pt(k(e, n));
|
|
1897
|
-
}, r;
|
|
1898
|
-
}
|
|
1899
|
-
const O = pt(W);
|
|
1900
|
-
O.Axios = L;
|
|
1901
|
-
O.CanceledError = q;
|
|
1902
|
-
O.CancelToken = Oe;
|
|
1903
|
-
O.isCancel = ut;
|
|
1904
|
-
O.VERSION = ft;
|
|
1905
|
-
O.toFormData = V;
|
|
1906
|
-
O.AxiosError = g;
|
|
1907
|
-
O.Cancel = O.CanceledError;
|
|
1908
|
-
O.all = function(e) {
|
|
1909
|
-
return Promise.all(e);
|
|
1910
|
-
};
|
|
1911
|
-
O.spread = Ir;
|
|
1912
|
-
O.isAxiosError = Mr;
|
|
1913
|
-
O.mergeConfig = k;
|
|
1914
|
-
O.AxiosHeaders = T;
|
|
1915
|
-
O.formToJSON = (e) => dt(a.isHTMLForm(e) ? new FormData(e) : e);
|
|
1916
|
-
O.getAdapter = lt.getAdapter;
|
|
1917
|
-
O.HttpStatusCode = be;
|
|
1918
|
-
O.default = O;
|
|
1919
|
-
const {
|
|
1920
|
-
Axios: Vr,
|
|
1921
|
-
AxiosError: Wr,
|
|
1922
|
-
CanceledError: Kr,
|
|
1923
|
-
isCancel: Xr,
|
|
1924
|
-
CancelToken: Gr,
|
|
1925
|
-
VERSION: Qr,
|
|
1926
|
-
all: Zr,
|
|
1927
|
-
Cancel: Yr,
|
|
1928
|
-
isAxiosError: en,
|
|
1929
|
-
spread: tn,
|
|
1930
|
-
toFormData: rn,
|
|
1931
|
-
AxiosHeaders: nn,
|
|
1932
|
-
HttpStatusCode: on,
|
|
1933
|
-
formToJSON: sn,
|
|
1934
|
-
getAdapter: an,
|
|
1935
|
-
mergeConfig: cn
|
|
1936
|
-
} = O, ln = (e) => {
|
|
1937
|
-
const {
|
|
1938
|
-
onProgress: t = le,
|
|
1939
|
-
onError: r = le,
|
|
1940
|
-
onSuccess: n = le,
|
|
1941
|
-
action: o,
|
|
1942
|
-
method: s,
|
|
1943
|
-
headers: i = {},
|
|
1944
|
-
name: c,
|
|
1945
|
-
file: d,
|
|
1946
|
-
data: l = {},
|
|
1947
|
-
withCredentials: f = !1
|
|
1948
|
-
} = e;
|
|
1949
|
-
function h(b) {
|
|
1950
|
-
return gt(b) ? b(d) : b;
|
|
1951
|
-
}
|
|
1952
|
-
const y = h(l), m = new FormData();
|
|
1953
|
-
mt(y) && Object.entries(y).forEach(([b, w], A, j) => m.append(b, w)), m.append(h(c) || "file", d);
|
|
1954
|
-
let u = !1;
|
|
1955
|
-
const p = new AbortController(), E = {
|
|
1956
|
-
url: o,
|
|
1957
|
-
params: { time: Date.now() },
|
|
1958
|
-
data: m,
|
|
1959
|
-
method: s,
|
|
1960
|
-
adapter: "xhr",
|
|
1961
|
-
// 因为 fetch 不支持 onProgress
|
|
1962
|
-
headers: {
|
|
1963
|
-
"Content-Type": "multipart/form-data",
|
|
1964
|
-
...i
|
|
1965
|
-
},
|
|
1966
|
-
withCredentials: f,
|
|
1967
|
-
signal: p.signal,
|
|
1968
|
-
onUploadProgress(b) {
|
|
1969
|
-
if (u)
|
|
1970
|
-
return;
|
|
1971
|
-
const w = b.total ?? b.event?.total ?? 0, A = b.loaded ?? b.event?.loaded ?? 0;
|
|
1972
|
-
t?.(Math.min(Math.round(A / w * 100), 100), b.event);
|
|
1973
|
-
}
|
|
1974
|
-
};
|
|
1975
|
-
return O(E).then((b) => {
|
|
1976
|
-
if ("code" in b && b.code != 200) {
|
|
1977
|
-
r(b);
|
|
1978
|
-
return;
|
|
1979
|
-
}
|
|
1980
|
-
n(b);
|
|
1981
|
-
}).catch((b) => {
|
|
1982
|
-
r(b), console.error(b);
|
|
1983
|
-
}).finally(() => {
|
|
1984
|
-
u = !0;
|
|
1985
|
-
}), {
|
|
1986
|
-
abort() {
|
|
1987
|
-
p.abort();
|
|
1988
|
-
}
|
|
1989
|
-
};
|
|
1990
|
-
};
|
|
1991
|
-
export {
|
|
1992
|
-
ln as default
|
|
1993
|
-
};
|