cleek 2.8.10 → 2.9.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/cleek-styles/cleek-mixins.styl +7 -0
- package/dist/main.cjs.js +46 -46
- package/dist/main.css +1 -1
- package/dist/main.es.js +30580 -30513
- package/dist/types/components/ck-input/ck-input-date.vue.d.ts +9 -5
- package/dist/types/components/ck-label.vue.d.ts +2 -2
- package/dist/types/components/ck-popup.vue.d.ts +139 -60
- package/dist/types/components/ck-sidebar.vue.d.ts +59 -36
- package/dist/types/components/ck-switch-options.vue.d.ts +79 -38
- package/dist/types/components/ck-switch.vue.d.ts +54 -32
- package/dist/types/components/ck-tabs/ck-tab.vue.d.ts +28 -0
- package/dist/types/components/ck-tabs/ck-tabs.vue.d.ts +11 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/utils/css-helpers.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Align, AlignVertical, Color, Icon, WidthBreaks } from '../../types/cleek-options';
|
|
2
2
|
import { IconPack } from '@fortawesome/fontawesome-svg-core';
|
|
3
3
|
|
|
4
|
-
type
|
|
4
|
+
type DateString = null | string;
|
|
5
5
|
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
modelValue:
|
|
6
|
+
modelValue: DateString;
|
|
7
7
|
label?: string;
|
|
8
|
+
clearable?: boolean;
|
|
9
|
+
clearValue?: DateString;
|
|
8
10
|
icon?: Icon;
|
|
9
11
|
iconRight?: Icon;
|
|
10
12
|
iconPack?: IconPack;
|
|
@@ -13,11 +15,13 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
15
|
group?: Align;
|
|
14
16
|
groupVertical?: AlignVertical;
|
|
15
17
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
change: (value: string) => void;
|
|
16
19
|
"update:modelValue": (modelValue: string) => void;
|
|
17
|
-
change: (modelValue: string) => void;
|
|
18
20
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
-
modelValue:
|
|
21
|
+
modelValue: DateString;
|
|
20
22
|
label?: string;
|
|
23
|
+
clearable?: boolean;
|
|
24
|
+
clearValue?: DateString;
|
|
21
25
|
icon?: Icon;
|
|
22
26
|
iconRight?: Icon;
|
|
23
27
|
iconPack?: IconPack;
|
|
@@ -26,7 +30,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
26
30
|
group?: Align;
|
|
27
31
|
groupVertical?: AlignVertical;
|
|
28
32
|
}>>> & {
|
|
29
|
-
onChange?: (
|
|
33
|
+
onChange?: (value: string) => any;
|
|
30
34
|
"onUpdate:modelValue"?: (modelValue: string) => any;
|
|
31
35
|
}, {}, {}>;
|
|
32
36
|
export default _default;
|
|
@@ -4,11 +4,11 @@ declare function __VLS_template(): {
|
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
for
|
|
7
|
+
for?: string;
|
|
8
8
|
align: Align;
|
|
9
9
|
size?: "s" | "m" | "l" | "xl";
|
|
10
10
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
for
|
|
11
|
+
for?: string;
|
|
12
12
|
align: Align;
|
|
13
13
|
size?: "s" | "m" | "l" | "xl";
|
|
14
14
|
}>>>, {}, {}>;
|
|
@@ -1,76 +1,155 @@
|
|
|
1
|
-
import { Align,
|
|
1
|
+
import { Align, Layout, ButtonType } from '../types/cleek-options';
|
|
2
2
|
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
header?(_: {}): any;
|
|
5
5
|
default?(_: {}): any;
|
|
6
6
|
footer?(_: {}): any;
|
|
7
7
|
};
|
|
8
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
9
|
-
modelValue:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
8
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
9
|
+
modelValue: {
|
|
10
|
+
required: true;
|
|
11
|
+
type: import('vue').PropType<boolean>;
|
|
12
|
+
};
|
|
13
|
+
title: {
|
|
14
|
+
type: import('vue').PropType<string>;
|
|
15
|
+
};
|
|
16
|
+
confirmButtons: {
|
|
17
|
+
type: import('vue').PropType<boolean>;
|
|
18
|
+
};
|
|
19
|
+
acceptButton: {
|
|
20
|
+
type: import('vue').PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
acceptBtnText: {
|
|
23
|
+
type: import('vue').PropType<string>;
|
|
24
|
+
};
|
|
25
|
+
acceptBtnType: {
|
|
26
|
+
type: import('vue').PropType<ButtonType>;
|
|
27
|
+
};
|
|
28
|
+
cancelButton: {
|
|
29
|
+
type: import('vue').PropType<boolean>;
|
|
30
|
+
};
|
|
31
|
+
cancelBtnText: {
|
|
32
|
+
type: import('vue').PropType<string>;
|
|
33
|
+
};
|
|
34
|
+
cancelBtnType: {
|
|
35
|
+
type: import('vue').PropType<ButtonType>;
|
|
36
|
+
};
|
|
37
|
+
notCloseBtn: {
|
|
38
|
+
type: import('vue').PropType<boolean>;
|
|
39
|
+
};
|
|
40
|
+
notCloseByBg: {
|
|
41
|
+
type: import('vue').PropType<boolean>;
|
|
42
|
+
};
|
|
43
|
+
notClose: {
|
|
44
|
+
type: import('vue').PropType<boolean>;
|
|
45
|
+
};
|
|
46
|
+
preventCloseOnCancel: {
|
|
47
|
+
type: import('vue').PropType<boolean>;
|
|
48
|
+
};
|
|
49
|
+
isLoading: {
|
|
50
|
+
type: import('vue').PropType<boolean>;
|
|
51
|
+
};
|
|
52
|
+
width: {
|
|
53
|
+
type: import('vue').PropType<number>;
|
|
54
|
+
};
|
|
55
|
+
maxWidth: {
|
|
56
|
+
type: import('vue').PropType<number>;
|
|
57
|
+
};
|
|
58
|
+
layout: {
|
|
59
|
+
type: import('vue').PropType<Layout>;
|
|
60
|
+
};
|
|
61
|
+
textColor: {
|
|
62
|
+
type: import('vue').PropType<string>;
|
|
63
|
+
};
|
|
64
|
+
headerColor: {
|
|
65
|
+
type: import('vue').PropType<string>;
|
|
66
|
+
};
|
|
67
|
+
headerAlign: {
|
|
68
|
+
type: import('vue').PropType<Align>;
|
|
69
|
+
};
|
|
70
|
+
backgroundColor: {
|
|
71
|
+
type: import('vue').PropType<string>;
|
|
72
|
+
};
|
|
73
|
+
fontSize: {
|
|
74
|
+
type: import('vue').PropType<string>;
|
|
75
|
+
};
|
|
76
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
77
|
cancel: () => void;
|
|
34
78
|
accept: () => void;
|
|
35
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<
|
|
36
|
-
modelValue:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
79
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
80
|
+
modelValue: {
|
|
81
|
+
required: true;
|
|
82
|
+
type: import('vue').PropType<boolean>;
|
|
83
|
+
};
|
|
84
|
+
title: {
|
|
85
|
+
type: import('vue').PropType<string>;
|
|
86
|
+
};
|
|
87
|
+
confirmButtons: {
|
|
88
|
+
type: import('vue').PropType<boolean>;
|
|
89
|
+
};
|
|
90
|
+
acceptButton: {
|
|
91
|
+
type: import('vue').PropType<boolean>;
|
|
92
|
+
};
|
|
93
|
+
acceptBtnText: {
|
|
94
|
+
type: import('vue').PropType<string>;
|
|
95
|
+
};
|
|
96
|
+
acceptBtnType: {
|
|
97
|
+
type: import('vue').PropType<ButtonType>;
|
|
98
|
+
};
|
|
99
|
+
cancelButton: {
|
|
100
|
+
type: import('vue').PropType<boolean>;
|
|
101
|
+
};
|
|
102
|
+
cancelBtnText: {
|
|
103
|
+
type: import('vue').PropType<string>;
|
|
104
|
+
};
|
|
105
|
+
cancelBtnType: {
|
|
106
|
+
type: import('vue').PropType<ButtonType>;
|
|
107
|
+
};
|
|
108
|
+
notCloseBtn: {
|
|
109
|
+
type: import('vue').PropType<boolean>;
|
|
110
|
+
};
|
|
111
|
+
notCloseByBg: {
|
|
112
|
+
type: import('vue').PropType<boolean>;
|
|
113
|
+
};
|
|
114
|
+
notClose: {
|
|
115
|
+
type: import('vue').PropType<boolean>;
|
|
116
|
+
};
|
|
117
|
+
preventCloseOnCancel: {
|
|
118
|
+
type: import('vue').PropType<boolean>;
|
|
119
|
+
};
|
|
120
|
+
isLoading: {
|
|
121
|
+
type: import('vue').PropType<boolean>;
|
|
122
|
+
};
|
|
123
|
+
width: {
|
|
124
|
+
type: import('vue').PropType<number>;
|
|
125
|
+
};
|
|
126
|
+
maxWidth: {
|
|
127
|
+
type: import('vue').PropType<number>;
|
|
128
|
+
};
|
|
129
|
+
layout: {
|
|
130
|
+
type: import('vue').PropType<Layout>;
|
|
131
|
+
};
|
|
132
|
+
textColor: {
|
|
133
|
+
type: import('vue').PropType<string>;
|
|
134
|
+
};
|
|
135
|
+
headerColor: {
|
|
136
|
+
type: import('vue').PropType<string>;
|
|
137
|
+
};
|
|
138
|
+
headerAlign: {
|
|
139
|
+
type: import('vue').PropType<Align>;
|
|
140
|
+
};
|
|
141
|
+
backgroundColor: {
|
|
142
|
+
type: import('vue').PropType<string>;
|
|
143
|
+
};
|
|
144
|
+
fontSize: {
|
|
145
|
+
type: import('vue').PropType<string>;
|
|
146
|
+
};
|
|
147
|
+
}>> & {
|
|
60
148
|
onAccept?: () => any;
|
|
61
149
|
onCancel?: () => any;
|
|
62
150
|
}, {}, {}>;
|
|
63
151
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
64
152
|
export default _default;
|
|
65
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
66
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
67
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
68
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
69
|
-
} : {
|
|
70
|
-
type: import('vue').PropType<T[K]>;
|
|
71
|
-
required: true;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
153
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
75
154
|
new (): {
|
|
76
155
|
$slots: S;
|
|
@@ -1,45 +1,68 @@
|
|
|
1
|
-
import { Color } from '../types/cleek-options';
|
|
2
|
-
|
|
3
1
|
declare function __VLS_template(): {
|
|
4
2
|
default?(_: {}): any;
|
|
5
3
|
footer?(_: {}): any;
|
|
6
4
|
};
|
|
7
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
8
|
-
modelValue:
|
|
9
|
-
title?: string;
|
|
10
|
-
width?: string;
|
|
11
|
-
rightSide?: boolean;
|
|
12
|
-
headerColor?: Color;
|
|
13
|
-
headerAlign?: boolean;
|
|
14
|
-
closeBtnAlign?: "left" | "right";
|
|
15
|
-
notCloseBtn?: boolean;
|
|
16
|
-
isLoading?: boolean;
|
|
17
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
-
"update:modelValue": (value: boolean) => void;
|
|
19
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
-
modelValue: boolean;
|
|
21
|
-
title?: string;
|
|
22
|
-
width?: string;
|
|
23
|
-
rightSide?: boolean;
|
|
24
|
-
headerColor?: Color;
|
|
25
|
-
headerAlign?: boolean;
|
|
26
|
-
closeBtnAlign?: "left" | "right";
|
|
27
|
-
notCloseBtn?: boolean;
|
|
28
|
-
isLoading?: boolean;
|
|
29
|
-
}>>> & {
|
|
30
|
-
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
31
|
-
}, {}, {}>;
|
|
32
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
33
|
-
export default _default;
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
-
} : {
|
|
39
|
-
type: import('vue').PropType<T[K]>;
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
6
|
+
modelValue: {
|
|
40
7
|
required: true;
|
|
8
|
+
type: import('vue').PropType<boolean>;
|
|
41
9
|
};
|
|
42
|
-
|
|
10
|
+
title: {
|
|
11
|
+
type: import('vue').PropType<string>;
|
|
12
|
+
};
|
|
13
|
+
width: {
|
|
14
|
+
type: import('vue').PropType<string>;
|
|
15
|
+
};
|
|
16
|
+
rightSide: {
|
|
17
|
+
type: import('vue').PropType<boolean>;
|
|
18
|
+
};
|
|
19
|
+
headerColor: {
|
|
20
|
+
type: import('vue').PropType<string>;
|
|
21
|
+
};
|
|
22
|
+
headerAlign: {
|
|
23
|
+
type: import('vue').PropType<boolean>;
|
|
24
|
+
};
|
|
25
|
+
closeBtnAlign: {
|
|
26
|
+
type: import('vue').PropType<"left" | "right">;
|
|
27
|
+
};
|
|
28
|
+
notCloseBtn: {
|
|
29
|
+
type: import('vue').PropType<boolean>;
|
|
30
|
+
};
|
|
31
|
+
isLoading: {
|
|
32
|
+
type: import('vue').PropType<boolean>;
|
|
33
|
+
};
|
|
34
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
35
|
+
modelValue: {
|
|
36
|
+
required: true;
|
|
37
|
+
type: import('vue').PropType<boolean>;
|
|
38
|
+
};
|
|
39
|
+
title: {
|
|
40
|
+
type: import('vue').PropType<string>;
|
|
41
|
+
};
|
|
42
|
+
width: {
|
|
43
|
+
type: import('vue').PropType<string>;
|
|
44
|
+
};
|
|
45
|
+
rightSide: {
|
|
46
|
+
type: import('vue').PropType<boolean>;
|
|
47
|
+
};
|
|
48
|
+
headerColor: {
|
|
49
|
+
type: import('vue').PropType<string>;
|
|
50
|
+
};
|
|
51
|
+
headerAlign: {
|
|
52
|
+
type: import('vue').PropType<boolean>;
|
|
53
|
+
};
|
|
54
|
+
closeBtnAlign: {
|
|
55
|
+
type: import('vue').PropType<"left" | "right">;
|
|
56
|
+
};
|
|
57
|
+
notCloseBtn: {
|
|
58
|
+
type: import('vue').PropType<boolean>;
|
|
59
|
+
};
|
|
60
|
+
isLoading: {
|
|
61
|
+
type: import('vue').PropType<boolean>;
|
|
62
|
+
};
|
|
63
|
+
}>>, {}, {}>;
|
|
64
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
65
|
+
export default _default;
|
|
43
66
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
67
|
new (): {
|
|
45
68
|
$slots: S;
|
|
@@ -1,42 +1,83 @@
|
|
|
1
|
+
import { Align } from '../types/cleek-options';
|
|
2
|
+
|
|
1
3
|
type Option = boolean | number | object | string;
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
modelValue:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
modelValue: {
|
|
6
|
+
required: true;
|
|
7
|
+
type: import('vue').PropType<Option>;
|
|
8
|
+
};
|
|
9
|
+
group: {
|
|
10
|
+
type: import('vue').PropType<"left" | "center" | "right">;
|
|
11
|
+
};
|
|
12
|
+
groupVertical: {
|
|
13
|
+
type: import('vue').PropType<"center" | "top" | "bottom">;
|
|
14
|
+
};
|
|
15
|
+
widthBreaks: {
|
|
16
|
+
type: import('vue').PropType<[number, string][]>;
|
|
17
|
+
};
|
|
18
|
+
label: {
|
|
19
|
+
type: import('vue').PropType<string>;
|
|
20
|
+
};
|
|
21
|
+
labelAlign: {
|
|
22
|
+
type: import('vue').PropType<Align>;
|
|
23
|
+
};
|
|
24
|
+
options: {
|
|
25
|
+
type: import('vue').PropType<Option[]>;
|
|
26
|
+
};
|
|
27
|
+
prop: {
|
|
28
|
+
type: import('vue').PropType<string>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
notReduce: {
|
|
32
|
+
type: import('vue').PropType<boolean>;
|
|
33
|
+
};
|
|
34
|
+
reduceFunction: {
|
|
35
|
+
type: import('vue').PropType<(option: Option) => any>;
|
|
36
|
+
};
|
|
37
|
+
sameWidthOptions: {
|
|
38
|
+
type: import('vue').PropType<boolean>;
|
|
39
|
+
};
|
|
40
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
41
|
change: (value: Option) => void;
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<
|
|
18
|
-
modelValue:
|
|
19
|
-
options?: Option[];
|
|
20
|
-
prop?: string;
|
|
21
|
-
notReduce?: boolean;
|
|
22
|
-
reduceFunction?: (option: Option) => any;
|
|
23
|
-
label?: string;
|
|
24
|
-
labelAlign?: string;
|
|
25
|
-
widthBreaks?: [number, string][];
|
|
26
|
-
group?: "left" | "right" | "center";
|
|
27
|
-
groupVertical?: "top" | "bottom" | "center";
|
|
28
|
-
sameWidthOptions?: boolean;
|
|
29
|
-
}>>> & {
|
|
30
|
-
onChange?: (value: Option) => any;
|
|
31
|
-
"onUpdate:modelValue"?: (value: Option) => any;
|
|
32
|
-
}, {}, {}>;
|
|
33
|
-
export default _default;
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
-
} : {
|
|
39
|
-
type: import('vue').PropType<T[K]>;
|
|
42
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
43
|
+
modelValue: {
|
|
40
44
|
required: true;
|
|
45
|
+
type: import('vue').PropType<Option>;
|
|
46
|
+
};
|
|
47
|
+
group: {
|
|
48
|
+
type: import('vue').PropType<"left" | "center" | "right">;
|
|
49
|
+
};
|
|
50
|
+
groupVertical: {
|
|
51
|
+
type: import('vue').PropType<"center" | "top" | "bottom">;
|
|
52
|
+
};
|
|
53
|
+
widthBreaks: {
|
|
54
|
+
type: import('vue').PropType<[number, string][]>;
|
|
55
|
+
};
|
|
56
|
+
label: {
|
|
57
|
+
type: import('vue').PropType<string>;
|
|
58
|
+
};
|
|
59
|
+
labelAlign: {
|
|
60
|
+
type: import('vue').PropType<Align>;
|
|
61
|
+
};
|
|
62
|
+
options: {
|
|
63
|
+
type: import('vue').PropType<Option[]>;
|
|
41
64
|
};
|
|
42
|
-
|
|
65
|
+
prop: {
|
|
66
|
+
type: import('vue').PropType<string>;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
notReduce: {
|
|
70
|
+
type: import('vue').PropType<boolean>;
|
|
71
|
+
};
|
|
72
|
+
reduceFunction: {
|
|
73
|
+
type: import('vue').PropType<(option: Option) => any>;
|
|
74
|
+
};
|
|
75
|
+
sameWidthOptions: {
|
|
76
|
+
type: import('vue').PropType<boolean>;
|
|
77
|
+
};
|
|
78
|
+
}>> & {
|
|
79
|
+
onChange?: (value: Option) => any;
|
|
80
|
+
}, {
|
|
81
|
+
prop: string;
|
|
82
|
+
}, {}>;
|
|
83
|
+
export default _default;
|
|
@@ -1,45 +1,67 @@
|
|
|
1
1
|
import { Icon, IconPack, Size } from '../types/cleek-options';
|
|
2
2
|
|
|
3
|
-
type ModelValue = boolean | 1 | 0;
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
4
|
default?(_: {}): any;
|
|
6
5
|
};
|
|
7
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
8
|
-
modelValue:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
required: true;
|
|
9
|
+
type: import('vue').PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
preventAutoUpdate: {
|
|
12
|
+
type: import('vue').PropType<boolean>;
|
|
13
|
+
};
|
|
14
|
+
disabled: {
|
|
15
|
+
type: import('vue').PropType<boolean>;
|
|
16
|
+
};
|
|
17
|
+
outlined: {
|
|
18
|
+
type: import('vue').PropType<boolean>;
|
|
19
|
+
};
|
|
20
|
+
squared: {
|
|
21
|
+
type: import('vue').PropType<boolean>;
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
type: import('vue').PropType<Size>;
|
|
25
|
+
};
|
|
26
|
+
icon: {
|
|
27
|
+
type: import('vue').PropType<Icon>;
|
|
28
|
+
};
|
|
29
|
+
iconPack: {
|
|
30
|
+
type: import('vue').PropType<IconPack>;
|
|
31
|
+
};
|
|
32
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
33
|
click: () => void;
|
|
19
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<
|
|
20
|
-
modelValue:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
35
|
+
modelValue: {
|
|
36
|
+
required: true;
|
|
37
|
+
type: import('vue').PropType<boolean>;
|
|
38
|
+
};
|
|
39
|
+
preventAutoUpdate: {
|
|
40
|
+
type: import('vue').PropType<boolean>;
|
|
41
|
+
};
|
|
42
|
+
disabled: {
|
|
43
|
+
type: import('vue').PropType<boolean>;
|
|
44
|
+
};
|
|
45
|
+
outlined: {
|
|
46
|
+
type: import('vue').PropType<boolean>;
|
|
47
|
+
};
|
|
48
|
+
squared: {
|
|
49
|
+
type: import('vue').PropType<boolean>;
|
|
50
|
+
};
|
|
51
|
+
size: {
|
|
52
|
+
type: import('vue').PropType<Size>;
|
|
53
|
+
};
|
|
54
|
+
icon: {
|
|
55
|
+
type: import('vue').PropType<Icon>;
|
|
56
|
+
};
|
|
57
|
+
iconPack: {
|
|
58
|
+
type: import('vue').PropType<IconPack>;
|
|
59
|
+
};
|
|
60
|
+
}>> & {
|
|
29
61
|
onClick?: () => any;
|
|
30
|
-
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
31
62
|
}, {}, {}>;
|
|
32
63
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
33
64
|
export default _default;
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
-
} : {
|
|
39
|
-
type: import('vue').PropType<T[K]>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
65
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
66
|
new (): {
|
|
45
67
|
$slots: S;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Icon } from '../../types/cleek-options';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
title: string;
|
|
8
|
+
icon: Icon;
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
title: string;
|
|
11
|
+
icon: Icon;
|
|
12
|
+
}>>>, {}, {}>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -9,6 +9,8 @@ export { default as CkTh } from './ck-table/ck-th.vue';
|
|
|
9
9
|
export { default as CkTr } from './ck-table/ck-tr.vue';
|
|
10
10
|
export { default as CkInputDate } from './ck-input/ck-input-date.vue';
|
|
11
11
|
export { default as CkInputTime } from './ck-input/ck-input-time.vue';
|
|
12
|
+
export { default as CkTab } from './ck-tabs/ck-tab.vue';
|
|
13
|
+
export { default as CkTabs } from './ck-tabs/ck-tabs.vue';
|
|
12
14
|
export { default as CkButton } from './ck-button.vue';
|
|
13
15
|
export { default as CkCard } from './ck-card.vue';
|
|
14
16
|
export { default as CkCheckbox } from './ck-checkbox.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function setBodyOverflow(visible: boolean): void;
|