antdv-next 1.4.4 → 1.4.5
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/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +6 -2
- package/dist/antd-with-locales.esm.js +10305 -10868
- package/dist/antd-with-locales.js +80 -80
- package/dist/antd.esm.js +9440 -9855
- package/dist/antd.js +80 -80
- package/dist/avatar/AvatarContext.d.ts +2 -2
- package/dist/date-picker/util.d.ts +4 -4
- package/dist/descriptions/hooks/useItems.d.ts +8 -8
- package/dist/form/context.d.ts +1 -1
- package/dist/form/hooks/useVariant.d.ts +1 -1
- package/dist/image/hooks/usePreviewConfig.d.ts +2 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +14 -12
- package/dist/package.js +1 -1
- package/dist/package.json.d.ts +1 -0
- package/dist/space/Compact.d.ts +1 -1
- package/dist/splitter/SplitBar.js +12 -1
- package/dist/tag/hooks/useColor.d.ts +1 -1
- package/dist/tour/panelRender.js +8 -2
- package/package.json +3 -2
- package/web-tags.json +1276 -1280
- package/web-types.json +4767 -4780
|
@@ -12,7 +12,7 @@ interface AvatarContextType {
|
|
|
12
12
|
shape?: 'circle' | 'square';
|
|
13
13
|
}
|
|
14
14
|
declare function useAvatarContext(): Ref<{
|
|
15
|
-
size?: number | "default" |
|
|
15
|
+
size?: number | SizeType | "default" | {
|
|
16
16
|
xxxl?: number | undefined;
|
|
17
17
|
xxl?: number | undefined;
|
|
18
18
|
xl?: number | undefined;
|
|
@@ -23,7 +23,7 @@ declare function useAvatarContext(): Ref<{
|
|
|
23
23
|
};
|
|
24
24
|
shape?: "circle" | "square" | undefined;
|
|
25
25
|
}, AvatarContextType | {
|
|
26
|
-
size?: number | "default" |
|
|
26
|
+
size?: number | SizeType | "default" | {
|
|
27
27
|
xxxl?: number | undefined;
|
|
28
28
|
xxl?: number | undefined;
|
|
29
29
|
xl?: number | undefined;
|
|
@@ -6,14 +6,14 @@ import { PickerMode } from "@v-c/picker";
|
|
|
6
6
|
declare function getPlaceholder(locale: PickerLocale, picker?: PickerMode, customizePlaceholder?: string): string;
|
|
7
7
|
declare function getRangePlaceholder(locale: PickerLocale, picker?: PickerMode, customizePlaceholder?: [string, string]): [string, string] | undefined;
|
|
8
8
|
declare function useIcons(props: Pick<PickerProps$1, 'allowClear' | 'removeIcon'>, prefixCls: string): readonly [false, string | number | boolean | import("vue/jsx-runtime").JSX.Element | RenderNodeFn<any[]> | null] | readonly [{
|
|
9
|
-
clearIcon: string | number | boolean | import("vue").
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}> | import("vue").ComponentOptions<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> | import("vue").FunctionalComponent<any, {}, any, {}> | {
|
|
9
|
+
clearIcon: string | number | boolean | import("vue").ComponentOptions<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> | import("vue").FunctionalComponent<any, {}, any, {}> | {
|
|
12
10
|
new (...args: any[]): any;
|
|
13
11
|
__isFragment?: never;
|
|
14
12
|
__isTeleport?: never;
|
|
15
13
|
__isSuspense?: never;
|
|
16
|
-
} |
|
|
14
|
+
} | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}> | RenderNodeFn<any[]> | (string | number | boolean | void | import("vue").Component | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
17
17
|
[key: string]: any;
|
|
18
18
|
}> | null | undefined)[] | null | undefined;
|
|
19
19
|
}, string | number | boolean | import("vue/jsx-runtime").JSX.Element | RenderNodeFn<any[]> | null];
|
|
@@ -9,22 +9,22 @@ declare function useItems(screens: Ref<ScreenMap>, items: Ref<DescriptionsItemTy
|
|
|
9
9
|
filled: boolean;
|
|
10
10
|
_$index: number;
|
|
11
11
|
key?: import("@v-c/util/dist/type").Key;
|
|
12
|
-
|
|
13
|
-
rootClass?: string | undefined;
|
|
14
|
-
style?: import("vue").CSSProperties | undefined;
|
|
12
|
+
classes?: CellSemanticClassNames | undefined;
|
|
15
13
|
styles?: CellSemanticStyles | undefined;
|
|
14
|
+
style?: import("vue").CSSProperties | undefined;
|
|
15
|
+
rootClass?: string | undefined;
|
|
16
|
+
label?: VueNode;
|
|
16
17
|
class?: string | undefined;
|
|
17
|
-
classes?: CellSemanticClassNames | undefined;
|
|
18
18
|
content?: VueNode;
|
|
19
19
|
} | {
|
|
20
20
|
span: number | undefined;
|
|
21
21
|
key?: import("@v-c/util/dist/type").Key;
|
|
22
|
-
|
|
23
|
-
rootClass?: string | undefined;
|
|
24
|
-
style?: import("vue").CSSProperties | undefined;
|
|
22
|
+
classes?: CellSemanticClassNames | undefined;
|
|
25
23
|
styles?: CellSemanticStyles | undefined;
|
|
24
|
+
style?: import("vue").CSSProperties | undefined;
|
|
25
|
+
rootClass?: string | undefined;
|
|
26
|
+
label?: VueNode;
|
|
26
27
|
class?: string | undefined;
|
|
27
|
-
classes?: CellSemanticClassNames | undefined;
|
|
28
28
|
content?: VueNode;
|
|
29
29
|
_$index: number;
|
|
30
30
|
})[]>;
|
package/dist/form/context.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ declare function useFormItemPrefixContext(): Ref<{
|
|
|
71
71
|
prefixCls: string;
|
|
72
72
|
}>;
|
|
73
73
|
declare function useVariantContextProvider(variant: Ref<Variant | undefined>): void;
|
|
74
|
-
declare function useVariantContext(): Ref<"
|
|
74
|
+
declare function useVariantContext(): Ref<"outlined" | "filled" | "borderless" | "underlined" | undefined, "outlined" | "filled" | "borderless" | "underlined" | undefined>;
|
|
75
75
|
interface FormItemStatusContextProps {
|
|
76
76
|
isFormItemInput?: boolean;
|
|
77
77
|
status?: ValidateStatus;
|
|
@@ -4,7 +4,7 @@ import { Ref } from "vue";
|
|
|
4
4
|
|
|
5
5
|
//#region src/form/hooks/useVariant.d.ts
|
|
6
6
|
type VariantComponents = keyof Pick<ConfigProviderProps, 'input' | 'inputNumber' | 'textArea' | 'mentions' | 'select' | 'cascader' | 'treeSelect' | 'datePicker' | 'timePicker' | 'rangePicker' | 'card'>;
|
|
7
|
-
declare function useVariant(component: VariantComponents, variant?: Ref<Variant | undefined>, legacyBordered?: Ref<boolean | undefined> | boolean): readonly [import("vue").ComputedRef<"
|
|
7
|
+
declare function useVariant(component: VariantComponents, variant?: Ref<Variant | undefined>, legacyBordered?: Ref<boolean | undefined> | boolean): readonly [import("vue").ComputedRef<"outlined" | "filled" | "borderless" | "underlined">, import("vue").ComputedRef<boolean>];
|
|
8
8
|
declare const useVariants: typeof useVariant;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { useVariant as default, useVariants };
|
|
@@ -37,12 +37,12 @@ declare function usePreviewConfig<T extends PreviewConfig | GroupPreviewConfig>(
|
|
|
37
37
|
image: import("@v-c/image").ImgInfo;
|
|
38
38
|
}) => import("@v-c/util").VueNode;
|
|
39
39
|
readonly onChange?: (current: number, prevCurrent: number) => void;
|
|
40
|
+
readonly afterOpenChange?: (open: boolean) => void;
|
|
40
41
|
readonly zIndex?: number;
|
|
41
|
-
readonly closeIcon?: import("@v-c/util").VueNode | boolean | null;
|
|
42
42
|
readonly focusTrap?: boolean;
|
|
43
|
-
readonly afterOpenChange?: (open: boolean) => void;
|
|
44
43
|
readonly maskClosable?: boolean;
|
|
45
44
|
readonly getContainer?: import("@v-c/portal/dist/Portal.js").PortalProps["getContainer"];
|
|
45
|
+
readonly closeIcon?: import("@v-c/util").VueNode | boolean | null;
|
|
46
46
|
readonly motionName?: string;
|
|
47
47
|
readonly src?: string;
|
|
48
48
|
readonly alt?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -154,10 +154,12 @@ import Typography, { TypographyLink, TypographyParagraph, TypographyText, Typogr
|
|
|
154
154
|
import { DraggerProps } from "./upload/Dragger.js";
|
|
155
155
|
import Upload, { UploadDragger, UploadProps } from "./upload/index.js";
|
|
156
156
|
import Watermark, { WatermarkProps } from "./watermark/index.js";
|
|
157
|
-
import { Plugin } from "vue";
|
|
157
|
+
import { App, Plugin } from "vue";
|
|
158
158
|
import { StyleProvider } from "@antdv-next/cssinjs";
|
|
159
159
|
|
|
160
160
|
//#region src/index.d.ts
|
|
161
|
+
declare function setPrefix(newPrefix: string): void;
|
|
162
|
+
declare function install(app: App): void;
|
|
161
163
|
declare const _default$16: Plugin;
|
|
162
164
|
//#endregion
|
|
163
|
-
export { Affix, type AffixEmits, type AffixProps, type AffixRef, Alert, type AlertEmits, type AlertProps, type AlertSemanticType, type AlertSlots, Anchor, type AnchorEmits, type AnchorLinkProps, type AnchorProps, type AnchorSlots, type AntTreeNode, type AntTreeNodeCheckedEvent, type AntTreeNodeExpandedEvent, type AntTreeNodeMouseEvent, type AntTreeNodeProps, type AntTreeNodeSelectedEvent, type AntdTreeNodeAttribute, _default as App, type AppProps, AutoComplete, type AutoCompleteClassNamesType, type AutoCompleteEmits, Option as AutoCompleteOption, type AutoCompleteProps, type AutoCompleteSlots, type AutoCompleteStylesType, Avatar, type AvatarEmits, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSlots, BackTopWithInstall as BackTop, Badge, type BadgeProps, BadgeRibbon, type RibbonProps as BadgeRibbonProps, type BadgeSlots, type BasicDataNode, BorderBeam, type BorderBeamColor, type BorderBeamGradient, type BorderBeamProps, Breadcrumb, type BreadcrumbEmits, _default$1 as BreadcrumbItem, type BreadcrumbItemProps, type ItemType as BreadcrumbItemType, type BreadcrumbProps, _default$2 as BreadcrumbSeparator, type BreadcrumbSlots, Button, type ButtonColorType, type ButtonEmits, type ButtonHTMLType, type ButtonProps, type ButtonSemanticName, type ButtonShape, type SizeType as ButtonSize, type ButtonSlots, type ButtonType, type ButtonVariantType, _default$3 as Calendar, type CalendarMode, type CalendarProps, Card, type CardEmits, CardGrid, type CardGridProps, CardMeta, type CardMetaProps, type CardProps, type CardSize, type CardSlots, type CardTabListType, Carousel, type CarouselEmits, type CarouselProps, type CarouselRef, type CarouselSlots, Cascader, type CascaderEmits, CascaderPanel, type CascaderPanelEmits, type CascaderPanelProps, type CascaderPanelSlots, type CascaderProps, type CascaderSlots, CheckableTag, CheckableTagGroup, type CheckableTagProps, InternalCheckbox as Checkbox, type CheckboxEmits, CheckboxGroup, type CheckboxGroupEmits, type CheckboxGroupProps, type CheckboxGroupSlots, type CheckboxOptionType, type CheckboxProps, type CheckboxSlots, Col, type ColProps, type ColSize, Collapse, CollapsePanel, type CollapsePanelProps, type CollapsePanelSlots, type CollapseProps, type AggregationColor as Color, ColorPicker, type ColorPickerEmits, type ColorPickerProps, type ColorPickerSlots, type ColorValueType, _default$4 as ConfigProvider, type ConfigProviderProps, type DataSourceItemObject, type DataSourceItemType, DateMonthPicker, _default$5 as DatePicker, type DatePickerEmits, type DatePickerProps, type DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, type DescriptionsItemProps, type DescriptionsItemSlots, type DescriptionsItemType, type DescriptionsProps, type DescriptionsSlots, DirectoryTree, type DirectoryTreeEmits, type ExpandAction as DirectoryTreeExpandAction, type DirectoryTreeProps, type DirectoryTreeSlots, Divider, type DividerProps, Drawer, type DrawerEmits, type DrawerProps, type DrawerResizableConfig, type DrawerSlots, Dropdown, type DropdownArrowOptions, type DropdownEmits, type DropdownProps, type DropdownSlots, _default$6 as Empty, type EmptyProps, type EmptySlots, Flex, type FlexProps, type FlexSlots, FloatButton, FloatButtonGroup, type FloatButtonGroupProps, type FloatButtonProps, type FloatButtonRef, InternalForm as Form, type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, type GlobalToken, _default_1 as Image, type ImageEmits, type PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, type ImagePreviewGroupProps, type ImageProps, type ImageSlots, CompoundedInput as Input, type InputEmits, InputGroup, type InputGroupProps, InputNumber, type InputNumberEmits, type InputNumberProps, type VcInputNumberRef as InputNumberRef, type InputNumberStepContext, type ValueType as InputNumberValueType, InputOTP, type OTPEmits as InputOTPEmits, type OTPProps as InputOTPProps, type OTPSlots as InputOTPSlots, InputPassword, type PasswordProps as InputPasswordProps, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type SearchProps as InputSearchProps, type InputSearchRef, type InputSlots, type InputTextAreaRef, type KeyWise, type KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, type BasicProps as LayoutProps, LayoutSider, type LegacyButtonType, type ListStyle, _default$7 as Masonry, type MasonryEmits, type MasonryProps, type MasonryRef, type MasonrySlots, type MentionPlacement, Mentions, type MentionsClassNamesType, type MentionsEmits, Option$1 as MentionsOption, type MentionsOptionProps, type MentionsProps, type MentionsRef, type MentionsSlots, type MentionsStylesType, _default$8 as Menu, MenuDivider, type MenuEmits, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, type MenuItemType, type MenuProps, type MenuRef, type MenuSlots, _default$9 as Modal, type ModalEmits, type ModalProps, type ModalSlots, type MonthPickerProps, Pagination, type PaginationClassNamesType, type PaginationConfig, type PaginationEmits, type PaginationLocale, type PaginationPosition, type PaginationProps, type PaginationSlots, type PaginationStylesType, Popconfirm, type PopconfirmEmits, type PopconfirmProps, type PopconfirmSlots, Popover, type PopoverEmits, type PopoverProps, type PopoverRef, type PopoverSlots, Progress, type ProgressProps, QRCode, type QRCodeEmits, type QRCodeProps, InternalRadio as Radio, RadioButton, type RadioChangeEvent, type RadioEmits, RadioGroup, type RadioGroupEmits, type RadioGroupOptionType, type RadioGroupProps, type RadioGroupSlots, type RadioOptionType, type RadioProps, type RadioSlots, type RangePickerProps, Rate, type RateEmits, type RateProps, type RenderResult, type RenderResultObject, _default$10 as Result, type ResultProps, type ResultSlots, type ResultStatusType, Row, type RowProps, type Rule, type RuleObject, type RuleRender, type RuleType, Segmented, type SegmentedEmits, type SegmentedOptions, type SegmentedProps, type SegmentedSlots, Select, type SelectAllLabel, type SelectEmits, SelectOptGroup, SelectOption, type SelectProps, type SelectSlots, type SelectValue, type SizeType, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, type SkeletonProps, Slider, type SliderEmits, type SliderProps, Space, SpaceAddon, SpaceCompact, type SpaceProps, type SpaceSize, type SpaceSlots, _default$11 as Spin, type SpinProps, type SpinSlots, Splitter, type SplitterEmits, SplitterPanel, type SplitterProps, type SplitterSlots, _default$12 as Statistic, type StatisticProps, StatisticTimer, type StatisticTimerProps, type StepItem, Steps, type StepsEmits, type StepsProps, type StepsSlots, StyleProvider, SubMenu, type SubMenuProps, Switch, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, TabPane, type TabPaneProps, _default$13 as Table, type TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, type ColumnType as TableColumnType, type ColumnsType as TableColumnsType, type DataIndex as TableDataIndex, type TableEmits, type TableLocale, type TablePaginationConfig, type TableProps, type TableRowSelection, type TableSlots, type SortOrder as TableSortOrder, type SorterResult as TableSorterResult, type TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, type TabsEmits, type TabsProps, type TabsRef, type TabsSlots, Tag, type TagProps, type TagSlots, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, type ThemeConfig, _default$14 as TimePicker, type TimePickerEmits, type TimePickerLocale, type TimePickerProps, type TimePickerSlots, TimeRangePicker, type TimeRangePickerEmits, type TimeRangePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemSlots, type TimelineItemType, type TimelineProps, _default$15 as Tooltip, type TooltipAlignConfig, type TooltipEmits, type TooltipPlacement, type TooltipProps, type TooltipRef, type TooltipSlots, Tour, type TourEmits, type TourLocale, type TourProps, type TourSlots, type TourStepItem, type TourStylesType, InternalTransfer as Transfer, type TransferClassNamesType, type TransferCustomListBodyProps, type TransferDirection, type TransferEmits, type TransferItem, type TransferKey, type TransferListBodyProps, type TransferListProps, type TransferLocale, type TransferOperationProps, type PaginationType as TransferPaginationType, type TransferProps, type TransferRender, type TransferSearchEmits, type TransferSearchOption, type TransferSearchProps, type TransferSearchSlots, type TransferSlots, type TransferStylesType, Tree, type DataNode as TreeDataNode, type TreeEmits, type TreeProps, TreeSelect, type TreeSelectEmits, type TreeSelectNode, type TreeSelectProps, type TreeSelectSlots, type TreeSlots, Typography, type BlockProps as TypographyBaseProps, TypographyLink, type LinkProps as TypographyLinkProps, TypographyParagraph, type ParagraphProps as TypographyParagraphProps, TypographyText, type TextProps as TypographyTextProps, TypographyTitle, type TitleProps as TypographyTitleProps, UniqueProvider, Upload, type UploadChangeParam, UploadDragger, type DraggerProps as UploadDraggerProps, type UploadEmits, type UploadFile, type UploadProps, type UploadSlots, Watermark, type WatermarkProps, type WeekPickerProps, _default$16 as default, staticMethods as message, staticMethods$1 as notification, _default$17 as theme, useBreakpoint, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useResponsive, _version2 as version };
|
|
165
|
+
export { Affix, type AffixEmits, type AffixProps, type AffixRef, Alert, type AlertEmits, type AlertProps, type AlertSemanticType, type AlertSlots, Anchor, type AnchorEmits, type AnchorLinkProps, type AnchorProps, type AnchorSlots, type AntTreeNode, type AntTreeNodeCheckedEvent, type AntTreeNodeExpandedEvent, type AntTreeNodeMouseEvent, type AntTreeNodeProps, type AntTreeNodeSelectedEvent, type AntdTreeNodeAttribute, _default as App, type AppProps, AutoComplete, type AutoCompleteClassNamesType, type AutoCompleteEmits, Option as AutoCompleteOption, type AutoCompleteProps, type AutoCompleteSlots, type AutoCompleteStylesType, Avatar, type AvatarEmits, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSlots, BackTopWithInstall as BackTop, Badge, type BadgeProps, BadgeRibbon, type RibbonProps as BadgeRibbonProps, type BadgeSlots, type BasicDataNode, BorderBeam, type BorderBeamColor, type BorderBeamGradient, type BorderBeamProps, Breadcrumb, type BreadcrumbEmits, _default$1 as BreadcrumbItem, type BreadcrumbItemProps, type ItemType as BreadcrumbItemType, type BreadcrumbProps, _default$2 as BreadcrumbSeparator, type BreadcrumbSlots, Button, type ButtonColorType, type ButtonEmits, type ButtonHTMLType, type ButtonProps, type ButtonSemanticName, type ButtonShape, type SizeType as ButtonSize, type ButtonSlots, type ButtonType, type ButtonVariantType, _default$3 as Calendar, type CalendarMode, type CalendarProps, Card, type CardEmits, CardGrid, type CardGridProps, CardMeta, type CardMetaProps, type CardProps, type CardSize, type CardSlots, type CardTabListType, Carousel, type CarouselEmits, type CarouselProps, type CarouselRef, type CarouselSlots, Cascader, type CascaderEmits, CascaderPanel, type CascaderPanelEmits, type CascaderPanelProps, type CascaderPanelSlots, type CascaderProps, type CascaderSlots, CheckableTag, CheckableTagGroup, type CheckableTagProps, InternalCheckbox as Checkbox, type CheckboxEmits, CheckboxGroup, type CheckboxGroupEmits, type CheckboxGroupProps, type CheckboxGroupSlots, type CheckboxOptionType, type CheckboxProps, type CheckboxSlots, Col, type ColProps, type ColSize, Collapse, CollapsePanel, type CollapsePanelProps, type CollapsePanelSlots, type CollapseProps, type AggregationColor as Color, ColorPicker, type ColorPickerEmits, type ColorPickerProps, type ColorPickerSlots, type ColorValueType, _default$4 as ConfigProvider, type ConfigProviderProps, type DataSourceItemObject, type DataSourceItemType, DateMonthPicker, _default$5 as DatePicker, type DatePickerEmits, type DatePickerProps, type DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, type DescriptionsItemProps, type DescriptionsItemSlots, type DescriptionsItemType, type DescriptionsProps, type DescriptionsSlots, DirectoryTree, type DirectoryTreeEmits, type ExpandAction as DirectoryTreeExpandAction, type DirectoryTreeProps, type DirectoryTreeSlots, Divider, type DividerProps, Drawer, type DrawerEmits, type DrawerProps, type DrawerResizableConfig, type DrawerSlots, Dropdown, type DropdownArrowOptions, type DropdownEmits, type DropdownProps, type DropdownSlots, _default$6 as Empty, type EmptyProps, type EmptySlots, Flex, type FlexProps, type FlexSlots, FloatButton, FloatButtonGroup, type FloatButtonGroupProps, type FloatButtonProps, type FloatButtonRef, InternalForm as Form, type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, type GlobalToken, _default_1 as Image, type ImageEmits, type PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, type ImagePreviewGroupProps, type ImageProps, type ImageSlots, CompoundedInput as Input, type InputEmits, InputGroup, type InputGroupProps, InputNumber, type InputNumberEmits, type InputNumberProps, type VcInputNumberRef as InputNumberRef, type InputNumberStepContext, type ValueType as InputNumberValueType, InputOTP, type OTPEmits as InputOTPEmits, type OTPProps as InputOTPProps, type OTPSlots as InputOTPSlots, InputPassword, type PasswordProps as InputPasswordProps, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type SearchProps as InputSearchProps, type InputSearchRef, type InputSlots, type InputTextAreaRef, type KeyWise, type KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, type BasicProps as LayoutProps, LayoutSider, type LegacyButtonType, type ListStyle, _default$7 as Masonry, type MasonryEmits, type MasonryProps, type MasonryRef, type MasonrySlots, type MentionPlacement, Mentions, type MentionsClassNamesType, type MentionsEmits, Option$1 as MentionsOption, type MentionsOptionProps, type MentionsProps, type MentionsRef, type MentionsSlots, type MentionsStylesType, _default$8 as Menu, MenuDivider, type MenuEmits, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, type MenuItemType, type MenuProps, type MenuRef, type MenuSlots, _default$9 as Modal, type ModalEmits, type ModalProps, type ModalSlots, type MonthPickerProps, Pagination, type PaginationClassNamesType, type PaginationConfig, type PaginationEmits, type PaginationLocale, type PaginationPosition, type PaginationProps, type PaginationSlots, type PaginationStylesType, Popconfirm, type PopconfirmEmits, type PopconfirmProps, type PopconfirmSlots, Popover, type PopoverEmits, type PopoverProps, type PopoverRef, type PopoverSlots, Progress, type ProgressProps, QRCode, type QRCodeEmits, type QRCodeProps, InternalRadio as Radio, RadioButton, type RadioChangeEvent, type RadioEmits, RadioGroup, type RadioGroupEmits, type RadioGroupOptionType, type RadioGroupProps, type RadioGroupSlots, type RadioOptionType, type RadioProps, type RadioSlots, type RangePickerProps, Rate, type RateEmits, type RateProps, type RenderResult, type RenderResultObject, _default$10 as Result, type ResultProps, type ResultSlots, type ResultStatusType, Row, type RowProps, type Rule, type RuleObject, type RuleRender, type RuleType, Segmented, type SegmentedEmits, type SegmentedOptions, type SegmentedProps, type SegmentedSlots, Select, type SelectAllLabel, type SelectEmits, SelectOptGroup, SelectOption, type SelectProps, type SelectSlots, type SelectValue, type SizeType, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, type SkeletonProps, Slider, type SliderEmits, type SliderProps, Space, SpaceAddon, SpaceCompact, type SpaceProps, type SpaceSize, type SpaceSlots, _default$11 as Spin, type SpinProps, type SpinSlots, Splitter, type SplitterEmits, SplitterPanel, type SplitterProps, type SplitterSlots, _default$12 as Statistic, type StatisticProps, StatisticTimer, type StatisticTimerProps, type StepItem, Steps, type StepsEmits, type StepsProps, type StepsSlots, StyleProvider, SubMenu, type SubMenuProps, Switch, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, TabPane, type TabPaneProps, _default$13 as Table, type TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, type ColumnType as TableColumnType, type ColumnsType as TableColumnsType, type DataIndex as TableDataIndex, type TableEmits, type TableLocale, type TablePaginationConfig, type TableProps, type TableRowSelection, type TableSlots, type SortOrder as TableSortOrder, type SorterResult as TableSorterResult, type TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, type TabsEmits, type TabsProps, type TabsRef, type TabsSlots, Tag, type TagProps, type TagSlots, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, type ThemeConfig, _default$14 as TimePicker, type TimePickerEmits, type TimePickerLocale, type TimePickerProps, type TimePickerSlots, TimeRangePicker, type TimeRangePickerEmits, type TimeRangePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemSlots, type TimelineItemType, type TimelineProps, _default$15 as Tooltip, type TooltipAlignConfig, type TooltipEmits, type TooltipPlacement, type TooltipProps, type TooltipRef, type TooltipSlots, Tour, type TourEmits, type TourLocale, type TourProps, type TourSlots, type TourStepItem, type TourStylesType, InternalTransfer as Transfer, type TransferClassNamesType, type TransferCustomListBodyProps, type TransferDirection, type TransferEmits, type TransferItem, type TransferKey, type TransferListBodyProps, type TransferListProps, type TransferLocale, type TransferOperationProps, type PaginationType as TransferPaginationType, type TransferProps, type TransferRender, type TransferSearchEmits, type TransferSearchOption, type TransferSearchProps, type TransferSearchSlots, type TransferSlots, type TransferStylesType, Tree, type DataNode as TreeDataNode, type TreeEmits, type TreeProps, TreeSelect, type TreeSelectEmits, type TreeSelectNode, type TreeSelectProps, type TreeSelectSlots, type TreeSlots, Typography, type BlockProps as TypographyBaseProps, TypographyLink, type LinkProps as TypographyLinkProps, TypographyParagraph, type ParagraphProps as TypographyParagraphProps, TypographyText, type TextProps as TypographyTextProps, TypographyTitle, type TitleProps as TypographyTitleProps, UniqueProvider, Upload, type UploadChangeParam, UploadDragger, type DraggerProps as UploadDraggerProps, type UploadEmits, type UploadFile, type UploadProps, type UploadSlots, Watermark, type WatermarkProps, type WeekPickerProps, _default$16 as default, install, staticMethods as message, staticMethods$1 as notification, setPrefix, _default$17 as theme, useBreakpoint, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useResponsive, _version2 as version };
|
package/dist/index.js
CHANGED
|
@@ -110,19 +110,21 @@ import theme_default from "./theme/index.js";
|
|
|
110
110
|
import { StyleProvider } from "@antdv-next/cssinjs";
|
|
111
111
|
//#region src/index.ts
|
|
112
112
|
let prefix = "A";
|
|
113
|
+
function setPrefix(newPrefix) {
|
|
114
|
+
prefix = newPrefix;
|
|
115
|
+
}
|
|
116
|
+
function install(app) {
|
|
117
|
+
app.config.globalProperties._ant_prefix = prefix;
|
|
118
|
+
Object.keys(components_exports).forEach((key) => {
|
|
119
|
+
const component = components_exports[key];
|
|
120
|
+
if ("install" in component) app.use(component);
|
|
121
|
+
});
|
|
122
|
+
app.component("AStyleProvider", StyleProvider);
|
|
123
|
+
}
|
|
113
124
|
var src_default = {
|
|
114
|
-
setPrefix
|
|
115
|
-
|
|
116
|
-
},
|
|
117
|
-
install(app) {
|
|
118
|
-
app.config.globalProperties._ant_prefix = prefix;
|
|
119
|
-
Object.keys(components_exports).forEach((key) => {
|
|
120
|
-
const component = components_exports[key];
|
|
121
|
-
if ("install" in component) app.use(component);
|
|
122
|
-
});
|
|
123
|
-
app.component("AStyleProvider", StyleProvider);
|
|
124
|
-
},
|
|
125
|
+
setPrefix,
|
|
126
|
+
install,
|
|
125
127
|
version: version_default
|
|
126
128
|
};
|
|
127
129
|
//#endregion
|
|
128
|
-
export { Affix, alert_default as Alert, anchor_default as Anchor, App, AutoComplete, Option as AutoCompleteOption, Avatar, AvatarGroup, BackTopWithInstall as BackTop, Badge, BadgeRibbon, border_beam_default as BorderBeam, breadcrumb_default as Breadcrumb, BreadcrumbItem, BreadcrumbSeparator, button_default as Button, Calendar, card_default as Card, CardGrid, CardMeta, Carousel, Cascader, CascaderPanel, CheckableTag, CheckableTagGroup, checkbox_default as Checkbox, CheckboxGroup, Col, collapse_default as Collapse, CollapsePanel, color_picker_default as ColorPicker, ConfigProvider, DateMonthPicker, DatePicker, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, DirectoryTree, Divider, Drawer, Dropdown, Empty, Flex, float_button_default as FloatButton, FloatButtonGroup, form_default as Form, InternalFormItem as FormItem, Image, ImagePreviewGroup, CompoundedInput as Input, InputGroup, InputNumber, InputOTP, InputPassword, InputSearch, layout_default as Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, masonry_default as Masonry, Mentions, Option$1 as MentionsOption, Menu, MenuDivider, MenuItem, MenuItemGroup, Modal, pagination_default as Pagination, Popconfirm, Popover, Progress, QRCode, radio_default as Radio, RadioButton, RadioGroup, Rate, Result, Row, Segmented, Select, SelectOptGroup, SelectOption, skeleton_default as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, Slider, Space, SpaceAddon, SpaceCompact, Spin, splitter_default as Splitter, SplitterPanel, statistic_default as Statistic, StatisticTimer, Steps, StyleProvider, SubMenu, Switch, TabPane, InternalTable as Table, Column as TableColumn, ColumnGroup as TableColumnGroup, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, Tag, InternalTextArea as TextArea, TimePicker, TimeRangePicker, timeline_default as Timeline, TimelineItem, InternalTooltip as Tooltip, Tour, InternalTransfer as Transfer, Tree, TreeSelect, Typography, TypographyLink, TypographyParagraph, TypographyText, TypographyTitle, UniqueProvider, Upload, UploadDragger, Watermark, src_default as default, staticMethods as message, staticMethods$1 as notification, theme_default as theme, useBreakpoint, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useResponsive, version_default as version };
|
|
130
|
+
export { Affix, alert_default as Alert, anchor_default as Anchor, App, AutoComplete, Option as AutoCompleteOption, Avatar, AvatarGroup, BackTopWithInstall as BackTop, Badge, BadgeRibbon, border_beam_default as BorderBeam, breadcrumb_default as Breadcrumb, BreadcrumbItem, BreadcrumbSeparator, button_default as Button, Calendar, card_default as Card, CardGrid, CardMeta, Carousel, Cascader, CascaderPanel, CheckableTag, CheckableTagGroup, checkbox_default as Checkbox, CheckboxGroup, Col, collapse_default as Collapse, CollapsePanel, color_picker_default as ColorPicker, ConfigProvider, DateMonthPicker, DatePicker, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, DirectoryTree, Divider, Drawer, Dropdown, Empty, Flex, float_button_default as FloatButton, FloatButtonGroup, form_default as Form, InternalFormItem as FormItem, Image, ImagePreviewGroup, CompoundedInput as Input, InputGroup, InputNumber, InputOTP, InputPassword, InputSearch, layout_default as Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, masonry_default as Masonry, Mentions, Option$1 as MentionsOption, Menu, MenuDivider, MenuItem, MenuItemGroup, Modal, pagination_default as Pagination, Popconfirm, Popover, Progress, QRCode, radio_default as Radio, RadioButton, RadioGroup, Rate, Result, Row, Segmented, Select, SelectOptGroup, SelectOption, skeleton_default as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, Slider, Space, SpaceAddon, SpaceCompact, Spin, splitter_default as Splitter, SplitterPanel, statistic_default as Statistic, StatisticTimer, Steps, StyleProvider, SubMenu, Switch, TabPane, InternalTable as Table, Column as TableColumn, ColumnGroup as TableColumnGroup, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, Tag, InternalTextArea as TextArea, TimePicker, TimeRangePicker, timeline_default as Timeline, TimelineItem, InternalTooltip as Tooltip, Tour, InternalTransfer as Transfer, Tree, TreeSelect, Typography, TypographyLink, TypographyParagraph, TypographyText, TypographyTitle, UniqueProvider, Upload, UploadDragger, Watermark, src_default as default, install, staticMethods as message, staticMethods$1 as notification, setPrefix, theme_default as theme, useBreakpoint, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useResponsive, version_default as version };
|
package/dist/package.js
CHANGED
package/dist/package.json.d.ts
CHANGED
package/dist/space/Compact.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ interface SpaceCompactItemContextType {
|
|
|
19
19
|
declare function useSpaceCompactItemContext(): Ref<SpaceCompactItemContextType | null, SpaceCompactItemContextType | null>;
|
|
20
20
|
declare function useCompactItemContext(prefixCls: Ref<string>, direction: Ref<DirectionType>): {
|
|
21
21
|
compactSize: import("vue").ComputedRef<SizeType>;
|
|
22
|
-
compactDirection: import("vue").ComputedRef<"
|
|
22
|
+
compactDirection: import("vue").ComputedRef<"vertical" | "horizontal" | undefined>;
|
|
23
23
|
compactItemClassnames: import("vue").ComputedRef<string>;
|
|
24
24
|
};
|
|
25
25
|
declare const NoCompactStyle: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
|
|
@@ -215,7 +215,18 @@ const SplitBar = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
215
215
|
type: Boolean,
|
|
216
216
|
required: true
|
|
217
217
|
},
|
|
218
|
-
draggerIcon: {
|
|
218
|
+
draggerIcon: {
|
|
219
|
+
type: [
|
|
220
|
+
Function,
|
|
221
|
+
String,
|
|
222
|
+
Number,
|
|
223
|
+
null,
|
|
224
|
+
Object,
|
|
225
|
+
Boolean
|
|
226
|
+
],
|
|
227
|
+
required: false,
|
|
228
|
+
default: void 0
|
|
229
|
+
},
|
|
219
230
|
collapsibleIcon: {
|
|
220
231
|
type: Object,
|
|
221
232
|
required: false
|
|
@@ -10,6 +10,6 @@ declare function useColor(props: {
|
|
|
10
10
|
color: Ref<TagProps['color']>;
|
|
11
11
|
variant: Ref<TagProps['variant']>;
|
|
12
12
|
bordered: Ref<TagProps['bordered']>;
|
|
13
|
-
}, contextVariant?: Ref<TagProps['variant']>): readonly [import("vue").ComputedRef<"
|
|
13
|
+
}, contextVariant?: Ref<TagProps['variant']>): readonly [import("vue").ComputedRef<"outlined" | "solid" | "filled">, import("vue").ComputedRef<string | undefined>, import("vue").ComputedRef<boolean>, import("vue").ComputedRef<boolean>, import("vue").ComputedRef<CSSProperties>];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { useColor as default };
|
package/dist/tour/panelRender.js
CHANGED
|
@@ -135,8 +135,14 @@ const TourPanel = /* @__PURE__ */ defineComponent((props) => {
|
|
|
135
135
|
type: Function,
|
|
136
136
|
required: false
|
|
137
137
|
},
|
|
138
|
-
classes: {
|
|
139
|
-
|
|
138
|
+
classes: {
|
|
139
|
+
type: [Object, Function],
|
|
140
|
+
required: false
|
|
141
|
+
},
|
|
142
|
+
styles: {
|
|
143
|
+
type: [Object, Function],
|
|
144
|
+
required: false
|
|
145
|
+
},
|
|
140
146
|
actionsRender: {
|
|
141
147
|
type: Function,
|
|
142
148
|
required: false
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antdv-next",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.5",
|
|
5
5
|
"description": "Ant Design Vue3 Component Library",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "aibayanyu@gamil.com",
|
|
@@ -237,7 +237,8 @@
|
|
|
237
237
|
},
|
|
238
238
|
"scripts": {
|
|
239
239
|
"test": "vitest run",
|
|
240
|
-
"build": "run-s build:esm build:vite:parallel build:p",
|
|
240
|
+
"build": "run-s build:esm build:vite:parallel build:verify build:p",
|
|
241
|
+
"build:verify": "tsx ./scripts/verify-browser-bundle.ts",
|
|
241
242
|
"build:p": "run-p build:web-types build:style",
|
|
242
243
|
"build:esm": "tsdown",
|
|
243
244
|
"build:with-locales": "run-p build:with-locales:esm build:with-locales:umd",
|