@citruslime/ui 4.0.0-beta.24 → 4.0.0-beta.25

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 (84) hide show
  1. package/dist/citrus-lime-ui.es.js +714 -715
  2. package/dist/citrus-lime-ui.umd.js +2 -2
  3. package/dist/components/accordion/cl-ui-accordion.vue.d.ts +13 -38
  4. package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +8 -3
  5. package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +13 -37
  6. package/dist/components/app/cl-ui-app.vue.d.ts +10 -34
  7. package/dist/components/button/cl-ui-button.vue.d.ts +17 -47
  8. package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +15 -31
  9. package/dist/components/calendar/cl-ui-calendar.vue.d.ts +18 -68
  10. package/dist/components/calendar/cl-ui-quick-dates-group.vue.d.ts +6 -17
  11. package/dist/components/calendar/cl-ui-quick-dates.vue.d.ts +6 -17
  12. package/dist/components/card/cl-ui-card.vue.d.ts +13 -40
  13. package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +27 -93
  14. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +18 -63
  15. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +9 -37
  16. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +12 -44
  17. package/dist/components/currency/cl-ui-currency-input.vue.d.ts +13 -49
  18. package/dist/components/file-uploader/cl-ui-file-uploader.vue.d.ts +17 -47
  19. package/dist/components/footer/cl-ui-footer.vue.d.ts +12 -5
  20. package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +17 -38
  21. package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +29 -92
  22. package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +7 -19
  23. package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +13 -39
  24. package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +13 -39
  25. package/dist/components/grid/cl-ui-grid.vue.d.ts +46 -128
  26. package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +7 -34
  27. package/dist/components/grid/header/cl-ui-grid-filter-input.vue.d.ts +7 -23
  28. package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +14 -29
  29. package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +13 -29
  30. package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +7 -20
  31. package/dist/components/grid/header/cl-ui-grid-search.vue.d.ts +21 -43
  32. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +7 -18
  33. package/dist/components/grid-lite/body/cl-ui-grid-lite-body-skeleton.vue.d.ts +3 -14
  34. package/dist/components/grid-lite/body/cl-ui-grid-lite-body.vue.d.ts +14 -49
  35. package/dist/components/grid-lite/body/cl-ui-grid-lite-cell.vue.d.ts +7 -18
  36. package/dist/components/grid-lite/body/cl-ui-grid-lite-row.vue.d.ts +7 -19
  37. package/dist/components/grid-lite/cl-ui-grid-lite.vue.d.ts +21 -66
  38. package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer.vue.d.ts +14 -47
  39. package/dist/components/grid-lite/header/cl-ui-grid-lite-header.vue.d.ts +14 -45
  40. package/dist/components/header/cl-ui-header.vue.d.ts +12 -24
  41. package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +15 -46
  42. package/dist/components/input/cl-ui-input.vue.d.ts +49 -487
  43. package/dist/components/input-v2/input-checkbox/cl-ui-input-checkbox.vue.d.ts +24 -58
  44. package/dist/components/input-v2/input-date-range/cl-ui-input-date-range-input.vue.d.ts +9 -15
  45. package/dist/components/input-v2/input-date-range/cl-ui-input-date-range.vue.d.ts +28 -96
  46. package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +31 -112
  47. package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +12 -40
  48. package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +34 -139
  49. package/dist/components/input-v2/input-range/cl-ui-input-range.vue.d.ts +23 -78
  50. package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +29 -83
  51. package/dist/components/input-v2/input-text-area/cl-ui-input-text-area.vue.d.ts +22 -49
  52. package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +8 -34
  53. package/dist/components/login/cl-ui-login.vue.d.ts +16 -43
  54. package/dist/components/menu/cl-ui-menu.vue.d.ts +26 -199
  55. package/dist/components/menu/group/cl-ui-menu-group.vue.d.ts +11 -24
  56. package/dist/components/menu/icon/cl-ui-menu-icon.vue.d.ts +3 -13
  57. package/dist/components/menu/item/cl-ui-menu-item.vue.d.ts +5 -5
  58. package/dist/components/menu/section/cl-ui-menu-section.vue.d.ts +7 -42
  59. package/dist/components/modal/cl-ui-modal.vue.d.ts +31 -66
  60. package/dist/components/navigation/cl-ui-navigation.vue.d.ts +22 -50
  61. package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +7 -18
  62. package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +5 -29
  63. package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +8 -3
  64. package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +10 -4
  65. package/dist/components/notification/cl-ui-notification.vue.d.ts +7 -35
  66. package/dist/components/select/cl-ui-select.vue.d.ts +19 -153
  67. package/dist/components/select/select-input/cl-ui-select-input.vue.d.ts +10 -12
  68. package/dist/components/select/select-options/cl-ui-select-option.vue.d.ts +14 -42
  69. package/dist/components/skeleton-loaders/cl-ui-skeleton-text.vue.d.ts +11 -36
  70. package/dist/components/slider/cl-ui-slider.vue.d.ts +14 -54
  71. package/dist/components/tab/cl-ui-tab.vue.d.ts +26 -64
  72. package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +10 -34
  73. package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +16 -47
  74. package/dist/components/toggle/cl-ui-radio-group.vue.d.ts +10 -22
  75. package/dist/components/toggle/cl-ui-radio.vue.d.ts +13 -39
  76. package/dist/components/toggle/cl-ui-toggle-button.vue.d.ts +10 -33
  77. package/dist/components/toggle/cl-ui-toggle.vue.d.ts +22 -45
  78. package/dist/components/tree-list/cl-ui-tree-list-subtree.vue.d.ts +20 -58
  79. package/dist/components/tree-list/cl-ui-tree-list-tree-path.vue.d.ts +3 -13
  80. package/dist/components/tree-list/cl-ui-tree-list.vue.d.ts +12 -40
  81. package/dist/ui.css +1 -0
  82. package/dist/utils/injectionKeys.d.ts +1 -1
  83. package/package.json +6 -6
  84. package/dist/style.css +0 -1
@@ -1,8 +1,13 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
2
- default?(_: {}): any;
1
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
4
+ default?: (props: typeof __VLS_1) => any;
3
5
  }>;
6
+ declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
4
9
  export default _default;
5
- type __VLS_WithTemplateSlots<T, S> = T & {
10
+ type __VLS_WithSlots<T, S> = T & {
6
11
  new (): {
7
12
  $slots: S;
8
13
  };
@@ -1,9 +1,15 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
2
- title?(_: {}): any;
3
- default?(_: {}): any;
1
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
2
+ declare var __VLS_1: {}, __VLS_3: {};
3
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
4
+ title?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ default?: (props: typeof __VLS_3) => any;
4
7
  }>;
8
+ declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
5
11
  export default _default;
6
- type __VLS_WithTemplateSlots<T, S> = T & {
12
+ type __VLS_WithSlots<T, S> = T & {
7
13
  new (): {
8
14
  $slots: S;
9
15
  };
@@ -1,40 +1,12 @@
1
1
  import type { NotificationPosition } from '../../composables/notification';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
- container?: string | undefined;
4
- position?: "top-left" | "top-centre" | "top-right" | "bottom-left" | "bottom-centre" | "bottom-right" | undefined;
5
- headerVisible?: boolean | undefined;
6
- }>, {
7
- container: string;
8
- position: string;
9
- headerVisible: boolean;
10
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
11
- container?: string | undefined;
12
- position?: "top-left" | "top-centre" | "top-right" | "bottom-left" | "bottom-centre" | "bottom-right" | undefined;
13
- headerVisible?: boolean | undefined;
14
- }>, {
15
- container: string;
16
- position: string;
17
- headerVisible: boolean;
18
- }>>> & Readonly<{}>, {
2
+ type __VLS_Props = {
3
+ container?: string;
4
+ position?: NotificationPosition;
5
+ headerVisible?: boolean;
6
+ };
7
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
8
  container: string;
20
9
  position: NotificationPosition;
21
10
  headerVisible: boolean;
22
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
12
  export default _default;
24
- type __VLS_WithDefaults<P, D> = {
25
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
- default: D[K];
27
- }> : P[K];
28
- };
29
- type __VLS_Prettify<T> = {
30
- [K in keyof T]: T[K];
31
- } & {};
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,97 +1,24 @@
1
1
  import type { SelectItem } from './types';
2
- declare const _default: <T extends string | number | boolean | SelectItem>(__VLS_props: {
3
- disabled?: boolean | undefined;
4
- required?: boolean | undefined;
5
- errors?: string[] | null | undefined;
6
- placeholder?: string | null | undefined;
7
- modelValue: T | T[] | null | undefined;
8
- openDropDownOnFocus?: boolean | undefined;
9
- list: T[];
10
- canClear?: boolean | undefined;
11
- isGridFilter?: boolean | undefined;
12
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
13
- attrs: any;
14
- slots: Readonly<{
15
- default(props: {
16
- select: (value: T) => void;
17
- isSelected: (option: T) => boolean;
18
- highlightIndex: number;
19
- index: number;
20
- option: T;
21
- }): any;
22
- input(props: {
23
- handleEnterPress: (event: Event) => void;
24
- handleEscapePress: (event: Event) => void;
25
- selectModalVisible: boolean;
26
- toggleSelectModalState: (forcedState?: boolean) => void;
27
- moveHighlightBackwards: (event: KeyboardEvent) => void;
28
- moveHighlightForwards: (event: KeyboardEvent) => void;
29
- moveHighlightToStart: (event: KeyboardEvent) => void;
30
- moveHighlightToEnd: (event: KeyboardEvent) => void;
31
- }): any;
32
- label(): any;
33
- 'help-text'(): any;
34
- }> & {
35
- default(props: {
36
- select: (value: T) => void;
37
- isSelected: (option: T) => boolean;
38
- highlightIndex: number;
39
- index: number;
40
- option: T;
41
- }): any;
42
- input(props: {
43
- handleEnterPress: (event: Event) => void;
44
- handleEscapePress: (event: Event) => void;
45
- selectModalVisible: boolean;
46
- toggleSelectModalState: (forcedState?: boolean) => void;
47
- moveHighlightBackwards: (event: KeyboardEvent) => void;
48
- moveHighlightForwards: (event: KeyboardEvent) => void;
49
- moveHighlightToStart: (event: KeyboardEvent) => void;
50
- moveHighlightToEnd: (event: KeyboardEvent) => void;
51
- }): any;
52
- label(): any;
53
- 'help-text'(): any;
54
- };
55
- emit: any;
56
- } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
57
- focus(): void;
58
- }>) => void) | undefined, __VLS_setup?: Promise<{
59
- props: {
60
- disabled?: boolean | undefined;
61
- required?: boolean | undefined;
62
- errors?: string[] | null | undefined;
63
- placeholder?: string | null | undefined;
64
- modelValue: T | T[] | null | undefined;
65
- openDropDownOnFocus?: boolean | undefined;
2
+ declare const _default: <T extends string | number | boolean | SelectItem>(__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 "onUpdate:modelValue"?: ((value: T | T[] | null | undefined) => any) | undefined;
5
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
66
6
  list: T[];
67
- canClear?: boolean | undefined;
68
- isGridFilter?: boolean | undefined;
69
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
7
+ required?: boolean;
8
+ disabled?: boolean;
9
+ placeholder?: string | null;
10
+ canClear?: boolean;
11
+ errors?: string[] | null;
12
+ isGridFilter?: boolean;
13
+ openDropDownOnFocus?: boolean;
14
+ } & {
15
+ modelValue: T | T[] | null | undefined;
16
+ }) & Partial<{}>> & import("vue").PublicProps;
70
17
  expose(exposed: import("vue").ShallowUnwrapRef<{
71
18
  focus(): void;
72
19
  }>): void;
73
20
  attrs: any;
74
- slots: Readonly<{
75
- default(props: {
76
- select: (value: T) => void;
77
- isSelected: (option: T) => boolean;
78
- highlightIndex: number;
79
- index: number;
80
- option: T;
81
- }): any;
82
- input(props: {
83
- handleEnterPress: (event: Event) => void;
84
- handleEscapePress: (event: Event) => void;
85
- selectModalVisible: boolean;
86
- toggleSelectModalState: (forcedState?: boolean) => void;
87
- moveHighlightBackwards: (event: KeyboardEvent) => void;
88
- moveHighlightForwards: (event: KeyboardEvent) => void;
89
- moveHighlightToStart: (event: KeyboardEvent) => void;
90
- moveHighlightToEnd: (event: KeyboardEvent) => void;
91
- }): any;
92
- label(): any;
93
- 'help-text'(): any;
94
- }> & {
21
+ slots: {
95
22
  default(props: {
96
23
  select: (value: T) => void;
97
24
  isSelected: (option: T) => boolean;
@@ -112,72 +39,11 @@ declare const _default: <T extends string | number | boolean | SelectItem>(__VLS
112
39
  label(): any;
113
40
  'help-text'(): any;
114
41
  };
115
- emit: any;
116
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
117
- [key: string]: any;
118
- }> & {
119
- __ctx?: {
120
- props: {
121
- disabled?: boolean | undefined;
122
- required?: boolean | undefined;
123
- errors?: string[] | null | undefined;
124
- placeholder?: string | null | undefined;
125
- modelValue: T | T[] | null | undefined;
126
- openDropDownOnFocus?: boolean | undefined;
127
- list: T[];
128
- canClear?: boolean | undefined;
129
- isGridFilter?: boolean | undefined;
130
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
131
- expose(exposed: import("vue").ShallowUnwrapRef<{
132
- focus(): void;
133
- }>): void;
134
- attrs: any;
135
- slots: Readonly<{
136
- default(props: {
137
- select: (value: T) => void;
138
- isSelected: (option: T) => boolean;
139
- highlightIndex: number;
140
- index: number;
141
- option: T;
142
- }): any;
143
- input(props: {
144
- handleEnterPress: (event: Event) => void;
145
- handleEscapePress: (event: Event) => void;
146
- selectModalVisible: boolean;
147
- toggleSelectModalState: (forcedState?: boolean) => void;
148
- moveHighlightBackwards: (event: KeyboardEvent) => void;
149
- moveHighlightForwards: (event: KeyboardEvent) => void;
150
- moveHighlightToStart: (event: KeyboardEvent) => void;
151
- moveHighlightToEnd: (event: KeyboardEvent) => void;
152
- }): any;
153
- label(): any;
154
- 'help-text'(): any;
155
- }> & {
156
- default(props: {
157
- select: (value: T) => void;
158
- isSelected: (option: T) => boolean;
159
- highlightIndex: number;
160
- index: number;
161
- option: T;
162
- }): any;
163
- input(props: {
164
- handleEnterPress: (event: Event) => void;
165
- handleEscapePress: (event: Event) => void;
166
- selectModalVisible: boolean;
167
- toggleSelectModalState: (forcedState?: boolean) => void;
168
- moveHighlightBackwards: (event: KeyboardEvent) => void;
169
- moveHighlightForwards: (event: KeyboardEvent) => void;
170
- moveHighlightToStart: (event: KeyboardEvent) => void;
171
- moveHighlightToEnd: (event: KeyboardEvent) => void;
172
- }): any;
173
- label(): any;
174
- 'help-text'(): any;
175
- };
176
- emit: any;
177
- } | undefined;
42
+ emit: (evt: "update:modelValue", value: T | T[] | null | undefined) => void;
43
+ }>) => import("vue").VNode & {
44
+ __ctx?: Awaited<typeof __VLS_setup>;
178
45
  };
179
46
  export default _default;
180
- type __VLS_OmitKeepDiscriminatedUnion<T, K extends keyof any> = T extends any ? Pick<T, Exclude<keyof T, K>> : never;
181
- type __VLS_Prettify<T> = {
47
+ type __VLS_PrettifyLocal<T> = {
182
48
  [K in keyof T]: T[K];
183
49
  } & {};
@@ -1,22 +1,20 @@
1
+ type __VLS_Slots = {
2
+ default(props: {
3
+ toggleModalInput: typeof toggleModalInput;
4
+ }): any;
5
+ };
1
6
  /**
2
7
  * Toggles the modal.
3
8
  */
4
9
  declare function toggleModalInput(): void;
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- toggleModal: () => void;
10
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ toggleModal: () => any;
7
12
  }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
8
13
  onToggleModal?: (() => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
10
- default(props: {
11
- toggleModalInput: typeof toggleModalInput;
12
- }): any;
13
- }> & {
14
- default(props: {
15
- toggleModalInput: typeof toggleModalInput;
16
- }): any;
17
- }>;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
16
  export default _default;
19
- type __VLS_WithTemplateSlots<T, S> = T & {
17
+ type __VLS_WithSlots<T, S> = T & {
20
18
  new (): {
21
19
  $slots: S;
22
20
  };
@@ -1,52 +1,24 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
- isSelected?: boolean | undefined;
3
- isHighlighted?: boolean | undefined;
4
- disabled?: boolean | undefined;
5
- }>, {
6
- isSelected: boolean;
7
- isHighlighted: boolean;
8
- disabled: boolean;
9
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- select: () => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
12
- isSelected?: boolean | undefined;
13
- isHighlighted?: boolean | undefined;
14
- disabled?: boolean | undefined;
15
- }>, {
16
- isSelected: boolean;
17
- isHighlighted: boolean;
18
- disabled: boolean;
19
- }>>> & Readonly<{
1
+ type __VLS_Props = {
2
+ isSelected?: boolean;
3
+ isHighlighted?: boolean;
4
+ disabled?: 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
+ select: () => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
12
  onSelect?: (() => any) | undefined;
21
13
  }>, {
22
14
  disabled: boolean;
23
15
  isHighlighted: boolean;
24
16
  isSelected: boolean;
25
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
26
- default: any;
27
- }> & {
28
- default: any;
29
- }>;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
30
19
  export default _default;
31
- type __VLS_WithDefaults<P, D> = {
32
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
- default: D[K];
34
- }> : P[K];
35
- };
36
- type __VLS_Prettify<T> = {
37
- [K in keyof T]: T[K];
38
- } & {};
39
- type __VLS_WithTemplateSlots<T, S> = T & {
20
+ type __VLS_WithSlots<T, S> = T & {
40
21
  new (): {
41
22
  $slots: S;
42
23
  };
43
24
  };
44
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
- type __VLS_TypePropsToOption<T> = {
46
- [K in keyof T]-?: {} extends Pick<T, K> ? {
47
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
- } : {
49
- type: import('vue').PropType<T[K]>;
50
- required: true;
51
- };
52
- };
@@ -1,43 +1,18 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
- words?: number | undefined;
3
- rows?: number | undefined;
4
- }>, {
5
- words: number;
6
- rows: number;
7
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
8
- words?: number | undefined;
9
- rows?: number | undefined;
10
- }>, {
11
- words: number;
12
- rows: number;
13
- }>>> & Readonly<{}>, {
1
+ type __VLS_Props = {
2
+ words?: number;
3
+ rows?: number;
4
+ };
5
+ type __VLS_Slots = {
6
+ default(): any;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
9
  words: number;
15
10
  rows: number;
16
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
17
- default(): any;
18
- }> & {
19
- default(): any;
20
- }>;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
21
13
  export default _default;
22
- type __VLS_WithDefaults<P, D> = {
23
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
- default: D[K];
25
- }> : P[K];
26
- };
27
- type __VLS_Prettify<T> = {
28
- [K in keyof T]: T[K];
29
- } & {};
30
- type __VLS_WithTemplateSlots<T, S> = T & {
14
+ type __VLS_WithSlots<T, S> = T & {
31
15
  new (): {
32
16
  $slots: S;
33
17
  };
34
18
  };
35
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToOption<T> = {
37
- [K in keyof T]-?: {} extends Pick<T, K> ? {
38
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
- } : {
40
- type: import('vue').PropType<T[K]>;
41
- required: true;
42
- };
43
- };
@@ -1,62 +1,22 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- value: {
3
- required: true;
4
- type: import("vue").PropType<number>;
5
- };
6
- disabled: {
7
- type: import("vue").PropType<boolean>;
8
- default: boolean;
9
- };
10
- max: {
11
- type: import("vue").PropType<number>;
12
- required: true;
13
- };
14
- placeholder: {
15
- type: import("vue").PropType<string>;
16
- default: string;
17
- };
18
- min: {
19
- type: import("vue").PropType<number>;
20
- required: true;
21
- };
22
- step: {
23
- type: import("vue").PropType<number>;
24
- default: number;
25
- };
26
- }>, {
1
+ type __VLS_Props = {
2
+ min: number;
3
+ max: number;
4
+ step?: number;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & {
9
+ 'value': number;
10
+ };
11
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
27
12
  focus(): void;
28
13
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
- "update:value": (value: number) => void;
30
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
- value: {
32
- required: true;
33
- type: import("vue").PropType<number>;
34
- };
35
- disabled: {
36
- type: import("vue").PropType<boolean>;
37
- default: boolean;
38
- };
39
- max: {
40
- type: import("vue").PropType<number>;
41
- required: true;
42
- };
43
- placeholder: {
44
- type: import("vue").PropType<string>;
45
- default: string;
46
- };
47
- min: {
48
- type: import("vue").PropType<number>;
49
- required: true;
50
- };
51
- step: {
52
- type: import("vue").PropType<number>;
53
- default: number;
54
- };
55
- }>> & Readonly<{
14
+ "update:value": (value: number) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
56
16
  "onUpdate:value"?: ((value: number) => any) | undefined;
57
17
  }>, {
58
18
  disabled: boolean;
59
19
  placeholder: string;
60
20
  step: number;
61
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
62
22
  export default _default;
@@ -1,81 +1,43 @@
1
+ import type { TabColour, TabLayout } from './types';
2
+ type __VLS_Props = {
3
+ colour?: TabColour;
4
+ layout?: TabLayout;
5
+ overflowHidden?: boolean;
6
+ stickyHeader?: boolean;
7
+ };
8
+ type __VLS_Slots = {
9
+ headings(props: {
10
+ isTabOpen: (id: number) => boolean;
11
+ toggleOpen: (id: number) => void;
12
+ colour: TabColour;
13
+ layout: TabLayout;
14
+ }): any;
15
+ content(props: {
16
+ isTabOpen: (id: number) => boolean;
17
+ }): any;
18
+ };
1
19
  /**
2
20
  * Exposed function that can be called if we need to open a specific tab.
3
21
  *
4
22
  * @param id - The ID of the tab to open.
5
23
  */
6
24
  declare function setTab(id?: number): void;
7
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
8
- colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
9
- layout?: "horizontal" | "vertical" | undefined;
10
- overflowHidden?: boolean | undefined;
11
- stickyHeader?: boolean | undefined;
12
- }>, {
13
- colour: string;
14
- layout: string;
15
- overflowHidden: boolean;
16
- stickyHeader: boolean;
17
- }>>, {
25
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
18
26
  setTab: typeof setTab;
19
27
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
- "tab-opened": (args_0: number) => void;
21
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
22
- colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
23
- layout?: "horizontal" | "vertical" | undefined;
24
- overflowHidden?: boolean | undefined;
25
- stickyHeader?: boolean | undefined;
26
- }>, {
27
- colour: string;
28
- layout: string;
29
- overflowHidden: boolean;
30
- stickyHeader: boolean;
31
- }>>> & Readonly<{
28
+ "tab-opened": (args_0: number) => any;
29
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
32
30
  "onTab-opened"?: ((args_0: number) => any) | undefined;
33
31
  }>, {
34
- colour: "default" | "primary" | "secondary" | "danger" | "blue";
35
- layout: "horizontal" | "vertical";
32
+ colour: TabColour;
33
+ layout: TabLayout;
36
34
  overflowHidden: boolean;
37
35
  stickyHeader: boolean;
38
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
39
- headings(props: {
40
- isTabOpen: (id: number) => boolean;
41
- toggleOpen: (id: number) => void;
42
- colour: "default" | "primary" | "secondary" | "danger" | "blue";
43
- layout: "horizontal" | "vertical";
44
- }): any;
45
- content(props: {
46
- isTabOpen: (id: number) => boolean;
47
- }): any;
48
- }> & {
49
- headings(props: {
50
- isTabOpen: (id: number) => boolean;
51
- toggleOpen: (id: number) => void;
52
- colour: "default" | "primary" | "secondary" | "danger" | "blue";
53
- layout: "horizontal" | "vertical";
54
- }): any;
55
- content(props: {
56
- isTabOpen: (id: number) => boolean;
57
- }): any;
58
- }>;
36
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
59
38
  export default _default;
60
- type __VLS_WithDefaults<P, D> = {
61
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
62
- default: D[K];
63
- }> : P[K];
64
- };
65
- type __VLS_Prettify<T> = {
66
- [K in keyof T]: T[K];
67
- } & {};
68
- type __VLS_WithTemplateSlots<T, S> = T & {
39
+ type __VLS_WithSlots<T, S> = T & {
69
40
  new (): {
70
41
  $slots: S;
71
42
  };
72
43
  };
73
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
74
- type __VLS_TypePropsToOption<T> = {
75
- [K in keyof T]-?: {} extends Pick<T, K> ? {
76
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
77
- } : {
78
- type: import('vue').PropType<T[K]>;
79
- required: true;
80
- };
81
- };