cleek 2.11.33 → 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 (50) hide show
  1. package/dist/main.cjs.js +1 -1
  2. package/dist/main.css +1 -1
  3. package/dist/main.es.js +1993 -2068
  4. package/dist/types/cleek-options/default-cleek-options.d.ts +0 -1
  5. package/dist/types/components/ck-button.vue.d.ts +17 -41
  6. package/dist/types/components/ck-card.vue.d.ts +17 -27
  7. package/dist/types/components/ck-checkbox.vue.d.ts +26 -61
  8. package/dist/types/components/ck-chip.vue.d.ts +16 -32
  9. package/dist/types/components/ck-circle.vue.d.ts +16 -26
  10. package/dist/types/components/ck-div.vue.d.ts +16 -23
  11. package/dist/types/components/ck-dropdown/ck-dropdown.vue.d.ts +22 -23
  12. package/dist/types/components/ck-dropdown-button.vue.d.ts +7 -17
  13. package/dist/types/components/ck-icon.vue.d.ts +7 -26
  14. package/dist/types/components/ck-img.vue.d.ts +6 -30
  15. package/dist/types/components/ck-input/ck-input-date.vue.d.ts +9 -30
  16. package/dist/types/components/ck-input/ck-input-time.vue.d.ts +7 -23
  17. package/dist/types/components/ck-input.vue.d.ts +56 -234
  18. package/dist/types/components/ck-label.vue.d.ts +13 -20
  19. package/dist/types/components/ck-navbar/ck-navbar.vue.d.ts +12 -19
  20. package/dist/types/components/ck-notify/components/CkConfirm.vue.d.ts +1 -1
  21. package/dist/types/components/ck-popup.vue.d.ts +50 -157
  22. package/dist/types/components/ck-radio.vue.d.ts +8 -25
  23. package/dist/types/components/ck-select.vue.d.ts +52 -243
  24. package/dist/types/components/ck-sidebar.vue.d.ts +30 -69
  25. package/dist/types/components/ck-switch-options.vue.d.ts +27 -115
  26. package/dist/types/components/ck-switch.vue.d.ts +35 -102
  27. package/dist/types/components/ck-table/ck-pagination/ck-pagination.vue.d.ts +6 -25
  28. package/dist/types/components/ck-table/ck-table.vue.d.ts +60 -182
  29. package/dist/types/components/ck-table/ck-td.vue.d.ts +12 -27
  30. package/dist/types/components/ck-table/ck-th.vue.d.ts +12 -20
  31. package/dist/types/components/ck-table/ck-tr.vue.d.ts +9 -3
  32. package/dist/types/components/ck-table/inner-components/ck-table__columns-manager-btn.vue.d.ts +3 -14
  33. package/dist/types/components/ck-table/inner-components/ck-table__columns-manager.vue.d.ts +6 -19
  34. package/dist/types/components/ck-table/inner-components/ck-table__header-items.vue.d.ts +25 -58
  35. package/dist/types/components/ck-table/inner-components/ck-table__items-per-page.vue.d.ts +3 -16
  36. package/dist/types/components/ck-table/inner-components/ck-table__pagination.vue.d.ts +7 -23
  37. package/dist/types/components/ck-table/loading-and-no-results-text/LoadingAndNoResultsText.vue.d.ts +3 -16
  38. package/dist/types/components/ck-tabs/ck-tab.vue.d.ts +12 -18
  39. package/dist/types/components/ck-tabs/ck-tabs.vue.d.ts +19 -19
  40. package/dist/types/components/ck-textarea.vue.d.ts +14 -42
  41. package/dist/types/components/ck-tile-picker.vue.d.ts +33 -85
  42. package/dist/types/components/ck-toggle/ck-toggle.vue.d.ts +16 -27
  43. package/dist/types/components/ck-toggle-group/ck-toggle-group.vue.d.ts +28 -65
  44. package/dist/types/components/showers/ck-datetime-shower.vue.d.ts +5 -20
  45. package/dist/types/components/showers/ck-time-shower.vue.d.ts +3 -14
  46. package/dist/types/composables/use-scroll-listener.composable.d.ts +0 -1
  47. package/dist/types/main.d.ts +0 -1
  48. package/dist/types/types/table.d.ts +0 -1
  49. package/dist/types/utils/global-hooks.d.ts +0 -1
  50. 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
- };
@@ -1,87 +1,35 @@
1
- import { Align, Icon, IconPack } from '../cleek-options/cleek-options.types';
2
-
3
- type Option = {
4
- id: any;
5
- name: string | number;
6
- icon?: Icon;
7
- description?: string;
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>;
8
31
  };
9
- type OptionValue = Option['id'];
10
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
- modelValue: {
12
- required: true;
13
- type: import('vue').PropType<OptionValue | null>;
14
- };
15
- options: {
16
- type: import('vue').PropType<Option[]>;
17
- required: true;
18
- };
19
- disabled: {
20
- type: import('vue').PropType<boolean>;
21
- };
22
- disabledTooltip: {
23
- type: import('vue').PropType<string>;
24
- };
25
- size: {
26
- type: import('vue').PropType<"m" | "l">;
27
- };
28
- columns: {
29
- type: import('vue').PropType<number>;
30
- };
31
- changeLabel: {
32
- type: import('vue').PropType<string>;
33
- };
34
- iconColor: {
35
- type: import('vue').PropType<string>;
36
- };
37
- iconPack: {
38
- type: import('vue').PropType<IconPack>;
39
- };
40
- label: {
41
- type: import('vue').PropType<string>;
42
- };
43
- labelAlign: {
44
- type: import('vue').PropType<Align>;
45
- };
46
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
47
- change: (value: any) => void;
48
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
49
- modelValue: {
50
- required: true;
51
- type: import('vue').PropType<OptionValue | null>;
52
- };
53
- options: {
54
- type: import('vue').PropType<Option[]>;
55
- required: true;
56
- };
57
- disabled: {
58
- type: import('vue').PropType<boolean>;
59
- };
60
- disabledTooltip: {
61
- type: import('vue').PropType<string>;
62
- };
63
- size: {
64
- type: import('vue').PropType<"m" | "l">;
65
- };
66
- columns: {
67
- type: import('vue').PropType<number>;
68
- };
69
- changeLabel: {
70
- type: import('vue').PropType<string>;
71
- };
72
- iconColor: {
73
- type: import('vue').PropType<string>;
74
- };
75
- iconPack: {
76
- type: import('vue').PropType<IconPack>;
77
- };
78
- label: {
79
- type: import('vue').PropType<string>;
80
- };
81
- labelAlign: {
82
- type: import('vue').PropType<Align>;
83
- };
84
- }>> & Readonly<{
85
- onChange?: (value: any) => any;
86
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
87
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
+ } & {};
@@ -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
- };