@speckle/ui-components 2.15.1 → 2.15.2-alpha1

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 (35) hide show
  1. package/dist/components/InfiniteLoading.vue.d.ts +14 -16
  2. package/dist/components/SourceAppBadge.vue.d.ts +5 -6
  3. package/dist/components/common/Alert.vue.d.ts +23 -20
  4. package/dist/components/common/Badge.vue.d.ts +28 -34
  5. package/dist/components/common/loading/Bar.vue.d.ts +5 -6
  6. package/dist/components/common/steps/Bullet.vue.d.ts +23 -36
  7. package/dist/components/common/steps/Number.vue.d.ts +21 -32
  8. package/dist/components/common/text/Link.vue.d.ts +21 -11
  9. package/dist/components/form/Button.vue.d.ts +13 -4
  10. package/dist/components/form/CardButton.vue.d.ts +20 -15
  11. package/dist/components/form/Checkbox.vue.d.ts +10 -8
  12. package/dist/components/form/TextArea.vue.d.ts +96 -107
  13. package/dist/components/form/TextInput.vue.d.ts +41 -15
  14. package/dist/components/form/select/Base.vue.d.ts +48 -15
  15. package/dist/components/form/select/SourceApps.vue.d.ts +9 -7
  16. package/dist/components/global/ToastRenderer.vue.d.ts +9 -8
  17. package/dist/components/layout/Dialog.vue.d.ts +24 -21
  18. package/dist/components/layout/Disclosure.vue.d.ts +20 -18
  19. package/dist/components/layout/GridListToggle.vue.d.ts +11 -11
  20. package/dist/components/layout/Menu.vue.d.ts +32 -13
  21. package/dist/components/layout/Panel.vue.d.ts +15 -4
  22. package/dist/components/layout/Tabs.vue.d.ts +14 -6
  23. package/dist/composables/common/async.d.ts +28 -0
  24. package/dist/helpers/common/components.d.ts +2 -0
  25. package/dist/helpers/layout/components.d.ts +1 -0
  26. package/dist/helpers/testing.d.ts +1 -0
  27. package/dist/lib-utils.d.ts +9 -0
  28. package/dist/lib.cjs +1 -1
  29. package/dist/lib.d.ts +3 -2
  30. package/dist/lib.js +1024 -992
  31. package/dist/main.d.ts +0 -0
  32. package/dist/stories/composables/toast.d.ts +23 -0
  33. package/dist/stories/helpers/storybook.d.ts +10 -0
  34. package/package.json +16 -16
  35. package/vite.config.ts +7 -2
@@ -10,7 +10,7 @@ import { Optional } from '@speckle/shared';
10
10
  * checked state
11
11
  */
12
12
  type ValueType = Optional<string | true> | string[];
13
- declare const _sfc_main: import("vue").DefineComponent<{
13
+ declare const _default: import("vue").DefineComponent<{
14
14
  /**
15
15
  * Input name/id. In a checkbox group, all checkboxes must have the same name and different values.
16
16
  */
@@ -93,7 +93,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
93
93
  type: BooleanConstructor;
94
94
  default: boolean;
95
95
  };
96
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
96
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
97
+ "update:modelValue": (val: ValueType) => void;
98
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
97
99
  /**
98
100
  * Input name/id. In a checkbox group, all checkboxes must have the same name and different values.
99
101
  */
@@ -177,18 +179,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
177
179
  default: boolean;
178
180
  };
179
181
  }>> & {
180
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
182
+ "onUpdate:modelValue"?: ((val: ValueType) => any) | undefined;
181
183
  }, {
182
184
  disabled: boolean;
183
- modelValue: false | ValueType;
185
+ id: Optional<string>;
184
186
  label: Optional<string>;
187
+ value: Optional<string | true>;
185
188
  description: Optional<string>;
189
+ modelValue: false | ValueType;
186
190
  inlineDescription: boolean;
187
191
  rules: RuleExpression<ValueType>;
188
192
  validateOnMount: boolean;
189
193
  showRequired: boolean;
190
- value: Optional<string | true>;
191
- id: Optional<string>;
192
194
  hideLabel: boolean;
193
- }>;
194
- export default _sfc_main;
195
+ }, {}>;
196
+ export default _default;
@@ -1,152 +1,141 @@
1
- import type { PropType as __PropType } from 'vue';
2
- import { RuleExpression } from 'vee-validate';
3
1
  import { InputColor } from '../../composables/form/textInput';
4
- declare const _sfc_main: import("vue").DefineComponent<{
5
- name: {
6
- type: __PropType<string>;
7
- required: true;
2
+ declare const _default: import("vue").DefineComponent<{
3
+ fullWidth: {
4
+ type: import("vue").PropType<boolean>;
8
5
  };
9
- showLabel: {
10
- type: __PropType<boolean | undefined>;
11
- required: false;
6
+ color: {
7
+ type: import("vue").PropType<InputColor>;
8
+ default: string;
12
9
  };
13
- help: {
14
- type: __PropType<string | undefined>;
15
- required: false;
10
+ disabled: {
11
+ type: import("vue").PropType<boolean>;
16
12
  };
17
13
  placeholder: {
18
- type: __PropType<string | undefined>;
19
- required: false;
14
+ type: import("vue").PropType<string>;
20
15
  };
21
16
  label: {
22
- type: __PropType<string | undefined>;
23
- required: false;
17
+ type: import("vue").PropType<string>;
24
18
  };
25
- disabled: {
26
- type: __PropType<boolean | undefined>;
27
- required: false;
19
+ name: {
20
+ type: import("vue").PropType<string>;
21
+ required: true;
22
+ };
23
+ modelValue: {
24
+ type: import("vue").PropType<string>;
25
+ default: string;
28
26
  };
29
27
  rules: {
30
- type: __PropType<RuleExpression<string>>;
31
- required: false;
28
+ type: import("vue").PropType<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<string> | import("vee-validate").GenericValidateFunction<string>[] | {
29
+ validate(value: string, options: Record<string, any>): Promise<string>;
30
+ }>;
32
31
  };
33
32
  validateOnMount: {
34
- type: __PropType<boolean | undefined>;
35
- required: false;
33
+ type: import("vue").PropType<boolean>;
34
+ };
35
+ showRequired: {
36
+ type: import("vue").PropType<boolean>;
36
37
  };
37
38
  validateOnValueUpdate: {
38
- type: __PropType<boolean | undefined>;
39
- required: false;
39
+ type: import("vue").PropType<boolean>;
40
40
  };
41
- useLabelInErrors: {
42
- type: __PropType<boolean | undefined>;
43
- required: false;
44
- default: boolean;
41
+ help: {
42
+ type: import("vue").PropType<string>;
45
43
  };
46
- autoFocus: {
47
- type: __PropType<boolean | undefined>;
48
- required: false;
44
+ showLabel: {
45
+ type: import("vue").PropType<boolean>;
49
46
  };
50
- modelValue: {
51
- type: __PropType<string | undefined>;
52
- required: false;
53
- default: string;
47
+ autoFocus: {
48
+ type: import("vue").PropType<boolean>;
54
49
  };
55
50
  showClear: {
56
- type: __PropType<boolean | undefined>;
57
- required: false;
51
+ type: import("vue").PropType<boolean>;
58
52
  };
59
- fullWidth: {
60
- type: __PropType<boolean | undefined>;
61
- required: false;
62
- };
63
- showRequired: {
64
- type: __PropType<boolean | undefined>;
65
- required: false;
66
- };
67
- color: {
68
- type: __PropType<InputColor | undefined>;
69
- required: false;
70
- default: string;
53
+ useLabelInErrors: {
54
+ type: import("vue").PropType<boolean>;
55
+ default: boolean;
71
56
  };
72
57
  }, {
73
58
  focus: () => void;
74
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "input" | "clear")[], "update:modelValue" | "change" | "input" | "clear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
75
- name: {
76
- type: __PropType<string>;
77
- required: true;
59
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
60
+ "update:modelValue": (val: string) => void;
61
+ change: (val: {
62
+ event?: Event | undefined;
63
+ value: string;
64
+ }) => void;
65
+ input: (val: {
66
+ event?: Event | undefined;
67
+ value: string;
68
+ }) => void;
69
+ clear: () => void;
70
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
71
+ fullWidth: {
72
+ type: import("vue").PropType<boolean>;
78
73
  };
79
- showLabel: {
80
- type: __PropType<boolean | undefined>;
81
- required: false;
74
+ color: {
75
+ type: import("vue").PropType<InputColor>;
76
+ default: string;
82
77
  };
83
- help: {
84
- type: __PropType<string | undefined>;
85
- required: false;
78
+ disabled: {
79
+ type: import("vue").PropType<boolean>;
86
80
  };
87
81
  placeholder: {
88
- type: __PropType<string | undefined>;
89
- required: false;
82
+ type: import("vue").PropType<string>;
90
83
  };
91
84
  label: {
92
- type: __PropType<string | undefined>;
93
- required: false;
85
+ type: import("vue").PropType<string>;
94
86
  };
95
- disabled: {
96
- type: __PropType<boolean | undefined>;
97
- required: false;
87
+ name: {
88
+ type: import("vue").PropType<string>;
89
+ required: true;
90
+ };
91
+ modelValue: {
92
+ type: import("vue").PropType<string>;
93
+ default: string;
98
94
  };
99
95
  rules: {
100
- type: __PropType<RuleExpression<string>>;
101
- required: false;
96
+ type: import("vue").PropType<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<string> | import("vee-validate").GenericValidateFunction<string>[] | {
97
+ validate(value: string, options: Record<string, any>): Promise<string>;
98
+ }>;
102
99
  };
103
100
  validateOnMount: {
104
- type: __PropType<boolean | undefined>;
105
- required: false;
101
+ type: import("vue").PropType<boolean>;
102
+ };
103
+ showRequired: {
104
+ type: import("vue").PropType<boolean>;
106
105
  };
107
106
  validateOnValueUpdate: {
108
- type: __PropType<boolean | undefined>;
109
- required: false;
107
+ type: import("vue").PropType<boolean>;
110
108
  };
111
- useLabelInErrors: {
112
- type: __PropType<boolean | undefined>;
113
- required: false;
114
- default: boolean;
109
+ help: {
110
+ type: import("vue").PropType<string>;
115
111
  };
116
- autoFocus: {
117
- type: __PropType<boolean | undefined>;
118
- required: false;
112
+ showLabel: {
113
+ type: import("vue").PropType<boolean>;
119
114
  };
120
- modelValue: {
121
- type: __PropType<string | undefined>;
122
- required: false;
123
- default: string;
115
+ autoFocus: {
116
+ type: import("vue").PropType<boolean>;
124
117
  };
125
118
  showClear: {
126
- type: __PropType<boolean | undefined>;
127
- required: false;
119
+ type: import("vue").PropType<boolean>;
128
120
  };
129
- fullWidth: {
130
- type: __PropType<boolean | undefined>;
131
- required: false;
132
- };
133
- showRequired: {
134
- type: __PropType<boolean | undefined>;
135
- required: false;
136
- };
137
- color: {
138
- type: __PropType<InputColor | undefined>;
139
- required: false;
140
- default: string;
121
+ useLabelInErrors: {
122
+ type: import("vue").PropType<boolean>;
123
+ default: boolean;
141
124
  };
142
125
  }>> & {
143
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
144
- onChange?: ((...args: any[]) => any) | undefined;
145
- onInput?: ((...args: any[]) => any) | undefined;
146
- onClear?: ((...args: any[]) => any) | undefined;
126
+ onChange?: ((val: {
127
+ event?: Event | undefined;
128
+ value: string;
129
+ }) => any) | undefined;
130
+ onInput?: ((val: {
131
+ event?: Event | undefined;
132
+ value: string;
133
+ }) => any) | undefined;
134
+ "onUpdate:modelValue"?: ((val: string) => any) | undefined;
135
+ onClear?: (() => any) | undefined;
147
136
  }, {
148
- color: InputColor | undefined;
149
- modelValue: string | undefined;
150
- useLabelInErrors: boolean | undefined;
151
- }>;
152
- export default _sfc_main;
137
+ color: InputColor;
138
+ modelValue: string;
139
+ useLabelInErrors: boolean;
140
+ }, {}>;
141
+ export default _default;
@@ -3,7 +3,7 @@ import { ConcreteComponent, PropType } from 'vue';
3
3
  import { Optional } from '@speckle/shared';
4
4
  type InputSize = 'sm' | 'base' | 'lg' | 'xl';
5
5
  type InputColor = 'page' | 'foundation';
6
- declare const _sfc_main: import("vue").DefineComponent<{
6
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
7
7
  /**
8
8
  * Input "type" value (changes behaviour & look)
9
9
  */
@@ -136,7 +136,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
136
136
  };
137
137
  }, {
138
138
  focus: () => void;
139
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "input" | "clear" | "focusin" | "focusout")[], "update:modelValue" | "change" | "input" | "clear" | "focusin" | "focusout", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
139
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
140
+ "update:modelValue": (val: string) => void;
141
+ change: (val: {
142
+ event?: Event | undefined;
143
+ value: string;
144
+ }) => void;
145
+ input: (val: {
146
+ event?: Event | undefined;
147
+ value: string;
148
+ }) => void;
149
+ clear: () => void;
150
+ focusin: () => void;
151
+ focusout: () => void;
152
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
140
153
  /**
141
154
  * Input "type" value (changes behaviour & look)
142
155
  */
@@ -268,33 +281,46 @@ declare const _sfc_main: import("vue").DefineComponent<{
268
281
  default: string;
269
282
  };
270
283
  }>> & {
271
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
272
- onChange?: ((...args: any[]) => any) | undefined;
273
- onInput?: ((...args: any[]) => any) | undefined;
274
- onClear?: ((...args: any[]) => any) | undefined;
275
- onFocusin?: ((...args: any[]) => any) | undefined;
276
- onFocusout?: ((...args: any[]) => any) | undefined;
284
+ onFocusin?: (() => any) | undefined;
285
+ onFocusout?: (() => any) | undefined;
286
+ onChange?: ((val: {
287
+ event?: Event | undefined;
288
+ value: string;
289
+ }) => any) | undefined;
290
+ onInput?: ((val: {
291
+ event?: Event | undefined;
292
+ value: string;
293
+ }) => any) | undefined;
294
+ "onUpdate:modelValue"?: ((val: string) => any) | undefined;
295
+ onClear?: (() => any) | undefined;
277
296
  }, {
278
- type: string;
279
297
  size: InputSize;
280
298
  fullWidth: boolean;
281
299
  color: InputColor;
282
300
  disabled: boolean;
283
- modelValue: string;
301
+ type: string;
302
+ placeholder: Optional<string>;
284
303
  label: Optional<string>;
304
+ modelValue: string;
285
305
  rules: RuleExpression<string>;
286
306
  validateOnMount: boolean;
287
307
  showRequired: boolean;
288
- showLabel: boolean;
289
- help: Optional<string>;
290
- placeholder: Optional<string>;
291
308
  validateOnValueUpdate: boolean;
292
- useLabelInErrors: boolean;
309
+ help: Optional<string>;
310
+ showLabel: boolean;
293
311
  autoFocus: boolean;
294
312
  showClear: boolean;
313
+ useLabelInErrors: boolean;
295
314
  hideErrorMessage: boolean;
296
315
  customIcon: Optional<ConcreteComponent>;
297
316
  inputClasses: string;
298
317
  wrapperClasses: string;
318
+ }, {}>, {
319
+ "input-right"?(_: {}): any;
299
320
  }>;
300
- export default _sfc_main;
321
+ export default _default;
322
+ type __VLS_WithTemplateSlots<T, S> = T & {
323
+ new (): {
324
+ $slots: S;
325
+ };
326
+ };
@@ -2,8 +2,7 @@ import { PropType } from 'vue';
2
2
  import { MaybeAsync, Optional } from '@speckle/shared';
3
3
  import { RuleExpression } from 'vee-validate';
4
4
  type ButtonStyle = 'base' | 'simple' | 'tinted';
5
- type SingleItem = any;
6
- declare const _sfc_main: import("vue").DefineComponent<{
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
7
6
  multiple: {
8
7
  type: BooleanConstructor;
9
8
  default: boolean;
@@ -31,7 +30,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
31
30
  * the user enters in the search bar
32
31
  */
33
32
  filterPredicate: {
34
- type: PropType<Optional<(item: SingleItem, searchString: string) => boolean>>;
33
+ type: PropType<Optional<(item: any, searchString: string) => boolean>>;
34
+ default: undefined;
35
+ };
36
+ /**
37
+ * Set this to disable certain items in the list
38
+ */
39
+ disabledItemPredicate: {
40
+ type: PropType<Optional<(item: any) => boolean>>;
35
41
  default: undefined;
36
42
  };
37
43
  /**
@@ -39,7 +45,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
39
45
  * on the search query
40
46
  */
41
47
  getSearchResults: {
42
- type: PropType<Optional<(searchString: string) => MaybeAsync<SingleItem[]>>>;
48
+ type: PropType<Optional<(searchString: string) => MaybeAsync<any[]>>>;
43
49
  default: undefined;
44
50
  };
45
51
  searchPlaceholder: {
@@ -132,7 +138,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
132
138
  };
133
139
  }, {
134
140
  triggerSearch: () => Promise<void>;
135
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
141
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
142
+ "update:modelValue": (v: any) => void;
143
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
136
144
  multiple: {
137
145
  type: BooleanConstructor;
138
146
  default: boolean;
@@ -160,7 +168,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
160
168
  * the user enters in the search bar
161
169
  */
162
170
  filterPredicate: {
163
- type: PropType<Optional<(item: SingleItem, searchString: string) => boolean>>;
171
+ type: PropType<Optional<(item: any, searchString: string) => boolean>>;
172
+ default: undefined;
173
+ };
174
+ /**
175
+ * Set this to disable certain items in the list
176
+ */
177
+ disabledItemPredicate: {
178
+ type: PropType<Optional<(item: any) => boolean>>;
164
179
  default: undefined;
165
180
  };
166
181
  /**
@@ -168,7 +183,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
168
183
  * on the search query
169
184
  */
170
185
  getSearchResults: {
171
- type: PropType<Optional<(searchString: string) => MaybeAsync<SingleItem[]>>>;
186
+ type: PropType<Optional<(searchString: string) => MaybeAsync<any[]>>>;
172
187
  default: undefined;
173
188
  };
174
189
  searchPlaceholder: {
@@ -260,26 +275,44 @@ declare const _sfc_main: import("vue").DefineComponent<{
260
275
  default: boolean;
261
276
  };
262
277
  }>> & {
263
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
278
+ "onUpdate:modelValue"?: ((v: any) => any) | undefined;
264
279
  }, {
265
280
  disabled: Optional<boolean>;
281
+ search: boolean;
266
282
  modelValue: any;
267
283
  rules: RuleExpression<any>;
268
284
  validateOnMount: boolean;
269
- showLabel: boolean;
270
- help: Optional<string>;
271
285
  validateOnValueUpdate: boolean;
272
- useLabelInErrors: boolean;
273
- search: boolean;
274
286
  multiple: boolean;
287
+ help: Optional<string>;
288
+ showLabel: boolean;
289
+ useLabelInErrors: boolean;
275
290
  items: any[];
276
- filterPredicate: Optional<(item: SingleItem, searchString: string) => boolean>;
277
- getSearchResults: Optional<(searchString: string) => MaybeAsync<SingleItem[]>>;
291
+ filterPredicate: Optional<(item: any, searchString: string) => boolean>;
292
+ disabledItemPredicate: Optional<(item: any) => boolean>;
293
+ getSearchResults: Optional<(searchString: string) => MaybeAsync<any[]>>;
278
294
  searchPlaceholder: string;
279
295
  buttonStyle: Optional<ButtonStyle>;
280
296
  hideCheckmarks: Optional<boolean>;
281
297
  allowUnset: Optional<boolean>;
282
298
  clearable: boolean;
283
299
  fixedHeight: boolean;
300
+ }, {}>, {
301
+ "nothing-selected"?(_: {}): any;
302
+ "something-selected"?(_: {
303
+ value: any;
304
+ }): any;
305
+ "nothing-found"?(_: {}): any;
306
+ option?(_: {
307
+ item: any;
308
+ active: boolean;
309
+ selected: boolean;
310
+ disabled: boolean;
311
+ }): any;
284
312
  }>;
285
- export default _sfc_main;
313
+ export default _default;
314
+ type __VLS_WithTemplateSlots<T, S> = T & {
315
+ new (): {
316
+ $slots: S;
317
+ };
318
+ };
@@ -1,7 +1,7 @@
1
1
  import { Optional, SourceAppDefinition } from '@speckle/shared';
2
2
  import { PropType } from 'vue';
3
3
  type ValueType = SourceAppDefinition | SourceAppDefinition[] | undefined;
4
- declare const _sfc_main: import("vue").DefineComponent<{
4
+ declare const _default: import("vue").DefineComponent<{
5
5
  /**
6
6
  * Whether to allow selecting multiple source apps
7
7
  */
@@ -56,7 +56,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
56
56
  type: PropType<Optional<SourceAppDefinition[]>>;
57
57
  default: undefined;
58
58
  };
59
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
60
+ "update:modelValue": (v: ValueType) => void;
61
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
60
62
  /**
61
63
  * Whether to allow selecting multiple source apps
62
64
  */
@@ -112,15 +114,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
112
114
  default: undefined;
113
115
  };
114
116
  }>> & {
115
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
117
+ "onUpdate:modelValue"?: ((v: ValueType) => any) | undefined;
116
118
  }, {
117
- modelValue: ValueType;
118
119
  name: Optional<string>;
119
- showLabel: boolean;
120
120
  search: boolean;
121
+ modelValue: ValueType;
121
122
  multiple: boolean;
123
+ showLabel: boolean;
122
124
  items: Optional<SourceAppDefinition[]>;
123
125
  searchPlaceholder: string;
124
126
  selectorPlaceholder: Optional<string>;
125
- }>;
126
- export default _sfc_main;
127
+ }, {}>;
128
+ export default _default;
@@ -1,17 +1,18 @@
1
- import type { PropType as __PropType } from 'vue';
2
1
  import { Nullable } from '@speckle/shared';
3
2
  import { ToastNotification } from '../../helpers/global/toast';
4
- declare const _sfc_main: import("vue").DefineComponent<{
3
+ declare const _default: import("vue").DefineComponent<{
5
4
  notification: {
6
- type: __PropType<Nullable<ToastNotification>>;
5
+ type: import("vue").PropType<Nullable<ToastNotification>>;
7
6
  required: true;
8
7
  };
9
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:notification"[], "update:notification", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:notification": (val: Nullable<ToastNotification>) => void;
10
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
11
  notification: {
11
- type: __PropType<Nullable<ToastNotification>>;
12
+ type: import("vue").PropType<Nullable<ToastNotification>>;
12
13
  required: true;
13
14
  };
14
15
  }>> & {
15
- "onUpdate:notification"?: ((...args: any[]) => any) | undefined;
16
- }, {}>;
17
- export default _sfc_main;
16
+ "onUpdate:notification"?: ((val: Nullable<ToastNotification>) => any) | undefined;
17
+ }, {}, {}>;
18
+ export default _default;
@@ -1,41 +1,44 @@
1
- import type { PropType as __PropType } from 'vue';
2
1
  type MaxWidthValue = 'sm' | 'md' | 'lg' | 'xl';
3
- declare const _sfc_main: import("vue").DefineComponent<{
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
3
  open: {
5
- type: __PropType<boolean>;
4
+ type: import("vue").PropType<boolean>;
6
5
  required: true;
7
6
  };
8
7
  maxWidth: {
9
- type: __PropType<MaxWidthValue | undefined>;
10
- required: false;
8
+ type: import("vue").PropType<MaxWidthValue>;
11
9
  };
12
10
  hideCloser: {
13
- type: __PropType<boolean | undefined>;
14
- required: false;
11
+ type: import("vue").PropType<boolean>;
15
12
  };
16
13
  preventCloseOnClickOutside: {
17
- type: __PropType<boolean | undefined>;
18
- required: false;
14
+ type: import("vue").PropType<boolean>;
19
15
  };
20
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:open" | "fully-closed")[], "update:open" | "fully-closed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ "update:open": (v: boolean) => void;
18
+ "fully-closed": () => void;
19
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
20
  open: {
22
- type: __PropType<boolean>;
21
+ type: import("vue").PropType<boolean>;
23
22
  required: true;
24
23
  };
25
24
  maxWidth: {
26
- type: __PropType<MaxWidthValue | undefined>;
27
- required: false;
25
+ type: import("vue").PropType<MaxWidthValue>;
28
26
  };
29
27
  hideCloser: {
30
- type: __PropType<boolean | undefined>;
31
- required: false;
28
+ type: import("vue").PropType<boolean>;
32
29
  };
33
30
  preventCloseOnClickOutside: {
34
- type: __PropType<boolean | undefined>;
35
- required: false;
31
+ type: import("vue").PropType<boolean>;
36
32
  };
37
33
  }>> & {
38
- "onUpdate:open"?: ((...args: any[]) => any) | undefined;
39
- "onFully-closed"?: ((...args: any[]) => any) | undefined;
40
- }, {}>;
41
- export default _sfc_main;
34
+ "onUpdate:open"?: ((v: boolean) => any) | undefined;
35
+ "onFully-closed"?: (() => any) | undefined;
36
+ }, {}, {}>, {
37
+ default?(_: {}): any;
38
+ }>;
39
+ export default _default;
40
+ type __VLS_WithTemplateSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };