@speckle/ui-components 2.23.7 → 2.23.9

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 (91) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/AvatarEditor-2d926b04.cjs +2 -0
  3. package/dist/AvatarEditor-2d926b04.cjs.map +1 -0
  4. package/dist/{AvatarEditor-25fde016.js → AvatarEditor-844e9444.js} +63 -63
  5. package/dist/AvatarEditor-844e9444.js.map +1 -0
  6. package/dist/components/InfiniteLoading.vue.d.ts +15 -36
  7. package/dist/components/SourceAppBadge.vue.d.ts +4 -14
  8. package/dist/components/common/Alert.vue.d.ts +25 -46
  9. package/dist/components/common/Badge.vue.d.ts +24 -50
  10. package/dist/components/common/ProgressBar.vue.d.ts +3 -14
  11. package/dist/components/common/VimeoEmbed.vue.d.ts +6 -20
  12. package/dist/components/common/animation/ClickIcon.vue.d.ts +1 -1
  13. package/dist/components/common/animation/Instructional.vue.d.ts +14 -6
  14. package/dist/components/common/animation/MouseIcon.vue.d.ts +1 -1
  15. package/dist/components/common/loading/Bar.vue.d.ts +4 -15
  16. package/dist/components/common/loading/Icon.vue.d.ts +6 -31
  17. package/dist/components/common/steps/Bullet.vue.d.ts +15 -32
  18. package/dist/components/common/steps/Number.vue.d.ts +14 -30
  19. package/dist/components/common/text/Link.vue.d.ts +23 -15
  20. package/dist/components/form/Button.vue.d.ts +34 -101
  21. package/dist/components/form/CardButton.vue.d.ts +19 -22
  22. package/dist/components/form/Checkbox.vue.d.ts +15 -15
  23. package/dist/components/form/ClipboardInput.vue.d.ts +5 -26
  24. package/dist/components/form/CodeInput.vue.d.ts +504 -0
  25. package/dist/components/form/Radio.vue.d.ts +15 -15
  26. package/dist/components/form/RadioGroup.vue.d.ts +25 -26
  27. package/dist/components/form/Switch.vue.d.ts +16 -40
  28. package/dist/components/form/Tags.vue.d.ts +95 -80
  29. package/dist/components/form/TextArea.vue.d.ts +45 -96
  30. package/dist/components/form/TextInput.vue.d.ts +53 -40
  31. package/dist/components/form/file-upload/Zone.vue.d.ts +36 -60
  32. package/dist/components/form/select/Badges.vue.d.ts +11 -30
  33. package/dist/components/form/select/Base.vue.d.ts +86 -173
  34. package/dist/components/form/select/Multi.vue.d.ts +84 -168
  35. package/dist/components/form/select/SourceApps.vue.d.ts +13 -10
  36. package/dist/components/form/tags/ContextManager.vue.d.ts +12 -4
  37. package/dist/components/global/ToastRenderer.vue.d.ts +8 -18
  38. package/dist/components/global/icon/ArrowFilled.vue.d.ts +1 -1
  39. package/dist/components/global/icon/Edit.vue.d.ts +1 -1
  40. package/dist/components/global/icon/Plus.vue.d.ts +1 -1
  41. package/dist/components/layout/Dialog.vue.d.ts +36 -65
  42. package/dist/components/layout/DialogSection.vue.d.ts +29 -16
  43. package/dist/components/layout/Disclosure.vue.d.ts +17 -36
  44. package/dist/components/layout/GridListToggle.vue.d.ts +8 -18
  45. package/dist/components/layout/Menu.vue.d.ts +253 -39
  46. package/dist/components/layout/Panel.vue.d.ts +19 -11
  47. package/dist/components/layout/Table.vue.d.ts +16 -54
  48. package/dist/components/layout/sidebar/Promo.vue.d.ts +9 -22
  49. package/dist/components/layout/sidebar/Sidebar.vue.d.ts +12 -4
  50. package/dist/components/layout/sidebar/menu/Menu.vue.d.ts +11 -3
  51. package/dist/components/layout/sidebar/menu/group/Group.vue.d.ts +30 -50
  52. package/dist/components/layout/sidebar/menu/group/Item.vue.d.ts +20 -29
  53. package/dist/components/layout/tabs/Horizontal.vue.d.ts +28 -22
  54. package/dist/components/layout/tabs/Vertical.vue.d.ts +23 -23
  55. package/dist/components/user/Avatar.vue.d.ts +25 -55
  56. package/dist/components/user/AvatarEditable.vue.d.ts +35 -91
  57. package/dist/components/user/AvatarEditor.vue.d.ts +239 -23
  58. package/dist/components/user/AvatarGroup.vue.d.ts +13 -47
  59. package/dist/composables/common/async.d.ts +3 -3
  60. package/dist/composables/common/steps.d.ts +6 -6
  61. package/dist/composables/common/window.d.ts +3 -3
  62. package/dist/composables/form/fileUpload.d.ts +6 -6
  63. package/dist/composables/form/input.d.ts +3 -3
  64. package/dist/composables/form/select.d.ts +4 -4
  65. package/dist/composables/form/textInput.d.ts +18 -18
  66. package/dist/composables/layout/resize.d.ts +3 -3
  67. package/dist/composables/testing.d.ts +2 -2
  68. package/dist/composables/user/avatar.d.ts +5 -5
  69. package/dist/directives/accessibility.d.ts +1 -1
  70. package/dist/helpers/common/components.d.ts +1 -1
  71. package/dist/helpers/common/validation.d.ts +2 -2
  72. package/dist/helpers/form/file.d.ts +2 -2
  73. package/dist/helpers/form/input.d.ts +1 -1
  74. package/dist/helpers/global/toast.d.ts +2 -1
  75. package/dist/helpers/layout/components.d.ts +3 -3
  76. package/dist/lib.cjs +1 -1
  77. package/dist/lib.cjs.map +1 -1
  78. package/dist/lib.d.ts +57 -62
  79. package/dist/lib.js +2924 -2838
  80. package/dist/lib.js.map +1 -1
  81. package/dist/stories/components/GlobalToast.vue.d.ts +2 -0
  82. package/dist/stories/components/SingletonManagers.vue.d.ts +2 -0
  83. package/dist/stories/composables/toast.d.ts +2 -2
  84. package/dist/stories/helpers/storybook.d.ts +2 -2
  85. package/dist/style.css +1 -1
  86. package/eslint.config.mjs +4 -3
  87. package/package.json +7 -8
  88. package/vite.config.ts +5 -10
  89. package/dist/AvatarEditor-25fde016.js.map +0 -1
  90. package/dist/AvatarEditor-a33fb9ec.cjs +0 -2
  91. package/dist/AvatarEditor-a33fb9ec.cjs.map +0 -1
@@ -1,27 +1,243 @@
1
- import type { Nullable } from '@speckle/shared';
2
- import type { AvatarUser, UserAvatarSize } from '../../composables/user/avatar';
3
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ import { Nullable } from '../../../../shared/dist/esm/index';
2
+ import { UploadableFileItem } from '../../composables/form/fileUpload';
3
+ import { AvatarUser, UserAvatarSize } from '../../composables/user/avatar';
4
+ type __VLS_Props = {
4
5
  user: AvatarUser;
5
- disabled?: boolean | undefined;
6
- size?: UserAvatarSize | undefined;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- cancel: () => void;
9
- save: (val: Nullable<string>) => void;
10
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
- user: AvatarUser;
12
- disabled?: boolean | undefined;
13
- size?: UserAvatarSize | undefined;
14
- }>>> & {
6
+ disabled?: boolean;
7
+ size?: UserAvatarSize;
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
+ cancel: () => any;
11
+ save: (val: Nullable<string>) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
13
  onCancel?: (() => any) | undefined;
16
14
  onSave?: ((val: Nullable<string>) => any) | undefined;
17
- }, {}, {}>;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
16
+ cropper: ({
17
+ $: import('vue').ComponentInternalInstance;
18
+ $data: {};
19
+ $props: Partial<{} | {
20
+ [x: string]: any;
21
+ }> & Omit<{
22
+ readonly [x: string]: any;
23
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
24
+ $attrs: {
25
+ [x: string]: unknown;
26
+ };
27
+ $refs: {
28
+ [x: string]: unknown;
29
+ };
30
+ $slots: Readonly<{
31
+ [name: string]: import('vue').Slot<any> | undefined;
32
+ }>;
33
+ $root: import('vue').ComponentPublicInstance | null;
34
+ $parent: import('vue').ComponentPublicInstance | null;
35
+ $host: Element | null;
36
+ $emit: (event: string, ...args: any[]) => void;
37
+ $el: any;
38
+ $options: import('vue').ComponentOptionsBase<Readonly<any>, {
39
+ getResult: () => import('vue-advanced-cropper').CropperResult;
40
+ setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
41
+ refresh: () => void;
42
+ zoom: (factor: number, center?: import('vue-advanced-cropper').Point) => void;
43
+ move: (left: number, top?: number) => void;
44
+ rotate: (angle: number) => void;
45
+ flip: (horizontal: boolean, vertical?: boolean) => void;
46
+ reset: () => void;
47
+ }, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {} | {
48
+ [x: string]: any;
49
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
50
+ beforeCreate?: (() => void) | (() => void)[];
51
+ created?: (() => void) | (() => void)[];
52
+ beforeMount?: (() => void) | (() => void)[];
53
+ mounted?: (() => void) | (() => void)[];
54
+ beforeUpdate?: (() => void) | (() => void)[];
55
+ updated?: (() => void) | (() => void)[];
56
+ activated?: (() => void) | (() => void)[];
57
+ deactivated?: (() => void) | (() => void)[];
58
+ beforeDestroy?: (() => void) | (() => void)[];
59
+ beforeUnmount?: (() => void) | (() => void)[];
60
+ destroyed?: (() => void) | (() => void)[];
61
+ unmounted?: (() => void) | (() => void)[];
62
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
63
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
64
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
65
+ };
66
+ $forceUpdate: () => void;
67
+ $nextTick: typeof import('vue').nextTick;
68
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
69
+ } & Readonly<{}> & Omit<Readonly<any>, "reset" | "flip" | "rotate" | "getResult" | "setCoordinates" | "refresh" | "zoom" | "move"> & import('vue').ShallowUnwrapRef<{
70
+ getResult: () => import('vue-advanced-cropper').CropperResult;
71
+ setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
72
+ refresh: () => void;
73
+ zoom: (factor: number, center?: import('vue-advanced-cropper').Point) => void;
74
+ move: (left: number, top?: number) => void;
75
+ rotate: (angle: number) => void;
76
+ flip: (horizontal: boolean, vertical?: boolean) => void;
77
+ reset: () => void;
78
+ }> & {
79
+ [x: string]: never;
80
+ } & import('vue').MethodOptions & import('vue').ComponentCustomProperties & {}) | ({
81
+ $: import('vue').ComponentInternalInstance;
82
+ $data: {};
83
+ $props: Partial<{} | {
84
+ [x: string]: any;
85
+ }> & Omit<{
86
+ readonly [x: string]: any;
87
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
88
+ $attrs: {
89
+ [x: string]: unknown;
90
+ };
91
+ $refs: {
92
+ [x: string]: unknown;
93
+ };
94
+ $slots: Readonly<{
95
+ [name: string]: import('vue').Slot<any> | undefined;
96
+ }>;
97
+ $root: import('vue').ComponentPublicInstance | null;
98
+ $parent: import('vue').ComponentPublicInstance | null;
99
+ $host: Element | null;
100
+ $emit: (event: string, ...args: any[]) => void;
101
+ $el: any;
102
+ $options: import('vue').ComponentOptionsBase<Readonly<any>, {
103
+ getResult: () => import('vue-advanced-cropper').CropperResult;
104
+ setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
105
+ refresh: () => void;
106
+ zoom: (factor: number, center?: import('vue-advanced-cropper').Point) => void;
107
+ move: (left: number, top?: number) => void;
108
+ rotate: (angle: number) => void;
109
+ flip: (horizontal: boolean, vertical?: boolean) => void;
110
+ reset: () => void;
111
+ }, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {} | {
112
+ [x: string]: any;
113
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
114
+ beforeCreate?: (() => void) | (() => void)[];
115
+ created?: (() => void) | (() => void)[];
116
+ beforeMount?: (() => void) | (() => void)[];
117
+ mounted?: (() => void) | (() => void)[];
118
+ beforeUpdate?: (() => void) | (() => void)[];
119
+ updated?: (() => void) | (() => void)[];
120
+ activated?: (() => void) | (() => void)[];
121
+ deactivated?: (() => void) | (() => void)[];
122
+ beforeDestroy?: (() => void) | (() => void)[];
123
+ beforeUnmount?: (() => void) | (() => void)[];
124
+ destroyed?: (() => void) | (() => void)[];
125
+ unmounted?: (() => void) | (() => void)[];
126
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
127
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
128
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
129
+ };
130
+ $forceUpdate: () => void;
131
+ $nextTick: typeof import('vue').nextTick;
132
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
133
+ } & Readonly<{
134
+ [x: string]: any;
135
+ }> & Omit<Readonly<any>, "reset" | "flip" | "rotate" | "getResult" | "setCoordinates" | "refresh" | "zoom" | "move"> & import('vue').ShallowUnwrapRef<{
136
+ getResult: () => import('vue-advanced-cropper').CropperResult;
137
+ setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
138
+ refresh: () => void;
139
+ zoom: (factor: number, center?: import('vue-advanced-cropper').Point) => void;
140
+ move: (left: number, top?: number) => void;
141
+ rotate: (angle: number) => void;
142
+ flip: (horizontal: boolean, vertical?: boolean) => void;
143
+ reset: () => void;
144
+ }> & {
145
+ [x: string]: never;
146
+ } & import('vue').MethodOptions & import('vue').ComponentCustomProperties & {}) | null;
147
+ uploadZone: ({
148
+ $: import('vue').ComponentInternalInstance;
149
+ $data: {};
150
+ $props: {
151
+ readonly accept?: string | undefined;
152
+ readonly multiple?: boolean | undefined;
153
+ readonly sizeLimit?: number | undefined;
154
+ readonly countLimit?: number | undefined;
155
+ readonly disabled?: boolean | undefined;
156
+ readonly "onFiles-selected"?: ((v: {
157
+ files: UploadableFileItem[];
158
+ }) => any) | undefined;
159
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
160
+ $attrs: {
161
+ [x: string]: unknown;
162
+ };
163
+ $refs: {
164
+ [x: string]: unknown;
165
+ } & {
166
+ fileUploadZone: HTMLDivElement;
167
+ fileInput: HTMLInputElement;
168
+ };
169
+ $slots: Readonly<{
170
+ [name: string]: import('vue').Slot<any> | undefined;
171
+ }>;
172
+ $root: import('vue').ComponentPublicInstance | null;
173
+ $parent: import('vue').ComponentPublicInstance | null;
174
+ $host: Element | null;
175
+ $emit: (event: "files-selected", v: {
176
+ files: UploadableFileItem[];
177
+ }) => void;
178
+ $el: HTMLDivElement;
179
+ $options: import('vue').ComponentOptionsBase<Readonly<{
180
+ accept?: string;
181
+ multiple?: boolean;
182
+ sizeLimit?: number;
183
+ countLimit?: number;
184
+ disabled?: boolean;
185
+ }> & Readonly<{
186
+ "onFiles-selected"?: ((v: {
187
+ files: UploadableFileItem[];
188
+ }) => any) | undefined;
189
+ }>, {
190
+ triggerPicker: () => void;
191
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
192
+ "files-selected": (v: {
193
+ files: UploadableFileItem[];
194
+ }) => any;
195
+ }, string, {
196
+ sizeLimit: number;
197
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
198
+ beforeCreate?: (() => void) | (() => void)[];
199
+ created?: (() => void) | (() => void)[];
200
+ beforeMount?: (() => void) | (() => void)[];
201
+ mounted?: (() => void) | (() => void)[];
202
+ beforeUpdate?: (() => void) | (() => void)[];
203
+ updated?: (() => void) | (() => void)[];
204
+ activated?: (() => void) | (() => void)[];
205
+ deactivated?: (() => void) | (() => void)[];
206
+ beforeDestroy?: (() => void) | (() => void)[];
207
+ beforeUnmount?: (() => void) | (() => void)[];
208
+ destroyed?: (() => void) | (() => void)[];
209
+ unmounted?: (() => void) | (() => void)[];
210
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
211
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
212
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
213
+ };
214
+ $forceUpdate: () => void;
215
+ $nextTick: typeof import('vue').nextTick;
216
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
217
+ } & Readonly<{
218
+ sizeLimit: number;
219
+ }> & Omit<Readonly<{
220
+ accept?: string;
221
+ multiple?: boolean;
222
+ sizeLimit?: number;
223
+ countLimit?: number;
224
+ disabled?: boolean;
225
+ }> & Readonly<{
226
+ "onFiles-selected"?: ((v: {
227
+ files: UploadableFileItem[];
228
+ }) => any) | undefined;
229
+ }>, "sizeLimit" | "triggerPicker"> & import('vue').ShallowUnwrapRef<{
230
+ triggerPicker: () => void;
231
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
232
+ $slots: {
233
+ default?(_: {
234
+ isDraggingFiles: boolean;
235
+ openFilePicker: () => void;
236
+ activatorOn: {
237
+ click: () => void;
238
+ };
239
+ }): any;
240
+ };
241
+ }) | null;
242
+ }, HTMLDivElement>;
18
243
  export default _default;
19
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
- type __VLS_TypePropsToRuntimeProps<T> = {
21
- [K in keyof T]-?: {} extends Pick<T, K> ? {
22
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
- } : {
24
- type: import('vue').PropType<T[K]>;
25
- required: true;
26
- };
27
- };
@@ -1,55 +1,21 @@
1
- import type { UserAvatarSize, AvatarUserWithId } from '../../composables/user/avatar';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ import { UserAvatarSize, AvatarUserWithId } from '../../composables/user/avatar';
2
+ type __VLS_Props = {
3
3
  users: AvatarUserWithId[];
4
- overlap?: boolean | undefined;
5
- size?: UserAvatarSize | undefined;
6
- maxCount?: number | undefined;
7
- hideTooltips?: boolean | undefined;
8
- maxAvatars?: number | undefined;
9
- }>, {
10
- users: () => never[];
11
- overlap: boolean;
12
- size: string;
13
- maxCount: undefined;
14
- hideTooltips: boolean;
15
- maxAvatars: undefined;
16
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
- users: AvatarUserWithId[];
18
- overlap?: boolean | undefined;
19
- size?: UserAvatarSize | undefined;
20
- maxCount?: number | undefined;
21
- hideTooltips?: boolean | undefined;
22
- maxAvatars?: number | undefined;
23
- }>, {
24
- users: () => never[];
25
- overlap: boolean;
26
- size: string;
27
- maxCount: undefined;
28
- hideTooltips: boolean;
29
- maxAvatars: undefined;
30
- }>>>, {
4
+ overlap?: boolean;
5
+ size?: UserAvatarSize;
6
+ maxCount?: number;
7
+ hideTooltips?: boolean;
8
+ maxAvatars?: number;
9
+ };
10
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
31
11
  size: UserAvatarSize;
32
12
  users: AvatarUserWithId[];
33
13
  overlap: boolean;
34
14
  maxCount: number;
35
15
  hideTooltips: boolean;
36
16
  maxAvatars: number;
37
- }, {}>;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
18
+ elementToWatchForChanges: HTMLDivElement;
19
+ itemContainer: HTMLDivElement;
20
+ }, HTMLDivElement>;
38
21
  export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
- type __VLS_WithDefaults<P, D> = {
49
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
- default: D[K];
51
- }> : P[K];
52
- };
53
- type __VLS_Prettify<T> = {
54
- [K in keyof T]: T[K];
55
- } & {};
@@ -1,6 +1,6 @@
1
- import { type MaybeAsync, buildManualPromise } from '@speckle/shared';
2
- import type { AsyncComputedOptions } from '@vueuse/core';
3
- import type { ComputedRef } from 'vue';
1
+ import { MaybeAsync, buildManualPromise } from '../../../../shared/dist/esm/index';
2
+ import { AsyncComputedOptions } from '@vueuse/core';
3
+ import { ComputedRef } from 'vue';
4
4
  export interface AsyncWritableComputedOptions<T> {
5
5
  get: (...args: any[]) => MaybeAsync<T>;
6
6
  set: (value: T) => MaybeAsync<void>;
@@ -1,5 +1,5 @@
1
- import type { ToRefs } from 'vue';
2
- import type { HorizontalOrVertical, StepCoreType } from '../../helpers/common/components';
1
+ import { ToRefs } from 'vue';
2
+ import { HorizontalOrVertical, StepCoreType } from '../../helpers/common/components';
3
3
  import { TailwindBreakpoints } from '../../helpers/tailwind';
4
4
  export type StepsPadding = 'base' | 'xs' | 'sm';
5
5
  export declare function useStepsInternals(params: {
@@ -15,12 +15,12 @@ export declare function useStepsInternals(params: {
15
15
  (e: 'update:modelValue', val: number): void;
16
16
  };
17
17
  }): {
18
- value: import("vue").WritableComputedRef<number>;
18
+ value: import('vue').WritableComputedRef<number, number>;
19
19
  isCurrentStep: (step: number) => boolean;
20
20
  isFinishedStep: (step: number) => boolean;
21
21
  switchStep: (newStep: number, e?: MouseEvent) => void;
22
22
  getStepDisplayValue: (step: number) => string;
23
- listClasses: import("vue").ComputedRef<string>;
24
- linkClasses: import("vue").ComputedRef<string>;
25
- orientation: import("vue").ComputedRef<HorizontalOrVertical>;
23
+ listClasses: import('vue').ComputedRef<string>;
24
+ linkClasses: import('vue').ComputedRef<string>;
25
+ orientation: import('vue').ComputedRef<HorizontalOrVertical>;
26
26
  };
@@ -1,5 +1,5 @@
1
- import type { Nullable } from '@speckle/shared';
2
- import type { MaybeRef } from '@vueuse/core';
1
+ import { Nullable } from '../../../../shared/dist/esm/index';
2
+ import { MaybeRef } from '@vueuse/core';
3
3
  export declare enum ThrottleOrDebounce {
4
4
  Throttle = 0,
5
5
  Debounce = 1
@@ -21,6 +21,6 @@ export declare function useResponsiveHorizontalDirectionCalculation(params: {
21
21
  */
22
22
  stopUpdatesBelowWidth?: MaybeRef<number>;
23
23
  }): {
24
- direction: import("vue").ComputedRef<HorizontalDirection>;
24
+ direction: import('vue').ComputedRef<HorizontalDirection>;
25
25
  recalculateDirection: () => void;
26
26
  };
@@ -1,6 +1,6 @@
1
- import type { MaybeRef } from '@vueuse/core';
2
- import type { MaybeNullOrUndefined, Nullable, Optional } from '@speckle/shared';
3
- import type { CSSProperties } from 'vue';
1
+ import { MaybeRef } from '@vueuse/core';
2
+ import { MaybeNullOrUndefined, Nullable, Optional } from '../../../../shared/dist/esm/index';
3
+ import { CSSProperties } from 'vue';
4
4
  /**
5
5
  * A file, as emitted out from FileUploadZone
6
6
  */
@@ -57,7 +57,7 @@ export declare function usePrepareUploadableFiles(params: {
57
57
  export declare function useFileUploadProgressCore(params: {
58
58
  item: MaybeRef<MaybeNullOrUndefined<UploadFileItem>>;
59
59
  }): {
60
- errorMessage: import("vue").ComputedRef<string | null>;
61
- progressBarClasses: import("vue").ComputedRef<string>;
62
- progressBarStyle: import("vue").ComputedRef<CSSProperties>;
60
+ errorMessage: import('vue').ComputedRef<string | null>;
61
+ progressBarClasses: import('vue').ComputedRef<string>;
62
+ progressBarStyle: import('vue').ComputedRef<CSSProperties>;
63
63
  };
@@ -1,5 +1,5 @@
1
1
  import { ModifierKeys } from '../../helpers/form/input';
2
- import type { Ref } from 'vue';
2
+ import { Ref } from 'vue';
3
3
  export type LabelPosition = 'top' | 'left';
4
4
  /**
5
5
  * onKeyDown wrapper that also checks for modifier keys being pressed
@@ -15,6 +15,6 @@ export declare function onKeyboardShortcut(modifiers: ModifierKeys[], key: strin
15
15
  export declare function useFormCheckboxModel(options?: Partial<{
16
16
  model: Ref<true | undefined>;
17
17
  }>): {
18
- model: Ref<true | undefined>;
19
- isChecked: import("vue").WritableComputedRef<boolean>;
18
+ model: Ref<true | undefined, true | undefined>;
19
+ isChecked: import('vue').WritableComputedRef<boolean, boolean>;
20
20
  };
@@ -1,5 +1,5 @@
1
- import type { Ref, ToRefs } from 'vue';
2
- import type { Nullable } from '@speckle/shared';
1
+ import { Ref, ToRefs } from 'vue';
2
+ import { Nullable } from '../../../../shared/dist/esm/index';
3
3
  type GenericSelectValueType<T> = T | T[] | undefined;
4
4
  /**
5
5
  * Common setup for FormSelectBase wrapping selector components
@@ -20,8 +20,8 @@ export declare function useFormSelectChildInternals<T>(params: {
20
20
  itemContainer: Ref<Nullable<HTMLElement>>;
21
21
  };
22
22
  }): {
23
- selectedValue: import("vue").WritableComputedRef<GenericSelectValueType<T>>;
24
- hiddenSelectedItemCount: Ref<number>;
23
+ selectedValue: import('vue').WritableComputedRef<GenericSelectValueType<T>, GenericSelectValueType<T>>;
24
+ hiddenSelectedItemCount: Ref<number, number>;
25
25
  isArrayValue: (v: GenericSelectValueType<T>) => v is T[];
26
26
  isMultiItemArrayValue: (v: GenericSelectValueType<T>) => v is T[];
27
27
  firstItem: (v: NonNullable<GenericSelectValueType<T>>) => T;
@@ -1,7 +1,7 @@
1
- import type { RuleExpression } from 'vee-validate';
2
- import type { Ref, ToRefs } from 'vue';
3
- import type { MaybeNullOrUndefined, Nullable } from '@speckle/shared';
4
- import type { LabelPosition } from './input';
1
+ import { RuleExpression } from 'vee-validate';
2
+ import { Ref, ToRefs } from 'vue';
3
+ import { MaybeNullOrUndefined, Nullable } from '../../../../shared/dist/esm/index';
4
+ import { LabelPosition } from './input';
5
5
  export type InputColor = 'page' | 'foundation' | 'transparent';
6
6
  /**
7
7
  * Common setup for text input & textarea fields
@@ -37,20 +37,20 @@ export declare function useTextInputCore<V extends string | string[] = string>(p
37
37
  customClear: () => void;
38
38
  }>;
39
39
  }): {
40
- coreInputClasses: import("vue").ComputedRef<string>;
41
- coreClasses: import("vue").ComputedRef<string>;
42
- title: import("vue").ComputedRef<string>;
43
- value: Ref<V>;
44
- helpTipId: import("vue").ComputedRef<string | undefined>;
45
- helpTipClasses: import("vue").ComputedRef<string>;
46
- helpTip: import("vue").ComputedRef<string | undefined>;
47
- hideHelpTip: import("vue").ComputedRef<boolean | "" | undefined>;
48
- errorMessage: import("vue").ComputedRef<string | undefined>;
40
+ coreInputClasses: import('vue').ComputedRef<string>;
41
+ coreClasses: import('vue').ComputedRef<string>;
42
+ title: import('vue').ComputedRef<string>;
43
+ value: Ref<V, V>;
44
+ helpTipId: import('vue').ComputedRef<string | undefined>;
45
+ helpTipClasses: import('vue').ComputedRef<string>;
46
+ helpTip: import('vue').ComputedRef<string | undefined>;
47
+ hideHelpTip: import('vue').ComputedRef<boolean | "" | undefined>;
48
+ errorMessage: import('vue').ComputedRef<string | undefined>;
49
49
  clear: () => void;
50
50
  focus: () => void;
51
- labelClasses: import("vue").ComputedRef<string>;
52
- shouldShowClear: import("vue").ComputedRef<boolean>;
53
- hasError: import("vue").ComputedRef<boolean>;
51
+ labelClasses: import('vue').ComputedRef<string>;
52
+ shouldShowClear: import('vue').ComputedRef<boolean>;
53
+ hasError: import('vue').ComputedRef<boolean>;
54
54
  };
55
55
  type FormInputChangeEvent = {
56
56
  event?: Event;
@@ -98,9 +98,9 @@ export declare function useDebouncedTextInput(params?: {
98
98
  change: (val: FormInputChangeEvent | Event) => void;
99
99
  keydown: (e: KeyboardEvent) => void;
100
100
  };
101
- bind: import("vue").ComputedRef<{
101
+ bind: import('vue').ComputedRef<{
102
102
  modelValue: string;
103
103
  }>;
104
- value: Ref<MaybeNullOrUndefined<string>>;
104
+ value: Ref<MaybeNullOrUndefined<string>, MaybeNullOrUndefined<string>>;
105
105
  };
106
106
  export {};
@@ -1,5 +1,5 @@
1
- import type { Nullable } from '@speckle/shared';
2
- import type { Ref, ComputedRef } from 'vue';
1
+ import { Nullable } from '../../../../shared/dist/esm/index';
2
+ import { Ref, ComputedRef } from 'vue';
3
3
  /**
4
4
  * Use this to calculate the number of hidden elements (e.g. user avatars) in a wrapping flex row that
5
5
  * is styled to only show the first row. For example, there are 12 users total, there's only space for 5,
@@ -32,5 +32,5 @@ export declare function useWrappingContainerHiddenCount(params: {
32
32
  */
33
33
  trackMutations?: boolean;
34
34
  }): {
35
- hiddenItemCount: Ref<number>;
35
+ hiddenItemCount: Ref<number, number>;
36
36
  };
@@ -1,4 +1,4 @@
1
- import type { StoryContext } from '@storybook/vue3';
1
+ import { StoryContext } from '@storybook/vue3';
2
2
  /**
3
3
  * Composable for use in storybook to create a v-model binding that properly reports changes to the Actions tab
4
4
  * and also updates the model in the Controls tab
@@ -12,5 +12,5 @@ export declare const useStorybookVmodel: (params: {
12
12
  */
13
13
  blockChanges?: boolean;
14
14
  }) => {
15
- model: import("vue").WritableComputedRef<unknown>;
15
+ model: import('vue').WritableComputedRef<unknown, unknown>;
16
16
  };
@@ -1,4 +1,4 @@
1
- import type { ToRefs } from 'vue';
1
+ import { ToRefs } from 'vue';
2
2
  export type AvatarUser = {
3
3
  name: string;
4
4
  avatar?: string | null;
@@ -12,8 +12,8 @@ export declare function useAvatarSizeClasses(params: {
12
12
  size?: UserAvatarSize;
13
13
  }>;
14
14
  }): {
15
- heightClasses: import("vue").ComputedRef<"h-8" | "h-6" | "h-10" | "h-14" | "h-4" | "h-5" | "h-24" | "h-32" | "h-60">;
16
- widthClasses: import("vue").ComputedRef<"w-4" | "w-5" | "w-6" | "w-10" | "w-14" | "w-24" | "w-32" | "w-60" | "w-8">;
17
- sizeClasses: import("vue").ComputedRef<string>;
18
- iconClasses: import("vue").ComputedRef<"w-4 h-4" | "w-3 h-3" | "w-5 h-5" | "w-8 h-8" | "w-10 h-10" | "w-20 h-20">;
15
+ heightClasses: import('vue').ComputedRef<"h-4" | "h-5" | "h-6" | "h-8" | "h-10" | "h-14" | "h-24" | "h-32" | "h-60">;
16
+ widthClasses: import('vue').ComputedRef<"w-6" | "w-10" | "w-8" | "w-4" | "w-5" | "w-14" | "w-24" | "w-32" | "w-60">;
17
+ sizeClasses: import('vue').ComputedRef<string>;
18
+ iconClasses: import('vue').ComputedRef<"w-4 h-4" | "w-3 h-3" | "w-5 h-5" | "w-8 h-8" | "w-10 h-10" | "w-20 h-20">;
19
19
  };
@@ -1,4 +1,4 @@
1
- import type { Directive } from 'vue';
1
+ import { Directive } from 'vue';
2
2
  /**
3
3
  * Makes it possible to navigate to and click on the element using the keyboard
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { ConcreteComponent, FunctionalComponent, DefineComponent } from 'vue';
1
+ import { ConcreteComponent, FunctionalComponent, DefineComponent } from 'vue';
2
2
  export type PropAnyComponent = ConcreteComponent<any, any, any, any, any> | FunctionalComponent<any, any, any> | DefineComponent | string;
3
3
  export type HorizontalOrVertical = 'horizontal' | 'vertical';
4
4
  export interface StepCoreType {
@@ -1,4 +1,4 @@
1
- import type { GenericValidateFunction } from 'vee-validate';
1
+ import { GenericValidateFunction } from 'vee-validate';
2
2
  export declare const VALID_HTTP_URL: RegExp;
3
3
  export declare const VALID_EMAIL: RegExp;
4
4
  /**
@@ -27,4 +27,4 @@ export declare const stringContains: (params: {
27
27
  }) => GenericValidateFunction<string>;
28
28
  export declare const isUrl: GenericValidateFunction<string>;
29
29
  export declare const isItemSelected: GenericValidateFunction<unknown[]>;
30
- export declare const isMultiItemSelected: <T>(val: unknown) => true | string;
30
+ export declare const isMultiItemSelected: <T>(val: T[] | unknown) => true | string;
@@ -1,5 +1,5 @@
1
- import type { Nullable } from '@speckle/shared';
2
- import { BaseError } from '../../helpers/common/error';
1
+ import { Nullable } from '../../../../shared/dist/esm/index';
2
+ import { BaseError } from '../common/error';
3
3
  export type FileTypeSpecifier = UniqueFileTypeSpecifier | `.${string}`;
4
4
  export declare enum UniqueFileTypeSpecifier {
5
5
  AnyAudio = "audio/*",
@@ -1,4 +1,4 @@
1
- import { OperatingSystem } from '@speckle/shared';
1
+ import { OperatingSystem } from '../../../../shared/dist/esm/index';
2
2
  export declare enum ModifierKeys {
3
3
  CtrlOrCmd = "cmd-or-ctrl",
4
4
  AltOrOpt = "alt-or-opt",
@@ -2,7 +2,8 @@ export declare enum ToastNotificationType {
2
2
  Success = 0,
3
3
  Warning = 1,
4
4
  Danger = 2,
5
- Info = 3
5
+ Info = 3,
6
+ Loading = 4
6
7
  }
7
8
  export type ToastNotification = {
8
9
  title?: string;
@@ -1,7 +1,7 @@
1
- import type { ConcreteComponent } from 'vue';
2
- import type { FormButton } from '../../lib';
1
+ import { ConcreteComponent } from 'vue';
2
+ import { FormButton } from '../../lib';
3
+ import { PropAnyComponent } from '../common/components';
3
4
  type FormButtonProps = InstanceType<typeof FormButton>['$props'];
4
- import type { PropAnyComponent } from '../../helpers/common/components';
5
5
  export declare enum GridListToggleValue {
6
6
  Grid = "grid",
7
7
  List = "list"