antdv-next 1.3.6 → 1.3.7
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/ContextIsolator.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/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/alert/style/index.js +1 -1
- package/dist/anchor/Anchor.d.ts +2 -2
- package/dist/anchor/Anchor.js +1 -1
- package/dist/anchor/AnchorLink.d.ts +2 -2
- package/dist/anchor/style/index.d.ts +2 -2
- package/dist/antd-with-locales.esm.js +10508 -10378
- package/dist/antd-with-locales.js +76 -76
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +1923 -1814
- package/dist/antd.js +26 -26
- 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/button/style/index.js +0 -5
- 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/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/components.d.ts +2 -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 +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 +4 -4
- 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/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/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/dropdown/style/index.js +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/useForm.d.ts +6 -0
- package/dist/form/hooks/useForm.js +6 -0
- package/dist/form/hooks/useVariant.d.ts +2 -2
- package/dist/form/index.d.ts +2 -1
- package/dist/form/style/fallbackCmp.d.ts +4 -4
- package/dist/form/style/index.d.ts +4 -2
- package/dist/form/style/index.js +3 -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 +7 -7
- package/dist/image/index.d.ts +3 -3
- package/dist/image/style/index.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- 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/nb_NO.js +68 -47
- package/dist/locale/useLocale.d.ts +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/shared.d.ts +4 -4
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +2 -2
- package/dist/modal/style/index.js +0 -3
- 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 +4 -1
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -2
- package/dist/pagination/style/index.js +51 -0
- 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 +12 -1
- 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/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 +11 -3
- package/dist/table/InternalTable.js +39 -2
- package/dist/table/Table.js +4 -0
- 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/ellipsis.js +2 -0
- 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 +2 -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/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/util/genStyleUtils.d.ts +14 -14
- package/dist/time-picker/index.d.ts +4 -4
- package/dist/time-picker/index.js +3 -12
- 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 +8 -2
- 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/Transfer.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/Upload.d.ts +2 -2
- package/dist/upload/UploadList/ListItem.d.ts +3 -3
- package/dist/upload/UploadList/ListItem.js +9 -0
- 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/package.json +8 -8
- package/web-tags.json +576 -576
- package/web-types.json +1656 -1656
|
@@ -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 vue463 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/space/style/index.d.ts
|
|
6
6
|
/** Component only token. Which will handle additional calculation of alias token */
|
|
@@ -19,6 +19,6 @@ interface ComponentToken {
|
|
|
19
19
|
addonPaddingBlock?: number | string;
|
|
20
20
|
}
|
|
21
21
|
declare const prepareComponentToken: GetDefaultToken<'Space'>;
|
|
22
|
-
declare const _default: (prefixCls:
|
|
22
|
+
declare const _default: (prefixCls: vue463.Ref<string>, rootCls?: vue463.Ref<string | undefined>) => readonly [vue463.Ref<string, string>, vue463.ComputedRef<string | undefined>];
|
|
23
23
|
//#endregion
|
|
24
24
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue473 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/spin/Indicator/Looper.d.ts
|
|
4
4
|
interface IndicatorProps {
|
|
5
5
|
prefixCls: string;
|
|
6
6
|
percent?: number;
|
|
7
7
|
}
|
|
8
|
-
declare const Looper:
|
|
8
|
+
declare const Looper: vue473.DefineSetupFnComponent<IndicatorProps, {}, {}, IndicatorProps & {}, vue473.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { IndicatorProps, Looper };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue471 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/spin/Indicator/Progress.d.ts
|
|
4
4
|
interface ProgressProps {
|
|
5
5
|
prefixCls: string;
|
|
6
6
|
percent: number;
|
|
7
7
|
}
|
|
8
|
-
declare const Progress:
|
|
8
|
+
declare const Progress: vue471.DefineSetupFnComponent<ProgressProps, {}, {}, ProgressProps & {}, vue471.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ProgressProps, Progress as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VueNode as VueNode$1 } from "../../_util/type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue457 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/spin/Indicator/index.d.ts
|
|
5
5
|
interface IndicatorProps {
|
|
@@ -7,6 +7,6 @@ interface IndicatorProps {
|
|
|
7
7
|
indicator?: VueNode$1;
|
|
8
8
|
percent?: number;
|
|
9
9
|
}
|
|
10
|
-
declare const Indicator:
|
|
10
|
+
declare const Indicator: vue457.DefineSetupFnComponent<IndicatorProps, {}, {}, IndicatorProps & {}, vue457.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { IndicatorProps, Indicator as default };
|
package/dist/spin/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 vue842 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/spin/index.d.ts
|
|
@@ -63,7 +63,7 @@ interface SpinSlots {
|
|
|
63
63
|
description?: () => any;
|
|
64
64
|
default?: () => any;
|
|
65
65
|
}
|
|
66
|
-
declare const Spin:
|
|
66
|
+
declare const Spin: vue842.DefineSetupFnComponent<SpinProps, EmptyEmit, SlotsType<SpinSlots>, SpinProps, vue842.PublicProps>;
|
|
67
67
|
declare const _default: typeof Spin & {
|
|
68
68
|
setDefaultIndicator: (indicator: VueNode$1) => void;
|
|
69
69
|
};
|
|
@@ -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 vue453 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/spin/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -26,6 +26,6 @@ interface ComponentToken {
|
|
|
26
26
|
dotSizeLG: number;
|
|
27
27
|
}
|
|
28
28
|
declare const prepareComponentToken: GetDefaultToken<'Spin'>;
|
|
29
|
-
declare const _default: (prefixCls:
|
|
29
|
+
declare const _default: (prefixCls: vue453.Ref<string>, rootCls?: vue453.Ref<string | undefined>) => readonly [vue453.Ref<string, string>, vue453.ComputedRef<string | undefined>];
|
|
30
30
|
//#endregion
|
|
31
31
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue681 from "vue";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/spin/usePercent.d.ts
|
|
5
|
-
declare function usePercent(spinning: Ref<boolean>, percent: Ref<number | 'auto' | undefined>):
|
|
5
|
+
declare function usePercent(spinning: Ref<boolean>, percent: Ref<number | 'auto' | undefined>): vue681.ComputedRef<number | "auto" | undefined>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { usePercent as default };
|
package/dist/splitter/Panel.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { InternalPanelProps, PanelProps } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue686 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/splitter/Panel.d.ts
|
|
5
|
-
declare const InternalPanel:
|
|
6
|
-
declare const Panel:
|
|
5
|
+
declare const InternalPanel: vue686.DefineSetupFnComponent<InternalPanelProps, {}, {}, InternalPanelProps & {}, vue686.PublicProps>;
|
|
6
|
+
declare const Panel: vue686.DefineSetupFnComponent<PanelProps, {}, {}, PanelProps & {}, vue686.PublicProps>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { InternalPanel, Panel as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SplitterProps, SplitterSemanticDraggerClassNames } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue682 from "vue";
|
|
3
3
|
import { CSSProperties } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/splitter/SplitBar.d.ts
|
|
@@ -30,6 +30,6 @@ interface SplitBarProps {
|
|
|
30
30
|
lazy?: boolean;
|
|
31
31
|
containerSize: number;
|
|
32
32
|
}
|
|
33
|
-
declare const SplitBar:
|
|
33
|
+
declare const SplitBar: vue682.DefineSetupFnComponent<SplitBarProps, {}, {}, SplitBarProps & {}, vue682.PublicProps>;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { ShowCollapsibleIconMode, SplitBarProps, SplitBar as default };
|
|
@@ -216,7 +216,18 @@ const SplitBar = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
216
216
|
type: Boolean,
|
|
217
217
|
required: true
|
|
218
218
|
},
|
|
219
|
-
draggerIcon: {
|
|
219
|
+
draggerIcon: {
|
|
220
|
+
type: [
|
|
221
|
+
Function,
|
|
222
|
+
String,
|
|
223
|
+
Number,
|
|
224
|
+
null,
|
|
225
|
+
Object,
|
|
226
|
+
Boolean
|
|
227
|
+
],
|
|
228
|
+
required: false,
|
|
229
|
+
default: void 0
|
|
230
|
+
},
|
|
220
231
|
collapsibleIcon: {
|
|
221
232
|
type: Object,
|
|
222
233
|
required: false
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SplitterEmits, SplitterProps, SplitterSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue667 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/splitter/Splitter.d.ts
|
|
6
6
|
interface InternalSplitterProps extends SplitterProps, SplitterEmitsProps {}
|
|
7
7
|
interface SplitterEmitsProps {}
|
|
8
|
-
declare const Splitter:
|
|
8
|
+
declare const Splitter: vue667.DefineSetupFnComponent<InternalSplitterProps, SplitterEmits, SlotsType<SplitterSlots>, InternalSplitterProps, vue667.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { InternalSplitterProps, SplitterEmitsProps, Splitter as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ShowCollapsibleIconMode } from "../SplitBar.js";
|
|
2
2
|
import { ItemType } from "./useItems.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue475 from "vue";
|
|
4
4
|
import { Ref } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/splitter/hooks/useResizable.d.ts
|
|
@@ -11,6 +11,6 @@ interface ResizableInfo {
|
|
|
11
11
|
showStartCollapsibleIcon: ShowCollapsibleIconMode;
|
|
12
12
|
showEndCollapsibleIcon: ShowCollapsibleIconMode;
|
|
13
13
|
}
|
|
14
|
-
declare function useResizable(items: Ref<ItemType[]>, pxSizes: Ref<number[]>, reverse: Ref<boolean>):
|
|
14
|
+
declare function useResizable(items: Ref<ItemType[]>, pxSizes: Ref<number[]>, reverse: Ref<boolean>): vue475.ComputedRef<ResizableInfo[]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { ResizableInfo, useResizable as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ItemType } from "./useItems.js";
|
|
2
2
|
import { ResizableInfo } from "./useResizable.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue494 from "vue";
|
|
4
4
|
import { Ref } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/splitter/hooks/useResize.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* Handle user drag resize logic.
|
|
9
9
|
*/
|
|
10
|
-
declare function useResize(items: Ref<ItemType[]>, resizableInfos: Ref<ResizableInfo[]>, percentSizes: Ref<number[]>, containerSize: Ref<number | undefined>, updateSizes: (sizes: number[]) => void, reverse: Ref<boolean>): readonly [(index: number) => void, (index: number, offset: number) => number[], () => void, (index: number, type: "start" | "end") => number[],
|
|
10
|
+
declare function useResize(items: Ref<ItemType[]>, resizableInfos: Ref<ResizableInfo[]>, percentSizes: Ref<number[]>, containerSize: Ref<number | undefined>, updateSizes: (sizes: number[]) => void, reverse: Ref<boolean>): readonly [(index: number) => void, (index: number, offset: number) => number[], () => void, (index: number, type: "start" | "end") => number[], vue494.ComputedRef<number | undefined>];
|
|
11
11
|
//#endregion
|
|
12
12
|
export { useResize as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PanelProps } from "../interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue495 from "vue";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/splitter/hooks/useSizes.d.ts
|
|
@@ -8,6 +8,6 @@ declare function getPtg(str: string): number;
|
|
|
8
8
|
* Save the size state.
|
|
9
9
|
* Align the size into flex percentage base.
|
|
10
10
|
*/
|
|
11
|
-
declare function useSizes(items: Ref<PanelProps[]>, containerSize?: Ref<number>): readonly [
|
|
11
|
+
declare function useSizes(items: Ref<PanelProps[]>, containerSize?: Ref<number>): readonly [vue495.ComputedRef<(string | number | undefined)[]>, vue495.ComputedRef<number[]>, vue495.ComputedRef<number[]>, vue495.ComputedRef<number[]>, vue495.ComputedRef<number[]>, (newSizes: number[]) => void];
|
|
12
12
|
//#endregion
|
|
13
13
|
export { useSizes as default, getPtg };
|
package/dist/splitter/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PanelProps, SplitterEmits, SplitterSlots } from "./interface.js";
|
|
2
2
|
import Splitter, { InternalSplitterProps } from "./Splitter.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue612 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/splitter/index.d.ts
|
|
6
6
|
type SplitterProps = InternalSplitterProps;
|
|
7
|
-
declare const SplitterPanel:
|
|
7
|
+
declare const SplitterPanel: vue612.DefineSetupFnComponent<PanelProps, {}, {}, PanelProps & {}, vue612.PublicProps>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { type SplitterEmits, SplitterPanel, SplitterProps, type SplitterSlots, Splitter as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue459 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/splitter/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -27,6 +27,6 @@ interface ComponentToken {
|
|
|
27
27
|
splitTriggerSize: number;
|
|
28
28
|
}
|
|
29
29
|
declare const prepareComponentToken: GetDefaultToken<'Splitter'>;
|
|
30
|
-
declare const _default: (prefixCls:
|
|
30
|
+
declare const _default: (prefixCls: vue459.Ref<string>, rootCls?: vue459.Ref<string | undefined>) => readonly [vue459.Ref<string, string>, vue459.ComputedRef<string | undefined>];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormatConfig, valueType } from "./utils.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue692 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: vue692.DefineSetupFnComponent<NumberProps, {}, {}, NumberProps & {}, vue692.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 vue694 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: vue694.DefineSetupFnComponent<InternalStatisticProps, StatisticEmits, SlotsType<StatisticSlots>, InternalStatisticProps, vue694.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 vue632 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: vue632.DefineSetupFnComponent<InternalStatisticTimerProps, StatisticTimeEmits, SlotsType<StatisticSlots>, InternalStatisticTimerProps, vue632.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 vue640 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: vue640.DefineSetupFnComponent<InternalStatisticTimerProps, StatisticTimeEmits, vue640.SlotsType<StatisticSlots>, InternalStatisticTimerProps, vue640.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 vue478 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: vue478.Ref<string>, rootCls?: vue478.Ref<string | undefined>) => readonly [vue478.Ref<string, string>, vue478.ComputedRef<string | undefined>];
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue593 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: vue593.DefineSetupFnComponent<PanelArrowProps, {}, {}, PanelArrowProps & {}, vue593.PublicProps>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PanelArrowProps, PanelArrow as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue578 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: vue578.DefineSetupFnComponent<ProgressIconProps, {}, {}, ProgressIconProps & {}, vue578.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 vue675 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: vue675.DefineSetupFnComponent<StepsProps, StepsEmits, SlotsType<StepsSlots>, StepsProps, vue675.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 vue512 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: vue512.Ref<string>, rootCls?: vue512.Ref<string | undefined>) => readonly [vue512.Ref<string, string>, vue512.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 vue665 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: vue665.DefineSetupFnComponent<SwitchProps, SwitchEmits, SlotsType<SwitchSlots>, SwitchProps, vue665.PublicProps>;
|
|
76
76
|
//#endregion
|
|
77
77
|
export { CheckedValueType, SwitchClassNamesType, SwitchEmits, SwitchEmitsProps, SwitchProps, SwitchSemanticClassNames, SwitchSemanticName, SwitchSemanticStyles, SwitchSize, SwitchSlots, SwitchStylesType, Switch as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue768 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: vue768.Ref<string>, rootCls?: vue768.Ref<string | undefined>) => readonly [vue768.Ref<string, string>, vue768.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 vue186 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: vue186.DefineSetupFnComponent<ColumnProps<AnyObject>, EmptyEmit, SlotsType<ColumnSlots>, ColumnProps<AnyObject>, vue186.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 vue188 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: vue188.DefineSetupFnComponent<ColumnGroupProps<AnyObject>, EmptyEmit, SlotsType<ColumnGroupSlots>, ColumnGroupProps<AnyObject>, vue188.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_runtime6 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_runtime6.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { renderExpandIcon as default };
|
|
@@ -6,11 +6,18 @@ 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 vue190 from "vue";
|
|
10
10
|
import { CSSProperties, SlotsType } from "vue";
|
|
11
11
|
import { Reference, TableProps as TableProps$1 } from "@v-c/table";
|
|
12
12
|
|
|
13
13
|
//#region src/table/InternalTable.d.ts
|
|
14
|
+
interface HeaderTableProps {}
|
|
15
|
+
interface HeaderTableEmits {
|
|
16
|
+
[key: string]: (...args: any[]) => void;
|
|
17
|
+
}
|
|
18
|
+
interface HeaderTableSlots {
|
|
19
|
+
default?: () => any;
|
|
20
|
+
}
|
|
14
21
|
type TableSemanticName = keyof TableSemanticClassNames & keyof TableSemanticStyles;
|
|
15
22
|
interface TableSemanticClassNames {
|
|
16
23
|
root?: string;
|
|
@@ -52,6 +59,7 @@ interface TableProps<RecordType = AnyObject> extends ComponentBaseProps, Omit<Ta
|
|
|
52
59
|
styles?: TableStylesType<RecordType>;
|
|
53
60
|
dropdownPrefixCls?: string;
|
|
54
61
|
dataSource?: TableProps$1<RecordType>['data'];
|
|
62
|
+
column?: Partial<ColumnType<RecordType>>;
|
|
55
63
|
columns?: ColumnsType<RecordType>;
|
|
56
64
|
pagination?: false | TablePaginationConfig;
|
|
57
65
|
loading?: boolean | SpinProps;
|
|
@@ -113,6 +121,6 @@ interface TableSlots<RecordType = AnyObject> {
|
|
|
113
121
|
filtered: boolean;
|
|
114
122
|
}) => any;
|
|
115
123
|
}
|
|
116
|
-
declare const InternalTable:
|
|
124
|
+
declare const InternalTable: vue190.DefineSetupFnComponent<InternalTableProps<AnyObject>, TableEmits<AnyObject>, SlotsType<TableSlots<AnyObject>>, InternalTableProps<AnyObject>, vue190.PublicProps>;
|
|
117
125
|
//#endregion
|
|
118
|
-
export { ComponentsSemantic, ComponentsSemanticClassNames, ComponentsSemanticStyles, InternalTableProps, TableClassNamesType, TableEmits, TableEmitsProps, TableExpose, TableProps, TableSemanticClassNames, TableSemanticName, TableSemanticStyles, TableSlots, TableStylesType, InternalTable as default };
|
|
126
|
+
export { ComponentsSemantic, ComponentsSemanticClassNames, ComponentsSemanticStyles, HeaderTableEmits, HeaderTableProps, HeaderTableSlots, InternalTableProps, TableClassNamesType, TableEmits, TableEmitsProps, TableExpose, TableProps, TableSemanticClassNames, TableSemanticName, TableSemanticStyles, TableSlots, TableStylesType, InternalTable as default };
|
|
@@ -25,10 +25,11 @@ import useSorter, { getSortData } from "./hooks/useSorter.js";
|
|
|
25
25
|
import useTitleColumns from "./hooks/useTitleColumns.js";
|
|
26
26
|
import style_default from "./style/index.js";
|
|
27
27
|
import { convertColumnsToColumnProps } from "./utils.js";
|
|
28
|
-
import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, shallowRef, watch, watchEffect } from "vue";
|
|
28
|
+
import { computed, createVNode, defineComponent, h, inject, isVNode, mergeDefaults, mergeProps, provide, shallowRef, watch, watchEffect } from "vue";
|
|
29
29
|
import { clsx } from "@v-c/util";
|
|
30
30
|
import { getAttrStyleAndClass } from "@v-c/util/dist/props-util";
|
|
31
31
|
import { omit } from "es-toolkit";
|
|
32
|
+
import pickAttrs from "@v-c/util/dist/pickAttrs";
|
|
32
33
|
import VcTable, { INTERNAL_HOOKS, VirtualTable } from "@v-c/table";
|
|
33
34
|
|
|
34
35
|
//#region src/table/InternalTable.tsx
|
|
@@ -36,6 +37,20 @@ function _isSlot(s) {
|
|
|
36
37
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
37
38
|
}
|
|
38
39
|
const EMPTY_LIST = [];
|
|
40
|
+
const HeaderTableContextKey = Symbol("HeaderTableContext");
|
|
41
|
+
const HeaderTable = /* @__PURE__ */ defineComponent((_props, { slots, attrs }) => {
|
|
42
|
+
const ctx = inject(HeaderTableContextKey, void 0);
|
|
43
|
+
return () => {
|
|
44
|
+
const { ariaProps, component } = ctx?.value ?? {};
|
|
45
|
+
return h(component ?? "table", {
|
|
46
|
+
...ariaProps,
|
|
47
|
+
...attrs
|
|
48
|
+
}, slots.default?.());
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
name: "HeaderTable",
|
|
52
|
+
inheritAttrs: false
|
|
53
|
+
});
|
|
39
54
|
function resolvePanelRender(slots, props, key) {
|
|
40
55
|
if (slots[key] || props[key]) return (data) => getSlotPropsFnRun(slots, props, key, true, data);
|
|
41
56
|
}
|
|
@@ -48,6 +63,23 @@ const InternalTable = /* @__PURE__ */ defineComponent((props, { slots, emit, att
|
|
|
48
63
|
"column"
|
|
49
64
|
]);
|
|
50
65
|
const configCtx = useConfig();
|
|
66
|
+
const ariaProps = computed(() => pickAttrs(attrs, { aria: true }));
|
|
67
|
+
const hasAriaProps = computed(() => Object.keys(ariaProps.value).length > 0);
|
|
68
|
+
provide(HeaderTableContextKey, computed(() => ({
|
|
69
|
+
ariaProps: ariaProps.value,
|
|
70
|
+
component: props.components?.header?.table
|
|
71
|
+
})));
|
|
72
|
+
const mergedComponents = computed(() => {
|
|
73
|
+
const components = props.components;
|
|
74
|
+
if (!hasAriaProps.value) return components;
|
|
75
|
+
return {
|
|
76
|
+
...components,
|
|
77
|
+
header: {
|
|
78
|
+
...components?.header,
|
|
79
|
+
table: HeaderTable
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
});
|
|
51
83
|
const { classes, styles } = toPropsRefs$1(props, "classes", "styles");
|
|
52
84
|
const mergedSize = useSize(computed(() => props.size));
|
|
53
85
|
const mergedProps = computed(() => {
|
|
@@ -78,7 +110,7 @@ const InternalTable = /* @__PURE__ */ defineComponent((props, { slots, emit, att
|
|
|
78
110
|
const baseColumns = useFilledColumns(computed(() => {
|
|
79
111
|
if (props.columns) return props.columns;
|
|
80
112
|
return convertColumnsToColumnProps(slots.default?.() ?? []);
|
|
81
|
-
}), computed(() => props.column ?? contextColumn
|
|
113
|
+
}), computed(() => props.column ?? contextColumn.value));
|
|
82
114
|
const screens = useBreakpoint(computed(() => baseColumns.value.some((col) => col.responsive)), null);
|
|
83
115
|
const mergedColumns = computed(() => {
|
|
84
116
|
const matched = new Set(Object.keys(screens.value || {}).filter((m) => screens.value?.[m]));
|
|
@@ -379,6 +411,7 @@ const InternalTable = /* @__PURE__ */ defineComponent((props, { slots, emit, att
|
|
|
379
411
|
}, [createVNode(spin_default, mergeProps({ "spinning": false }, spinProps.value || {}), { default: () => [
|
|
380
412
|
paginationNodes.top,
|
|
381
413
|
createVNode(TableComp, mergeProps(virtualProps, tableProps.value, restAttrs, {
|
|
414
|
+
"components": mergedComponents.value,
|
|
382
415
|
"ref": tblRef,
|
|
383
416
|
"columns": mergedColumns.value,
|
|
384
417
|
"data": pageData.value,
|
|
@@ -429,6 +462,10 @@ const InternalTable = /* @__PURE__ */ defineComponent((props, { slots, emit, att
|
|
|
429
462
|
type: Array,
|
|
430
463
|
required: false
|
|
431
464
|
},
|
|
465
|
+
column: {
|
|
466
|
+
type: Object,
|
|
467
|
+
required: false
|
|
468
|
+
},
|
|
432
469
|
columns: {
|
|
433
470
|
type: Array,
|
|
434
471
|
required: false
|
package/dist/table/Table.js
CHANGED