cleek 2.4.51 → 2.4.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cleek-styles/cleek-mixins.styl +7 -0
- package/dist/cleek.es.js +39 -35
- package/dist/cleek.umd.js +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/ck-button.vue.d.ts +0 -50
- package/dist/components/ck-checkbox.vue.d.ts +0 -26
- package/dist/components/ck-chip.vue.d.ts +0 -30
- package/dist/components/ck-div.vue.d.ts +0 -19
- package/dist/components/ck-dropdown/ck-dropdown.vue.d.ts +0 -20
- package/dist/components/ck-icon.vue.d.ts +0 -34
- package/dist/components/ck-img.vue.d.ts +0 -38
- package/dist/components/ck-input.vue.d.ts +0 -81
- package/dist/components/ck-label.vue.d.ts +0 -20
- package/dist/components/ck-navbar/ck-navbar.vue.d.ts +0 -17
- package/dist/components/ck-notify/ck-notify.d.ts +0 -27
- package/dist/components/ck-notify/components/CkAlert.vue.d.ts +0 -6
- package/dist/components/ck-notify/components/CkConfirm.vue.d.ts +0 -9
- package/dist/components/ck-notify/components/CkNotify.vue.d.ts +0 -9
- package/dist/components/ck-popup.vue.d.ts +0 -64
- package/dist/components/ck-radio.vue.d.ts +0 -34
- package/dist/components/ck-select.vue.d.ts +0 -82
- package/dist/components/ck-sidebar.vue.d.ts +0 -33
- package/dist/components/ck-switch-options.vue.d.ts +0 -42
- package/dist/components/ck-switch.vue.d.ts +0 -32
- package/dist/components/ck-table/ck-table.vue.d.ts +0 -59
- package/dist/components/ck-table/ck-td.vue.d.ts +0 -37
- package/dist/components/ck-table/ck-th.vue.d.ts +0 -17
- package/dist/components/ck-table/ck-tr.vue.d.ts +0 -2
- package/dist/components/ck-table/inner-components/ck-table__columns-manager.vue.d.ts +0 -24
- package/dist/components/ck-table/inner-components/ck-table__header-items.vue.d.ts +0 -42
- package/dist/components/ck-table/inner-components/ck-table__pagination.vue.d.ts +0 -31
- package/dist/components/ck-table/inner-components/ck-table__title.vue.d.ts +0 -16
- package/dist/components/ck-textarea.vue.d.ts +0 -63
- package/dist/components/index.d.ts +0 -22
- package/dist/hooks/windowWidth.d.ts +0 -3
- package/dist/package-config.d.ts +0 -3
- package/dist/types/cleek-options.d.ts +0 -42
- package/dist/types/table.d.ts +0 -17
- package/dist/utils/functions.d.ts +0 -15
- package/dist/utils/globalVariables.d.ts +0 -6
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Align, Layout } from '../../../types/cleek-options';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
currentPage: number;
|
|
4
|
-
align: Align;
|
|
5
|
-
itemsPerPage: number;
|
|
6
|
-
listLength: number;
|
|
7
|
-
layout: Layout;
|
|
8
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
refreshList: () => void;
|
|
10
|
-
} & {
|
|
11
|
-
"update:currentPage": (value: number) => void;
|
|
12
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
currentPage: number;
|
|
14
|
-
align: Align;
|
|
15
|
-
itemsPerPage: number;
|
|
16
|
-
listLength: number;
|
|
17
|
-
layout: Layout;
|
|
18
|
-
}>>> & {
|
|
19
|
-
onRefreshList?: (() => any) | undefined;
|
|
20
|
-
"onUpdate:currentPage"?: ((value: number) => any) | undefined;
|
|
21
|
-
}, {}>;
|
|
22
|
-
export default _default;
|
|
23
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
-
} : {
|
|
28
|
-
type: import('vue').PropType<T[K]>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ColumnItem } from '../../../types/table';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
col: ColumnItem;
|
|
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
|
-
col: ColumnItem;
|
|
6
|
-
}>>>, {}>;
|
|
7
|
-
export default _default;
|
|
8
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import type { Align, AlignVertical, Layout } from '../types/cleek-options';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
modelValue: string;
|
|
4
|
-
disabled?: boolean | undefined;
|
|
5
|
-
placeholder?: string | undefined;
|
|
6
|
-
resize?: true | "none" | "horizontal" | "vertical" | undefined;
|
|
7
|
-
layout?: Layout | undefined;
|
|
8
|
-
borderColor?: string | undefined;
|
|
9
|
-
align?: Align | undefined;
|
|
10
|
-
group?: Align | undefined;
|
|
11
|
-
groupVertical?: AlignVertical | undefined;
|
|
12
|
-
borderRadius?: string | undefined;
|
|
13
|
-
fontSize?: string | undefined;
|
|
14
|
-
textColor?: string | undefined;
|
|
15
|
-
width?: string | undefined;
|
|
16
|
-
height?: string | undefined;
|
|
17
|
-
capitalize?: boolean | undefined;
|
|
18
|
-
autoSelect?: boolean | undefined;
|
|
19
|
-
label?: string | undefined;
|
|
20
|
-
labelAlign?: Align | undefined;
|
|
21
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (value: string) => void;
|
|
23
|
-
} & {
|
|
24
|
-
input: (event: Event) => void;
|
|
25
|
-
} & {
|
|
26
|
-
change: (event: Event) => void;
|
|
27
|
-
} & {
|
|
28
|
-
click: (event: Event) => void;
|
|
29
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
30
|
-
modelValue: string;
|
|
31
|
-
disabled?: boolean | undefined;
|
|
32
|
-
placeholder?: string | undefined;
|
|
33
|
-
resize?: true | "none" | "horizontal" | "vertical" | undefined;
|
|
34
|
-
layout?: Layout | undefined;
|
|
35
|
-
borderColor?: string | undefined;
|
|
36
|
-
align?: Align | undefined;
|
|
37
|
-
group?: Align | undefined;
|
|
38
|
-
groupVertical?: AlignVertical | undefined;
|
|
39
|
-
borderRadius?: string | undefined;
|
|
40
|
-
fontSize?: string | undefined;
|
|
41
|
-
textColor?: string | undefined;
|
|
42
|
-
width?: string | undefined;
|
|
43
|
-
height?: string | undefined;
|
|
44
|
-
capitalize?: boolean | undefined;
|
|
45
|
-
autoSelect?: boolean | undefined;
|
|
46
|
-
label?: string | undefined;
|
|
47
|
-
labelAlign?: Align | undefined;
|
|
48
|
-
}>>> & {
|
|
49
|
-
onChange?: ((event: Event) => any) | undefined;
|
|
50
|
-
onInput?: ((event: Event) => any) | undefined;
|
|
51
|
-
onClick?: ((event: Event) => any) | undefined;
|
|
52
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
53
|
-
}, {}>;
|
|
54
|
-
export default _default;
|
|
55
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
57
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
-
} : {
|
|
60
|
-
type: import('vue').PropType<T[K]>;
|
|
61
|
-
required: true;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export { default as CkDropdown } from './ck-dropdown/ck-dropdown.vue';
|
|
2
|
-
export { default as CkNavbar } from './ck-navbar/ck-navbar.vue';
|
|
3
|
-
export { default as CkTable } from './ck-table/ck-table.vue';
|
|
4
|
-
export { default as CkTd } from './ck-table/ck-td.vue';
|
|
5
|
-
export { default as CkTh } from './ck-table/ck-th.vue';
|
|
6
|
-
export { default as CkTr } from './ck-table/ck-tr.vue';
|
|
7
|
-
export { default as CkButton } from './ck-button.vue';
|
|
8
|
-
export { default as CkCheckbox } from './ck-checkbox.vue';
|
|
9
|
-
export { default as CkChip } from './ck-chip.vue';
|
|
10
|
-
export { default as CkDiv } from './ck-div.vue';
|
|
11
|
-
export { default as CkIcon } from './ck-icon.vue';
|
|
12
|
-
export { default as CkImg } from './ck-img.vue';
|
|
13
|
-
export { default as CkInput } from './ck-input.vue';
|
|
14
|
-
export { default as CkLabel } from './ck-label.vue';
|
|
15
|
-
export { default as CkPopup } from './ck-popup.vue';
|
|
16
|
-
export { default as CkRadio } from './ck-radio.vue';
|
|
17
|
-
export { default as CkSelect } from './ck-select.vue';
|
|
18
|
-
export { default as CkSidebar } from './ck-sidebar.vue';
|
|
19
|
-
export { default as CkSwitch } from './ck-switch.vue';
|
|
20
|
-
export { default as CkSwitchOptions } from './ck-switch-options.vue';
|
|
21
|
-
export { default as CkTextarea } from './ck-textarea.vue';
|
|
22
|
-
export { default as ckNotify } from './ck-notify/ck-notify';
|
package/dist/package-config.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export declare type Align = 'left' | 'center' | 'right';
|
|
2
|
-
export declare type AlignVertical = 'top' | 'bottom' | 'center';
|
|
3
|
-
export declare type Color = string;
|
|
4
|
-
export declare type Icon = string | [string, string];
|
|
5
|
-
export declare type IconPack = 'font-awesome' | 'feather';
|
|
6
|
-
export declare type Lang = 'es' | 'en';
|
|
7
|
-
export declare type Layout = 'base' | 'rounded' | 'square';
|
|
8
|
-
export declare type ButtonType = 'filled' | 'outlined' | 'flat';
|
|
9
|
-
export declare type WidthBreaks = [number, string][];
|
|
10
|
-
export declare type InputType = 'text' | 'number' | 'date' | 'time' | 'password';
|
|
11
|
-
export declare type Size = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
12
|
-
export declare type SizeInCSS = string;
|
|
13
|
-
export declare type CleekOptions = {
|
|
14
|
-
lang: Lang;
|
|
15
|
-
colors: {
|
|
16
|
-
primary: Color;
|
|
17
|
-
secondary: Color;
|
|
18
|
-
};
|
|
19
|
-
img: {
|
|
20
|
-
basePath: string;
|
|
21
|
-
};
|
|
22
|
-
button: {
|
|
23
|
-
type: ButtonType;
|
|
24
|
-
layout: Layout;
|
|
25
|
-
};
|
|
26
|
-
popup: {
|
|
27
|
-
textColor: string;
|
|
28
|
-
headerAlign: Align;
|
|
29
|
-
headerColor: Color;
|
|
30
|
-
acceptBtnType: ButtonType;
|
|
31
|
-
cancelBtnType: ButtonType;
|
|
32
|
-
maxWidth: string;
|
|
33
|
-
fontSize: string;
|
|
34
|
-
};
|
|
35
|
-
select: {
|
|
36
|
-
clearValue: any;
|
|
37
|
-
};
|
|
38
|
-
styles: {
|
|
39
|
-
layout: Layout;
|
|
40
|
-
borderColor: Color;
|
|
41
|
-
};
|
|
42
|
-
};
|
package/dist/types/table.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Align, AlignVertical } from './cleek-options';
|
|
2
|
-
export declare type ColumnItem = {
|
|
3
|
-
name: string;
|
|
4
|
-
title: string;
|
|
5
|
-
unchangeable: boolean;
|
|
6
|
-
isDisplayed: boolean;
|
|
7
|
-
nowrap?: boolean;
|
|
8
|
-
block?: boolean;
|
|
9
|
-
overflowAuto?: boolean;
|
|
10
|
-
align?: Align;
|
|
11
|
-
verticalAlign?: AlignVertical;
|
|
12
|
-
fixedWidth?: string;
|
|
13
|
-
autoWidth?: boolean;
|
|
14
|
-
minWidth?: string;
|
|
15
|
-
maxWidth?: string;
|
|
16
|
-
maxHeight?: string;
|
|
17
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ColumnItem } from '../types/table';
|
|
2
|
-
import type { Align, AlignVertical, WidthBreaks } from '../types/cleek-options';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
getCleekOptions(getCurrentInstance: ComponentInternalInstance): any;
|
|
5
|
-
getGroupClass({ group, groupVertical, widthBreaks, }: {
|
|
6
|
-
group?: Align | undefined;
|
|
7
|
-
groupVertical?: AlignVertical | undefined;
|
|
8
|
-
widthBreaks?: WidthBreaks | undefined;
|
|
9
|
-
} | undefined, windowWidth: number): string[];
|
|
10
|
-
getWidthByWidthBreaks(widthBreaks?: [number, string][] | undefined, windowWidth?: number | undefined): string | undefined;
|
|
11
|
-
isColorTemplateVariable(color: string): boolean;
|
|
12
|
-
isColumnDisplayed(column: ColumnItem): boolean;
|
|
13
|
-
preventUnusedError(functions: any[]): void;
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|