cleek 2.4.45 → 2.4.48

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.
Files changed (39) hide show
  1. package/dist/cleek.es.js +64 -16
  2. package/dist/cleek.umd.js +10 -10
  3. package/dist/components/ck-button.vue.d.ts +50 -0
  4. package/dist/components/ck-checkbox.vue.d.ts +26 -0
  5. package/dist/components/ck-chip.vue.d.ts +30 -0
  6. package/dist/components/ck-div.vue.d.ts +19 -0
  7. package/dist/components/ck-dropdown/ck-dropdown.vue.d.ts +20 -0
  8. package/dist/components/ck-icon.vue.d.ts +34 -0
  9. package/dist/components/ck-img.vue.d.ts +38 -0
  10. package/dist/components/ck-input.vue.d.ts +79 -0
  11. package/dist/components/ck-label.vue.d.ts +20 -0
  12. package/dist/components/ck-navbar/ck-navbar.vue.d.ts +17 -0
  13. package/dist/components/ck-notify/ck-notify.d.ts +21 -0
  14. package/dist/components/ck-notify/components/CkConfirm.vue.d.ts +10 -0
  15. package/dist/components/ck-notify/components/CkNotify.vue.d.ts +9 -0
  16. package/dist/components/ck-popup.vue.d.ts +64 -0
  17. package/dist/components/ck-radio.vue.d.ts +34 -0
  18. package/dist/components/ck-select.vue.d.ts +82 -0
  19. package/dist/components/ck-sidebar.vue.d.ts +33 -0
  20. package/dist/components/ck-switch-options.vue.d.ts +42 -0
  21. package/dist/components/ck-switch.vue.d.ts +32 -0
  22. package/dist/components/ck-table/ck-table.vue.d.ts +59 -0
  23. package/dist/components/ck-table/ck-td.vue.d.ts +37 -0
  24. package/dist/components/ck-table/ck-th.vue.d.ts +17 -0
  25. package/dist/components/ck-table/ck-tr.vue.d.ts +2 -0
  26. package/dist/components/ck-table/inner-components/ck-table__columns-manager.vue.d.ts +24 -0
  27. package/dist/components/ck-table/inner-components/ck-table__header-items.vue.d.ts +42 -0
  28. package/dist/components/ck-table/inner-components/ck-table__pagination.vue.d.ts +31 -0
  29. package/dist/components/ck-table/inner-components/ck-table__title.vue.d.ts +16 -0
  30. package/dist/components/ck-textarea.vue.d.ts +63 -0
  31. package/dist/components/index.d.ts +22 -0
  32. package/dist/hooks/windowWidth.d.ts +3 -0
  33. package/dist/package-config.d.ts +3 -0
  34. package/dist/style.css +1 -1
  35. package/dist/types/cleek-options.d.ts +42 -0
  36. package/dist/types/table.d.ts +17 -0
  37. package/dist/utils/functions.d.ts +15 -0
  38. package/dist/utils/globalVariables.d.ts +6 -0
  39. package/package.json +1 -1
@@ -0,0 +1,50 @@
1
+ import type { Align, AlignVertical, Icon, IconPack, Layout, ButtonType, WidthBreaks } from '../types/cleek-options';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ title?: string | undefined;
4
+ disabled?: boolean | undefined;
5
+ type?: ButtonType | undefined;
6
+ color?: string | undefined;
7
+ align?: Align | undefined;
8
+ size?: "s" | "m" | "xs" | "l" | "xl" | undefined;
9
+ width?: string | undefined;
10
+ layout?: Layout | undefined;
11
+ icon?: Icon | undefined;
12
+ iconRight?: Icon | undefined;
13
+ iconPack?: IconPack | undefined;
14
+ label?: string | undefined;
15
+ labelAlign?: Align | undefined;
16
+ widthBreaks?: WidthBreaks | undefined;
17
+ group?: Align | undefined;
18
+ groupVertical?: AlignVertical | undefined;
19
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ click: (event: Event) => void;
21
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
22
+ title?: string | undefined;
23
+ disabled?: boolean | undefined;
24
+ type?: ButtonType | undefined;
25
+ color?: string | undefined;
26
+ align?: Align | undefined;
27
+ size?: "s" | "m" | "xs" | "l" | "xl" | undefined;
28
+ width?: string | undefined;
29
+ layout?: Layout | undefined;
30
+ icon?: Icon | undefined;
31
+ iconRight?: Icon | undefined;
32
+ iconPack?: IconPack | undefined;
33
+ label?: string | undefined;
34
+ labelAlign?: Align | undefined;
35
+ widthBreaks?: WidthBreaks | undefined;
36
+ group?: Align | undefined;
37
+ groupVertical?: AlignVertical | undefined;
38
+ }>>> & {
39
+ onClick?: ((event: Event) => any) | undefined;
40
+ }, {}>;
41
+ export default _default;
42
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
44
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
45
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
+ } : {
47
+ type: import('vue').PropType<T[K]>;
48
+ required: true;
49
+ };
50
+ };
@@ -0,0 +1,26 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ modelValue: boolean;
3
+ label?: string | undefined;
4
+ disabled?: boolean | undefined;
5
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "update:modelValue": (value: boolean) => void;
7
+ } & {
8
+ change: (event: Event) => void;
9
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
+ modelValue: boolean;
11
+ label?: string | undefined;
12
+ disabled?: boolean | undefined;
13
+ }>>> & {
14
+ onChange?: ((event: Event) => any) | undefined;
15
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
16
+ }, {}>;
17
+ export default _default;
18
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
@@ -0,0 +1,30 @@
1
+ import { Icon, IconPack, Size } from '../types/cleek-options';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ size?: Size | undefined;
4
+ color?: string | undefined;
5
+ textColor?: string | undefined;
6
+ align?: any;
7
+ icon?: Icon | undefined;
8
+ iconPack?: IconPack | undefined;
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ click: (event: Event) => void;
11
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
+ size?: Size | undefined;
13
+ color?: string | undefined;
14
+ textColor?: string | undefined;
15
+ align?: any;
16
+ icon?: Icon | undefined;
17
+ iconPack?: IconPack | undefined;
18
+ }>>> & {
19
+ onClick?: ((event: Event) => any) | undefined;
20
+ }, {}>;
21
+ export default _default;
22
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
24
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
25
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
+ } : {
27
+ type: import('vue').PropType<T[K]>;
28
+ required: true;
29
+ };
30
+ };
@@ -0,0 +1,19 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ widthBreaks?: [number, string][] | undefined;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ click: (event: Event) => void;
5
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ widthBreaks?: [number, string][] | undefined;
7
+ }>>> & {
8
+ onClick?: ((event: Event) => any) | undefined;
9
+ }, {}>;
10
+ export default _default;
11
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
13
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
14
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
+ } : {
16
+ type: import('vue').PropType<T[K]>;
17
+ required: true;
18
+ };
19
+ };
@@ -0,0 +1,20 @@
1
+ import { Align, Layout } from '../../types/cleek-options';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ dark?: boolean | undefined;
4
+ align?: Align | undefined;
5
+ layout?: Layout | undefined;
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<{
7
+ dark?: boolean | undefined;
8
+ align?: Align | undefined;
9
+ layout?: Layout | undefined;
10
+ }>>>, {}>;
11
+ export default _default;
12
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
14
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
15
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
+ } : {
17
+ type: import('vue').PropType<T[K]>;
18
+ required: true;
19
+ };
20
+ };
@@ -0,0 +1,34 @@
1
+ import type { Icon, IconPack } from '../types/cleek-options';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ icon: Icon;
4
+ iconPack?: IconPack | undefined;
5
+ color?: string | undefined;
6
+ size?: string | undefined;
7
+ flip?: "both" | "horizontal" | "vertical" | undefined;
8
+ fixedWidth?: string | undefined;
9
+ rotation?: 90 | 180 | 270 | "90" | "180" | "270" | undefined;
10
+ spin?: boolean | undefined;
11
+ pulse?: boolean | undefined;
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<{
13
+ icon: Icon;
14
+ iconPack?: IconPack | undefined;
15
+ color?: string | undefined;
16
+ size?: string | undefined;
17
+ flip?: "both" | "horizontal" | "vertical" | undefined;
18
+ fixedWidth?: string | undefined;
19
+ rotation?: 90 | 180 | 270 | "90" | "180" | "270" | undefined;
20
+ spin?: boolean | undefined;
21
+ pulse?: boolean | undefined;
22
+ }>>> & {
23
+ onClick?: ((...args: any[]) => any) | undefined;
24
+ }, {}>;
25
+ export default _default;
26
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
@@ -0,0 +1,38 @@
1
+ import type { Color, Size } from '../types/cleek-options';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ src: string;
4
+ alt?: string | undefined;
5
+ size?: Size | undefined;
6
+ sizeAbsolute?: string | undefined;
7
+ width?: string | undefined;
8
+ height?: string | undefined;
9
+ zoom: boolean;
10
+ zoomTitle: string;
11
+ hasBorder?: boolean | undefined;
12
+ borderColor: Color;
13
+ rounded?: boolean | undefined;
14
+ radius?: string | undefined;
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
+ src: string;
17
+ alt?: string | undefined;
18
+ size?: Size | undefined;
19
+ sizeAbsolute?: string | undefined;
20
+ width?: string | undefined;
21
+ height?: string | undefined;
22
+ zoom: boolean;
23
+ zoomTitle: string;
24
+ hasBorder?: boolean | undefined;
25
+ borderColor: Color;
26
+ rounded?: boolean | undefined;
27
+ radius?: string | undefined;
28
+ }>>>, {}>;
29
+ export default _default;
30
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
32
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
33
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
+ } : {
35
+ type: import('vue').PropType<T[K]>;
36
+ required: true;
37
+ };
38
+ };
@@ -0,0 +1,79 @@
1
+ import type { Align, AlignVertical, Icon, IconPack, InputType, Layout, SizeInCSS, WidthBreaks } from '../types/cleek-options';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ modelValue: string | number;
4
+ type?: InputType | undefined;
5
+ autocomplete?: boolean | undefined;
6
+ disabled?: boolean | undefined;
7
+ placeholder?: string | undefined;
8
+ label?: string | undefined;
9
+ labelAlign?: Align | undefined;
10
+ icon?: Icon | undefined;
11
+ iconRight?: Icon | undefined;
12
+ iconPack?: IconPack | undefined;
13
+ group?: Align | undefined;
14
+ groupVertical?: AlignVertical | undefined;
15
+ widthBreaks?: WidthBreaks | undefined;
16
+ fontSize: SizeInCSS;
17
+ size?: "s" | "m" | "l" | "xl" | undefined;
18
+ hideBorder?: boolean | undefined;
19
+ width?: string | undefined;
20
+ align?: Align | undefined;
21
+ layout?: Layout | undefined;
22
+ borderColor?: string | undefined;
23
+ capitalize?: boolean | undefined;
24
+ autoSelect?: boolean | undefined;
25
+ delayChangeTime?: number | undefined;
26
+ }>, {
27
+ setFocus: () => void;
28
+ setSelect: () => void;
29
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ "update:modelValue": (value: string | number) => void;
31
+ } & {
32
+ click: (event: Event) => void;
33
+ } & {
34
+ input: (event: Event) => void;
35
+ } & {
36
+ change: (event: Event) => void;
37
+ } & {
38
+ delayChange: (value: string | number) => void;
39
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
40
+ modelValue: string | number;
41
+ type?: InputType | undefined;
42
+ autocomplete?: boolean | undefined;
43
+ disabled?: boolean | undefined;
44
+ placeholder?: string | undefined;
45
+ label?: string | undefined;
46
+ labelAlign?: Align | undefined;
47
+ icon?: Icon | undefined;
48
+ iconRight?: Icon | undefined;
49
+ iconPack?: IconPack | undefined;
50
+ group?: Align | undefined;
51
+ groupVertical?: AlignVertical | undefined;
52
+ widthBreaks?: WidthBreaks | undefined;
53
+ fontSize: SizeInCSS;
54
+ size?: "s" | "m" | "l" | "xl" | undefined;
55
+ hideBorder?: boolean | undefined;
56
+ width?: string | undefined;
57
+ align?: Align | undefined;
58
+ layout?: Layout | undefined;
59
+ borderColor?: string | undefined;
60
+ capitalize?: boolean | undefined;
61
+ autoSelect?: boolean | undefined;
62
+ delayChangeTime?: number | undefined;
63
+ }>>> & {
64
+ onChange?: ((event: Event) => any) | undefined;
65
+ onInput?: ((event: Event) => any) | undefined;
66
+ onClick?: ((event: Event) => any) | undefined;
67
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
68
+ onDelayChange?: ((value: string | number) => any) | undefined;
69
+ }, {}>;
70
+ export default _default;
71
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
72
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
73
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
74
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
75
+ } : {
76
+ type: import('vue').PropType<T[K]>;
77
+ required: true;
78
+ };
79
+ };
@@ -0,0 +1,20 @@
1
+ import { Align } from '../types/cleek-options';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ for: string;
4
+ align: Align;
5
+ size?: "s" | "m" | "l" | "xl" | undefined;
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<{
7
+ for: string;
8
+ align: Align;
9
+ size?: "s" | "m" | "l" | "xl" | undefined;
10
+ }>>>, {}>;
11
+ export default _default;
12
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
14
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
15
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
+ } : {
17
+ type: import('vue').PropType<T[K]>;
18
+ required: true;
19
+ };
20
+ };
@@ -0,0 +1,17 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ padding?: string | undefined;
3
+ position?: string | undefined;
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?: string | undefined;
6
+ position?: string | undefined;
7
+ }>>>, {}>;
8
+ export default _default;
9
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
@@ -0,0 +1,21 @@
1
+ declare const _default: {
2
+ confirmOptions({ title, msg, acceptText, cancelText, success, failure, }: {
3
+ title?: string | undefined;
4
+ msg?: string | undefined;
5
+ acceptText?: string | undefined;
6
+ cancelText?: string | undefined;
7
+ success?: (() => void) | undefined;
8
+ failure?: (() => void) | undefined;
9
+ }): void;
10
+ confirm(msg: string, success: () => void, failure?: (() => void) | undefined): void;
11
+ notify({ text, title, color, duration }: {
12
+ text?: string | undefined;
13
+ title?: string | undefined;
14
+ color?: string | undefined;
15
+ duration?: number | undefined;
16
+ }): void;
17
+ notifySuccess(text: string, title?: string): void;
18
+ notifyError(text: string, title?: string): void;
19
+ notifyWarning(text: string, title?: string): void;
20
+ };
21
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import type { Ref } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{}, {
3
+ title: Ref<string>;
4
+ msg: Ref<string>;
5
+ acceptText: Ref<string>;
6
+ cancelText: Ref<string>;
7
+ responseSuccess: Ref<() => void>;
8
+ responseFailure: Ref<() => void>;
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
10
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import type { Ref } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{}, {
3
+ title: Ref<string>;
4
+ text: Ref<string>;
5
+ color: Ref<string>;
6
+ duration: Ref<number>;
7
+ closeCallback: Ref<() => void>;
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
9
+ export default _default;
@@ -0,0 +1,64 @@
1
+ import { Align, Layout, ButtonType } from '../types/cleek-options';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ modelValue: boolean;
4
+ title?: string | undefined;
5
+ confirmButtons?: boolean | undefined;
6
+ acceptButton?: boolean | undefined;
7
+ acceptBtnText?: string | undefined;
8
+ acceptBtnType?: ButtonType | undefined;
9
+ cancelButton?: boolean | undefined;
10
+ cancelBtnText?: string | undefined;
11
+ cancelBtnType?: ButtonType | undefined;
12
+ notCloseBtn?: boolean | undefined;
13
+ notCloseByBg?: boolean | undefined;
14
+ notClose?: boolean | undefined;
15
+ preventCloseOnCancel?: boolean | undefined;
16
+ width?: number | undefined;
17
+ maxWidth?: number | undefined;
18
+ layout?: Layout | undefined;
19
+ textColor?: string | undefined;
20
+ headerColor?: string | undefined;
21
+ headerAlign?: Align | undefined;
22
+ fontSize?: string | undefined;
23
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ "update:modelValue": (value: boolean) => void;
25
+ } & {
26
+ cancel: () => void;
27
+ } & {
28
+ accept: () => void;
29
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
30
+ modelValue: boolean;
31
+ title?: string | undefined;
32
+ confirmButtons?: boolean | undefined;
33
+ acceptButton?: boolean | undefined;
34
+ acceptBtnText?: string | undefined;
35
+ acceptBtnType?: ButtonType | undefined;
36
+ cancelButton?: boolean | undefined;
37
+ cancelBtnText?: string | undefined;
38
+ cancelBtnType?: ButtonType | undefined;
39
+ notCloseBtn?: boolean | undefined;
40
+ notCloseByBg?: boolean | undefined;
41
+ notClose?: boolean | undefined;
42
+ preventCloseOnCancel?: boolean | undefined;
43
+ width?: number | undefined;
44
+ maxWidth?: number | undefined;
45
+ layout?: Layout | undefined;
46
+ textColor?: string | undefined;
47
+ headerColor?: string | undefined;
48
+ headerAlign?: Align | undefined;
49
+ fontSize?: string | undefined;
50
+ }>>> & {
51
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
52
+ onCancel?: (() => any) | undefined;
53
+ onAccept?: (() => any) | undefined;
54
+ }, {}>;
55
+ export default _default;
56
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
57
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
58
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
59
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
60
+ } : {
61
+ type: import('vue').PropType<T[K]>;
62
+ required: true;
63
+ };
64
+ };
@@ -0,0 +1,34 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ modelValue: string;
3
+ name?: string | undefined;
4
+ options?: {
5
+ value: any;
6
+ label: string;
7
+ }[] | undefined;
8
+ disabled?: boolean | undefined;
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:modelValue": (value: string) => void;
11
+ } & {
12
+ change: (event: Event) => void;
13
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
+ modelValue: string;
15
+ name?: string | undefined;
16
+ options?: {
17
+ value: any;
18
+ label: string;
19
+ }[] | undefined;
20
+ disabled?: boolean | undefined;
21
+ }>>> & {
22
+ onChange?: ((event: Event) => any) | undefined;
23
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
24
+ }, {}>;
25
+ export default _default;
26
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
@@ -0,0 +1,82 @@
1
+ import type { Align, AlignVertical, Icon, IconPack, Layout, WidthBreaks } from '../types/cleek-options';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ modelValue: any;
4
+ prop?: string | undefined;
5
+ reduceValueProp?: string | undefined;
6
+ reduceNameProp?: string | undefined;
7
+ autofocus?: boolean | undefined;
8
+ notReduce?: boolean | undefined;
9
+ notReduceValue?: boolean | undefined;
10
+ options?: any[] | undefined;
11
+ reduceNameFunction?: ((option: any) => string) | undefined;
12
+ reduceValueFunction?: ((option: any) => any) | undefined;
13
+ notClearable?: boolean | undefined;
14
+ clearValue?: any;
15
+ searchable?: string | boolean | undefined;
16
+ width?: string | undefined;
17
+ minWidth?: string | undefined;
18
+ layout?: Layout | undefined;
19
+ noBorder?: boolean | undefined;
20
+ borderColor?: string | undefined;
21
+ bgTransparent?: boolean | undefined;
22
+ disabled?: boolean | undefined;
23
+ group?: Align | undefined;
24
+ groupVertical?: AlignVertical | undefined;
25
+ widthBreaks?: WidthBreaks | undefined;
26
+ icon?: Icon | undefined;
27
+ iconRight?: Icon | undefined;
28
+ iconPack?: IconPack | undefined;
29
+ label?: string | undefined;
30
+ labelAlign?: Align | undefined;
31
+ }>, {
32
+ setFocus: () => void;
33
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
+ "update:modelValue": (value: any) => void;
35
+ } & {
36
+ click: (event: Event) => void;
37
+ } & {
38
+ change: (event: Event) => void;
39
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
40
+ modelValue: any;
41
+ prop?: string | undefined;
42
+ reduceValueProp?: string | undefined;
43
+ reduceNameProp?: string | undefined;
44
+ autofocus?: boolean | undefined;
45
+ notReduce?: boolean | undefined;
46
+ notReduceValue?: boolean | undefined;
47
+ options?: any[] | undefined;
48
+ reduceNameFunction?: ((option: any) => string) | undefined;
49
+ reduceValueFunction?: ((option: any) => any) | undefined;
50
+ notClearable?: boolean | undefined;
51
+ clearValue?: any;
52
+ searchable?: string | boolean | undefined;
53
+ width?: string | undefined;
54
+ minWidth?: string | undefined;
55
+ layout?: Layout | undefined;
56
+ noBorder?: boolean | undefined;
57
+ borderColor?: string | undefined;
58
+ bgTransparent?: boolean | undefined;
59
+ disabled?: boolean | undefined;
60
+ group?: Align | undefined;
61
+ groupVertical?: AlignVertical | undefined;
62
+ widthBreaks?: WidthBreaks | undefined;
63
+ icon?: Icon | undefined;
64
+ iconRight?: Icon | undefined;
65
+ iconPack?: IconPack | undefined;
66
+ label?: string | undefined;
67
+ labelAlign?: Align | undefined;
68
+ }>>> & {
69
+ onChange?: ((event: Event) => any) | undefined;
70
+ onClick?: ((event: Event) => any) | undefined;
71
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
72
+ }, {}>;
73
+ export default _default;
74
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
75
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
76
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
77
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
78
+ } : {
79
+ type: import('vue').PropType<T[K]>;
80
+ required: true;
81
+ };
82
+ };
@@ -0,0 +1,33 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ modelValue: boolean;
3
+ title?: string | undefined;
4
+ width?: string | undefined;
5
+ rightSide?: boolean | undefined;
6
+ headerColor?: string | undefined;
7
+ headerAlign?: boolean | undefined;
8
+ closeBtnAlign?: "left" | "right" | undefined;
9
+ notCloseBtn?: boolean | undefined;
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "update:modelValue": (value: boolean) => void;
12
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
13
+ modelValue: boolean;
14
+ title?: string | undefined;
15
+ width?: string | undefined;
16
+ rightSide?: boolean | undefined;
17
+ headerColor?: string | undefined;
18
+ headerAlign?: boolean | undefined;
19
+ closeBtnAlign?: "left" | "right" | undefined;
20
+ notCloseBtn?: boolean | undefined;
21
+ }>>> & {
22
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
23
+ }, {}>;
24
+ export default _default;
25
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: import('vue').PropType<T[K]>;
31
+ required: true;
32
+ };
33
+ };
@@ -0,0 +1,42 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ modelValue: number | boolean | object;
3
+ options?: (number | boolean | object)[] | undefined;
4
+ prop?: string | undefined;
5
+ notReduce?: boolean | undefined;
6
+ reduceFunction?: ((option: number | boolean | object) => any) | undefined;
7
+ label?: string | undefined;
8
+ labelAlign?: string | undefined;
9
+ widthBreaks?: [number, string][] | undefined;
10
+ group?: "center" | "left" | "right" | undefined;
11
+ groupVertical?: "center" | "top" | "bottom" | undefined;
12
+ sameWidthOptions?: boolean | undefined;
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (value: number | boolean | object) => void;
15
+ } & {
16
+ change: (value: number | boolean | object) => void;
17
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
18
+ modelValue: number | boolean | object;
19
+ options?: (number | boolean | object)[] | undefined;
20
+ prop?: string | undefined;
21
+ notReduce?: boolean | undefined;
22
+ reduceFunction?: ((option: number | boolean | object) => any) | undefined;
23
+ label?: string | undefined;
24
+ labelAlign?: string | undefined;
25
+ widthBreaks?: [number, string][] | undefined;
26
+ group?: "center" | "left" | "right" | undefined;
27
+ groupVertical?: "center" | "top" | "bottom" | undefined;
28
+ sameWidthOptions?: boolean | undefined;
29
+ }>>> & {
30
+ onChange?: ((value: number | boolean | object) => any) | undefined;
31
+ "onUpdate:modelValue"?: ((value: number | boolean | object) => any) | undefined;
32
+ }, {}>;
33
+ export default _default;
34
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
+ declare 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
+ };