@citruslime/ui 4.0.0-beta.9 → 4.0.0

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 (85) hide show
  1. package/README.md +1 -1
  2. package/dist/citrus-lime-ui.es.js +4022 -3896
  3. package/dist/citrus-lime-ui.umd.js +2 -2
  4. package/dist/components/accordion/cl-ui-accordion.vue.d.ts +13 -38
  5. package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +8 -3
  6. package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +13 -37
  7. package/dist/components/app/cl-ui-app.vue.d.ts +10 -34
  8. package/dist/components/button/cl-ui-button.vue.d.ts +17 -47
  9. package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +19 -31
  10. package/dist/components/calendar/cl-ui-calendar.vue.d.ts +18 -68
  11. package/dist/components/calendar/cl-ui-quick-dates-group.vue.d.ts +6 -17
  12. package/dist/components/calendar/cl-ui-quick-dates.vue.d.ts +6 -17
  13. package/dist/components/card/cl-ui-card.vue.d.ts +13 -40
  14. package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +29 -90
  15. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +18 -63
  16. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +9 -37
  17. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +12 -44
  18. package/dist/components/currency/cl-ui-currency-input.vue.d.ts +13 -49
  19. package/dist/components/file-uploader/cl-ui-file-uploader.vue.d.ts +17 -44
  20. package/dist/components/footer/cl-ui-footer.vue.d.ts +12 -5
  21. package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +17 -38
  22. package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +23 -49
  23. package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +7 -19
  24. package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +13 -39
  25. package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +13 -39
  26. package/dist/components/grid/cl-ui-grid.vue.d.ts +47 -104
  27. package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +7 -34
  28. package/dist/components/grid/header/cl-ui-grid-filter-input.vue.d.ts +8 -23
  29. package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +15 -29
  30. package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +13 -29
  31. package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +8 -20
  32. package/dist/components/grid/header/cl-ui-grid-search.vue.d.ts +21 -43
  33. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +8 -17
  34. package/dist/components/grid-lite/body/cl-ui-grid-lite-body-skeleton.vue.d.ts +3 -14
  35. package/dist/components/grid-lite/body/cl-ui-grid-lite-body.vue.d.ts +14 -49
  36. package/dist/components/grid-lite/body/cl-ui-grid-lite-cell.vue.d.ts +7 -18
  37. package/dist/components/grid-lite/body/cl-ui-grid-lite-row.vue.d.ts +7 -19
  38. package/dist/components/grid-lite/cl-ui-grid-lite.vue.d.ts +21 -66
  39. package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer.vue.d.ts +14 -47
  40. package/dist/components/grid-lite/header/cl-ui-grid-lite-header.vue.d.ts +14 -45
  41. package/dist/components/header/cl-ui-header.vue.d.ts +12 -24
  42. package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +15 -46
  43. package/dist/components/input/cl-ui-input.vue.d.ts +49 -487
  44. package/dist/components/input-v2/input-checkbox/cl-ui-input-checkbox.vue.d.ts +24 -49
  45. package/dist/components/input-v2/input-date-range/cl-ui-input-date-range-input.vue.d.ts +9 -15
  46. package/dist/components/input-v2/input-date-range/cl-ui-input-date-range.vue.d.ts +28 -96
  47. package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +33 -112
  48. package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +12 -40
  49. package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +37 -123
  50. package/dist/components/input-v2/input-range/cl-ui-input-range.vue.d.ts +23 -78
  51. package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +31 -75
  52. package/dist/components/input-v2/input-text-area/cl-ui-input-text-area.vue.d.ts +22 -49
  53. package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +8 -34
  54. package/dist/components/login/cl-ui-login.vue.d.ts +16 -43
  55. package/dist/components/menu/cl-ui-menu.vue.d.ts +26 -197
  56. package/dist/components/menu/group/cl-ui-menu-group.vue.d.ts +11 -24
  57. package/dist/components/menu/icon/cl-ui-menu-icon.vue.d.ts +3 -13
  58. package/dist/components/menu/item/cl-ui-menu-item.vue.d.ts +5 -5
  59. package/dist/components/menu/section/cl-ui-menu-section.vue.d.ts +7 -42
  60. package/dist/components/modal/cl-ui-modal.vue.d.ts +31 -66
  61. package/dist/components/navigation/cl-ui-navigation.vue.d.ts +22 -50
  62. package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +7 -18
  63. package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +5 -29
  64. package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +8 -3
  65. package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +10 -4
  66. package/dist/components/notification/cl-ui-notification.vue.d.ts +7 -35
  67. package/dist/components/select/cl-ui-select.vue.d.ts +28 -147
  68. package/dist/components/select/select-input/cl-ui-select-input.vue.d.ts +10 -12
  69. package/dist/components/select/select-options/cl-ui-select-option.vue.d.ts +14 -42
  70. package/dist/components/skeleton-loaders/cl-ui-skeleton-text.vue.d.ts +11 -36
  71. package/dist/components/slider/cl-ui-slider.vue.d.ts +14 -54
  72. package/dist/components/tab/cl-ui-tab.vue.d.ts +27 -60
  73. package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +10 -34
  74. package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +16 -47
  75. package/dist/components/toggle/cl-ui-radio-group.vue.d.ts +10 -22
  76. package/dist/components/toggle/cl-ui-radio.vue.d.ts +13 -39
  77. package/dist/components/toggle/cl-ui-toggle-button.vue.d.ts +10 -33
  78. package/dist/components/toggle/cl-ui-toggle.vue.d.ts +22 -45
  79. package/dist/components/tree-list/cl-ui-tree-list-subtree.vue.d.ts +20 -58
  80. package/dist/components/tree-list/cl-ui-tree-list-tree-path.vue.d.ts +3 -13
  81. package/dist/components/tree-list/cl-ui-tree-list.vue.d.ts +12 -40
  82. package/dist/ui.css +1 -0
  83. package/dist/utils/injectionKeys.d.ts +1 -1
  84. package/package.json +13 -9
  85. package/dist/style.css +0 -1
@@ -1,42 +1,18 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ type __VLS_Props = {
2
2
  open: boolean;
3
- title?: string | undefined;
4
- }>, {
5
- title: string;
6
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
7
- open: boolean;
8
- title?: string | undefined;
9
- }>, {
10
- title: string;
11
- }>>> & Readonly<{}>, {
12
- title: string;
13
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
14
- default(): any;
15
- header(): any;
16
- }> & {
3
+ title?: string;
4
+ };
5
+ type __VLS_Slots = {
17
6
  default(): any;
18
7
  header(): any;
19
- }>;
20
- export default _default;
21
- type __VLS_WithDefaults<P, D> = {
22
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
23
- default: D[K];
24
- }> : P[K];
25
8
  };
26
- type __VLS_Prettify<T> = {
27
- [K in keyof T]: T[K];
28
- } & {};
29
- type __VLS_WithTemplateSlots<T, S> = T & {
9
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ title: string;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
30
15
  new (): {
31
16
  $slots: S;
32
17
  };
33
18
  };
34
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
- type __VLS_TypePropsToOption<T> = {
36
- [K in keyof T]-?: {} extends Pick<T, K> ? {
37
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
38
- } : {
39
- type: import('vue').PropType<T[K]>;
40
- required: true;
41
- };
42
- };
@@ -1,55 +1,24 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ import type { TabColour, TabLayout } from '../types';
2
+ type __VLS_Props = {
2
3
  open: boolean;
3
- title?: string | undefined;
4
- disabled?: boolean | undefined;
5
- colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
6
- layout?: "horizontal" | "vertical" | undefined;
7
- }>, {
8
- title: string;
9
- disabled: boolean;
10
- colour: string;
11
- layout: string;
12
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
13
- open: boolean;
14
- title?: string | undefined;
15
- disabled?: boolean | undefined;
16
- colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
17
- layout?: "horizontal" | "vertical" | undefined;
18
- }>, {
19
- title: string;
20
- disabled: boolean;
21
- colour: string;
22
- layout: string;
23
- }>>> & Readonly<{}>, {
4
+ title?: string;
5
+ disabled?: boolean;
6
+ colour?: TabColour;
7
+ layout?: TabLayout;
8
+ };
9
+ type __VLS_Slots = {
10
+ default(): any;
11
+ };
12
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
24
13
  title: string;
25
14
  disabled: boolean;
26
- colour: "default" | "primary" | "secondary" | "danger" | "blue";
27
- layout: "horizontal" | "vertical";
28
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
29
- default(): any;
30
- }> & {
31
- default(): any;
32
- }>;
15
+ colour: TabColour;
16
+ layout: TabLayout;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
33
19
  export default _default;
34
- type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
- default: D[K];
37
- }> : P[K];
38
- };
39
- type __VLS_Prettify<T> = {
40
- [K in keyof T]: T[K];
41
- } & {};
42
- type __VLS_WithTemplateSlots<T, S> = T & {
20
+ type __VLS_WithSlots<T, S> = T & {
43
21
  new (): {
44
22
  $slots: S;
45
23
  };
46
24
  };
47
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
- type __VLS_TypePropsToOption<T> = {
49
- [K in keyof T]-?: {} extends Pick<T, K> ? {
50
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
- } : {
52
- type: import('vue').PropType<T[K]>;
53
- required: true;
54
- };
55
- };
@@ -1,32 +1,20 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
1
+ type __VLS_Props = {
2
2
  id: string;
3
3
  name: string;
4
4
  selectedIndex: number | null;
5
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- select: (args_0: number) => void;
7
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
+ };
6
+ type __VLS_Slots = Record<string, (props: {
8
7
  id: string;
9
- name: string;
10
- selectedIndex: number | null;
11
- }>>> & Readonly<{
8
+ }) => any>;
9
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ select: (args_0: number) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
12
  onSelect?: ((args_0: number) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<Record<string, (props: {
14
- id: string;
15
- }) => any>> & Record<string, (props: {
16
- id: string;
17
- }) => any>>;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
15
  export default _default;
19
- type __VLS_WithTemplateSlots<T, S> = T & {
16
+ type __VLS_WithSlots<T, S> = T & {
20
17
  new (): {
21
18
  $slots: S;
22
19
  };
23
20
  };
24
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
- type __VLS_TypePropsToOption<T> = {
26
- [K in keyof T]-?: {} extends Pick<T, K> ? {
27
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
- } : {
29
- type: import('vue').PropType<T[K]>;
30
- required: true;
31
- };
32
- };
@@ -1,49 +1,23 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ type __VLS_Props = {
2
2
  id: string;
3
- name?: string | undefined;
4
- checked?: boolean | undefined;
5
- }>, {
6
- name: undefined;
7
- checked: boolean;
8
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- click: () => void;
10
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
11
- id: string;
12
- name?: string | undefined;
13
- checked?: boolean | undefined;
14
- }>, {
15
- name: undefined;
16
- checked: boolean;
17
- }>>> & Readonly<{
3
+ name?: string;
4
+ checked?: boolean;
5
+ };
6
+ type __VLS_Slots = {
7
+ default: () => any;
8
+ };
9
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ click: () => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
12
  onClick?: (() => any) | undefined;
19
13
  }>, {
20
14
  name: string;
21
15
  checked: boolean;
22
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
23
- default: () => any;
24
- }> & {
25
- default: () => any;
26
- }>;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
27
18
  export default _default;
28
- type __VLS_WithDefaults<P, D> = {
29
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
- default: D[K];
31
- }> : P[K];
32
- };
33
- type __VLS_Prettify<T> = {
34
- [K in keyof T]: T[K];
35
- } & {};
36
- type __VLS_WithTemplateSlots<T, S> = T & {
19
+ type __VLS_WithSlots<T, S> = T & {
37
20
  new (): {
38
21
  $slots: S;
39
22
  };
40
23
  };
41
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
42
- type __VLS_TypePropsToOption<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
- };
@@ -1,40 +1,17 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ type __VLS_Props = {
2
2
  isSelected: boolean;
3
- orientation?: "horizontal" | "vertical" | undefined;
4
- }>, {
5
- orientation: string;
6
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
7
- isSelected: boolean;
8
- orientation?: "horizontal" | "vertical" | undefined;
9
- }>, {
10
- orientation: string;
11
- }>>> & Readonly<{}>, {
12
- orientation: "horizontal" | "vertical";
13
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
14
- default: () => any;
15
- }> & {
3
+ orientation?: 'horizontal' | 'vertical';
4
+ };
5
+ type __VLS_Slots = {
16
6
  default: () => any;
17
- }>;
18
- export default _default;
19
- type __VLS_WithDefaults<P, D> = {
20
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
21
- default: D[K];
22
- }> : P[K];
23
7
  };
24
- type __VLS_Prettify<T> = {
25
- [K in keyof T]: T[K];
26
- } & {};
27
- type __VLS_WithTemplateSlots<T, S> = T & {
8
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
+ orientation: "horizontal" | "vertical";
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
28
14
  new (): {
29
15
  $slots: S;
30
16
  };
31
17
  };
32
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
- type __VLS_TypePropsToOption<T> = {
34
- [K in keyof T]-?: {} extends Pick<T, K> ? {
35
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
- } : {
37
- type: import('vue').PropType<T[K]>;
38
- required: true;
39
- };
40
- };
@@ -1,59 +1,36 @@
1
+ type __VLS_Props = {
2
+ orientation?: 'horizontal' | 'vertical';
3
+ required?: boolean;
4
+ };
5
+ type __VLS_Slots = {
6
+ default: (props: {
7
+ select: typeof selectItem;
8
+ }) => any;
9
+ label: () => any;
10
+ 'help-text': () => any;
11
+ };
1
12
  /**
2
13
  * The item selected event.
3
14
  *
4
15
  * @param index - The index.
5
16
  */
6
17
  declare function selectItem(index: number): void;
7
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
- modelValue: {
9
- required: true;
10
- type: import("vue").PropType<number | number[] | null>;
11
- };
12
- required: {
13
- type: import("vue").PropType<boolean>;
14
- default: boolean;
15
- };
16
- orientation: {
17
- type: import("vue").PropType<"horizontal" | "vertical">;
18
- default: string;
19
- };
20
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
- "update:modelValue": (modelValue: number | number[] | null) => void;
22
- "selection-changed": (args_0: number | number[] | null) => void;
23
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
- modelValue: {
25
- required: true;
26
- type: import("vue").PropType<number | number[] | null>;
27
- };
28
- required: {
29
- type: import("vue").PropType<boolean>;
30
- default: boolean;
31
- };
32
- orientation: {
33
- type: import("vue").PropType<"horizontal" | "vertical">;
34
- default: string;
35
- };
36
- }>> & Readonly<{
37
- "onUpdate:modelValue"?: ((modelValue: number | number[] | null) => any) | undefined;
18
+ type __VLS_PublicProps = __VLS_Props & {
19
+ modelValue: number | number[] | null;
20
+ };
21
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ "update:modelValue": (value: number | number[] | null) => any;
23
+ "selection-changed": (args_0: number | number[] | null) => any;
24
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
25
+ "onUpdate:modelValue"?: ((value: number | number[] | null) => any) | undefined;
38
26
  "onSelection-changed"?: ((args_0: number | number[] | null) => any) | undefined;
39
27
  }>, {
40
28
  required: boolean;
41
29
  orientation: "horizontal" | "vertical";
42
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
43
- default: (props: {
44
- select: typeof selectItem;
45
- }) => any;
46
- label: () => any;
47
- 'help-text': () => any;
48
- }> & {
49
- default: (props: {
50
- select: typeof selectItem;
51
- }) => any;
52
- label: () => any;
53
- 'help-text': () => any;
54
- }>;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
55
32
  export default _default;
56
- type __VLS_WithTemplateSlots<T, S> = T & {
33
+ type __VLS_WithSlots<T, S> = T & {
57
34
  new (): {
58
35
  $slots: S;
59
36
  };
@@ -1,65 +1,27 @@
1
1
  import type { SlotProps, TreeNode } from './types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
- selectedPath: {
4
- required: true;
5
- type: import("vue").PropType<string | null>;
6
- };
7
- idPrefix: {
8
- type: import("vue").PropType<string>;
9
- required: true;
10
- };
11
- depth: {
12
- type: import("vue").PropType<number>;
13
- required: true;
14
- };
15
- breadth: {
16
- type: import("vue").PropType<number>;
17
- required: true;
18
- };
19
- pathFragments: {
20
- type: import("vue").PropType<string[]>;
21
- required: true;
22
- };
23
- rootNode: {
24
- type: import("vue").PropType<TreeNode>;
25
- required: true;
26
- };
27
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
- "update:selectedPath": (selectedPath: string | null) => void;
29
- "recalculate-tree-path": () => void;
30
- "set-child-node-height": (args_0: number) => void;
31
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
- selectedPath: {
33
- required: true;
34
- type: import("vue").PropType<string | null>;
35
- };
36
- idPrefix: {
37
- type: import("vue").PropType<string>;
38
- required: true;
39
- };
40
- depth: {
41
- type: import("vue").PropType<number>;
42
- required: true;
43
- };
44
- breadth: {
45
- type: import("vue").PropType<number>;
46
- required: true;
47
- };
48
- pathFragments: {
49
- type: import("vue").PropType<string[]>;
50
- required: true;
51
- };
52
- rootNode: {
53
- type: import("vue").PropType<TreeNode>;
54
- required: true;
55
- };
56
- }>> & Readonly<{
2
+ type __VLS_Props = {
3
+ idPrefix: string;
4
+ depth: number;
5
+ breadth: number;
6
+ pathFragments: string[];
7
+ rootNode: TreeNode;
8
+ };
9
+ type __VLS_Slots = Record<string, (props: SlotProps) => void>;
10
+ type __VLS_PublicProps = __VLS_Props & {
11
+ 'selectedPath': string | null;
12
+ };
13
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "recalculate-tree-path": () => any;
15
+ "set-child-node-height": (args_0: number) => any;
16
+ "update:selectedPath": (value: string | null) => any;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
57
18
  "onRecalculate-tree-path"?: (() => any) | undefined;
58
19
  "onSet-child-node-height"?: ((args_0: number) => any) | undefined;
59
- "onUpdate:selectedPath"?: ((selectedPath: string | null) => any) | undefined;
60
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<Record<string, (props: SlotProps) => void>> & Record<string, (props: SlotProps) => void>>;
20
+ "onUpdate:selectedPath"?: ((value: string | null) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
61
23
  export default _default;
62
- type __VLS_WithTemplateSlots<T, S> = T & {
24
+ type __VLS_WithSlots<T, S> = T & {
63
25
  new (): {
64
26
  $slots: S;
65
27
  };
@@ -1,15 +1,5 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
1
+ type __VLS_Props = {
2
2
  branchesAt: (number | string)[];
3
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
4
- branchesAt: (number | string)[];
5
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
- export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToOption<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
3
  };
4
+ 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>;
5
+ export default _default;
@@ -1,53 +1,25 @@
1
1
  import type { SlotProps, TreeNode } from './types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ type __VLS_Props = {
3
3
  idPrefix: string;
4
4
  rootNodes: TreeNode[];
5
- allowSelect?: boolean | undefined;
6
- allowDeselect?: boolean | undefined;
7
- highlightSelectedDescendants?: boolean | undefined;
8
- }>, {
9
- allowSelect: boolean;
10
- allowDeselect: boolean;
11
- highlightSelectedDescendants: boolean;
12
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- select: (args_0: TreeNode | null) => void;
14
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
15
- idPrefix: string;
16
- rootNodes: TreeNode[];
17
- allowSelect?: boolean | undefined;
18
- allowDeselect?: boolean | undefined;
19
- highlightSelectedDescendants?: boolean | undefined;
20
- }>, {
21
- allowSelect: boolean;
22
- allowDeselect: boolean;
23
- highlightSelectedDescendants: boolean;
24
- }>>> & Readonly<{
5
+ allowSelect?: boolean;
6
+ allowDeselect?: boolean;
7
+ highlightSelectedDescendants?: boolean;
8
+ };
9
+ type __VLS_Slots = Record<string, (props: SlotProps) => void>;
10
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ select: (args_0: TreeNode | null) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
13
  onSelect?: ((args_0: TreeNode | null) => any) | undefined;
26
14
  }>, {
27
15
  allowSelect: boolean;
28
16
  allowDeselect: boolean;
29
17
  highlightSelectedDescendants: boolean;
30
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<Record<string, (props: SlotProps) => void>> & Record<string, (props: SlotProps) => void>>;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
31
20
  export default _default;
32
- type __VLS_WithDefaults<P, D> = {
33
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
- default: D[K];
35
- }> : P[K];
36
- };
37
- type __VLS_Prettify<T> = {
38
- [K in keyof T]: T[K];
39
- } & {};
40
- type __VLS_WithTemplateSlots<T, S> = T & {
21
+ type __VLS_WithSlots<T, S> = T & {
41
22
  new (): {
42
23
  $slots: S;
43
24
  };
44
25
  };
45
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
46
- type __VLS_TypePropsToOption<T> = {
47
- [K in keyof T]-?: {} extends Pick<T, K> ? {
48
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
49
- } : {
50
- type: import('vue').PropType<T[K]>;
51
- required: true;
52
- };
53
- };