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
|
@@ -17,6 +17,7 @@ import pagination_default from "../pagination/index.js";
|
|
|
17
17
|
import useSelection from "./hooks/useSelection.js";
|
|
18
18
|
import ExpandIcon_default from "./ExpandIcon.js";
|
|
19
19
|
import useContainerWidth from "./hooks/useContainerWidth.js";
|
|
20
|
+
import useFilledColumns from "./hooks/useFilledColumns.js";
|
|
20
21
|
import useFilter, { collectFilterStates, generateFilterInfo, getFilterData, getMergedFilterStates } from "./hooks/useFilter/index.js";
|
|
21
22
|
import useLazyKVMap from "./hooks/useLazyKVMap.js";
|
|
22
23
|
import usePagination, { DEFAULT_PAGE_SIZE, getPaginationParam } from "./hooks/usePagination.js";
|
|
@@ -39,11 +40,12 @@ function resolvePanelRender(slots, props, key) {
|
|
|
39
40
|
if (slots[key] || props[key]) return (data) => getSlotPropsFnRun(slots, props, key, true, data);
|
|
40
41
|
}
|
|
41
42
|
const InternalTable = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs, expose }) => {
|
|
42
|
-
const { prefixCls, direction, getPrefixCls, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, renderEmpty, getPopupContainer: contextGetPopupContainer, virtual: contextVirtual, bodyCell: contextBodyCell, headerCell: contextHeaderCell, rowKey: contextRowKey, scroll: contextScroll } = useComponentBaseConfig("table", props, [
|
|
43
|
+
const { prefixCls, direction, getPrefixCls, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, renderEmpty, getPopupContainer: contextGetPopupContainer, virtual: contextVirtual, bodyCell: contextBodyCell, headerCell: contextHeaderCell, rowKey: contextRowKey, scroll: contextScroll, column: contextColumn } = useComponentBaseConfig("table", props, [
|
|
43
44
|
"bodyCell",
|
|
44
45
|
"headerCell",
|
|
45
46
|
"rowKey",
|
|
46
|
-
"scroll"
|
|
47
|
+
"scroll",
|
|
48
|
+
"column"
|
|
47
49
|
]);
|
|
48
50
|
const configCtx = useConfig();
|
|
49
51
|
const { classes, styles } = toPropsRefs$1(props, "classes", "styles");
|
|
@@ -73,10 +75,10 @@ const InternalTable = /* @__PURE__ */ defineComponent((props, { slots, emit, att
|
|
|
73
75
|
const internalRefs = { body: shallowRef(null) };
|
|
74
76
|
const rootCls = useCSSVarCls_default(prefixCls);
|
|
75
77
|
const [hashId, cssVarCls] = style_default(prefixCls, rootCls);
|
|
76
|
-
const baseColumns = computed(() => {
|
|
78
|
+
const baseColumns = useFilledColumns(computed(() => {
|
|
77
79
|
if (props.columns) return props.columns;
|
|
78
80
|
return convertColumnsToColumnProps(slots.default?.() ?? []);
|
|
79
|
-
});
|
|
81
|
+
}), computed(() => props.column ?? contextColumn?.value));
|
|
80
82
|
const screens = useBreakpoint(computed(() => baseColumns.value.some((col) => col.responsive)), null);
|
|
81
83
|
const mergedColumns = computed(() => {
|
|
82
84
|
const matched = new Set(Object.keys(screens.value || {}).filter((m) => screens.value?.[m]));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue395 from "vue";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/table/TableMeasureRowContext.d.ts
|
|
5
5
|
declare function useTableMeasureRowContext(): Ref<boolean, boolean>;
|
|
6
|
-
declare const TableMeasureRowContextProvider:
|
|
6
|
+
declare const TableMeasureRowContextProvider: vue395.DefineSetupFnComponent<{
|
|
7
7
|
value: boolean;
|
|
8
8
|
}, {}, {}, {
|
|
9
9
|
value: boolean;
|
|
10
|
-
} & {},
|
|
10
|
+
} & {}, vue395.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { TableMeasureRowContextProvider, useTableMeasureRowContext };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ColumnType, ColumnsType } from "../interface.js";
|
|
2
|
+
import { ComputedRef } from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/table/hooks/useFilledColumns.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Merge a per-column default (typically from ConfigProvider) into every
|
|
7
|
+
* non-special column in the tree. Mirrors ant-design 6.4.0 useFilledColumns.
|
|
8
|
+
*
|
|
9
|
+
* Component-level column props take precedence over the default; defaults only
|
|
10
|
+
* fill in missing keys.
|
|
11
|
+
*/
|
|
12
|
+
declare function useFilledColumns<RecordType = any>(columns: ComputedRef<ColumnsType<RecordType>>, column: ComputedRef<Partial<ColumnType<RecordType>> | undefined>): ComputedRef<ColumnsType<RecordType>>;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { useFilledColumns as default };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { SELECTION_COLUMN } from "./useSelection.js";
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
import { EXPAND_COLUMN } from "@v-c/table";
|
|
4
|
+
|
|
5
|
+
//#region src/table/hooks/useFilledColumns.ts
|
|
6
|
+
function isSpecialColumn(col) {
|
|
7
|
+
return col === SELECTION_COLUMN || col === EXPAND_COLUMN;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Merge a per-column default (typically from ConfigProvider) into every
|
|
11
|
+
* non-special column in the tree. Mirrors ant-design 6.4.0 useFilledColumns.
|
|
12
|
+
*
|
|
13
|
+
* Component-level column props take precedence over the default; defaults only
|
|
14
|
+
* fill in missing keys.
|
|
15
|
+
*/
|
|
16
|
+
function useFilledColumns(columns, column) {
|
|
17
|
+
return computed(() => {
|
|
18
|
+
const defaults = column.value;
|
|
19
|
+
if (!defaults) return columns.value;
|
|
20
|
+
const { children: _ignoredChildren, ...defaultsWithoutChildren } = defaults;
|
|
21
|
+
const fill = (list) => list.map((col) => {
|
|
22
|
+
if (isSpecialColumn(col)) return col;
|
|
23
|
+
if ("children" in col && Array.isArray(col.children)) {
|
|
24
|
+
const group = col;
|
|
25
|
+
return {
|
|
26
|
+
...defaults,
|
|
27
|
+
...group,
|
|
28
|
+
children: fill(group.children)
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
...defaultsWithoutChildren,
|
|
33
|
+
...col
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
return fill(columns.value);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
//#endregion
|
|
41
|
+
export { useFilledColumns as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnyObject, EmptyEmit } from "../../../_util/type.js";
|
|
2
2
|
import { ColumnFilterItem, ColumnType, FilterDropdownProps as FilterDropdownProps$1, FilterSearchType, FilterValue, GetPopupContainer, Key as Key$1, TableLocale } from "../../interface.js";
|
|
3
3
|
import { FilterState } from "./index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1076 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
import { DataNode } from "@v-c/tree";
|
|
7
7
|
|
|
@@ -34,8 +34,8 @@ interface FilterDropdownProps<RecordType = AnyObject> {
|
|
|
34
34
|
rootClassName?: string;
|
|
35
35
|
}
|
|
36
36
|
type FilterTreeDataNode = DataNode;
|
|
37
|
-
declare const FilterDropdown:
|
|
37
|
+
declare const FilterDropdown: vue1076.DefineSetupFnComponent<FilterDropdownProps<AnyObject>, EmptyEmit, SlotsType<{
|
|
38
38
|
default?: () => any;
|
|
39
|
-
}>, FilterDropdownProps<AnyObject>,
|
|
39
|
+
}>, FilterDropdownProps<AnyObject>, vue1076.PublicProps>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { FilterDropdownProps, TreeColumnFilterItem, FilterDropdown as default, flattenKeys };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnyObject } from "../../../_util/type.js";
|
|
2
2
|
import { FilterSearchType, TableLocale } from "../../interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue_jsx_runtime29 from "vue/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/table/hooks/useFilter/FilterSearch.d.ts
|
|
6
6
|
interface FilterSearchProps<RecordType = AnyObject> {
|
|
@@ -10,6 +10,6 @@ interface FilterSearchProps<RecordType = AnyObject> {
|
|
|
10
10
|
tablePrefixCls: string;
|
|
11
11
|
locale: TableLocale;
|
|
12
12
|
}
|
|
13
|
-
declare function FilterSearch<RecordType extends AnyObject = AnyObject>(props: FilterSearchProps<RecordType>):
|
|
13
|
+
declare function FilterSearch<RecordType extends AnyObject = AnyObject>(props: FilterSearchProps<RecordType>): vue_jsx_runtime29.JSX.Element | null;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { FilterSearch as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EmptyEmit } from "../../../_util/type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1074 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/table/hooks/useFilter/FilterWrapper.d.ts
|
|
@@ -7,8 +7,8 @@ interface FilterDropdownMenuWrapperProps {
|
|
|
7
7
|
class?: string;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
declare const FilterDropdownMenuWrapper:
|
|
10
|
+
declare const FilterDropdownMenuWrapper: vue1074.DefineSetupFnComponent<FilterDropdownMenuWrapperProps, EmptyEmit, SlotsType<{
|
|
11
11
|
default?: () => any;
|
|
12
|
-
}>, FilterDropdownMenuWrapperProps,
|
|
12
|
+
}>, FilterDropdownMenuWrapperProps, vue1074.PublicProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { FilterDropdownMenuWrapperProps, FilterDropdownMenuWrapper as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject, VueNode } from "../../../_util/type.js";
|
|
1
|
+
import { AnyObject, VueNode as VueNode$1 } from "../../../_util/type.js";
|
|
2
2
|
import { devUseWarning } from "../../../_util/warning.js";
|
|
3
3
|
import { Breakpoint } from "../../../_util/responsiveObserver.js";
|
|
4
4
|
import { ColumnFilterItem, ColumnTitle, ColumnType, ColumnsType, CompareFn, CoverableDropdownProps, FilterDropdownProps, FilterKey, FilterSearchType, FilterValue, GetPopupContainer, Key, SortOrder, SorterTooltipProps, TableLocale, TransformColumns } from "../../interface.js";
|
|
@@ -47,16 +47,16 @@ declare function getMergedFilterStates<RecordType extends AnyObject = AnyObject>
|
|
|
47
47
|
sortDirections?: SortOrder[];
|
|
48
48
|
sortIcon?: (props: {
|
|
49
49
|
sortOrder: SortOrder;
|
|
50
|
-
}) => VueNode;
|
|
50
|
+
}) => VueNode$1;
|
|
51
51
|
showSorterTooltip?: boolean | SorterTooltipProps;
|
|
52
52
|
filtered?: boolean;
|
|
53
53
|
filters?: ColumnFilterItem[];
|
|
54
|
-
filterDropdown?: VueNode | ((props: FilterDropdownProps) => VueNode);
|
|
54
|
+
filterDropdown?: VueNode$1 | ((props: FilterDropdownProps) => VueNode$1);
|
|
55
55
|
filterOnClose?: boolean;
|
|
56
56
|
filterMultiple?: boolean;
|
|
57
57
|
filteredValue?: FilterValue | null;
|
|
58
58
|
defaultFilteredValue?: FilterValue | null;
|
|
59
|
-
filterIcon?: VueNode | ((filtered: boolean) => VueNode);
|
|
59
|
+
filterIcon?: VueNode$1 | ((filtered: boolean) => VueNode$1);
|
|
60
60
|
filterMode?: "menu" | "tree";
|
|
61
61
|
filterSearch?: FilterSearchType<ColumnFilterItem>;
|
|
62
62
|
onFilter?: ((value: Key | boolean, record: RecordType) => boolean) | undefined;
|
|
@@ -65,17 +65,17 @@ declare function getMergedFilterStates<RecordType extends AnyObject = AnyObject>
|
|
|
65
65
|
responsive?: Breakpoint[];
|
|
66
66
|
filterDropdownOpen?: boolean;
|
|
67
67
|
onFilterDropdownOpenChange?: (visible: boolean) => void;
|
|
68
|
-
hidden?: boolean | undefined;
|
|
69
|
-
className?: string | undefined;
|
|
70
|
-
width?: number | string | undefined;
|
|
71
68
|
key?: _v_c_table_dist_interface_js0.Key | undefined;
|
|
69
|
+
width?: number | string | undefined;
|
|
70
|
+
className?: string | undefined;
|
|
72
71
|
minWidth?: number | undefined;
|
|
72
|
+
hidden?: boolean | undefined;
|
|
73
73
|
fixed?: _v_c_table0.FixedType | undefined;
|
|
74
74
|
ellipsis?: _v_c_table_dist_interface_js0.CellEllipsisType | undefined;
|
|
75
75
|
align?: _v_c_table_dist_interface_js0.AlignType | undefined;
|
|
76
|
-
render?: ((value: any, record: RecordType, index: number) => _v_c_util6.VueNode | _v_c_table0.RenderedCell<RecordType>) | undefined;
|
|
77
76
|
colSpan?: number | undefined;
|
|
78
77
|
dataIndex?: _v_c_table0.DataIndex<RecordType> | undefined;
|
|
78
|
+
render?: ((value: any, record: RecordType, index: number) => _v_c_util6.VueNode | _v_c_table0.RenderedCell<RecordType>) | undefined;
|
|
79
79
|
shouldCellUpdate?: ((record: RecordType, prevRecord: RecordType) => boolean) | undefined;
|
|
80
80
|
rowSpan?: number | undefined;
|
|
81
81
|
onCell?: ((data: RecordType, index?: number) => Partial<_v_c_table_dist_interface_js0.CellAttributes>) | undefined;
|
|
@@ -84,19 +84,18 @@ declare function getMergedFilterStates<RecordType extends AnyObject = AnyObject>
|
|
|
84
84
|
rowScope?: _v_c_table_dist_interface_js0.RowScopeType | undefined;
|
|
85
85
|
} | {
|
|
86
86
|
children: ColumnsType<RecordType>;
|
|
87
|
-
hidden?: boolean;
|
|
88
|
-
className?: string;
|
|
89
|
-
responsive?: Breakpoint[];
|
|
90
87
|
title?: ColumnTitle<RecordType_1>;
|
|
91
|
-
width?: number | string;
|
|
92
88
|
key?: _v_c_table_dist_interface_js0.Key;
|
|
89
|
+
width?: number | string;
|
|
90
|
+
className?: string;
|
|
93
91
|
minWidth?: number;
|
|
92
|
+
hidden?: boolean;
|
|
94
93
|
fixed?: _v_c_table0.FixedType;
|
|
95
94
|
ellipsis?: _v_c_table_dist_interface_js0.CellEllipsisType;
|
|
96
95
|
align?: _v_c_table_dist_interface_js0.AlignType;
|
|
97
|
-
|
|
98
|
-
filters?: ColumnFilterItem[];
|
|
96
|
+
responsive?: Breakpoint[];
|
|
99
97
|
colSpan?: number;
|
|
98
|
+
render?: ((value: any, record: RecordType, index: number) => _v_c_util6.VueNode | _v_c_table0.RenderedCell<RecordType>) | undefined;
|
|
100
99
|
shouldCellUpdate?: ((record: RecordType, prevRecord: RecordType) => boolean) | undefined;
|
|
101
100
|
rowSpan?: number;
|
|
102
101
|
onCell?: ((data: RecordType, index?: number) => Partial<_v_c_table_dist_interface_js0.CellAttributes>) | undefined;
|
|
@@ -112,15 +111,16 @@ declare function getMergedFilterStates<RecordType extends AnyObject = AnyObject>
|
|
|
112
111
|
sortDirections?: SortOrder[];
|
|
113
112
|
sortIcon?: (props: {
|
|
114
113
|
sortOrder: SortOrder;
|
|
115
|
-
}) => VueNode;
|
|
114
|
+
}) => VueNode$1;
|
|
116
115
|
showSorterTooltip?: boolean | SorterTooltipProps;
|
|
117
116
|
filtered?: boolean;
|
|
118
|
-
|
|
117
|
+
filters?: ColumnFilterItem[];
|
|
118
|
+
filterDropdown?: VueNode$1 | ((props: FilterDropdownProps) => VueNode$1);
|
|
119
119
|
filterOnClose?: boolean;
|
|
120
120
|
filterMultiple?: boolean;
|
|
121
121
|
filteredValue?: FilterValue | null;
|
|
122
122
|
defaultFilteredValue?: FilterValue | null;
|
|
123
|
-
filterIcon?: VueNode | ((filtered: boolean) => VueNode);
|
|
123
|
+
filterIcon?: VueNode$1 | ((filtered: boolean) => VueNode$1);
|
|
124
124
|
filterMode?: "menu" | "tree";
|
|
125
125
|
filterSearch?: FilterSearchType<ColumnFilterItem>;
|
|
126
126
|
onFilter?: ((value: Key | boolean, record: RecordType) => boolean) | undefined;
|
|
@@ -140,16 +140,16 @@ declare function getMergedFilterStates<RecordType extends AnyObject = AnyObject>
|
|
|
140
140
|
sortDirections?: SortOrder[];
|
|
141
141
|
sortIcon?: (props: {
|
|
142
142
|
sortOrder: SortOrder;
|
|
143
|
-
}) => VueNode;
|
|
143
|
+
}) => VueNode$1;
|
|
144
144
|
showSorterTooltip?: boolean | SorterTooltipProps;
|
|
145
145
|
filtered?: boolean;
|
|
146
146
|
filters?: ColumnFilterItem[];
|
|
147
|
-
filterDropdown?: VueNode | ((props: FilterDropdownProps) => VueNode);
|
|
147
|
+
filterDropdown?: VueNode$1 | ((props: FilterDropdownProps) => VueNode$1);
|
|
148
148
|
filterOnClose?: boolean;
|
|
149
149
|
filterMultiple?: boolean;
|
|
150
150
|
filteredValue?: FilterValue | null;
|
|
151
151
|
defaultFilteredValue?: FilterValue | null;
|
|
152
|
-
filterIcon?: VueNode | ((filtered: boolean) => VueNode);
|
|
152
|
+
filterIcon?: VueNode$1 | ((filtered: boolean) => VueNode$1);
|
|
153
153
|
filterMode?: "menu" | "tree";
|
|
154
154
|
filterSearch?: FilterSearchType<ColumnFilterItem>;
|
|
155
155
|
onFilter?: ((value: Key | boolean, record: RecordType) => boolean) | undefined;
|
|
@@ -158,17 +158,17 @@ declare function getMergedFilterStates<RecordType extends AnyObject = AnyObject>
|
|
|
158
158
|
responsive?: Breakpoint[];
|
|
159
159
|
filterDropdownOpen?: boolean;
|
|
160
160
|
onFilterDropdownOpenChange?: (visible: boolean) => void;
|
|
161
|
-
hidden?: boolean;
|
|
162
|
-
className?: string;
|
|
163
|
-
width?: number | string;
|
|
164
161
|
key?: _v_c_table_dist_interface_js0.Key;
|
|
162
|
+
width?: number | string;
|
|
163
|
+
className?: string;
|
|
165
164
|
minWidth?: number;
|
|
165
|
+
hidden?: boolean;
|
|
166
166
|
fixed?: _v_c_table0.FixedType;
|
|
167
167
|
ellipsis?: _v_c_table_dist_interface_js0.CellEllipsisType;
|
|
168
168
|
align?: _v_c_table_dist_interface_js0.AlignType;
|
|
169
|
-
render?: ((value: any, record: RecordType, index: number) => _v_c_util6.VueNode | _v_c_table0.RenderedCell<RecordType>) | undefined;
|
|
170
169
|
colSpan?: number;
|
|
171
170
|
dataIndex?: _v_c_table0.DataIndex<RecordType> | undefined;
|
|
171
|
+
render?: ((value: any, record: RecordType, index: number) => _v_c_util6.VueNode | _v_c_table0.RenderedCell<RecordType>) | undefined;
|
|
172
172
|
shouldCellUpdate?: ((record: RecordType, prevRecord: RecordType) => boolean) | undefined;
|
|
173
173
|
rowSpan?: number;
|
|
174
174
|
onCell?: ((data: RecordType, index?: number) => Partial<_v_c_table_dist_interface_js0.CellAttributes>) | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TablePaginationConfig } from "../interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1008 from "vue";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/table/hooks/usePagination.d.ts
|
|
6
6
|
declare const DEFAULT_PAGE_SIZE = 10;
|
|
7
7
|
declare function getPaginationParam(mergedPagination: TablePaginationConfig, pagination?: TablePaginationConfig | boolean): any;
|
|
8
8
|
type MaybeRef<T> = T | Ref<T>;
|
|
9
|
-
declare function usePagination(total: MaybeRef<number>, onChange: (current: number, pageSize: number) => void, pagination?: MaybeRef<TablePaginationConfig | false>): readonly [
|
|
9
|
+
declare function usePagination(total: MaybeRef<number>, onChange: (current: number, pageSize: number) => void, pagination?: MaybeRef<TablePaginationConfig | false>): readonly [vue1008.ComputedRef<TablePaginationConfig>, (current?: number, pageSize?: number) => void];
|
|
10
10
|
//#endregion
|
|
11
11
|
export { DEFAULT_PAGE_SIZE, usePagination as default, getPaginationParam };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnyObject } from "../../_util/type.js";
|
|
2
2
|
import { GetPopupContainer, GetRowKey, Key, SelectionItem, TableLocale, TableRowSelection, TransformColumns } from "../interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue1042 from "vue";
|
|
4
4
|
import { Ref } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/table/hooks/useSelection.d.ts
|
|
@@ -20,6 +20,6 @@ interface UseSelectionConfig<RecordType = AnyObject> {
|
|
|
20
20
|
getPopupContainer?: MaybeRef<GetPopupContainer | undefined>;
|
|
21
21
|
}
|
|
22
22
|
type INTERNAL_SELECTION_ITEM = SelectionItem | typeof SELECTION_ALL | typeof SELECTION_INVERT | typeof SELECTION_NONE;
|
|
23
|
-
declare function useSelection<RecordType extends AnyObject = AnyObject>(config: UseSelectionConfig<RecordType>, rowSelection?: MaybeRef<TableRowSelection<RecordType> | undefined>): readonly [TransformColumns<RecordType>,
|
|
23
|
+
declare function useSelection<RecordType extends AnyObject = AnyObject>(config: UseSelectionConfig<RecordType>, rowSelection?: MaybeRef<TableRowSelection<RecordType> | undefined>): readonly [TransformColumns<RecordType>, vue1042.ComputedRef<Set<Key>>];
|
|
24
24
|
//#endregion
|
|
25
25
|
export { INTERNAL_SELECTION_ITEM, SELECTION_ALL, SELECTION_COLUMN, SELECTION_INVERT, SELECTION_NONE, useSelection as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnyObject } from "../../_util/type.js";
|
|
2
2
|
import { ColumnTitleProps, ColumnType, ColumnsType, Key, SortOrder, SorterResult, SorterTooltipProps, TableLocale, TransformColumns } from "../interface.js";
|
|
3
3
|
import { Locale } from "../../locale/index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue957 from "vue";
|
|
5
5
|
import { Ref } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/table/hooks/useSorter.d.ts
|
|
@@ -22,6 +22,6 @@ interface SorterConfig<RecordType = AnyObject> {
|
|
|
22
22
|
showSorterTooltip?: MaybeRef<boolean | SorterTooltipProps>;
|
|
23
23
|
globalLocale?: MaybeRef<Locale['global']>;
|
|
24
24
|
}
|
|
25
|
-
declare function useSorter<RecordType extends AnyObject = AnyObject>(props: SorterConfig<RecordType>): readonly [TransformColumns<RecordType>,
|
|
25
|
+
declare function useSorter<RecordType extends AnyObject = AnyObject>(props: SorterConfig<RecordType>): readonly [TransformColumns<RecordType>, vue957.ComputedRef<SortState<RecordType>[]>, vue957.ComputedRef<ColumnTitleProps<RecordType>>, () => SorterResult<RecordType> | SorterResult<RecordType>[]];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { SortState, useSorter as default, getSortData };
|
|
@@ -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 vue1002 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/table/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -213,6 +213,6 @@ interface TableToken extends FullToken<'Table'> {
|
|
|
213
213
|
tableScrollBg: string;
|
|
214
214
|
}
|
|
215
215
|
declare const prepareComponentToken: GetDefaultToken<'Table'>;
|
|
216
|
-
declare const _default: (prefixCls:
|
|
216
|
+
declare const _default: (prefixCls: vue1002.Ref<string>, rootCls?: vue1002.Ref<string | undefined>) => readonly [vue1002.Ref<string, string>, vue1002.ComputedRef<string | undefined>];
|
|
217
217
|
//#endregion
|
|
218
218
|
export { ComponentToken, TableToken, _default as default, prepareComponentToken };
|
package/dist/tabs/TabPane.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue511 from "vue";
|
|
3
3
|
import { CSSProperties, SlotsType } from "vue";
|
|
4
4
|
import { TabPaneProps as TabPaneProps$1 } from "@v-c/tabs";
|
|
5
5
|
|
|
@@ -16,6 +16,6 @@ interface TabPaneSlots {
|
|
|
16
16
|
closeIcon?: () => any;
|
|
17
17
|
icon?: () => any;
|
|
18
18
|
}
|
|
19
|
-
declare const TabPane:
|
|
19
|
+
declare const TabPane: vue511.DefineSetupFnComponent<TabPaneProps, EmptyEmit, SlotsType<TabPaneSlots>, TabPaneProps, vue511.PublicProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { TabPaneProps, TabPaneSlots, TabPane as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TabsProps as TabsProps$1 } from "../index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue914 from "vue";
|
|
3
3
|
import { Tab } from "@v-c/tabs";
|
|
4
4
|
|
|
5
5
|
//#region src/tabs/hooks/useLegacyItems.d.ts
|
|
6
|
-
declare function useLegacyItems(items: () => TabsProps$1['items'] | undefined, slots: any):
|
|
6
|
+
declare function useLegacyItems(items: () => TabsProps$1['items'] | undefined, slots: any): vue914.ComputedRef<Tab[]>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { useLegacyItems as default };
|
package/dist/tabs/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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 TabPane, { TabPaneProps } from "./TabPane.js";
|
|
6
6
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue476 from "vue";
|
|
8
8
|
import { CSSProperties, SlotsType } from "vue";
|
|
9
9
|
import { GetIndicatorSize, MoreProps, Tab as Tab$1, TabsProps as TabsProps$1 } from "@v-c/tabs";
|
|
10
10
|
|
|
@@ -19,6 +19,7 @@ interface TabsSemanticClassNames {
|
|
|
19
19
|
indicator?: string;
|
|
20
20
|
content?: string;
|
|
21
21
|
header?: string;
|
|
22
|
+
remove?: string;
|
|
22
23
|
}
|
|
23
24
|
interface TabsSemanticStyles {
|
|
24
25
|
root?: CSSProperties;
|
|
@@ -26,6 +27,7 @@ interface TabsSemanticStyles {
|
|
|
26
27
|
indicator?: CSSProperties;
|
|
27
28
|
content?: CSSProperties;
|
|
28
29
|
header?: CSSProperties;
|
|
30
|
+
remove?: CSSProperties;
|
|
29
31
|
}
|
|
30
32
|
type TabsClassNamesType = SemanticClassNamesType<TabsProps, TabsSemanticClassNames, {
|
|
31
33
|
popup?: {
|
|
@@ -42,7 +44,7 @@ interface CompatibilityProps {
|
|
|
42
44
|
destroyInactiveTabPane?: boolean;
|
|
43
45
|
}
|
|
44
46
|
interface Tab extends Omit<Tab$1, 'children' | 'className'> {
|
|
45
|
-
content?: VueNode;
|
|
47
|
+
content?: VueNode$1;
|
|
46
48
|
class?: string;
|
|
47
49
|
}
|
|
48
50
|
interface TabsRef {
|
|
@@ -77,10 +79,10 @@ interface TabsEmitsProps {
|
|
|
77
79
|
'onUpdate:activeKey'?: TabsEmits['update:activeKey'];
|
|
78
80
|
}
|
|
79
81
|
interface TabsProps extends BaseTabsProps, CompatibilityProps, Omit<TabsProps$1, 'editable' | 'items' | 'classNames' | 'className' | 'popupClassName' | 'styles' | 'style' | 'onChange' | 'onTabScroll' | 'onTabClick' | 'renderTabBar'>, TabsEmitsProps {
|
|
80
|
-
addIcon?: VueNode;
|
|
81
|
-
moreIcon?: VueNode;
|
|
82
|
+
addIcon?: VueNode$1;
|
|
83
|
+
moreIcon?: VueNode$1;
|
|
82
84
|
more?: MoreProps;
|
|
83
|
-
removeIcon?: VueNode;
|
|
85
|
+
removeIcon?: VueNode$1;
|
|
84
86
|
styles?: TabsStylesType;
|
|
85
87
|
classes?: TabsClassNamesType;
|
|
86
88
|
/** @deprecated Please use `classes.popup` instead */
|
|
@@ -111,6 +113,6 @@ interface TabsSlots {
|
|
|
111
113
|
rightExtra?: () => any;
|
|
112
114
|
leftExtra?: () => any;
|
|
113
115
|
}
|
|
114
|
-
declare const Tabs:
|
|
116
|
+
declare const Tabs: vue476.DefineSetupFnComponent<TabsProps, TabsEmits, SlotsType<TabsSlots>, TabsProps, vue476.PublicProps>;
|
|
115
117
|
//#endregion
|
|
116
118
|
export { BaseTabsProps, CompatibilityProps, Tab, TabItem, TabPane, type TabPaneProps, TabPlacement, TabPosition, TabsClassNamesType, TabsEmits, TabsEmitsProps, TabsProps, TabsRef, TabsSemanticClassNames, TabsSemanticName, TabsSemanticStyles, TabsSlots, TabsStylesType, TabsType, Tabs 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 vue942 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/tabs/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -145,6 +145,6 @@ interface TabsToken extends FullToken<'Tabs'> {
|
|
|
145
145
|
tabsHorizontalItemMarginRTL: string;
|
|
146
146
|
}
|
|
147
147
|
declare const prepareComponentToken: GetDefaultToken<'Tabs'>;
|
|
148
|
-
declare const _default: (prefixCls:
|
|
148
|
+
declare const _default: (prefixCls: vue942.Ref<string>, rootCls?: vue942.Ref<string | undefined>) => readonly [vue942.Ref<string, string>, vue942.ComputedRef<string | undefined>];
|
|
149
149
|
//#endregion
|
|
150
150
|
export { ComponentToken, TabsToken, _default as default, prepareComponentToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue537 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/tag/CheckableTag.d.ts
|
|
@@ -14,7 +14,7 @@ interface CheckableTagProps extends ComponentBaseProps, CheckableTagEmitsProps {
|
|
|
14
14
|
/**
|
|
15
15
|
* @since 5.27.0
|
|
16
16
|
*/
|
|
17
|
-
icon?: VueNode;
|
|
17
|
+
icon?: VueNode$1;
|
|
18
18
|
disabled?: boolean;
|
|
19
19
|
}
|
|
20
20
|
interface CheckableTagEmits {
|
|
@@ -31,6 +31,6 @@ interface CheckableTagSlots {
|
|
|
31
31
|
default: () => any;
|
|
32
32
|
icon: () => any;
|
|
33
33
|
}
|
|
34
|
-
declare const CheckableTag:
|
|
34
|
+
declare const CheckableTag: vue537.DefineSetupFnComponent<CheckableTagProps, CheckableTagEmits, SlotsType<CheckableTagSlots>, CheckableTagProps, vue537.PublicProps>;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { CheckableTagEmits, CheckableTagEmitsProps, CheckableTagProps, CheckableTagSlots, CheckableTag as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNames, SemanticStyles } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue648 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/tag/CheckableTagGroup.d.ts
|
|
8
8
|
type CheckableTagDefaultValue = string | number;
|
|
9
9
|
interface CheckableTagOption<CheckableTagValue = CheckableTagDefaultValue> {
|
|
10
10
|
value: CheckableTagValue;
|
|
11
|
-
label: VueNode;
|
|
11
|
+
label: VueNode$1;
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
}
|
|
14
14
|
interface CheckableTagGroupSingleProps<CheckableTagValue = CheckableTagDefaultValue> {
|
|
@@ -43,6 +43,6 @@ interface CheckableTagGroupEmitsProps<CheckableTagValue = CheckableTagDefaultVal
|
|
|
43
43
|
'onUpdate:value'?: CheckableTagGroupEmits<CheckableTagValue>['update:value'];
|
|
44
44
|
}
|
|
45
45
|
interface InternalCheckableTagGroupProps extends CheckableTagGroupProps, CheckableTagGroupEmitsProps {}
|
|
46
|
-
declare const CheckableTagGroup:
|
|
46
|
+
declare const CheckableTagGroup: vue648.DefineSetupFnComponent<InternalCheckableTagGroupProps, CheckableTagGroupEmits<CheckableTagDefaultValue>, {}, InternalCheckableTagGroupProps, vue648.PublicProps>;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { CheckableTagGroupEmits, CheckableTagGroupEmitsProps, CheckableTagGroupProps, CheckableTagGroupRef, CheckableTagOption, SemanticName, CheckableTagGroup as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TagProps } from "../index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue988 from "vue";
|
|
3
3
|
import { CSSProperties, Ref } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/tag/hooks/useColor.d.ts
|
|
@@ -11,6 +11,6 @@ declare function useColor(props: {
|
|
|
11
11
|
color: Ref<TagProps['color']>;
|
|
12
12
|
variant: Ref<TagProps['variant']>;
|
|
13
13
|
bordered: Ref<TagProps['bordered']>;
|
|
14
|
-
}, contextVariant?: Ref<TagProps['variant']>): readonly [
|
|
14
|
+
}, contextVariant?: Ref<TagProps['variant']>): readonly [vue988.ComputedRef<"solid" | "filled" | "outlined">, vue988.ComputedRef<string | undefined>, vue988.ComputedRef<boolean>, vue988.ComputedRef<boolean>, vue988.ComputedRef<CSSProperties>];
|
|
15
15
|
//#endregion
|
|
16
16
|
export { useColor as default };
|
package/dist/tag/index.d.ts
CHANGED
|
@@ -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 "../_util/hooks/index.js";
|
|
4
4
|
import { PresetColorType, PresetStatusColorType } from "../_util/colors.js";
|
|
@@ -6,7 +6,7 @@ import { ClosableType } from "../_util/hooks/useClosable.js";
|
|
|
6
6
|
import CheckableTag, { CheckableTagProps } from "./CheckableTag.js";
|
|
7
7
|
import CheckableTagGroup from "./CheckableTagGroup.js";
|
|
8
8
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as vue221 from "vue";
|
|
10
10
|
import { CSSProperties, SlotsType } from "vue";
|
|
11
11
|
import { LiteralUnion } from "@v-c/util/dist/type";
|
|
12
12
|
|
|
@@ -16,11 +16,13 @@ interface TagSemanticClassNames {
|
|
|
16
16
|
root?: string;
|
|
17
17
|
icon?: string;
|
|
18
18
|
content?: string;
|
|
19
|
+
close?: string;
|
|
19
20
|
}
|
|
20
21
|
interface TagSemanticStyles {
|
|
21
22
|
root?: CSSProperties;
|
|
22
23
|
icon?: CSSProperties;
|
|
23
24
|
content?: CSSProperties;
|
|
25
|
+
close?: CSSProperties;
|
|
24
26
|
}
|
|
25
27
|
type TagClassNamesType = SemanticClassNamesType<TagProps, TagSemanticClassNames>;
|
|
26
28
|
type TagStylesType = SemanticStylesType<TagProps, TagSemanticStyles>;
|
|
@@ -28,8 +30,8 @@ interface TagProps extends ComponentBaseProps, TagEmitsProps {
|
|
|
28
30
|
color?: LiteralUnion<PresetColorType | PresetStatusColorType>;
|
|
29
31
|
/** Advised to use closeIcon instead. */
|
|
30
32
|
closable?: ClosableType;
|
|
31
|
-
closeIcon?: VueNode;
|
|
32
|
-
icon?: VueNode;
|
|
33
|
+
closeIcon?: VueNode$1;
|
|
34
|
+
icon?: VueNode$1;
|
|
33
35
|
onClick?: (e: MouseEvent) => void;
|
|
34
36
|
href?: string;
|
|
35
37
|
target?: string;
|
|
@@ -50,7 +52,7 @@ interface TagEmits {
|
|
|
50
52
|
interface TagEmitsProps {
|
|
51
53
|
onClose?: TagEmits['close'];
|
|
52
54
|
}
|
|
53
|
-
declare const InternalTag:
|
|
55
|
+
declare const InternalTag: vue221.DefineSetupFnComponent<TagProps, TagEmits, SlotsType<TagSlots>, TagProps, vue221.PublicProps>;
|
|
54
56
|
declare const Tag: typeof InternalTag & {
|
|
55
57
|
CheckableTag: typeof CheckableTag;
|
|
56
58
|
};
|
package/dist/tag/index.js
CHANGED
|
@@ -59,7 +59,8 @@ const InternalTag = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
|
|
|
59
59
|
closable: false,
|
|
60
60
|
closeIconRender(iconNode) {
|
|
61
61
|
return replaceElement(iconNode, createVNode("span", {
|
|
62
|
-
"class": `${prefixCls.value}-close-icon`,
|
|
62
|
+
"class": classNames(`${prefixCls.value}-close-icon`, mergedClassNames.value?.close),
|
|
63
|
+
"style": mergedStyles.value?.close,
|
|
63
64
|
"onClick": handleCloseClick
|
|
64
65
|
}, [iconNode]), (originProps) => {
|
|
65
66
|
return {
|
|
@@ -67,7 +68,11 @@ const InternalTag = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
|
|
|
67
68
|
originProps?.onClick?.(e);
|
|
68
69
|
handleCloseClick(e);
|
|
69
70
|
},
|
|
70
|
-
class: classNames(originProps?.class, `${prefixCls.value}-close-icon
|
|
71
|
+
class: classNames(originProps?.class, `${prefixCls.value}-close-icon`, mergedClassNames.value?.close),
|
|
72
|
+
style: {
|
|
73
|
+
...originProps?.style,
|
|
74
|
+
...mergedStyles.value?.close
|
|
75
|
+
}
|
|
71
76
|
};
|
|
72
77
|
});
|
|
73
78
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GenStyleFn, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue984 from "vue";
|
|
4
4
|
import { CSSProperties } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/tag/style/index.d.ts
|
|
@@ -30,6 +30,6 @@ interface TagToken extends FullToken<'Tag'> {
|
|
|
30
30
|
}
|
|
31
31
|
declare function prepareToken(token: Parameters<GenStyleFn<'Tag'>>[0]): TagToken;
|
|
32
32
|
declare const prepareComponentToken: GetDefaultToken<'Tag'>;
|
|
33
|
-
declare const _default: (prefixCls:
|
|
33
|
+
declare const _default: (prefixCls: vue984.Ref<string>, rootCls?: vue984.Ref<string | undefined>) => readonly [vue984.Ref<string, string>, vue984.ComputedRef<string | undefined>];
|
|
34
34
|
//#endregion
|
|
35
35
|
export { ComponentToken, TagToken, _default as default, prepareComponentToken, prepareToken };
|