@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.
- package/dist/App.vue.d.ts +2 -0
- package/dist/AvatarEditor-2d926b04.cjs +2 -0
- package/dist/AvatarEditor-2d926b04.cjs.map +1 -0
- package/dist/{AvatarEditor-25fde016.js → AvatarEditor-844e9444.js} +63 -63
- package/dist/AvatarEditor-844e9444.js.map +1 -0
- package/dist/components/InfiniteLoading.vue.d.ts +15 -36
- package/dist/components/SourceAppBadge.vue.d.ts +4 -14
- package/dist/components/common/Alert.vue.d.ts +25 -46
- package/dist/components/common/Badge.vue.d.ts +24 -50
- package/dist/components/common/ProgressBar.vue.d.ts +3 -14
- package/dist/components/common/VimeoEmbed.vue.d.ts +6 -20
- package/dist/components/common/animation/ClickIcon.vue.d.ts +1 -1
- package/dist/components/common/animation/Instructional.vue.d.ts +14 -6
- package/dist/components/common/animation/MouseIcon.vue.d.ts +1 -1
- package/dist/components/common/loading/Bar.vue.d.ts +4 -15
- package/dist/components/common/loading/Icon.vue.d.ts +6 -31
- package/dist/components/common/steps/Bullet.vue.d.ts +15 -32
- package/dist/components/common/steps/Number.vue.d.ts +14 -30
- package/dist/components/common/text/Link.vue.d.ts +23 -15
- package/dist/components/form/Button.vue.d.ts +34 -101
- package/dist/components/form/CardButton.vue.d.ts +19 -22
- package/dist/components/form/Checkbox.vue.d.ts +15 -15
- package/dist/components/form/ClipboardInput.vue.d.ts +5 -26
- package/dist/components/form/CodeInput.vue.d.ts +504 -0
- package/dist/components/form/Radio.vue.d.ts +15 -15
- package/dist/components/form/RadioGroup.vue.d.ts +25 -26
- package/dist/components/form/Switch.vue.d.ts +16 -40
- package/dist/components/form/Tags.vue.d.ts +95 -80
- package/dist/components/form/TextArea.vue.d.ts +45 -96
- package/dist/components/form/TextInput.vue.d.ts +53 -40
- package/dist/components/form/file-upload/Zone.vue.d.ts +36 -60
- package/dist/components/form/select/Badges.vue.d.ts +11 -30
- package/dist/components/form/select/Base.vue.d.ts +86 -173
- package/dist/components/form/select/Multi.vue.d.ts +84 -168
- package/dist/components/form/select/SourceApps.vue.d.ts +13 -10
- package/dist/components/form/tags/ContextManager.vue.d.ts +12 -4
- package/dist/components/global/ToastRenderer.vue.d.ts +8 -18
- package/dist/components/global/icon/ArrowFilled.vue.d.ts +1 -1
- package/dist/components/global/icon/Edit.vue.d.ts +1 -1
- package/dist/components/global/icon/Plus.vue.d.ts +1 -1
- package/dist/components/layout/Dialog.vue.d.ts +36 -65
- package/dist/components/layout/DialogSection.vue.d.ts +29 -16
- package/dist/components/layout/Disclosure.vue.d.ts +17 -36
- package/dist/components/layout/GridListToggle.vue.d.ts +8 -18
- package/dist/components/layout/Menu.vue.d.ts +253 -39
- package/dist/components/layout/Panel.vue.d.ts +19 -11
- package/dist/components/layout/Table.vue.d.ts +16 -54
- package/dist/components/layout/sidebar/Promo.vue.d.ts +9 -22
- package/dist/components/layout/sidebar/Sidebar.vue.d.ts +12 -4
- package/dist/components/layout/sidebar/menu/Menu.vue.d.ts +11 -3
- package/dist/components/layout/sidebar/menu/group/Group.vue.d.ts +30 -50
- package/dist/components/layout/sidebar/menu/group/Item.vue.d.ts +20 -29
- package/dist/components/layout/tabs/Horizontal.vue.d.ts +28 -22
- package/dist/components/layout/tabs/Vertical.vue.d.ts +23 -23
- package/dist/components/user/Avatar.vue.d.ts +25 -55
- package/dist/components/user/AvatarEditable.vue.d.ts +35 -91
- package/dist/components/user/AvatarEditor.vue.d.ts +239 -23
- package/dist/components/user/AvatarGroup.vue.d.ts +13 -47
- package/dist/composables/common/async.d.ts +3 -3
- package/dist/composables/common/steps.d.ts +6 -6
- package/dist/composables/common/window.d.ts +3 -3
- package/dist/composables/form/fileUpload.d.ts +6 -6
- package/dist/composables/form/input.d.ts +3 -3
- package/dist/composables/form/select.d.ts +4 -4
- package/dist/composables/form/textInput.d.ts +18 -18
- package/dist/composables/layout/resize.d.ts +3 -3
- package/dist/composables/testing.d.ts +2 -2
- package/dist/composables/user/avatar.d.ts +5 -5
- package/dist/directives/accessibility.d.ts +1 -1
- package/dist/helpers/common/components.d.ts +1 -1
- package/dist/helpers/common/validation.d.ts +2 -2
- package/dist/helpers/form/file.d.ts +2 -2
- package/dist/helpers/form/input.d.ts +1 -1
- package/dist/helpers/global/toast.d.ts +2 -1
- package/dist/helpers/layout/components.d.ts +3 -3
- package/dist/lib.cjs +1 -1
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.d.ts +57 -62
- package/dist/lib.js +2924 -2838
- package/dist/lib.js.map +1 -1
- package/dist/stories/components/GlobalToast.vue.d.ts +2 -0
- package/dist/stories/components/SingletonManagers.vue.d.ts +2 -0
- package/dist/stories/composables/toast.d.ts +2 -2
- package/dist/stories/helpers/storybook.d.ts +2 -2
- package/dist/style.css +1 -1
- package/eslint.config.mjs +4 -3
- package/package.json +7 -8
- package/vite.config.ts +5 -10
- package/dist/AvatarEditor-25fde016.js.map +0 -1
- package/dist/AvatarEditor-a33fb9ec.cjs +0 -2
- package/dist/AvatarEditor-a33fb9ec.cjs.map +0 -1
|
@@ -1,27 +1,243 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
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
|
|
6
|
-
size?: UserAvatarSize
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
2
|
-
|
|
1
|
+
import { UserAvatarSize, AvatarUserWithId } from '../../composables/user/avatar';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
users: AvatarUserWithId[];
|
|
4
|
-
overlap?: boolean
|
|
5
|
-
size?: UserAvatarSize
|
|
6
|
-
maxCount?: number
|
|
7
|
-
hideTooltips?: boolean
|
|
8
|
-
maxAvatars?: number
|
|
9
|
-
}
|
|
10
|
-
|
|
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 {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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
|
|
2
|
-
import
|
|
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(
|
|
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(
|
|
24
|
-
linkClasses: import(
|
|
25
|
-
orientation: import(
|
|
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
|
|
2
|
-
import
|
|
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(
|
|
24
|
+
direction: import('vue').ComputedRef<HorizontalDirection>;
|
|
25
25
|
recalculateDirection: () => void;
|
|
26
26
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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(
|
|
61
|
-
progressBarClasses: import(
|
|
62
|
-
progressBarStyle: import(
|
|
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
|
|
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(
|
|
18
|
+
model: Ref<true | undefined, true | undefined>;
|
|
19
|
+
isChecked: import('vue').WritableComputedRef<boolean, boolean>;
|
|
20
20
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
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(
|
|
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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
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(
|
|
41
|
-
coreClasses: import(
|
|
42
|
-
title: import(
|
|
43
|
-
value: Ref<V>;
|
|
44
|
-
helpTipId: import(
|
|
45
|
-
helpTipClasses: import(
|
|
46
|
-
helpTip: import(
|
|
47
|
-
hideHelpTip: import(
|
|
48
|
-
errorMessage: import(
|
|
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(
|
|
52
|
-
shouldShowClear: import(
|
|
53
|
-
hasError: import(
|
|
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(
|
|
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
|
|
2
|
-
import
|
|
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
|
|
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(
|
|
15
|
+
model: import('vue').WritableComputedRef<unknown, unknown>;
|
|
16
16
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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(
|
|
16
|
-
widthClasses: import(
|
|
17
|
-
sizeClasses: import(
|
|
18
|
-
iconClasses: import(
|
|
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
|
|
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
|
|
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
|
|
2
|
-
import { BaseError } from '
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
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"
|