antdv-next 1.3.1 → 1.3.2
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 +2 -2
- 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 +7 -2
- 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/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 +2 -2
- package/dist/alert/style/index.d.ts +2 -2
- package/dist/anchor/Anchor.d.ts +2 -2
- package/dist/anchor/AnchorLink.d.ts +2 -2
- package/dist/anchor/style/index.d.ts +2 -2
- package/dist/antd-with-locales.esm.js +8348 -8294
- package/dist/antd-with-locales.js +72 -72
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +1806 -1752
- package/dist/antd.js +23 -23
- package/dist/app/App.d.ts +2 -2
- package/dist/app/context.d.ts +2 -2
- package/dist/app/style/index.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +2 -2
- package/dist/avatar/Avatar.d.ts +2 -2
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/style/index.d.ts +2 -2
- package/dist/badge/Ribbon.d.ts +2 -2
- package/dist/badge/ScrollNumber.d.ts +2 -2
- package/dist/badge/SingleNumber.d.ts +2 -2
- package/dist/badge/index.d.ts +3 -3
- package/dist/badge/style/index.d.ts +2 -2
- package/dist/badge/style/ribbon.d.ts +2 -2
- package/dist/border-beam/BorderBeam.d.ts +3 -3
- package/dist/border-beam/hooks/useBorderSize.d.ts +2 -2
- package/dist/border-beam/style/index.d.ts +2 -2
- package/dist/breadcrumb/Breadcrumb.d.ts +3 -3
- package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -3
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
- package/dist/breadcrumb/style/index.d.ts +2 -2
- package/dist/breadcrumb/useItemRender.d.ts +2 -2
- package/dist/button/Button.d.ts +2 -2
- package/dist/button/DefaultLoadingIcon.d.ts +2 -2
- package/dist/button/IconWrapper.d.ts +2 -2
- package/dist/button/style/compact.d.ts +4 -4
- package/dist/button/style/index.d.ts +2 -2
- package/dist/calendar/Header.d.ts +2 -2
- package/dist/calendar/generateCalendar.d.ts +2 -2
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/style/index.d.ts +2 -2
- package/dist/card/Card.d.ts +2 -2
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +2 -2
- package/dist/card/style/index.d.ts +2 -2
- package/dist/carousel/index.d.ts +2 -2
- 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 +2 -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 +2 -2
- package/dist/checkbox/style/index.d.ts +4 -4
- package/dist/collapse/Collapse.d.ts +2 -2
- package/dist/collapse/CollapsePanel.d.ts +2 -2
- 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/ColorClear.js +11 -1
- 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 +2 -2
- package/dist/color-picker/style/index.d.ts +2 -2
- 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 +15 -15
- 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 +7 -4
- package/dist/config-provider/index.js +3 -1
- package/dist/date-picker/PickerButton.d.ts +2 -2
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +7 -7
- package/dist/date-picker/generatePicker/generateSinglePicker.js +4 -1
- 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/util.d.ts +3 -3
- package/dist/descriptions/Cell.d.ts +2 -2
- package/dist/descriptions/Item.d.ts +2 -2
- package/dist/descriptions/Row.d.ts +2 -2
- package/dist/descriptions/hooks/useItems.d.ts +10 -10
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/index.d.ts +2 -2
- package/dist/descriptions/index.js +1 -4
- 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 +2 -2
- package/dist/drawer/index.d.ts +3 -3
- 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/empty/empty.d.ts +2 -2
- package/dist/empty/index.d.ts +5 -5
- 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/FloatButton.d.ts +2 -2
- package/dist/float-button/FloatButtonGroup.d.ts +2 -2
- package/dist/float-button/PurePanel.d.ts +2 -2
- package/dist/float-button/context.d.ts +3 -3
- package/dist/float-button/style/index.d.ts +2 -2
- package/dist/form/ErrorList.d.ts +2 -2
- package/dist/form/Form.d.ts +2 -2
- 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 +2 -2
- package/dist/form/FormItemLabel.d.ts +3 -3
- package/dist/form/context.d.ts +6 -6
- 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 +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +9 -9
- package/dist/image/index.d.ts +3 -3
- package/dist/image/style/index.d.ts +2 -2
- package/dist/input/Group.d.ts +3 -3
- package/dist/input/Input.d.ts +2 -2
- package/dist/input/OTP/OTPInput.d.ts +3 -3
- package/dist/input/OTP/index.d.ts +2 -2
- package/dist/input/Password.d.ts +2 -2
- package/dist/input/Search.d.ts +2 -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-number/index.d.ts +2 -2
- 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/locale/zh_CN.js +2 -2
- package/dist/masonry/Masonry.d.ts +3 -3
- package/dist/masonry/MasonryItem.d.ts +2 -2
- package/dist/masonry/hooks/usePositions.d.ts +2 -2
- package/dist/masonry/style/index.d.ts +2 -2
- package/dist/mentions/index.d.ts +2 -2
- 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 +2 -2
- package/dist/menu/MenuItemGroup.d.ts +2 -2
- package/dist/menu/OverrideContext.d.ts +3 -3
- package/dist/menu/SubMenu.d.ts +2 -2
- 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/message/PureList.d.ts +3 -3
- package/dist/message/PurePanel.d.ts +3 -3
- package/dist/message/style/index.d.ts +5 -5
- package/dist/message/useMessage.d.ts +3 -3
- package/dist/modal/ConfirmDialog.d.ts +4 -4
- package/dist/modal/Modal.d.ts +2 -2
- package/dist/modal/PurePanel.d.ts +2 -2
- package/dist/modal/components/ConfirmCancelBtn.d.ts +2 -2
- package/dist/modal/components/ConfirmOkBtn.d.ts +2 -2
- package/dist/modal/components/NormalCancelBtn.d.ts +2 -2
- package/dist/modal/components/NormalOkBtn.d.ts +2 -2
- package/dist/modal/confirm.js +2 -1
- package/dist/modal/shared.d.ts +4 -4
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +2 -2
- package/dist/modal/useModal/HookModal.d.ts +3 -3
- package/dist/notification/PureList.d.ts +3 -3
- package/dist/notification/PurePanel.d.ts +3 -3
- package/dist/notification/style/index.d.ts +5 -5
- package/dist/notification/useNotification.d.ts +3 -3
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.d.ts +2 -2
- package/dist/pagination/Pagination.js +9 -9
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -12
- package/dist/pagination/style/index.js +6 -6
- package/dist/popconfirm/PurePanel.d.ts +3 -3
- package/dist/popconfirm/index.d.ts +2 -2
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popover/PurePanel.d.ts +4 -4
- package/dist/popover/index.d.ts +2 -2
- 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 +2 -2
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/style/index.d.ts +2 -2
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +2 -2
- package/dist/segmented/style/index.d.ts +2 -2
- package/dist/select/index.d.ts +4 -4
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/useIcons.d.ts +5 -5
- 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 +4 -4
- 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 +2 -2
- package/dist/spin/Indicator/Looper.d.ts +2 -2
- package/dist/spin/Indicator/Progress.d.ts +2 -2
- package/dist/spin/Indicator/index.d.ts +2 -2
- package/dist/spin/index.d.ts +2 -2
- 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/SplitBar.d.ts +2 -2
- package/dist/splitter/SplitBar.js +36 -11
- package/dist/splitter/Splitter.d.ts +2 -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/style/index.d.ts +2 -2
- package/dist/statistic/Number.d.ts +2 -2
- package/dist/statistic/Statistic.d.ts +2 -2
- package/dist/statistic/Timer.d.ts +2 -2
- package/dist/statistic/index.d.ts +2 -2
- package/dist/statistic/style/index.d.ts +2 -2
- package/dist/steps/PanelArrow.d.ts +2 -2
- package/dist/steps/ProgressIcon.d.ts +2 -2
- package/dist/steps/index.d.ts +2 -2
- package/dist/steps/style/index.d.ts +2 -2
- package/dist/switch/index.d.ts +2 -2
- package/dist/switch/index.js +4 -0
- 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/TableMeasureRowContext.d.ts +3 -3
- 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/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 +2 -2
- package/dist/tabs/style/index.d.ts +2 -2
- package/dist/tag/CheckableTag.d.ts +4 -2
- package/dist/tag/CheckableTag.js +18 -2
- package/dist/tag/CheckableTagGroup.d.ts +2 -2
- package/dist/tag/hooks/useColor.d.ts +2 -2
- package/dist/tag/index.d.ts +2 -2
- package/dist/tag/index.js +20 -3
- 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 +7 -7
- package/dist/theme/themes/default/theme.d.ts +2 -2
- package/dist/theme/util/genStyleUtils.d.ts +14 -14
- package/dist/time-picker/index.d.ts +4 -4
- package/dist/timeline/Timeline.d.ts +2 -2
- 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 +2 -2
- 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/panelRender.d.ts +2 -2
- package/dist/tour/panelRender.js +12 -4
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +2 -2
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/search.d.ts +2 -2
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/Tree.d.ts +2 -2
- 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 +2 -2
- package/dist/tree-select/index.d.ts +3 -3
- 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 +3 -3
- package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
- package/dist/typography/Base/index.d.ts +2 -2
- package/dist/typography/Editable.d.ts +2 -2
- package/dist/typography/Link.d.ts +2 -2
- package/dist/typography/Paragraph.d.ts +2 -2
- package/dist/typography/Text.d.ts +2 -2
- package/dist/typography/Title.d.ts +2 -2
- 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/style/index.d.ts +2 -2
- package/dist/upload/Dragger.d.ts +3 -3
- package/dist/upload/Dragger.js +1 -1
- 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/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/package.json +4 -4
- package/web-tags.json +1743 -1747
- package/web-types.json +5143 -5156
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormatConfig, valueType } from "./utils.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue112 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: vue112.DefineSetupFnComponent<NumberProps, {}, {}, NumberProps & {}, vue112.PublicProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { StatisticNumber as default };
|
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
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 vue188 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType, VNodeChild } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/statistic/Statistic.d.ts
|
|
@@ -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: vue188.DefineSetupFnComponent<InternalStatisticProps, StatisticEmits, SlotsType<StatisticSlots>, InternalStatisticProps, vue188.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 vue184 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: vue184.DefineSetupFnComponent<InternalStatisticTimerProps, StatisticTimeEmits, SlotsType<StatisticSlots>, InternalStatisticTimerProps, vue184.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 vue190 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: vue190.DefineSetupFnComponent<InternalStatisticTimerProps, StatisticTimeEmits, vue190.SlotsType<StatisticSlots>, InternalStatisticTimerProps, vue190.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 vue1090 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/statistic/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -16,6 +16,6 @@ interface ComponentToken {
|
|
|
16
16
|
contentFontSize: number | string;
|
|
17
17
|
}
|
|
18
18
|
declare const prepareComponentToken: GetDefaultToken<'Statistic'>;
|
|
19
|
-
declare const _default: (prefixCls:
|
|
19
|
+
declare const _default: (prefixCls: vue1090.Ref<string>, rootCls?: vue1090.Ref<string | undefined>) => readonly [vue1090.Ref<string, string>, vue1090.ComputedRef<string | undefined>];
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue137 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: vue137.DefineSetupFnComponent<PanelArrowProps, {}, {}, PanelArrowProps & {}, vue137.PublicProps>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PanelArrowProps, PanelArrow as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue127 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: vue127.DefineSetupFnComponent<ProgressIconProps, {}, {}, ProgressIconProps & {}, vue127.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { ProgressIconProps, ProgressIcon as default };
|
package/dist/steps/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ 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 vue98 from "vue";
|
|
6
6
|
import { CSSProperties, SlotsType } from "vue";
|
|
7
7
|
import { StepsProps as StepsProps$1 } from "@v-c/steps";
|
|
8
8
|
|
|
@@ -106,6 +106,6 @@ interface StepsSlots {
|
|
|
106
106
|
default: () => any;
|
|
107
107
|
iconRender?: IconRenderType;
|
|
108
108
|
}
|
|
109
|
-
declare const Steps:
|
|
109
|
+
declare const Steps: vue98.DefineSetupFnComponent<StepsProps, StepsEmits, SlotsType<StepsSlots>, StepsProps, vue98.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 vue1053 from "vue";
|
|
4
4
|
import { CSSProperties } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/steps/style/index.d.ts
|
|
@@ -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: vue1053.Ref<string>, rootCls?: vue1053.Ref<string | undefined>) => readonly [vue1053.Ref<string, string>, vue1053.ComputedRef<string | undefined>];
|
|
82
82
|
//#endregion
|
|
83
83
|
export { ComponentToken, StepsToken, _default as default, prepareComponentToken };
|
package/dist/switch/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
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 vue489 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { SwitchChangeEventHandler, SwitchClickEventHandler } from "@v-c/switch";
|
|
9
9
|
|
|
@@ -72,6 +72,6 @@ interface SwitchSlots {
|
|
|
72
72
|
checkedChildren: () => any;
|
|
73
73
|
unCheckedChildren: () => any;
|
|
74
74
|
}
|
|
75
|
-
declare const Switch:
|
|
75
|
+
declare const Switch: vue489.DefineSetupFnComponent<SwitchProps, SwitchEmits, SlotsType<SwitchSlots>, SwitchProps, vue489.PublicProps>;
|
|
76
76
|
//#endregion
|
|
77
77
|
export { CheckedValueType, SwitchClassNamesType, SwitchEmits, SwitchEmitsProps, SwitchProps, SwitchSemanticClassNames, SwitchSemanticName, SwitchSemanticStyles, SwitchSize, SwitchSlots, SwitchStylesType, Switch as default };
|
package/dist/switch/index.js
CHANGED
|
@@ -60,6 +60,9 @@ const Switch = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =
|
|
|
60
60
|
const changeHandler = (...args) => {
|
|
61
61
|
emit("change", ...args);
|
|
62
62
|
};
|
|
63
|
+
const clickHandler = (...args) => {
|
|
64
|
+
emit("click", ...args);
|
|
65
|
+
};
|
|
63
66
|
const handleVMHandler = (checked) => {
|
|
64
67
|
const newValue = checked ? mergedCheckedValue.value : mergedUnCheckedValue.value;
|
|
65
68
|
if (props.checked === void 0 && props.value === void 0) currentValue.value = newValue;
|
|
@@ -94,6 +97,7 @@ const Switch = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =
|
|
|
94
97
|
"styles": mergedStyles.value,
|
|
95
98
|
"checked": isChecked.value,
|
|
96
99
|
"onChange": changeHandler,
|
|
100
|
+
"onClick": clickHandler,
|
|
97
101
|
"prefixCls": prefixCls.value,
|
|
98
102
|
"className": classes,
|
|
99
103
|
"style": mergedStyle,
|
|
@@ -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 vue992 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: vue992.Ref<string>, rootCls?: vue992.Ref<string | undefined>) => readonly [vue992.Ref<string, string>, vue992.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 vue361 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: vue361.DefineSetupFnComponent<ColumnProps<AnyObject>, EmptyEmit, SlotsType<ColumnSlots>, ColumnProps<AnyObject>, vue361.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 vue428 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: vue428.DefineSetupFnComponent<ColumnGroupProps<AnyObject>, EmptyEmit, SlotsType<ColumnGroupSlots>, ColumnGroupProps<AnyObject>, vue428.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_runtime28 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_runtime28.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 vue373 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: vue373.DefineSetupFnComponent<InternalTableProps<AnyObject>, TableEmits<AnyObject>, SlotsType<TableSlots<AnyObject>>, InternalTableProps<AnyObject>, vue373.PublicProps>;
|
|
117
117
|
//#endregion
|
|
118
118
|
export { ComponentsSemantic, ComponentsSemanticClassNames, ComponentsSemanticStyles, InternalTableProps, TableClassNamesType, TableEmits, TableEmitsProps, TableExpose, TableProps, TableSemanticClassNames, TableSemanticName, TableSemanticStyles, TableSlots, TableStylesType, InternalTable as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue291 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: vue291.DefineSetupFnComponent<{
|
|
7
7
|
value: boolean;
|
|
8
8
|
}, {}, {}, {
|
|
9
9
|
value: boolean;
|
|
10
|
-
} & {},
|
|
10
|
+
} & {}, vue291.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { TableMeasureRowContextProvider, useTableMeasureRowContext };
|
|
@@ -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 vue949 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: vue949.DefineSetupFnComponent<FilterDropdownProps<AnyObject>, EmptyEmit, SlotsType<{
|
|
38
38
|
default?: () => any;
|
|
39
|
-
}>, FilterDropdownProps<AnyObject>,
|
|
39
|
+
}>, FilterDropdownProps<AnyObject>, vue949.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_runtime33 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_runtime33.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 vue1042 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: vue1042.DefineSetupFnComponent<FilterDropdownMenuWrapperProps, EmptyEmit, SlotsType<{
|
|
11
11
|
default?: () => any;
|
|
12
|
-
}>, FilterDropdownMenuWrapperProps,
|
|
12
|
+
}>, FilterDropdownMenuWrapperProps, vue1042.PublicProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { FilterDropdownMenuWrapperProps, FilterDropdownMenuWrapper as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TablePaginationConfig } from "../interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1021 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 [vue1021.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 vue987 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>, vue987.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 vue1097 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>, vue1097.ComputedRef<SortState<RecordType>[]>, vue1097.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 vue1011 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: vue1011.Ref<string>, rootCls?: vue1011.Ref<string | undefined>) => readonly [vue1011.Ref<string, string>, vue1011.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 vue545 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: vue545.DefineSetupFnComponent<TabPaneProps, EmptyEmit, SlotsType<TabPaneSlots>, TabPaneProps, vue545.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 vue1044 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): vue1044.ComputedRef<Tab[]>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { useLegacyItems as default };
|
package/dist/tabs/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ 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 vue499 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
|
|
|
@@ -113,6 +113,6 @@ interface TabsSlots {
|
|
|
113
113
|
rightExtra?: () => any;
|
|
114
114
|
leftExtra?: () => any;
|
|
115
115
|
}
|
|
116
|
-
declare const Tabs:
|
|
116
|
+
declare const Tabs: vue499.DefineSetupFnComponent<TabsProps, TabsEmits, SlotsType<TabsSlots>, TabsProps, vue499.PublicProps>;
|
|
117
117
|
//#endregion
|
|
118
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 vue1072 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: vue1072.Ref<string>, rootCls?: vue1072.Ref<string | undefined>) => readonly [vue1072.Ref<string, string>, vue1072.ComputedRef<string | undefined>];
|
|
149
149
|
//#endregion
|
|
150
150
|
export { ComponentToken, TabsToken, _default as default, prepareComponentToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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 vue432 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/tag/CheckableTag.d.ts
|
|
@@ -21,16 +21,18 @@ interface CheckableTagEmits {
|
|
|
21
21
|
'change': (checked: boolean) => void;
|
|
22
22
|
'update:checked': (checked: boolean) => void;
|
|
23
23
|
'click': (e: MouseEvent) => void;
|
|
24
|
+
'keydown': (e: KeyboardEvent) => void;
|
|
24
25
|
}
|
|
25
26
|
interface CheckableTagEmitsProps {
|
|
26
27
|
onChange?: CheckableTagEmits['change'];
|
|
27
28
|
'onUpdate:checked'?: CheckableTagEmits['update:checked'];
|
|
28
29
|
onClick?: CheckableTagEmits['click'];
|
|
30
|
+
onKeydown?: CheckableTagEmits['keydown'];
|
|
29
31
|
}
|
|
30
32
|
interface CheckableTagSlots {
|
|
31
33
|
default: () => any;
|
|
32
34
|
icon: () => any;
|
|
33
35
|
}
|
|
34
|
-
declare const CheckableTag:
|
|
36
|
+
declare const CheckableTag: vue432.DefineSetupFnComponent<CheckableTagProps, CheckableTagEmits, SlotsType<CheckableTagSlots>, CheckableTagProps, vue432.PublicProps>;
|
|
35
37
|
//#endregion
|
|
36
38
|
export { CheckableTagEmits, CheckableTagEmitsProps, CheckableTagProps, CheckableTagSlots, CheckableTag as default };
|
package/dist/tag/CheckableTag.js
CHANGED
|
@@ -19,6 +19,16 @@ const CheckableTag = /* @__PURE__ */ defineComponent((props, { slots, emit, attr
|
|
|
19
19
|
emit("update:checked", checked);
|
|
20
20
|
emit("click", e);
|
|
21
21
|
};
|
|
22
|
+
const handleKeyDown = (e) => {
|
|
23
|
+
emit("keydown", e);
|
|
24
|
+
if (e.defaultPrevented || mergedDisabled.value) return;
|
|
25
|
+
if (e.key === " ") {
|
|
26
|
+
e.preventDefault();
|
|
27
|
+
const checked = !props.checked;
|
|
28
|
+
emit("change", checked);
|
|
29
|
+
emit("update:checked", checked);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
22
32
|
const [hashId, cssVarCls] = style_default(prefixCls);
|
|
23
33
|
return () => {
|
|
24
34
|
const tag = configCtx.value.tag;
|
|
@@ -29,9 +39,14 @@ const CheckableTag = /* @__PURE__ */ defineComponent((props, { slots, emit, attr
|
|
|
29
39
|
}, tag?.class, attrs.class, hashId.value, cssVarCls.value);
|
|
30
40
|
const icon = getSlotPropsFnRun(slots, props, "icon");
|
|
31
41
|
return createVNode("span", mergeProps(pureAttrs(attrs), {
|
|
42
|
+
"role": "checkbox",
|
|
43
|
+
"aria-checked": checked,
|
|
44
|
+
"aria-disabled": mergedDisabled.value || void 0,
|
|
45
|
+
"tabindex": mergedDisabled.value ? -1 : 0,
|
|
32
46
|
"style": [tag?.style, attrs.style],
|
|
33
47
|
"class": cls,
|
|
34
|
-
"onClick": handleClick
|
|
48
|
+
"onClick": handleClick,
|
|
49
|
+
"onKeydown": handleKeyDown
|
|
35
50
|
}), [icon, createVNode("span", null, [slots?.default?.()])]);
|
|
36
51
|
};
|
|
37
52
|
}, {
|
|
@@ -69,7 +84,8 @@ const CheckableTag = /* @__PURE__ */ defineComponent((props, { slots, emit, attr
|
|
|
69
84
|
emits: [
|
|
70
85
|
"change",
|
|
71
86
|
"update:checked",
|
|
72
|
-
"click"
|
|
87
|
+
"click",
|
|
88
|
+
"keydown"
|
|
73
89
|
],
|
|
74
90
|
name: "ACheckableTag",
|
|
75
91
|
inheritAttrs: false
|
|
@@ -2,7 +2,7 @@ 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 vue485 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/tag/CheckableTagGroup.d.ts
|
|
8
8
|
type CheckableTagDefaultValue = string | number;
|
|
@@ -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: vue485.DefineSetupFnComponent<InternalCheckableTagGroupProps, CheckableTagGroupEmits<CheckableTagDefaultValue>, {}, InternalCheckableTagGroupProps, vue485.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 vue1000 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 [vue1000.ComputedRef<"solid" | "filled" | "outlined">, vue1000.ComputedRef<string | undefined>, vue1000.ComputedRef<boolean>, vue1000.ComputedRef<boolean>, vue1000.ComputedRef<CSSProperties>];
|
|
15
15
|
//#endregion
|
|
16
16
|
export { useColor as default };
|
package/dist/tag/index.d.ts
CHANGED
|
@@ -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 vue638 from "vue";
|
|
10
10
|
import { CSSProperties, SlotsType } from "vue";
|
|
11
11
|
import { LiteralUnion } from "@v-c/util/dist/type";
|
|
12
12
|
|
|
@@ -52,7 +52,7 @@ interface TagEmits {
|
|
|
52
52
|
interface TagEmitsProps {
|
|
53
53
|
onClose?: TagEmits['close'];
|
|
54
54
|
}
|
|
55
|
-
declare const InternalTag:
|
|
55
|
+
declare const InternalTag: vue638.DefineSetupFnComponent<TagProps, TagEmits, SlotsType<TagSlots>, TagProps, vue638.PublicProps>;
|
|
56
56
|
declare const Tag: typeof InternalTag & {
|
|
57
57
|
CheckableTag: typeof CheckableTag;
|
|
58
58
|
};
|