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/es/collapse/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as Collapse } from './collapse';
|
|
2
|
-
import { default as CollapsePanel } from './collapse-panel';
|
|
3
|
-
export type { CollapseProps } from './collapse';
|
|
4
|
-
export type { CollapsePanelProps } from './collapse-panel';
|
|
5
|
-
export { Collapse, CollapsePanel };
|
|
6
|
-
export default Collapse;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
-
modelValue: {
|
|
4
|
-
type: PropType<any>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
onUpdateAlpha: PropType<(alpha: number) => void>;
|
|
8
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
-
modelValue: {
|
|
10
|
-
type: PropType<any>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
onUpdateAlpha: PropType<(alpha: number) => void>;
|
|
14
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
-
export default _default;
|
package/es/color-picker/hue.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
-
hue: {
|
|
4
|
-
type: NumberConstructor;
|
|
5
|
-
default: number;
|
|
6
|
-
};
|
|
7
|
-
onUpdateHue: PropType<(hue: number) => void>;
|
|
8
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
-
hue: {
|
|
10
|
-
type: NumberConstructor;
|
|
11
|
-
default: number;
|
|
12
|
-
};
|
|
13
|
-
onUpdateHue: PropType<(hue: number) => void>;
|
|
14
|
-
}>> & Readonly<{}>, {
|
|
15
|
-
hue: number;
|
|
16
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
-
export default _default;
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { BooleanType, DropPlacementsType, SizeType } from '../const/types';
|
|
3
|
-
type ColorMode = "hex" | "rgb" | "hsl";
|
|
4
|
-
export declare const colorPickerProps: {
|
|
5
|
-
modelValue: StringConstructor;
|
|
6
|
-
disabled: BooleanType;
|
|
7
|
-
disabledAlpha: BooleanType;
|
|
8
|
-
showText: BooleanType;
|
|
9
|
-
placement: {
|
|
10
|
-
type: PropType<DropPlacementsType>;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
trigger: {
|
|
14
|
-
type: PropType<"hover" | "click">;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
size: {
|
|
18
|
-
type: PropType<SizeType>;
|
|
19
|
-
};
|
|
20
|
-
mode: {
|
|
21
|
-
type: PropType<ColorMode>;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
presets: {
|
|
25
|
-
type: PropType<string[]>;
|
|
26
|
-
};
|
|
27
|
-
onChange: {
|
|
28
|
-
type: PropType<(color: string) => void>;
|
|
29
|
-
};
|
|
30
|
-
onUpdateMode: {
|
|
31
|
-
type: PropType<(mode: ColorMode) => void>;
|
|
32
|
-
};
|
|
33
|
-
onOpenChange: {
|
|
34
|
-
type: PropType<(open: boolean) => void>;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export type ColorPickerProps = ExtractPropTypes<typeof colorPickerProps>;
|
|
38
|
-
declare const ColorPicker: import('vue').DefineComponent<ExtractPropTypes<{
|
|
39
|
-
modelValue: StringConstructor;
|
|
40
|
-
disabled: BooleanType;
|
|
41
|
-
disabledAlpha: BooleanType;
|
|
42
|
-
showText: BooleanType;
|
|
43
|
-
placement: {
|
|
44
|
-
type: PropType<DropPlacementsType>;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
trigger: {
|
|
48
|
-
type: PropType<"hover" | "click">;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
size: {
|
|
52
|
-
type: PropType<SizeType>;
|
|
53
|
-
};
|
|
54
|
-
mode: {
|
|
55
|
-
type: PropType<ColorMode>;
|
|
56
|
-
default: string;
|
|
57
|
-
};
|
|
58
|
-
presets: {
|
|
59
|
-
type: PropType<string[]>;
|
|
60
|
-
};
|
|
61
|
-
onChange: {
|
|
62
|
-
type: PropType<(color: string) => void>;
|
|
63
|
-
};
|
|
64
|
-
onUpdateMode: {
|
|
65
|
-
type: PropType<(mode: ColorMode) => void>;
|
|
66
|
-
};
|
|
67
|
-
onOpenChange: {
|
|
68
|
-
type: PropType<(open: boolean) => void>;
|
|
69
|
-
};
|
|
70
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
71
|
-
modelValue: StringConstructor;
|
|
72
|
-
disabled: BooleanType;
|
|
73
|
-
disabledAlpha: BooleanType;
|
|
74
|
-
showText: BooleanType;
|
|
75
|
-
placement: {
|
|
76
|
-
type: PropType<DropPlacementsType>;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
trigger: {
|
|
80
|
-
type: PropType<"hover" | "click">;
|
|
81
|
-
default: string;
|
|
82
|
-
};
|
|
83
|
-
size: {
|
|
84
|
-
type: PropType<SizeType>;
|
|
85
|
-
};
|
|
86
|
-
mode: {
|
|
87
|
-
type: PropType<ColorMode>;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
|
-
presets: {
|
|
91
|
-
type: PropType<string[]>;
|
|
92
|
-
};
|
|
93
|
-
onChange: {
|
|
94
|
-
type: PropType<(color: string) => void>;
|
|
95
|
-
};
|
|
96
|
-
onUpdateMode: {
|
|
97
|
-
type: PropType<(mode: ColorMode) => void>;
|
|
98
|
-
};
|
|
99
|
-
onOpenChange: {
|
|
100
|
-
type: PropType<(open: boolean) => void>;
|
|
101
|
-
};
|
|
102
|
-
}>> & Readonly<{}>, {
|
|
103
|
-
mode: ColorMode;
|
|
104
|
-
placement: DropPlacementsType;
|
|
105
|
-
trigger: "click" | "hover";
|
|
106
|
-
}, {}, {}, {
|
|
107
|
-
transfer: import('vue').ObjectDirective<any, any, string, any>;
|
|
108
|
-
resize: import('vue').ObjectDirective<any, any, string, any>;
|
|
109
|
-
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
110
|
-
export default ColorPicker;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ColorInstance } from 'color';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
import { BooleanType } from '../const/types';
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
-
modelValue: (ObjectConstructor | StringConstructor)[];
|
|
6
|
-
mode: {
|
|
7
|
-
type: PropType<"hex" | "rgb" | "hsl">;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
disabledAlpha: BooleanType;
|
|
11
|
-
onUpdateMode: PropType<(mode: "hex" | "rgb" | "hsl") => void>;
|
|
12
|
-
onUpdateColorValue: PropType<(color: ColorInstance) => void>;
|
|
13
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
-
modelValue: (ObjectConstructor | StringConstructor)[];
|
|
15
|
-
mode: {
|
|
16
|
-
type: PropType<"hex" | "rgb" | "hsl">;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
disabledAlpha: BooleanType;
|
|
20
|
-
onUpdateMode: PropType<(mode: "hex" | "rgb" | "hsl") => void>;
|
|
21
|
-
onUpdateColorValue: PropType<(color: ColorInstance) => void>;
|
|
22
|
-
}>> & Readonly<{}>, {
|
|
23
|
-
mode: "hex" | "rgb" | "hsl";
|
|
24
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
-
export default _default;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ColorObject } from 'color';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
-
hue: {
|
|
5
|
-
type: NumberConstructor;
|
|
6
|
-
default: number;
|
|
7
|
-
};
|
|
8
|
-
modelValue: {
|
|
9
|
-
type: PropType<any>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
onUpdateRGB: PropType<(color: ColorObject) => void>;
|
|
13
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
-
hue: {
|
|
15
|
-
type: NumberConstructor;
|
|
16
|
-
default: number;
|
|
17
|
-
};
|
|
18
|
-
modelValue: {
|
|
19
|
-
type: PropType<any>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
onUpdateRGB: PropType<(color: ColorObject) => void>;
|
|
23
|
-
}>> & Readonly<{}>, {
|
|
24
|
-
hue: number;
|
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ColorInstance } from 'color';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
-
color: (ObjectConstructor | StringConstructor)[];
|
|
5
|
-
modelValue: {
|
|
6
|
-
type: PropType<string[]>;
|
|
7
|
-
default: () => string[];
|
|
8
|
-
};
|
|
9
|
-
onUpdateColor: PropType<(color: ColorInstance) => void>;
|
|
10
|
-
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
-
color: (ObjectConstructor | StringConstructor)[];
|
|
12
|
-
modelValue: {
|
|
13
|
-
type: PropType<string[]>;
|
|
14
|
-
default: () => string[];
|
|
15
|
-
};
|
|
16
|
-
onUpdateColor: PropType<(color: ColorInstance) => void>;
|
|
17
|
-
}>> & Readonly<{}>, {
|
|
18
|
-
modelValue: string[];
|
|
19
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
-
export default _default;
|
package/es/components.d.ts
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
export { default as Affix } from './affix';
|
|
2
|
-
export type { AffixProps } from './affix';
|
|
3
|
-
export { default as Alert } from './alert';
|
|
4
|
-
export type { AlertProps } from './alert';
|
|
5
|
-
export { Anchor, AnchorLink } from './anchor';
|
|
6
|
-
export type { AnchorLinkProps, AnchorProps } from './anchor';
|
|
7
|
-
export { Avatar, AvatarGroup } from './avatar';
|
|
8
|
-
export type { AvatarGroupProps, AvatarProps } from './avatar';
|
|
9
|
-
export { Breadcrumb, BreadcrumbItem } from './breadcrumb';
|
|
10
|
-
export type { BreadcrumbItemProps, BreadcrumbProps } from './breadcrumb';
|
|
11
|
-
export { default as BackTop } from './back-top';
|
|
12
|
-
export type { BackTopProps } from './back-top';
|
|
13
|
-
export { default as Badge } from './badge';
|
|
14
|
-
export type { BadgeProps, BadgeStatusType } from './badge';
|
|
15
|
-
export { Button, ButtonGroup } from './button';
|
|
16
|
-
export type { ButtonGroupProps, ButtonProps } from './button';
|
|
17
|
-
export { default as Card } from './card';
|
|
18
|
-
export type { CardProps } from './card';
|
|
19
|
-
export { Carousel, CarouselItem } from './carousel';
|
|
20
|
-
export type { CarouselProps } from './carousel';
|
|
21
|
-
export { Checkbox, CheckboxGroup } from './checkbox';
|
|
22
|
-
export type { ChangeEvent, CheckboxGroupProps, CheckboxOption, CheckboxProps } from './checkbox';
|
|
23
|
-
export { Collapse, CollapsePanel } from './collapse';
|
|
24
|
-
export type { CollapsePanelProps, CollapseProps } from './collapse';
|
|
25
|
-
export { default as ColorPicker } from './color-picker';
|
|
26
|
-
export type { ColorPickerProps } from './color-picker';
|
|
27
|
-
export { default as DatePicker } from './date-picker';
|
|
28
|
-
export type { DatePickerProps } from './date-picker';
|
|
29
|
-
export { Descriptions, DescriptionsItem } from './descriptions';
|
|
30
|
-
export type { DescriptionsItemProps, DescriptionsProps } from './descriptions';
|
|
31
|
-
export { default as Drawer } from './drawer';
|
|
32
|
-
export type { DrawerProps } from './drawer';
|
|
33
|
-
export { Dropdown, DropdownButton } from './dropdown';
|
|
34
|
-
export type { DropdownButtonProps, DropdownProps } from './dropdown';
|
|
35
|
-
export { default as Divider } from './divider';
|
|
36
|
-
export type { DividerProps } from './divider';
|
|
37
|
-
export { default as Empty } from './empty';
|
|
38
|
-
export type { EmptyProps } from './empty';
|
|
39
|
-
export { Form, FormItem } from './form';
|
|
40
|
-
export type { FormContext, FormItemProps, FormProps, FormSubmitEvent } from './form';
|
|
41
|
-
export type { FormRule } from './form/types';
|
|
42
|
-
export { default as Flex } from './flex';
|
|
43
|
-
export type { FlexAlignType, FlexJustifyType, FlexProps, FlexSizeType } from './flex';
|
|
44
|
-
export { Grid, GridItem } from './grid';
|
|
45
|
-
export type { GridItemProps, GridProps } from './grid';
|
|
46
|
-
export { ImageGroup, KImage } from './image';
|
|
47
|
-
export type { ImageGroupProps, ImageProps } from './image';
|
|
48
|
-
export { default as Icon } from './icon';
|
|
49
|
-
export type { IconProps, IconType } from './icon';
|
|
50
|
-
export { Input, InputGroup, TextArea } from './input';
|
|
51
|
-
export type { InputGroupProps, InputProps, TextAreaProps } from './input';
|
|
52
|
-
export { default as InputNumber } from './input-number';
|
|
53
|
-
export type { InputNumberProps } from './input-number';
|
|
54
|
-
export { Content, Footer, Header, Layout, Sider } from './layout';
|
|
55
|
-
export { default as loading } from './loading';
|
|
56
|
-
export type { LoadingProps } from './loading';
|
|
57
|
-
export { Menu, MenuDivider, MenuGroup, MenuItem, SubMenu } from './menu';
|
|
58
|
-
export type { MenuGroupProps, MenuItemProps, MenuOptionsProps, MenuProps, MenuSelectEvent, SubMenuProps, } from './menu';
|
|
59
|
-
export { default as message } from './message';
|
|
60
|
-
export type { MessageOptions } from './message';
|
|
61
|
-
export { modal, default as Modal } from './modal';
|
|
62
|
-
export type { ModalApiProps, ModalProps } from './modal';
|
|
63
|
-
export { default as notice } from './notice';
|
|
64
|
-
export type { NoticeOptions } from './notice';
|
|
65
|
-
export { default as Page } from './page';
|
|
66
|
-
export type { PageProps } from './page';
|
|
67
|
-
export { default as Poptip } from './poptip';
|
|
68
|
-
export type { PoptipProps } from './poptip';
|
|
69
|
-
export { default as Popconfirm } from './popconfirm';
|
|
70
|
-
export type { PopconfirmProps } from './popconfirm';
|
|
71
|
-
export { default as Progress } from './progress';
|
|
72
|
-
export type { ProgressProps, ProgressStatus, ProgressStroke, ProgressType } from './progress';
|
|
73
|
-
export { Radio, RadioButton, RadioGroup } from './radio';
|
|
74
|
-
export type { RadioButtonProps, RadioGroupProps, RadioOption, RadioProps } from './radio';
|
|
75
|
-
export { default as Rate } from './rate';
|
|
76
|
-
export type { RateProps } from './rate';
|
|
77
|
-
export { Option, Select } from './select';
|
|
78
|
-
export type { OptionProps, SelectOption, SelectProps } from './select';
|
|
79
|
-
export { default as ConfigProvider } from './config';
|
|
80
|
-
export { Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText } from './skeleton';
|
|
81
|
-
export type { SkeletonProps } from './skeleton';
|
|
82
|
-
export { StatCard, StatNumber } from './stat-card';
|
|
83
|
-
export type { StatCardProps, StatNumberItem, StatNumberProps } from './stat-card';
|
|
84
|
-
export { default as Slider } from './slider';
|
|
85
|
-
export type { SliderProps } from './slider';
|
|
86
|
-
export { default as Space } from './space';
|
|
87
|
-
export type { SpaceProps } from './space';
|
|
88
|
-
export { default as Spin } from './spin';
|
|
89
|
-
export type { SpinProps } from './spin';
|
|
90
|
-
export { default as KSwitch } from './switch';
|
|
91
|
-
export type { SwitchProps } from './switch';
|
|
92
|
-
export { default as Table } from './table';
|
|
93
|
-
export type { Column, SortState, TableProps } from './table';
|
|
94
|
-
export { default as Tooltip } from './tooltip';
|
|
95
|
-
export type { TooltipProps } from './tooltip';
|
|
96
|
-
export { TabPanel, Tabs } from './tabs';
|
|
97
|
-
export type { TabPanelProps, TabsProps } from './tabs';
|
|
98
|
-
export { TimeLine, TimeLineItem } from './time-line';
|
|
99
|
-
export type { TimelineItemProps, TimelineMode, TimelineProps } from './time-line';
|
|
100
|
-
export { default as Tree } from './tree';
|
|
101
|
-
export type { TreeExpandEvent, TreeNode, TreeProps } from './tree';
|
|
102
|
-
export { default as TreeSelect } from './tree-select';
|
|
103
|
-
export type { TreeSelectProps } from './tree-select';
|
|
104
|
-
export { default as Tag } from './tag';
|
|
105
|
-
export type { TagProps } from './tag';
|
|
106
|
-
export { Col, Row } from './row-col';
|
|
107
|
-
export type { ColProps, RowProps } from './row-col';
|
|
108
|
-
export { default as Upload } from './upload';
|
|
109
|
-
export type { UploadChangeEvent, UploadContext, UploadFile, UploadProps } from './upload';
|
|
110
|
-
export { Splitter, SplitterPanel } from './splitter';
|
|
111
|
-
export type { SplitterPanelProps, SplitterProps } from './splitter';
|
|
112
|
-
export { default as theme } from './utils/theme';
|
|
113
|
-
export type { AlignType, BooleanType, ButtonType, ColorType, DirectionType, DrawerPlacementsType, DropPlacementsType, PlacementsType, RadioType, ShapeType, SizeType, SpinModeType, ThemeType, UploadStatusType, } from './const/types';
|
package/es/config/context.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentInternalInstance } from 'vue';
|
|
2
|
-
interface Point {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
}
|
|
6
|
-
export declare function setAppContext(app: ComponentInternalInstance | null): void;
|
|
7
|
-
export declare const getAppContext: () => ComponentInternalInstance | null;
|
|
8
|
-
export declare const recordMousePoint: () => void;
|
|
9
|
-
export declare const getMousePoint: () => Point;
|
|
10
|
-
export {};
|
package/es/config/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare const ConfigProvider: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
locale: {
|
|
3
|
-
type: ObjectConstructor;
|
|
4
|
-
default: () => null;
|
|
5
|
-
};
|
|
6
|
-
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
-
locale: {
|
|
10
|
-
type: ObjectConstructor;
|
|
11
|
-
default: () => null;
|
|
12
|
-
};
|
|
13
|
-
}>> & Readonly<{}>, {
|
|
14
|
-
locale: Record<string, any>;
|
|
15
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
-
export default ConfigProvider;
|
package/es/const/types.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { colors } from './var';
|
|
3
|
-
export type PlacementsType = "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-top" | "right-bottom";
|
|
4
|
-
export type DrawerPlacementsType = "left" | "right" | "top" | "bottom";
|
|
5
|
-
export type DropPlacementsType = "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right";
|
|
6
|
-
export type ValueType = "string" | "number" | "boolean";
|
|
7
|
-
export type SizeType = "small" | "medium" | "large";
|
|
8
|
-
export type ShapeType = "circle" | "square" | "round";
|
|
9
|
-
export type BooleanType = PropType<boolean | undefined>;
|
|
10
|
-
export type ButtonType = "primary" | "danger" | "warning" | "default" | "text" | "link";
|
|
11
|
-
export type ThemeType = "outline" | "fill" | "default" | "solid" | "dashed" | "card";
|
|
12
|
-
export type RadioType = "radio" | "button";
|
|
13
|
-
export type DirectionType = "horizontal" | "vertical" | "inline";
|
|
14
|
-
export type AlignType = "start" | "center" | "end";
|
|
15
|
-
export type ColorType = PropType<(typeof colors)[number] | string>;
|
|
16
|
-
export type UploadStatusType = "success" | "error" | "uploading" | "waiting";
|
|
17
|
-
export type SpinModeType = "bounce" | "flip" | "rotate" | "zoom";
|
|
18
|
-
export type TriggerType = "hover" | "click" | "contextmenu";
|
|
19
|
-
export type NoticeType = "info" | "success" | "warning" | "error" | "loading";
|
package/es/const/var.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const colors: readonly ["default", "red", "orange", "yellow", "olive", "green", "teal", "blue", "volcano", "violet", "cyan", "gold", "lime", "magenta", "purple", "pink", "brown", "gray"];
|
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { BooleanType, DropPlacementsType, ShapeType, SizeType, ThemeType } from '../const/types';
|
|
3
|
-
import { IconType } from '../icon';
|
|
4
|
-
type DatePickerValueType = "date" | "timestamp" | "unix" | "string";
|
|
5
|
-
type DatePickerModeType = "year" | "month" | "date" | "time" | "dateTime" | "dateRange" | "dateTimeRange";
|
|
6
|
-
interface DatePickerPresetsType {
|
|
7
|
-
label: string;
|
|
8
|
-
value: () => any;
|
|
9
|
-
}
|
|
10
|
-
export declare const datePickerProps: {
|
|
11
|
-
modelValue: {
|
|
12
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor | ArrayConstructor)[];
|
|
13
|
-
default: null;
|
|
14
|
-
};
|
|
15
|
-
startDate: {
|
|
16
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor)[];
|
|
17
|
-
default: null;
|
|
18
|
-
};
|
|
19
|
-
endDate: {
|
|
20
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor)[];
|
|
21
|
-
default: null;
|
|
22
|
-
};
|
|
23
|
-
valueType: {
|
|
24
|
-
type: PropType<DatePickerValueType>;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
mode: {
|
|
28
|
-
type: PropType<DatePickerModeType>;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
presets: PropType<DatePickerPresetsType[]>;
|
|
32
|
-
disabled: {
|
|
33
|
-
type: BooleanType;
|
|
34
|
-
};
|
|
35
|
-
opened: {
|
|
36
|
-
type: BooleanType;
|
|
37
|
-
};
|
|
38
|
-
clearable: {
|
|
39
|
-
type: BooleanType;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
editable: {
|
|
43
|
-
type: BooleanType;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
placeholder: {
|
|
47
|
-
type: PropType<string | string[]>;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
format: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
default: null;
|
|
53
|
-
};
|
|
54
|
-
disabledDate: {
|
|
55
|
-
type: PropType<(date: Date) => boolean>;
|
|
56
|
-
default: () => boolean;
|
|
57
|
-
};
|
|
58
|
-
disabledTime: {
|
|
59
|
-
type: PropType<(date: Date) => boolean>;
|
|
60
|
-
default: () => boolean;
|
|
61
|
-
};
|
|
62
|
-
size: {
|
|
63
|
-
type: PropType<SizeType>;
|
|
64
|
-
};
|
|
65
|
-
dateIcon: {
|
|
66
|
-
type: PropType<IconType[]>;
|
|
67
|
-
};
|
|
68
|
-
theme: {
|
|
69
|
-
type: PropType<ThemeType>;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
shape: {
|
|
73
|
-
type: PropType<ShapeType>;
|
|
74
|
-
};
|
|
75
|
-
bordered: {
|
|
76
|
-
type: BooleanType;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
placement: {
|
|
80
|
-
type: PropType<DropPlacementsType>;
|
|
81
|
-
default: string;
|
|
82
|
-
};
|
|
83
|
-
onChange: {
|
|
84
|
-
type: PropType<(date: Date | Date[], dateStr: string | string[]) => void>;
|
|
85
|
-
};
|
|
86
|
-
onOpenChange: {
|
|
87
|
-
type: PropType<(open: boolean) => void>;
|
|
88
|
-
};
|
|
89
|
-
onClear: {
|
|
90
|
-
type: PropType<() => void>;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
export type DatePickerProps = ExtractPropTypes<typeof datePickerProps>;
|
|
94
|
-
declare const DatePicker: import('vue').DefineComponent<ExtractPropTypes<{
|
|
95
|
-
modelValue: {
|
|
96
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor | ArrayConstructor)[];
|
|
97
|
-
default: null;
|
|
98
|
-
};
|
|
99
|
-
startDate: {
|
|
100
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor)[];
|
|
101
|
-
default: null;
|
|
102
|
-
};
|
|
103
|
-
endDate: {
|
|
104
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor)[];
|
|
105
|
-
default: null;
|
|
106
|
-
};
|
|
107
|
-
valueType: {
|
|
108
|
-
type: PropType<DatePickerValueType>;
|
|
109
|
-
default: string;
|
|
110
|
-
};
|
|
111
|
-
mode: {
|
|
112
|
-
type: PropType<DatePickerModeType>;
|
|
113
|
-
default: string;
|
|
114
|
-
};
|
|
115
|
-
presets: PropType<DatePickerPresetsType[]>;
|
|
116
|
-
disabled: {
|
|
117
|
-
type: BooleanType;
|
|
118
|
-
};
|
|
119
|
-
opened: {
|
|
120
|
-
type: BooleanType;
|
|
121
|
-
};
|
|
122
|
-
clearable: {
|
|
123
|
-
type: BooleanType;
|
|
124
|
-
default: boolean;
|
|
125
|
-
};
|
|
126
|
-
editable: {
|
|
127
|
-
type: BooleanType;
|
|
128
|
-
default: boolean;
|
|
129
|
-
};
|
|
130
|
-
placeholder: {
|
|
131
|
-
type: PropType<string | string[]>;
|
|
132
|
-
default: string;
|
|
133
|
-
};
|
|
134
|
-
format: {
|
|
135
|
-
type: StringConstructor;
|
|
136
|
-
default: null;
|
|
137
|
-
};
|
|
138
|
-
disabledDate: {
|
|
139
|
-
type: PropType<(date: Date) => boolean>;
|
|
140
|
-
default: () => boolean;
|
|
141
|
-
};
|
|
142
|
-
disabledTime: {
|
|
143
|
-
type: PropType<(date: Date) => boolean>;
|
|
144
|
-
default: () => boolean;
|
|
145
|
-
};
|
|
146
|
-
size: {
|
|
147
|
-
type: PropType<SizeType>;
|
|
148
|
-
};
|
|
149
|
-
dateIcon: {
|
|
150
|
-
type: PropType<IconType[]>;
|
|
151
|
-
};
|
|
152
|
-
theme: {
|
|
153
|
-
type: PropType<ThemeType>;
|
|
154
|
-
default: string;
|
|
155
|
-
};
|
|
156
|
-
shape: {
|
|
157
|
-
type: PropType<ShapeType>;
|
|
158
|
-
};
|
|
159
|
-
bordered: {
|
|
160
|
-
type: BooleanType;
|
|
161
|
-
default: boolean;
|
|
162
|
-
};
|
|
163
|
-
placement: {
|
|
164
|
-
type: PropType<DropPlacementsType>;
|
|
165
|
-
default: string;
|
|
166
|
-
};
|
|
167
|
-
onChange: {
|
|
168
|
-
type: PropType<(date: Date | Date[], dateStr: string | string[]) => void>;
|
|
169
|
-
};
|
|
170
|
-
onOpenChange: {
|
|
171
|
-
type: PropType<(open: boolean) => void>;
|
|
172
|
-
};
|
|
173
|
-
onClear: {
|
|
174
|
-
type: PropType<() => void>;
|
|
175
|
-
};
|
|
176
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
177
|
-
modelValue: {
|
|
178
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor | ArrayConstructor)[];
|
|
179
|
-
default: null;
|
|
180
|
-
};
|
|
181
|
-
startDate: {
|
|
182
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor)[];
|
|
183
|
-
default: null;
|
|
184
|
-
};
|
|
185
|
-
endDate: {
|
|
186
|
-
type: (NumberConstructor | ObjectConstructor | StringConstructor | DateConstructor)[];
|
|
187
|
-
default: null;
|
|
188
|
-
};
|
|
189
|
-
valueType: {
|
|
190
|
-
type: PropType<DatePickerValueType>;
|
|
191
|
-
default: string;
|
|
192
|
-
};
|
|
193
|
-
mode: {
|
|
194
|
-
type: PropType<DatePickerModeType>;
|
|
195
|
-
default: string;
|
|
196
|
-
};
|
|
197
|
-
presets: PropType<DatePickerPresetsType[]>;
|
|
198
|
-
disabled: {
|
|
199
|
-
type: BooleanType;
|
|
200
|
-
};
|
|
201
|
-
opened: {
|
|
202
|
-
type: BooleanType;
|
|
203
|
-
};
|
|
204
|
-
clearable: {
|
|
205
|
-
type: BooleanType;
|
|
206
|
-
default: boolean;
|
|
207
|
-
};
|
|
208
|
-
editable: {
|
|
209
|
-
type: BooleanType;
|
|
210
|
-
default: boolean;
|
|
211
|
-
};
|
|
212
|
-
placeholder: {
|
|
213
|
-
type: PropType<string | string[]>;
|
|
214
|
-
default: string;
|
|
215
|
-
};
|
|
216
|
-
format: {
|
|
217
|
-
type: StringConstructor;
|
|
218
|
-
default: null;
|
|
219
|
-
};
|
|
220
|
-
disabledDate: {
|
|
221
|
-
type: PropType<(date: Date) => boolean>;
|
|
222
|
-
default: () => boolean;
|
|
223
|
-
};
|
|
224
|
-
disabledTime: {
|
|
225
|
-
type: PropType<(date: Date) => boolean>;
|
|
226
|
-
default: () => boolean;
|
|
227
|
-
};
|
|
228
|
-
size: {
|
|
229
|
-
type: PropType<SizeType>;
|
|
230
|
-
};
|
|
231
|
-
dateIcon: {
|
|
232
|
-
type: PropType<IconType[]>;
|
|
233
|
-
};
|
|
234
|
-
theme: {
|
|
235
|
-
type: PropType<ThemeType>;
|
|
236
|
-
default: string;
|
|
237
|
-
};
|
|
238
|
-
shape: {
|
|
239
|
-
type: PropType<ShapeType>;
|
|
240
|
-
};
|
|
241
|
-
bordered: {
|
|
242
|
-
type: BooleanType;
|
|
243
|
-
default: boolean;
|
|
244
|
-
};
|
|
245
|
-
placement: {
|
|
246
|
-
type: PropType<DropPlacementsType>;
|
|
247
|
-
default: string;
|
|
248
|
-
};
|
|
249
|
-
onChange: {
|
|
250
|
-
type: PropType<(date: Date | Date[], dateStr: string | string[]) => void>;
|
|
251
|
-
};
|
|
252
|
-
onOpenChange: {
|
|
253
|
-
type: PropType<(open: boolean) => void>;
|
|
254
|
-
};
|
|
255
|
-
onClear: {
|
|
256
|
-
type: PropType<() => void>;
|
|
257
|
-
};
|
|
258
|
-
}>> & Readonly<{}>, {
|
|
259
|
-
bordered: boolean | undefined;
|
|
260
|
-
mode: DatePickerModeType;
|
|
261
|
-
theme: ThemeType;
|
|
262
|
-
placeholder: string | string[];
|
|
263
|
-
modelValue: string | number | Record<string, any> | Date | unknown[];
|
|
264
|
-
valueType: DatePickerValueType;
|
|
265
|
-
placement: DropPlacementsType;
|
|
266
|
-
clearable: boolean | undefined;
|
|
267
|
-
startDate: string | number | Record<string, any> | Date;
|
|
268
|
-
endDate: string | number | Record<string, any> | Date;
|
|
269
|
-
editable: boolean | undefined;
|
|
270
|
-
format: string;
|
|
271
|
-
disabledDate: (date: Date) => boolean;
|
|
272
|
-
disabledTime: (date: Date) => boolean;
|
|
273
|
-
}, {}, {}, {
|
|
274
|
-
transfer: import('vue').ObjectDirective<any, any, string, any>;
|
|
275
|
-
resize: import('vue').ObjectDirective<any, any, string, any>;
|
|
276
|
-
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
277
|
-
export default DatePicker;
|