cleek 2.4.37 → 2.4.40
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.es.js +217 -122
- package/dist/cleek.umd.js +11 -11
- package/dist/components/ck-chip.vue.d.ts +7 -6
- package/dist/components/ck-icon.vue.d.ts +9 -14
- package/dist/components/ck-img.vue.d.ts +7 -8
- package/dist/components/ck-label.vue.d.ts +5 -4
- package/dist/components/ck-navbar/ck-navbar.vue.d.ts +4 -4
- package/dist/components/ck-notify/ck-notify.d.ts +3 -3
- package/dist/components/ck-notify/components/CkConfirm.vue.d.ts +7 -6
- package/dist/components/ck-notify/components/CkNotify.vue.d.ts +6 -5
- package/dist/components/ck-popup.vue.d.ts +2 -4
- package/dist/components/ck-select.vue.d.ts +4 -4
- package/dist/components/ck-switch.vue.d.ts +7 -6
- package/dist/components/ck-table/inner-components/ck-table__pagination.vue.d.ts +1 -0
- package/dist/components/ck-textarea.vue.d.ts +8 -0
- package/dist/style.css +1 -1
- package/dist/types/cleek-options.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,17 +1,18 @@
|
|
|
1
|
+
import { Icon, IconPack, Size } from '../types/cleek-options';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
size?:
|
|
3
|
+
size?: Size | undefined;
|
|
3
4
|
color?: string | undefined;
|
|
4
5
|
textColor?: string | undefined;
|
|
5
|
-
icon?:
|
|
6
|
-
iconPack?:
|
|
6
|
+
icon?: Icon | undefined;
|
|
7
|
+
iconPack?: IconPack | undefined;
|
|
7
8
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
9
|
click: (event: Event) => void;
|
|
9
10
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
size?:
|
|
11
|
+
size?: Size | undefined;
|
|
11
12
|
color?: string | undefined;
|
|
12
13
|
textColor?: string | undefined;
|
|
13
|
-
icon?:
|
|
14
|
-
iconPack?:
|
|
14
|
+
icon?: Icon | undefined;
|
|
15
|
+
iconPack?: IconPack | undefined;
|
|
15
16
|
}>>> & {
|
|
16
17
|
onClick?: ((event: Event) => any) | undefined;
|
|
17
18
|
}, {}>;
|
|
@@ -1,29 +1,24 @@
|
|
|
1
|
+
import type { Icon, IconPack } from '../types/cleek-options';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
icon:
|
|
3
|
+
icon: Icon;
|
|
4
|
+
iconPack?: IconPack | undefined;
|
|
3
5
|
color?: string | undefined;
|
|
4
|
-
iconPack?: string | undefined;
|
|
5
6
|
size?: string | undefined;
|
|
6
|
-
rotation?: string | undefined;
|
|
7
7
|
flip?: "both" | "horizontal" | "vertical" | undefined;
|
|
8
|
-
|
|
8
|
+
fixedWidth?: string | undefined;
|
|
9
|
+
rotation?: 90 | 180 | 270 | "90" | "180" | "270" | undefined;
|
|
9
10
|
spin?: boolean | undefined;
|
|
10
11
|
pulse?: boolean | undefined;
|
|
11
|
-
inverse?: boolean | undefined;
|
|
12
|
-
fixedWidth?: boolean | undefined;
|
|
13
|
-
swapOpacity?: boolean | undefined;
|
|
14
12
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
-
icon:
|
|
13
|
+
icon: Icon;
|
|
14
|
+
iconPack?: IconPack | undefined;
|
|
16
15
|
color?: string | undefined;
|
|
17
|
-
iconPack?: string | undefined;
|
|
18
16
|
size?: string | undefined;
|
|
19
|
-
rotation?: string | undefined;
|
|
20
17
|
flip?: "both" | "horizontal" | "vertical" | undefined;
|
|
21
|
-
|
|
18
|
+
fixedWidth?: string | undefined;
|
|
19
|
+
rotation?: 90 | 180 | 270 | "90" | "180" | "270" | undefined;
|
|
22
20
|
spin?: boolean | undefined;
|
|
23
21
|
pulse?: boolean | undefined;
|
|
24
|
-
inverse?: boolean | undefined;
|
|
25
|
-
fixedWidth?: boolean | undefined;
|
|
26
|
-
swapOpacity?: boolean | undefined;
|
|
27
22
|
}>>> & {
|
|
28
23
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
29
24
|
}, {}>;
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
+
import type { Color, Size } from '../types/cleek-options';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
3
|
src: string;
|
|
3
|
-
failImgSrc?: string | undefined;
|
|
4
4
|
alt?: string | undefined;
|
|
5
|
-
size?:
|
|
5
|
+
size?: Size | undefined;
|
|
6
6
|
sizeAbsolute?: string | undefined;
|
|
7
7
|
width?: string | undefined;
|
|
8
8
|
height?: string | undefined;
|
|
9
9
|
zoom: boolean;
|
|
10
10
|
zoomTitle: string;
|
|
11
11
|
hasBorder?: boolean | undefined;
|
|
12
|
-
|
|
13
|
-
borderColor: string;
|
|
12
|
+
borderColor: Color;
|
|
14
13
|
rounded?: boolean | undefined;
|
|
14
|
+
radius?: string | undefined;
|
|
15
15
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
16
16
|
src: string;
|
|
17
|
-
failImgSrc?: string | undefined;
|
|
18
17
|
alt?: string | undefined;
|
|
19
|
-
size?:
|
|
18
|
+
size?: Size | undefined;
|
|
20
19
|
sizeAbsolute?: string | undefined;
|
|
21
20
|
width?: string | undefined;
|
|
22
21
|
height?: string | undefined;
|
|
23
22
|
zoom: boolean;
|
|
24
23
|
zoomTitle: string;
|
|
25
24
|
hasBorder?: boolean | undefined;
|
|
26
|
-
|
|
27
|
-
borderColor: string;
|
|
25
|
+
borderColor: Color;
|
|
28
26
|
rounded?: boolean | undefined;
|
|
27
|
+
radius?: string | undefined;
|
|
29
28
|
}>>>, {}>;
|
|
30
29
|
export default _default;
|
|
31
30
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { Align } from '../types/cleek-options';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
3
|
for: string;
|
|
3
|
-
align:
|
|
4
|
-
size
|
|
4
|
+
align: Align;
|
|
5
|
+
size?: "s" | "m" | "l" | "xl" | undefined;
|
|
5
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
7
|
for: string;
|
|
7
|
-
align:
|
|
8
|
-
size
|
|
8
|
+
align: Align;
|
|
9
|
+
size?: "s" | "m" | "l" | "xl" | undefined;
|
|
9
10
|
}>>>, {}>;
|
|
10
11
|
export default _default;
|
|
11
12
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
padding
|
|
3
|
-
position
|
|
2
|
+
padding?: string | undefined;
|
|
3
|
+
position?: string | undefined;
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
padding
|
|
6
|
-
position
|
|
5
|
+
padding?: string | undefined;
|
|
6
|
+
position?: string | undefined;
|
|
7
7
|
}>>>, {}>;
|
|
8
8
|
export default _default;
|
|
9
9
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -14,8 +14,8 @@ declare const _default: {
|
|
|
14
14
|
color?: string | undefined;
|
|
15
15
|
duration?: number | undefined;
|
|
16
16
|
}): void;
|
|
17
|
-
notifySuccess(text
|
|
18
|
-
notifyError(text
|
|
19
|
-
notifyWarning(text
|
|
17
|
+
notifySuccess(text: string, title?: string): void;
|
|
18
|
+
notifyError(text: string, title?: string): void;
|
|
19
|
+
notifyWarning(text: string, title?: string): void;
|
|
20
20
|
};
|
|
21
21
|
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
title:
|
|
3
|
-
msg:
|
|
4
|
-
acceptText:
|
|
5
|
-
cancelText:
|
|
6
|
-
responseSuccess:
|
|
7
|
-
responseFailure:
|
|
3
|
+
title: Ref<string>;
|
|
4
|
+
msg: Ref<string>;
|
|
5
|
+
acceptText: Ref<string>;
|
|
6
|
+
cancelText: Ref<string>;
|
|
7
|
+
responseSuccess: Ref<() => void>;
|
|
8
|
+
responseFailure: Ref<() => void>;
|
|
8
9
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
9
10
|
export default _default;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
title:
|
|
3
|
-
text:
|
|
4
|
-
color:
|
|
5
|
-
duration:
|
|
6
|
-
closeCallback:
|
|
3
|
+
title: Ref<string>;
|
|
4
|
+
text: Ref<string>;
|
|
5
|
+
color: Ref<string>;
|
|
6
|
+
duration: Ref<number>;
|
|
7
|
+
closeCallback: Ref<() => void>;
|
|
7
8
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
8
9
|
export default _default;
|
|
@@ -6,12 +6,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
6
6
|
acceptButton?: boolean | undefined;
|
|
7
7
|
acceptBtnText?: string | undefined;
|
|
8
8
|
acceptBtnType?: ButtonType | undefined;
|
|
9
|
-
cancelButton?: boolean | undefined;
|
|
10
9
|
cancelBtnText?: string | undefined;
|
|
11
10
|
cancelBtnType?: ButtonType | undefined;
|
|
12
|
-
notClose?: boolean | undefined;
|
|
13
11
|
notCloseBtn?: boolean | undefined;
|
|
14
12
|
notCloseByBg?: boolean | undefined;
|
|
13
|
+
notClose?: boolean | undefined;
|
|
15
14
|
preventCloseOnCancel?: boolean | undefined;
|
|
16
15
|
width?: number | undefined;
|
|
17
16
|
maxWidth?: number | undefined;
|
|
@@ -33,12 +32,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
33
32
|
acceptButton?: boolean | undefined;
|
|
34
33
|
acceptBtnText?: string | undefined;
|
|
35
34
|
acceptBtnType?: ButtonType | undefined;
|
|
36
|
-
cancelButton?: boolean | undefined;
|
|
37
35
|
cancelBtnText?: string | undefined;
|
|
38
36
|
cancelBtnType?: ButtonType | undefined;
|
|
39
|
-
notClose?: boolean | undefined;
|
|
40
37
|
notCloseBtn?: boolean | undefined;
|
|
41
38
|
notCloseByBg?: boolean | undefined;
|
|
39
|
+
notClose?: boolean | undefined;
|
|
42
40
|
preventCloseOnCancel?: boolean | undefined;
|
|
43
41
|
width?: number | undefined;
|
|
44
42
|
maxWidth?: number | undefined;
|
|
@@ -13,10 +13,10 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
13
|
notClearable?: boolean | undefined;
|
|
14
14
|
clearValue?: any;
|
|
15
15
|
searchable?: string | boolean | undefined;
|
|
16
|
-
minWidth?: string | undefined;
|
|
17
16
|
width?: string | undefined;
|
|
18
|
-
|
|
17
|
+
minWidth?: string | undefined;
|
|
19
18
|
layout?: Layout | undefined;
|
|
19
|
+
noBorder?: boolean | undefined;
|
|
20
20
|
borderColor?: string | undefined;
|
|
21
21
|
bgTransparent?: boolean | undefined;
|
|
22
22
|
disabled?: boolean | undefined;
|
|
@@ -50,10 +50,10 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
50
50
|
notClearable?: boolean | undefined;
|
|
51
51
|
clearValue?: any;
|
|
52
52
|
searchable?: string | boolean | undefined;
|
|
53
|
-
minWidth?: string | undefined;
|
|
54
53
|
width?: string | undefined;
|
|
55
|
-
|
|
54
|
+
minWidth?: string | undefined;
|
|
56
55
|
layout?: Layout | undefined;
|
|
56
|
+
noBorder?: boolean | undefined;
|
|
57
57
|
borderColor?: string | undefined;
|
|
58
58
|
bgTransparent?: boolean | undefined;
|
|
59
59
|
disabled?: boolean | undefined;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { Icon, IconPack, Size } from '../types/cleek-options';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
3
|
modelValue: boolean | 0 | 1;
|
|
3
4
|
disabled?: boolean | undefined;
|
|
4
5
|
outlined?: boolean | undefined;
|
|
5
6
|
squared?: boolean | undefined;
|
|
6
|
-
size?:
|
|
7
|
-
icon?:
|
|
8
|
-
iconPack?:
|
|
7
|
+
size?: Size | undefined;
|
|
8
|
+
icon?: Icon | undefined;
|
|
9
|
+
iconPack?: IconPack | undefined;
|
|
9
10
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
11
|
"update:modelValue": (value: boolean | 0 | 1) => void;
|
|
11
12
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -13,9 +14,9 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
14
|
disabled?: boolean | undefined;
|
|
14
15
|
outlined?: boolean | undefined;
|
|
15
16
|
squared?: boolean | undefined;
|
|
16
|
-
size?:
|
|
17
|
-
icon?:
|
|
18
|
-
iconPack?:
|
|
17
|
+
size?: Size | undefined;
|
|
18
|
+
icon?: Icon | undefined;
|
|
19
|
+
iconPack?: IconPack | undefined;
|
|
19
20
|
}>>> & {
|
|
20
21
|
"onUpdate:modelValue"?: ((value: boolean | 0 | 1) => any) | undefined;
|
|
21
22
|
}, {}>;
|
|
@@ -5,6 +5,10 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
5
5
|
labelAlign?: Align | undefined;
|
|
6
6
|
layout?: Layout | undefined;
|
|
7
7
|
borderColor?: string | undefined;
|
|
8
|
+
placeholder?: string | undefined;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
|
+
preventResize?: boolean | undefined;
|
|
11
|
+
resize?: "horizontal" | "vertical" | undefined;
|
|
8
12
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
13
|
"update:modelValue": (value: string) => void;
|
|
10
14
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -13,6 +17,10 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
17
|
labelAlign?: Align | undefined;
|
|
14
18
|
layout?: Layout | undefined;
|
|
15
19
|
borderColor?: string | undefined;
|
|
20
|
+
placeholder?: string | undefined;
|
|
21
|
+
disabled?: boolean | undefined;
|
|
22
|
+
preventResize?: boolean | undefined;
|
|
23
|
+
resize?: "horizontal" | "vertical" | undefined;
|
|
16
24
|
}>>> & {
|
|
17
25
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
26
|
}, {}>;
|