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,3 +1,2 @@
1
1
  import { CleekOptions } from './cleek-options.types';
2
-
3
2
  export declare const defaultCleekOptions: CleekOptions;
@@ -1,9 +1,5 @@
1
1
  import { Align, AlignVertical, Color, Icon, IconPack, Layout, ButtonType, WidthBreaks } 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
  title?: string;
8
4
  disabled?: boolean;
9
5
  isLoading?: boolean;
@@ -13,7 +9,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
13
9
  textColor?: Color;
14
10
  backgroundColor?: Color;
15
11
  align?: Align;
16
- size?: "xs" | "s" | "m" | "l" | "xl";
12
+ size?: 'xs' | 's' | 'm' | 'l' | 'xl';
17
13
  width?: string;
18
14
  layout?: Layout;
19
15
  icon?: Icon;
@@ -24,43 +20,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
24
20
  widthBreaks?: WidthBreaks;
25
21
  group?: Align;
26
22
  groupVertical?: AlignVertical;
27
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
- click: (event: Event) => void;
29
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
30
- title?: string;
31
- disabled?: boolean;
32
- isLoading?: boolean;
33
- tabindex?: number;
34
- type?: ButtonType;
35
- color?: Color;
36
- textColor?: Color;
37
- backgroundColor?: Color;
38
- align?: Align;
39
- size?: "xs" | "s" | "m" | "l" | "xl";
40
- width?: string;
41
- layout?: Layout;
42
- icon?: Icon;
43
- iconRight?: Icon;
44
- iconPack?: IconPack;
45
- label?: string;
46
- labelAlign?: Align;
47
- widthBreaks?: WidthBreaks;
48
- group?: Align;
49
- groupVertical?: AlignVertical;
50
- }>>> & Readonly<{
51
- onClick?: (event: Event) => any;
52
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
53
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
54
- export default _default;
55
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
56
- 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;
23
+ };
24
+ declare function __VLS_template(): {
25
+ attrs: Partial<{}>;
26
+ slots: {
27
+ default?(_: {}): any;
62
28
  };
29
+ refs: {};
30
+ rootEl: HTMLButtonElement;
63
31
  };
32
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
+ click: (event: Event) => any;
35
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
36
+ onClick?: (event: Event) => any;
37
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
38
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
+ export default _default;
64
40
  type __VLS_WithTemplateSlots<T, S> = T & {
65
41
  new (): {
66
42
  $slots: S;
@@ -1,41 +1,31 @@
1
1
  import { Layout } from '../cleek-options/cleek-options.types';
2
-
3
- declare function __VLS_template(): {
4
- header?(_: {}): any;
5
- default?(_: {}): any;
6
- };
7
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
- modelValue?: any;
9
- title?: string;
10
- subtitle?: string;
11
- block?: boolean;
12
- clickable?: boolean;
13
- layout?: Layout;
14
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
- "update:modelValue": (modelValue: boolean) => void;
16
- closeCard: () => void;
17
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
18
3
  modelValue?: any;
19
4
  title?: string;
20
5
  subtitle?: string;
21
6
  block?: boolean;
22
7
  clickable?: boolean;
23
8
  layout?: Layout;
24
- }>>> & Readonly<{
9
+ };
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: {
13
+ header?(_: {}): any;
14
+ default?(_: {}): any;
15
+ };
16
+ refs: {};
17
+ rootEl: any;
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": (modelValue: boolean) => any;
22
+ closeCard: () => any;
23
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
25
24
  "onUpdate:modelValue"?: (modelValue: boolean) => any;
26
25
  onCloseCard?: () => any;
27
26
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
28
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
28
  export default _default;
30
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
- type __VLS_TypePropsToRuntimeProps<T> = {
32
- [K in keyof T]-?: {} extends Pick<T, K> ? {
33
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
- } : {
35
- type: import('vue').PropType<T[K]>;
36
- required: true;
37
- };
38
- };
39
29
  type __VLS_WithTemplateSlots<T, S> = T & {
40
30
  new (): {
41
31
  $slots: S;
@@ -1,71 +1,36 @@
1
1
  import { Color, Size } from '../cleek-options/cleek-options.types';
2
-
3
2
  type Value = boolean | null;
4
- declare function __VLS_template(): {
5
- default?(_: {}): any;
3
+ type __VLS_Props = {
4
+ label?: string;
5
+ disabled?: boolean;
6
+ preventAutoUpdate?: boolean;
7
+ color?: Color;
8
+ colorText?: Color;
9
+ size?: Size;
10
+ textSize?: Size;
6
11
  };
7
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
- modelValue: {
9
- required: true;
10
- type: import('vue').PropType<Value>;
11
- };
12
- label: {
13
- type: import('vue').PropType<string>;
14
- };
15
- size: {
16
- type: import('vue').PropType<Size>;
17
- };
18
- color: {
19
- type: import('vue').PropType<string>;
20
- default: string;
21
- };
22
- disabled: {
23
- type: import('vue').PropType<boolean>;
24
- };
25
- preventAutoUpdate: {
26
- type: import('vue').PropType<boolean>;
27
- };
28
- colorText: {
29
- type: import('vue').PropType<string>;
30
- };
31
- textSize: {
32
- type: import('vue').PropType<Size>;
33
- };
34
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
- change: (event: Event) => void;
36
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
37
- modelValue: {
38
- required: true;
39
- type: import('vue').PropType<Value>;
40
- };
41
- label: {
42
- type: import('vue').PropType<string>;
43
- };
44
- size: {
45
- type: import('vue').PropType<Size>;
46
- };
47
- color: {
48
- type: import('vue').PropType<string>;
49
- default: string;
50
- };
51
- disabled: {
52
- type: import('vue').PropType<boolean>;
53
- };
54
- preventAutoUpdate: {
55
- type: import('vue').PropType<boolean>;
56
- };
57
- colorText: {
58
- type: import('vue').PropType<string>;
59
- };
60
- textSize: {
61
- type: import('vue').PropType<Size>;
12
+ type __VLS_PublicProps = {
13
+ modelValue: Value;
14
+ } & __VLS_Props;
15
+ declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
17
+ slots: {
18
+ default?(_: {}): any;
62
19
  };
63
- }>> & Readonly<{
20
+ refs: {};
21
+ rootEl: HTMLLabelElement;
22
+ };
23
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ change: (event: Event) => any;
26
+ "update:modelValue": (value: Value) => any;
27
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
64
28
  onChange?: (event: Event) => any;
29
+ "onUpdate:modelValue"?: (value: Value) => any;
65
30
  }>, {
66
31
  color: Color;
67
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
68
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
33
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
69
34
  export default _default;
70
35
  type __VLS_WithTemplateSlots<T, S> = T & {
71
36
  new (): {
@@ -1,24 +1,5 @@
1
1
  import { Align, ChipType, Color, Icon, IconPack, Size, Layout } 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
- size?: Size;
8
- color?: Color;
9
- textColor?: Color;
10
- align?: Align;
11
- nowrap?: boolean;
12
- icon?: Icon;
13
- iconRight?: Icon;
14
- iconPack?: IconPack;
15
- clickable?: boolean;
16
- group?: Align;
17
- type?: ChipType;
18
- layout?: Layout;
19
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
- click: (event: Event) => void;
21
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
22
3
  size?: Size;
23
4
  color?: Color;
24
5
  textColor?: Color;
@@ -31,20 +12,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
31
12
  group?: Align;
32
13
  type?: ChipType;
33
14
  layout?: Layout;
34
- }>>> & Readonly<{
35
- onClick?: (event: Event) => any;
36
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
37
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
- export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
15
+ };
16
+ declare function __VLS_template(): {
17
+ attrs: Partial<{}>;
18
+ slots: {
19
+ default?(_: {}): any;
46
20
  };
21
+ refs: {};
22
+ rootEl: HTMLDivElement;
47
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, {} & {
26
+ click: (event: Event) => any;
27
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
28
+ onClick?: (event: Event) => any;
29
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ export default _default;
48
32
  type __VLS_WithTemplateSlots<T, S> = T & {
49
33
  new (): {
50
34
  $slots: S;
@@ -1,38 +1,28 @@
1
1
  import { Color, Icon, IconPack, Size } 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
- size?: Size;
8
- sizeInPx?: Size;
9
- color?: Color;
10
- textColor?: Color;
11
- icon?: Icon;
12
- iconPack?: IconPack;
13
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
- click: (domEvent: MouseEvent) => void;
15
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
16
3
  size?: Size;
17
4
  sizeInPx?: Size;
18
5
  color?: Color;
19
6
  textColor?: Color;
20
7
  icon?: Icon;
21
8
  iconPack?: IconPack;
22
- }>>> & Readonly<{
23
- onClick?: (domEvent: MouseEvent) => any;
24
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
25
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
26
- export default _default;
27
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
- type __VLS_TypePropsToRuntimeProps<T> = {
29
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
- } : {
32
- type: import('vue').PropType<T[K]>;
33
- required: true;
9
+ };
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: {
13
+ default?(_: {}): any;
34
14
  };
15
+ refs: {};
16
+ rootEl: HTMLDivElement;
35
17
  };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
20
+ click: (domEvent: MouseEvent) => any;
21
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ onClick?: (domEvent: MouseEvent) => any;
23
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
24
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
+ export default _default;
36
26
  type __VLS_WithTemplateSlots<T, S> = T & {
37
27
  new (): {
38
28
  $slots: S;
@@ -1,32 +1,25 @@
1
1
  import { SizeInCSS } 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
- widthBreaks?: [number, string][];
8
- block?: boolean;
9
- gap: SizeInCSS;
10
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- click: (event: Event) => void;
12
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
13
3
  widthBreaks?: [number, string][];
14
4
  block?: boolean;
15
5
  gap: SizeInCSS;
16
- }>>> & Readonly<{
17
- onClick?: (event: Event) => any;
18
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
20
- 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;
6
+ };
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ default?(_: {}): any;
28
11
  };
12
+ refs: {};
13
+ rootEl: HTMLDivElement;
29
14
  };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
+ click: (event: Event) => any;
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ onClick?: (event: Event) => any;
20
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ export default _default;
30
23
  type __VLS_WithTemplateSlots<T, S> = T & {
31
24
  new (): {
32
25
  $slots: S;
@@ -1,32 +1,31 @@
1
1
  import { Align, Layout } from '../../cleek-options/cleek-options.types';
2
-
3
- declare function close(): void;
4
- declare function __VLS_template(): {
5
- trigger?(_: {}): any;
6
- content?(_: {}): any;
7
- };
8
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
- align?: Align;
10
- dark?: boolean;
11
- layout?: Layout;
12
- }>>, {
13
- close: typeof close;
14
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ type __VLS_Props = {
15
3
  align?: Align;
16
4
  dark?: boolean;
17
5
  layout?: Layout;
18
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
20
- 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;
6
+ };
7
+ declare function close(): void;
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: {
11
+ trigger?(_: {}): any;
12
+ content?(_: {}): any;
28
13
  };
14
+ refs: {
15
+ dropdownRef: HTMLDivElement;
16
+ contentRef: HTMLDivElement;
17
+ };
18
+ rootEl: HTMLDivElement;
29
19
  };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
22
+ close: typeof close;
23
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
24
+ dropdownRef: HTMLDivElement;
25
+ contentRef: HTMLDivElement;
26
+ }, HTMLDivElement>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
+ export default _default;
30
29
  type __VLS_WithTemplateSlots<T, S> = T & {
31
30
  new (): {
32
31
  $slots: S;
@@ -1,11 +1,10 @@
1
1
  import { Align, AlignVertical, Color, Icon, IconPack, Layout, ButtonType, WidthBreaks } from '../cleek-options/cleek-options.types';
2
-
3
2
  export type ActionId = string | number | null;
4
3
  export interface DropdownButtonAction {
5
4
  id: ActionId;
6
5
  name: string;
7
6
  }
8
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
9
8
  title?: string;
10
9
  disabled?: boolean;
11
10
  isLoading?: boolean;
@@ -28,10 +27,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
28
27
  widthBreaks?: WidthBreaks;
29
28
  group?: Align;
30
29
  groupVertical?: AlignVertical;
31
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
32
- click: (event: Event) => void;
33
- action: (actionId: ActionId) => void;
34
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
30
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
+ click: (event: Event) => any;
32
+ action: (actionId: ActionId) => any;
33
+ }, string, import('vue').PublicProps, Readonly<{
35
34
  title?: string;
36
35
  disabled?: boolean;
37
36
  isLoading?: boolean;
@@ -54,22 +53,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
54
53
  widthBreaks?: WidthBreaks;
55
54
  group?: Align;
56
55
  groupVertical?: AlignVertical;
57
- }>>> & Readonly<{
56
+ }> & Readonly<{
58
57
  onClick?: (event: Event) => any;
59
58
  onAction?: (actionId: ActionId) => any;
60
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
59
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
61
60
  default?(_: {}): any;
62
61
  }>;
63
62
  export default _default;
64
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
65
- type __VLS_TypePropsToRuntimeProps<T> = {
66
- [K in keyof T]-?: {} extends Pick<T, K> ? {
67
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
68
- } : {
69
- type: import('vue').PropType<T[K]>;
70
- required: true;
71
- };
72
- };
73
63
  type __VLS_WithTemplateSlots<T, S> = T & {
74
64
  new (): {
75
65
  $slots: S;
@@ -1,37 +1,18 @@
1
1
  import { Color, Icon, IconPack, Size, 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
  icon: Icon;
5
4
  iconPack?: IconPack;
6
5
  color?: Color;
7
6
  size?: Size | SizeInCSS | string;
8
- flip?: "horizontal" | "vertical" | "both";
7
+ flip?: 'horizontal' | 'vertical' | 'both';
9
8
  fixedWidth?: boolean;
10
- rotation?: 90 | 180 | 270 | "90" | "180" | "270";
9
+ rotation?: 90 | 180 | 270 | '90' | '180' | '270';
11
10
  spin?: boolean;
12
11
  pulse?: boolean;
13
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ };
13
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
14
  click: (...args: any[]) => void;
15
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
16
- icon: Icon;
17
- iconPack?: IconPack;
18
- color?: Color;
19
- size?: Size | SizeInCSS | string;
20
- flip?: "horizontal" | "vertical" | "both";
21
- fixedWidth?: boolean;
22
- rotation?: 90 | 180 | 270 | "90" | "180" | "270";
23
- spin?: boolean;
24
- pulse?: boolean;
25
- }>>> & Readonly<{
15
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
26
16
  onClick?: (...args: any[]) => 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,6 +1,5 @@
1
1
  import { Color, Size, 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
  src: string;
5
4
  alt?: string;
6
5
  size?: Size;
@@ -15,33 +14,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
15
14
  radius?: SizeInCSS;
16
15
  static: boolean;
17
16
  dynamic: boolean;
18
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
- click: (event: MouseEvent) => void;
20
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
21
- src: string;
22
- alt?: string;
23
- size?: Size;
24
- sizeAbsolute?: SizeInCSS;
25
- width?: SizeInCSS;
26
- height?: SizeInCSS;
27
- zoom: boolean;
28
- zoomTitle: string;
29
- hasBorder?: boolean;
30
- borderColor: Color;
31
- rounded?: boolean;
32
- radius?: SizeInCSS;
33
- static: boolean;
34
- dynamic: boolean;
35
- }>>> & Readonly<{
17
+ };
18
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
19
+ click: (event: MouseEvent) => any;
20
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
36
21
  onClick?: (event: MouseEvent) => any;
37
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
38
23
  export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
@@ -1,8 +1,7 @@
1
1
  import { Align, AlignVertical, Color, Icon, WidthBreaks } from '../../cleek-options/cleek-options.types';
2
2
  import { IconPack } from '@fortawesome/fontawesome-svg-core';
3
-
4
3
  type DateString = null | string;
5
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ type __VLS_Props = {
6
5
  modelValue: DateString;
7
6
  label?: string;
8
7
  optional?: boolean;
@@ -16,34 +15,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
16
15
  widthBreaks?: WidthBreaks;
17
16
  group?: Align;
18
17
  groupVertical?: AlignVertical;
19
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
- change: (value: string) => void;
21
- "update:modelValue": (modelValue: string) => void;
22
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
23
- modelValue: DateString;
24
- label?: string;
25
- optional?: boolean;
26
- disabled?: boolean;
27
- clearable?: boolean;
28
- clearValue?: DateString;
29
- icon?: Icon;
30
- iconRight?: Icon;
31
- iconPack?: IconPack;
32
- iconColor?: Color;
33
- widthBreaks?: WidthBreaks;
34
- group?: Align;
35
- groupVertical?: AlignVertical;
36
- }>>> & Readonly<{
18
+ };
19
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ change: (value: string) => any;
21
+ "update:modelValue": (modelValue: string) => any;
22
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
37
23
  onChange?: (value: string) => any;
38
24
  "onUpdate:modelValue"?: (modelValue: string) => any;
39
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
25
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
26
+ refInput: HTMLInputElement;
27
+ }, any>;
40
28
  export default _default;
41
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
42
- type __VLS_TypePropsToRuntimeProps<T> = {
43
- [K in keyof T]-?: {} extends Pick<T, K> ? {
44
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
45
- } : {
46
- type: import('vue').PropType<T[K]>;
47
- required: true;
48
- };
49
- };