cleek 2.4.32 → 2.4.36

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 (38) hide show
  1. package/dist/cleek.es.js +50 -17
  2. package/dist/cleek.umd.js +8 -8
  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 +27 -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 +39 -0
  9. package/dist/components/ck-img.vue.d.ts +39 -0
  10. package/dist/components/ck-input.vue.d.ts +75 -0
  11. package/dist/components/ck-label.vue.d.ts +19 -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 +9 -0
  15. package/dist/components/ck-notify/components/CkNotify.vue.d.ts +8 -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 +31 -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 +43 -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 +30 -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 +28 -0
  31. package/dist/components/index.d.ts +22 -0
  32. package/dist/hooks/windowWidth.d.ts +3 -0
  33. package/dist/style.css +1 -1
  34. package/dist/types/cleek-options.d.ts +38 -0
  35. package/dist/types/table.d.ts +6 -0
  36. package/dist/utils/functions.d.ts +15 -0
  37. package/dist/utils/globalVariables.d.ts +6 -0
  38. 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,27 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ size?: "s" | "m" | "xs" | "l" | "xl" | undefined;
3
+ color?: string | undefined;
4
+ textColor?: string | undefined;
5
+ icon?: string | undefined;
6
+ iconPack?: "font-awesome" | "feather" | undefined;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ click: (event: Event) => void;
9
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
+ size?: "s" | "m" | "xs" | "l" | "xl" | undefined;
11
+ color?: string | undefined;
12
+ textColor?: string | undefined;
13
+ icon?: string | undefined;
14
+ iconPack?: "font-awesome" | "feather" | undefined;
15
+ }>>> & {
16
+ onClick?: ((event: Event) => any) | undefined;
17
+ }, {}>;
18
+ export default _default;
19
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
21
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
22
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
+ } : {
24
+ type: import('vue').PropType<T[K]>;
25
+ required: true;
26
+ };
27
+ };
@@ -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,39 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ icon: string | [string, string];
3
+ color?: string | undefined;
4
+ iconPack?: string | undefined;
5
+ size?: string | undefined;
6
+ rotation?: string | undefined;
7
+ flip?: "both" | "horizontal" | "vertical" | undefined;
8
+ pull?: "left" | "right" | undefined;
9
+ spin?: boolean | undefined;
10
+ pulse?: boolean | undefined;
11
+ inverse?: boolean | undefined;
12
+ fixedWidth?: boolean | undefined;
13
+ swapOpacity?: boolean | undefined;
14
+ }>, {}, 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: string | [string, string];
16
+ color?: string | undefined;
17
+ iconPack?: string | undefined;
18
+ size?: string | undefined;
19
+ rotation?: string | undefined;
20
+ flip?: "both" | "horizontal" | "vertical" | undefined;
21
+ pull?: "left" | "right" | undefined;
22
+ spin?: boolean | undefined;
23
+ pulse?: boolean | undefined;
24
+ inverse?: boolean | undefined;
25
+ fixedWidth?: boolean | undefined;
26
+ swapOpacity?: boolean | undefined;
27
+ }>>> & {
28
+ onClick?: ((...args: any[]) => any) | undefined;
29
+ }, {}>;
30
+ export default _default;
31
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ } : {
36
+ type: import('vue').PropType<T[K]>;
37
+ required: true;
38
+ };
39
+ };
@@ -0,0 +1,39 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ src: string;
3
+ failImgSrc?: string | undefined;
4
+ alt?: string | undefined;
5
+ size?: "s" | "m" | "xs" | "l" | "xl" | undefined;
6
+ sizeAbsolute?: string | undefined;
7
+ width?: string | undefined;
8
+ height?: string | undefined;
9
+ zoom: boolean;
10
+ zoomTitle: string;
11
+ hasBorder?: boolean | undefined;
12
+ radius?: string | undefined;
13
+ borderColor: string;
14
+ rounded?: boolean | 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
+ failImgSrc?: string | undefined;
18
+ alt?: string | undefined;
19
+ size?: "s" | "m" | "xs" | "l" | "xl" | undefined;
20
+ sizeAbsolute?: string | undefined;
21
+ width?: string | undefined;
22
+ height?: string | undefined;
23
+ zoom: boolean;
24
+ zoomTitle: string;
25
+ hasBorder?: boolean | undefined;
26
+ radius?: string | undefined;
27
+ borderColor: string;
28
+ rounded?: boolean | undefined;
29
+ }>>>, {}>;
30
+ export default _default;
31
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ } : {
36
+ type: import('vue').PropType<T[K]>;
37
+ required: true;
38
+ };
39
+ };
@@ -0,0 +1,75 @@
1
+ import type { Align, AlignVertical, Icon, IconPack, InputType, Layout, 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
+ size?: "s" | "m" | "l" | "xl" | undefined;
17
+ hideBorder?: boolean | undefined;
18
+ width?: string | undefined;
19
+ align?: Align | undefined;
20
+ layout?: Layout | undefined;
21
+ borderColor?: string | undefined;
22
+ autoSelect?: boolean | undefined;
23
+ delayChangeTime?: number | undefined;
24
+ }>, {
25
+ setFocus: () => void;
26
+ setSelect: () => void;
27
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ "update:modelValue": (value: string | number) => void;
29
+ } & {
30
+ click: (event: Event) => void;
31
+ } & {
32
+ input: (event: Event) => void;
33
+ } & {
34
+ change: (event: Event) => void;
35
+ } & {
36
+ delayChange: (value: string | number) => void;
37
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
38
+ modelValue: string | number;
39
+ type?: InputType | undefined;
40
+ autocomplete?: boolean | undefined;
41
+ disabled?: boolean | undefined;
42
+ placeholder?: string | undefined;
43
+ label?: string | undefined;
44
+ labelAlign?: Align | undefined;
45
+ icon?: Icon | undefined;
46
+ iconRight?: Icon | undefined;
47
+ iconPack?: IconPack | undefined;
48
+ group?: Align | undefined;
49
+ groupVertical?: AlignVertical | undefined;
50
+ widthBreaks?: WidthBreaks | undefined;
51
+ size?: "s" | "m" | "l" | "xl" | undefined;
52
+ hideBorder?: boolean | undefined;
53
+ width?: string | undefined;
54
+ align?: Align | undefined;
55
+ layout?: Layout | undefined;
56
+ borderColor?: string | undefined;
57
+ autoSelect?: boolean | undefined;
58
+ delayChangeTime?: number | undefined;
59
+ }>>> & {
60
+ onChange?: ((event: Event) => any) | undefined;
61
+ onInput?: ((event: Event) => any) | undefined;
62
+ onClick?: ((event: Event) => any) | undefined;
63
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
64
+ onDelayChange?: ((value: string | number) => any) | undefined;
65
+ }, {}>;
66
+ export default _default;
67
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
68
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
69
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
70
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
71
+ } : {
72
+ type: import('vue').PropType<T[K]>;
73
+ required: true;
74
+ };
75
+ };
@@ -0,0 +1,19 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ for: string;
3
+ align: string;
4
+ size: 's' | 'm' | 'l' | 'xl';
5
+ }>, {}, 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
+ for: string;
7
+ align: string;
8
+ size: 's' | 'm' | 'l' | 'xl';
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,17 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ padding: string;
3
+ position: string;
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;
6
+ position: string;
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,9 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ title: import("vue").Ref<string>;
3
+ msg: import("vue").Ref<string>;
4
+ acceptText: import("vue").Ref<string>;
5
+ cancelText: import("vue").Ref<string>;
6
+ responseSuccess: import("vue").Ref<() => void>;
7
+ responseFailure: import("vue").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,8 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ title: import("vue").Ref<string>;
3
+ text: import("vue").Ref<string>;
4
+ color: import("vue").Ref<string>;
5
+ duration: import("vue").Ref<number>;
6
+ closeCallback: import("vue").Ref<() => void>;
7
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
8
+ 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
+ notClose?: boolean | undefined;
13
+ notCloseBtn?: boolean | undefined;
14
+ notCloseByBg?: 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
+ notClose?: boolean | undefined;
40
+ notCloseBtn?: boolean | undefined;
41
+ notCloseByBg?: 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
+ minWidth?: string | undefined;
17
+ width?: string | undefined;
18
+ noBorder?: boolean | undefined;
19
+ layout?: Layout | 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
+ minWidth?: string | undefined;
54
+ width?: string | undefined;
55
+ noBorder?: boolean | undefined;
56
+ layout?: Layout | 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
+ };