antdv-next 1.0.0-beta.3 → 1.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_util/PurePanel.mjs +4 -4
- package/dist/_util/hooks/useClosable.d.mts +0 -1
- package/dist/_util/hooks/useClosable.mjs +1 -1
- package/dist/_util/hooks/useMergeSemantic.d.mts +2 -3
- package/dist/_util/hooks/useMergeSemantic.mjs +9 -9
- package/dist/_util/tools.mjs +1 -1
- package/dist/_util/warning.d.mts +0 -1
- package/dist/affix/index.d.mts +3 -3
- package/dist/alert/Alert.d.mts +24 -7
- package/dist/alert/Alert.mjs +91 -28
- package/dist/anchor/Anchor.d.mts +18 -7
- package/dist/antd.css +1 -1
- package/dist/antd.js +101 -112
- package/dist/app/App.d.mts +2 -2
- package/dist/app/App.mjs +2 -2
- package/dist/auto-complete/index.d.mts +23 -11
- package/dist/auto-complete/index.mjs +1 -1
- package/dist/avatar/Avatar.d.mts +3 -3
- package/dist/avatar/AvatarGroup.d.mts +2 -2
- package/dist/avatar/style/index.mjs +2 -2
- package/dist/badge/Ribbon.d.mts +21 -5
- package/dist/badge/Ribbon.mjs +44 -23
- package/dist/badge/SingleNumber.mjs +2 -1
- package/dist/badge/index.d.mts +14 -7
- package/dist/badge/style/ribbon.mjs +1 -1
- package/dist/breadcrumb/Breadcrumb.d.mts +17 -6
- package/dist/breadcrumb/Breadcrumb.mjs +18 -3
- package/dist/breadcrumb/BreadcrumbItem.d.mts +1 -0
- package/dist/breadcrumb/BreadcrumbItem.mjs +29 -4
- package/dist/breadcrumb/style/index.mjs +5 -5
- package/dist/button/Button.d.mts +18 -10
- package/dist/button/buttonHelper.d.mts +0 -1
- package/dist/button/index.d.mts +1 -1
- package/dist/button/style/compact.mjs +28 -19
- package/dist/button/style/token.d.mts +0 -5
- package/dist/button/style/variant.mjs +27 -3
- package/dist/calendar/generateCalendar.d.mts +20 -7
- package/dist/calendar/generateCalendar.mjs +1 -1
- package/dist/calendar/index.d.mts +3 -3
- package/dist/card/Card.d.mts +23 -6
- package/dist/card/CardGrid.d.mts +2 -2
- package/dist/card/CardMeta.d.mts +20 -7
- package/dist/carousel/index.d.mts +3 -3
- package/dist/cascader/Panel.d.mts +3 -3
- package/dist/cascader/index.d.mts +31 -10
- package/dist/checkbox/Checkbox.d.mts +16 -7
- package/dist/checkbox/Checkbox.mjs +1 -1
- package/dist/checkbox/Group.d.mts +4 -3
- package/dist/checkbox/Group.mjs +11 -2
- package/dist/collapse/Collapse.d.mts +19 -6
- package/dist/collapse/Collapse.mjs +1 -1
- package/dist/color-picker/ColorPicker.d.mts +3 -3
- package/dist/color-picker/interface.d.mts +15 -7
- package/dist/color-picker/style/input.mjs +2 -0
- package/dist/components.d.mts +2 -3
- package/dist/config-provider/context.d.mts +58 -12
- package/dist/config-provider/context.mjs +3 -3
- package/dist/config-provider/define.d.mts +7 -1
- package/dist/config-provider/index.d.mts +3 -4
- package/dist/config-provider/index.mjs +82 -8
- package/dist/date-picker/generatePicker/index.d.mts +15 -15
- package/dist/date-picker/generatePicker/interface.d.mts +37 -10
- package/dist/date-picker/hooks/useMergedPickerSemantic.mjs +2 -2
- package/dist/date-picker/index.d.mts +25 -25
- package/dist/descriptions/Cell.mjs +5 -5
- package/dist/descriptions/DescriptionsContext.d.mts +13 -0
- package/dist/descriptions/Item.d.mts +3 -3
- package/dist/descriptions/hooks/useRow.mjs +7 -7
- package/dist/descriptions/index.d.mts +22 -7
- package/dist/divider/index.d.mts +15 -5
- package/dist/drawer/DrawerPanel.d.mts +28 -3
- package/dist/drawer/DrawerPanel.mjs +3 -3
- package/dist/drawer/index.d.mts +4 -4
- package/dist/drawer/index.mjs +4 -0
- package/dist/drawer/style/index.mjs +9 -2
- package/dist/dropdown/dropdown.d.mts +20 -7
- package/dist/empty/index.d.mts +18 -7
- package/dist/flex/index.d.mts +3 -3
- package/dist/float-button/BackTop.d.mts +3 -3
- package/dist/float-button/FloatButton.d.mts +6 -7
- package/dist/float-button/FloatButtonGroup.d.mts +25 -6
- package/dist/form/Form.d.mts +16 -7
- package/dist/form/FormItem/index.d.mts +3 -3
- package/dist/form/FormItem/index.mjs +1 -1
- package/dist/form/FormItemInput.d.mts +0 -1
- package/dist/grid/index.d.mts +2 -2
- package/dist/grid/row.d.mts +2 -2
- package/dist/image/PreviewGroup.d.mts +3 -5
- package/dist/image/index.d.mts +34 -14
- package/dist/index.d.mts +3 -4
- package/dist/input/Input.d.mts +17 -4
- package/dist/input/Input.mjs +2 -2
- package/dist/input/OTP/index.d.mts +13 -4
- package/dist/input/Password.mjs +3 -3
- package/dist/input/Search.d.mts +21 -9
- package/dist/input/TextArea.d.mts +16 -7
- package/dist/input/TextArea.mjs +2 -2
- package/dist/input/index.d.mts +11 -11
- package/dist/input/style/index.mjs +5 -2
- package/dist/input/style/variants.mjs +2 -1
- package/dist/input-number/index.d.mts +20 -7
- package/dist/layout/index.d.mts +6 -6
- package/dist/layout/layout.d.mts +2 -3
- package/dist/locale/index.d.mts +0 -1
- package/dist/masonry/Masonry.d.mts +14 -7
- package/dist/masonry/MasonryItem.mjs +2 -2
- package/dist/mentions/index.d.mts +18 -7
- package/dist/mentions/index.mjs +2 -2
- package/dist/mentions/style/index.mjs +2 -2
- package/dist/menu/MenuContext.d.mts +0 -1
- package/dist/menu/MenuDivider.d.mts +2 -2
- package/dist/menu/MenuItem.d.mts +3 -3
- package/dist/menu/MenuItem.mjs +4 -3
- package/dist/menu/SubMenu.d.mts +3 -3
- package/dist/menu/SubMenu.mjs +5 -0
- package/dist/menu/index.d.mts +5 -5
- package/dist/menu/menu.d.mts +42 -10
- package/dist/menu/menu.mjs +2 -2
- package/dist/menu/style/index.d.mts +1 -1
- package/dist/menu/style/vertical.mjs +1 -1
- package/dist/message/PurePanel.d.mts +5 -7
- package/dist/message/index.mjs +2 -2
- package/dist/message/interface.d.mts +20 -4
- package/dist/message/useMessage.d.mts +0 -1
- package/dist/modal/Modal.d.mts +3 -3
- package/dist/modal/confirm.mjs +8 -4
- package/dist/modal/interface.d.mts +22 -3
- package/dist/modal/style/index.mjs +11 -8
- package/dist/notification/PurePanel.d.mts +8 -8
- package/dist/notification/index.mjs +2 -2
- package/dist/notification/interface.d.mts +18 -5
- package/dist/notification/style/index.mjs +8 -8
- package/dist/notification/useNotification.d.mts +2 -3
- package/dist/package.d.mts +4 -0
- package/dist/package.mjs +1 -1
- package/dist/pagination/Pagination.d.mts +3 -3
- package/dist/pagination/Pagination.mjs +11 -10
- package/dist/pagination/interface.d.mts +14 -5
- package/dist/pagination/style/bordered.mjs +2 -2
- package/dist/pagination/style/index.d.mts +10 -5
- package/dist/pagination/style/index.mjs +52 -103
- package/dist/popconfirm/PurePanel.d.mts +5 -7
- package/dist/popconfirm/index.d.mts +8 -6
- package/dist/popconfirm/index.mjs +7 -3
- package/dist/popover/index.d.mts +16 -9
- package/dist/popover/index.mjs +8 -5
- package/dist/progress/Line.mjs +3 -3
- package/dist/progress/progress.d.mts +20 -7
- package/dist/qrcode/index.d.mts +3 -3
- package/dist/qrcode/index.mjs +2 -1
- package/dist/qrcode/interface.d.mts +11 -3
- package/dist/radio/group.mjs +3 -3
- package/dist/radio/index.d.mts +5 -5
- package/dist/radio/interface.d.mts +13 -3
- package/dist/radio/radio.d.mts +3 -3
- package/dist/radio/radio.mjs +1 -1
- package/dist/rate/index.d.mts +3 -3
- package/dist/result/index.d.mts +22 -7
- package/dist/result/index.mjs +11 -6
- package/dist/result/noFound.d.mts +2 -2
- package/dist/result/serverError.d.mts +2 -2
- package/dist/result/unauthorized.d.mts +2 -2
- package/dist/segmented/index.d.mts +18 -7
- package/dist/select/index.d.mts +48 -20
- package/dist/skeleton/Avatar.d.mts +2 -2
- package/dist/skeleton/Button.d.mts +2 -2
- package/dist/skeleton/Image.d.mts +2 -2
- package/dist/skeleton/Input.d.mts +2 -2
- package/dist/skeleton/Node.d.mts +3 -3
- package/dist/skeleton/Skeleton.d.mts +22 -7
- package/dist/slider/index.d.mts +19 -6
- package/dist/slider/index.mjs +4 -4
- package/dist/space/index.d.mts +18 -9
- package/dist/spin/Indicator/Progress.mjs +3 -3
- package/dist/spin/index.d.mts +19 -6
- package/dist/splitter/SplitBar.mjs +12 -12
- package/dist/splitter/Splitter.d.mts +3 -3
- package/dist/splitter/Splitter.mjs +1 -1
- package/dist/splitter/hooks/useItems.mjs +2 -2
- package/dist/splitter/hooks/useResizable.mjs +5 -5
- package/dist/splitter/hooks/useResize.mjs +2 -2
- package/dist/splitter/index.d.mts +2 -2
- package/dist/splitter/interface.d.mts +21 -7
- package/dist/splitter/style/index.mjs +2 -28
- package/dist/statistic/Statistic.d.mts +21 -6
- package/dist/statistic/Statistic.mjs +1 -1
- package/dist/statistic/Timer.d.mts +5 -5
- package/dist/statistic/index.d.mts +5 -5
- package/dist/steps/context.mjs +5 -2
- package/dist/steps/index.d.mts +31 -9
- package/dist/steps/index.mjs +3 -3
- package/dist/style/motion/fade.mjs +25 -0
- package/dist/switch/index.d.mts +14 -7
- package/dist/switch/index.mjs +2 -2
- package/dist/table/Column.d.mts +3 -3
- package/dist/table/ColumnGroup.d.mts +3 -3
- package/dist/table/InternalTable.d.mts +35 -13
- package/dist/table/InternalTable.mjs +12 -6
- package/dist/table/Table.d.mts +3 -3
- package/dist/table/TableMeasureRowContext.mjs +20 -0
- package/dist/table/hooks/useFilter/FilterDropdown.mjs +17 -12
- package/dist/table/hooks/useSelection.mjs +1 -1
- package/dist/table/interface.d.mts +1 -2
- package/dist/table/style/virtual.mjs +1 -1
- package/dist/tabs/TabPane.d.mts +3 -3
- package/dist/tabs/index.d.mts +27 -11
- package/dist/tabs/index.mjs +5 -5
- package/dist/tag/CheckableTag.d.mts +3 -3
- package/dist/tag/CheckableTagGroup.d.mts +3 -3
- package/dist/tag/index.d.mts +16 -7
- package/dist/tag/index.mjs +1 -1
- package/dist/tag/style/index.mjs +1 -1
- package/dist/theme/index.d.mts +1 -2
- package/dist/theme/interface/maps/index.d.mts +0 -1
- package/dist/theme/useToken.mjs +3 -3
- package/dist/theme/util/genStyleUtils.mjs +3 -2
- package/dist/time-picker/index.d.mts +38 -14
- package/dist/time-picker/index.mjs +1 -1
- package/dist/timeline/Timeline.d.mts +49 -14
- package/dist/timeline/Timeline.mjs +82 -11
- package/dist/timeline/index.d.mts +1 -2
- package/dist/timeline/style/horizontal.mjs +73 -0
- package/dist/timeline/style/index.d.mts +10 -5
- package/dist/timeline/style/index.mjs +93 -137
- package/dist/timeline/useItems.mjs +52 -0
- package/dist/tooltip/PurePanel.d.mts +2 -2
- package/dist/tooltip/UniqueProvider/index.d.mts +2 -2
- package/dist/tooltip/index.d.mts +17 -8
- package/dist/tooltip/index.mjs +11 -3
- package/dist/tooltip/style/index.d.mts +7 -1
- package/dist/tooltip/style/index.mjs +3 -2
- package/dist/tour/index.d.mts +3 -3
- package/dist/tour/index.mjs +1 -1
- package/dist/tour/interface.d.mts +29 -3
- package/dist/transfer/Actions.d.mts +2 -2
- package/dist/transfer/ListItem.mjs +4 -4
- package/dist/transfer/Section.d.mts +2 -2
- package/dist/transfer/Transfer.d.mts +3 -3
- package/dist/transfer/Transfer.mjs +4 -4
- package/dist/transfer/index.d.mts +1 -1
- package/dist/transfer/interface.d.mts +32 -7
- package/dist/transfer/search.d.mts +3 -3
- package/dist/tree/DirectoryTree.d.mts +3 -3
- package/dist/tree/Tree.d.mts +18 -7
- package/dist/tree/index.d.mts +0 -1
- package/dist/tree-select/index.d.mts +41 -12
- package/dist/tree-select/style/index.d.mts +1 -1
- package/dist/typography/Editable.mjs +4 -4
- package/dist/typography/Link.d.mts +3 -3
- package/dist/typography/Paragraph.d.mts +3 -3
- package/dist/typography/Text.d.mts +3 -3
- package/dist/typography/Title.d.mts +3 -3
- package/dist/typography/Typography.d.mts +3 -3
- package/dist/typography/Typography.mjs +2 -12
- package/dist/typography/index.d.mts +9 -10
- package/dist/typography/interface.d.mts +0 -2
- package/dist/typography/style/mixins.mjs +3 -3
- package/dist/upload/Dragger.d.mts +3 -3
- package/dist/upload/Upload.d.mts +3 -4
- package/dist/upload/index.d.mts +3 -3
- package/dist/upload/interface.d.mts +13 -4
- package/dist/watermark/index.d.mts +2 -2
- package/dist/watermark/index.mjs +3 -3
- package/package.json +45 -41
- package/web-tags.json +1918 -1873
- package/web-types.json +6815 -7198
- package/dist/timeline/TimelineItem.d.mts +0 -20
- package/dist/timeline/TimelineItem.mjs +0 -115
- package/dist/timeline/TimelineItemList.mjs +0 -158
|
@@ -3,11 +3,11 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.mjs";
|
|
4
4
|
import { TooltipProps } from "../tooltip/index.mjs";
|
|
5
5
|
import { ButtonHTMLType } from "../button/buttonHelper.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { ButtonSemanticClassNames, ButtonSemanticStyles } from "../button/Button.mjs";
|
|
7
7
|
import "../button/index.mjs";
|
|
8
8
|
import { BadgeProps } from "../badge/index.mjs";
|
|
9
9
|
import { ComponentBaseProps } from "../config-provider/context.mjs";
|
|
10
|
-
import * as
|
|
10
|
+
import * as vue277 from "vue";
|
|
11
11
|
import { CSSProperties, SlotsType } from "vue";
|
|
12
12
|
|
|
13
13
|
//#region src/float-button/FloatButton.d.ts
|
|
@@ -19,9 +19,8 @@ type FloatButtonType = 'default' | 'primary';
|
|
|
19
19
|
type FloatButtonShape = 'circle' | 'square';
|
|
20
20
|
type FloatButtonGroupTrigger = 'click' | 'hover';
|
|
21
21
|
type FloatButtonBadgeProps = Omit<BadgeProps, 'status' | 'text' | 'title'>;
|
|
22
|
-
type
|
|
23
|
-
type
|
|
24
|
-
type FloatButtonStylesType = SemanticStylesType<FloatButtonProps, FloatButtonSemanticName>;
|
|
22
|
+
type FloatButtonClassNamesType = SemanticClassNamesType<FloatButtonProps, ButtonSemanticClassNames>;
|
|
23
|
+
type FloatButtonStylesType = SemanticStylesType<FloatButtonProps, ButtonSemanticStyles>;
|
|
25
24
|
interface FloatButtonProps extends ComponentBaseProps {
|
|
26
25
|
icon?: VueNode;
|
|
27
26
|
/** @deprecated Use `content` instead */
|
|
@@ -54,9 +53,9 @@ interface FloatButtonEmits {
|
|
|
54
53
|
blur: (e: FocusEvent) => void;
|
|
55
54
|
[key: string]: (...args: any[]) => void;
|
|
56
55
|
}
|
|
57
|
-
declare const InternalFloatButton:
|
|
56
|
+
declare const InternalFloatButton: vue277.DefineSetupFnComponent<FloatButtonProps, FloatButtonEmits, SlotsType<FloatButtonSlots>, FloatButtonProps & {
|
|
58
57
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
59
|
-
},
|
|
58
|
+
}, vue277.PublicProps>;
|
|
60
59
|
declare const FloatButton: typeof InternalFloatButton;
|
|
61
60
|
//#endregion
|
|
62
61
|
export { FloatButton, FloatButtonGroupTrigger, FloatButtonProps, FloatButtonRef };
|
|
@@ -3,13 +3,32 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.mjs";
|
|
4
4
|
import { FloatButtonGroupTrigger, FloatButtonProps } from "./FloatButton.mjs";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.mjs";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue279 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/float-button/FloatButtonGroup.d.ts
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
interface FloatButtonGroupSemanticClassNames {
|
|
11
|
+
root?: string;
|
|
12
|
+
list?: string;
|
|
13
|
+
item?: string;
|
|
14
|
+
itemIcon?: string;
|
|
15
|
+
itemContent?: string;
|
|
16
|
+
trigger?: string;
|
|
17
|
+
triggerIcon?: string;
|
|
18
|
+
triggerContent?: string;
|
|
19
|
+
}
|
|
20
|
+
interface FloatButtonGroupSemanticStyles {
|
|
21
|
+
root?: CSSProperties;
|
|
22
|
+
list?: CSSProperties;
|
|
23
|
+
item?: CSSProperties;
|
|
24
|
+
itemIcon?: CSSProperties;
|
|
25
|
+
itemContent?: CSSProperties;
|
|
26
|
+
trigger?: CSSProperties;
|
|
27
|
+
triggerIcon?: CSSProperties;
|
|
28
|
+
triggerContent?: CSSProperties;
|
|
29
|
+
}
|
|
30
|
+
type FloatButtonGroupClassNamesType = SemanticClassNamesType<FloatButtonGroupProps, FloatButtonGroupSemanticClassNames>;
|
|
31
|
+
type FloatButtonGroupStylesType = SemanticStylesType<FloatButtonGroupProps, FloatButtonGroupSemanticStyles>;
|
|
13
32
|
interface FloatButtonGroupProps extends Omit<FloatButtonProps, 'classes' | 'styles'>, ComponentBaseProps {
|
|
14
33
|
classes?: FloatButtonGroupClassNamesType;
|
|
15
34
|
styles?: FloatButtonGroupStylesType;
|
|
@@ -31,9 +50,9 @@ interface FloatButtonGroupEmits {
|
|
|
31
50
|
'click': (e: MouseEvent) => void;
|
|
32
51
|
[key: string]: (...args: any[]) => void;
|
|
33
52
|
}
|
|
34
|
-
declare const InternalFloatButtonGroup:
|
|
53
|
+
declare const InternalFloatButtonGroup: vue279.DefineSetupFnComponent<FloatButtonGroupProps, FloatButtonGroupEmits, SlotsType<FloatButtonGroupSlots>, FloatButtonGroupProps & {
|
|
35
54
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
36
|
-
},
|
|
55
|
+
}, vue279.PublicProps>;
|
|
37
56
|
declare const FloatButtonGroup: typeof InternalFloatButtonGroup;
|
|
38
57
|
//#endregion
|
|
39
58
|
export { FloatButtonGroup, FloatButtonGroupProps };
|
package/dist/form/Form.d.mts
CHANGED
|
@@ -7,8 +7,8 @@ import { FormLabelAlign, ScrollFocusOptions } from "./interface.mjs";
|
|
|
7
7
|
import { FieldData, InternalNamePath, NamePath, Rule, ValidateErrorEntity, ValidateMessages, ValidateOptions } from "./types.mjs";
|
|
8
8
|
import { FeedbackIcons } from "./FormItem/index.mjs";
|
|
9
9
|
import { ComponentBaseProps, Variant } from "../config-provider/context.mjs";
|
|
10
|
-
import * as
|
|
11
|
-
import { SlotsType } from "vue";
|
|
10
|
+
import * as vue283 from "vue";
|
|
11
|
+
import { CSSProperties, SlotsType } from "vue";
|
|
12
12
|
|
|
13
13
|
//#region src/form/Form.d.ts
|
|
14
14
|
type RequiredMark = boolean | 'optional' | ((labelNode: any, info: {
|
|
@@ -16,9 +16,18 @@ type RequiredMark = boolean | 'optional' | ((labelNode: any, info: {
|
|
|
16
16
|
}) => any);
|
|
17
17
|
type FormLayout = 'horizontal' | 'inline' | 'vertical';
|
|
18
18
|
type FormItemLayout = 'horizontal' | 'vertical';
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
interface FormSemanticClassNames {
|
|
20
|
+
root?: string;
|
|
21
|
+
label?: string;
|
|
22
|
+
content?: string;
|
|
23
|
+
}
|
|
24
|
+
interface FormSemanticStyles {
|
|
25
|
+
root?: CSSProperties;
|
|
26
|
+
label?: CSSProperties;
|
|
27
|
+
content?: CSSProperties;
|
|
28
|
+
}
|
|
29
|
+
type FormClassNamesType = SemanticClassNamesType<FormProps, FormSemanticClassNames>;
|
|
30
|
+
type FormStylesType = SemanticStylesType<FormProps, FormSemanticStyles>;
|
|
22
31
|
interface FormProps extends ComponentBaseProps {
|
|
23
32
|
classes?: FormClassNamesType;
|
|
24
33
|
styles?: FormStylesType;
|
|
@@ -84,8 +93,8 @@ interface FormInstance {
|
|
|
84
93
|
focusField: (fieldName: NamePath) => void;
|
|
85
94
|
getFieldInstance: (name: NamePath) => any;
|
|
86
95
|
}
|
|
87
|
-
declare const InternalForm:
|
|
96
|
+
declare const InternalForm: vue283.DefineSetupFnComponent<FormProps, FormEmits, SlotsType<FormSlots>, FormProps & {
|
|
88
97
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
89
|
-
},
|
|
98
|
+
}, vue283.PublicProps>;
|
|
90
99
|
//#endregion
|
|
91
100
|
export { FormEmits, FormInstance, FormItemLayout, FormProps, FormSlots, InternalForm, RequiredMark };
|
|
@@ -3,7 +3,7 @@ import { FormItemLayout } from "../Form.mjs";
|
|
|
3
3
|
import { FormItemInputProps } from "../FormItemInput.mjs";
|
|
4
4
|
import { FormItemLabelProps, LabelTooltipType } from "../FormItemLabel.mjs";
|
|
5
5
|
import { ComponentBaseProps } from "../../config-provider/context.mjs";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue281 from "vue";
|
|
7
7
|
import { SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/form/FormItem/index.d.ts
|
|
@@ -41,7 +41,7 @@ interface FormItemEmits {
|
|
|
41
41
|
interface FormItemSlots {
|
|
42
42
|
default: () => any;
|
|
43
43
|
}
|
|
44
|
-
declare const InternalFormItem:
|
|
44
|
+
declare const InternalFormItem: vue281.DefineSetupFnComponent<FormItemProps, FormItemEmits, SlotsType<FormItemSlots>, BaseFormItemProps & ComponentBaseProps & Omit<FormItemLabelProps, "requiredMark"> & FormItemInputProps & {
|
|
45
45
|
noStyle?: boolean;
|
|
46
46
|
id?: string;
|
|
47
47
|
hasFeedback?: boolean | {
|
|
@@ -55,6 +55,6 @@ declare const InternalFormItem: vue274.DefineSetupFnComponent<FormItemProps, For
|
|
|
55
55
|
layout?: FormItemLayout;
|
|
56
56
|
} & {
|
|
57
57
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
58
|
-
},
|
|
58
|
+
}, vue281.PublicProps>;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { FeedbackIcons, InternalFormItem, ValidateStatus };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useComponentBaseConfig } from "../../config-provider/context.mjs";
|
|
2
|
-
import { checkRenderNode } from "../../_util/vueNode.mjs";
|
|
3
2
|
import useCSSVarCls_default from "../../config-provider/hooks/useCSSVarCls.mjs";
|
|
3
|
+
import { checkRenderNode } from "../../_util/vueNode.mjs";
|
|
4
4
|
import { useFormContext, useFormItemProvider, useNoStyleItemContext } from "../context.mjs";
|
|
5
5
|
import { getFieldId, initialValueFormat, toArray } from "../util.mjs";
|
|
6
6
|
import style_default from "../style/index.mjs";
|
package/dist/grid/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Breakpoint } from "../_util/responsiveObserver.mjs";
|
|
2
2
|
import { Col, ColProps, ColSize } from "./col.mjs";
|
|
3
3
|
import { Row, RowProps } from "./row.mjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue7 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/grid/index.d.ts
|
|
7
|
-
declare function useBreakpoint():
|
|
7
|
+
declare function useBreakpoint(): vue7.Ref<{
|
|
8
8
|
xxl?: boolean | undefined;
|
|
9
9
|
xl?: boolean | undefined;
|
|
10
10
|
lg?: boolean | undefined;
|
package/dist/grid/row.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Breakpoint } from "../_util/responsiveObserver.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue9 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/grid/row.d.ts
|
|
5
5
|
declare const _RowAligns: readonly ["top", "middle", "bottom", "stretch"];
|
|
@@ -16,6 +16,6 @@ interface RowProps {
|
|
|
16
16
|
prefixCls?: string;
|
|
17
17
|
wrap?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare const Row:
|
|
19
|
+
declare const Row: vue9.DefineSetupFnComponent<RowProps, {}, {}, RowProps & {}, vue9.PublicProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Row, RowProps };
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { MaskType } from "../_util/hooks/useMergedMask.mjs";
|
|
2
2
|
import "../_util/hooks/index.mjs";
|
|
3
3
|
import { DeprecatedPreviewConfig, ImageClassNamesType, ImageStylesType } from "./index.mjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue350 from "vue";
|
|
5
5
|
import { PreviewGroupProps } from "@v-c/image";
|
|
6
6
|
|
|
7
7
|
//#region src/image/PreviewGroup.d.ts
|
|
8
|
-
|
|
9
8
|
type OriginPreviewConfig = NonNullable<Exclude<PreviewGroupProps['preview'], boolean>>;
|
|
10
9
|
type GroupPreviewConfig = OriginPreviewConfig & DeprecatedPreviewConfig & {
|
|
11
|
-
/** @deprecated Use `onOpenChange` instead */
|
|
12
|
-
onVisibleChange?: (visible: boolean, prevVisible: boolean, current: number) => void;
|
|
10
|
+
/** @deprecated Use `onOpenChange` instead */onVisibleChange?: (visible: boolean, prevVisible: boolean, current: number) => void;
|
|
13
11
|
mask?: MaskType;
|
|
14
12
|
};
|
|
15
13
|
interface PreviewGroupProps$1 extends Omit<PreviewGroupProps, 'preview' | 'styles'> {
|
|
@@ -17,6 +15,6 @@ interface PreviewGroupProps$1 extends Omit<PreviewGroupProps, 'preview' | 'style
|
|
|
17
15
|
classes?: ImageClassNamesType;
|
|
18
16
|
styles?: ImageStylesType;
|
|
19
17
|
}
|
|
20
|
-
declare const InternalPreviewGroup:
|
|
18
|
+
declare const InternalPreviewGroup: vue350.DefineSetupFnComponent<PreviewGroupProps$1, {}, {}, PreviewGroupProps$1 & {}, vue350.PublicProps>;
|
|
21
19
|
//#endregion
|
|
22
20
|
export { InternalPreviewGroup, PreviewGroupProps$1 as PreviewGroupProps };
|
package/dist/image/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { MaskType } from "../_util/hooks/useMergedMask.mjs";
|
|
2
2
|
import { VueNode } from "../_util/type.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
|
|
4
4
|
import "../_util/hooks/index.mjs";
|
|
5
5
|
import { InternalPreviewGroup, PreviewGroupProps as PreviewGroupProps$1 } from "./PreviewGroup.mjs";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue93 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { ImageProps } from "@v-c/image";
|
|
9
9
|
|
|
@@ -27,18 +27,38 @@ interface DeprecatedPreviewConfig {
|
|
|
27
27
|
/** @deprecated Use `actionsRender` instead */
|
|
28
28
|
toolbarRender?: OriginPreviewConfig['actionsRender'];
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
interface ImageSemanticClassNames {
|
|
31
|
+
root?: string;
|
|
32
|
+
image?: string;
|
|
33
|
+
cover?: string;
|
|
34
|
+
}
|
|
35
|
+
interface ImageSemanticStyles {
|
|
36
|
+
root?: CSSProperties;
|
|
37
|
+
image?: CSSProperties;
|
|
38
|
+
cover?: CSSProperties;
|
|
39
|
+
}
|
|
40
|
+
interface ImagePopupSemanticClassNames {
|
|
41
|
+
root?: string;
|
|
42
|
+
mask?: string;
|
|
43
|
+
body?: string;
|
|
44
|
+
footer?: string;
|
|
45
|
+
actions?: string;
|
|
46
|
+
}
|
|
47
|
+
interface ImagePopupSemanticStyles {
|
|
48
|
+
root?: CSSProperties;
|
|
49
|
+
mask?: CSSProperties;
|
|
50
|
+
body?: CSSProperties;
|
|
51
|
+
footer?: CSSProperties;
|
|
52
|
+
actions?: CSSProperties;
|
|
53
|
+
}
|
|
54
|
+
type ImageClassNamesType = SemanticClassNamesType<ImageProps$1, ImageSemanticClassNames, {
|
|
55
|
+
popup?: ImagePopupSemanticClassNames;
|
|
34
56
|
}>;
|
|
35
|
-
type ImageStylesType = SemanticStylesType<ImageProps$1,
|
|
36
|
-
popup?:
|
|
57
|
+
type ImageStylesType = SemanticStylesType<ImageProps$1, ImageSemanticStyles, {
|
|
58
|
+
popup?: ImagePopupSemanticStyles;
|
|
37
59
|
}>;
|
|
38
60
|
type PreviewConfig = OriginPreviewConfig & DeprecatedPreviewConfig & {
|
|
39
|
-
/** @deprecated Use `onOpenChange` instead */
|
|
40
|
-
onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
|
|
41
|
-
/** @deprecated Use `classNames.cover` instead */
|
|
61
|
+
/** @deprecated Use `onOpenChange` instead */onVisibleChange?: (visible: boolean, prevVisible: boolean) => void; /** @deprecated Use `classNames.cover` instead */
|
|
42
62
|
maskClassName?: string;
|
|
43
63
|
mask?: MaskType | VueNode;
|
|
44
64
|
};
|
|
@@ -62,13 +82,13 @@ interface ImageSlots {
|
|
|
62
82
|
cover: () => any;
|
|
63
83
|
actionsRender: () => OriginPreviewConfig['actionsRender'];
|
|
64
84
|
}
|
|
65
|
-
declare const Image:
|
|
85
|
+
declare const Image: vue93.DefineSetupFnComponent<ImageProps$1, ImageEmits, SlotsType<ImageSlots>, ImageProps$1 & {
|
|
66
86
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
67
|
-
},
|
|
87
|
+
}, vue93.PublicProps>;
|
|
68
88
|
declare const _default_1: typeof Image & {
|
|
69
89
|
PreviewGroup: typeof InternalPreviewGroup;
|
|
70
90
|
};
|
|
71
|
-
declare const ImagePreviewGroup:
|
|
91
|
+
declare const ImagePreviewGroup: vue93.DefineSetupFnComponent<PreviewGroupProps$1, {}, {}, PreviewGroupProps$1 & {}, vue93.PublicProps>;
|
|
72
92
|
type ImagePreviewGroupProps = PreviewGroupProps$1;
|
|
73
93
|
//#endregion
|
|
74
94
|
export { DeprecatedPreviewConfig, ImageClassNamesType, ImageEmits, ImagePreviewGroup, ImagePreviewGroupProps, ImageProps$1 as ImageProps, ImageSlots, ImageStylesType, PreviewConfig, _default_1 };
|
package/dist/index.d.mts
CHANGED
|
@@ -39,7 +39,7 @@ import { TourEmits, TourLocale, TourProps, TourSlots, TourStylesType } from "./t
|
|
|
39
39
|
import { Tour, TourStepItem } from "./tour/index.mjs";
|
|
40
40
|
import { TransferOperationProps } from "./transfer/Actions.mjs";
|
|
41
41
|
import { TransferSearchEmits, TransferSearchProps, TransferSearchSlots } from "./transfer/search.mjs";
|
|
42
|
-
import { KeyWise, KeyWiseTransferItem, ListStyle, PaginationType, RenderResult, RenderResultObject, SelectAllLabel, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferProps, TransferRender, TransferSearchOption,
|
|
42
|
+
import { KeyWise, KeyWiseTransferItem, ListStyle, PaginationType, RenderResult, RenderResultObject, SelectAllLabel, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferProps, TransferRender, TransferSearchOption, TransferSlots, TransferStylesType } from "./transfer/interface.mjs";
|
|
43
43
|
import { InternalTransfer } from "./transfer/index.mjs";
|
|
44
44
|
import { Progress, ProgressProps } from "./progress/progress.mjs";
|
|
45
45
|
import { UploadChangeParam, UploadEmits, UploadFile, UploadProps, UploadSlots } from "./upload/interface.mjs";
|
|
@@ -132,8 +132,7 @@ import { Rate, RateEmits, RateProps } from "./rate/index.mjs";
|
|
|
132
132
|
import { SplitterEmits, SplitterProps, SplitterSlots } from "./splitter/interface.mjs";
|
|
133
133
|
import { Splitter } from "./splitter/Splitter.mjs";
|
|
134
134
|
import { SplitterPanel } from "./splitter/index.mjs";
|
|
135
|
-
import {
|
|
136
|
-
import { Timeline, TimelineProps } from "./timeline/Timeline.mjs";
|
|
135
|
+
import { Timeline, TimelineItemType, TimelineProps } from "./timeline/Timeline.mjs";
|
|
137
136
|
import { TextProps } from "./typography/Text.mjs";
|
|
138
137
|
import { LinkProps } from "./typography/Link.mjs";
|
|
139
138
|
import { TitleProps } from "./typography/Title.mjs";
|
|
@@ -150,4 +149,4 @@ import { Plugin } from "vue";
|
|
|
150
149
|
//#region src/index.d.ts
|
|
151
150
|
declare const _default$11: Plugin;
|
|
152
151
|
//#endregion
|
|
153
|
-
export { Affix, AffixProps, Alert, AlertEmits, AlertProps, AlertSlots, Anchor, AnchorLinkProps, AnchorProps, AntTreeNode, AntTreeNodeCheckedEvent, AntTreeNodeExpandedEvent, AntTreeNodeMouseEvent, AntTreeNodeProps, AntTreeNodeSelectedEvent, AntdTreeNodeAttribute, _default as App, AppProps, AutoComplete, AutoCompleteClassNamesType, AutoCompleteEmits, Option as AutoCompleteOption, AutoCompleteProps, AutoCompleteSlots, AutoCompleteStylesType, Avatar, AvatarEmits, AvatarGroup, AvatarGroupProps, AvatarProps, AvatarSlots, BackTopWithInstall as BackTop, Badge, BadgeProps, RibbonProps as BadgeRibbonProps, BadgeSlots, BasicDataNode, Breadcrumb, BreadcrumbEmits, BreadcrumbItemProps, ItemType as BreadcrumbItemType, BreadcrumbProps, BreadcrumbSlots, Button, ButtonColorType, ButtonHTMLType, ButtonProps, ButtonShape, SizeType as ButtonSize, ButtonType, ButtonVariantType, _default$1 as Calendar, CalendarMode, CalendarProps, Card, CardEmits, CardGrid, CardGridProps, CardMeta, CardMetaProps, CardProps, CardSize, CardSlots, CardTabListType, Carousel, CarouselEmits, CarouselProps, CarouselRef, CarouselSlots, Cascader, CascaderEmits, CascaderPanel, CascaderPanelEmits, CascaderPanelProps, CascaderPanelSlots, CascaderProps, CascaderSlots, CheckableTag, CheckableTagGroup, CheckableTagProps, InternalCheckbox as Checkbox, CheckboxEmits, CheckboxGroup, CheckboxGroupEmits, CheckboxGroupProps, CheckboxGroupSlots, CheckboxOptionType, CheckboxProps, CheckboxSlots, Col, ColProps, ColSize, Collapse, CollapseProps, AggregationColor as Color, ColorPicker, ColorPickerEmits, ColorPickerProps, ColorPickerSlots, ColorValueType, ConfigProvider, ConfigProviderProps, DataSourceItemObject, DataSourceItemType, DateMonthPicker, _default$2 as DatePicker, DatePickerEmits, DatePickerProps, DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItemType, DescriptionsProps, DescriptionsSlots, DirectoryTree, DirectoryTreeEmits, ExpandAction as DirectoryTreeExpandAction, DirectoryTreeProps, DirectoryTreeSlots, Divider, DividerProps, Drawer, DrawerEmits, DrawerProps, DrawerResizableConfig, DrawerSlots, Dropdown, DropdownArrowOptions, DropdownEmits, DropdownProps, DropdownSlots, _default$3 as Empty, EmptyProps, Flex, FlexProps, FloatButton, FloatButtonGroup, FloatButtonGroupProps, FloatButtonProps, FloatButtonRef, InternalForm as Form, FormEmits, FormInstance, InternalFormItem as FormItem, FormProps, FormSlots, _default_1 as Image, ImageEmits, PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, ImagePreviewGroupProps, ImageProps, ImageSlots, CompoundedInput as Input, InputEmits, InputGroup, InputGroupProps, InputNumber, InputNumberEmits, InputNumberProps, VcInputNumberRef as InputNumberRef, InputNumberStepContext, ValueType as InputNumberValueType, InputOTP, OTPProps as InputOTPProps, InputPassword, PasswordProps as InputPasswordProps, InputProps, InputRef, InputSearch, SearchProps as InputSearchProps, InputSlots, KeyWise, KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, BasicProps as LayoutProps, LayoutSider, ListStyle, Masonry, MasonryEmits, MasonryProps, MasonryRef, MasonrySlots, MentionPlacement, Mentions, MentionsClassNamesType, MentionsEmits, Option$1 as MentionsOption, MentionsOptionProps, MentionsProps, MentionsRef, MentionsSlots, MentionsStylesType, _default$4 as Menu, MenuDivider, MenuEmits, MenuItem, MenuItemGroupProps, MenuItemProps, MenuItemType, MenuProps, MenuRef, MenuSlots, _default$5 as Modal, ModalEmits, ModalProps, ModalSlots, MonthPickerProps, Pagination, PaginationClassNamesType, PaginationConfig, PaginationEmits, PaginationLocale, PaginationPosition, PaginationProps, PaginationSlots, PaginationStylesType, Popconfirm, PopconfirmEmits, PopconfirmProps, PopconfirmSlots, Popover, PopoverProps, Progress, ProgressProps, QRCode, QRCodeEmits, QRCodeProps, InternalRadio as Radio, RadioButton, RadioChangeEvent, RadioEmits, RadioGroup, RadioGroupEmits, RadioGroupOptionType, RadioGroupProps, RadioGroupSlots, RadioOptionType, RadioProps, RadioSlots, RangePickerProps, Rate, RateEmits, RateProps, RenderResult, RenderResultObject, _default$6 as Result, ResultProps, Row, RowProps, Segmented, SegmentedEmits, SegmentedOptions, SegmentedProps, Select, SelectAllLabel, SelectEmits, SelectOptGroup, SelectOption, SelectProps, SelectSlots, SelectValue, type SizeType, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, SkeletonProps, Slider, SliderEmits, SliderProps, Space, SpaceAddon, SpaceCompact, SpaceProps, SpaceSize, SpaceSlots, _default$7 as Spin, SpinProps, SpinSlots, Splitter, SplitterEmits, SplitterPanel, SplitterProps, SplitterSlots, _default$8 as Statistic, StatisticProps, StatisticTimer, StatisticTimerProps, Steps, StepsProps, StyleProvider, SubMenu, SubMenuProps, Switch, SwitchEmits, SwitchProps, SwitchSize, SwitchSlots, TabPane, TabPaneProps, InternalTable as Table, TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, ColumnType as TableColumnType, ColumnsType as TableColumnsType, DataIndex as TableDataIndex, TableEmits, TableLocale, TablePaginationConfig, TableProps, TableRowSelection, TableSlots, SortOrder as TableSortOrder, SorterResult as TableSorterResult, TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, TabsEmits, TabsProps, TabsRef, TabsSlots, Tag, TagProps, TagSlots, InternalTextArea as TextArea, TextAreaProps, TextAreaRef, _default$9 as TimePicker, TimePickerLocale, TimePickerProps, TimeRangePicker, TimeRangePickerProps, Timeline, TimelineItemProps, TimelineProps, _default$10 as Tooltip, TooltipAlignConfig, TooltipEmits, TooltipPlacement, TooltipProps, TooltipRef, TooltipSlots, Tour, TourEmits, TourLocale, TourProps, TourSlots, TourStepItem, TourStylesType, InternalTransfer as Transfer, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferOperationProps, PaginationType as TransferPaginationType, TransferProps, TransferRender, TransferSearchEmits, TransferSearchOption, TransferSearchProps, TransferSearchSlots,
|
|
152
|
+
export { Affix, AffixProps, Alert, AlertEmits, AlertProps, AlertSlots, Anchor, AnchorLinkProps, AnchorProps, AntTreeNode, AntTreeNodeCheckedEvent, AntTreeNodeExpandedEvent, AntTreeNodeMouseEvent, AntTreeNodeProps, AntTreeNodeSelectedEvent, AntdTreeNodeAttribute, _default as App, AppProps, AutoComplete, AutoCompleteClassNamesType, AutoCompleteEmits, Option as AutoCompleteOption, AutoCompleteProps, AutoCompleteSlots, AutoCompleteStylesType, Avatar, AvatarEmits, AvatarGroup, AvatarGroupProps, AvatarProps, AvatarSlots, BackTopWithInstall as BackTop, Badge, BadgeProps, RibbonProps as BadgeRibbonProps, BadgeSlots, BasicDataNode, Breadcrumb, BreadcrumbEmits, BreadcrumbItemProps, ItemType as BreadcrumbItemType, BreadcrumbProps, BreadcrumbSlots, Button, ButtonColorType, ButtonHTMLType, ButtonProps, ButtonShape, SizeType as ButtonSize, ButtonType, ButtonVariantType, _default$1 as Calendar, CalendarMode, CalendarProps, Card, CardEmits, CardGrid, CardGridProps, CardMeta, CardMetaProps, CardProps, CardSize, CardSlots, CardTabListType, Carousel, CarouselEmits, CarouselProps, CarouselRef, CarouselSlots, Cascader, CascaderEmits, CascaderPanel, CascaderPanelEmits, CascaderPanelProps, CascaderPanelSlots, CascaderProps, CascaderSlots, CheckableTag, CheckableTagGroup, CheckableTagProps, InternalCheckbox as Checkbox, CheckboxEmits, CheckboxGroup, CheckboxGroupEmits, CheckboxGroupProps, CheckboxGroupSlots, CheckboxOptionType, CheckboxProps, CheckboxSlots, Col, ColProps, ColSize, Collapse, CollapseProps, AggregationColor as Color, ColorPicker, ColorPickerEmits, ColorPickerProps, ColorPickerSlots, ColorValueType, ConfigProvider, ConfigProviderProps, DataSourceItemObject, DataSourceItemType, DateMonthPicker, _default$2 as DatePicker, DatePickerEmits, DatePickerProps, DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItemType, DescriptionsProps, DescriptionsSlots, DirectoryTree, DirectoryTreeEmits, ExpandAction as DirectoryTreeExpandAction, DirectoryTreeProps, DirectoryTreeSlots, Divider, DividerProps, Drawer, DrawerEmits, DrawerProps, DrawerResizableConfig, DrawerSlots, Dropdown, DropdownArrowOptions, DropdownEmits, DropdownProps, DropdownSlots, _default$3 as Empty, EmptyProps, Flex, FlexProps, FloatButton, FloatButtonGroup, FloatButtonGroupProps, FloatButtonProps, FloatButtonRef, InternalForm as Form, FormEmits, FormInstance, InternalFormItem as FormItem, FormProps, FormSlots, _default_1 as Image, ImageEmits, PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, ImagePreviewGroupProps, ImageProps, ImageSlots, CompoundedInput as Input, InputEmits, InputGroup, InputGroupProps, InputNumber, InputNumberEmits, InputNumberProps, VcInputNumberRef as InputNumberRef, InputNumberStepContext, ValueType as InputNumberValueType, InputOTP, OTPProps as InputOTPProps, InputPassword, PasswordProps as InputPasswordProps, InputProps, InputRef, InputSearch, SearchProps as InputSearchProps, InputSlots, KeyWise, KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, BasicProps as LayoutProps, LayoutSider, ListStyle, Masonry, MasonryEmits, MasonryProps, MasonryRef, MasonrySlots, MentionPlacement, Mentions, MentionsClassNamesType, MentionsEmits, Option$1 as MentionsOption, MentionsOptionProps, MentionsProps, MentionsRef, MentionsSlots, MentionsStylesType, _default$4 as Menu, MenuDivider, MenuEmits, MenuItem, MenuItemGroupProps, MenuItemProps, MenuItemType, MenuProps, MenuRef, MenuSlots, _default$5 as Modal, ModalEmits, ModalProps, ModalSlots, MonthPickerProps, Pagination, PaginationClassNamesType, PaginationConfig, PaginationEmits, PaginationLocale, PaginationPosition, PaginationProps, PaginationSlots, PaginationStylesType, Popconfirm, PopconfirmEmits, PopconfirmProps, PopconfirmSlots, Popover, PopoverProps, Progress, ProgressProps, QRCode, QRCodeEmits, QRCodeProps, InternalRadio as Radio, RadioButton, RadioChangeEvent, RadioEmits, RadioGroup, RadioGroupEmits, RadioGroupOptionType, RadioGroupProps, RadioGroupSlots, RadioOptionType, RadioProps, RadioSlots, RangePickerProps, Rate, RateEmits, RateProps, RenderResult, RenderResultObject, _default$6 as Result, ResultProps, Row, RowProps, Segmented, SegmentedEmits, SegmentedOptions, SegmentedProps, Select, SelectAllLabel, SelectEmits, SelectOptGroup, SelectOption, SelectProps, SelectSlots, SelectValue, type SizeType, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, SkeletonProps, Slider, SliderEmits, SliderProps, Space, SpaceAddon, SpaceCompact, SpaceProps, SpaceSize, SpaceSlots, _default$7 as Spin, SpinProps, SpinSlots, Splitter, SplitterEmits, SplitterPanel, SplitterProps, SplitterSlots, _default$8 as Statistic, StatisticProps, StatisticTimer, StatisticTimerProps, Steps, StepsProps, StyleProvider, SubMenu, SubMenuProps, Switch, SwitchEmits, SwitchProps, SwitchSize, SwitchSlots, TabPane, TabPaneProps, InternalTable as Table, TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, ColumnType as TableColumnType, ColumnsType as TableColumnsType, DataIndex as TableDataIndex, TableEmits, TableLocale, TablePaginationConfig, TableProps, TableRowSelection, TableSlots, SortOrder as TableSortOrder, SorterResult as TableSorterResult, TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, TabsEmits, TabsProps, TabsRef, TabsSlots, Tag, TagProps, TagSlots, InternalTextArea as TextArea, TextAreaProps, TextAreaRef, _default$9 as TimePicker, TimePickerLocale, TimePickerProps, TimeRangePicker, TimeRangePickerProps, Timeline, TimelineItemType as TimelineItemProps, TimelineProps, _default$10 as Tooltip, TooltipAlignConfig, TooltipEmits, TooltipPlacement, TooltipProps, TooltipRef, TooltipSlots, Tour, TourEmits, TourLocale, TourProps, TourSlots, TourStepItem, TourStylesType, InternalTransfer as Transfer, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferOperationProps, PaginationType as TransferPaginationType, TransferProps, TransferRender, TransferSearchEmits, TransferSearchOption, TransferSearchProps, TransferSearchSlots, TransferSlots, TransferStylesType, Tree, DataNode as TreeDataNode, TreeEmits, TreeProps, TreeSelect, TreeSelectEmits, TreeSelectNode, TreeSelectProps, TreeSelectSlots, TreeSlots, Typography, BlockProps as TypographyBaseProps, TypographyLink, LinkProps as TypographyLinkProps, TypographyParagraph, ParagraphProps as TypographyParagraphProps, TypographyText, TextProps as TypographyTextProps, TypographyTitle, TitleProps as TypographyTitleProps, UniqueProvider, Upload, UploadChangeParam, UploadDragger, DraggerProps as UploadDraggerProps, UploadEmits, UploadFile, UploadProps, UploadSlots, Watermark, WatermarkProps, WeekPickerProps, _default$11 as default, staticMethods as message, staticMethods$1 as notification, _default$12 as theme, useBreakpoint, useLayoutSider, useMessage, useModal, useNotification, useResponsive, _version2 as version };
|
package/dist/input/Input.d.mts
CHANGED
|
@@ -4,13 +4,26 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
4
4
|
import "../_util/hooks/index.mjs";
|
|
5
5
|
import { InputStatus } from "../_util/statusUtils.mjs";
|
|
6
6
|
import { ComponentBaseProps, Variant } from "../config-provider/context.mjs";
|
|
7
|
-
import { SlotsType } from "vue";
|
|
7
|
+
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { InputProps, InputRef } from "@v-c/input";
|
|
9
9
|
|
|
10
10
|
//#region src/input/Input.d.ts
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
interface InputSemanticClassNames {
|
|
12
|
+
root?: string;
|
|
13
|
+
prefix?: string;
|
|
14
|
+
suffix?: string;
|
|
15
|
+
input?: string;
|
|
16
|
+
count?: string;
|
|
17
|
+
}
|
|
18
|
+
interface InputSemanticStyles {
|
|
19
|
+
root?: CSSProperties;
|
|
20
|
+
prefix?: CSSProperties;
|
|
21
|
+
suffix?: CSSProperties;
|
|
22
|
+
input?: CSSProperties;
|
|
23
|
+
count?: CSSProperties;
|
|
24
|
+
}
|
|
25
|
+
type InputClassNamesType = SemanticClassNamesType<InputProps$1, InputSemanticClassNames>;
|
|
26
|
+
type InputStylesType = SemanticStylesType<InputProps$1, InputSemanticStyles>;
|
|
14
27
|
type InputRef$1 = InputRef;
|
|
15
28
|
interface BaseVcInputProps {
|
|
16
29
|
value?: any;
|
package/dist/input/Input.mjs
CHANGED
|
@@ -143,7 +143,7 @@ const InternalInput = /* @__PURE__ */ defineComponent((props, { slots, expose, e
|
|
|
143
143
|
...style
|
|
144
144
|
};
|
|
145
145
|
const variantClassName = clsx({ [`${prefixCls.value}-${mergedVariant.value}`]: enableVariantCls.value }, getStatusClassNames(prefixCls.value, mergedStatus.value));
|
|
146
|
-
const classNames
|
|
146
|
+
const classNames = {
|
|
147
147
|
...mergedClassNames.value,
|
|
148
148
|
input: clsx({
|
|
149
149
|
[`${prefixCls.value}-sm`]: mergedSize.value === "small",
|
|
@@ -171,7 +171,7 @@ const InternalInput = /* @__PURE__ */ defineComponent((props, { slots, expose, e
|
|
|
171
171
|
"prefixCls": prefixCls.value,
|
|
172
172
|
"class": classesValue,
|
|
173
173
|
"style": mergedStyle,
|
|
174
|
-
"classNames": classNames
|
|
174
|
+
"classNames": classNames,
|
|
175
175
|
"styles": mergedStyles.value,
|
|
176
176
|
"disabled": mergedDisabled.value,
|
|
177
177
|
"allowClear": mergedAllowClear.value,
|
|
@@ -4,12 +4,21 @@ import { SemanticClassNamesType, SemanticStylesType } from "../../_util/hooks/us
|
|
|
4
4
|
import "../../_util/hooks/index.mjs";
|
|
5
5
|
import { InputStatus } from "../../_util/statusUtils.mjs";
|
|
6
6
|
import { ComponentBaseProps, Variant } from "../../config-provider/context.mjs";
|
|
7
|
-
import { HTMLAttributes, SlotsType } from "vue";
|
|
7
|
+
import { CSSProperties, HTMLAttributes, SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/input/OTP/index.d.ts
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
interface OTPSemanticClassNames {
|
|
11
|
+
root?: string;
|
|
12
|
+
input?: string;
|
|
13
|
+
separator?: string;
|
|
14
|
+
}
|
|
15
|
+
interface OTPSemanticStyles {
|
|
16
|
+
root?: CSSProperties;
|
|
17
|
+
input?: CSSProperties;
|
|
18
|
+
separator?: CSSProperties;
|
|
19
|
+
}
|
|
20
|
+
type OTPClassNamesType = SemanticClassNamesType<OTPProps, OTPSemanticClassNames>;
|
|
21
|
+
type OTPStylesType = SemanticStylesType<OTPProps, OTPSemanticStyles>;
|
|
13
22
|
interface OTPProps extends ComponentBaseProps, Omit<HTMLAttributes, 'onChange' | 'onInput'> {
|
|
14
23
|
length?: number;
|
|
15
24
|
variant?: Variant;
|
package/dist/input/Password.mjs
CHANGED
|
@@ -33,10 +33,10 @@ const InternalPassword = /* @__PURE__ */ defineComponent((props, { slots, attrs,
|
|
|
33
33
|
if (typeof visibilityToggle.value === "object") visibilityToggle.value.onVisibleChange?.(next);
|
|
34
34
|
};
|
|
35
35
|
const action = computed(() => props.action ?? "click");
|
|
36
|
-
const iconRender = (visible
|
|
37
|
-
const _iconRender = getSlotPropsFnRun(slots, props, "iconRender", true, { visible
|
|
36
|
+
const iconRender = (visible) => {
|
|
37
|
+
const _iconRender = getSlotPropsFnRun(slots, props, "iconRender", true, { visible });
|
|
38
38
|
if (_iconRender) return _iconRender;
|
|
39
|
-
return defaultIconRender(visible
|
|
39
|
+
return defaultIconRender(visible);
|
|
40
40
|
};
|
|
41
41
|
const getIcon = () => {
|
|
42
42
|
if (!visibilityToggle.value) return null;
|
package/dist/input/Search.d.mts
CHANGED
|
@@ -1,20 +1,32 @@
|
|
|
1
1
|
import { SizeType } from "../config-provider/SizeContext.mjs";
|
|
2
2
|
import { VueNode } from "../_util/type.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.mjs";
|
|
4
4
|
import "../_util/hooks/index.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import "../button/index.mjs";
|
|
5
|
+
import { ButtonSemanticClassNames, ButtonSemanticStyles } from "../button/Button.mjs";
|
|
7
6
|
import { InputEmits, InputProps } from "./Input.mjs";
|
|
8
7
|
import { ComponentBaseProps } from "../config-provider/context.mjs";
|
|
9
|
-
import { SlotsType } from "vue";
|
|
8
|
+
import { CSSProperties, SlotsType } from "vue";
|
|
10
9
|
|
|
11
10
|
//#region src/input/Search.d.ts
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
interface InputSearchSemanticClassNames {
|
|
12
|
+
root?: string;
|
|
13
|
+
input?: string;
|
|
14
|
+
prefix?: string;
|
|
15
|
+
suffix?: string;
|
|
16
|
+
count?: string;
|
|
17
|
+
}
|
|
18
|
+
interface InputSearchSemanticStyles {
|
|
19
|
+
root?: CSSProperties;
|
|
20
|
+
input?: CSSProperties;
|
|
21
|
+
prefix?: CSSProperties;
|
|
22
|
+
suffix?: CSSProperties;
|
|
23
|
+
count?: CSSProperties;
|
|
24
|
+
}
|
|
25
|
+
type InputSearchClassNamesType = SemanticClassNamesType<SearchProps, InputSearchSemanticClassNames> & {
|
|
26
|
+
button?: ButtonSemanticClassNames;
|
|
15
27
|
};
|
|
16
|
-
type InputSearchStylesType = SemanticStylesType<SearchProps,
|
|
17
|
-
button?:
|
|
28
|
+
type InputSearchStylesType = SemanticStylesType<SearchProps, InputSearchSemanticStyles> & {
|
|
29
|
+
button?: ButtonSemanticStyles;
|
|
18
30
|
};
|
|
19
31
|
interface SearchProps extends Omit<InputProps, 'class' | 'style' | 'rootClass'>, ComponentBaseProps {
|
|
20
32
|
inputPrefixCls?: string;
|
|
@@ -3,15 +3,24 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.mjs";
|
|
4
4
|
import { InputStatus } from "../_util/statusUtils.mjs";
|
|
5
5
|
import { ComponentBaseProps, Variant } from "../config-provider/context.mjs";
|
|
6
|
-
import * as
|
|
7
|
-
import { SlotsType } from "vue";
|
|
6
|
+
import * as vue251 from "vue";
|
|
7
|
+
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { InputProps } from "@v-c/input";
|
|
9
9
|
import { TextAreaProps } from "@v-c/textarea";
|
|
10
10
|
|
|
11
11
|
//#region src/input/TextArea.d.ts
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
interface TextAreaSemanticClassNames {
|
|
13
|
+
root?: string;
|
|
14
|
+
textarea?: string;
|
|
15
|
+
count?: string;
|
|
16
|
+
}
|
|
17
|
+
interface TextAreaSemanticStyles {
|
|
18
|
+
root?: CSSProperties;
|
|
19
|
+
textarea?: CSSProperties;
|
|
20
|
+
count?: CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
type TextAreaClassNamesType = SemanticClassNamesType<TextAreaProps$1, TextAreaSemanticClassNames>;
|
|
23
|
+
type TextAreaStylesType = SemanticStylesType<TextAreaProps$1, TextAreaSemanticStyles>;
|
|
15
24
|
interface TextAreaRef {
|
|
16
25
|
resizableTextArea?: any;
|
|
17
26
|
focus: (...args: any[]) => void;
|
|
@@ -48,8 +57,8 @@ interface TextAreaEmits {
|
|
|
48
57
|
interface TextAreaSlots {
|
|
49
58
|
default?: () => any;
|
|
50
59
|
}
|
|
51
|
-
declare const InternalTextArea:
|
|
60
|
+
declare const InternalTextArea: vue251.DefineSetupFnComponent<TextAreaProps$1, TextAreaEmits, SlotsType<TextAreaSlots>, TextAreaProps$1 & {
|
|
52
61
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
53
|
-
},
|
|
62
|
+
}, vue251.PublicProps>;
|
|
54
63
|
//#endregion
|
|
55
64
|
export { InternalTextArea, TextAreaProps$1 as TextAreaProps, TextAreaRef };
|
package/dist/input/TextArea.mjs
CHANGED
|
@@ -114,7 +114,7 @@ const InternalTextArea = /* @__PURE__ */ defineComponent((props, { attrs, emit,
|
|
|
114
114
|
...contextStyle.value,
|
|
115
115
|
...style
|
|
116
116
|
};
|
|
117
|
-
const classNames
|
|
117
|
+
const classNames = {
|
|
118
118
|
...mergedClassNames.value,
|
|
119
119
|
textarea: clsx({
|
|
120
120
|
[`${prefixCls.value}-sm`]: mergedSize.value === "small",
|
|
@@ -133,7 +133,7 @@ const InternalTextArea = /* @__PURE__ */ defineComponent((props, { attrs, emit,
|
|
|
133
133
|
"prefixCls": prefixCls.value,
|
|
134
134
|
"class": classesValue,
|
|
135
135
|
"style": mergedStyle,
|
|
136
|
-
"classNames": classNames
|
|
136
|
+
"classNames": classNames,
|
|
137
137
|
"styles": mergedStyles.value,
|
|
138
138
|
"disabled": mergedDisabled.value,
|
|
139
139
|
"allowClear": mergedAllowClear.value,
|
package/dist/input/index.d.mts
CHANGED
|
@@ -5,25 +5,25 @@ import { SearchEmits, SearchProps, SearchSlots } from "./Search.mjs";
|
|
|
5
5
|
import { InternalTextArea, TextAreaProps, TextAreaRef } from "./TextArea.mjs";
|
|
6
6
|
import { InputGroupProps } from "./Group.mjs";
|
|
7
7
|
import { PasswordEmits, PasswordProps, PasswordSlots } from "./Password.mjs";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue97 from "vue";
|
|
9
9
|
|
|
10
10
|
//#region src/input/index.d.ts
|
|
11
|
-
declare const CompoundedInput:
|
|
11
|
+
declare const CompoundedInput: vue97.DefineSetupFnComponent<InputProps, InputEmits, vue97.SlotsType<InputSlots>, InputProps & {
|
|
12
12
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
13
|
-
},
|
|
14
|
-
declare const InputGroup:
|
|
13
|
+
}, vue97.PublicProps>;
|
|
14
|
+
declare const InputGroup: vue97.DefineSetupFnComponent<InputGroupProps, EmptyEmit, vue97.SlotsType<{
|
|
15
15
|
default?: () => any;
|
|
16
16
|
}>, InputGroupProps & {
|
|
17
17
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
18
|
-
},
|
|
19
|
-
declare const InputOTP:
|
|
18
|
+
}, vue97.PublicProps>;
|
|
19
|
+
declare const InputOTP: vue97.DefineSetupFnComponent<OTPProps, OTPEmits, vue97.SlotsType<OPTSlots>, OTPProps & {
|
|
20
20
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
21
|
-
},
|
|
22
|
-
declare const InputPassword:
|
|
21
|
+
}, vue97.PublicProps>;
|
|
22
|
+
declare const InputPassword: vue97.DefineSetupFnComponent<PasswordProps, PasswordEmits, vue97.SlotsType<PasswordSlots>, PasswordProps & {
|
|
23
23
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
24
|
-
},
|
|
25
|
-
declare const InputSearch:
|
|
24
|
+
}, vue97.PublicProps>;
|
|
25
|
+
declare const InputSearch: vue97.DefineSetupFnComponent<SearchProps, SearchEmits, vue97.SlotsType<SearchSlots>, SearchProps & {
|
|
26
26
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
27
|
-
},
|
|
27
|
+
}, vue97.PublicProps>;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { CompoundedInput, InputGroup, InputOTP, InputPassword, InputSearch };
|
|
@@ -371,9 +371,12 @@ var style_default = genStyleHooks(["Input", "Component"], (token) => {
|
|
|
371
371
|
return [
|
|
372
372
|
genGroupStyle(inputToken),
|
|
373
373
|
genRangeStyle(inputToken),
|
|
374
|
-
genCompactItemStyle(inputToken
|
|
374
|
+
genCompactItemStyle(inputToken, {
|
|
375
|
+
focus: true,
|
|
376
|
+
focusElCls: `${inputToken.componentCls}-affix-wrapper-focused`
|
|
377
|
+
})
|
|
375
378
|
];
|
|
376
379
|
}, initComponentToken, { resetFont: false });
|
|
377
380
|
|
|
378
381
|
//#endregion
|
|
379
|
-
export { style_default as default, genBasicInputStyle, genInputSmallStyle, genPlaceholderStyle, useSharedStyle };
|
|
382
|
+
export { style_default as default, genBasicInputStyle, genInputLargeStyle, genInputSmallStyle, genPlaceholderStyle, useSharedStyle };
|
|
@@ -148,7 +148,8 @@ function genFilledStyle(token, extraStyles) {
|
|
|
148
148
|
...genBaseFilledStyle(token, {
|
|
149
149
|
bg: token.colorFillTertiary,
|
|
150
150
|
hoverBg: token.colorFillSecondary,
|
|
151
|
-
activeBorderColor: token.activeBorderColor
|
|
151
|
+
activeBorderColor: token.activeBorderColor,
|
|
152
|
+
inputColor: token.colorText
|
|
152
153
|
}),
|
|
153
154
|
[`&${token.componentCls}-disabled, &[disabled]`]: { ...genDisabledStyle(token) },
|
|
154
155
|
...genFilledStatusStyle(token, {
|