cleek 2.7.16 → 2.7.18
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/{main.es.js → cleek.mjs} +30749 -29995
- package/dist/{main.cjs.js → cleek.umd.js} +51 -47
- package/dist/style.css +1 -0
- package/package.json +31 -34
- package/dist/main.css +0 -1
- package/dist/types/components/ck-button.vue.d.ts +0 -62
- package/dist/types/components/ck-card.vue.d.ts +0 -40
- package/dist/types/components/ck-checkbox.vue.d.ts +0 -32
- package/dist/types/components/ck-chip.vue.d.ts +0 -42
- package/dist/types/components/ck-circle.vue.d.ts +0 -38
- package/dist/types/components/ck-div.vue.d.ts +0 -30
- package/dist/types/components/ck-dropdown/ck-dropdown.vue.d.ts +0 -29
- package/dist/types/components/ck-icon.vue.d.ts +0 -37
- package/dist/types/components/ck-img.vue.d.ts +0 -43
- package/dist/types/components/ck-input/ck-input-date.vue.d.ts +0 -41
- package/dist/types/components/ck-input/ck-input-time.vue.d.ts +0 -32
- package/dist/types/components/ck-input.vue.d.ts +0 -96
- package/dist/types/components/ck-label.vue.d.ts +0 -28
- package/dist/types/components/ck-navbar/ck-navbar.vue.d.ts +0 -26
- package/dist/types/components/ck-notify/ck-notify.d.ts +0 -27
- package/dist/types/components/ck-notify/components/CkAlert.vue.d.ts +0 -6
- package/dist/types/components/ck-notify/components/CkConfirm.vue.d.ts +0 -9
- package/dist/types/components/ck-notify/components/CkNotify.vue.d.ts +0 -10
- package/dist/types/components/ck-popup.vue.d.ts +0 -76
- package/dist/types/components/ck-radio.vue.d.ts +0 -39
- package/dist/types/components/ck-select.vue.d.ts +0 -95
- package/dist/types/components/ck-sidebar.vue.d.ts +0 -42
- package/dist/types/components/ck-switch-options.vue.d.ts +0 -48
- package/dist/types/components/ck-switch.vue.d.ts +0 -45
- package/dist/types/components/ck-table/ck-pagination/ck-pagination.vue.d.ts +0 -25
- package/dist/types/components/ck-table/ck-table.vue.d.ts +0 -97
- package/dist/types/components/ck-table/ck-td.vue.d.ts +0 -45
- package/dist/types/components/ck-table/ck-th.vue.d.ts +0 -30
- package/dist/types/components/ck-table/ck-tr.vue.d.ts +0 -9
- package/dist/types/components/ck-table/inner-components/ck-table__columns-manager.vue.d.ts +0 -25
- package/dist/types/components/ck-table/inner-components/ck-table__header-items.vue.d.ts +0 -51
- package/dist/types/components/ck-table/inner-components/ck-table__pagination.vue.d.ts +0 -31
- package/dist/types/components/ck-table/inner-components/ck-table__title.vue.d.ts +0 -22
- package/dist/types/components/ck-textarea.vue.d.ts +0 -65
- package/dist/types/components/index.d.ts +0 -39
- package/dist/types/components/showers/ck-datetime-shower.vue.d.ts +0 -29
- package/dist/types/components/showers/ck-time-shower.vue.d.ts +0 -18
- package/dist/types/default-cleek-options.d.ts +0 -4
- package/dist/types/hooks/rainbow.d.ts +0 -4
- package/dist/types/hooks/windowWidth.d.ts +0 -3
- package/dist/types/main.d.ts +0 -5
- package/dist/types/package-config.d.ts +0 -3
- package/dist/types/store.d.ts +0 -4
- package/dist/types/types/cleek-options.d.ts +0 -61
- package/dist/types/types/table.d.ts +0 -19
- package/dist/types/utils/events.d.ts +0 -7
- package/dist/types/utils/global-hooks.d.ts +0 -15
- package/dist/types/utils/globalVariables.d.ts +0 -6
- package/dist/types/utils/mitt.d.ts +0 -2
- package/dist/types/utils/scrollLock.d.ts +0 -3
- package/dist/types/utils/windowWidth.d.ts +0 -11
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Layout } from '../types/cleek-options';
|
|
2
|
-
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
modelValue?: boolean;
|
|
5
|
-
title?: string;
|
|
6
|
-
subtitle?: string;
|
|
7
|
-
block?: boolean;
|
|
8
|
-
hideCloseBtn?: boolean;
|
|
9
|
-
layout?: Layout;
|
|
10
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
"update:modelValue": (modelValue: boolean) => void;
|
|
12
|
-
closeCard: () => void;
|
|
13
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
-
modelValue?: boolean;
|
|
15
|
-
title?: string;
|
|
16
|
-
subtitle?: string;
|
|
17
|
-
block?: boolean;
|
|
18
|
-
hideCloseBtn?: boolean;
|
|
19
|
-
layout?: Layout;
|
|
20
|
-
}>>> & {
|
|
21
|
-
"onUpdate:modelValue"?: (modelValue: boolean) => any;
|
|
22
|
-
onCloseCard?: () => any;
|
|
23
|
-
}, {}, {}>, {
|
|
24
|
-
default?(_: {}): any;
|
|
25
|
-
}>;
|
|
26
|
-
export default _default;
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
-
new (): {
|
|
38
|
-
$slots: S;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
modelValue: boolean;
|
|
3
|
-
label?: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
-
"update:modelValue": (value: boolean) => void;
|
|
7
|
-
change: (event: Event) => void;
|
|
8
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
-
modelValue: boolean;
|
|
10
|
-
label?: string;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
}>>> & {
|
|
13
|
-
onChange?: (event: Event) => any;
|
|
14
|
-
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
15
|
-
}, {}, {}>, {
|
|
16
|
-
default?(_: {}): any;
|
|
17
|
-
}>;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
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
|
-
};
|
|
28
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
-
new (): {
|
|
30
|
-
$slots: S;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Align, Icon, IconPack, Size } from '../types/cleek-options';
|
|
2
|
-
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
size?: Size;
|
|
5
|
-
color?: string;
|
|
6
|
-
textColor?: string;
|
|
7
|
-
align?: Align;
|
|
8
|
-
nowrap?: boolean;
|
|
9
|
-
icon?: Icon;
|
|
10
|
-
iconRight?: Icon;
|
|
11
|
-
iconPack?: IconPack;
|
|
12
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
click: (event: Event) => void;
|
|
14
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
-
size?: Size;
|
|
16
|
-
color?: string;
|
|
17
|
-
textColor?: string;
|
|
18
|
-
align?: Align;
|
|
19
|
-
nowrap?: boolean;
|
|
20
|
-
icon?: Icon;
|
|
21
|
-
iconRight?: Icon;
|
|
22
|
-
iconPack?: IconPack;
|
|
23
|
-
}>>> & {
|
|
24
|
-
onClick?: (event: Event) => any;
|
|
25
|
-
}, {}, {}>, {
|
|
26
|
-
default?(_: {}): any;
|
|
27
|
-
}>;
|
|
28
|
-
export default _default;
|
|
29
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
-
} : {
|
|
34
|
-
type: import('vue').PropType<T[K]>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
-
new (): {
|
|
40
|
-
$slots: S;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Icon, IconPack, Size } from '../types/cleek-options';
|
|
2
|
-
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
size?: Size;
|
|
5
|
-
sizeInPx?: Size;
|
|
6
|
-
color?: string;
|
|
7
|
-
textColor?: string;
|
|
8
|
-
icon?: Icon;
|
|
9
|
-
iconPack?: IconPack;
|
|
10
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
click: (domEvent: DomEvent) => void;
|
|
12
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
size?: Size;
|
|
14
|
-
sizeInPx?: Size;
|
|
15
|
-
color?: string;
|
|
16
|
-
textColor?: string;
|
|
17
|
-
icon?: Icon;
|
|
18
|
-
iconPack?: IconPack;
|
|
19
|
-
}>>> & {
|
|
20
|
-
onClick?: (domEvent: DomEvent) => any;
|
|
21
|
-
}, {}, {}>, {
|
|
22
|
-
default?(_: {}): any;
|
|
23
|
-
}>;
|
|
24
|
-
export default _default;
|
|
25
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
-
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
|
-
};
|
|
34
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
-
new (): {
|
|
36
|
-
$slots: S;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
widthBreaks?: [number, string][];
|
|
3
|
-
block?: boolean;
|
|
4
|
-
gap: string;
|
|
5
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
-
click: (event: Event) => void;
|
|
7
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
-
widthBreaks?: [number, string][];
|
|
9
|
-
block?: boolean;
|
|
10
|
-
gap: string;
|
|
11
|
-
}>>> & {
|
|
12
|
-
onClick?: (event: Event) => any;
|
|
13
|
-
}, {}, {}>, {
|
|
14
|
-
default?(_: {}): any;
|
|
15
|
-
}>;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: import('vue').PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
-
new (): {
|
|
28
|
-
$slots: S;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Align, Layout } from '../../types/cleek-options';
|
|
2
|
-
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
dark?: boolean;
|
|
5
|
-
align?: Align;
|
|
6
|
-
layout?: Layout;
|
|
7
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
-
dark?: boolean;
|
|
9
|
-
align?: Align;
|
|
10
|
-
layout?: Layout;
|
|
11
|
-
}>>>, {}, {}>, {
|
|
12
|
-
trigger?(_: {}): any;
|
|
13
|
-
popper?(_: {}): any;
|
|
14
|
-
}>;
|
|
15
|
-
export default _default;
|
|
16
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
-
} : {
|
|
21
|
-
type: import('vue').PropType<T[K]>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
-
new (): {
|
|
27
|
-
$slots: S;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Color, Icon, IconPack, Size, SizeInCSS } from '../types/cleek-options';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
icon: Icon;
|
|
5
|
-
iconPack?: IconPack;
|
|
6
|
-
color?: Color;
|
|
7
|
-
size?: Size | SizeInCSS | string;
|
|
8
|
-
flip?: 'horizontal' | 'vertical' | 'both';
|
|
9
|
-
fixedWidth?: SizeInCSS;
|
|
10
|
-
rotation?: 90 | 180 | 270 | '90' | '180' | '270';
|
|
11
|
-
spin?: boolean;
|
|
12
|
-
pulse?: boolean;
|
|
13
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
click: (...args: any[]) => void;
|
|
15
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
-
icon: Icon;
|
|
17
|
-
iconPack?: IconPack;
|
|
18
|
-
color?: Color;
|
|
19
|
-
size?: Size | SizeInCSS | string;
|
|
20
|
-
flip?: 'horizontal' | 'vertical' | 'both';
|
|
21
|
-
fixedWidth?: SizeInCSS;
|
|
22
|
-
rotation?: 90 | 180 | 270 | '90' | '180' | '270';
|
|
23
|
-
spin?: boolean;
|
|
24
|
-
pulse?: boolean;
|
|
25
|
-
}>>> & {
|
|
26
|
-
onClick?: (...args: any[]) => any;
|
|
27
|
-
}, {}, {}>;
|
|
28
|
-
export default _default;
|
|
29
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
-
} : {
|
|
34
|
-
type: import('vue').PropType<T[K]>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Color, Size, SizeInCSS } from '../types/cleek-options';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
src: string;
|
|
5
|
-
alt?: string;
|
|
6
|
-
size?: Size;
|
|
7
|
-
sizeAbsolute?: SizeInCSS;
|
|
8
|
-
width?: SizeInCSS;
|
|
9
|
-
height?: SizeInCSS;
|
|
10
|
-
zoom: boolean;
|
|
11
|
-
zoomTitle: string;
|
|
12
|
-
hasBorder?: boolean;
|
|
13
|
-
borderColor: Color;
|
|
14
|
-
rounded?: boolean;
|
|
15
|
-
radius?: SizeInCSS;
|
|
16
|
-
static: boolean;
|
|
17
|
-
dynamic: boolean;
|
|
18
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
-
src: string;
|
|
20
|
-
alt?: string;
|
|
21
|
-
size?: Size;
|
|
22
|
-
sizeAbsolute?: SizeInCSS;
|
|
23
|
-
width?: SizeInCSS;
|
|
24
|
-
height?: SizeInCSS;
|
|
25
|
-
zoom: boolean;
|
|
26
|
-
zoomTitle: string;
|
|
27
|
-
hasBorder?: boolean;
|
|
28
|
-
borderColor: Color;
|
|
29
|
-
rounded?: boolean;
|
|
30
|
-
radius?: SizeInCSS;
|
|
31
|
-
static: boolean;
|
|
32
|
-
dynamic: boolean;
|
|
33
|
-
}>>>, {}, {}>;
|
|
34
|
-
export default _default;
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: import('vue').PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Align, AlignVertical, Color, Icon, WidthBreaks } from '../../types/cleek-options';
|
|
2
|
-
import { IconPack } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
-
|
|
4
|
-
type stringDate = null | string;
|
|
5
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
modelValue: stringDate;
|
|
7
|
-
label?: string;
|
|
8
|
-
icon?: Icon;
|
|
9
|
-
iconRight?: Icon;
|
|
10
|
-
iconPack?: IconPack;
|
|
11
|
-
iconColor?: Color;
|
|
12
|
-
widthBreaks?: WidthBreaks;
|
|
13
|
-
group?: Align;
|
|
14
|
-
groupVertical?: AlignVertical;
|
|
15
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
"update:modelValue": (modelValue: string) => void;
|
|
17
|
-
change: (modelValue: string) => void;
|
|
18
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
-
modelValue: stringDate;
|
|
20
|
-
label?: string;
|
|
21
|
-
icon?: Icon;
|
|
22
|
-
iconRight?: Icon;
|
|
23
|
-
iconPack?: IconPack;
|
|
24
|
-
iconColor?: Color;
|
|
25
|
-
widthBreaks?: WidthBreaks;
|
|
26
|
-
group?: Align;
|
|
27
|
-
groupVertical?: AlignVertical;
|
|
28
|
-
}>>> & {
|
|
29
|
-
onChange?: (modelValue: string) => any;
|
|
30
|
-
"onUpdate:modelValue"?: (modelValue: string) => any;
|
|
31
|
-
}, {}, {}>;
|
|
32
|
-
export default _default;
|
|
33
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
-
} : {
|
|
38
|
-
type: import('vue').PropType<T[K]>;
|
|
39
|
-
required: true;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Align, AlignVertical, WidthBreaks } from '../../types/cleek-options';
|
|
2
|
-
|
|
3
|
-
type numberTime = number | undefined;
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
modelValue: numberTime;
|
|
6
|
-
label?: string;
|
|
7
|
-
widthBreaks?: WidthBreaks;
|
|
8
|
-
group?: Align;
|
|
9
|
-
groupVertical?: AlignVertical;
|
|
10
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
"update:modelValue": (value: number) => void;
|
|
12
|
-
change: (value: number) => void;
|
|
13
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
-
modelValue: numberTime;
|
|
15
|
-
label?: string;
|
|
16
|
-
widthBreaks?: WidthBreaks;
|
|
17
|
-
group?: Align;
|
|
18
|
-
groupVertical?: AlignVertical;
|
|
19
|
-
}>>> & {
|
|
20
|
-
onChange?: (value: number) => any;
|
|
21
|
-
"onUpdate:modelValue"?: (value: number) => any;
|
|
22
|
-
}, {}, {}>;
|
|
23
|
-
export default _default;
|
|
24
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
-
} : {
|
|
29
|
-
type: import('vue').PropType<T[K]>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { Align, AlignVertical, Color, Icon, IconPack, InputType, Layout, SizeInCSS, WidthBreaks } from '../types/cleek-options';
|
|
2
|
-
|
|
3
|
-
declare function setFocus(): void;
|
|
4
|
-
declare function setSelect(): void;
|
|
5
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
modelValue: string | number;
|
|
7
|
-
type?: InputType;
|
|
8
|
-
autocomplete?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
plusMinusButtons?: boolean;
|
|
12
|
-
min?: number;
|
|
13
|
-
max?: number;
|
|
14
|
-
label?: string;
|
|
15
|
-
labelAlign?: Align;
|
|
16
|
-
icon?: Icon;
|
|
17
|
-
iconRight?: Icon;
|
|
18
|
-
iconPack?: IconPack;
|
|
19
|
-
iconColor?: Color;
|
|
20
|
-
group?: Align;
|
|
21
|
-
groupVertical?: AlignVertical;
|
|
22
|
-
widthBreaks?: WidthBreaks;
|
|
23
|
-
fontSize: SizeInCSS;
|
|
24
|
-
size?: 's' | 'm' | 'l' | 'xl';
|
|
25
|
-
hideBorder?: boolean;
|
|
26
|
-
width?: string;
|
|
27
|
-
align?: Align;
|
|
28
|
-
layout?: Layout;
|
|
29
|
-
borderColor?: Color;
|
|
30
|
-
textColor?: Color;
|
|
31
|
-
autofocus?: boolean;
|
|
32
|
-
capitalize?: boolean;
|
|
33
|
-
autoSelect?: boolean;
|
|
34
|
-
delayChangeTime?: number;
|
|
35
|
-
justInteger?: boolean;
|
|
36
|
-
}>, {
|
|
37
|
-
setFocus: typeof setFocus;
|
|
38
|
-
setSelect: typeof setSelect;
|
|
39
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
-
"update:modelValue": (value: string | number) => void;
|
|
41
|
-
click: (event: Event) => void;
|
|
42
|
-
input: (event: Event) => void;
|
|
43
|
-
change: (event: Event) => void;
|
|
44
|
-
focus: (event: Event) => void;
|
|
45
|
-
blur: (event: Event) => void;
|
|
46
|
-
delayChange: (value: string | number) => void;
|
|
47
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
48
|
-
modelValue: string | number;
|
|
49
|
-
type?: InputType;
|
|
50
|
-
autocomplete?: boolean;
|
|
51
|
-
disabled?: boolean;
|
|
52
|
-
placeholder?: string;
|
|
53
|
-
plusMinusButtons?: boolean;
|
|
54
|
-
min?: number;
|
|
55
|
-
max?: number;
|
|
56
|
-
label?: string;
|
|
57
|
-
labelAlign?: Align;
|
|
58
|
-
icon?: Icon;
|
|
59
|
-
iconRight?: Icon;
|
|
60
|
-
iconPack?: IconPack;
|
|
61
|
-
iconColor?: Color;
|
|
62
|
-
group?: Align;
|
|
63
|
-
groupVertical?: AlignVertical;
|
|
64
|
-
widthBreaks?: WidthBreaks;
|
|
65
|
-
fontSize: SizeInCSS;
|
|
66
|
-
size?: 's' | 'm' | 'l' | 'xl';
|
|
67
|
-
hideBorder?: boolean;
|
|
68
|
-
width?: string;
|
|
69
|
-
align?: Align;
|
|
70
|
-
layout?: Layout;
|
|
71
|
-
borderColor?: Color;
|
|
72
|
-
textColor?: Color;
|
|
73
|
-
autofocus?: boolean;
|
|
74
|
-
capitalize?: boolean;
|
|
75
|
-
autoSelect?: boolean;
|
|
76
|
-
delayChangeTime?: number;
|
|
77
|
-
justInteger?: boolean;
|
|
78
|
-
}>>> & {
|
|
79
|
-
onClick?: (event: Event) => any;
|
|
80
|
-
onFocus?: (event: Event) => any;
|
|
81
|
-
onBlur?: (event: Event) => any;
|
|
82
|
-
onChange?: (event: Event) => any;
|
|
83
|
-
onInput?: (event: Event) => any;
|
|
84
|
-
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
85
|
-
onDelayChange?: (value: string | number) => any;
|
|
86
|
-
}, {}, {}>;
|
|
87
|
-
export default _default;
|
|
88
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
89
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
90
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
91
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
92
|
-
} : {
|
|
93
|
-
type: import('vue').PropType<T[K]>;
|
|
94
|
-
required: true;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Align } from '../types/cleek-options';
|
|
2
|
-
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
for: string;
|
|
5
|
-
align: Align;
|
|
6
|
-
size?: "s" | "m" | "l" | "xl";
|
|
7
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
-
for: string;
|
|
9
|
-
align: Align;
|
|
10
|
-
size?: "s" | "m" | "l" | "xl";
|
|
11
|
-
}>>>, {}, {}>, {
|
|
12
|
-
default?(_: {}): any;
|
|
13
|
-
}>;
|
|
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
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
backgroundColor?: string;
|
|
3
|
-
padding?: string;
|
|
4
|
-
position?: string;
|
|
5
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
backgroundColor?: string;
|
|
7
|
-
padding?: string;
|
|
8
|
-
position?: string;
|
|
9
|
-
}>>>, {}, {}>, {
|
|
10
|
-
default?(_: {}): any;
|
|
11
|
-
}>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
-
} : {
|
|
18
|
-
type: import('vue').PropType<T[K]>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
-
new (): {
|
|
24
|
-
$slots: S;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
alert(msg: string): void;
|
|
3
|
-
alertOptions({ title, msg, acceptText }: {
|
|
4
|
-
title: string;
|
|
5
|
-
msg: string;
|
|
6
|
-
acceptText: string;
|
|
7
|
-
}): void;
|
|
8
|
-
confirmOptions({ title, msg, acceptText, cancelText, success, failure, }: {
|
|
9
|
-
title?: string;
|
|
10
|
-
msg?: string;
|
|
11
|
-
acceptText?: string;
|
|
12
|
-
cancelText?: string;
|
|
13
|
-
success?: () => void;
|
|
14
|
-
failure?: () => void;
|
|
15
|
-
}): void;
|
|
16
|
-
confirm(msg: string, success: () => void, failure?: () => void): void;
|
|
17
|
-
notify({ text, title, color, duration }: {
|
|
18
|
-
text?: string;
|
|
19
|
-
title?: string;
|
|
20
|
-
color?: string;
|
|
21
|
-
duration?: number;
|
|
22
|
-
}): void;
|
|
23
|
-
notifySuccess(text: string, title?: string, duration?: number): void;
|
|
24
|
-
notifyError(text: string, title?: string, duration?: number): void;
|
|
25
|
-
notifyWarning(text: string, title?: string, duration?: number): void;
|
|
26
|
-
};
|
|
27
|
-
export default _default;
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
6
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
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, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
9
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<{}, {
|
|
4
|
-
title: Ref<string>;
|
|
5
|
-
text: Ref<string>;
|
|
6
|
-
color: Ref<string>;
|
|
7
|
-
duration: Ref<number>;
|
|
8
|
-
closeCallback: Ref<() => void>;
|
|
9
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
10
|
-
export default _default;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { Align, Layout, ButtonType } from '../types/cleek-options';
|
|
2
|
-
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
modelValue: boolean;
|
|
5
|
-
title?: string;
|
|
6
|
-
confirmButtons?: boolean;
|
|
7
|
-
acceptButton?: boolean;
|
|
8
|
-
acceptBtnText?: string;
|
|
9
|
-
acceptBtnType?: ButtonType;
|
|
10
|
-
cancelButton?: boolean;
|
|
11
|
-
cancelBtnText?: string;
|
|
12
|
-
cancelBtnType?: ButtonType;
|
|
13
|
-
notCloseBtn?: boolean;
|
|
14
|
-
notCloseByBg?: boolean;
|
|
15
|
-
notClose?: boolean;
|
|
16
|
-
preventCloseOnCancel?: boolean;
|
|
17
|
-
isLoading?: boolean;
|
|
18
|
-
width?: number;
|
|
19
|
-
maxWidth?: number;
|
|
20
|
-
layout?: Layout;
|
|
21
|
-
textColor?: string;
|
|
22
|
-
headerColor?: string;
|
|
23
|
-
headerAlign?: Align;
|
|
24
|
-
backgroundColor?: string;
|
|
25
|
-
fontSize?: string;
|
|
26
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
-
"update:modelValue": (value: boolean) => void;
|
|
28
|
-
cancel: () => void;
|
|
29
|
-
accept: () => void;
|
|
30
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
31
|
-
modelValue: boolean;
|
|
32
|
-
title?: string;
|
|
33
|
-
confirmButtons?: boolean;
|
|
34
|
-
acceptButton?: boolean;
|
|
35
|
-
acceptBtnText?: string;
|
|
36
|
-
acceptBtnType?: ButtonType;
|
|
37
|
-
cancelButton?: boolean;
|
|
38
|
-
cancelBtnText?: string;
|
|
39
|
-
cancelBtnType?: ButtonType;
|
|
40
|
-
notCloseBtn?: boolean;
|
|
41
|
-
notCloseByBg?: boolean;
|
|
42
|
-
notClose?: boolean;
|
|
43
|
-
preventCloseOnCancel?: boolean;
|
|
44
|
-
isLoading?: boolean;
|
|
45
|
-
width?: number;
|
|
46
|
-
maxWidth?: number;
|
|
47
|
-
layout?: Layout;
|
|
48
|
-
textColor?: string;
|
|
49
|
-
headerColor?: string;
|
|
50
|
-
headerAlign?: Align;
|
|
51
|
-
backgroundColor?: string;
|
|
52
|
-
fontSize?: string;
|
|
53
|
-
}>>> & {
|
|
54
|
-
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
55
|
-
onAccept?: () => any;
|
|
56
|
-
onCancel?: () => any;
|
|
57
|
-
}, {}, {}>, {
|
|
58
|
-
header?(_: {}): any;
|
|
59
|
-
default?(_: {}): any;
|
|
60
|
-
footer?(_: {}): any;
|
|
61
|
-
}>;
|
|
62
|
-
export default _default;
|
|
63
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
65
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
-
} : {
|
|
68
|
-
type: import('vue').PropType<T[K]>;
|
|
69
|
-
required: true;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
73
|
-
new (): {
|
|
74
|
-
$slots: S;
|
|
75
|
-
};
|
|
76
|
-
};
|