kui-vue 5.2.2 → 5.3.0
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/index.js +2 -2
- package/es/index.js +3385 -363
- package/es/locale/de.js +7 -1
- package/es/locale/el.js +7 -1
- package/es/locale/en.js +7 -1
- package/es/locale/fr.js +7 -1
- package/es/locale/it.js +7 -1
- package/es/locale/ja.js +7 -1
- package/es/locale/ko.js +7 -1
- package/es/locale/ru.js +7 -1
- package/es/locale/th.js +7 -1
- package/es/locale/uk.js +7 -1
- package/es/locale/vi.js +7 -1
- package/es/locale/zh-CN.js +7 -1
- package/es/locale/zh-TW.js +7 -1
- package/lib/index.js +2 -2
- package/lib/locale/de.js +2 -2
- package/lib/locale/el.js +2 -2
- package/lib/locale/en.js +2 -2
- package/lib/locale/fr.js +2 -2
- package/lib/locale/it.js +2 -2
- package/lib/locale/ja.js +2 -2
- package/lib/locale/ko.js +2 -2
- package/lib/locale/ru.js +2 -2
- package/lib/locale/th.js +2 -2
- package/lib/locale/uk.js +2 -2
- package/lib/locale/vi.js +2 -2
- package/lib/locale/zh-CN.js +2 -2
- package/lib/locale/zh-TW.js +2 -2
- package/package.json +20 -19
- package/style/index.css +2 -2
- package/types/avatar/avatar-group.d.ts +1 -1
- package/types/badge/index.d.ts +4 -4
- package/types/color-picker/index.d.ts +1 -1
- package/types/components.d.ts +6 -2
- package/types/date-picker/index.d.ts +1 -1
- package/types/descriptions/descriptions-item.d.ts +1 -1
- package/types/descriptions/descriptions.d.ts +1 -1
- package/types/divider/index.d.ts +1 -1
- package/types/drawer/index.d.ts +1 -1
- package/types/dropdown/dropdown-button.d.ts +1 -1
- package/types/dropdown/dropdown.d.ts +1 -1
- package/types/empty/index.d.ts +1 -1
- package/types/flex/index.d.ts +1 -1
- package/types/global.d.ts +8 -4
- package/types/input/input-box.d.ts +1 -1
- package/types/input/input-group.d.ts +1 -1
- package/types/input/input.d.ts +3 -3
- package/types/input/textarea.d.ts +2 -2
- package/types/input-number/index.d.ts +1 -1
- package/types/layout/index.d.ts +2 -2
- package/types/loading/index.d.ts +1 -1
- package/types/locale/de.d.ts +6 -0
- package/types/locale/el.d.ts +6 -0
- package/types/locale/en.d.ts +6 -0
- package/types/locale/fr.d.ts +6 -0
- package/types/locale/it.d.ts +6 -0
- package/types/locale/ja.d.ts +6 -0
- package/types/locale/ko.d.ts +6 -0
- package/types/locale/ru.d.ts +6 -0
- package/types/locale/th.d.ts +6 -0
- package/types/locale/uk.d.ts +6 -0
- package/types/locale/vi.d.ts +6 -0
- package/types/locale/zh-CN.d.ts +6 -0
- package/types/locale/zh-TW.d.ts +6 -0
- package/types/menu/menu-group.d.ts +1 -1
- package/types/menu/menu-item.d.ts +1 -1
- package/types/menu/menu.d.ts +1 -1
- package/types/menu/sub-menu.d.ts +1 -1
- package/types/modal/modal.d.ts +27 -7
- package/types/page/index.d.ts +1 -1
- package/types/popconfirm/index.d.ts +1 -1
- package/types/poptip/index.d.ts +1 -1
- package/types/progress/index.d.ts +1 -1
- package/types/qrcode/index.d.ts +165 -0
- package/types/radio/radio-button.d.ts +1 -1
- package/types/radio/radio-group.d.ts +1 -1
- package/types/radio/radio.d.ts +1 -1
- package/types/rate/index.d.ts +1 -1
- package/types/rate/star.d.ts +1 -1
- package/types/row-col/col.d.ts +1 -1
- package/types/row-col/row.d.ts +1 -1
- package/types/select/option.d.ts +1 -1
- package/types/select/select.d.ts +1 -1
- package/types/slider/index.d.ts +1 -1
- package/types/space/index.d.ts +1 -1
- package/types/spin/index.d.ts +1 -1
- package/types/stat-card/stat-card.d.ts +1 -1
- package/types/stat-card/stat-number.d.ts +1 -1
- package/types/switch/index.d.ts +1 -1
- package/types/table/index.d.ts +2 -2
- package/types/tabs/tab-panel.d.ts +1 -1
- package/types/tabs/tabs.d.ts +1 -4
- package/types/tag/index.d.ts +1 -1
- package/types/time-line/timeline-item.d.ts +1 -1
- package/types/time-line/timeline.d.ts +1 -1
- package/types/tooltip/index.d.ts +1 -1
- package/types/tree/index.d.ts +1 -1
- package/types/tree-select/index.d.ts +1 -1
- package/types/upload/file-list.d.ts +1 -1
- package/types/upload/index.d.ts +1 -1
- package/types/upload/selector.d.ts +1 -1
- package/types/utils/share.d.ts +12 -0
- package/types/watermark/index.d.ts +197 -0
- package/vetur/attributes.json +149 -37
- package/vetur/tags.json +52 -18
- package/vetur/web-types.json +282 -68
- package/es/affix/index.d.ts +0 -49
- package/es/alert/index.d.ts +0 -61
- package/es/anchor/anchor-link.d.ts +0 -23
- package/es/anchor/anchor.d.ts +0 -67
- package/es/anchor/index.d.ts +0 -5
- package/es/avatar/avatar-group.d.ts +0 -39
- package/es/avatar/avatar.d.ts +0 -43
- package/es/avatar/index.d.ts +0 -5
- package/es/back-top/index.d.ts +0 -46
- package/es/badge/index.d.ts +0 -49
- package/es/base/transition.d.ts +0 -3
- package/es/breadcrumb/breadcrumb-item.d.ts +0 -15
- package/es/breadcrumb/breadcrumb.d.ts +0 -22
- package/es/breadcrumb/index.d.ts +0 -5
- package/es/button/button-group.d.ts +0 -21
- package/es/button/button.d.ts +0 -39
- package/es/button/index.d.ts +0 -5
- package/es/card/index.d.ts +0 -30
- package/es/carousel/carousel-item.d.ts +0 -2
- package/es/carousel/carousel.d.ts +0 -84
- package/es/carousel/index.d.ts +0 -4
- package/es/checkbox/checkbox-group.d.ts +0 -79
- package/es/checkbox/checkbox.d.ts +0 -105
- package/es/checkbox/index.d.ts +0 -6
- package/es/collapse/collapse-panel.d.ts +0 -15
- package/es/collapse/collapse.d.ts +0 -32
- package/es/collapse/index.d.ts +0 -6
- package/es/color-picker/alpha.d.ts +0 -15
- package/es/color-picker/hue.d.ts +0 -17
- package/es/color-picker/index.d.ts +0 -110
- package/es/color-picker/mode.d.ts +0 -25
- package/es/color-picker/paint.d.ts +0 -26
- package/es/color-picker/presets.d.ts +0 -20
- package/es/components.d.ts +0 -113
- package/es/config/context.d.ts +0 -10
- package/es/config/index.d.ts +0 -16
- package/es/const/types.d.ts +0 -19
- package/es/const/var.d.ts +0 -1
- package/es/date-picker/index.d.ts +0 -277
- package/es/descriptions/descriptions-item.d.ts +0 -35
- package/es/descriptions/descriptions.d.ts +0 -54
- package/es/descriptions/index.d.ts +0 -4
- package/es/directives/outsiteclick.d.ts +0 -2
- package/es/directives/resize.d.ts +0 -3
- package/es/directives/scroll.d.ts +0 -2
- package/es/directives/transfer.d.ts +0 -2
- package/es/divider/index.d.ts +0 -42
- package/es/drawer/index.d.ts +0 -177
- package/es/dropdown/dropdown-button.d.ts +0 -45
- package/es/dropdown/dropdown.d.ts +0 -72
- package/es/dropdown/index.d.ts +0 -4
- package/es/dropdown/trigger.d.ts +0 -11
- package/es/empty/index.d.ts +0 -9
- package/es/flex/index.d.ts +0 -45
- package/es/form/form-item.d.ts +0 -24
- package/es/form/form.d.ts +0 -92
- package/es/form/index.d.ts +0 -6
- package/es/form/types.d.ts +0 -14
- package/es/grid/grid-item.d.ts +0 -22
- package/es/grid/grid.d.ts +0 -39
- package/es/grid/index.d.ts +0 -5
- package/es/grid/useBreakpoint.d.ts +0 -3
- package/es/icon/demo/search.d.ts +0 -2
- package/es/icon/demo/tags.d.ts +0 -4
- package/es/icon/index.d.ts +0 -45
- package/es/image/group.d.ts +0 -11
- package/es/image/image.d.ts +0 -45
- package/es/image/index.d.ts +0 -5
- package/es/image/instance.d.ts +0 -2
- package/es/image/preview.d.ts +0 -36
- package/es/image/utils.d.ts +0 -6
- package/es/index.d.ts +0 -10
- package/es/input/index.d.ts +0 -8
- package/es/input/input-box.d.ts +0 -39
- package/es/input/input-group.d.ts +0 -58
- package/es/input/input.d.ts +0 -56
- package/es/input/textarea.d.ts +0 -25
- package/es/input-number/index.d.ts +0 -127
- package/es/layout/index.d.ts +0 -136
- package/es/loading/index.d.ts +0 -16
- package/es/locale/de.d.ts +0 -59
- package/es/locale/el.d.ts +0 -59
- package/es/locale/en.d.ts +0 -59
- package/es/locale/fr.d.ts +0 -59
- package/es/locale/it.d.ts +0 -59
- package/es/locale/ja.d.ts +0 -59
- package/es/locale/ko.d.ts +0 -59
- package/es/locale/ru.d.ts +0 -59
- package/es/locale/th.d.ts +0 -59
- package/es/locale/uk.d.ts +0 -59
- package/es/locale/vi.d.ts +0 -59
- package/es/locale/zh-CN.d.ts +0 -59
- package/es/locale/zh-TW.d.ts +0 -59
- package/es/menu/index.d.ts +0 -7
- package/es/menu/menu-divider.d.ts +0 -2
- package/es/menu/menu-group.d.ts +0 -20
- package/es/menu/menu-item.d.ts +0 -22
- package/es/menu/menu.d.ts +0 -92
- package/es/menu/recursive-menu.d.ts +0 -17
- package/es/menu/sub-menu.d.ts +0 -24
- package/es/message/index.d.ts +0 -23
- package/es/modal/index.d.ts +0 -26
- package/es/modal/modal.d.ts +0 -176
- package/es/modal/toast.d.ts +0 -32
- package/es/notice/container.d.ts +0 -6
- package/es/notice/content.d.ts +0 -54
- package/es/notice/index.d.ts +0 -23
- package/es/notice/instance.d.ts +0 -8
- package/es/page/index.d.ts +0 -115
- package/es/popconfirm/index.d.ts +0 -75
- package/es/poptip/index.d.ts +0 -66
- package/es/progress/index.d.ts +0 -125
- package/es/radio/index.d.ts +0 -7
- package/es/radio/radio-button.d.ts +0 -76
- package/es/radio/radio-group.d.ts +0 -77
- package/es/radio/radio.d.ts +0 -73
- package/es/radio/types.d.ts +0 -5
- package/es/rate/index.d.ts +0 -99
- package/es/rate/star.d.ts +0 -65
- package/es/row-col/col.d.ts +0 -17
- package/es/row-col/index.d.ts +0 -5
- package/es/row-col/row.d.ts +0 -43
- package/es/select/index.d.ts +0 -5
- package/es/select/option.d.ts +0 -23
- package/es/select/select.d.ts +0 -150
- package/es/skeleton/index.d.ts +0 -7
- package/es/skeleton/skeleton-avatar.d.ts +0 -58
- package/es/skeleton/skeleton-button.d.ts +0 -58
- package/es/skeleton/skeleton-image.d.ts +0 -58
- package/es/skeleton/skeleton-text.d.ts +0 -58
- package/es/skeleton/skeleton.d.ts +0 -61
- package/es/skeleton/types.d.ts +0 -29
- package/es/slider/index.d.ts +0 -112
- package/es/slider/thumb.d.ts +0 -58
- package/es/space/index.d.ts +0 -50
- package/es/spin/index.d.ts +0 -58
- package/es/splitter/index.d.ts +0 -4
- package/es/splitter/splitter-panel.d.ts +0 -35
- package/es/splitter/splitter.d.ts +0 -32
- package/es/stat-card/countup.d.ts +0 -56
- package/es/stat-card/index.d.ts +0 -5
- package/es/stat-card/rollup.d.ts +0 -32
- package/es/stat-card/stat-card.d.ts +0 -72
- package/es/stat-card/stat-number.d.ts +0 -100
- package/es/stat-card/utils/countup.d.ts +0 -127
- package/es/stat-card/utils/odometer.d.ts +0 -13
- package/es/switch/index.d.ts +0 -72
- package/es/table/index.d.ts +0 -185
- package/es/tabs/index.d.ts +0 -5
- package/es/tabs/tab-panel.d.ts +0 -22
- package/es/tabs/tabs.d.ts +0 -44
- package/es/tabs/types.d.ts +0 -16
- package/es/tag/index.d.ts +0 -57
- package/es/time-line/index.d.ts +0 -5
- package/es/time-line/timeline-item.d.ts +0 -20
- package/es/time-line/timeline.d.ts +0 -26
- package/es/tooltip/index.d.ts +0 -42
- package/es/tree/index.d.ts +0 -179
- package/es/tree/utils.d.ts +0 -32
- package/es/tree-select/index.d.ts +0 -224
- package/es/upload/file-list.d.ts +0 -59
- package/es/upload/index.d.ts +0 -190
- package/es/upload/selector.d.ts +0 -73
- package/es/utils/checked.d.ts +0 -2
- package/es/utils/color.d.ts +0 -1
- package/es/utils/element.d.ts +0 -4
- package/es/utils/mouse.d.ts +0 -1
- package/es/utils/number.d.ts +0 -6
- package/es/utils/placement.d.ts +0 -16
- package/es/utils/theme.d.ts +0 -5
- package/es/utils/vnode.d.ts +0 -5
- package/es/utils/vue.d.ts +0 -5
package/types/badge/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
1
|
+
import { ExtractPropTypes, PropType, VNode } from 'vue';
|
|
2
2
|
import { BooleanType } from '../const/types';
|
|
3
3
|
export type BadgeStatusType = "default" | "success" | "error" | "warning";
|
|
4
4
|
declare const badgeProps: {
|
|
@@ -9,7 +9,7 @@ declare const badgeProps: {
|
|
|
9
9
|
type: PropType<BadgeStatusType>;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
|
-
text:
|
|
12
|
+
text: PropType<string | VNode>;
|
|
13
13
|
maxCount: {
|
|
14
14
|
type: NumberConstructor;
|
|
15
15
|
default: number;
|
|
@@ -24,7 +24,7 @@ declare const Badge: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
24
24
|
type: PropType<BadgeStatusType>;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
|
-
text:
|
|
27
|
+
text: PropType<string | VNode>;
|
|
28
28
|
maxCount: {
|
|
29
29
|
type: NumberConstructor;
|
|
30
30
|
default: number;
|
|
@@ -37,7 +37,7 @@ declare const Badge: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
37
37
|
type: PropType<BadgeStatusType>;
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
40
|
-
text:
|
|
40
|
+
text: PropType<string | VNode>;
|
|
41
41
|
maxCount: {
|
|
42
42
|
type: NumberConstructor;
|
|
43
43
|
default: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { BooleanType, DropPlacementsType, SizeType } from '../const/types';
|
|
3
3
|
type ColorMode = "hex" | "rgb" | "hsl";
|
|
4
|
-
|
|
4
|
+
declare const colorPickerProps: {
|
|
5
5
|
modelValue: StringConstructor;
|
|
6
6
|
disabled: BooleanType;
|
|
7
7
|
disabledAlpha: BooleanType;
|
package/types/components.d.ts
CHANGED
|
@@ -70,6 +70,8 @@ export { default as Popconfirm } from './popconfirm';
|
|
|
70
70
|
export type { PopconfirmProps } from './popconfirm';
|
|
71
71
|
export { default as Progress } from './progress';
|
|
72
72
|
export type { ProgressProps, ProgressStatus, ProgressStroke, ProgressType } from './progress';
|
|
73
|
+
export { default as QRCode } from './qrcode';
|
|
74
|
+
export type { QRCodeErrorLevel, QRCodeProps, QRCodeStatus } from './qrcode';
|
|
73
75
|
export { Radio, RadioButton, RadioGroup } from './radio';
|
|
74
76
|
export type { RadioButtonProps, RadioGroupProps, RadioOption, RadioProps } from './radio';
|
|
75
77
|
export { default as Rate } from './rate';
|
|
@@ -89,6 +91,8 @@ export { default as Spin } from './spin';
|
|
|
89
91
|
export type { SpinProps } from './spin';
|
|
90
92
|
export { default as KSwitch } from './switch';
|
|
91
93
|
export type { SwitchProps } from './switch';
|
|
94
|
+
export { Splitter, SplitterPanel } from './splitter';
|
|
95
|
+
export type { SplitterPanelProps, SplitterProps } from './splitter';
|
|
92
96
|
export { default as Table } from './table';
|
|
93
97
|
export type { Column, SortState, TableProps } from './table';
|
|
94
98
|
export { default as Tooltip } from './tooltip';
|
|
@@ -107,7 +111,7 @@ export { Col, Row } from './row-col';
|
|
|
107
111
|
export type { ColProps, RowProps } from './row-col';
|
|
108
112
|
export { default as Upload } from './upload';
|
|
109
113
|
export type { UploadChangeEvent, UploadContext, UploadFile, UploadProps } from './upload';
|
|
110
|
-
export {
|
|
111
|
-
export type {
|
|
114
|
+
export { default as Watermark } from './watermark';
|
|
115
|
+
export type { WatermarkLayoutType, WatermarkProps } from './watermark';
|
|
112
116
|
export { default as theme } from './utils/theme';
|
|
113
117
|
export type { AlignType, BooleanType, ButtonType, ColorType, DirectionType, DrawerPlacementsType, DropPlacementsType, PlacementsType, RadioType, ShapeType, SizeType, SpinModeType, ThemeType, UploadStatusType, } from './const/types';
|
|
@@ -7,7 +7,7 @@ interface DatePickerPresetsType {
|
|
|
7
7
|
label: string;
|
|
8
8
|
value: () => any;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
declare const datePickerProps: {
|
|
11
11
|
modelValue: {
|
|
12
12
|
type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor | ArrayConstructor)[];
|
|
13
13
|
default: null;
|
package/types/divider/index.d.ts
CHANGED
package/types/drawer/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { BooleanType, DropPlacementsType, ShapeType, SizeType } from '../const/types';
|
|
3
3
|
import { IconType } from '../icon';
|
|
4
|
-
|
|
4
|
+
declare const dropdownButtonProps: {
|
|
5
5
|
size: PropType<SizeType>;
|
|
6
6
|
shape: PropType<ShapeType>;
|
|
7
7
|
disabled: BooleanType;
|
package/types/empty/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
|
|
2
|
-
|
|
2
|
+
declare const emptyProps: {
|
|
3
3
|
description: (BooleanConstructor | StringConstructor)[];
|
|
4
4
|
image: StringConstructor;
|
|
5
5
|
imageStyle: PropType<CSSProperties>;
|
package/types/flex/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { BooleanType, SizeType } from '../const/types';
|
|
|
3
3
|
export type FlexSizeType = SizeType | number | (string | number)[];
|
|
4
4
|
export type FlexAlignType = "start" | "flex-start" | "end" | "flex-end" | "center" | "baseline";
|
|
5
5
|
export type FlexJustifyType = "flex-start" | "center" | "flex-end" | "space-between" | "space-around" | "space-evenly";
|
|
6
|
-
|
|
6
|
+
declare const flexProps: {
|
|
7
7
|
align: {
|
|
8
8
|
type: PropType<FlexAlignType>;
|
|
9
9
|
};
|
package/types/global.d.ts
CHANGED
|
@@ -112,6 +112,8 @@ KPoptip: typeof import('kui-vue')['Poptip']
|
|
|
112
112
|
KPopconfirm: typeof import('kui-vue')['Popconfirm']
|
|
113
113
|
Progress: typeof import('kui-vue')['Progress']
|
|
114
114
|
KProgress: typeof import('kui-vue')['Progress']
|
|
115
|
+
QRCode: typeof import('kui-vue')['QRCode']
|
|
116
|
+
KQRCode: typeof import('kui-vue')['QRCode']
|
|
115
117
|
Radio: typeof import('kui-vue')['Radio']
|
|
116
118
|
KRadio: typeof import('kui-vue')['Radio']
|
|
117
119
|
RadioButton: typeof import('kui-vue')['RadioButton']
|
|
@@ -147,6 +149,10 @@ KSpace: typeof import('kui-vue')['Space']
|
|
|
147
149
|
Spin: typeof import('kui-vue')['Spin']
|
|
148
150
|
KSpin: typeof import('kui-vue')['Spin']
|
|
149
151
|
KSwitch: typeof import('kui-vue')['KSwitch']
|
|
152
|
+
Splitter: typeof import('kui-vue')['Splitter']
|
|
153
|
+
KSplitter: typeof import('kui-vue')['Splitter']
|
|
154
|
+
SplitterPanel: typeof import('kui-vue')['SplitterPanel']
|
|
155
|
+
KSplitterPanel: typeof import('kui-vue')['SplitterPanel']
|
|
150
156
|
Table: typeof import('kui-vue')['Table']
|
|
151
157
|
KTable: typeof import('kui-vue')['Table']
|
|
152
158
|
Tooltip: typeof import('kui-vue')['Tooltip']
|
|
@@ -171,10 +177,8 @@ KCol: typeof import('kui-vue')['Col']
|
|
|
171
177
|
KRow: typeof import('kui-vue')['Row']
|
|
172
178
|
Upload: typeof import('kui-vue')['Upload']
|
|
173
179
|
KUpload: typeof import('kui-vue')['Upload']
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
SplitterPanel: typeof import('kui-vue')['SplitterPanel']
|
|
177
|
-
KSplitterPanel: typeof import('kui-vue')['SplitterPanel']
|
|
180
|
+
Watermark: typeof import('kui-vue')['Watermark']
|
|
181
|
+
KWatermark: typeof import('kui-vue')['Watermark']
|
|
178
182
|
}
|
|
179
183
|
}
|
|
180
184
|
|
package/types/input/input.d.ts
CHANGED
|
@@ -13,6 +13,9 @@ declare const inputProps: {
|
|
|
13
13
|
size: {
|
|
14
14
|
type: PropType<SizeType>;
|
|
15
15
|
};
|
|
16
|
+
value: {
|
|
17
|
+
type: PropType<any>;
|
|
18
|
+
};
|
|
16
19
|
modelValue: {
|
|
17
20
|
type: PropType<any>;
|
|
18
21
|
};
|
|
@@ -25,7 +28,6 @@ declare const inputProps: {
|
|
|
25
28
|
suffix: {
|
|
26
29
|
type: PropType<VNodeChild>;
|
|
27
30
|
};
|
|
28
|
-
readonly: BooleanType;
|
|
29
31
|
prefix: {
|
|
30
32
|
type: PropType<VNodeChild>;
|
|
31
33
|
};
|
|
@@ -41,8 +43,6 @@ declare const inputProps: {
|
|
|
41
43
|
onSearch: {
|
|
42
44
|
type: PropType<(value: string) => void>;
|
|
43
45
|
};
|
|
44
|
-
maxlength: NumberConstructor;
|
|
45
|
-
"onUpdate:modelValue": PropType<(value: string) => void>;
|
|
46
46
|
onIconClick: {
|
|
47
47
|
type: PropType<(e: PointerEvent) => void>;
|
|
48
48
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DefineComponent, ExtractPropTypes, PropType, TextareaHTMLAttributes } from 'vue';
|
|
2
2
|
import { BooleanType, ShapeType, SizeType, ThemeType } from '../const/types';
|
|
3
|
-
|
|
3
|
+
declare const textAreaProps: {
|
|
4
|
+
value: PropType<any>;
|
|
4
5
|
modelValue: PropType<any>;
|
|
5
6
|
theme: {
|
|
6
7
|
type: PropType<ThemeType>;
|
|
@@ -16,7 +17,6 @@ export declare const textAreaProps: {
|
|
|
16
17
|
default: number;
|
|
17
18
|
};
|
|
18
19
|
disabled: BooleanType;
|
|
19
|
-
readonly: BooleanType;
|
|
20
20
|
onChange: {
|
|
21
21
|
type: PropType<(value: string) => void>;
|
|
22
22
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { BooleanType, ShapeType, SizeType, ThemeType } from '../const/types';
|
|
3
3
|
import { IconType } from '../icon';
|
|
4
|
-
|
|
4
|
+
declare const inputNumberProps: {
|
|
5
5
|
modelValue: PropType<number | string>;
|
|
6
6
|
min: {
|
|
7
7
|
type: NumberConstructor;
|
package/types/layout/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { BooleanType } from '../const/types';
|
|
3
|
-
|
|
3
|
+
declare const layoutProps: {
|
|
4
4
|
suffixCls: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
@@ -10,7 +10,7 @@ export declare const layoutProps: {
|
|
|
10
10
|
default: undefined;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
declare const siderProps: {
|
|
14
14
|
suffixCls: {
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
default: string;
|
package/types/loading/index.d.ts
CHANGED
package/types/locale/de.d.ts
CHANGED
package/types/locale/el.d.ts
CHANGED
package/types/locale/en.d.ts
CHANGED
package/types/locale/fr.d.ts
CHANGED
package/types/locale/it.d.ts
CHANGED
package/types/locale/ja.d.ts
CHANGED
package/types/locale/ko.d.ts
CHANGED
package/types/locale/ru.d.ts
CHANGED
package/types/locale/th.d.ts
CHANGED
package/types/locale/uk.d.ts
CHANGED
package/types/locale/vi.d.ts
CHANGED
package/types/locale/zh-CN.d.ts
CHANGED
package/types/locale/zh-TW.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
|
|
2
2
|
import { BooleanType } from '../const/types';
|
|
3
3
|
import { IconType } from '../icon';
|
|
4
|
-
|
|
4
|
+
declare const menuItemProps: {
|
|
5
5
|
icon: PropType<IconType[]>;
|
|
6
6
|
title: PropType<string | VNodeChild>;
|
|
7
7
|
disabled: BooleanType;
|
package/types/menu/menu.d.ts
CHANGED
package/types/menu/sub-menu.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
|
|
2
2
|
import { BooleanType } from '../const/types';
|
|
3
3
|
import { IconType } from '../icon';
|
|
4
|
-
|
|
4
|
+
declare const submenuProps: {
|
|
5
5
|
disabled: BooleanType;
|
|
6
6
|
title: PropType<string | VNodeChild>;
|
|
7
7
|
isPopup: BooleanType;
|
package/types/modal/modal.d.ts
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { BooleanType } from '../const/types';
|
|
3
|
-
|
|
3
|
+
declare const modalProps: {
|
|
4
4
|
modelValue: BooleanType;
|
|
5
5
|
title: StringConstructor;
|
|
6
6
|
okText: StringConstructor;
|
|
7
7
|
cancelText: StringConstructor;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
width: {
|
|
9
|
+
type: PropType<number | string>;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
top: {
|
|
13
|
+
type: PropType<number>;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
10
16
|
transfer: {
|
|
11
17
|
type: BooleanType;
|
|
12
18
|
default: boolean;
|
|
@@ -54,8 +60,14 @@ declare const Modal: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
54
60
|
title: StringConstructor;
|
|
55
61
|
okText: StringConstructor;
|
|
56
62
|
cancelText: StringConstructor;
|
|
57
|
-
|
|
58
|
-
|
|
63
|
+
width: {
|
|
64
|
+
type: PropType<number | string>;
|
|
65
|
+
default: number;
|
|
66
|
+
};
|
|
67
|
+
top: {
|
|
68
|
+
type: PropType<number>;
|
|
69
|
+
default: number;
|
|
70
|
+
};
|
|
59
71
|
transfer: {
|
|
60
72
|
type: BooleanType;
|
|
61
73
|
default: boolean;
|
|
@@ -101,8 +113,14 @@ declare const Modal: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
101
113
|
title: StringConstructor;
|
|
102
114
|
okText: StringConstructor;
|
|
103
115
|
cancelText: StringConstructor;
|
|
104
|
-
|
|
105
|
-
|
|
116
|
+
width: {
|
|
117
|
+
type: PropType<number | string>;
|
|
118
|
+
default: number;
|
|
119
|
+
};
|
|
120
|
+
top: {
|
|
121
|
+
type: PropType<number>;
|
|
122
|
+
default: number;
|
|
123
|
+
};
|
|
106
124
|
transfer: {
|
|
107
125
|
type: BooleanType;
|
|
108
126
|
default: boolean;
|
|
@@ -144,6 +162,8 @@ declare const Modal: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
144
162
|
type: PropType<(opened: boolean) => void>;
|
|
145
163
|
};
|
|
146
164
|
}>> & Readonly<{}>, {
|
|
165
|
+
top: number;
|
|
166
|
+
width: string | number;
|
|
147
167
|
mask: boolean | undefined;
|
|
148
168
|
footer: boolean | undefined;
|
|
149
169
|
transfer: boolean | undefined;
|
package/types/page/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { BooleanType, PlacementsType } from '../const/types';
|
|
3
|
-
|
|
3
|
+
declare const popconfirmProps: {
|
|
4
4
|
dark: BooleanType;
|
|
5
5
|
show: BooleanType;
|
|
6
6
|
title: (NumberConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
package/types/poptip/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { PlacementsType } from '../const/types';
|
|
3
3
|
export type PoptipProps = ExtractPropTypes<typeof poptipProps>;
|
|
4
|
-
|
|
4
|
+
declare const poptipProps: {
|
|
5
5
|
dark: BooleanConstructor;
|
|
6
6
|
show: BooleanConstructor;
|
|
7
7
|
title: (NumberConstructor | ObjectConstructor | StringConstructor | ArrayConstructor)[];
|
|
@@ -3,7 +3,7 @@ import { BooleanType, SizeType } from '../const/types';
|
|
|
3
3
|
export type ProgressStatus = "active" | "exception" | "success" | "normal";
|
|
4
4
|
export type ProgressStroke = "round" | "butt" | "square";
|
|
5
5
|
export type ProgressType = "line" | "circle" | "dashboard";
|
|
6
|
-
|
|
6
|
+
declare const progressProps: {
|
|
7
7
|
percent: {
|
|
8
8
|
type: NumberConstructor;
|
|
9
9
|
default: number;
|