antdv-next 1.2.2 → 1.3.0-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 -2
- package/dist/_util/ContextIsolator.d.ts +3 -3
- package/dist/_util/PurePanel.d.ts +3 -3
- package/dist/_util/hooks/useClosable.d.ts +7 -7
- package/dist/_util/hooks/useMergeSemantic.d.ts +4 -4
- package/dist/_util/hooks/useMergedMask.d.ts +3 -3
- package/dist/_util/instance.d.ts +2 -2
- package/dist/_util/responsiveObserver.d.ts +2 -2
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +4 -9
- package/dist/_util/wave/WaveEffect.d.ts +5 -5
- package/dist/_util/wave/index.d.ts +2 -2
- package/dist/_util/wave/style.d.ts +2 -2
- package/dist/_util/wave/util.d.ts +1 -1
- package/dist/_util/wave/util.js +1 -1
- package/dist/_util/zindexContext.d.ts +2 -2
- package/dist/affix/index.d.ts +3 -3
- package/dist/affix/style/index.d.ts +2 -2
- package/dist/alert/Alert.d.ts +17 -10
- package/dist/alert/Alert.js +9 -3
- package/dist/alert/style/index.d.ts +3 -3
- package/dist/anchor/Anchor.d.ts +3 -3
- package/dist/anchor/Anchor.js +2 -2
- package/dist/anchor/AnchorLink.d.ts +9 -4
- package/dist/anchor/AnchorLink.js +5 -1
- package/dist/anchor/style/index.d.ts +2 -2
- package/dist/antd-with-locales.esm.js +14614 -14290
- package/dist/antd-with-locales.js +73 -80
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +10754 -10431
- package/dist/antd.js +70 -77
- package/dist/app/App.d.ts +2 -2
- package/dist/app/App.js +6 -1
- package/dist/app/context.d.ts +2 -2
- package/dist/app/style/index.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +6 -6
- package/dist/auto-complete/index.js +1 -1
- package/dist/avatar/Avatar.d.ts +5 -5
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/style/index.d.ts +3 -3
- package/dist/badge/Ribbon.d.ts +4 -4
- package/dist/badge/ScrollNumber.d.ts +2 -2
- package/dist/badge/SingleNumber.d.ts +2 -2
- package/dist/badge/index.d.ts +6 -6
- package/dist/badge/style/index.d.ts +7 -2
- package/dist/badge/style/index.js +4 -3
- package/dist/badge/style/ribbon.d.ts +2 -2
- package/dist/border-beam/BorderBeam.d.ts +19 -0
- package/dist/border-beam/BorderBeam.js +82 -0
- package/dist/border-beam/hooks/useBorderSize.d.ts +12 -0
- package/dist/border-beam/hooks/useBorderSize.js +42 -0
- package/dist/border-beam/index.d.ts +3 -0
- package/dist/border-beam/index.js +7 -0
- package/dist/border-beam/style/index.d.ts +7 -0
- package/dist/border-beam/style/index.js +59 -0
- package/dist/border-beam/util.d.ts +11 -0
- package/dist/border-beam/util.js +35 -0
- package/dist/breadcrumb/Breadcrumb.d.ts +7 -7
- package/dist/breadcrumb/BreadcrumbItem.d.ts +7 -7
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
- package/dist/breadcrumb/style/index.d.ts +2 -2
- package/dist/breadcrumb/useItemRender.d.ts +2 -2
- package/dist/button/Button.d.ts +4 -4
- package/dist/button/Button.js +1 -0
- package/dist/button/DefaultLoadingIcon.d.ts +2 -2
- package/dist/button/IconWrapper.d.ts +2 -2
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/style/compact.d.ts +4 -4
- package/dist/button/style/index.d.ts +2 -2
- package/dist/button/style/index.js +5 -0
- package/dist/calendar/Header.d.ts +2 -2
- package/dist/calendar/generateCalendar.d.ts +12 -10
- package/dist/calendar/generateCalendar.js +8 -2
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/style/index.d.ts +2 -2
- package/dist/card/Card.d.ts +11 -11
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +6 -6
- package/dist/card/style/index.d.ts +2 -2
- package/dist/carousel/index.d.ts +5 -5
- package/dist/carousel/style/index.d.ts +2 -2
- package/dist/cascader/Panel.d.ts +2 -2
- package/dist/cascader/hooks/useBase.d.ts +5 -5
- package/dist/cascader/hooks/useCheckable.d.ts +2 -2
- package/dist/cascader/index.d.ts +4 -4
- package/dist/cascader/index.js +11 -2
- package/dist/cascader/style/index.d.ts +2 -2
- package/dist/cascader/style/panel.d.ts +2 -2
- package/dist/checkbox/Checkbox.d.ts +2 -2
- package/dist/checkbox/Group.d.ts +4 -4
- package/dist/checkbox/style/index.d.ts +2 -2
- package/dist/collapse/Collapse.d.ts +5 -5
- package/dist/collapse/CollapsePanel.d.ts +5 -5
- package/dist/collapse/style/index.d.ts +2 -2
- package/dist/color-picker/ColorPicker.d.ts +2 -2
- package/dist/color-picker/ColorPickerPanel.d.ts +2 -2
- package/dist/color-picker/components/ColorAlphaInput.d.ts +2 -2
- package/dist/color-picker/components/ColorClear.d.ts +2 -2
- 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 -2
- 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 +2 -2
- 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 +4 -4
- package/dist/color-picker/interface.d.ts +2 -2
- package/dist/color-picker/style/index.d.ts +2 -2
- package/dist/components.d.ts +4 -1
- package/dist/components.js +3 -1
- package/dist/config-provider/DisabledContext.d.ts +2 -2
- package/dist/config-provider/SizeContext.d.ts +2 -2
- package/dist/config-provider/context.d.ts +67 -34
- 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 +2 -0
- package/dist/date-picker/PickerButton.d.ts +2 -2
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +5 -5
- package/dist/date-picker/generatePicker/SuffixIcon.js +1 -1
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +4 -4
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +9 -9
- package/dist/date-picker/generatePicker/generateSinglePicker.js +4 -0
- package/dist/date-picker/generatePicker/index.d.ts +8 -8
- package/dist/date-picker/generatePicker/useComponents.d.ts +11 -11
- package/dist/date-picker/index.d.ts +13 -13
- package/dist/date-picker/style/index.d.ts +2 -2
- package/dist/date-picker/style/index.js +13 -3
- package/dist/date-picker/util.d.ts +7 -3
- package/dist/descriptions/Cell.d.ts +5 -5
- package/dist/descriptions/Item.d.ts +5 -5
- package/dist/descriptions/Row.d.ts +2 -2
- package/dist/descriptions/Row.js +3 -3
- package/dist/descriptions/hooks/useItems.d.ts +11 -11
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/index.d.ts +5 -5
- package/dist/descriptions/style/index.d.ts +2 -2
- package/dist/divider/index.d.ts +2 -2
- package/dist/divider/style/index.d.ts +2 -2
- package/dist/drawer/DrawerPanel.d.ts +7 -7
- package/dist/drawer/index.d.ts +3 -3
- package/dist/drawer/index.js +5 -2
- package/dist/drawer/style/index.d.ts +2 -2
- package/dist/drawer/useFocusable.d.ts +2 -2
- package/dist/dropdown/dropdown.d.ts +2 -2
- package/dist/dropdown/style/index.d.ts +2 -2
- package/dist/dropdown/style/index.js +1 -1
- package/dist/empty/empty.d.ts +2 -2
- package/dist/empty/index.d.ts +8 -8
- package/dist/empty/simple.d.ts +2 -2
- package/dist/empty/style/index.d.ts +2 -2
- package/dist/flex/index.d.ts +2 -2
- package/dist/flex/style/index.d.ts +2 -2
- package/dist/float-button/BackTop.d.ts +2 -2
- package/dist/float-button/BackTop.js +5 -0
- package/dist/float-button/FloatButton.d.ts +8 -7
- package/dist/float-button/FloatButton.js +6 -0
- package/dist/float-button/FloatButtonGroup.d.ts +4 -4
- package/dist/float-button/FloatButtonGroup.js +5 -0
- package/dist/float-button/PurePanel.d.ts +2 -2
- package/dist/float-button/PurePanel.js +10 -0
- package/dist/float-button/context.d.ts +3 -3
- package/dist/float-button/style/index.d.ts +2 -2
- package/dist/form/ErrorList.d.ts +8 -4
- package/dist/form/ErrorList.js +13 -2
- package/dist/form/Form.d.ts +9 -2
- package/dist/form/Form.js +10 -4
- package/dist/form/FormItem/ItemHolder.d.ts +3 -3
- package/dist/form/FormItem/StatusProvider.d.ts +2 -2
- package/dist/form/FormItem/index.d.ts +2 -2
- package/dist/form/FormItemInput.d.ts +6 -6
- package/dist/form/FormItemInput.js +6 -2
- package/dist/form/FormItemLabel.d.ts +7 -7
- package/dist/form/context.d.ts +7 -7
- package/dist/form/hooks/useVariant.d.ts +2 -2
- package/dist/form/style/fallbackCmp.d.ts +4 -4
- package/dist/form/style/index.d.ts +2 -2
- package/dist/grid/col.d.ts +2 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/grid/style/index.d.ts +3 -3
- package/dist/image/PreviewGroup.d.ts +12 -12
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +6 -6
- package/dist/image/hooks/usePreviewConfig.d.ts +10 -10
- package/dist/image/index.d.ts +12 -5
- package/dist/image/style/index.d.ts +2 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -1
- package/dist/input/Group.d.ts +3 -3
- package/dist/input/Input.d.ts +10 -7
- package/dist/input/Input.js +8 -2
- package/dist/input/OTP/OTPInput.d.ts +3 -3
- package/dist/input/OTP/OTPInput.js +4 -0
- package/dist/input/OTP/index.d.ts +4 -4
- package/dist/input/Password.d.ts +4 -4
- package/dist/input/Password.js +4 -0
- package/dist/input/Search.d.ts +14 -4
- package/dist/input/Search.js +19 -2
- package/dist/input/TextArea.d.ts +2 -2
- package/dist/input/index.d.ts +6 -6
- package/dist/input/style/index.d.ts +3 -3
- package/dist/input/style/otp.d.ts +2 -2
- package/dist/input/style/search.d.ts +2 -2
- package/dist/input/style/textarea.d.ts +2 -2
- package/dist/input/style/variants.js +14 -8
- package/dist/input-number/index.d.ts +9 -9
- package/dist/input-number/style/index.d.ts +2 -2
- package/dist/layout/Sider.d.ts +2 -2
- package/dist/layout/index.d.ts +5 -5
- package/dist/layout/layout.d.ts +5 -5
- package/dist/layout/style/index.d.ts +2 -2
- package/dist/layout/style/sider.d.ts +2 -2
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/useLocale.d.ts +2 -2
- package/dist/masonry/Masonry.d.ts +3 -3
- package/dist/masonry/MasonryItem.d.ts +4 -4
- package/dist/masonry/hooks/usePositions.d.ts +2 -2
- package/dist/masonry/style/index.d.ts +2 -2
- package/dist/mentions/index.d.ts +6 -6
- package/dist/mentions/index.js +7 -1
- package/dist/mentions/style/index.d.ts +2 -2
- package/dist/menu/MenuContext.d.ts +3 -3
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuItem.d.ts +5 -5
- package/dist/menu/MenuItemGroup.d.ts +4 -4
- package/dist/menu/OverrideContext.d.ts +5 -5
- package/dist/menu/SubMenu.d.ts +4 -4
- package/dist/menu/index.d.ts +3 -3
- package/dist/menu/menu.d.ts +2 -2
- package/dist/menu/style/index.d.ts +2 -2
- package/dist/menu/style/index.js +11 -3
- package/dist/menu/style/vertical.js +2 -1
- package/dist/message/PureList.d.ts +28 -0
- package/dist/message/PureList.js +75 -0
- package/dist/message/PurePanel.d.ts +17 -9
- package/dist/message/PurePanel.js +33 -38
- package/dist/message/index.d.ts +3 -0
- package/dist/message/index.js +3 -1
- package/dist/message/interface.d.ts +11 -5
- package/dist/message/style/index.d.ts +12 -6
- package/dist/message/style/index.js +102 -98
- package/dist/message/useMessage.d.ts +3 -3
- package/dist/message/useMessage.js +18 -14
- package/dist/message/util.js +1 -1
- package/dist/modal/ConfirmDialog.d.ts +4 -4
- package/dist/modal/Modal.d.ts +2 -2
- package/dist/modal/Modal.js +7 -3
- package/dist/modal/PurePanel.d.ts +2 -2
- package/dist/modal/components/ConfirmCancelBtn.d.ts +4 -4
- package/dist/modal/components/ConfirmOkBtn.d.ts +4 -4
- package/dist/modal/components/NormalCancelBtn.d.ts +4 -4
- package/dist/modal/components/NormalOkBtn.d.ts +4 -4
- package/dist/modal/interface.d.ts +22 -14
- package/dist/modal/shared.d.ts +4 -4
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +4 -4
- package/dist/modal/useModal/HookModal.d.ts +3 -3
- package/dist/notification/PureList.d.ts +32 -0
- package/dist/notification/PureList.js +72 -0
- package/dist/notification/PurePanel.d.ts +16 -13
- package/dist/notification/PurePanel.js +42 -19
- package/dist/notification/index.d.ts +3 -0
- package/dist/notification/index.js +3 -1
- package/dist/notification/interface.d.ts +8 -8
- package/dist/notification/style/index.d.ts +27 -26
- package/dist/notification/style/index.js +104 -174
- package/dist/notification/style/notification.d.ts +23 -0
- package/dist/notification/style/notification.js +195 -0
- package/dist/notification/style/placement.d.ts +1 -0
- package/dist/notification/style/placement.js +125 -60
- package/dist/notification/useNotification.d.ts +3 -3
- package/dist/notification/useNotification.js +22 -14
- package/dist/notification/util.d.ts +14 -4
- package/dist/notification/util.js +18 -52
- package/dist/package.js +1 -1
- package/dist/package.json.d.ts +12 -12
- package/dist/pagination/Pagination.d.ts +2 -2
- package/dist/pagination/interface.d.ts +7 -7
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -2
- package/dist/popconfirm/PurePanel.d.ts +6 -7
- package/dist/popconfirm/PurePanel.js +4 -1
- package/dist/popconfirm/index.d.ts +16 -12
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popover/PurePanel.d.ts +7 -7
- package/dist/popover/index.d.ts +5 -5
- package/dist/popover/style/index.d.ts +2 -2
- package/dist/progress/Circle.d.ts +3 -3
- package/dist/progress/Line.d.ts +3 -3
- package/dist/progress/Steps.d.ts +2 -2
- package/dist/progress/progress.d.ts +2 -2
- package/dist/progress/style/index.d.ts +2 -2
- package/dist/qrcode/QrcodeStatus.d.ts +2 -2
- package/dist/qrcode/index.d.ts +2 -2
- package/dist/qrcode/style/index.d.ts +2 -2
- package/dist/radio/group.d.ts +2 -2
- package/dist/radio/index.d.ts +3 -3
- package/dist/radio/radio.d.ts +2 -2
- package/dist/radio/radioButton.d.ts +2 -2
- package/dist/radio/style/index.d.ts +2 -2
- package/dist/rate/index.d.ts +2 -2
- package/dist/rate/style/index.d.ts +2 -2
- package/dist/result/index.d.ts +7 -7
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/style/index.d.ts +4 -4
- package/dist/result/style/index.js +1 -1
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +4 -4
- package/dist/segmented/index.js +1 -1
- package/dist/segmented/style/index.d.ts +2 -2
- package/dist/select/index.d.ts +8 -8
- package/dist/select/index.js +1 -1
- package/dist/select/style/dropdown.js +1 -1
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/style/select-input.js +10 -5
- package/dist/select/useIcons.d.ts +15 -10
- 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/Element.d.ts +2 -2
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +2 -2
- package/dist/skeleton/Paragraph.d.ts +2 -2
- package/dist/skeleton/Skeleton.d.ts +2 -2
- package/dist/skeleton/Title.d.ts +2 -2
- package/dist/skeleton/style/index.d.ts +2 -2
- package/dist/slider/SliderTooltip.d.ts +3 -3
- package/dist/slider/index.d.ts +2 -2
- package/dist/slider/style/index.d.ts +2 -2
- package/dist/space/Addon.d.ts +2 -2
- package/dist/space/Compact.d.ts +6 -6
- package/dist/space/Item.d.ts +2 -2
- package/dist/space/index.d.ts +6 -6
- package/dist/space/style/addon.d.ts +2 -2
- package/dist/space/style/compact.d.ts +2 -2
- package/dist/space/style/index.d.ts +16 -3
- 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 +4 -4
- package/dist/spin/index.d.ts +7 -7
- package/dist/spin/style/index.d.ts +2 -2
- package/dist/spin/usePercent.d.ts +2 -2
- package/dist/splitter/Panel.d.ts +3 -3
- package/dist/splitter/Panel.js +14 -3
- package/dist/splitter/SplitBar.d.ts +2 -2
- package/dist/splitter/SplitBar.js +1 -12
- package/dist/splitter/Splitter.d.ts +2 -2
- package/dist/splitter/Splitter.js +8 -2
- 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 +21 -4
- package/dist/splitter/style/index.d.ts +2 -2
- package/dist/statistic/Number.d.ts +2 -2
- package/dist/statistic/Statistic.d.ts +6 -6
- package/dist/statistic/Timer.d.ts +2 -2
- package/dist/statistic/index.d.ts +2 -2
- package/dist/statistic/style/index.d.ts +3 -3
- package/dist/steps/PanelArrow.d.ts +2 -2
- package/dist/steps/ProgressIcon.d.ts +2 -2
- package/dist/steps/index.d.ts +8 -8
- package/dist/steps/style/index.d.ts +3 -3
- package/dist/style/compact-item-vertical.js +2 -1
- package/dist/style/compact-item.js +6 -6
- package/dist/switch/index.d.ts +5 -5
- package/dist/switch/style/index.d.ts +2 -2
- package/dist/table/Column.d.ts +2 -2
- package/dist/table/ColumnGroup.d.ts +2 -2
- package/dist/table/ExpandIcon.d.ts +2 -2
- package/dist/table/InternalTable.d.ts +2 -2
- package/dist/table/InternalTable.js +6 -4
- package/dist/table/TableMeasureRowContext.d.ts +3 -3
- package/dist/table/hooks/useFilledColumns.d.ts +14 -0
- package/dist/table/hooks/useFilledColumns.js +41 -0
- package/dist/table/hooks/useFilter/FilterDropdown.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterSearch.d.ts +2 -2
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +3 -3
- package/dist/table/hooks/useFilter/index.d.ts +24 -24
- 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/index.d.ts +2 -2
- package/dist/tabs/TabPane.d.ts +2 -2
- package/dist/tabs/hooks/useLegacyItems.d.ts +2 -2
- package/dist/tabs/index.d.ts +9 -7
- package/dist/tabs/style/index.d.ts +2 -2
- package/dist/tag/CheckableTag.d.ts +4 -4
- package/dist/tag/CheckableTagGroup.d.ts +4 -4
- package/dist/tag/hooks/useColor.d.ts +2 -2
- package/dist/tag/index.d.ts +7 -5
- package/dist/tag/index.js +7 -2
- package/dist/tag/style/index.d.ts +2 -2
- package/dist/tag/style/presetCmp.d.ts +4 -4
- package/dist/tag/style/statusCmp.d.ts +4 -4
- package/dist/theme/context.d.ts +2 -2
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/interface/alias.d.ts +14 -0
- package/dist/theme/interface/components.d.ts +118 -116
- package/dist/theme/interface/maps/colors.d.ts +14 -0
- package/dist/theme/interface/maps/font.d.ts +5 -5
- package/dist/theme/themes/shared/genColorMapToken.js +2 -0
- package/dist/theme/useToken.js +1 -1
- package/dist/theme/util/alias.js +2 -0
- package/dist/theme/util/genStyleUtils.d.ts +6 -6
- package/dist/time-picker/index.d.ts +6 -6
- package/dist/time-picker/index.js +4 -0
- package/dist/timeline/Timeline.d.ts +11 -11
- package/dist/timeline/TimelineItem.d.ts +2 -2
- package/dist/timeline/style/index.d.ts +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/index.d.ts +5 -5
- package/dist/tooltip/style/index.d.ts +2 -2
- package/dist/tour/PurePanel.d.ts +2 -2
- package/dist/tour/index.d.ts +2 -2
- package/dist/tour/index.js +5 -0
- package/dist/tour/interface.d.ts +6 -4
- package/dist/tour/panelRender.d.ts +2 -2
- package/dist/tour/panelRender.js +4 -9
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/transfer/Actions.d.ts +4 -4
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +4 -4
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/Transfer.js +34 -4
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/interface.d.ts +47 -15
- package/dist/transfer/search.d.ts +4 -4
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/DirectoryTree.js +0 -4
- package/dist/tree/Tree.d.ts +10 -8
- package/dist/tree/Tree.js +0 -4
- package/dist/tree/style/index.d.ts +2 -2
- package/dist/tree/utils/dropIndicator.d.ts +2 -2
- package/dist/tree/utils/iconUtil.d.ts +4 -4
- package/dist/tree-select/index.d.ts +8 -6
- package/dist/tree-select/index.js +1 -1
- package/dist/tree-select/style/index.d.ts +2 -2
- package/dist/typography/Base/CopyBtn.d.ts +2 -2
- package/dist/typography/Base/Ellipsis.d.ts +5 -5
- package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
- package/dist/typography/Base/index.d.ts +2 -2
- package/dist/typography/Base/index.js +31 -26
- package/dist/typography/Editable.d.ts +11 -4
- package/dist/typography/Editable.js +18 -3
- package/dist/typography/Link.d.ts +2 -2
- package/dist/typography/Link.js +4 -0
- package/dist/typography/Paragraph.d.ts +2 -2
- package/dist/typography/Paragraph.js +4 -0
- package/dist/typography/Text.d.ts +2 -2
- package/dist/typography/Text.js +4 -0
- package/dist/typography/Title.d.ts +2 -2
- package/dist/typography/Title.js +4 -0
- package/dist/typography/Typography.d.ts +2 -2
- 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 -5
- package/dist/typography/interface.d.ts +25 -17
- package/dist/typography/style/index.d.ts +2 -2
- package/dist/upload/Dragger.d.ts +3 -3
- package/dist/upload/Upload.d.ts +2 -2
- package/dist/upload/UploadList/ListItem.d.ts +2 -2
- package/dist/upload/UploadList/index.d.ts +2 -2
- package/dist/upload/index.d.ts +3 -3
- package/dist/upload/style/index.d.ts +2 -2
- package/dist/upload/utils.js +1 -1
- package/dist/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/dist/watermark/index.js +4 -3
- package/package.json +65 -29
- package/web-tags.json +1353 -1339
- package/web-types.json +4223 -4192
- package/dist/notification/style/pure-panel.d.ts +0 -12
- package/dist/notification/style/pure-panel.js +0 -18
- package/dist/notification/style/stack.d.ts +0 -9
- package/dist/notification/style/stack.js +0 -88
package/dist/splitter/Panel.js
CHANGED
|
@@ -4,8 +4,9 @@ import { clsx } from "@v-c/util";
|
|
|
4
4
|
//#region src/splitter/Panel.tsx
|
|
5
5
|
const InternalPanel = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
6
6
|
return () => {
|
|
7
|
-
const { prefixCls, class: className, size, style = {} } = props;
|
|
8
|
-
const
|
|
7
|
+
const { prefixCls, class: className, size, style = {}, destroyOnHidden } = props;
|
|
8
|
+
const isHidden = size === 0;
|
|
9
|
+
const panelClassName = clsx(`${prefixCls}-panel`, { [`${prefixCls}-panel-hidden`]: isHidden }, className);
|
|
9
10
|
const hasSize = size !== void 0;
|
|
10
11
|
return createVNode("div", mergeProps(attrs, {
|
|
11
12
|
"class": panelClassName,
|
|
@@ -14,7 +15,7 @@ const InternalPanel = /* @__PURE__ */ defineComponent((props, { slots, attrs })
|
|
|
14
15
|
flexBasis: hasSize ? typeof size === "number" ? `${size}px` : size : "auto",
|
|
15
16
|
flexGrow: hasSize ? 0 : 1
|
|
16
17
|
}
|
|
17
|
-
}), [slots?.default?.()]);
|
|
18
|
+
}), [isHidden && destroyOnHidden ? null : slots?.default?.()]);
|
|
18
19
|
};
|
|
19
20
|
}, {
|
|
20
21
|
props: {
|
|
@@ -55,6 +56,11 @@ const InternalPanel = /* @__PURE__ */ defineComponent((props, { slots, attrs })
|
|
|
55
56
|
defaultSize: {
|
|
56
57
|
type: [Number, String],
|
|
57
58
|
required: false
|
|
59
|
+
},
|
|
60
|
+
destroyOnHidden: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
required: false,
|
|
63
|
+
default: void 0
|
|
58
64
|
}
|
|
59
65
|
},
|
|
60
66
|
name: "ASplitterPanel",
|
|
@@ -95,6 +101,11 @@ const Panel = /* @__PURE__ */ defineComponent(() => () => null, {
|
|
|
95
101
|
defaultSize: {
|
|
96
102
|
type: [Number, String],
|
|
97
103
|
required: false
|
|
104
|
+
},
|
|
105
|
+
destroyOnHidden: {
|
|
106
|
+
type: Boolean,
|
|
107
|
+
required: false,
|
|
108
|
+
default: void 0
|
|
98
109
|
}
|
|
99
110
|
},
|
|
100
111
|
name: "ASplitterPanel"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SplitterProps, SplitterSemanticDraggerClassNames } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue235 from "vue";
|
|
3
3
|
import { CSSProperties } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/splitter/SplitBar.d.ts
|
|
@@ -30,6 +30,6 @@ interface SplitBarProps {
|
|
|
30
30
|
lazy?: boolean;
|
|
31
31
|
containerSize: number;
|
|
32
32
|
}
|
|
33
|
-
declare const SplitBar:
|
|
33
|
+
declare const SplitBar: vue235.DefineSetupFnComponent<SplitBarProps, {}, {}, SplitBarProps & {}, vue235.PublicProps>;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { ShowCollapsibleIconMode, SplitBarProps, SplitBar as default };
|
|
@@ -202,18 +202,7 @@ const SplitBar = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
202
202
|
type: Boolean,
|
|
203
203
|
required: true
|
|
204
204
|
},
|
|
205
|
-
draggerIcon: {
|
|
206
|
-
type: [
|
|
207
|
-
Function,
|
|
208
|
-
String,
|
|
209
|
-
Number,
|
|
210
|
-
null,
|
|
211
|
-
Object,
|
|
212
|
-
Boolean
|
|
213
|
-
],
|
|
214
|
-
required: false,
|
|
215
|
-
default: void 0
|
|
216
|
-
},
|
|
205
|
+
draggerIcon: { required: false },
|
|
217
206
|
collapsibleIcon: {
|
|
218
207
|
type: Object,
|
|
219
208
|
required: false
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SplitterEmits, SplitterProps, SplitterSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue250 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/splitter/Splitter.d.ts
|
|
6
6
|
interface InternalSplitterProps extends SplitterProps, SplitterEmitsProps {}
|
|
7
7
|
interface SplitterEmitsProps {}
|
|
8
|
-
declare const Splitter:
|
|
8
|
+
declare const Splitter: vue250.DefineSetupFnComponent<InternalSplitterProps, SplitterEmits, SlotsType<SplitterSlots>, InternalSplitterProps, vue250.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { InternalSplitterProps, SplitterEmitsProps, Splitter as default };
|
|
@@ -32,6 +32,7 @@ const Splitter = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
32
32
|
const existUndefinedSize = items.value.some((item) => item.size === void 0);
|
|
33
33
|
if (existSize && existUndefinedSize) warning(false, "usage", "When part of `Splitter.Panel` has `size`, `onResize` is required or change `size` to `defaultSize`.");
|
|
34
34
|
warning.deprecated(!layout.value, "layout", "orientation");
|
|
35
|
+
warning.deprecated(!props.collapsibleIcon, "collapsibleIcon", "collapsible.icon");
|
|
35
36
|
}
|
|
36
37
|
const containerSize = shallowRef();
|
|
37
38
|
const onContainerResize = (size) => {
|
|
@@ -83,7 +84,8 @@ const Splitter = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
83
84
|
return mergedSizes;
|
|
84
85
|
});
|
|
85
86
|
return () => {
|
|
86
|
-
const { rootClass, lazy, draggerIcon, collapsibleIcon } = props;
|
|
87
|
+
const { rootClass, lazy, draggerIcon, collapsible, collapsibleIcon } = props;
|
|
88
|
+
const mergedCollapsibleIcon = collapsible?.icon ?? collapsibleIcon;
|
|
87
89
|
items.value = convertChildrenToItems(slots?.default?.() ?? []);
|
|
88
90
|
const { className, style, restAttrs } = getAttrStyleAndClass(attrs);
|
|
89
91
|
const containerClassName = clsx(prefixCls.value, className, `${prefixCls.value}-${mergedOrientation.value}`, { [`${prefixCls.value}-rtl`]: isRTL.value }, rootClass, mergedClassNames.value.root, contextClassName.value, cssVarCls.value, rootCls.value, hashId.value);
|
|
@@ -126,7 +128,7 @@ const Splitter = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
126
128
|
"draggerStyle": mergedStyles.value.dragger,
|
|
127
129
|
"draggerClassName": mergedClassNames.value.dragger,
|
|
128
130
|
"draggerIcon": draggerIcon,
|
|
129
|
-
"collapsibleIcon":
|
|
131
|
+
"collapsibleIcon": mergedCollapsibleIcon,
|
|
130
132
|
"ariaNow": stackSizes.value[idx] * 100,
|
|
131
133
|
"ariaMin": Math.max(ariaMinStart, ariaMinEnd) * 100,
|
|
132
134
|
"ariaMax": Math.min(ariaMaxStart, ariaMaxEnd) * 100,
|
|
@@ -187,6 +189,10 @@ const Splitter = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
187
189
|
required: false,
|
|
188
190
|
default: void 0
|
|
189
191
|
},
|
|
192
|
+
collapsible: {
|
|
193
|
+
type: Object,
|
|
194
|
+
required: false
|
|
195
|
+
},
|
|
190
196
|
collapsibleIcon: {
|
|
191
197
|
type: Object,
|
|
192
198
|
required: false
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ShowCollapsibleIconMode } from "../SplitBar.js";
|
|
2
2
|
import { ItemType } from "./useItems.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue782 from "vue";
|
|
4
4
|
import { Ref } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/splitter/hooks/useResizable.d.ts
|
|
@@ -11,6 +11,6 @@ interface ResizableInfo {
|
|
|
11
11
|
showStartCollapsibleIcon: ShowCollapsibleIconMode;
|
|
12
12
|
showEndCollapsibleIcon: ShowCollapsibleIconMode;
|
|
13
13
|
}
|
|
14
|
-
declare function useResizable(items: Ref<ItemType[]>, pxSizes: Ref<number[]>, reverse: Ref<boolean>):
|
|
14
|
+
declare function useResizable(items: Ref<ItemType[]>, pxSizes: Ref<number[]>, reverse: Ref<boolean>): vue782.ComputedRef<ResizableInfo[]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { ResizableInfo, useResizable as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ItemType } from "./useItems.js";
|
|
2
2
|
import { ResizableInfo } from "./useResizable.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue781 from "vue";
|
|
4
4
|
import { Ref } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/splitter/hooks/useResize.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* Handle user drag resize logic.
|
|
9
9
|
*/
|
|
10
|
-
declare function useResize(items: Ref<ItemType[]>, resizableInfos: Ref<ResizableInfo[]>, percentSizes: Ref<number[]>, containerSize: Ref<number | undefined>, updateSizes: (sizes: number[]) => void, reverse: Ref<boolean>): readonly [(index: number) => void, (index: number, offset: number) => number[], () => void, (index: number, type: "start" | "end") => number[],
|
|
10
|
+
declare function useResize(items: Ref<ItemType[]>, resizableInfos: Ref<ResizableInfo[]>, percentSizes: Ref<number[]>, containerSize: Ref<number | undefined>, updateSizes: (sizes: number[]) => void, reverse: Ref<boolean>): readonly [(index: number) => void, (index: number, offset: number) => number[], () => void, (index: number, type: "start" | "end") => number[], vue781.ComputedRef<number | undefined>];
|
|
11
11
|
//#endregion
|
|
12
12
|
export { useResize as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PanelProps } from "../interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue841 from "vue";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/splitter/hooks/useSizes.d.ts
|
|
@@ -8,6 +8,6 @@ declare function getPtg(str: string): number;
|
|
|
8
8
|
* Save the size state.
|
|
9
9
|
* Align the size into flex percentage base.
|
|
10
10
|
*/
|
|
11
|
-
declare function useSizes(items: Ref<PanelProps[]>, containerSize?: Ref<number>): readonly [
|
|
11
|
+
declare function useSizes(items: Ref<PanelProps[]>, containerSize?: Ref<number>): readonly [vue841.ComputedRef<(string | number | undefined)[]>, vue841.ComputedRef<number[]>, vue841.ComputedRef<number[]>, vue841.ComputedRef<number[]>, vue841.ComputedRef<number[]>, (newSizes: number[]) => void];
|
|
12
12
|
//#endregion
|
|
13
13
|
export { useSizes as default, getPtg };
|
package/dist/splitter/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PanelProps, SplitterEmits, SplitterSlots } from "./interface.js";
|
|
2
2
|
import Splitter, { InternalSplitterProps } from "./Splitter.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue233 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/splitter/index.d.ts
|
|
6
6
|
type SplitterProps = InternalSplitterProps;
|
|
7
|
-
declare const SplitterPanel:
|
|
7
|
+
declare const SplitterPanel: vue233.DefineSetupFnComponent<PanelProps, {}, {}, PanelProps & {}, vue233.PublicProps>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { type SplitterEmits, SplitterPanel, SplitterProps, type SplitterSlots, Splitter as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import { Orientation } from "../_util/hooks/useOrientation.js";
|
|
4
4
|
import "../_util/hooks/index.js";
|
|
@@ -45,10 +45,22 @@ interface SplitterProps extends ComponentBaseProps {
|
|
|
45
45
|
layout?: Orientation;
|
|
46
46
|
orientation?: Orientation;
|
|
47
47
|
vertical?: boolean;
|
|
48
|
-
draggerIcon?: VueNode;
|
|
48
|
+
draggerIcon?: VueNode$1;
|
|
49
|
+
/**
|
|
50
|
+
* Collapse configuration. ant-design 6.4.0 PR #57044.
|
|
51
|
+
*/
|
|
52
|
+
collapsible?: {
|
|
53
|
+
icon?: {
|
|
54
|
+
start?: VueNode$1;
|
|
55
|
+
end?: VueNode$1;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* @deprecated please use `collapsible.icon`
|
|
60
|
+
*/
|
|
49
61
|
collapsibleIcon?: {
|
|
50
|
-
start?: VueNode;
|
|
51
|
-
end?: VueNode;
|
|
62
|
+
start?: VueNode$1;
|
|
63
|
+
end?: VueNode$1;
|
|
52
64
|
};
|
|
53
65
|
onDraggerDoubleClick?: (index: number) => void;
|
|
54
66
|
onResizeStart?: (sizes: number[]) => void;
|
|
@@ -78,6 +90,11 @@ interface PanelProps {
|
|
|
78
90
|
};
|
|
79
91
|
resizable?: boolean;
|
|
80
92
|
defaultSize?: number | string;
|
|
93
|
+
/**
|
|
94
|
+
* Keep the panel mounted when collapsed but hidden via CSS.
|
|
95
|
+
* ant-design 6.4.0 PR #56772.
|
|
96
|
+
*/
|
|
97
|
+
destroyOnHidden?: boolean;
|
|
81
98
|
}
|
|
82
99
|
interface InternalPanelProps extends PanelProps {
|
|
83
100
|
class?: string;
|
|
@@ -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 vue892 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/splitter/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -27,6 +27,6 @@ interface ComponentToken {
|
|
|
27
27
|
splitTriggerSize: number;
|
|
28
28
|
}
|
|
29
29
|
declare const prepareComponentToken: GetDefaultToken<'Splitter'>;
|
|
30
|
-
declare const _default: (prefixCls:
|
|
30
|
+
declare const _default: (prefixCls: vue892.Ref<string>, rootCls?: vue892.Ref<string | undefined>) => readonly [vue892.Ref<string, string>, vue892.ComputedRef<string | undefined>];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormatConfig, valueType } from "./utils.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue329 from "vue";
|
|
3
3
|
import { CSSProperties } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/statistic/Number.d.ts
|
|
@@ -9,6 +9,6 @@ interface NumberProps extends FormatConfig {
|
|
|
9
9
|
className?: string;
|
|
10
10
|
style?: CSSProperties;
|
|
11
11
|
}
|
|
12
|
-
declare const StatisticNumber:
|
|
12
|
+
declare const StatisticNumber: vue329.DefineSetupFnComponent<NumberProps, {}, {}, NumberProps & {}, vue329.PublicProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { StatisticNumber as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { FormatConfig, valueType } from "./utils.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue317 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType, VNodeChild } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/statistic/Statistic.d.ts
|
|
@@ -32,9 +32,9 @@ type StatisticRectProps = FormatConfig & ComponentBaseProps & {
|
|
|
32
32
|
value?: valueType;
|
|
33
33
|
valueStyle?: CSSProperties;
|
|
34
34
|
valueRender?: (node: any) => VNodeChild;
|
|
35
|
-
title?: VueNode;
|
|
36
|
-
prefix?: VueNode;
|
|
37
|
-
suffix?: VueNode;
|
|
35
|
+
title?: VueNode$1;
|
|
36
|
+
prefix?: VueNode$1;
|
|
37
|
+
suffix?: VueNode$1;
|
|
38
38
|
loading?: boolean;
|
|
39
39
|
classes?: StatisticClassNamesType;
|
|
40
40
|
styles?: StatisticStylesType;
|
|
@@ -55,6 +55,6 @@ interface StatisticEmitsProps {
|
|
|
55
55
|
onMouseenter?: StatisticEmits['mouseenter'];
|
|
56
56
|
onMouseleave?: StatisticEmits['mouseleave'];
|
|
57
57
|
}
|
|
58
|
-
declare const Statistic:
|
|
58
|
+
declare const Statistic: vue317.DefineSetupFnComponent<InternalStatisticProps, StatisticEmits, SlotsType<StatisticSlots>, InternalStatisticProps, vue317.PublicProps>;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { InternalStatisticProps, StatisticClassNamesType, StatisticEmits, StatisticEmitsProps, StatisticProps, StatisticSemanticClassNames, StatisticSemanticName, StatisticSemanticStyles, StatisticSlots, StatisticStylesType, Statistic as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FormatConfig, valueType } from "./utils.js";
|
|
2
2
|
import { StatisticProps, StatisticSlots } from "./Statistic.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue327 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/statistic/Timer.d.ts
|
|
@@ -21,6 +21,6 @@ interface StatisticTimeEmitsProps {
|
|
|
21
21
|
onFinish?: StatisticTimeEmits['finish'];
|
|
22
22
|
onChange?: StatisticTimeEmits['change'];
|
|
23
23
|
}
|
|
24
|
-
declare const StatisticTimer:
|
|
24
|
+
declare const StatisticTimer: vue327.DefineSetupFnComponent<InternalStatisticTimerProps, StatisticTimeEmits, SlotsType<StatisticSlots>, InternalStatisticTimerProps, vue327.PublicProps>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { InternalStatisticTimerProps, StatisticTimeEmits, StatisticTimeEmitsProps, StatisticTimerProps, TimerType, StatisticTimer as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import Statistic, { InternalStatisticProps, StatisticSlots } from "./Statistic.js";
|
|
2
2
|
import StatisticTimer$1, { InternalStatisticTimerProps, StatisticTimeEmits } from "./Timer.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue331 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/statistic/index.d.ts
|
|
6
6
|
type StatisticProps = InternalStatisticProps;
|
|
7
7
|
type StatisticTimerProps = InternalStatisticTimerProps;
|
|
8
|
-
declare const StatisticTimer:
|
|
8
|
+
declare const StatisticTimer: vue331.DefineSetupFnComponent<InternalStatisticTimerProps, StatisticTimeEmits, vue331.SlotsType<StatisticSlots>, InternalStatisticTimerProps, vue331.PublicProps>;
|
|
9
9
|
declare const _default: typeof Statistic & {
|
|
10
10
|
Timer: typeof StatisticTimer$1;
|
|
11
11
|
};
|
|
@@ -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 vue1027 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/statistic/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -13,9 +13,9 @@ interface ComponentToken {
|
|
|
13
13
|
* @desc 内容字体大小
|
|
14
14
|
* @descEN Content font size
|
|
15
15
|
*/
|
|
16
|
-
contentFontSize: number;
|
|
16
|
+
contentFontSize: number | string;
|
|
17
17
|
}
|
|
18
18
|
declare const prepareComponentToken: GetDefaultToken<'Statistic'>;
|
|
19
|
-
declare const _default: (prefixCls:
|
|
19
|
+
declare const _default: (prefixCls: vue1027.Ref<string>, rootCls?: vue1027.Ref<string | undefined>) => readonly [vue1027.Ref<string, string>, vue1027.ComputedRef<string | undefined>];
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue325 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/steps/PanelArrow.d.ts
|
|
4
4
|
interface PanelArrowProps {
|
|
5
5
|
prefixCls: string;
|
|
6
6
|
}
|
|
7
|
-
declare const PanelArrow:
|
|
7
|
+
declare const PanelArrow: vue325.DefineSetupFnComponent<PanelArrowProps, {}, {}, PanelArrowProps & {}, vue325.PublicProps>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PanelArrowProps, PanelArrow as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue334 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/steps/ProgressIcon.d.ts
|
|
4
4
|
interface ProgressIconProps {
|
|
@@ -6,6 +6,6 @@ interface ProgressIconProps {
|
|
|
6
6
|
rootPrefixCls: string;
|
|
7
7
|
percent: number;
|
|
8
8
|
}
|
|
9
|
-
declare const ProgressIcon:
|
|
9
|
+
declare const ProgressIcon: vue334.DefineSetupFnComponent<ProgressIconProps, {}, {}, ProgressIconProps & {}, vue334.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { ProgressIconProps, ProgressIcon as default };
|
package/dist/steps/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue338 from "vue";
|
|
6
6
|
import { CSSProperties, SlotsType } from "vue";
|
|
7
7
|
import { StepsProps as StepsProps$1 } from "@v-c/steps";
|
|
8
8
|
|
|
@@ -45,14 +45,14 @@ interface StepItem {
|
|
|
45
45
|
classes?: NonNullable<StepsProps$1['items']>[number]['classNames'];
|
|
46
46
|
styles?: NonNullable<StepsProps$1['items']>[number]['styles'];
|
|
47
47
|
/** @deprecated Please use `content` instead */
|
|
48
|
-
description?: VueNode;
|
|
49
|
-
content?: VueNode;
|
|
50
|
-
icon?: VueNode;
|
|
48
|
+
description?: VueNode$1;
|
|
49
|
+
content?: VueNode$1;
|
|
50
|
+
icon?: VueNode$1;
|
|
51
51
|
onClick?: (e: MouseEvent) => void;
|
|
52
52
|
status?: 'wait' | 'process' | 'finish' | 'error';
|
|
53
53
|
disabled?: boolean;
|
|
54
|
-
title?: VueNode;
|
|
55
|
-
subTitle?: VueNode;
|
|
54
|
+
title?: VueNode$1;
|
|
55
|
+
subTitle?: VueNode$1;
|
|
56
56
|
}
|
|
57
57
|
type ProgressDotRender = (params: {
|
|
58
58
|
iconDot: any;
|
|
@@ -106,6 +106,6 @@ interface StepsSlots {
|
|
|
106
106
|
default: () => any;
|
|
107
107
|
iconRender?: IconRenderType;
|
|
108
108
|
}
|
|
109
|
-
declare const Steps:
|
|
109
|
+
declare const Steps: vue338.DefineSetupFnComponent<StepsProps, StepsEmits, SlotsType<StepsSlots>, StepsProps, vue338.PublicProps>;
|
|
110
110
|
//#endregion
|
|
111
111
|
export { BaseStepsProps, IconRenderType, ProgressDotRender, StepItem, StepsClassNamesType, StepsEmits, StepsEmitsProps, StepsProps, StepsSemanticClassNames, StepsSemanticName, StepsSemanticStyles, StepsSlots, StepsStylesType, Steps as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue888 from "vue";
|
|
4
4
|
import { CSSProperties } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/steps/style/index.d.ts
|
|
@@ -65,7 +65,7 @@ interface ComponentToken {
|
|
|
65
65
|
* @desc 小号步骤条图标大小
|
|
66
66
|
* @descEN Size of small steps icon
|
|
67
67
|
*/
|
|
68
|
-
iconSizeSM: number;
|
|
68
|
+
iconSizeSM: number | string;
|
|
69
69
|
/**
|
|
70
70
|
* TODO: deprecated warning since not used anymore
|
|
71
71
|
* @desc 标题行高
|
|
@@ -78,6 +78,6 @@ interface StepsToken extends FullToken<'Steps'> {
|
|
|
78
78
|
inlineDotSize: number;
|
|
79
79
|
}
|
|
80
80
|
declare const prepareComponentToken: GetDefaultToken<'Steps'>;
|
|
81
|
-
declare const _default: (prefixCls:
|
|
81
|
+
declare const _default: (prefixCls: vue888.Ref<string>, rootCls?: vue888.Ref<string | undefined>) => readonly [vue888.Ref<string, string>, vue888.ComputedRef<string | undefined>];
|
|
82
82
|
//#endregion
|
|
83
83
|
export { ComponentToken, StepsToken, _default as default, prepareComponentToken };
|
|
@@ -4,7 +4,8 @@ function compactItemVerticalBorder(token, parentCls, prefixCls) {
|
|
|
4
4
|
[`&-item:not(${parentCls}-last-item)`]: { marginBottom: token.calc(token.lineWidth).mul(-1).equal() },
|
|
5
5
|
[`&-item:not(${prefixCls}-status-success)`]: { zIndex: 2 },
|
|
6
6
|
"&-item": {
|
|
7
|
-
"&:
|
|
7
|
+
"&:focus,&:active": { zIndex: 3 },
|
|
8
|
+
"&:hover": { zIndex: 4 },
|
|
8
9
|
"&[disabled]": { zIndex: 0 }
|
|
9
10
|
}
|
|
10
11
|
};
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
function compactItemBorder(token, parentCls, options, prefixCls) {
|
|
3
3
|
const { focusElCls, focus, borderElCls } = options;
|
|
4
4
|
const childCombinator = borderElCls ? "> *" : "";
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
].filter(Boolean).map((n) => `&:${n} ${childCombinator}`).join(",");
|
|
5
|
+
const suffix = childCombinator ? ` ${childCombinator}` : "";
|
|
6
|
+
const genEffects = (effects) => effects.filter(Boolean).map((n) => `&:${n}${suffix}`).join(",");
|
|
7
|
+
const hoverEffects = genEffects(["hover", focusElCls ? `hover${focusElCls}` : null]);
|
|
8
|
+
const focusEffects = genEffects([focus ? "focus" : null, "active"]);
|
|
10
9
|
return {
|
|
11
10
|
[`&-item:not(${parentCls}-last-item)`]: { marginInlineEnd: token.calc(token.lineWidth).mul(-1).equal() },
|
|
12
11
|
[`&-item:not(${prefixCls}-status-success)`]: { zIndex: 2 },
|
|
13
12
|
"&-item": {
|
|
14
|
-
[
|
|
13
|
+
[focusEffects]: { zIndex: 3 },
|
|
14
|
+
[hoverEffects]: { zIndex: 4 },
|
|
15
15
|
...focusElCls ? { [`&${focusElCls}`]: { zIndex: 3 } } : {},
|
|
16
16
|
[`&[disabled] ${childCombinator}`]: { zIndex: 0 }
|
|
17
17
|
}
|
package/dist/switch/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue443 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { SwitchChangeEventHandler, SwitchClickEventHandler } from "@v-c/switch";
|
|
9
9
|
|
|
@@ -45,8 +45,8 @@ interface SwitchProps extends ComponentBaseProps, SwitchEmitsProps {
|
|
|
45
45
|
* 非选中时的值
|
|
46
46
|
*/
|
|
47
47
|
unCheckedValue?: CheckedValueType;
|
|
48
|
-
checkedChildren?: VueNode;
|
|
49
|
-
unCheckedChildren?: VueNode;
|
|
48
|
+
checkedChildren?: VueNode$1;
|
|
49
|
+
unCheckedChildren?: VueNode$1;
|
|
50
50
|
disabled?: boolean;
|
|
51
51
|
loading?: boolean;
|
|
52
52
|
autoFocus?: boolean;
|
|
@@ -72,6 +72,6 @@ interface SwitchSlots {
|
|
|
72
72
|
checkedChildren: () => any;
|
|
73
73
|
unCheckedChildren: () => any;
|
|
74
74
|
}
|
|
75
|
-
declare const Switch:
|
|
75
|
+
declare const Switch: vue443.DefineSetupFnComponent<SwitchProps, SwitchEmits, SlotsType<SwitchSlots>, SwitchProps, vue443.PublicProps>;
|
|
76
76
|
//#endregion
|
|
77
77
|
export { CheckedValueType, SwitchClassNamesType, SwitchEmits, SwitchEmitsProps, SwitchProps, SwitchSemanticClassNames, SwitchSemanticName, SwitchSemanticStyles, SwitchSize, SwitchSlots, SwitchStylesType, Switch as default };
|
|
@@ -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 vue1031 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/switch/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -71,6 +71,6 @@ interface ComponentToken {
|
|
|
71
71
|
innerMaxMarginSM: number;
|
|
72
72
|
}
|
|
73
73
|
declare const prepareComponentToken: GetDefaultToken<'Switch'>;
|
|
74
|
-
declare const _default: (prefixCls:
|
|
74
|
+
declare const _default: (prefixCls: vue1031.Ref<string>, rootCls?: vue1031.Ref<string | undefined>) => readonly [vue1031.Ref<string, string>, vue1031.ComputedRef<string | undefined>];
|
|
75
75
|
//#endregion
|
|
76
76
|
export { ComponentToken, _default as default, prepareComponentToken };
|
package/dist/table/Column.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnyObject, EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { ColumnType } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue391 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/table/Column.d.ts
|
|
@@ -13,6 +13,6 @@ interface ColumnSlots {
|
|
|
13
13
|
/**
|
|
14
14
|
* Syntactic sugar for `columns` prop. HOC will not work on this.
|
|
15
15
|
*/
|
|
16
|
-
declare const Column:
|
|
16
|
+
declare const Column: vue391.DefineSetupFnComponent<ColumnProps<AnyObject>, EmptyEmit, SlotsType<ColumnSlots>, ColumnProps<AnyObject>, vue391.PublicProps>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { ColumnProps, ColumnSlots, Column as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnyObject, EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { ColumnType } from "./interface.js";
|
|
3
3
|
import { ColumnProps } from "./Column.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue496 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/table/ColumnGroup.d.ts
|
|
@@ -14,6 +14,6 @@ interface ColumnGroupSlots {
|
|
|
14
14
|
/**
|
|
15
15
|
* Syntactic sugar for `columns` prop. HOC will not work on this.
|
|
16
16
|
*/
|
|
17
|
-
declare const ColumnGroup:
|
|
17
|
+
declare const ColumnGroup: vue496.DefineSetupFnComponent<ColumnGroupProps<AnyObject>, EmptyEmit, SlotsType<ColumnGroupSlots>, ColumnGroupProps<AnyObject>, vue496.PublicProps>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { ColumnGroupProps, ColumnGroupSlots, ColumnGroup as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnyObject } from "../_util/type.js";
|
|
2
2
|
import { TableLocale } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue_jsx_runtime5 from "vue/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/table/ExpandIcon.d.ts
|
|
6
6
|
interface DefaultExpandIconProps<RecordType = AnyObject> {
|
|
@@ -10,6 +10,6 @@ interface DefaultExpandIconProps<RecordType = AnyObject> {
|
|
|
10
10
|
expandable: boolean;
|
|
11
11
|
onExpand: (record: RecordType, e: MouseEvent) => void;
|
|
12
12
|
}
|
|
13
|
-
declare function renderExpandIcon(locale: TableLocale): <RecordType extends AnyObject = AnyObject>(props: DefaultExpandIconProps<RecordType>) =>
|
|
13
|
+
declare function renderExpandIcon(locale: TableLocale): <RecordType extends AnyObject = AnyObject>(props: DefaultExpandIconProps<RecordType>) => vue_jsx_runtime5.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { renderExpandIcon as default };
|
|
@@ -6,7 +6,7 @@ import { PaginationSemanticClassNames, PaginationSemanticStyles } from "../pagin
|
|
|
6
6
|
import { SpinProps } from "../spin/index.js";
|
|
7
7
|
import { ColumnType, ColumnsType, FilterDropdownProps, FilterValue, GetPopupContainer, Key, SortOrder, SorterResult, SorterTooltipProps, TableCurrentDataSource, TableLocale, TablePaginationConfig, TableRowSelection } from "./interface.js";
|
|
8
8
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as vue478 from "vue";
|
|
10
10
|
import { CSSProperties, SlotsType } from "vue";
|
|
11
11
|
import { Reference, TableProps as TableProps$1 } from "@v-c/table";
|
|
12
12
|
|
|
@@ -113,6 +113,6 @@ interface TableSlots<RecordType = AnyObject> {
|
|
|
113
113
|
filtered: boolean;
|
|
114
114
|
}) => any;
|
|
115
115
|
}
|
|
116
|
-
declare const InternalTable:
|
|
116
|
+
declare const InternalTable: vue478.DefineSetupFnComponent<InternalTableProps<AnyObject>, TableEmits<AnyObject>, SlotsType<TableSlots<AnyObject>>, InternalTableProps<AnyObject>, vue478.PublicProps>;
|
|
117
117
|
//#endregion
|
|
118
118
|
export { ComponentsSemantic, ComponentsSemanticClassNames, ComponentsSemanticStyles, InternalTableProps, TableClassNamesType, TableEmits, TableEmitsProps, TableExpose, TableProps, TableSemanticClassNames, TableSemanticName, TableSemanticStyles, TableSlots, TableStylesType, InternalTable as default };
|