cleek 2.11.32 → 2.11.34
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/tiny-tailwind/aspect-ratio.styl +6 -6
- package/dist/cleek-styles/tiny-tailwind/bg-color.styl +161 -161
- package/dist/cleek-styles/tiny-tailwind/border-color.styl +161 -161
- package/dist/cleek-styles/tiny-tailwind/border.styl +63 -63
- package/dist/cleek-styles/tiny-tailwind/flex-direction.styl +8 -8
- package/dist/cleek-styles/tiny-tailwind/flex-grow.styl +10 -10
- package/dist/cleek-styles/tiny-tailwind/font-size.styl +24 -24
- package/dist/cleek-styles/tiny-tailwind/grid.styl +87 -87
- package/dist/cleek-styles/tiny-tailwind/height.styl +96 -96
- package/dist/cleek-styles/tiny-tailwind/inset.styl +328 -328
- package/dist/cleek-styles/tiny-tailwind/leading.styl +28 -28
- package/dist/cleek-styles/tiny-tailwind/object-fit.styl +20 -20
- package/dist/cleek-styles/tiny-tailwind/opacity.styl +30 -30
- package/dist/cleek-styles/tiny-tailwind/pointer-events.styl +4 -4
- package/dist/cleek-styles/tiny-tailwind/shadow.styl +16 -16
- package/dist/cleek-styles/tiny-tailwind/size-constraints.styl +127 -127
- package/dist/cleek-styles/tiny-tailwind/text-color.styl +159 -159
- package/dist/cleek-styles/tiny-tailwind/text-decoration.styl +8 -8
- package/dist/cleek-styles/tiny-tailwind/text-overflow.styl +38 -38
- package/dist/cleek-styles/tiny-tailwind/text-transform.styl +8 -8
- package/dist/cleek-styles/tiny-tailwind/transition.styl +55 -55
- package/dist/cleek-styles/tiny-tailwind/user-select.styl +8 -8
- package/dist/cleek-styles/tiny-tailwind/visibility.styl +4 -4
- package/dist/cleek-styles/tiny-tailwind/z-index.styl +14 -14
- package/dist/main.cjs.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.es.js +2120 -2097
- package/dist/types/cleek-options/default-cleek-options.d.ts +0 -1
- package/dist/types/components/ck-button.vue.d.ts +17 -41
- package/dist/types/components/ck-card.vue.d.ts +17 -27
- package/dist/types/components/ck-checkbox.vue.d.ts +26 -61
- package/dist/types/components/ck-chip.vue.d.ts +16 -32
- package/dist/types/components/ck-circle.vue.d.ts +16 -26
- package/dist/types/components/ck-div.vue.d.ts +16 -23
- package/dist/types/components/ck-dropdown/ck-dropdown.vue.d.ts +22 -23
- package/dist/types/components/ck-dropdown-button.vue.d.ts +7 -17
- package/dist/types/components/ck-icon.vue.d.ts +7 -26
- package/dist/types/components/ck-img.vue.d.ts +6 -30
- package/dist/types/components/ck-input/ck-input-date.vue.d.ts +9 -30
- package/dist/types/components/ck-input/ck-input-time.vue.d.ts +7 -23
- package/dist/types/components/ck-input.vue.d.ts +56 -249
- package/dist/types/components/ck-label.vue.d.ts +13 -20
- package/dist/types/components/ck-navbar/ck-navbar.vue.d.ts +12 -19
- package/dist/types/components/ck-notify/components/CkConfirm.vue.d.ts +1 -1
- package/dist/types/components/ck-popup.vue.d.ts +50 -157
- package/dist/types/components/ck-radio.vue.d.ts +8 -25
- package/dist/types/components/ck-select.vue.d.ts +52 -243
- package/dist/types/components/ck-sidebar.vue.d.ts +30 -69
- package/dist/types/components/ck-switch-options.vue.d.ts +27 -115
- package/dist/types/components/ck-switch.vue.d.ts +35 -102
- package/dist/types/components/ck-table/ck-pagination/ck-pagination.vue.d.ts +6 -25
- package/dist/types/components/ck-table/ck-table.vue.d.ts +60 -182
- package/dist/types/components/ck-table/ck-td.vue.d.ts +12 -27
- package/dist/types/components/ck-table/ck-th.vue.d.ts +12 -20
- package/dist/types/components/ck-table/ck-tr.vue.d.ts +9 -3
- package/dist/types/components/ck-table/inner-components/ck-table__columns-manager-btn.vue.d.ts +3 -14
- package/dist/types/components/ck-table/inner-components/ck-table__columns-manager.vue.d.ts +6 -19
- package/dist/types/components/ck-table/inner-components/ck-table__header-items.vue.d.ts +25 -58
- package/dist/types/components/ck-table/inner-components/ck-table__items-per-page.vue.d.ts +3 -16
- package/dist/types/components/ck-table/inner-components/ck-table__pagination.vue.d.ts +7 -23
- package/dist/types/components/ck-table/loading-and-no-results-text/LoadingAndNoResultsText.vue.d.ts +3 -16
- package/dist/types/components/ck-tabs/ck-tab.vue.d.ts +12 -18
- package/dist/types/components/ck-tabs/ck-tabs.vue.d.ts +19 -19
- package/dist/types/components/ck-textarea.vue.d.ts +14 -42
- package/dist/types/components/ck-tile-picker.vue.d.ts +35 -0
- package/dist/types/components/ck-toggle/ck-toggle.vue.d.ts +16 -27
- package/dist/types/components/ck-toggle-group/ck-toggle-group.vue.d.ts +28 -65
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/showers/ck-datetime-shower.vue.d.ts +5 -20
- package/dist/types/components/showers/ck-time-shower.vue.d.ts +3 -14
- package/dist/types/composables/use-scroll-listener.composable.d.ts +0 -1
- package/dist/types/main.d.ts +0 -1
- package/dist/types/types/table.d.ts +0 -1
- package/dist/types/utils/global-hooks.d.ts +0 -1
- package/package.json +86 -85
|
@@ -1,108 +1,41 @@
|
|
|
1
|
-
import { Icon, IconPack, Size } from '../cleek-options/cleek-options.types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Color, Icon, IconPack, Size } from '../cleek-options/cleek-options.types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
preventAutoUpdate?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
outlined?: boolean;
|
|
6
|
+
squared?: boolean;
|
|
7
|
+
size?: Size;
|
|
8
|
+
textSize?: Size;
|
|
9
|
+
switchSide?: 'left' | 'right';
|
|
10
|
+
color?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'envi-primary' | 'envi-secondary';
|
|
11
|
+
icon?: Icon;
|
|
12
|
+
iconPack?: IconPack;
|
|
13
|
+
label?: string;
|
|
14
|
+
labelIcon?: Icon;
|
|
15
|
+
labelIconRight?: Icon;
|
|
16
|
+
colorText?: Color;
|
|
5
17
|
};
|
|
6
|
-
|
|
7
|
-
modelValue:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
disabled: {
|
|
15
|
-
type: import('vue').PropType<boolean>;
|
|
16
|
-
};
|
|
17
|
-
outlined: {
|
|
18
|
-
type: import('vue').PropType<boolean>;
|
|
19
|
-
};
|
|
20
|
-
squared: {
|
|
21
|
-
type: import('vue').PropType<boolean>;
|
|
22
|
-
};
|
|
23
|
-
size: {
|
|
24
|
-
type: import('vue').PropType<Size>;
|
|
25
|
-
};
|
|
26
|
-
textSize: {
|
|
27
|
-
type: import('vue').PropType<Size>;
|
|
28
|
-
};
|
|
29
|
-
switchSide: {
|
|
30
|
-
type: import('vue').PropType<"left" | "right">;
|
|
31
|
-
};
|
|
32
|
-
color: {
|
|
33
|
-
type: import('vue').PropType<"primary" | "secondary" | "success" | "warning" | "danger" | "envi-primary" | "envi-secondary">;
|
|
34
|
-
};
|
|
35
|
-
icon: {
|
|
36
|
-
type: import('vue').PropType<Icon>;
|
|
37
|
-
};
|
|
38
|
-
iconPack: {
|
|
39
|
-
type: import('vue').PropType<IconPack>;
|
|
40
|
-
};
|
|
41
|
-
label: {
|
|
42
|
-
type: import('vue').PropType<string>;
|
|
43
|
-
};
|
|
44
|
-
labelIcon: {
|
|
45
|
-
type: import('vue').PropType<Icon>;
|
|
46
|
-
};
|
|
47
|
-
labelIconRight: {
|
|
48
|
-
type: import('vue').PropType<Icon>;
|
|
49
|
-
};
|
|
50
|
-
colorText: {
|
|
51
|
-
type: import('vue').PropType<string>;
|
|
52
|
-
};
|
|
53
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
54
|
-
click: () => void;
|
|
55
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
56
|
-
modelValue: {
|
|
57
|
-
required: true;
|
|
58
|
-
type: import('vue').PropType<boolean>;
|
|
59
|
-
};
|
|
60
|
-
preventAutoUpdate: {
|
|
61
|
-
type: import('vue').PropType<boolean>;
|
|
62
|
-
};
|
|
63
|
-
disabled: {
|
|
64
|
-
type: import('vue').PropType<boolean>;
|
|
65
|
-
};
|
|
66
|
-
outlined: {
|
|
67
|
-
type: import('vue').PropType<boolean>;
|
|
68
|
-
};
|
|
69
|
-
squared: {
|
|
70
|
-
type: import('vue').PropType<boolean>;
|
|
71
|
-
};
|
|
72
|
-
size: {
|
|
73
|
-
type: import('vue').PropType<Size>;
|
|
74
|
-
};
|
|
75
|
-
textSize: {
|
|
76
|
-
type: import('vue').PropType<Size>;
|
|
77
|
-
};
|
|
78
|
-
switchSide: {
|
|
79
|
-
type: import('vue').PropType<"left" | "right">;
|
|
80
|
-
};
|
|
81
|
-
color: {
|
|
82
|
-
type: import('vue').PropType<"primary" | "secondary" | "success" | "warning" | "danger" | "envi-primary" | "envi-secondary">;
|
|
83
|
-
};
|
|
84
|
-
icon: {
|
|
85
|
-
type: import('vue').PropType<Icon>;
|
|
86
|
-
};
|
|
87
|
-
iconPack: {
|
|
88
|
-
type: import('vue').PropType<IconPack>;
|
|
89
|
-
};
|
|
90
|
-
label: {
|
|
91
|
-
type: import('vue').PropType<string>;
|
|
92
|
-
};
|
|
93
|
-
labelIcon: {
|
|
94
|
-
type: import('vue').PropType<Icon>;
|
|
95
|
-
};
|
|
96
|
-
labelIconRight: {
|
|
97
|
-
type: import('vue').PropType<Icon>;
|
|
98
|
-
};
|
|
99
|
-
colorText: {
|
|
100
|
-
type: import('vue').PropType<string>;
|
|
18
|
+
type __VLS_PublicProps = {
|
|
19
|
+
modelValue: boolean;
|
|
20
|
+
} & __VLS_Props;
|
|
21
|
+
declare function __VLS_template(): {
|
|
22
|
+
attrs: Partial<{}>;
|
|
23
|
+
slots: {
|
|
24
|
+
default?(_: {}): any;
|
|
25
|
+
default?(_: {}): any;
|
|
101
26
|
};
|
|
102
|
-
|
|
27
|
+
refs: {};
|
|
28
|
+
rootEl: HTMLLabelElement;
|
|
29
|
+
};
|
|
30
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
+
click: () => any;
|
|
33
|
+
"update:modelValue": (value: boolean) => any;
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
103
35
|
onClick?: () => any;
|
|
104
|
-
|
|
105
|
-
|
|
36
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
37
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
106
39
|
export default _default;
|
|
107
40
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
108
41
|
new (): {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Align, Layout, ButtonType } from '../../../cleek-options/cleek-options.types';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
4
3
|
modelValue: number;
|
|
5
4
|
maxStep: number;
|
|
6
5
|
align?: Align;
|
|
@@ -10,28 +9,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
10
9
|
iconDisableLeft?: string;
|
|
11
10
|
iconArrowRight?: string;
|
|
12
11
|
iconDisableRight?: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
maxStep: number;
|
|
18
|
-
align?: Align;
|
|
19
|
-
btnLayout?: Layout;
|
|
20
|
-
btnType?: ButtonType;
|
|
21
|
-
iconArrowLeft?: string;
|
|
22
|
-
iconDisableLeft?: string;
|
|
23
|
-
iconArrowRight?: string;
|
|
24
|
-
iconDisableRight?: string;
|
|
25
|
-
}>>> & Readonly<{
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
+
"update:modelValue": (value: number) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
16
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
27
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
28
18
|
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,197 +1,75 @@
|
|
|
1
1
|
import { ColumnItem } from '../../types/table';
|
|
2
|
-
import { Align, Layout, TableVersion } from '../../cleek-options/cleek-options.types';
|
|
2
|
+
import { Align, Color, Layout, TableVersion } from '../../cleek-options/cleek-options.types';
|
|
3
3
|
import { SelectedRows } from '../index';
|
|
4
|
-
|
|
5
4
|
type Columns = ColumnItem[] | object;
|
|
6
5
|
type CellPadding = 's' | 'm' | 'l' | 'none';
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
rows: any[];
|
|
8
|
+
columns?: Columns;
|
|
9
|
+
hasColumnsManager?: boolean;
|
|
10
|
+
currentPage?: number;
|
|
11
|
+
itemsPerPage?: number;
|
|
12
|
+
listLength?: number;
|
|
13
|
+
paginationAlign?: Align;
|
|
14
|
+
search?: string;
|
|
15
|
+
loadingText?: string;
|
|
16
|
+
isLoading?: boolean;
|
|
17
|
+
hideHeaderActions?: boolean;
|
|
18
|
+
hideRefreshBtn?: boolean;
|
|
19
|
+
hideItemsPerPage?: boolean;
|
|
20
|
+
darkMode?: boolean;
|
|
21
|
+
notFullWidth?: boolean;
|
|
22
|
+
striped?: boolean;
|
|
23
|
+
cellPadding?: CellPadding;
|
|
24
|
+
cellPaddingY?: CellPadding;
|
|
25
|
+
noResultsText?: string;
|
|
26
|
+
notOverflow?: boolean;
|
|
27
|
+
layout?: Layout;
|
|
28
|
+
version?: TableVersion;
|
|
29
|
+
headerTextColor?: Color;
|
|
30
|
+
headerBackgroundColor?: Color;
|
|
31
|
+
mobileMaxWidth?: Number;
|
|
32
|
+
};
|
|
33
|
+
type __VLS_PublicProps = {
|
|
34
|
+
'selectedRows'?: SelectedRows;
|
|
35
|
+
} & __VLS_Props;
|
|
7
36
|
declare function __VLS_template(): {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
37
|
+
attrs: Partial<{}>;
|
|
38
|
+
slots: {
|
|
39
|
+
headerActionsLeft?(_: {}): any;
|
|
40
|
+
headerActionsRight?(_: {}): any;
|
|
41
|
+
header?(_: {}): any;
|
|
42
|
+
headerBottom?(_: {}): any;
|
|
43
|
+
selectedRowsActions?(_: {}): any;
|
|
44
|
+
default?(_: {}): any;
|
|
45
|
+
desktop?(_: {}): any;
|
|
46
|
+
row?(_: {
|
|
47
|
+
row: any;
|
|
48
|
+
rowIndex: number;
|
|
49
|
+
}): any;
|
|
50
|
+
footer?(_: {}): any;
|
|
51
|
+
mobile?(_: {}): any;
|
|
52
|
+
};
|
|
53
|
+
refs: {};
|
|
54
|
+
rootEl: HTMLDivElement;
|
|
21
55
|
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
layout: {
|
|
32
|
-
type: import('vue').PropType<Layout>;
|
|
33
|
-
};
|
|
34
|
-
striped: {
|
|
35
|
-
type: import('vue').PropType<boolean>;
|
|
36
|
-
};
|
|
37
|
-
version: {
|
|
38
|
-
type: import('vue').PropType<TableVersion>;
|
|
39
|
-
};
|
|
40
|
-
headerTextColor: {
|
|
41
|
-
type: import('vue').PropType<string>;
|
|
42
|
-
};
|
|
43
|
-
headerBackgroundColor: {
|
|
44
|
-
type: import('vue').PropType<string>;
|
|
45
|
-
};
|
|
46
|
-
isLoading: {
|
|
47
|
-
type: import('vue').PropType<boolean>;
|
|
48
|
-
default: any;
|
|
49
|
-
};
|
|
50
|
-
currentPage: {
|
|
51
|
-
type: import('vue').PropType<number>;
|
|
52
|
-
};
|
|
53
|
-
itemsPerPage: {
|
|
54
|
-
type: import('vue').PropType<number>;
|
|
55
|
-
};
|
|
56
|
-
hideItemsPerPage: {
|
|
57
|
-
type: import('vue').PropType<boolean>;
|
|
58
|
-
};
|
|
59
|
-
listLength: {
|
|
60
|
-
type: import('vue').PropType<number>;
|
|
61
|
-
};
|
|
62
|
-
hideRefreshBtn: {
|
|
63
|
-
type: import('vue').PropType<boolean>;
|
|
64
|
-
};
|
|
65
|
-
hideHeaderActions: {
|
|
66
|
-
type: import('vue').PropType<boolean>;
|
|
67
|
-
};
|
|
68
|
-
columns: {
|
|
69
|
-
type: import('vue').PropType<Columns>;
|
|
70
|
-
};
|
|
71
|
-
rows: {
|
|
72
|
-
type: import('vue').PropType<any[]>;
|
|
73
|
-
required: true;
|
|
74
|
-
};
|
|
75
|
-
hasColumnsManager: {
|
|
76
|
-
type: import('vue').PropType<boolean>;
|
|
77
|
-
};
|
|
78
|
-
paginationAlign: {
|
|
79
|
-
type: import('vue').PropType<Align>;
|
|
80
|
-
};
|
|
81
|
-
loadingText: {
|
|
82
|
-
type: import('vue').PropType<string>;
|
|
83
|
-
};
|
|
84
|
-
notFullWidth: {
|
|
85
|
-
type: import('vue').PropType<boolean>;
|
|
86
|
-
};
|
|
87
|
-
cellPadding: {
|
|
88
|
-
type: import('vue').PropType<CellPadding>;
|
|
89
|
-
};
|
|
90
|
-
cellPaddingY: {
|
|
91
|
-
type: import('vue').PropType<CellPadding>;
|
|
92
|
-
};
|
|
93
|
-
noResultsText: {
|
|
94
|
-
type: import('vue').PropType<string>;
|
|
95
|
-
};
|
|
96
|
-
notOverflow: {
|
|
97
|
-
type: import('vue').PropType<boolean>;
|
|
98
|
-
};
|
|
99
|
-
mobileMaxWidth: {
|
|
100
|
-
type: import('vue').PropType<Number>;
|
|
101
|
-
};
|
|
102
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
103
|
-
refreshList: (pageChange: boolean) => void;
|
|
104
|
-
"update:search": (value: string) => void;
|
|
105
|
-
"update:currentPage": (value: number) => void;
|
|
106
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
107
|
-
selectedRows: import('vue').PropType<SelectedRows>;
|
|
108
|
-
search: {
|
|
109
|
-
type: import('vue').PropType<string>;
|
|
110
|
-
};
|
|
111
|
-
darkMode: {
|
|
112
|
-
type: import('vue').PropType<boolean>;
|
|
113
|
-
default: any;
|
|
114
|
-
};
|
|
115
|
-
layout: {
|
|
116
|
-
type: import('vue').PropType<Layout>;
|
|
117
|
-
};
|
|
118
|
-
striped: {
|
|
119
|
-
type: import('vue').PropType<boolean>;
|
|
120
|
-
};
|
|
121
|
-
version: {
|
|
122
|
-
type: import('vue').PropType<TableVersion>;
|
|
123
|
-
};
|
|
124
|
-
headerTextColor: {
|
|
125
|
-
type: import('vue').PropType<string>;
|
|
126
|
-
};
|
|
127
|
-
headerBackgroundColor: {
|
|
128
|
-
type: import('vue').PropType<string>;
|
|
129
|
-
};
|
|
130
|
-
isLoading: {
|
|
131
|
-
type: import('vue').PropType<boolean>;
|
|
132
|
-
default: any;
|
|
133
|
-
};
|
|
134
|
-
currentPage: {
|
|
135
|
-
type: import('vue').PropType<number>;
|
|
136
|
-
};
|
|
137
|
-
itemsPerPage: {
|
|
138
|
-
type: import('vue').PropType<number>;
|
|
139
|
-
};
|
|
140
|
-
hideItemsPerPage: {
|
|
141
|
-
type: import('vue').PropType<boolean>;
|
|
142
|
-
};
|
|
143
|
-
listLength: {
|
|
144
|
-
type: import('vue').PropType<number>;
|
|
145
|
-
};
|
|
146
|
-
hideRefreshBtn: {
|
|
147
|
-
type: import('vue').PropType<boolean>;
|
|
148
|
-
};
|
|
149
|
-
hideHeaderActions: {
|
|
150
|
-
type: import('vue').PropType<boolean>;
|
|
151
|
-
};
|
|
152
|
-
columns: {
|
|
153
|
-
type: import('vue').PropType<Columns>;
|
|
154
|
-
};
|
|
155
|
-
rows: {
|
|
156
|
-
type: import('vue').PropType<any[]>;
|
|
157
|
-
required: true;
|
|
158
|
-
};
|
|
159
|
-
hasColumnsManager: {
|
|
160
|
-
type: import('vue').PropType<boolean>;
|
|
161
|
-
};
|
|
162
|
-
paginationAlign: {
|
|
163
|
-
type: import('vue').PropType<Align>;
|
|
164
|
-
};
|
|
165
|
-
loadingText: {
|
|
166
|
-
type: import('vue').PropType<string>;
|
|
167
|
-
};
|
|
168
|
-
notFullWidth: {
|
|
169
|
-
type: import('vue').PropType<boolean>;
|
|
170
|
-
};
|
|
171
|
-
cellPadding: {
|
|
172
|
-
type: import('vue').PropType<CellPadding>;
|
|
173
|
-
};
|
|
174
|
-
cellPaddingY: {
|
|
175
|
-
type: import('vue').PropType<CellPadding>;
|
|
176
|
-
};
|
|
177
|
-
noResultsText: {
|
|
178
|
-
type: import('vue').PropType<string>;
|
|
179
|
-
};
|
|
180
|
-
notOverflow: {
|
|
181
|
-
type: import('vue').PropType<boolean>;
|
|
182
|
-
};
|
|
183
|
-
mobileMaxWidth: {
|
|
184
|
-
type: import('vue').PropType<Number>;
|
|
185
|
-
};
|
|
186
|
-
}>> & Readonly<{
|
|
56
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
57
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
|
+
"update:selectedRows": (value: SelectedRows) => any;
|
|
59
|
+
} & {
|
|
60
|
+
refreshList: (pageChange: boolean) => any;
|
|
61
|
+
"update:currentPage": (value: number) => any;
|
|
62
|
+
"update:search": (value: string) => any;
|
|
63
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
187
64
|
onRefreshList?: (pageChange: boolean) => any;
|
|
188
65
|
"onUpdate:currentPage"?: (value: number) => any;
|
|
189
66
|
"onUpdate:search"?: (value: string) => any;
|
|
67
|
+
"onUpdate:selectedRows"?: (value: SelectedRows) => any;
|
|
190
68
|
}>, {
|
|
191
69
|
darkMode: boolean;
|
|
192
70
|
isLoading: boolean;
|
|
193
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
194
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
71
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
72
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
195
73
|
export default _default;
|
|
196
74
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
197
75
|
new (): {
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { Align, AlignVertical } from '../../cleek-options/cleek-options.types';
|
|
2
2
|
import { ColumnItem } from '../../types/table';
|
|
3
|
-
|
|
4
|
-
declare function __VLS_template(): {
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
type __VLS_Props = {
|
|
8
4
|
col?: ColumnItem;
|
|
9
5
|
nowrap?: boolean;
|
|
10
6
|
block?: boolean;
|
|
@@ -16,30 +12,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
16
12
|
minWidth?: string;
|
|
17
13
|
maxWidth?: string;
|
|
18
14
|
maxHeight?: string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
align?: Align;
|
|
25
|
-
verticalAlign?: AlignVertical;
|
|
26
|
-
fixedWidth?: string;
|
|
27
|
-
autoWidth?: boolean;
|
|
28
|
-
minWidth?: string;
|
|
29
|
-
maxWidth?: string;
|
|
30
|
-
maxHeight?: string;
|
|
31
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
33
|
-
export default _default;
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
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;
|
|
15
|
+
};
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: {
|
|
19
|
+
default?(_: {}): any;
|
|
41
20
|
};
|
|
21
|
+
refs: {};
|
|
22
|
+
rootEl: any;
|
|
42
23
|
};
|
|
24
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
43
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
29
|
new (): {
|
|
45
30
|
$slots: S;
|
|
@@ -1,30 +1,22 @@
|
|
|
1
1
|
import { Align, Color } from '../../cleek-options/cleek-options.types';
|
|
2
|
-
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
align: Align;
|
|
8
|
-
minWidth: string;
|
|
9
|
-
textColor?: Color;
|
|
10
|
-
backgroundColor?: Color;
|
|
11
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
12
3
|
align: Align;
|
|
13
4
|
minWidth: string;
|
|
14
5
|
textColor?: Color;
|
|
15
6
|
backgroundColor?: Color;
|
|
16
|
-
}
|
|
17
|
-
declare
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
26
12
|
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: HTMLTableCellElement;
|
|
27
15
|
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableCellElement>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
28
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
21
|
new (): {
|
|
30
22
|
$slots: S;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLTableRowElement;
|
|
3
8
|
};
|
|
4
|
-
|
|
5
|
-
declare const
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLTableRowElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
6
12
|
export default _default;
|
|
7
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
14
|
new (): {
|
package/dist/types/components/ck-table/inner-components/ck-table__columns-manager-btn.vue.d.ts
CHANGED
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
import { Layout } from '../../../cleek-options/cleek-options.types';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
4
3
|
layout?: Layout;
|
|
5
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
layout?: Layout;
|
|
7
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
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
4
|
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -1,25 +1,12 @@
|
|
|
1
1
|
import { ColumnItem } from '../../../types/table';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type __VLS_Props = {
|
|
4
3
|
modelValue: boolean;
|
|
5
4
|
columns?: object;
|
|
6
5
|
columnsArray?: ColumnItem[];
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
columns?: object;
|
|
12
|
-
columnsArray?: ColumnItem[];
|
|
13
|
-
}>>> & Readonly<{
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
"update:modelValue": (value: boolean) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
10
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
15
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
12
|
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
|
-
};
|