@ambita/design-system 6.0.2-431.0 → 6.1.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 (66) hide show
  1. package/README.md +2 -2
  2. package/dist/css/ambita-dark.scss +1 -0
  3. package/dist/css/ambita-light.scss +1 -0
  4. package/dist/css/ambita-old.scss +1 -0
  5. package/dist/css/base.scss +1 -0
  6. package/dist/css/byggesoknaden.scss +1 -0
  7. package/dist/css/neo-tokens.scss +42 -17
  8. package/dist/css/utilities.scss +59 -0
  9. package/dist/ds.cjs +3 -3
  10. package/dist/ds.js +17291 -18235
  11. package/dist/ds.umd.cjs +4 -4
  12. package/dist/index.css +1 -1
  13. package/dist/themes/ambita-dark.css +1 -1
  14. package/dist/themes/ambita-light.css +1 -1
  15. package/dist/themes/ambita-old.css +1 -1
  16. package/dist/themes/byggesoknaden.css +1 -1
  17. package/dist/types/App.vue.d.ts +1 -79
  18. package/dist/types/components/AuxCheckbox/AuxCheckbox.vue.d.ts +51 -0
  19. package/dist/types/components/{Checkbox/CheckboxCard.vue.d.ts → AuxCheckbox/AuxCheckboxCard.vue.d.ts} +9 -0
  20. package/dist/types/components/{Checkbox/CheckboxRegular.vue.d.ts → AuxCheckbox/AuxCheckboxRegular.vue.d.ts} +9 -0
  21. package/dist/types/components/AuxDefinition/AuxDefinition.vue.d.ts +24 -0
  22. package/dist/types/components/AuxModal/AuxModal.vue.d.ts +16 -70
  23. package/dist/types/components/AuxNotification/AuxNotification.vue.d.ts +22 -0
  24. package/dist/types/components/AuxNotification/AuxNotifications.vue.d.ts +15 -0
  25. package/dist/types/components/AuxNotification/constants.d.ts +2 -0
  26. package/dist/types/components/AuxRadio/AuxRadio.vue.d.ts +31 -0
  27. package/dist/types/components/AuxSpinner/AuxSpinner.vue.d.ts +23 -0
  28. package/dist/types/components/AuxTag/AuxTag.vue.d.ts +18 -0
  29. package/dist/types/components/Button/NeoButton.vue.d.ts +2 -0
  30. package/dist/types/components/Button/NeoLoadingButton.vue.d.ts +33 -0
  31. package/dist/types/components/CheckboxDropdown/CheckboxDropdown.vue.d.ts +41 -307
  32. package/dist/types/components/CheckboxGroup/CheckboxGroup.vue.d.ts +17 -310
  33. package/dist/types/components/CheckboxGroup/types.d.ts +6 -0
  34. package/dist/types/components/Details/Details.vue.d.ts +5 -12
  35. package/dist/types/components/DirectionalArrow/DirectionalArrow.vue.d.ts +6 -14
  36. package/dist/types/components/FormElement/FormElement.vue.d.ts +5 -12
  37. package/dist/types/components/Input/Input.vue.d.ts +6 -13
  38. package/dist/types/components/Input/NeoInput.vue.d.ts +2 -2
  39. package/dist/types/components/NeoBanner/NeoBanner.vue.d.ts +1 -1
  40. package/dist/types/components/NeoComboBox/NeoComboBox.vue.d.ts +1 -1
  41. package/dist/types/components/NeoDatePicker/NeoDatePicker.vue.d.ts +2 -2
  42. package/dist/types/components/NeoSelect/NeoSelect.vue.d.ts +1 -1
  43. package/dist/types/components/NeoTagsInput/TagsInput.vue.d.ts +2 -2
  44. package/dist/types/components/RadioGroup/RadioGroup.vue.d.ts +18 -309
  45. package/dist/types/components/RadioGroup/RadioGroupCardElement.vue.d.ts +1 -1
  46. package/dist/types/components/RadioGroup/RadioGroupElement.vue.d.ts +1 -1
  47. package/dist/types/components/Select/Select.vue.d.ts +6 -13
  48. package/dist/types/components/StatusBadge/StatusBadge.vue.d.ts +19 -44
  49. package/dist/types/components/TextArea/TextArea.vue.d.ts +6 -13
  50. package/dist/types/components/Typography/NeoFormField.vue.d.ts +2 -3
  51. package/dist/types/components/Upload/Upload.vue.d.ts +5 -12
  52. package/dist/types/index.d.ts +10 -6
  53. package/dist/types/main.d.ts +0 -1
  54. package/package.json +80 -75
  55. package/dist/types/components/Checkbox/Checkbox.vue.d.ts +0 -239
  56. package/dist/types/components/Definition/Definition.vue.d.ts +0 -59
  57. package/dist/types/components/Notification/Notification.vue.d.ts +0 -35
  58. package/dist/types/components/Notification/Notifications.vue.d.ts +0 -53
  59. package/dist/types/components/Notification/constants.d.ts +0 -2
  60. package/dist/types/components/Radio/Radio.vue.d.ts +0 -51
  61. package/dist/types/components/Spinner/Spinner.vue.d.ts +0 -23
  62. package/dist/types/components/Tag/Tag.vue.d.ts +0 -22
  63. /package/dist/types/components/{Checkbox → AuxCheckbox}/constants.d.ts +0 -0
  64. /package/dist/types/components/{Spinner → AuxSpinner}/constants.d.ts +0 -0
  65. /package/dist/types/components/{Tag → AuxTag}/Colors.d.ts +0 -0
  66. /package/dist/types/components/{Seperator → Separator}/NeoSeparator.vue.d.ts +0 -0
@@ -1,313 +1,47 @@
1
- declare const _default: typeof __VLS_export;
2
- export default _default;
3
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- value: {
5
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
6
- };
7
- disabled: {
8
- type: BooleanConstructor;
9
- };
10
- id: {
11
- type: StringConstructor;
12
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
13
- };
14
- name: {
15
- type: StringConstructor;
16
- required: false;
17
- };
18
- selected: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- indeterminate: {
23
- type: BooleanConstructor;
24
- default: boolean;
25
- };
26
- layout: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- }>, {
31
- state: {
32
- isOpen: boolean;
33
- };
1
+ type __VLS_Props = {
2
+ value?: string | number | boolean;
3
+ disabled?: boolean;
4
+ id?: string;
5
+ name?: string;
6
+ selected?: boolean;
7
+ indeterminate?: boolean;
8
+ layout?: 'regular' | 'card';
9
+ };
10
+ declare var __VLS_10: {}, __VLS_12: {};
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_10) => any;
13
+ } & {
14
+ content?: (props: typeof __VLS_12) => any;
15
+ };
16
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
17
  change: (value: {
35
18
  checked: boolean;
36
- option: any;
37
- }) => void;
38
- updateSelected: (value: {
19
+ option: string | number | boolean | undefined;
20
+ }) => any;
21
+ "update:selected": (value: {
39
22
  checked: boolean;
40
- option: any;
41
- }) => void;
42
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
43
- value: {
44
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
45
- };
46
- disabled: {
47
- type: BooleanConstructor;
48
- };
49
- id: {
50
- type: StringConstructor;
51
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
52
- };
53
- name: {
54
- type: StringConstructor;
55
- required: false;
56
- };
57
- selected: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- indeterminate: {
62
- type: BooleanConstructor;
63
- default: boolean;
64
- };
65
- layout: {
66
- type: StringConstructor;
67
- default: string;
68
- };
69
- }>> & Readonly<{}>, {
70
- disabled: boolean;
23
+ option: string | number | boolean | undefined;
24
+ }) => any;
25
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
26
+ onChange?: ((value: {
27
+ checked: boolean;
28
+ option: string | number | boolean | undefined;
29
+ }) => any) | undefined;
30
+ "onUpdate:selected"?: ((value: {
31
+ checked: boolean;
32
+ option: string | number | boolean | undefined;
33
+ }) => any) | undefined;
34
+ }>, {
71
35
  id: string;
72
36
  selected: boolean;
73
- layout: string;
37
+ layout: "regular" | "card";
74
38
  indeterminate: boolean;
75
- }, {}, {
76
- AuxCheckbox: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
77
- value: {
78
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
79
- };
80
- disabled: {
81
- type: BooleanConstructor;
82
- };
83
- id: {
84
- type: StringConstructor;
85
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
86
- };
87
- name: {
88
- type: StringConstructor;
89
- required: false;
90
- };
91
- selected: {
92
- type: BooleanConstructor;
93
- default: boolean;
94
- };
95
- indeterminate: {
96
- type: BooleanConstructor;
97
- default: boolean;
98
- };
99
- layout: {
100
- type: StringConstructor;
101
- validator: (value: string) => boolean;
102
- default: string;
103
- };
104
- }>, {
105
- changeEvent: (value: Event) => void;
106
- checkboxType: import("vue").ComputedRef<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
107
- value: {
108
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
109
- };
110
- disabled: {
111
- type: BooleanConstructor;
112
- };
113
- id: {
114
- type: StringConstructor;
115
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
116
- };
117
- name: {
118
- type: StringConstructor;
119
- required: false;
120
- };
121
- selected: {
122
- type: BooleanConstructor;
123
- default: boolean;
124
- };
125
- indeterminate: {
126
- type: BooleanConstructor;
127
- default: boolean;
128
- };
129
- }>, {
130
- changeEvent: (event: Event) => void;
131
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
132
- value: {
133
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
134
- };
135
- disabled: {
136
- type: BooleanConstructor;
137
- };
138
- id: {
139
- type: StringConstructor;
140
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
141
- };
142
- name: {
143
- type: StringConstructor;
144
- required: false;
145
- };
146
- selected: {
147
- type: BooleanConstructor;
148
- default: boolean;
149
- };
150
- indeterminate: {
151
- type: BooleanConstructor;
152
- default: boolean;
153
- };
154
- }>> & Readonly<{
155
- onChange?: ((...args: any[]) => any) | undefined;
156
- }>, {
157
- disabled: boolean;
158
- id: string;
159
- selected: boolean;
160
- indeterminate: boolean;
161
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
162
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:selected")[], "change" | "update:selected", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
163
- value: {
164
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
165
- };
166
- disabled: {
167
- type: BooleanConstructor;
168
- };
169
- id: {
170
- type: StringConstructor;
171
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
172
- };
173
- name: {
174
- type: StringConstructor;
175
- required: false;
176
- };
177
- selected: {
178
- type: BooleanConstructor;
179
- default: boolean;
180
- };
181
- indeterminate: {
182
- type: BooleanConstructor;
183
- default: boolean;
184
- };
185
- layout: {
186
- type: StringConstructor;
187
- validator: (value: string) => boolean;
188
- default: string;
189
- };
190
- }>> & Readonly<{
191
- onChange?: ((...args: any[]) => any) | undefined;
192
- "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
193
- }>, {
194
- disabled: boolean;
195
- id: string;
196
- selected: boolean;
197
- layout: string;
198
- indeterminate: boolean;
199
- }, {}, {
200
- AuxCheckboxRegular: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
201
- value: {
202
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
203
- };
204
- disabled: {
205
- type: BooleanConstructor;
206
- };
207
- id: {
208
- type: StringConstructor;
209
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
210
- };
211
- name: {
212
- type: StringConstructor;
213
- required: false;
214
- };
215
- selected: {
216
- type: BooleanConstructor;
217
- default: boolean;
218
- };
219
- indeterminate: {
220
- type: BooleanConstructor;
221
- default: boolean;
222
- };
223
- }>, {
224
- changeEvent: (event: Event) => void;
225
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
226
- value: {
227
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
228
- };
229
- disabled: {
230
- type: BooleanConstructor;
231
- };
232
- id: {
233
- type: StringConstructor;
234
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
235
- };
236
- name: {
237
- type: StringConstructor;
238
- required: false;
239
- };
240
- selected: {
241
- type: BooleanConstructor;
242
- default: boolean;
243
- };
244
- indeterminate: {
245
- type: BooleanConstructor;
246
- default: boolean;
247
- };
248
- }>> & Readonly<{
249
- onChange?: ((...args: any[]) => any) | undefined;
250
- }>, {
251
- disabled: boolean;
252
- id: string;
253
- selected: boolean;
254
- indeterminate: boolean;
255
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
256
- AuxCheckboxCard: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
257
- value: {
258
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
259
- };
260
- disabled: {
261
- type: BooleanConstructor;
262
- };
263
- id: {
264
- type: StringConstructor;
265
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
266
- };
267
- name: {
268
- type: StringConstructor;
269
- required: false;
270
- };
271
- selected: {
272
- type: BooleanConstructor;
273
- default: boolean;
274
- };
275
- indeterminate: {
276
- type: BooleanConstructor;
277
- default: boolean;
278
- };
279
- }>, {
280
- changeEvent: (event: Event) => void;
281
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
282
- value: {
283
- type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
284
- };
285
- disabled: {
286
- type: BooleanConstructor;
287
- };
288
- id: {
289
- type: StringConstructor;
290
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
291
- };
292
- name: {
293
- type: StringConstructor;
294
- required: false;
295
- };
296
- selected: {
297
- type: BooleanConstructor;
298
- default: boolean;
299
- };
300
- indeterminate: {
301
- type: BooleanConstructor;
302
- default: boolean;
303
- };
304
- }>> & Readonly<{
305
- onChange?: ((...args: any[]) => any) | undefined;
306
- }>, {
307
- disabled: boolean;
308
- id: string;
309
- selected: boolean;
310
- indeterminate: boolean;
311
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
312
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
313
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
41
+ declare const _default: typeof __VLS_export;
42
+ export default _default;
43
+ type __VLS_WithSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
@@ -1,314 +1,21 @@
1
- import { type PropType } from 'vue';
2
- type Item = {
1
+ import type { AuxCheckboxGroupItem } from './types';
2
+ type __VLS_Props = {
3
3
  label: string;
4
- value: string;
5
- checked: boolean;
6
- disabled?: boolean;
7
- };
8
- type State = {
9
- items: Item[];
4
+ items: AuxCheckboxGroupItem[];
5
+ name: string;
6
+ id?: string;
7
+ description?: string;
8
+ descriptionLabel?: string;
9
+ hideLabel?: boolean;
10
+ dataTestid?: string;
11
+ layout?: 'card' | 'regular';
10
12
  };
13
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ change: (items: AuxCheckboxGroupItem[]) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ onChange?: ((items: AuxCheckboxGroupItem[]) => any) | undefined;
17
+ }>, {
18
+ layout: "card" | "regular";
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
20
  declare const _default: typeof __VLS_export;
12
21
  export default _default;
13
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
- label: {
15
- type: StringConstructor;
16
- required: true;
17
- };
18
- items: {
19
- type: PropType<Item[]>;
20
- required: true;
21
- };
22
- id: {
23
- type: StringConstructor;
24
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
25
- };
26
- description: {
27
- type: StringConstructor;
28
- };
29
- descriptionLabel: {
30
- type: StringConstructor;
31
- required: false;
32
- };
33
- hideLabel: {
34
- type: BooleanConstructor;
35
- required: false;
36
- };
37
- name: {
38
- type: StringConstructor;
39
- required: true;
40
- };
41
- dataTestid: {
42
- type: StringConstructor;
43
- required: false;
44
- };
45
- layout: {
46
- type: StringConstructor;
47
- validator: (value: string) => boolean;
48
- default: string;
49
- };
50
- }>, {
51
- changeEvent: (itemValue: String) => void;
52
- CheckboxType: import("vue").ComputedRef<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
53
- id: {
54
- type: StringConstructor;
55
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
56
- };
57
- name: {
58
- type: StringConstructor;
59
- required: true;
60
- };
61
- value: {
62
- type: StringConstructor;
63
- };
64
- disabled: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- checked: {
69
- type: BooleanConstructor;
70
- required: true;
71
- };
72
- }>, {
73
- change: () => void;
74
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
75
- id: {
76
- type: StringConstructor;
77
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
78
- };
79
- name: {
80
- type: StringConstructor;
81
- required: true;
82
- };
83
- value: {
84
- type: StringConstructor;
85
- };
86
- disabled: {
87
- type: BooleanConstructor;
88
- default: boolean;
89
- };
90
- checked: {
91
- type: BooleanConstructor;
92
- required: true;
93
- };
94
- }>> & Readonly<{
95
- onChange?: ((...args: any[]) => any) | undefined;
96
- }>, {
97
- disabled: boolean;
98
- id: string;
99
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
100
- state: State;
101
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
102
- label: {
103
- type: StringConstructor;
104
- required: true;
105
- };
106
- items: {
107
- type: PropType<Item[]>;
108
- required: true;
109
- };
110
- id: {
111
- type: StringConstructor;
112
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
113
- };
114
- description: {
115
- type: StringConstructor;
116
- };
117
- descriptionLabel: {
118
- type: StringConstructor;
119
- required: false;
120
- };
121
- hideLabel: {
122
- type: BooleanConstructor;
123
- required: false;
124
- };
125
- name: {
126
- type: StringConstructor;
127
- required: true;
128
- };
129
- dataTestid: {
130
- type: StringConstructor;
131
- required: false;
132
- };
133
- layout: {
134
- type: StringConstructor;
135
- validator: (value: string) => boolean;
136
- default: string;
137
- };
138
- }>> & Readonly<{
139
- onChange?: ((...args: any[]) => any) | undefined;
140
- }>, {
141
- id: string;
142
- hideLabel: boolean;
143
- layout: string;
144
- }, {}, {
145
- AuxCheckboxGroupCardElement: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
146
- id: {
147
- type: StringConstructor;
148
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
149
- };
150
- name: {
151
- type: StringConstructor;
152
- required: true;
153
- };
154
- value: {
155
- type: StringConstructor;
156
- };
157
- disabled: {
158
- type: BooleanConstructor;
159
- default: boolean;
160
- };
161
- checked: {
162
- type: BooleanConstructor;
163
- required: true;
164
- };
165
- }>, {
166
- change: () => void;
167
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
168
- id: {
169
- type: StringConstructor;
170
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
171
- };
172
- name: {
173
- type: StringConstructor;
174
- required: true;
175
- };
176
- value: {
177
- type: StringConstructor;
178
- };
179
- disabled: {
180
- type: BooleanConstructor;
181
- default: boolean;
182
- };
183
- checked: {
184
- type: BooleanConstructor;
185
- required: true;
186
- };
187
- }>> & Readonly<{
188
- onChange?: ((...args: any[]) => any) | undefined;
189
- }>, {
190
- disabled: boolean;
191
- id: string;
192
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
193
- AuxCheckboxGroupElement: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
194
- value: {
195
- type: StringConstructor;
196
- };
197
- disabled: {
198
- type: BooleanConstructor;
199
- default: boolean;
200
- };
201
- id: {
202
- type: StringConstructor;
203
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
204
- };
205
- name: {
206
- type: StringConstructor;
207
- required: true;
208
- };
209
- checked: {
210
- type: BooleanConstructor;
211
- required: true;
212
- };
213
- }>, {
214
- change: () => void;
215
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
216
- value: {
217
- type: StringConstructor;
218
- };
219
- disabled: {
220
- type: BooleanConstructor;
221
- default: boolean;
222
- };
223
- id: {
224
- type: StringConstructor;
225
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
226
- };
227
- name: {
228
- type: StringConstructor;
229
- required: true;
230
- };
231
- checked: {
232
- type: BooleanConstructor;
233
- required: true;
234
- };
235
- }>> & Readonly<{
236
- onChange?: ((...args: any[]) => any) | undefined;
237
- }>, {
238
- disabled: boolean;
239
- id: string;
240
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
241
- FormElement: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
242
- label: {
243
- type: StringConstructor;
244
- required: true;
245
- default: string;
246
- };
247
- description: {
248
- type: StringConstructor;
249
- required: false;
250
- };
251
- descriptionLabel: {
252
- type: StringConstructor;
253
- required: false;
254
- };
255
- hideLabel: {
256
- type: BooleanConstructor;
257
- required: false;
258
- default: boolean;
259
- };
260
- id: {
261
- type: StringConstructor;
262
- required: true;
263
- };
264
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
265
- label: {
266
- type: StringConstructor;
267
- required: true;
268
- default: string;
269
- };
270
- description: {
271
- type: StringConstructor;
272
- required: false;
273
- };
274
- descriptionLabel: {
275
- type: StringConstructor;
276
- required: false;
277
- };
278
- hideLabel: {
279
- type: BooleanConstructor;
280
- required: false;
281
- default: boolean;
282
- };
283
- id: {
284
- type: StringConstructor;
285
- required: true;
286
- };
287
- }>> & Readonly<{}>, {
288
- label: string;
289
- hideLabel: boolean;
290
- }, {}, {
291
- AuxDetails: import("vue").DefineComponent<{}, {
292
- state: {
293
- isOpen: boolean;
294
- };
295
- toggleOpen: () => void;
296
- arrowDirection: import("vue").ComputedRef<"up" | "down">;
297
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
298
- AuxDirectionalArrow: import("vue").DefineComponent<{
299
- direction: string;
300
- }, {
301
- classes: import("vue").ComputedRef<{
302
- [x: string]: boolean;
303
- 'aux-arrow': boolean;
304
- }>;
305
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
306
- direction: string;
307
- }> & Readonly<{}>, {
308
- direction: string;
309
- }, {}, {
310
- CaretRightIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
311
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
312
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
313
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
314
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,6 @@
1
+ export interface AuxCheckboxGroupItem {
2
+ label: string;
3
+ value: string;
4
+ checked: boolean;
5
+ disabled?: boolean;
6
+ }