cleek 2.11.33 → 2.11.35

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 (53) hide show
  1. package/dist/main.cjs.js +1 -1
  2. package/dist/main.css +1 -1
  3. package/dist/main.es.js +1982 -2391
  4. package/dist/types/cleek-options/cleek-options.types.d.ts +1 -1
  5. package/dist/types/cleek-options/default-cleek-options.d.ts +0 -1
  6. package/dist/types/components/ck-button.vue.d.ts +17 -41
  7. package/dist/types/components/ck-card.vue.d.ts +17 -27
  8. package/dist/types/components/ck-checkbox.vue.d.ts +26 -61
  9. package/dist/types/components/ck-chip.vue.d.ts +16 -32
  10. package/dist/types/components/ck-circle.vue.d.ts +16 -26
  11. package/dist/types/components/ck-div.vue.d.ts +16 -23
  12. package/dist/types/components/ck-dropdown/ck-dropdown.vue.d.ts +22 -23
  13. package/dist/types/components/ck-dropdown-button.vue.d.ts +7 -17
  14. package/dist/types/components/ck-icon.vue.d.ts +7 -26
  15. package/dist/types/components/ck-img.vue.d.ts +6 -30
  16. package/dist/types/components/ck-input/ck-input-date.vue.d.ts +9 -30
  17. package/dist/types/components/ck-input/ck-input-time.vue.d.ts +7 -23
  18. package/dist/types/components/ck-input.vue.d.ts +57 -234
  19. package/dist/types/components/ck-label.vue.d.ts +13 -20
  20. package/dist/types/components/ck-navbar/ck-navbar.vue.d.ts +12 -19
  21. package/dist/types/components/ck-notify/components/CkConfirm.vue.d.ts +1 -1
  22. package/dist/types/components/ck-popup.vue.d.ts +50 -157
  23. package/dist/types/components/ck-radio.vue.d.ts +8 -25
  24. package/dist/types/components/ck-select.vue.d.ts +52 -243
  25. package/dist/types/components/ck-sidebar.vue.d.ts +30 -69
  26. package/dist/types/components/ck-switch-options.vue.d.ts +27 -115
  27. package/dist/types/components/ck-switch.vue.d.ts +35 -102
  28. package/dist/types/components/ck-table/ck-pagination/ck-pagination.vue.d.ts +6 -25
  29. package/dist/types/components/ck-table/ck-table.vue.d.ts +60 -182
  30. package/dist/types/components/ck-table/ck-td.vue.d.ts +12 -27
  31. package/dist/types/components/ck-table/ck-th.vue.d.ts +12 -20
  32. package/dist/types/components/ck-table/ck-tr.vue.d.ts +9 -3
  33. package/dist/types/components/ck-table/inner-components/ck-table__columns-manager-btn.vue.d.ts +3 -14
  34. package/dist/types/components/ck-table/inner-components/ck-table__columns-manager.vue.d.ts +6 -19
  35. package/dist/types/components/ck-table/inner-components/ck-table__header-items.vue.d.ts +25 -58
  36. package/dist/types/components/ck-table/inner-components/ck-table__items-per-page.vue.d.ts +3 -16
  37. package/dist/types/components/ck-table/inner-components/ck-table__pagination.vue.d.ts +7 -23
  38. package/dist/types/components/ck-table/loading-and-no-results-text/LoadingAndNoResultsText.vue.d.ts +3 -16
  39. package/dist/types/components/ck-tabs/ck-tab.vue.d.ts +12 -18
  40. package/dist/types/components/ck-tabs/ck-tabs.vue.d.ts +19 -19
  41. package/dist/types/components/ck-textarea.vue.d.ts +14 -42
  42. package/dist/types/components/ck-tile-picker.vue.d.ts +33 -85
  43. package/dist/types/components/ck-toggle/ck-toggle.vue.d.ts +16 -27
  44. package/dist/types/components/ck-toggle-group/ck-toggle-group.vue.d.ts +28 -65
  45. package/dist/types/components/showers/ck-datetime-shower.vue.d.ts +5 -20
  46. package/dist/types/components/showers/ck-time-shower.vue.d.ts +3 -14
  47. package/dist/types/composables/use-scroll-listener.composable.d.ts +0 -1
  48. package/dist/types/main.d.ts +0 -1
  49. package/dist/types/types/table.d.ts +0 -1
  50. package/dist/types/utils/date-helpers.d.ts +6 -0
  51. package/dist/types/utils/global-hooks.d.ts +0 -1
  52. package/dist/types/utils/string-helpers.d.ts +3 -0
  53. package/package.json +79 -85
@@ -1,123 +1,35 @@
1
1
  import { Align } from '../cleek-options/cleek-options.types';
2
-
3
2
  type OptionValue = any;
4
3
  type Option = any;
5
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
- modelValue: {
7
- required: true;
8
- type: import('vue').PropType<OptionValue>;
9
- };
10
- label: {
11
- type: import('vue').PropType<string>;
12
- };
13
- group: {
14
- type: import('vue').PropType<"left" | "center" | "right">;
15
- };
16
- groupVertical: {
17
- type: import('vue').PropType<"center" | "top" | "bottom">;
18
- };
19
- widthBreaks: {
20
- type: import('vue').PropType<[number, string][]>;
21
- };
22
- labelAlign: {
23
- type: import('vue').PropType<Align>;
24
- };
25
- options: {
26
- type: import('vue').PropType<any[]>;
27
- };
28
- notReduce: {
29
- type: import('vue').PropType<boolean>;
30
- };
31
- reduceValueProp: {
32
- type: import('vue').PropType<string>;
33
- default: string;
34
- };
35
- reduceValueMethod: {
36
- type: import('vue').PropType<string>;
37
- };
38
- reduceValueFunction: {
39
- type: import('vue').PropType<(option: Option) => OptionValue>;
40
- };
41
- notReduceValue: {
42
- type: import('vue').PropType<boolean>;
43
- };
44
- reduceNameProp: {
45
- type: import('vue').PropType<string>;
46
- default: string;
47
- };
48
- reduceNameMethod: {
49
- type: import('vue').PropType<string>;
50
- };
51
- reduceNameFunction: {
52
- type: import('vue').PropType<(option: Option) => string>;
53
- };
54
- notReduceName: {
55
- type: import('vue').PropType<boolean>;
56
- };
57
- sameWidthOptions: {
58
- type: import('vue').PropType<boolean>;
59
- };
60
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
61
- change: (val: any) => void;
62
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
63
- modelValue: {
64
- required: true;
65
- type: import('vue').PropType<OptionValue>;
66
- };
67
- label: {
68
- type: import('vue').PropType<string>;
69
- };
70
- group: {
71
- type: import('vue').PropType<"left" | "center" | "right">;
72
- };
73
- groupVertical: {
74
- type: import('vue').PropType<"center" | "top" | "bottom">;
75
- };
76
- widthBreaks: {
77
- type: import('vue').PropType<[number, string][]>;
78
- };
79
- labelAlign: {
80
- type: import('vue').PropType<Align>;
81
- };
82
- options: {
83
- type: import('vue').PropType<any[]>;
84
- };
85
- notReduce: {
86
- type: import('vue').PropType<boolean>;
87
- };
88
- reduceValueProp: {
89
- type: import('vue').PropType<string>;
90
- default: string;
91
- };
92
- reduceValueMethod: {
93
- type: import('vue').PropType<string>;
94
- };
95
- reduceValueFunction: {
96
- type: import('vue').PropType<(option: Option) => OptionValue>;
97
- };
98
- notReduceValue: {
99
- type: import('vue').PropType<boolean>;
100
- };
101
- reduceNameProp: {
102
- type: import('vue').PropType<string>;
103
- default: string;
104
- };
105
- reduceNameMethod: {
106
- type: import('vue').PropType<string>;
107
- };
108
- reduceNameFunction: {
109
- type: import('vue').PropType<(option: Option) => string>;
110
- };
111
- notReduceName: {
112
- type: import('vue').PropType<boolean>;
113
- };
114
- sameWidthOptions: {
115
- type: import('vue').PropType<boolean>;
116
- };
117
- }>> & Readonly<{
4
+ type __VLS_Props = {
5
+ options?: Option[];
6
+ notReduce?: boolean;
7
+ reduceValueProp?: string;
8
+ reduceValueMethod?: string;
9
+ reduceValueFunction?: (option: Option) => OptionValue;
10
+ notReduceValue?: boolean;
11
+ reduceNameProp?: string;
12
+ reduceNameMethod?: string;
13
+ reduceNameFunction?: (option: Option) => string;
14
+ notReduceName?: boolean;
15
+ label?: string;
16
+ labelAlign?: Align;
17
+ widthBreaks?: [number, string][];
18
+ group?: 'left' | 'right' | 'center';
19
+ groupVertical?: 'top' | 'bottom' | 'center';
20
+ sameWidthOptions?: boolean;
21
+ };
22
+ type __VLS_PublicProps = {
23
+ modelValue: OptionValue;
24
+ } & __VLS_Props;
25
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ change: (val: any) => any;
27
+ "update:modelValue": (value: any) => any;
28
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
118
29
  onChange?: (val: any) => any;
30
+ "onUpdate:modelValue"?: (value: any) => any;
119
31
  }>, {
120
32
  reduceValueProp: string;
121
33
  reduceNameProp: string;
122
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
123
35
  export default _default;
@@ -1,108 +1,41 @@
1
- import { Icon, IconPack, Size } from '../cleek-options/cleek-options.types';
2
-
3
- declare function __VLS_template(): {
4
- default?(_: {}): any;
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
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
- modelValue: {
8
- required: true;
9
- type: import('vue').PropType<boolean>;
10
- };
11
- preventAutoUpdate: {
12
- type: import('vue').PropType<boolean>;
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
- }>> & Readonly<{
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
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
105
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
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
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
- "update:modelValue": (value: number) => void;
15
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
16
- modelValue: number;
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, true, {}, any>;
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
- headerActionsLeft?(_: {}): any;
9
- headerActionsRight?(_: {}): any;
10
- header?(_: {}): any;
11
- headerBottom?(_: {}): any;
12
- selectedRowsActions?(_: {}): any;
13
- default?(_: {}): any;
14
- desktop?(_: {}): any;
15
- row?(_: {
16
- row: any;
17
- rowIndex: number;
18
- }): any;
19
- footer?(_: {}): any;
20
- mobile?(_: {}): any;
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
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
23
- selectedRows: import('vue').PropType<SelectedRows>;
24
- search: {
25
- type: import('vue').PropType<string>;
26
- };
27
- darkMode: {
28
- type: import('vue').PropType<boolean>;
29
- default: any;
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
- columns: {
51
- type: import('vue').PropType<Columns>;
52
- };
53
- currentPage: {
54
- type: import('vue').PropType<number>;
55
- };
56
- itemsPerPage: {
57
- type: import('vue').PropType<number>;
58
- };
59
- hideItemsPerPage: {
60
- type: import('vue').PropType<boolean>;
61
- };
62
- listLength: {
63
- type: import('vue').PropType<number>;
64
- };
65
- hideRefreshBtn: {
66
- type: import('vue').PropType<boolean>;
67
- };
68
- hideHeaderActions: {
69
- type: import('vue').PropType<boolean>;
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
- columns: {
135
- type: import('vue').PropType<Columns>;
136
- };
137
- currentPage: {
138
- type: import('vue').PropType<number>;
139
- };
140
- itemsPerPage: {
141
- type: import('vue').PropType<number>;
142
- };
143
- hideItemsPerPage: {
144
- type: import('vue').PropType<boolean>;
145
- };
146
- listLength: {
147
- type: import('vue').PropType<number>;
148
- };
149
- hideRefreshBtn: {
150
- type: import('vue').PropType<boolean>;
151
- };
152
- hideHeaderActions: {
153
- type: import('vue').PropType<boolean>;
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, true, {}, any>;
194
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
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
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
20
- col?: ColumnItem;
21
- nowrap?: boolean;
22
- block?: boolean;
23
- overflowAuto?: boolean;
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;