antdv-next 1.0.1 → 1.0.3-beta.1
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/dist/_util/ActionButton.d.ts +2 -4
- package/dist/_util/ActionButton.js +10 -10
- package/dist/_util/ContextIsolator.d.ts +3 -3
- package/dist/_util/PurePanel.d.ts +3 -3
- package/dist/_util/convertToTooltipProps.d.ts +1 -1
- package/dist/_util/convertToTooltipProps.js +9 -3
- package/dist/_util/hooks/index.d.ts +3 -3
- package/dist/_util/hooks/index.js +2 -2
- package/dist/_util/hooks/useClosable.d.ts +2 -2
- package/dist/_util/hooks/useMergeSemantic.d.ts +8 -5
- package/dist/_util/hooks/useMergedMask.d.ts +6 -4
- package/dist/_util/hooks/useMergedMask.js +23 -16
- package/dist/_util/hooks/useResponsive.d.ts +1 -1
- package/dist/_util/instance.d.ts +2 -2
- package/dist/_util/responsiveObserver.d.ts +6 -5
- package/dist/_util/responsiveObserver.js +5 -2
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/type.d.ts +2 -6
- package/dist/_util/vueNode.d.ts +7 -6
- package/dist/_util/wave/WaveEffect.d.ts +5 -5
- package/dist/_util/wave/index.d.ts +3 -7
- package/dist/_util/wave/style.d.ts +2 -2
- package/dist/_util/zindexContext.d.ts +3 -3
- package/dist/affix/index.d.ts +3 -6
- package/dist/affix/style/index.d.ts +2 -2
- package/dist/alert/Alert.d.ts +25 -26
- package/dist/alert/Alert.js +6 -4
- package/dist/alert/index.d.ts +2 -2
- package/dist/alert/style/index.d.ts +2 -2
- package/dist/alert/style/index.js +16 -12
- package/dist/anchor/Anchor.d.ts +2 -5
- package/dist/anchor/Anchor.js +2 -2
- package/dist/anchor/AnchorLink.d.ts +2 -5
- package/dist/anchor/style/index.d.ts +2 -2
- package/dist/anchor/style/index.js +13 -13
- package/dist/antd.css +1 -1
- package/dist/antd.js +96 -112
- package/dist/app/App.d.ts +3 -3
- package/dist/app/App.js +7 -4
- package/dist/app/context.d.ts +3 -3
- package/dist/app/style/index.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +5 -6
- package/dist/auto-complete/index.js +36 -34
- package/dist/avatar/Avatar.d.ts +4 -7
- package/dist/avatar/Avatar.js +3 -9
- package/dist/avatar/AvatarContext.d.ts +11 -5
- package/dist/avatar/AvatarGroup.d.ts +4 -4
- package/dist/avatar/AvatarGroup.js +1 -0
- package/dist/avatar/index.d.ts +1 -1
- package/dist/avatar/style/index.d.ts +2 -2
- package/dist/avatar/style/index.js +12 -12
- package/dist/badge/Ribbon.d.ts +2 -4
- package/dist/badge/Ribbon.js +2 -2
- package/dist/badge/ScrollNumber.d.ts +2 -4
- package/dist/badge/SingleNumber.d.ts +2 -2
- package/dist/badge/index.d.ts +5 -6
- package/dist/badge/index.js +4 -3
- package/dist/badge/style/index.d.ts +2 -2
- package/dist/badge/style/index.js +25 -25
- package/dist/badge/style/ribbon.d.ts +2 -2
- package/dist/badge/style/ribbon.js +8 -8
- package/dist/breadcrumb/Breadcrumb.d.ts +3 -3
- package/dist/breadcrumb/Breadcrumb.js +2 -2
- package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -3
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
- package/dist/breadcrumb/style/index.d.ts +2 -2
- package/dist/breadcrumb/style/index.js +13 -13
- package/dist/breadcrumb/useItemRender.d.ts +2 -2
- package/dist/button/Button.d.ts +2 -5
- package/dist/button/Button.js +29 -15
- package/dist/button/DefaultLoadingIcon.d.ts +2 -2
- package/dist/button/IconWrapper.d.ts +2 -2
- package/dist/button/style/compact.d.ts +4 -4
- package/dist/button/style/compact.js +1 -1
- package/dist/button/style/group.js +2 -2
- package/dist/button/style/index.d.ts +2 -2
- package/dist/button/style/index.js +13 -13
- package/dist/button/style/token.d.ts +8 -1
- package/dist/button/style/variant.js +22 -10
- package/dist/calendar/Header.d.ts +3 -3
- package/dist/calendar/generateCalendar.d.ts +2 -5
- package/dist/calendar/index.d.ts +2 -4
- package/dist/calendar/style/index.d.ts +2 -2
- package/dist/calendar/style/index.js +14 -14
- package/dist/card/Card.d.ts +2 -5
- package/dist/card/Card.js +2 -2
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +2 -4
- package/dist/card/style/index.d.ts +2 -2
- package/dist/card/style/index.js +55 -55
- package/dist/carousel/index.d.ts +2 -5
- package/dist/carousel/style/index.d.ts +2 -2
- package/dist/carousel/style/index.js +98 -98
- package/dist/cascader/Panel.d.ts +2 -5
- package/dist/cascader/Panel.js +12 -4
- package/dist/cascader/hooks/useBase.d.ts +5 -5
- package/dist/cascader/hooks/useCheckable.d.ts +2 -2
- package/dist/cascader/hooks/useIcons.d.ts +20 -0
- package/dist/cascader/hooks/useIcons.js +16 -0
- package/dist/cascader/index.d.ts +2 -5
- package/dist/cascader/index.js +13 -7
- package/dist/cascader/style/columns.js +19 -19
- package/dist/cascader/style/index.d.ts +2 -2
- package/dist/cascader/style/panel.d.ts +2 -2
- package/dist/cascader/style/panel.js +5 -5
- package/dist/checkbox/Checkbox.d.ts +2 -5
- package/dist/checkbox/Checkbox.js +28 -23
- package/dist/checkbox/Group.d.ts +2 -5
- package/dist/checkbox/Group.js +2 -2
- package/dist/checkbox/style/index.d.ts +2 -2
- package/dist/checkbox/style/index.js +74 -90
- package/dist/collapse/Collapse.d.ts +2 -5
- package/dist/collapse/CollapsePanel.d.ts +2 -2
- package/dist/collapse/style/index.d.ts +2 -2
- package/dist/collapse/style/index.js +7 -7
- package/dist/color-picker/ColorPicker.d.ts +4 -6
- package/dist/color-picker/ColorPicker.js +17 -9
- package/dist/color-picker/ColorPickerPanel.d.ts +2 -4
- package/dist/color-picker/ColorPickerPanel.js +5 -0
- package/dist/color-picker/color.js +1 -1
- package/dist/color-picker/components/ColorAlphaInput.d.ts +2 -2
- package/dist/color-picker/components/ColorClear.d.ts +2 -3
- package/dist/color-picker/components/ColorClear.js +11 -11
- package/dist/color-picker/components/ColorHexInput.d.ts +2 -2
- package/dist/color-picker/components/ColorHsbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorInput.d.ts +2 -4
- package/dist/color-picker/components/ColorPresets.d.ts +2 -2
- package/dist/color-picker/components/ColorRgbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorSlider.d.ts +3 -3
- package/dist/color-picker/components/ColorSteppers.d.ts +2 -2
- package/dist/color-picker/components/ColorTrigger.d.ts +5 -5
- package/dist/color-picker/components/ColorTrigger.js +27 -6
- package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/index.d.ts +2 -2
- package/dist/color-picker/components/PanelPresets.d.ts +2 -2
- package/dist/color-picker/context.d.ts +3 -3
- package/dist/color-picker/hooks/useModeColor.d.ts +2 -2
- package/dist/color-picker/interface.d.ts +7 -2
- package/dist/color-picker/style/index.d.ts +2 -2
- package/dist/color-picker/style/index.js +27 -27
- package/dist/color-picker/style/input.js +2 -2
- package/dist/color-picker/style/presets.js +4 -4
- package/dist/color-picker/style/slider.js +12 -12
- package/dist/components.d.ts +45 -45
- package/dist/components.js +4 -3
- package/dist/config-provider/DisabledContext.d.ts +2 -2
- package/dist/config-provider/SizeContext.d.ts +6 -3
- package/dist/config-provider/SizeContext.js +3 -0
- package/dist/config-provider/context.d.ts +41 -28
- package/dist/config-provider/defaultRenderEmpty.d.ts +2 -2
- package/dist/config-provider/hooks/useCSSVarCls.d.ts +2 -2
- package/dist/config-provider/hooks/useConfig.d.ts +3 -3
- package/dist/config-provider/hooks/useSize.d.ts +2 -2
- package/dist/config-provider/hooks/useTheme.d.ts +2 -2
- package/dist/config-provider/index.d.ts +4 -4
- package/dist/config-provider/index.js +1 -0
- package/dist/date-picker/PickerButton.d.ts +2 -2
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -5
- package/dist/date-picker/generatePicker/generateRangePicker.js +10 -3
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +7 -20
- package/dist/date-picker/generatePicker/generateSinglePicker.js +7 -2
- package/dist/date-picker/generatePicker/index.d.ts +8 -22
- package/dist/date-picker/generatePicker/useComponents.d.ts +12 -12
- package/dist/date-picker/index.d.ts +13 -37
- package/dist/date-picker/style/index.d.ts +2 -2
- package/dist/date-picker/style/index.js +68 -64
- package/dist/date-picker/style/multiple.js +3 -3
- package/dist/date-picker/style/panel.js +81 -81
- package/dist/date-picker/style/token.js +0 -1
- package/dist/date-picker/style/util.js +28 -24
- package/dist/date-picker/util.d.ts +3 -3
- package/dist/descriptions/Cell.d.ts +2 -2
- package/dist/descriptions/Row.d.ts +2 -4
- package/dist/descriptions/constant.js +1 -0
- package/dist/descriptions/hooks/useItems.d.ts +10 -10
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/index.d.ts +2 -4
- package/dist/descriptions/style/index.d.ts +2 -2
- package/dist/descriptions/style/index.js +15 -15
- package/dist/divider/index.d.ts +2 -2
- package/dist/divider/index.js +2 -2
- package/dist/divider/style/index.d.ts +2 -2
- package/dist/divider/style/index.js +1 -1
- package/dist/drawer/DrawerPanel.d.ts +2 -2
- package/dist/drawer/index.d.ts +6 -7
- package/dist/drawer/index.js +14 -12
- package/dist/drawer/style/index.d.ts +2 -2
- package/dist/drawer/style/index.js +40 -40
- package/dist/drawer/useFocusable.d.ts +2 -2
- package/dist/dropdown/dropdown.d.ts +2 -5
- package/dist/dropdown/dropdown.js +4 -4
- package/dist/dropdown/style/index.d.ts +2 -2
- package/dist/dropdown/style/index.js +36 -36
- package/dist/dropdown/style/status.js +1 -1
- package/dist/empty/empty.d.ts +2 -2
- package/dist/empty/index.d.ts +5 -7
- package/dist/empty/index.js +2 -2
- package/dist/empty/simple.d.ts +2 -2
- package/dist/empty/style/index.d.ts +2 -2
- package/dist/empty/style/index.js +2 -2
- package/dist/flex/index.d.ts +2 -4
- package/dist/flex/index.js +5 -1
- package/dist/flex/style/index.d.ts +2 -2
- package/dist/flex/style/index.js +3 -3
- package/dist/float-button/BackTop.d.ts +2 -5
- package/dist/float-button/BackTop.js +2 -2
- package/dist/float-button/FloatButton.d.ts +2 -5
- package/dist/float-button/FloatButton.js +2 -2
- package/dist/float-button/FloatButtonGroup.d.ts +2 -5
- package/dist/float-button/FloatButtonGroup.js +2 -2
- package/dist/float-button/PurePanel.d.ts +2 -2
- package/dist/float-button/context.d.ts +3 -3
- package/dist/float-button/style/button.js +9 -9
- package/dist/float-button/style/group.js +9 -9
- package/dist/float-button/style/index.d.ts +2 -2
- package/dist/float-button/style/index.js +0 -1
- package/dist/form/ErrorList.d.ts +2 -2
- package/dist/form/Form.d.ts +4 -5
- package/dist/form/Form.js +15 -2
- package/dist/form/FormItem/ItemHolder.d.ts +4 -5
- package/dist/form/FormItem/StatusProvider.d.ts +2 -2
- package/dist/form/FormItem/index.d.ts +5 -11
- package/dist/form/FormItemInput.d.ts +2 -2
- package/dist/form/FormItemInput.js +2 -9
- package/dist/form/FormItemLabel.d.ts +9 -9
- package/dist/form/FormItemLabel.js +13 -14
- package/dist/form/context.d.ts +10 -10297
- package/dist/form/hooks/useVariant.d.ts +2 -2
- package/dist/form/index.d.ts +2 -2
- package/dist/form/style/explain.js +11 -9
- package/dist/form/style/fallbackCmp.d.ts +4 -4
- package/dist/form/style/index.d.ts +2 -2
- package/dist/form/style/index.js +40 -40
- package/dist/grid/col.d.ts +3 -2
- package/dist/grid/col.js +11 -9
- package/dist/grid/hooks/useBreakpoint.d.ts +4 -2
- package/dist/grid/hooks/useGutter.js +2 -1
- package/dist/grid/index.d.ts +5 -4
- package/dist/grid/row.d.ts +3 -4
- package/dist/grid/row.js +1 -1
- package/dist/grid/style/index.d.ts +3 -3
- package/dist/grid/style/index.js +3 -3
- package/dist/image/PreviewGroup.d.ts +12 -12
- package/dist/image/PreviewGroup.js +2 -2
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +10 -10
- package/dist/image/index.d.ts +3 -6
- package/dist/image/index.js +2 -2
- package/dist/image/style/index.d.ts +2 -2
- package/dist/image/style/index.js +29 -29
- package/dist/index.d.ts +42 -42
- package/dist/index.js +3 -3
- package/dist/input/Group.d.ts +3 -5
- package/dist/input/Input.d.ts +2 -5
- package/dist/input/OTP/OTPInput.d.ts +3 -5
- package/dist/input/OTP/index.d.ts +2 -5
- package/dist/input/Password.d.ts +2 -4
- package/dist/input/Password.js +2 -2
- package/dist/input/Search.d.ts +2 -4
- package/dist/input/TextArea.d.ts +3 -5
- package/dist/input/TextArea.js +2 -1
- package/dist/input/index.d.ts +9 -19
- package/dist/input/style/index.d.ts +3 -3
- package/dist/input/style/index.js +58 -58
- package/dist/input/style/otp.d.ts +2 -2
- package/dist/input/style/otp.js +5 -5
- package/dist/input/style/search.d.ts +2 -2
- package/dist/input/style/search.js +1 -1
- package/dist/input/style/textarea.d.ts +2 -2
- package/dist/input/style/textarea.js +7 -7
- package/dist/input/style/variants.js +25 -25
- package/dist/input-number/index.d.ts +4 -5
- package/dist/input-number/index.js +4 -0
- package/dist/input-number/style/index.d.ts +2 -2
- package/dist/input-number/style/index.js +26 -26
- package/dist/input-number/style/token.js +0 -1
- package/dist/layout/Sider.d.ts +4 -6
- package/dist/layout/Sider.js +4 -3
- package/dist/layout/index.d.ts +5 -7
- package/dist/layout/layout.d.ts +5 -5
- package/dist/layout/style/index.d.ts +2 -2
- package/dist/layout/style/index.js +5 -5
- package/dist/layout/style/sider.d.ts +2 -2
- package/dist/layout/style/sider.js +19 -19
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/useLocale.d.ts +2 -2
- package/dist/masonry/Masonry.d.ts +2 -5
- package/dist/masonry/Masonry.js +3 -4
- package/dist/masonry/MasonryItem.d.ts +2 -2
- package/dist/masonry/hooks/usePositions.d.ts +2 -2
- package/dist/masonry/style/index.d.ts +2 -2
- package/dist/masonry/style/index.js +10 -10
- package/dist/mentions/index.d.ts +2 -5
- package/dist/mentions/index.js +2 -2
- package/dist/mentions/style/index.d.ts +2 -2
- package/dist/mentions/style/index.js +45 -45
- package/dist/menu/MenuContext.d.ts +3 -3
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuItem.d.ts +2 -4
- package/dist/menu/MenuItem.js +1 -1
- package/dist/menu/OverrideContext.d.ts +3 -3
- package/dist/menu/SubMenu.d.ts +2 -4
- package/dist/menu/index.d.ts +3 -7
- package/dist/menu/index.js +6 -6
- package/dist/menu/menu.d.ts +3 -6
- package/dist/menu/menu.js +2 -2
- package/dist/menu/style/horizontal.js +5 -5
- package/dist/menu/style/index.d.ts +2 -2
- package/dist/menu/style/index.js +39 -39
- package/dist/menu/style/theme.js +11 -11
- package/dist/menu/style/vertical.js +13 -13
- package/dist/message/PurePanel.d.ts +3 -3
- package/dist/message/interface.d.ts +1 -1
- package/dist/message/style/index.d.ts +2 -2
- package/dist/message/style/index.js +6 -6
- package/dist/message/useMessage.d.ts +3 -3
- package/dist/modal/ConfirmDialog.d.ts +4 -6
- package/dist/modal/ConfirmDialog.js +11 -5
- package/dist/modal/Modal.d.ts +2 -4
- package/dist/modal/Modal.js +10 -8
- package/dist/modal/PurePanel.d.ts +4 -2
- package/dist/modal/PurePanel.js +27 -22
- package/dist/modal/components/ConfirmCancelBtn.d.ts +2 -2
- package/dist/modal/components/ConfirmOkBtn.d.ts +2 -2
- package/dist/modal/components/NormalCancelBtn.d.ts +2 -2
- package/dist/modal/components/NormalOkBtn.d.ts +2 -2
- package/dist/modal/interface.d.ts +5 -3
- package/dist/modal/shared.d.ts +4 -4
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +2 -2
- package/dist/modal/style/index.js +25 -25
- package/dist/modal/useModal/HookModal.d.ts +3 -5
- package/dist/notification/PurePanel.d.ts +3 -3
- package/dist/notification/style/index.d.ts +2 -2
- package/dist/notification/style/index.js +32 -32
- package/dist/notification/style/pure-panel.d.ts +4 -4
- package/dist/notification/style/stack.js +2 -2
- package/dist/notification/useNotification.d.ts +3 -3
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.d.ts +2 -4
- package/dist/pagination/Pagination.js +2 -2
- package/dist/pagination/interface.d.ts +0 -1
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/bordered.js +2 -2
- package/dist/pagination/style/index.d.ts +2 -2
- package/dist/pagination/style/index.js +63 -63
- package/dist/popconfirm/PurePanel.d.ts +3 -3
- package/dist/popconfirm/index.d.ts +3 -4
- package/dist/popconfirm/index.js +8 -6
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popconfirm/style/index.js +2 -2
- package/dist/popover/PurePanel.d.ts +4 -4
- package/dist/popover/PurePanel.js +2 -2
- package/dist/popover/index.d.ts +2 -4
- package/dist/popover/index.js +2 -2
- package/dist/popover/style/index.d.ts +2 -2
- package/dist/popover/style/index.js +15 -15
- package/dist/progress/Circle.d.ts +3 -5
- package/dist/progress/Line.d.ts +3 -5
- package/dist/progress/Steps.d.ts +2 -4
- package/dist/progress/progress.d.ts +2 -4
- package/dist/progress/style/index.d.ts +2 -2
- package/dist/progress/style/index.js +18 -17
- package/dist/qrcode/QrcodeStatus.d.ts +2 -2
- package/dist/qrcode/index.d.ts +2 -4
- package/dist/qrcode/interface.d.ts +0 -1
- package/dist/qrcode/style/index.d.ts +2 -2
- package/dist/qrcode/style/index.js +9 -9
- package/dist/radio/group.d.ts +2 -4
- package/dist/radio/group.js +2 -2
- package/dist/radio/index.d.ts +3 -7
- package/dist/radio/interface.d.ts +0 -1
- package/dist/radio/radio.d.ts +2 -4
- package/dist/radio/radio.js +11 -5
- package/dist/radio/radioButton.d.ts +2 -4
- package/dist/radio/style/index.d.ts +2 -2
- package/dist/radio/style/index.js +101 -128
- package/dist/rate/index.d.ts +2 -5
- package/dist/rate/style/index.d.ts +2 -2
- package/dist/rate/style/index.js +14 -14
- package/dist/result/index.d.ts +2 -4
- package/dist/result/index.js +2 -2
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/style/index.d.ts +2 -2
- package/dist/result/style/index.js +4 -4
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +2 -5
- package/dist/segmented/index.js +2 -2
- package/dist/segmented/style/index.d.ts +2 -2
- package/dist/segmented/style/index.js +12 -12
- package/dist/select/index.d.ts +4 -7
- package/dist/select/index.js +31 -31
- package/dist/select/style/dropdown.js +16 -16
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/style/index.js +21 -21
- package/dist/select/style/select-input-customize.js +2 -2
- package/dist/select/style/select-input-multiple.js +20 -20
- package/dist/select/style/select-input.js +50 -40
- package/dist/select/useIcons.d.ts +7 -5
- package/dist/select/useIcons.js +2 -2
- package/dist/select/usePopupRender.d.ts +2 -2
- package/dist/skeleton/Avatar.d.ts +2 -2
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Button.js +1 -1
- package/dist/skeleton/Element.d.ts +2 -2
- package/dist/skeleton/Image.d.ts +4 -4
- package/dist/skeleton/Image.js +10 -12
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +3 -4
- package/dist/skeleton/Node.js +10 -4
- package/dist/skeleton/Paragraph.d.ts +2 -2
- package/dist/skeleton/Skeleton.d.ts +3 -5
- package/dist/skeleton/Skeleton.js +1 -1
- package/dist/skeleton/Title.d.ts +2 -2
- package/dist/skeleton/index.d.ts +1 -1
- package/dist/skeleton/index.js +1 -1
- package/dist/skeleton/style/index.d.ts +2 -2
- package/dist/skeleton/style/index.js +6 -6
- package/dist/slider/SliderTooltip.d.ts +3 -3
- package/dist/slider/index.d.ts +2 -5
- package/dist/slider/style/index.d.ts +2 -2
- package/dist/slider/style/index.js +35 -35
- package/dist/space/Addon.d.ts +2 -2
- package/dist/space/Compact.d.ts +6 -6
- package/dist/space/Item.d.ts +2 -4
- package/dist/space/index.d.ts +4 -6
- package/dist/space/index.js +2 -2
- package/dist/space/style/addon.d.ts +2 -2
- package/dist/space/style/addon.js +9 -9
- package/dist/space/style/compact.d.ts +2 -2
- package/dist/space/style/compact.js +1 -1
- package/dist/space/style/index.d.ts +2 -2
- package/dist/space/style/index.js +2 -2
- package/dist/spin/Indicator/Looper.d.ts +2 -2
- package/dist/spin/Indicator/Progress.d.ts +2 -2
- package/dist/spin/Indicator/index.d.ts +2 -2
- package/dist/spin/index.d.ts +20 -11
- package/dist/spin/index.js +64 -41
- package/dist/spin/style/index.d.ts +2 -2
- package/dist/spin/style/index.js +131 -152
- package/dist/spin/usePercent.d.ts +2 -2
- package/dist/splitter/Panel.d.ts +2 -2
- package/dist/splitter/Panel.js +1 -1
- package/dist/splitter/SplitBar.d.ts +3 -2
- package/dist/splitter/SplitBar.js +14 -1
- package/dist/splitter/Splitter.d.ts +2 -4
- package/dist/splitter/Splitter.js +41 -17
- package/dist/splitter/hooks/useResizable.d.ts +2 -2
- package/dist/splitter/hooks/useResize.d.ts +2 -2
- package/dist/splitter/hooks/useSizes.d.ts +2 -2
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/interface.d.ts +8 -9
- package/dist/splitter/style/index.d.ts +2 -2
- package/dist/splitter/style/index.js +28 -28
- package/dist/statistic/Number.d.ts +2 -2
- package/dist/statistic/Statistic.d.ts +3 -6
- package/dist/statistic/Timer.d.ts +5 -8
- package/dist/statistic/index.d.ts +5 -7
- package/dist/statistic/style/index.d.ts +2 -2
- package/dist/steps/PanelArrow.d.ts +2 -2
- package/dist/steps/ProgressIcon.d.ts +2 -2
- package/dist/steps/index.d.ts +2 -5
- package/dist/steps/index.js +2 -2
- package/dist/steps/style/index.d.ts +2 -2
- package/dist/steps/style/inline.js +7 -7
- package/dist/steps/style/nav.js +5 -5
- package/dist/steps/style/panel.js +4 -4
- package/dist/steps/style/progress-dot.js +1 -1
- package/dist/steps/style/progress.js +7 -7
- package/dist/steps/style/vertical.js +2 -2
- package/dist/style/placementArrow.js +6 -5
- package/dist/switch/index.d.ts +4 -5
- package/dist/switch/index.js +4 -1
- package/dist/switch/style/index.d.ts +2 -2
- package/dist/switch/style/index.js +12 -12
- package/dist/table/Column.d.ts +2 -4
- package/dist/table/ColumnGroup.d.ts +2 -4
- package/dist/table/ExpandIcon.d.ts +2 -2
- package/dist/table/InternalTable.d.ts +2 -5
- package/dist/table/InternalTable.js +9 -11
- package/dist/table/Table.d.ts +2 -4
- package/dist/table/Table.js +4 -4
- package/dist/table/TableMeasureRowContext.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterDropdown.d.ts +4 -8
- package/dist/table/hooks/useFilter/FilterDropdown.js +2 -2
- package/dist/table/hooks/useFilter/FilterSearch.d.ts +2 -2
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +4 -7
- package/dist/table/hooks/useFilter/index.d.ts +19 -19
- package/dist/table/hooks/usePagination.d.ts +2 -2
- package/dist/table/hooks/useSelection.d.ts +2 -2
- package/dist/table/hooks/useSorter.d.ts +2 -2
- package/dist/table/style/bordered.js +1 -1
- package/dist/table/style/expand.js +12 -12
- package/dist/table/style/filter.js +18 -18
- package/dist/table/style/fixed.js +3 -3
- package/dist/table/style/index.d.ts +2 -2
- package/dist/table/style/index.js +9 -9
- package/dist/table/style/pagination.js +3 -3
- package/dist/table/style/radius.js +4 -4
- package/dist/table/style/rtl.js +1 -1
- package/dist/table/style/selection.js +4 -4
- package/dist/table/style/sorter.js +14 -14
- package/dist/table/style/sticky.js +15 -15
- package/dist/table/style/summary.js +3 -3
- package/dist/tabs/TabPane.d.ts +2 -4
- package/dist/tabs/hooks/useLegacyItems.d.ts +2 -2
- package/dist/tabs/index.d.ts +2 -5
- package/dist/tabs/index.js +2 -2
- package/dist/tabs/style/index.d.ts +2 -2
- package/dist/tabs/style/index.js +94 -91
- package/dist/tabs/style/motion.js +4 -4
- package/dist/tag/CheckableTag.d.ts +2 -5
- package/dist/tag/CheckableTagGroup.d.ts +2 -5
- package/dist/tag/hooks/useColor.d.ts +2 -2
- package/dist/tag/index.d.ts +2 -5
- package/dist/tag/index.js +2 -2
- package/dist/tag/style/index.d.ts +2 -2
- package/dist/tag/style/index.js +32 -32
- package/dist/tag/style/presetCmp.d.ts +4 -4
- package/dist/tag/style/statusCmp.d.ts +4 -4
- package/dist/theme/context.d.ts +3 -3
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/interface/alias.d.ts +22 -1
- package/dist/theme/themes/dark/index.js +11 -0
- package/dist/theme/themes/default/theme.d.ts +2 -2
- package/dist/theme/themes/shared/genColorMapToken.js +11 -0
- package/dist/theme/util/alias.js +4 -0
- package/dist/theme/util/genStyleUtils.d.ts +14 -14
- package/dist/time-picker/index.d.ts +4 -12
- package/dist/time-picker/index.js +10 -0
- package/dist/timeline/Timeline.d.ts +2 -4
- package/dist/timeline/style/index.d.ts +2 -2
- package/dist/timeline/style/index.js +2 -2
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/MotionContent.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/hooks/useMergedArrow.d.ts +1 -1
- package/dist/tooltip/hooks/useMergedArrow.js +2 -2
- package/dist/tooltip/index.d.ts +2 -5
- package/dist/tooltip/index.js +2 -2
- package/dist/tooltip/style/index.d.ts +2 -2
- package/dist/tooltip/style/index.js +11 -11
- package/dist/tour/PurePanel.d.ts +2 -2
- package/dist/tour/index.d.ts +2 -4
- package/dist/tour/index.js +2 -2
- package/dist/tour/interface.d.ts +1 -2
- package/dist/tour/panelRender.d.ts +2 -2
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/tour/style/index.js +34 -34
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +2 -2
- package/dist/transfer/ListItem.js +1 -1
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Section.js +3 -2
- package/dist/transfer/Transfer.d.ts +2 -4
- package/dist/transfer/Transfer.js +2 -2
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/interface.d.ts +0 -1
- package/dist/transfer/search.d.ts +2 -5
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/transfer/style/index.js +35 -35
- package/dist/tree/DirectoryTree.d.ts +2 -4
- package/dist/tree/DirectoryTree.js +7 -5
- package/dist/tree/Tree.d.ts +3 -5
- package/dist/tree/Tree.js +6 -5
- package/dist/tree/style/directory.js +3 -3
- package/dist/tree/style/index.d.ts +2 -2
- package/dist/tree/style/index.js +60 -51
- package/dist/tree/utils/dropIndicator.d.ts +2 -2
- package/dist/tree/utils/iconUtil.d.ts +2 -2
- package/dist/tree-select/index.d.ts +5 -6
- package/dist/tree-select/index.js +10 -2
- package/dist/tree-select/style/index.d.ts +2 -2
- package/dist/typography/Base/CopyBtn.d.ts +2 -5
- package/dist/typography/Base/Ellipsis.d.ts +3 -5
- package/dist/typography/Base/Ellipsis.js +20 -19
- package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
- package/dist/typography/Base/index.d.ts +2 -4
- package/dist/typography/Base/index.js +8 -3
- package/dist/typography/Base/util.js +1 -1
- package/dist/typography/Editable.d.ts +2 -4
- package/dist/typography/Link.d.ts +2 -4
- package/dist/typography/Paragraph.d.ts +2 -4
- package/dist/typography/Text.d.ts +2 -4
- package/dist/typography/Title.d.ts +2 -4
- package/dist/typography/Title.js +1 -1
- package/dist/typography/Typography.d.ts +2 -4
- package/dist/typography/hooks/useCopyClick.d.ts +3 -3
- package/dist/typography/hooks/useMergedConfig.d.ts +2 -2
- package/dist/typography/hooks/useTooltipProps.d.ts +2 -2
- package/dist/typography/index.d.ts +5 -13
- package/dist/typography/interface.d.ts +0 -1
- package/dist/typography/style/index.d.ts +2 -2
- package/dist/typography/style/index.js +3 -3
- package/dist/typography/style/mixins.js +15 -15
- package/dist/upload/Dragger.d.ts +3 -5
- package/dist/upload/Upload.d.ts +2 -4
- package/dist/upload/Upload.js +6 -6
- package/dist/upload/UploadList/ListItem.d.ts +2 -4
- package/dist/upload/UploadList/index.d.ts +2 -4
- package/dist/upload/UploadList/index.js +3 -3
- package/dist/upload/index.d.ts +3 -5
- package/dist/upload/interface.d.ts +3 -4
- package/dist/upload/style/dragger.js +5 -5
- package/dist/upload/style/index.d.ts +2 -2
- package/dist/upload/style/index.js +1 -1
- package/dist/upload/style/list.js +17 -17
- package/dist/upload/style/picture.js +18 -17
- package/dist/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/global.d.ts +1 -1
- package/package.json +15 -15
- package/web-tags.json +1822 -1818
- package/web-types.json +5401 -5403
- package/dist/cascader/hooks/useColumnIcons.d.ts +0 -10
- package/dist/cascader/hooks/useColumnIcons.js +0 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmptyEmit } from "./type.js";
|
|
2
2
|
import { ButtonProps, LegacyButtonType } from "../button/Button.js";
|
|
3
3
|
import "../button/index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue18 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/_util/ActionButton.d.ts
|
|
@@ -20,8 +20,6 @@ interface ActionButtonProps {
|
|
|
20
20
|
interface ActionButtonSlots {
|
|
21
21
|
default?: () => any;
|
|
22
22
|
}
|
|
23
|
-
declare const ActionButton:
|
|
24
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
25
|
-
}, vue761.PublicProps>;
|
|
23
|
+
declare const ActionButton: vue18.DefineSetupFnComponent<ActionButtonProps, EmptyEmit, SlotsType<ActionButtonSlots>, ActionButtonProps, vue18.PublicProps>;
|
|
26
24
|
//#endregion
|
|
27
25
|
export { ActionButtonProps, ActionButtonSlots, ActionButton as default };
|
|
@@ -29,10 +29,10 @@ const ActionButton = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
29
29
|
const onInternalClose = (...args) => {
|
|
30
30
|
props.close?.(...args);
|
|
31
31
|
};
|
|
32
|
-
const handlePromiseOnOk = (
|
|
33
|
-
if (!isThenable(
|
|
32
|
+
const handlePromiseOnOk = (returnValueOfOnOk) => {
|
|
33
|
+
if (!isThenable(returnValueOfOnOk)) return;
|
|
34
34
|
loading.value = true;
|
|
35
|
-
|
|
35
|
+
returnValueOfOnOk.then((...args) => {
|
|
36
36
|
loading.value = false;
|
|
37
37
|
clicked.value = false;
|
|
38
38
|
onInternalClose(...args);
|
|
@@ -51,25 +51,25 @@ const ActionButton = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
51
51
|
onInternalClose();
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
|
-
let
|
|
54
|
+
let returnValueOfOnOk;
|
|
55
55
|
if (props.emitEvent) {
|
|
56
|
-
|
|
57
|
-
if (props.quitOnNullishReturnValue && !isThenable(
|
|
56
|
+
returnValueOfOnOk = actionFn(e);
|
|
57
|
+
if (props.quitOnNullishReturnValue && !isThenable(returnValueOfOnOk)) {
|
|
58
58
|
clicked.value = false;
|
|
59
59
|
onInternalClose(e);
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
62
|
} else if (actionFn.length) {
|
|
63
|
-
|
|
63
|
+
returnValueOfOnOk = actionFn(onInternalClose);
|
|
64
64
|
clicked.value = false;
|
|
65
65
|
} else {
|
|
66
|
-
|
|
67
|
-
if (!isThenable(
|
|
66
|
+
returnValueOfOnOk = actionFn();
|
|
67
|
+
if (!isThenable(returnValueOfOnOk)) {
|
|
68
68
|
onInternalClose();
|
|
69
69
|
return;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
handlePromiseOnOk(
|
|
72
|
+
handlePromiseOnOk(returnValueOfOnOk);
|
|
73
73
|
};
|
|
74
74
|
return () => {
|
|
75
75
|
const buttonAttrs = props.buttonProps ?? {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue177 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/_util/ContextIsolator.d.ts
|
|
4
|
-
declare const ContextIsolator:
|
|
4
|
+
declare const ContextIsolator: vue177.DefineSetupFnComponent<{
|
|
5
5
|
space?: boolean;
|
|
6
6
|
form?: boolean;
|
|
7
7
|
}, {}, {}, {
|
|
8
8
|
space?: boolean;
|
|
9
9
|
form?: boolean;
|
|
10
|
-
} & {},
|
|
10
|
+
} & {}, vue177.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ContextIsolator };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from "vue";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue_jsx_runtime9 from "vue/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/_util/PurePanel.d.ts
|
|
5
5
|
interface BaseProps {
|
|
@@ -7,7 +7,7 @@ interface BaseProps {
|
|
|
7
7
|
style?: CSSProperties;
|
|
8
8
|
open?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare function withPureRenderTheme(Component: any): (props: any) =>
|
|
11
|
-
declare function genPurePanel(Component: any, alignPropName?: 'align' | 'dropdownAlign' | 'popupAlign', postProps?: (props: any) => any, defaultPrefixCls?: string, getDropdownCls?: (prefixCls: string) => string): (props: any) =>
|
|
10
|
+
declare function withPureRenderTheme(Component: any): (props: any) => vue_jsx_runtime9.JSX.Element;
|
|
11
|
+
declare function genPurePanel(Component: any, alignPropName?: 'align' | 'dropdownAlign' | 'popupAlign', postProps?: (props: any) => any, defaultPrefixCls?: string, getDropdownCls?: (prefixCls: string) => string): (props: any) => vue_jsx_runtime9.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { BaseProps, genPurePanel as default, withPureRenderTheme };
|
|
@@ -2,6 +2,6 @@ import { VueNode } from "./type.js";
|
|
|
2
2
|
import { TooltipProps } from "../tooltip/index.js";
|
|
3
3
|
|
|
4
4
|
//#region src/_util/convertToTooltipProps.d.ts
|
|
5
|
-
declare function convertToTooltipProps<P extends TooltipProps>(tooltip?: P | VueNode): P | null;
|
|
5
|
+
declare function convertToTooltipProps<P extends TooltipProps>(tooltip?: P | VueNode, context?: P): P | null;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { convertToTooltipProps as default };
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { isVNode } from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/_util/convertToTooltipProps.ts
|
|
4
|
-
function convertToTooltipProps(tooltip) {
|
|
4
|
+
function convertToTooltipProps(tooltip, context) {
|
|
5
5
|
if (tooltip === void 0 || tooltip === null) return null;
|
|
6
|
-
if (typeof tooltip === "object" && !Array.isArray(tooltip) && !isVNode(tooltip)) return
|
|
7
|
-
|
|
6
|
+
if (typeof tooltip === "object" && !Array.isArray(tooltip) && !isVNode(tooltip)) return {
|
|
7
|
+
...context,
|
|
8
|
+
...tooltip
|
|
9
|
+
};
|
|
10
|
+
return {
|
|
11
|
+
...context,
|
|
12
|
+
title: tooltip
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MaskConfig, MaskType, useMergedMask } from "./useMergedMask.js";
|
|
2
|
-
import { Resolvable, SemanticClassNames, SemanticClassNamesType, SemanticSchema, SemanticStyles, SemanticStylesType, getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useToArr, useToProps } from "./useMergeSemantic.js";
|
|
1
|
+
import { MaskConfig, MaskType, normalizeMaskConfig, useMergedMask } from "./useMergedMask.js";
|
|
2
|
+
import { Resolvable, SemanticClassNames, SemanticClassNamesType, SemanticSchema, SemanticStyles, SemanticStylesType, SemanticType, getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useToArr, useToProps } from "./useMergeSemantic.js";
|
|
3
3
|
import { PrevSelectedIndex, useMultipleSelect } from "./useMultipleSelect.js";
|
|
4
4
|
import { Orientation, useOrientation } from "./useOrientation.js";
|
|
5
5
|
import { CONTAINER_MAX_OFFSET, ZIndexConsumer, ZIndexContainer, consumerBaseZIndexOffset, containerBaseZIndexOffset, useZIndex } from "./useZIndex.js";
|
|
6
|
-
export { CONTAINER_MAX_OFFSET, MaskConfig, MaskType, Orientation, PrevSelectedIndex, Resolvable, SemanticClassNames, SemanticClassNamesType, SemanticSchema, SemanticStyles, SemanticStylesType, ZIndexConsumer, ZIndexContainer, consumerBaseZIndexOffset, containerBaseZIndexOffset, getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useMergedMask, useMultipleSelect, useOrientation, useToArr, useToProps, useZIndex };
|
|
6
|
+
export { CONTAINER_MAX_OFFSET, MaskConfig, MaskType, Orientation, PrevSelectedIndex, Resolvable, SemanticClassNames, SemanticClassNamesType, SemanticSchema, SemanticStyles, SemanticStylesType, SemanticType, ZIndexConsumer, ZIndexContainer, consumerBaseZIndexOffset, containerBaseZIndexOffset, getAttrStyleAndClass, mergeClassNames, mergeStyles, normalizeMaskConfig, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useMergedMask, useMultipleSelect, useOrientation, useToArr, useToProps, useZIndex };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useMergedMask } from "./useMergedMask.js";
|
|
1
|
+
import { normalizeMaskConfig, useMergedMask } from "./useMergedMask.js";
|
|
2
2
|
import { getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useToArr, useToProps } from "./useMergeSemantic.js";
|
|
3
3
|
import { useMultipleSelect } from "./useMultipleSelect.js";
|
|
4
4
|
import { useOrientation } from "./useOrientation.js";
|
|
5
5
|
import { CONTAINER_MAX_OFFSET, consumerBaseZIndexOffset, containerBaseZIndexOffset, useZIndex } from "./useZIndex.js";
|
|
6
6
|
|
|
7
|
-
export { CONTAINER_MAX_OFFSET, consumerBaseZIndexOffset, containerBaseZIndexOffset, getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useMergedMask, useMultipleSelect, useOrientation, useToArr, useToProps, useZIndex };
|
|
7
|
+
export { CONTAINER_MAX_OFFSET, consumerBaseZIndexOffset, containerBaseZIndexOffset, getAttrStyleAndClass, mergeClassNames, mergeStyles, normalizeMaskConfig, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useMergedMask, useMultipleSelect, useOrientation, useToArr, useToProps, useZIndex };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RenderNodeFn, VueNode } from "../type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue89 from "vue";
|
|
3
3
|
import { AriaAttributes, Ref, VNodeChild } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/_util/hooks/useClosable.d.ts
|
|
@@ -36,7 +36,7 @@ interface UseClosableParams {
|
|
|
36
36
|
customCloseIconRender?: (closeIcon: VNodeChild) => VNodeChild;
|
|
37
37
|
context?: ContextClosable;
|
|
38
38
|
}
|
|
39
|
-
declare function useClosable(propCloseCollection?: Ref<ClosableCollection>, contextCloseCollection?: Ref<ClosableCollection | null>, fallbackCloseCollection?: Ref<FallbackCloseCollection>):
|
|
39
|
+
declare function useClosable(propCloseCollection?: Ref<ClosableCollection>, contextCloseCollection?: Ref<ClosableCollection | null>, fallbackCloseCollection?: Ref<FallbackCloseCollection>): vue89.ComputedRef<readonly [true, vue89.VNode<vue89.RendererNode, vue89.RendererElement, {
|
|
40
40
|
[key: string]: any;
|
|
41
41
|
}>, boolean, Record<string, any>] | ({} | null)[] | undefined>;
|
|
42
42
|
declare function computeClosable(propCloseCollection?: Ref<ClosableCollection>, contextCloseCollection?: Ref<ClosableCollection | null>, fallbackCloseCollection?: Ref<FallbackCloseCollection>, closeLabel?: string): [closable: boolean, closeIcon: VueNode, closeBtnIsDisabled: boolean, ariaOrDataProps: AriaAttributes & DataAttributes];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnyObject, EmptyObject, ValidChar } from "../type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue950 from "vue";
|
|
3
3
|
import { CSSProperties, Ref } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/_util/hooks/useMergeSemantic.d.ts
|
|
@@ -13,6 +13,9 @@ type SemanticStyles<Name extends string> = Partial<Record<Name, CSSProperties>>;
|
|
|
13
13
|
type Resolvable<T, P extends AnyObject> = T | ((info: {
|
|
14
14
|
props: P;
|
|
15
15
|
}) => T);
|
|
16
|
+
type SemanticType<P = any, T = any> = T | ((info: {
|
|
17
|
+
props: P;
|
|
18
|
+
}) => T);
|
|
16
19
|
type SemanticClassNamesType<Props extends AnyObject, SemanticClassNames extends { [K in keyof SemanticClassNames]?: string }, NestedStructure extends EmptyObject = EmptyObject> = Resolvable<Readonly<SemanticClassNames>, Props> & NestedStructure;
|
|
17
20
|
type SemanticStylesType<Props extends AnyObject, SemanticStyles extends { [K in keyof SemanticStyles]?: CSSProperties }, NestedStructure extends EmptyObject = EmptyObject> = Resolvable<Readonly<SemanticStyles>, Props> & NestedStructure;
|
|
18
21
|
declare function mergeClassNames<Name extends string, SemanticClassNames extends Partial<Record<Name, any>>>(schema?: SemanticSchema, ...classNames: (SemanticClassNames | undefined)[]): SemanticClassNames;
|
|
@@ -34,12 +37,12 @@ type ObjectOnly<T> = T extends ((...args: any) => any) ? never : T;
|
|
|
34
37
|
*/
|
|
35
38
|
declare function useMergeSemantic<ClassNamesType extends AnyObject, StylesType extends AnyObject, Props extends AnyObject>(classNamesList: Ref<MaybeFn<ClassNamesType, Props>[]>, stylesList: Ref<MaybeFn<StylesType, Props>[]>, info: Ref<{
|
|
36
39
|
props: Props;
|
|
37
|
-
}>, schema?: Ref<SemanticSchema>): readonly [
|
|
40
|
+
}>, schema?: Ref<SemanticSchema>): readonly [vue950.ComputedRef<ObjectOnly<ClassNamesType>>, vue950.ComputedRef<ObjectOnly<StylesType>>];
|
|
38
41
|
declare function useMergeSemanticNoRef<ClassNamesType extends AnyObject, StylesType extends AnyObject, Props extends AnyObject>(classNamesList: MaybeFn<ClassNamesType, Props>[], stylesList: MaybeFn<StylesType, Props>[], info: {
|
|
39
42
|
props: Props;
|
|
40
43
|
}, schema?: SemanticSchema): readonly [ObjectOnly<ClassNamesType>, ObjectOnly<StylesType>];
|
|
41
|
-
declare function useToArr<T = any>(...args: Ref<T | undefined>[]):
|
|
42
|
-
declare function useToProps<T>(props: Ref<T>):
|
|
44
|
+
declare function useToArr<T = any>(...args: Ref<T | undefined>[]): vue950.ComputedRef<(T | undefined)[]>;
|
|
45
|
+
declare function useToProps<T>(props: Ref<T>): vue950.ComputedRef<{
|
|
43
46
|
props: T;
|
|
44
47
|
}>;
|
|
45
48
|
interface RemoveBaseAttributesOptions {
|
|
@@ -56,4 +59,4 @@ declare function getAttrStyleAndClass(attrs: Record<string, any>, options?: Remo
|
|
|
56
59
|
restAttrs: Record<string, any>;
|
|
57
60
|
};
|
|
58
61
|
//#endregion
|
|
59
|
-
export { Resolvable, SemanticClassNames, SemanticClassNamesType, SemanticSchema, SemanticStyles, SemanticStylesType, getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useToArr, useToProps };
|
|
62
|
+
export { Resolvable, SemanticClassNames, SemanticClassNamesType, SemanticSchema, SemanticStyles, SemanticStylesType, SemanticType, getAttrStyleAndClass, mergeClassNames, mergeStyles, pureAttrs, resolveStyleOrClass, useMergeSemantic, useMergeSemanticNoRef, useToArr, useToProps };
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue947 from "vue";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/_util/hooks/useMergedMask.d.ts
|
|
5
5
|
interface MaskConfig {
|
|
6
6
|
enabled?: boolean;
|
|
7
7
|
blur?: boolean;
|
|
8
|
+
closable?: boolean;
|
|
8
9
|
}
|
|
9
10
|
type MaskType = MaskConfig | boolean;
|
|
10
|
-
declare function
|
|
11
|
+
declare function normalizeMaskConfig(mask?: MaskType, maskClosable?: boolean): MaskConfig;
|
|
12
|
+
declare function useMergedMask(mask: Ref<MaskType | undefined>, contextMask: Ref<MaskType | undefined>, prefixCls: Ref<string | undefined>, maskClosable?: Ref<boolean | undefined>): readonly [vue947.ComputedRef<boolean>, vue947.ComputedRef<{
|
|
11
13
|
mask: string | undefined;
|
|
12
|
-
}>];
|
|
14
|
+
}>, vue947.ComputedRef<boolean>];
|
|
13
15
|
//#endregion
|
|
14
|
-
export { MaskConfig, MaskType, useMergedMask };
|
|
16
|
+
export { MaskConfig, MaskType, normalizeMaskConfig, useMergedMask };
|
|
@@ -1,29 +1,36 @@
|
|
|
1
|
-
import { computed } from "vue";
|
|
1
|
+
import { computed, unref } from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/_util/hooks/useMergedMask.ts
|
|
4
|
-
function normalizeMaskConfig(mask) {
|
|
5
|
-
|
|
6
|
-
if (typeof mask === "
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return {};
|
|
4
|
+
function normalizeMaskConfig(mask, maskClosable) {
|
|
5
|
+
let maskConfig = {};
|
|
6
|
+
if (mask && typeof mask === "object") maskConfig = mask;
|
|
7
|
+
if (typeof mask === "boolean") maskConfig = { enabled: mask };
|
|
8
|
+
if (maskConfig.closable === void 0 && maskClosable !== void 0) maskConfig.closable = maskClosable;
|
|
9
|
+
return maskConfig;
|
|
11
10
|
}
|
|
12
|
-
function useMergedMask(mask, contextMask, prefixCls) {
|
|
11
|
+
function useMergedMask(mask, contextMask, prefixCls, maskClosable) {
|
|
13
12
|
const context = computed(() => {
|
|
14
|
-
const maskConfig = normalizeMaskConfig(mask.value);
|
|
13
|
+
const maskConfig = normalizeMaskConfig(mask.value, unref(maskClosable));
|
|
14
|
+
const contextMaskConfig = normalizeMaskConfig(contextMask.value);
|
|
15
15
|
const mergedConfig = {
|
|
16
|
-
|
|
17
|
-
...
|
|
16
|
+
blur: false,
|
|
17
|
+
...contextMaskConfig,
|
|
18
|
+
...maskConfig,
|
|
19
|
+
closable: maskConfig.closable ?? unref(maskClosable) ?? contextMaskConfig.closable ?? true
|
|
18
20
|
};
|
|
19
|
-
const className = mergedConfig.blur
|
|
21
|
+
const className = mergedConfig.blur ? `${prefixCls.value}-mask-blur` : void 0;
|
|
20
22
|
return {
|
|
21
23
|
enabled: mergedConfig.enabled !== false,
|
|
22
|
-
classNames: { mask: className }
|
|
24
|
+
classNames: { mask: className },
|
|
25
|
+
closable: !!mergedConfig.closable
|
|
23
26
|
};
|
|
24
27
|
});
|
|
25
|
-
return [
|
|
28
|
+
return [
|
|
29
|
+
computed(() => context.value.enabled),
|
|
30
|
+
computed(() => context.value.classNames),
|
|
31
|
+
computed(() => context.value.closable)
|
|
32
|
+
];
|
|
26
33
|
}
|
|
27
34
|
|
|
28
35
|
//#endregion
|
|
29
|
-
export { useMergedMask };
|
|
36
|
+
export { normalizeMaskConfig, useMergedMask };
|
|
@@ -3,6 +3,6 @@ import { Ref } from "vue";
|
|
|
3
3
|
|
|
4
4
|
//#region src/_util/hooks/useResponsive.d.ts
|
|
5
5
|
declare function convertBreakpointToResponsive<T extends Partial<Record<Breakpoint, any>>>(breakpoints: T): any;
|
|
6
|
-
declare function useResponsive(): Record<
|
|
6
|
+
declare function useResponsive(): Record<"xxxl" | "xxl" | "xl" | "lg" | "md" | "sm" | "xs" | "mobile" | "tablet" | "laptop" | "desktop", Ref<boolean, boolean>>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { convertBreakpointToResponsive, useResponsive };
|
package/dist/_util/instance.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue20 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/_util/responsiveObserver.d.ts
|
|
4
|
-
|
|
4
|
+
declare const responsiveArray: readonly ["xxxl", "xxl", "xl", "lg", "md", "sm", "xs"];
|
|
5
|
+
declare const responsiveArrayReversed: ("xxxl" | "xxl" | "xl" | "lg" | "md" | "sm" | "xs")[];
|
|
6
|
+
type Breakpoint = (typeof responsiveArray)[number];
|
|
5
7
|
type BreakpointMap = Record<Breakpoint, string>;
|
|
6
8
|
type ScreenMap = Partial<Record<Breakpoint, boolean>>;
|
|
7
9
|
type ScreenSizeMap = Partial<Record<Breakpoint, number>>;
|
|
8
|
-
declare const responsiveArray: Breakpoint[];
|
|
9
10
|
type SubscribeFunc = (screens: ScreenMap) => void;
|
|
10
11
|
declare function matchScreen(screens: ScreenMap, screenSizes?: ScreenSizeMap): number | undefined;
|
|
11
12
|
interface ResponsiveObserverType {
|
|
@@ -20,6 +21,6 @@ interface ResponsiveObserverType {
|
|
|
20
21
|
listener: (this: MediaQueryList, ev: MediaQueryListEvent) => void;
|
|
21
22
|
}>;
|
|
22
23
|
}
|
|
23
|
-
declare function useResponsiveObserver():
|
|
24
|
+
declare function useResponsiveObserver(): vue20.ComputedRef<ResponsiveObserverType>;
|
|
24
25
|
//#endregion
|
|
25
|
-
export { Breakpoint, BreakpointMap, ScreenMap, ScreenSizeMap, useResponsiveObserver as default, matchScreen, responsiveArray };
|
|
26
|
+
export { Breakpoint, BreakpointMap, ScreenMap, ScreenSizeMap, useResponsiveObserver as default, matchScreen, responsiveArray, responsiveArrayReversed };
|
|
@@ -5,6 +5,7 @@ import { computed } from "vue";
|
|
|
5
5
|
|
|
6
6
|
//#region src/_util/responsiveObserver.ts
|
|
7
7
|
const responsiveArray = [
|
|
8
|
+
"xxxl",
|
|
8
9
|
"xxl",
|
|
9
10
|
"xl",
|
|
10
11
|
"lg",
|
|
@@ -12,6 +13,7 @@ const responsiveArray = [
|
|
|
12
13
|
"sm",
|
|
13
14
|
"xs"
|
|
14
15
|
];
|
|
16
|
+
const responsiveArrayReversed = [...responsiveArray].reverse();
|
|
15
17
|
function getResponsiveMap(token) {
|
|
16
18
|
return {
|
|
17
19
|
xs: `(max-width: ${token.screenXSMax}px)`,
|
|
@@ -19,7 +21,8 @@ function getResponsiveMap(token) {
|
|
|
19
21
|
md: `(min-width: ${token.screenMD}px)`,
|
|
20
22
|
lg: `(min-width: ${token.screenLG}px)`,
|
|
21
23
|
xl: `(min-width: ${token.screenXL}px)`,
|
|
22
|
-
xxl: `(min-width: ${token.screenXXL}px)
|
|
24
|
+
xxl: `(min-width: ${token.screenXXL}px)`,
|
|
25
|
+
xxxl: `(min-width: ${token.screenXXXL}px)`
|
|
23
26
|
};
|
|
24
27
|
}
|
|
25
28
|
/**
|
|
@@ -103,4 +106,4 @@ function useResponsiveObserver() {
|
|
|
103
106
|
var responsiveObserver_default = useResponsiveObserver;
|
|
104
107
|
|
|
105
108
|
//#endregion
|
|
106
|
-
export { responsiveObserver_default as default, matchScreen, responsiveArray };
|
|
109
|
+
export { responsiveObserver_default as default, matchScreen, responsiveArray, responsiveArrayReversed };
|
|
@@ -4,6 +4,6 @@ import { ValidateStatus } from "../form/FormItem/index.js";
|
|
|
4
4
|
declare const _InputStatuses: readonly ["warning", "error", "", "success", "validating"];
|
|
5
5
|
type InputStatus = (typeof _InputStatuses)[number];
|
|
6
6
|
declare function getStatusClassNames(prefixCls: string, status?: ValidateStatus, hasFeedback?: boolean): string;
|
|
7
|
-
declare function getMergedStatus(contextStatus?: ValidateStatus, customStatus?: InputStatus): "" | "success" | "
|
|
7
|
+
declare function getMergedStatus(contextStatus?: ValidateStatus, customStatus?: InputStatus): "" | "success" | "warning" | "error" | "validating" | undefined;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { InputStatus, getMergedStatus, getStatusClassNames };
|
package/dist/_util/type.d.ts
CHANGED
|
@@ -6,12 +6,8 @@ type EmptyObject = Record<never, never>;
|
|
|
6
6
|
type RenderNodeFn<Args extends any[] = any[]> = (...args: Args) => VNodeChild;
|
|
7
7
|
type VueNode<Args extends any[] = any[]> = RenderNodeFn<Args> | string | number | null | undefined | VNode | boolean;
|
|
8
8
|
type EmitsArrToEvent<T extends Record<string, any>> = { [K in keyof T]: T[K] extends any[] ? (...args: T[K]) => void : T[K] };
|
|
9
|
-
type EmitsType<T extends Record<string, any>> = EmitsArrToEvent<T
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
interface EmptyEmit {
|
|
13
|
-
[key: string]: (...args: any[]) => void;
|
|
14
|
-
}
|
|
9
|
+
type EmitsType<T extends Record<string, any>> = EmitsArrToEvent<T>;
|
|
10
|
+
interface EmptyEmit {}
|
|
15
11
|
type SlotsDefineType<T extends Record<string, any> = Record<string, any>> = {
|
|
16
12
|
default?: () => any;
|
|
17
13
|
} & T;
|
package/dist/_util/vueNode.d.ts
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { AnyObject, VueNode } from "./type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue560 from "vue";
|
|
3
3
|
import { VNodeChild } from "vue";
|
|
4
4
|
import { isFragment } from "@v-c/util/dist/Children/isFragment";
|
|
5
5
|
|
|
6
6
|
//#region src/_util/vueNode.d.ts
|
|
7
7
|
type RenderProps = AnyObject | ((originProps: AnyObject) => AnyObject | undefined);
|
|
8
|
-
declare function replaceElement(element: VNodeChild, replacement: VNodeChild, props?: RenderProps): string | number | boolean | void |
|
|
8
|
+
declare function replaceElement(element: VNodeChild, replacement: VNodeChild, props?: RenderProps): string | number | boolean | void | vue560.VNode<vue560.RendererNode, vue560.RendererElement, {
|
|
9
9
|
[key: string]: any;
|
|
10
|
-
}> |
|
|
11
|
-
declare function cloneElement(element: VNodeChild, props?: RenderProps): string | number | boolean | void |
|
|
10
|
+
}> | vue560.VNodeArrayChildren | null;
|
|
11
|
+
declare function cloneElement(element: VNodeChild, props?: RenderProps): string | number | boolean | void | vue560.VNode<vue560.RendererNode, vue560.RendererElement, {
|
|
12
12
|
[key: string]: any;
|
|
13
|
-
}> |
|
|
13
|
+
}> | vue560.VNodeArrayChildren | null;
|
|
14
14
|
declare function getVNode(node: VueNode): VNodeChild;
|
|
15
15
|
declare function checkRenderNode(node: any): any;
|
|
16
16
|
declare function getTextByNode(node: any): any;
|
|
17
17
|
declare function getTextNodeArr(nodes: any[]): any[];
|
|
18
|
+
type EmitToProps<T extends Record<string, any>> = { [K in keyof T as `on${Capitalize<K & string>}`]: T[K] };
|
|
18
19
|
//#endregion
|
|
19
|
-
export { checkRenderNode, cloneElement, getTextByNode, getTextNodeArr, getVNode, isFragment, replaceElement };
|
|
20
|
+
export { EmitToProps, checkRenderNode, cloneElement, getTextByNode, getTextNodeArr, getVNode, isFragment, replaceElement };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ShowWaveEffect, WaveComponent } from "./interface.js";
|
|
2
2
|
import { WaveProps } from "./index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue976 from "vue";
|
|
4
4
|
import { PropType } from "vue";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue_jsx_runtime33 from "vue/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/_util/wave/WaveEffect.d.ts
|
|
8
|
-
declare const WaveEffect:
|
|
8
|
+
declare const WaveEffect: vue976.DefineComponent<vue976.ExtractPropTypes<{
|
|
9
9
|
className: {
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
required: true;
|
|
@@ -22,7 +22,7 @@ declare const WaveEffect: vue363.DefineComponent<vue363.ExtractPropTypes<{
|
|
|
22
22
|
type: PropType<WaveProps["colorSource"]>;
|
|
23
23
|
required: false;
|
|
24
24
|
};
|
|
25
|
-
}>, () =>
|
|
25
|
+
}>, () => vue_jsx_runtime33.JSX.Element | null, {}, {}, {}, vue976.ComponentOptionsMixin, vue976.ComponentOptionsMixin, "finish"[], "finish", vue976.PublicProps, Readonly<vue976.ExtractPropTypes<{
|
|
26
26
|
className: {
|
|
27
27
|
type: StringConstructor;
|
|
28
28
|
required: true;
|
|
@@ -41,7 +41,7 @@ declare const WaveEffect: vue363.DefineComponent<vue363.ExtractPropTypes<{
|
|
|
41
41
|
};
|
|
42
42
|
}>> & Readonly<{
|
|
43
43
|
onFinish?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
}>, {}, {}, {}, {}, string,
|
|
44
|
+
}>, {}, {}, {}, {}, string, vue976.ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
declare const showWaveEffect: ShowWaveEffect;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { WaveEffect, showWaveEffect as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WaveComponent } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue991 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/_util/wave/index.d.ts
|
|
@@ -8,14 +8,10 @@ interface WaveProps {
|
|
|
8
8
|
component?: WaveComponent;
|
|
9
9
|
colorSource?: 'color' | 'backgroundColor' | 'borderColor' | null;
|
|
10
10
|
}
|
|
11
|
-
interface WaveEmits {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}
|
|
11
|
+
interface WaveEmits {}
|
|
14
12
|
interface WaveSlots {
|
|
15
13
|
default?: () => any;
|
|
16
14
|
}
|
|
17
|
-
declare const _default:
|
|
18
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[] | unknown[]) => any) | undefined;
|
|
19
|
-
}, vue528.PublicProps>;
|
|
15
|
+
declare const _default: vue991.DefineSetupFnComponent<WaveProps, WaveEmits, SlotsType<WaveSlots>, WaveProps, vue991.PublicProps>;
|
|
20
16
|
//#endregion
|
|
21
17
|
export { WaveEmits, WaveProps, WaveSlots, _default as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FullToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue876 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/_util/wave/style.d.ts
|
|
6
6
|
interface ComponentToken {}
|
|
7
7
|
interface WaveToken extends FullToken<'Wave'> {}
|
|
8
|
-
declare const _default: (prefixCls:
|
|
8
|
+
declare const _default: (prefixCls: vue876.Ref<string>, rootCls?: vue876.Ref<string | undefined>) => vue876.Ref<string, string>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ComponentToken, WaveToken, _default as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue573 from "vue";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/_util/zindexContext.d.ts
|
|
5
5
|
declare function useZIndexContext(): Ref<number | null | undefined, number | null | undefined>;
|
|
6
6
|
declare function useZIndexProvider(zIndex: Ref<number | undefined>): void;
|
|
7
|
-
declare const ZIndexProvider:
|
|
7
|
+
declare const ZIndexProvider: vue573.DefineSetupFnComponent<{
|
|
8
8
|
value: any;
|
|
9
9
|
}, {}, {}, {
|
|
10
10
|
value: any;
|
|
11
|
-
} & {},
|
|
11
|
+
} & {}, vue573.PublicProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ZIndexProvider, useZIndexContext, useZIndexProvider };
|
package/dist/affix/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import throttleByAnimationFrame from "../_util/throttleByAnimationFrame.js";
|
|
2
2
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue569 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/affix/index.d.ts
|
|
6
6
|
interface AffixProps extends ComponentBaseProps {
|
|
@@ -13,7 +13,6 @@ interface AffixProps extends ComponentBaseProps {
|
|
|
13
13
|
}
|
|
14
14
|
interface AffixEmits {
|
|
15
15
|
change: (affixed: boolean) => void;
|
|
16
|
-
[key: string]: (...args: any[]) => void;
|
|
17
16
|
}
|
|
18
17
|
interface AffixRef {
|
|
19
18
|
updatePosition: ReturnType<typeof throttleByAnimationFrame>;
|
|
@@ -21,10 +20,8 @@ interface AffixRef {
|
|
|
21
20
|
type InternalAffixProps = AffixProps & {
|
|
22
21
|
onTestUpdatePosition?: any;
|
|
23
22
|
};
|
|
24
|
-
declare const Affix:
|
|
23
|
+
declare const Affix: vue569.DefineSetupFnComponent<InternalAffixProps, AffixEmits, {}, AffixProps & {
|
|
25
24
|
onTestUpdatePosition?: any;
|
|
26
|
-
}
|
|
27
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
28
|
-
}, vue510.PublicProps>;
|
|
25
|
+
}, vue569.PublicProps>;
|
|
29
26
|
//#endregion
|
|
30
27
|
export { Affix, Affix as default, AffixEmits, AffixProps, AffixRef };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue966 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/affix/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -11,6 +11,6 @@ interface ComponentToken {
|
|
|
11
11
|
zIndexPopup: number;
|
|
12
12
|
}
|
|
13
13
|
declare const prepareComponentToken: GetDefaultToken<'Affix'>;
|
|
14
|
-
declare const _default: (prefixCls:
|
|
14
|
+
declare const _default: (prefixCls: vue966.Ref<string>, rootCls?: vue966.Ref<string | undefined>) => readonly [vue966.Ref<string, string>, vue966.ComputedRef<string | undefined>];
|
|
15
15
|
//#endregion
|
|
16
16
|
export { ComponentToken, _default as default, prepareComponentToken };
|
package/dist/alert/Alert.d.ts
CHANGED
|
@@ -1,32 +1,34 @@
|
|
|
1
1
|
import { SlotsDefineType, VueNode } from "../_util/type.js";
|
|
2
|
-
import {
|
|
2
|
+
import { SemanticType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { ClosableType } from "../_util/hooks/useClosable.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue757 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/alert/Alert.d.ts
|
|
10
|
-
interface
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
interface AlertSemanticType {
|
|
11
|
+
classes: {
|
|
12
|
+
root?: string;
|
|
13
|
+
icon?: string;
|
|
14
|
+
section?: string;
|
|
15
|
+
title?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
actions?: string;
|
|
18
|
+
close?: string;
|
|
19
|
+
};
|
|
20
|
+
styles: {
|
|
21
|
+
root?: CSSProperties;
|
|
22
|
+
icon?: CSSProperties;
|
|
23
|
+
section?: CSSProperties;
|
|
24
|
+
title?: CSSProperties;
|
|
25
|
+
description?: CSSProperties;
|
|
26
|
+
actions?: CSSProperties;
|
|
27
|
+
close?: CSSProperties;
|
|
28
|
+
};
|
|
18
29
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
icon?: CSSProperties;
|
|
22
|
-
section?: CSSProperties;
|
|
23
|
-
title?: CSSProperties;
|
|
24
|
-
description?: CSSProperties;
|
|
25
|
-
actions?: CSSProperties;
|
|
26
|
-
close?: CSSProperties;
|
|
27
|
-
}
|
|
28
|
-
type AlertClassNamesType = SemanticClassNamesType<AlertProps, AlertSemanticClassNames>;
|
|
29
|
-
type AlertStylesType = SemanticStylesType<AlertProps, AlertSemanticStyles>;
|
|
30
|
+
type AlertClassNamesType = SemanticType<AlertProps, AlertSemanticType['classes']>;
|
|
31
|
+
type AlertStylesType = SemanticType<AlertProps, AlertSemanticType['styles']>;
|
|
30
32
|
interface AlertProps extends ComponentBaseProps {
|
|
31
33
|
/** Type of Alert styles, options:`success`, `info`, `warning`, `error` */
|
|
32
34
|
type?: 'success' | 'info' | 'warning' | 'error';
|
|
@@ -68,10 +70,7 @@ interface AlertEmits {
|
|
|
68
70
|
mouseenter: (e: any) => any;
|
|
69
71
|
mouseleave: (e: any) => any;
|
|
70
72
|
click: (e: any) => any;
|
|
71
|
-
[key: string]: (e: any) => any;
|
|
72
73
|
}
|
|
73
|
-
declare const Alert:
|
|
74
|
-
[x: `on${Capitalize<string>}`]: ((e: any) => any) | undefined;
|
|
75
|
-
}, vue743.PublicProps>;
|
|
74
|
+
declare const Alert: vue757.DefineSetupFnComponent<AlertProps, AlertEmits, SlotsType<AlertSlots>, AlertProps, vue757.PublicProps>;
|
|
76
75
|
//#endregion
|
|
77
|
-
export { AlertClassNamesType, AlertEmits, AlertProps,
|
|
76
|
+
export { AlertClassNamesType, AlertEmits, AlertProps, AlertSemanticType, AlertSlots, AlertStylesType, Alert as default };
|