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.
Files changed (75) hide show
  1. package/dist/cleek-styles/tiny-tailwind/aspect-ratio.styl +6 -6
  2. package/dist/cleek-styles/tiny-tailwind/bg-color.styl +161 -161
  3. package/dist/cleek-styles/tiny-tailwind/border-color.styl +161 -161
  4. package/dist/cleek-styles/tiny-tailwind/border.styl +63 -63
  5. package/dist/cleek-styles/tiny-tailwind/flex-direction.styl +8 -8
  6. package/dist/cleek-styles/tiny-tailwind/flex-grow.styl +10 -10
  7. package/dist/cleek-styles/tiny-tailwind/font-size.styl +24 -24
  8. package/dist/cleek-styles/tiny-tailwind/grid.styl +87 -87
  9. package/dist/cleek-styles/tiny-tailwind/height.styl +96 -96
  10. package/dist/cleek-styles/tiny-tailwind/inset.styl +328 -328
  11. package/dist/cleek-styles/tiny-tailwind/leading.styl +28 -28
  12. package/dist/cleek-styles/tiny-tailwind/object-fit.styl +20 -20
  13. package/dist/cleek-styles/tiny-tailwind/opacity.styl +30 -30
  14. package/dist/cleek-styles/tiny-tailwind/pointer-events.styl +4 -4
  15. package/dist/cleek-styles/tiny-tailwind/shadow.styl +16 -16
  16. package/dist/cleek-styles/tiny-tailwind/size-constraints.styl +127 -127
  17. package/dist/cleek-styles/tiny-tailwind/text-color.styl +159 -159
  18. package/dist/cleek-styles/tiny-tailwind/text-decoration.styl +8 -8
  19. package/dist/cleek-styles/tiny-tailwind/text-overflow.styl +38 -38
  20. package/dist/cleek-styles/tiny-tailwind/text-transform.styl +8 -8
  21. package/dist/cleek-styles/tiny-tailwind/transition.styl +55 -55
  22. package/dist/cleek-styles/tiny-tailwind/user-select.styl +8 -8
  23. package/dist/cleek-styles/tiny-tailwind/visibility.styl +4 -4
  24. package/dist/cleek-styles/tiny-tailwind/z-index.styl +14 -14
  25. package/dist/main.cjs.js +1 -1
  26. package/dist/main.css +1 -1
  27. package/dist/main.es.js +2120 -2097
  28. package/dist/types/cleek-options/default-cleek-options.d.ts +0 -1
  29. package/dist/types/components/ck-button.vue.d.ts +17 -41
  30. package/dist/types/components/ck-card.vue.d.ts +17 -27
  31. package/dist/types/components/ck-checkbox.vue.d.ts +26 -61
  32. package/dist/types/components/ck-chip.vue.d.ts +16 -32
  33. package/dist/types/components/ck-circle.vue.d.ts +16 -26
  34. package/dist/types/components/ck-div.vue.d.ts +16 -23
  35. package/dist/types/components/ck-dropdown/ck-dropdown.vue.d.ts +22 -23
  36. package/dist/types/components/ck-dropdown-button.vue.d.ts +7 -17
  37. package/dist/types/components/ck-icon.vue.d.ts +7 -26
  38. package/dist/types/components/ck-img.vue.d.ts +6 -30
  39. package/dist/types/components/ck-input/ck-input-date.vue.d.ts +9 -30
  40. package/dist/types/components/ck-input/ck-input-time.vue.d.ts +7 -23
  41. package/dist/types/components/ck-input.vue.d.ts +56 -249
  42. package/dist/types/components/ck-label.vue.d.ts +13 -20
  43. package/dist/types/components/ck-navbar/ck-navbar.vue.d.ts +12 -19
  44. package/dist/types/components/ck-notify/components/CkConfirm.vue.d.ts +1 -1
  45. package/dist/types/components/ck-popup.vue.d.ts +50 -157
  46. package/dist/types/components/ck-radio.vue.d.ts +8 -25
  47. package/dist/types/components/ck-select.vue.d.ts +52 -243
  48. package/dist/types/components/ck-sidebar.vue.d.ts +30 -69
  49. package/dist/types/components/ck-switch-options.vue.d.ts +27 -115
  50. package/dist/types/components/ck-switch.vue.d.ts +35 -102
  51. package/dist/types/components/ck-table/ck-pagination/ck-pagination.vue.d.ts +6 -25
  52. package/dist/types/components/ck-table/ck-table.vue.d.ts +60 -182
  53. package/dist/types/components/ck-table/ck-td.vue.d.ts +12 -27
  54. package/dist/types/components/ck-table/ck-th.vue.d.ts +12 -20
  55. package/dist/types/components/ck-table/ck-tr.vue.d.ts +9 -3
  56. package/dist/types/components/ck-table/inner-components/ck-table__columns-manager-btn.vue.d.ts +3 -14
  57. package/dist/types/components/ck-table/inner-components/ck-table__columns-manager.vue.d.ts +6 -19
  58. package/dist/types/components/ck-table/inner-components/ck-table__header-items.vue.d.ts +25 -58
  59. package/dist/types/components/ck-table/inner-components/ck-table__items-per-page.vue.d.ts +3 -16
  60. package/dist/types/components/ck-table/inner-components/ck-table__pagination.vue.d.ts +7 -23
  61. package/dist/types/components/ck-table/loading-and-no-results-text/LoadingAndNoResultsText.vue.d.ts +3 -16
  62. package/dist/types/components/ck-tabs/ck-tab.vue.d.ts +12 -18
  63. package/dist/types/components/ck-tabs/ck-tabs.vue.d.ts +19 -19
  64. package/dist/types/components/ck-textarea.vue.d.ts +14 -42
  65. package/dist/types/components/ck-tile-picker.vue.d.ts +35 -0
  66. package/dist/types/components/ck-toggle/ck-toggle.vue.d.ts +16 -27
  67. package/dist/types/components/ck-toggle-group/ck-toggle-group.vue.d.ts +28 -65
  68. package/dist/types/components/index.d.ts +1 -0
  69. package/dist/types/components/showers/ck-datetime-shower.vue.d.ts +5 -20
  70. package/dist/types/components/showers/ck-time-shower.vue.d.ts +3 -14
  71. package/dist/types/composables/use-scroll-listener.composable.d.ts +0 -1
  72. package/dist/types/main.d.ts +0 -1
  73. package/dist/types/types/table.d.ts +0 -1
  74. package/dist/types/utils/global-hooks.d.ts +0 -1
  75. package/package.json +86 -85
@@ -1,67 +1,34 @@
1
1
  import { Layout, TableVersion } from '../../../cleek-options/cleek-options.types';
2
-
3
- declare function __VLS_template(): {
4
- headerActionsLeft?(_: {}): any;
5
- headerActionsRight?(_: {}): any;
2
+ type __VLS_Props = {
3
+ hideRefreshBtn: boolean;
4
+ hideHeaderActions: boolean;
5
+ layout: Layout;
6
+ version: TableVersion;
7
+ isLoading?: boolean;
6
8
  };
7
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
- modelValue: {
9
- required: true;
10
- type: import('vue').PropType<string>;
11
- };
12
- layout: {
13
- type: import('vue').PropType<Layout>;
14
- required: true;
15
- };
16
- version: {
17
- type: import('vue').PropType<TableVersion>;
18
- required: true;
19
- };
20
- isLoading: {
21
- type: import('vue').PropType<boolean>;
22
- default: any;
23
- };
24
- hideRefreshBtn: {
25
- type: import('vue').PropType<boolean>;
26
- required: true;
27
- };
28
- hideHeaderActions: {
29
- type: import('vue').PropType<boolean>;
30
- required: true;
31
- };
32
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
- refreshList: (pageChange: boolean) => void;
34
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
35
- modelValue: {
36
- required: true;
37
- type: import('vue').PropType<string>;
38
- };
39
- layout: {
40
- type: import('vue').PropType<Layout>;
41
- required: true;
42
- };
43
- version: {
44
- type: import('vue').PropType<TableVersion>;
45
- required: true;
46
- };
47
- isLoading: {
48
- type: import('vue').PropType<boolean>;
49
- default: any;
50
- };
51
- hideRefreshBtn: {
52
- type: import('vue').PropType<boolean>;
53
- required: true;
54
- };
55
- hideHeaderActions: {
56
- type: import('vue').PropType<boolean>;
57
- required: true;
9
+ type __VLS_PublicProps = {
10
+ modelValue: string;
11
+ } & __VLS_Props;
12
+ declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
14
+ slots: {
15
+ headerActionsLeft?(_: {}): any;
16
+ headerActionsRight?(_: {}): any;
58
17
  };
59
- }>> & Readonly<{
18
+ refs: {};
19
+ rootEl: HTMLDivElement;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
+ "update:modelValue": (value: string) => any;
24
+ refreshList: (pageChange: boolean) => any;
25
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
+ "onUpdate:modelValue"?: (value: string) => any;
60
27
  onRefreshList?: (pageChange: boolean) => any;
61
28
  }>, {
62
29
  isLoading: boolean;
63
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
64
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
65
32
  export default _default;
66
33
  type __VLS_WithTemplateSlots<T, S> = T & {
67
34
  new (): {
@@ -1,21 +1,8 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
1
+ type __VLS_Props = {
2
2
  currentPage: number;
3
3
  itemsPerPage: number;
4
4
  hideItemsPerPage: boolean;
5
5
  listLength: number;
6
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- currentPage: number;
8
- itemsPerPage: number;
9
- hideItemsPerPage: boolean;
10
- listLength: number;
11
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
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
6
  };
7
+ 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, false, {}, any>;
8
+ export default _default;
@@ -1,33 +1,17 @@
1
1
  import { Align, 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
  totalPages: number;
5
4
  currentPage: number;
6
5
  align: Align;
7
6
  itemsPerPage: number;
8
7
  listLength: number;
9
8
  layout: Layout;
10
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- refreshList: () => void;
12
- "update:currentPage": (value: number) => void;
13
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
- totalPages: number;
15
- currentPage: number;
16
- align: Align;
17
- itemsPerPage: number;
18
- listLength: number;
19
- layout: Layout;
20
- }>>> & Readonly<{
9
+ };
10
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
+ refreshList: () => any;
12
+ "update:currentPage": (value: number) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
21
14
  onRefreshList?: () => any;
22
15
  "onUpdate:currentPage"?: (value: number) => any;
23
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
24
17
  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
- };
@@ -1,21 +1,8 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
1
+ type __VLS_Props = {
2
2
  listLength?: number;
3
3
  isLoading?: boolean;
4
4
  loadingText?: string;
5
5
  noResultsText?: string;
6
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- listLength?: number;
8
- isLoading?: boolean;
9
- loadingText?: string;
10
- noResultsText?: string;
11
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
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
6
  };
7
+ 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>;
8
+ export default _default;
@@ -1,26 +1,20 @@
1
1
  import { Icon } 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
- title: string;
8
- icon: Icon;
9
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
10
3
  title: string;
11
4
  icon: Icon;
12
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
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;
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
22
10
  };
11
+ refs: {};
12
+ rootEl: any;
23
13
  };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ 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, {}, any>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
24
18
  type __VLS_WithTemplateSlots<T, S> = T & {
25
19
  new (): {
26
20
  $slots: S;
@@ -1,29 +1,29 @@
1
+ type __VLS_Props = {
2
+ type?: 'outlined' | 'flat';
3
+ };
1
4
  declare function selectTab(index: any): void;
2
5
  declare function __VLS_template(): {
3
- default?(_: {}): any;
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {
11
+ tabsContainer: HTMLDivElement;
12
+ };
13
+ rootEl: HTMLDivElement;
4
14
  };
5
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
- type?: "outlined" | "flat";
7
- }>>, {
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
8
17
  selectTab: typeof selectTab;
9
18
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
- tabSelected: (index: number) => void;
11
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
- type?: "outlined" | "flat";
13
- }>>> & Readonly<{
19
+ tabSelected: (index: number) => any;
20
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
21
  onTabSelected?: (index: number) => any;
15
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
22
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
23
+ tabsContainer: HTMLDivElement;
24
+ }, HTMLDivElement>;
25
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
26
  export default _default;
18
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
- type __VLS_TypePropsToRuntimeProps<T> = {
20
- [K in keyof T]-?: {} extends Pick<T, K> ? {
21
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
- } : {
23
- type: import('vue').PropType<T[K]>;
24
- required: true;
25
- };
26
- };
27
27
  type __VLS_WithTemplateSlots<T, S> = T & {
28
28
  new (): {
29
29
  $slots: S;
@@ -1,10 +1,9 @@
1
1
  import { Align, AlignVertical, Color, Layout, SizeInCSS } 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: string;
5
4
  disabled?: boolean;
6
5
  placeholder?: string;
7
- resize?: true | "none" | "vertical" | "horizontal";
6
+ resize?: true | 'none' | 'vertical' | 'horizontal';
8
7
  layout?: Layout;
9
8
  borderColor?: Color;
10
9
  align?: Align;
@@ -21,47 +20,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
21
20
  delayChangeTime?: number;
22
21
  label?: string;
23
22
  labelAlign?: Align;
24
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
- "update:modelValue": (value: string) => void;
26
- input: (event: Event) => void;
27
- change: (event: Event) => void;
28
- click: (event: Event) => void;
29
- changeDelayed: (value: string) => void;
30
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
31
- modelValue: string;
32
- disabled?: boolean;
33
- placeholder?: string;
34
- resize?: true | "none" | "vertical" | "horizontal";
35
- layout?: Layout;
36
- borderColor?: Color;
37
- align?: Align;
38
- group?: Align;
39
- groupVertical?: AlignVertical;
40
- borderRadius?: SizeInCSS;
41
- fontSize?: SizeInCSS;
42
- textColor?: Color;
43
- width?: SizeInCSS;
44
- height?: SizeInCSS;
45
- optional?: boolean;
46
- capitalize?: boolean;
47
- autoSelect?: boolean;
48
- delayChangeTime?: number;
49
- label?: string;
50
- labelAlign?: Align;
51
- }>>> & Readonly<{
23
+ };
24
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
25
+ input: (event: Event) => any;
26
+ click: (event: Event) => any;
27
+ change: (event: Event) => any;
28
+ changeDelayed: (value: string) => any;
29
+ "update:modelValue": (value: string) => any;
30
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
52
31
  onInput?: (event: Event) => any;
53
32
  onClick?: (event: Event) => any;
54
33
  onChange?: (event: Event) => any;
55
- "onUpdate:modelValue"?: (value: string) => any;
56
34
  onChangeDelayed?: (value: string) => any;
57
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
35
+ "onUpdate:modelValue"?: (value: string) => any;
36
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
37
+ refTextarea: HTMLTextAreaElement;
38
+ }, HTMLDivElement>;
58
39
  export default _default;
59
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
60
- type __VLS_TypePropsToRuntimeProps<T> = {
61
- [K in keyof T]-?: {} extends Pick<T, K> ? {
62
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
63
- } : {
64
- type: import('vue').PropType<T[K]>;
65
- required: true;
66
- };
67
- };
@@ -0,0 +1,35 @@
1
+ import { Align, Color, Icon, IconPack } from '../cleek-options/cleek-options.types';
2
+ declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly onChange?: (value: T) => any;
5
+ readonly "onUpdate:modelValue"?: (value: T) => any;
6
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & ({
7
+ modelValue: T | null;
8
+ } & {
9
+ options: {
10
+ id: T;
11
+ name: string | number;
12
+ icon?: Icon;
13
+ description?: string;
14
+ }[];
15
+ disabled?: boolean;
16
+ disabledTooltip?: string;
17
+ size?: "m" | "l";
18
+ columns?: number;
19
+ changeLabel?: string;
20
+ iconColor?: Color;
21
+ iconPack?: IconPack;
22
+ label?: string;
23
+ labelAlign?: Align;
24
+ }) & Partial<{}>> & import('vue').PublicProps;
25
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
26
+ attrs: any;
27
+ slots: {};
28
+ emit: ((evt: "change", value: T) => void) & ((evt: "update:modelValue", value: T) => void);
29
+ }>) => import('vue').VNode & {
30
+ __ctx?: Awaited<typeof __VLS_setup>;
31
+ };
32
+ export default _default;
33
+ type __VLS_PrettifyLocal<T> = {
34
+ [K in keyof T]: T[K];
35
+ } & {};
@@ -1,9 +1,5 @@
1
1
  import { Color, Icon, Layout, IconPack } 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<{
2
+ type __VLS_Props = {
7
3
  modelValue: boolean;
8
4
  color?: Color;
9
5
  layout?: Layout;
@@ -11,30 +7,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
11
7
  iconRight?: Icon;
12
8
  iconPack?: IconPack;
13
9
  preventAutoUpdate?: boolean;
14
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
- "update:modelValue": (value: boolean) => void;
16
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
17
- modelValue: boolean;
18
- color?: Color;
19
- layout?: Layout;
20
- icon?: Icon;
21
- iconRight?: Icon;
22
- iconPack?: IconPack;
23
- preventAutoUpdate?: boolean;
24
- }>>> & Readonly<{
25
- "onUpdate:modelValue"?: (value: boolean) => any;
26
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
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;
10
+ };
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: {
14
+ default?(_: {}): any;
36
15
  };
16
+ refs: {};
17
+ rootEl: HTMLDivElement;
37
18
  };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ "update:modelValue": (value: boolean) => any;
22
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
23
+ "onUpdate:modelValue"?: (value: boolean) => any;
24
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
25
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
+ export default _default;
38
27
  type __VLS_WithTemplateSlots<T, S> = T & {
39
28
  new (): {
40
29
  $slots: S;
@@ -1,68 +1,31 @@
1
1
  import { IconPack, Layout, Align } from '../../cleek-options/cleek-options.types';
2
-
3
- type Option = {
4
- id: any;
5
- name: string | number;
6
- icon?: string;
2
+ declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly onChange?: () => any;
5
+ readonly "onUpdate:modelValue"?: (value: T | T[]) => any;
6
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & ({
7
+ modelValue: T | T[];
8
+ } & {
9
+ options: {
10
+ id: T;
11
+ name: string | number;
12
+ icon?: string;
13
+ }[];
14
+ layout?: Layout;
15
+ label?: string;
16
+ labelAlign?: Align;
17
+ gap?: string;
18
+ multipleSelection?: boolean;
19
+ iconPack?: IconPack;
20
+ }) & Partial<{}>> & import('vue').PublicProps;
21
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
22
+ attrs: any;
23
+ slots: {};
24
+ emit: ((evt: "change") => void) & ((evt: "update:modelValue", value: T | T[]) => void);
25
+ }>) => import('vue').VNode & {
26
+ __ctx?: Awaited<typeof __VLS_setup>;
7
27
  };
8
- type OptionValue = Option['id'];
9
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
10
- modelValue: {
11
- required: true;
12
- type: import('vue').PropType<OptionValue | OptionValue[]>;
13
- };
14
- options: {
15
- type: import('vue').PropType<Option[]>;
16
- required: true;
17
- };
18
- layout: {
19
- type: import('vue').PropType<Layout>;
20
- };
21
- label: {
22
- type: import('vue').PropType<string>;
23
- };
24
- labelAlign: {
25
- type: import('vue').PropType<Align>;
26
- };
27
- gap: {
28
- type: import('vue').PropType<string>;
29
- };
30
- multipleSelection: {
31
- type: import('vue').PropType<boolean>;
32
- };
33
- iconPack: {
34
- type: import('vue').PropType<IconPack>;
35
- };
36
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
- change: () => void;
38
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
39
- modelValue: {
40
- required: true;
41
- type: import('vue').PropType<OptionValue | OptionValue[]>;
42
- };
43
- options: {
44
- type: import('vue').PropType<Option[]>;
45
- required: true;
46
- };
47
- layout: {
48
- type: import('vue').PropType<Layout>;
49
- };
50
- label: {
51
- type: import('vue').PropType<string>;
52
- };
53
- labelAlign: {
54
- type: import('vue').PropType<Align>;
55
- };
56
- gap: {
57
- type: import('vue').PropType<string>;
58
- };
59
- multipleSelection: {
60
- type: import('vue').PropType<boolean>;
61
- };
62
- iconPack: {
63
- type: import('vue').PropType<IconPack>;
64
- };
65
- }>> & Readonly<{
66
- onChange?: () => any;
67
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
68
28
  export default _default;
29
+ type __VLS_PrettifyLocal<T> = {
30
+ [K in keyof T]: T[K];
31
+ } & {};
@@ -31,6 +31,7 @@ export { default as CkSidebar } from './ck-sidebar.vue';
31
31
  export { default as CkSwitch } from './ck-switch.vue';
32
32
  export { default as CkSwitchOptions } from './ck-switch-options.vue';
33
33
  export { default as CkTextarea } from './ck-textarea.vue';
34
+ export { default as CkTilePicker } from './ck-tile-picker.vue';
34
35
  export { default as useWindowWidth } from '../hooks/windowWidth';
35
36
  export { default as ckNotify } from './ck-notify/ck-notify';
36
37
  export declare class TableData {
@@ -1,29 +1,14 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
1
+ type __VLS_Props = {
2
2
  datetime?: string | null;
3
3
  date?: string | null;
4
4
  time?: string | number | null;
5
5
  timeInMinutes?: boolean;
6
6
  noDateMsg?: string;
7
7
  split?: boolean;
8
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
- click: (event: Event) => void;
10
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
- datetime?: string | null;
12
- date?: string | null;
13
- time?: string | number | null;
14
- timeInMinutes?: boolean;
15
- noDateMsg?: string;
16
- split?: boolean;
17
- }>>> & Readonly<{
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
+ click: (event: Event) => any;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
18
12
  onClick?: (event: Event) => any;
19
13
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
14
  export default _default;
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToRuntimeProps<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
@@ -1,18 +1,7 @@
1
1
  type TsTime = string;
2
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
3
3
  time?: TsTime;
4
4
  minutes?: number;
5
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
- time?: TsTime;
7
- minutes?: number;
8
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
- export default _default;
10
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToRuntimeProps<T> = {
12
- [K in keyof T]-?: {} extends Pick<T, K> ? {
13
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
- } : {
15
- type: import('vue').PropType<T[K]>;
16
- required: true;
17
- };
18
5
  };
6
+ 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, {}, HTMLSpanElement>;
7
+ export default _default;
@@ -1,3 +1,2 @@
1
1
  import { Ref } from 'vue';
2
-
3
2
  export declare function useScrollListener(element: Ref<HTMLElement>, handleScroll: (event: Event) => void): void;
@@ -2,7 +2,6 @@ import { App } from 'vue';
2
2
  import { PartialDeep } from './types';
3
3
  import { CleekOptions } from './cleek-options/cleek-options.types';
4
4
  import { useCleekOptionsStore } from './cleek-options/cleek-options.store';
5
-
6
5
  declare function install(app: App, userOptions?: PartialDeep<CleekOptions>): void;
7
6
  export default install;
8
7
  export * from './components';
@@ -1,5 +1,4 @@
1
1
  import { Align, AlignVertical } from './cleek-options';
2
-
3
2
  export type ColumnItem = {
4
3
  name: string;
5
4
  title: string;
@@ -1,6 +1,5 @@
1
1
  import { ColumnItem } from '../types/table';
2
2
  import { Align, AlignVertical, WidthBreaks } from '../cleek-options/cleek-options.types';
3
-
4
3
  declare const _default: {
5
4
  getGroupClass({ group, groupVertical, widthBreaks, }: {
6
5
  group?: Align;