@speckle/ui-components 2.18.13 → 2.18.14
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/components/InfiniteLoading.vue.d.ts +1 -1
- package/dist/components/SourceAppBadge.vue.d.ts +1 -1
- package/dist/components/common/Alert.vue.d.ts +1 -1
- package/dist/components/common/Badge.vue.d.ts +1 -1
- package/dist/components/common/animation/ClickIcon.vue.d.ts +1 -1
- package/dist/components/common/animation/Instructional.vue.d.ts +1 -1
- package/dist/components/common/animation/MouseIcon.vue.d.ts +1 -1
- package/dist/components/common/loading/Bar.vue.d.ts +1 -1
- package/dist/components/common/loading/Icon.vue.d.ts +1 -1
- package/dist/components/common/steps/Bullet.vue.d.ts +1 -1
- package/dist/components/common/steps/Number.vue.d.ts +1 -1
- package/dist/components/common/text/Link.vue.d.ts +1 -1
- package/dist/components/form/Button.vue.d.ts +1 -1
- package/dist/components/form/CardButton.vue.d.ts +1 -1
- package/dist/components/form/Checkbox.vue.d.ts +1 -1
- package/dist/components/form/ClipboardInput.vue.d.ts +1 -1
- package/dist/components/form/Radio.vue.d.ts +1 -1
- package/dist/components/form/Switch.vue.d.ts +1 -1
- package/dist/components/form/Tags.vue.d.ts +1 -1
- package/dist/components/form/TextArea.vue.d.ts +1 -1
- package/dist/components/form/TextInput.vue.d.ts +1 -1
- package/dist/components/form/file-upload/Zone.vue.d.ts +1 -1
- package/dist/components/form/select/Badges.vue.d.ts +5 -1
- package/dist/components/form/select/Base.vue.d.ts +6 -0
- package/dist/components/form/select/SourceApps.vue.d.ts +13 -1
- package/dist/components/form/tags/ContextManager.vue.d.ts +1 -1
- package/dist/components/global/ToastRenderer.vue.d.ts +1 -1
- package/dist/components/layout/Dialog.vue.d.ts +1 -1
- package/dist/components/layout/DialogSection.vue.d.ts +1 -1
- package/dist/components/layout/Disclosure.vue.d.ts +1 -1
- package/dist/components/layout/GridListToggle.vue.d.ts +1 -1
- package/dist/components/layout/Menu.vue.d.ts +3 -1
- package/dist/components/layout/PageTabs.vue.d.ts +31 -18
- package/dist/components/layout/Panel.vue.d.ts +1 -1
- package/dist/components/layout/Tabs.vue.d.ts +1 -1
- package/dist/components/user/Avatar.vue.d.ts +1 -1
- package/dist/components/user/AvatarEditable.vue.d.ts +1 -1
- package/dist/components/user/AvatarEditor.vue.d.ts +1 -1
- package/dist/components/user/AvatarGroup.vue.d.ts +1 -1
- package/dist/composables/testing.d.ts +16 -0
- package/dist/helpers/layout/components.d.ts +1 -1
- package/dist/lib.cjs +1 -1
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.js +1452 -1419
- package/dist/lib.js.map +1 -1
- package/package.json +3 -3
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
16
16
|
allowRetry?: boolean | undefined;
|
|
17
17
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
18
|
infinite: ($state: InfiniteLoaderState) => void;
|
|
19
|
-
}, string, import("vue").
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
20
20
|
/**
|
|
21
21
|
* v3-infinite-loading props, see docs or type definitions
|
|
22
22
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SourceAppDefinition } from '@speckle/shared';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
sourceApp: SourceAppDefinition;
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
sourceApp: SourceAppDefinition;
|
|
6
6
|
}>>>, {}, {}>;
|
|
7
7
|
export default _default;
|
|
@@ -17,7 +17,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
17
17
|
size: string;
|
|
18
18
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
19
|
dismiss: () => void;
|
|
20
|
-
}, string, import("vue").
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
21
|
color?: AlertColor | undefined;
|
|
22
22
|
withDismiss?: boolean | undefined;
|
|
23
23
|
actions?: {
|
|
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
28
28
|
clickableIcon?: boolean | undefined;
|
|
29
29
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
30
|
"click-icon": (v: MouseEvent) => void;
|
|
31
|
-
}, string, import("vue").
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
32
32
|
size?: BadgeSize | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* Set text & bg color. Defaults to primary variation.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -29,7 +29,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
29
29
|
name: string;
|
|
30
30
|
visible: boolean;
|
|
31
31
|
}[]>;
|
|
32
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
32
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
33
|
actions: PropType<Action[]>;
|
|
34
34
|
initialPosition: {
|
|
35
35
|
type: PropType<{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
loading: boolean;
|
|
3
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
loading: boolean;
|
|
5
5
|
}>>>, {}, {}>;
|
|
6
6
|
export default _default;
|
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
5
5
|
}>, {
|
|
6
6
|
size: string;
|
|
7
7
|
loading: boolean;
|
|
8
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
9
|
loading?: boolean | undefined;
|
|
10
10
|
size?: Size | undefined;
|
|
11
11
|
}>, {
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
12
12
|
stepsPadding?: StepsPadding | undefined;
|
|
13
13
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
14
|
"update:modelValue": (val: number) => void;
|
|
15
|
-
}, string, import("vue").
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
16
16
|
ariaLabel?: string | undefined;
|
|
17
17
|
basic?: boolean | undefined;
|
|
18
18
|
orientation?: HorizontalOrVertical | undefined;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
11
11
|
stepsPadding?: StepsPadding | undefined;
|
|
12
12
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
"update:modelValue": (val: number) => void;
|
|
14
|
-
}, string, import("vue").
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
15
15
|
ariaLabel?: string | undefined;
|
|
16
16
|
orientation?: HorizontalOrVertical | undefined;
|
|
17
17
|
steps: NumberStepType[];
|
|
@@ -53,7 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
53
53
|
};
|
|
54
54
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
55
|
click: (val: MouseEvent) => void;
|
|
56
|
-
}, string, import("vue").
|
|
56
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
57
|
to: {
|
|
58
58
|
type: PropType<Optional<string>>;
|
|
59
59
|
required: false;
|
|
@@ -135,7 +135,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
135
135
|
};
|
|
136
136
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
137
137
|
click: (val: MouseEvent) => void;
|
|
138
|
-
}, string, import("vue").
|
|
138
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
139
139
|
/**
|
|
140
140
|
* URL to which to navigate - can be a relative (app) path or an absolute link for an external URL
|
|
141
141
|
*/
|
|
@@ -4,7 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
"update:modelValue": (v: boolean) => void;
|
|
6
6
|
click: (v: MouseEvent) => void;
|
|
7
|
-
}, string, import("vue").
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
modelValue?: boolean | undefined;
|
|
10
10
|
}>>> & {
|
|
@@ -95,7 +95,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
95
|
};
|
|
96
96
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
97
97
|
"update:modelValue": (val: ValueType) => void;
|
|
98
|
-
}, string, import("vue").
|
|
98
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
99
99
|
/**
|
|
100
100
|
* Input name/id. In a checkbox group, all checkboxes must have the same name and different values.
|
|
101
101
|
*/
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
7
7
|
isMultiline: boolean;
|
|
8
8
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
copy: (val: string) => void;
|
|
10
|
-
}, string, import("vue").
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
11
11
|
isMultiline: boolean;
|
|
12
12
|
}>>> & {
|
|
13
13
|
onCopy?: ((val: string) => any) | undefined;
|
|
@@ -102,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
102
|
};
|
|
103
103
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
104
104
|
"update:modelValue": (val: ValueType) => void;
|
|
105
|
-
}, string, import("vue").
|
|
105
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
106
106
|
/**
|
|
107
107
|
* Input name/id. In a radio group, all radios must have the same name and different values.
|
|
108
108
|
*/
|
|
@@ -3,7 +3,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
icons: {
|
|
4
4
|
type: import("vue").PropType<boolean>;
|
|
5
5
|
};
|
|
6
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
modelValue: import("vue").PropType<boolean>;
|
|
8
8
|
icons: {
|
|
9
9
|
type: import("vue").PropType<boolean>;
|
|
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
35
35
|
value: string[];
|
|
36
36
|
}) => void;
|
|
37
37
|
clear: () => void;
|
|
38
|
-
}, string, import("vue").
|
|
38
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
39
39
|
name: string;
|
|
40
40
|
help?: string | undefined;
|
|
41
41
|
label?: string | undefined;
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
38
38
|
value: string;
|
|
39
39
|
}) => void;
|
|
40
40
|
clear: () => void;
|
|
41
|
-
}, string, import("vue").
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
42
42
|
/**
|
|
43
43
|
* Unique ID for the input (must be unique page-wide)
|
|
44
44
|
*/
|
|
@@ -150,7 +150,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
150
150
|
clear: () => void;
|
|
151
151
|
focus: () => void;
|
|
152
152
|
blur: () => void;
|
|
153
|
-
}, string, import("vue").
|
|
153
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
154
154
|
/**
|
|
155
155
|
* Input "type" value (changes behaviour & look)
|
|
156
156
|
*/
|
|
@@ -25,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
25
25
|
"files-selected": (v: {
|
|
26
26
|
files: UploadableFileItem[];
|
|
27
27
|
}) => void;
|
|
28
|
-
}, string, import("vue").
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
29
29
|
/**
|
|
30
30
|
* https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
31
31
|
*/
|
|
@@ -8,9 +8,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
8
8
|
multiple?: boolean | undefined;
|
|
9
9
|
rules?: any[] | undefined;
|
|
10
10
|
by: string;
|
|
11
|
+
labelId?: string | undefined;
|
|
12
|
+
buttonId?: string | undefined;
|
|
11
13
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
14
|
"update:modelValue": (val: any[]) => void;
|
|
13
|
-
}, string, import("vue").
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
16
|
items: Array<SingleItem>;
|
|
15
17
|
label: string;
|
|
16
18
|
name: string;
|
|
@@ -19,6 +21,8 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
19
21
|
multiple?: boolean | undefined;
|
|
20
22
|
rules?: any[] | undefined;
|
|
21
23
|
by: string;
|
|
24
|
+
labelId?: string | undefined;
|
|
25
|
+
buttonId?: string | undefined;
|
|
22
26
|
}>>> & {
|
|
23
27
|
"onUpdate:modelValue"?: ((val: any[]) => any) | undefined;
|
|
24
28
|
}, {}, {}>;
|
|
@@ -36,6 +36,8 @@ declare const _default: <SingleItem extends string | number | Record<string, unk
|
|
|
36
36
|
fixedHeight?: boolean | undefined;
|
|
37
37
|
fullyControlValue?: boolean | undefined;
|
|
38
38
|
mountMenuOnBody?: boolean | undefined;
|
|
39
|
+
labelId?: string | undefined;
|
|
40
|
+
buttonId?: string | undefined;
|
|
39
41
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
40
42
|
attrs: any;
|
|
41
43
|
slots: {
|
|
@@ -90,6 +92,8 @@ declare const _default: <SingleItem extends string | number | Record<string, unk
|
|
|
90
92
|
fixedHeight?: boolean | undefined;
|
|
91
93
|
fullyControlValue?: boolean | undefined;
|
|
92
94
|
mountMenuOnBody?: boolean | undefined;
|
|
95
|
+
labelId?: string | undefined;
|
|
96
|
+
buttonId?: string | undefined;
|
|
93
97
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
94
98
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
95
99
|
triggerSearch: () => Promise<void>;
|
|
@@ -148,6 +152,8 @@ declare const _default: <SingleItem extends string | number | Record<string, unk
|
|
|
148
152
|
fixedHeight?: boolean | undefined;
|
|
149
153
|
fullyControlValue?: boolean | undefined;
|
|
150
154
|
mountMenuOnBody?: boolean | undefined;
|
|
155
|
+
labelId?: string | undefined;
|
|
156
|
+
buttonId?: string | undefined;
|
|
151
157
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
152
158
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
153
159
|
triggerSearch: () => Promise<void>;
|
|
@@ -62,9 +62,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
62
|
help: {
|
|
63
63
|
type: StringConstructor;
|
|
64
64
|
};
|
|
65
|
+
labelId: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
};
|
|
68
|
+
buttonId: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
};
|
|
65
71
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
66
72
|
"update:modelValue": (v: ValueType) => void;
|
|
67
|
-
}, string, import("vue").
|
|
73
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
68
74
|
/**
|
|
69
75
|
* Whether to allow selecting multiple source apps
|
|
70
76
|
*/
|
|
@@ -125,6 +131,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
131
|
help: {
|
|
126
132
|
type: StringConstructor;
|
|
127
133
|
};
|
|
134
|
+
labelId: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
};
|
|
137
|
+
buttonId: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
};
|
|
128
140
|
}>> & {
|
|
129
141
|
"onUpdate:modelValue"?: ((v: ValueType) => any) | undefined;
|
|
130
142
|
}, {
|
|
@@ -5,7 +5,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}
|
|
|
5
5
|
close: () => void;
|
|
6
6
|
selectActive: () => void;
|
|
7
7
|
isOpen: () => boolean;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
9
9
|
default?(_: {}): any;
|
|
10
10
|
}>;
|
|
11
11
|
export default _default;
|
|
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
4
4
|
notification: Nullable<ToastNotification>;
|
|
5
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
"update:notification": (val: Nullable<ToastNotification>) => void;
|
|
7
|
-
}, string, import("vue").
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
8
|
notification: Nullable<ToastNotification>;
|
|
9
9
|
}>>> & {
|
|
10
10
|
"onUpdate:notification"?: ((val: Nullable<ToastNotification>) => any) | undefined;
|
|
@@ -22,7 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
22
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
23
|
"update:open": (v: boolean) => void;
|
|
24
24
|
"fully-closed": () => void;
|
|
25
|
-
}, string, import("vue").
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
26
26
|
open: boolean;
|
|
27
27
|
maxWidth?: MaxWidthValue | undefined;
|
|
28
28
|
hideCloser?: boolean | undefined;
|
|
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
23
23
|
type: BooleanConstructor;
|
|
24
24
|
default: boolean;
|
|
25
25
|
};
|
|
26
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
26
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
27
|
title: StringConstructor;
|
|
28
28
|
borderT: BooleanConstructor;
|
|
29
29
|
borderB: BooleanConstructor;
|
|
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
color?: DisclosureColor | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
color: string;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
13
|
title: string;
|
|
14
14
|
/**
|
|
15
15
|
* HeadlessUI icon component to use
|
|
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
5
|
click: (v: MouseEvent) => void;
|
|
6
6
|
"update:modelValue": (v: GridListToggleValue) => void;
|
|
7
|
-
}, string, import("vue").
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
8
|
modelValue?: GridListToggleValue | undefined;
|
|
9
9
|
}>>> & {
|
|
10
10
|
onClick?: ((v: MouseEvent) => any) | undefined;
|
|
@@ -5,18 +5,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
5
5
|
* 2D array so that items can be grouped with dividers between them
|
|
6
6
|
*/
|
|
7
7
|
items: LayoutMenuItem[][];
|
|
8
|
+
menuId?: string | undefined;
|
|
8
9
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
10
|
"update:open": (val: boolean) => void;
|
|
10
11
|
chosen: (val: {
|
|
11
12
|
event: MouseEvent;
|
|
12
13
|
item: LayoutMenuItem<any>;
|
|
13
14
|
}) => void;
|
|
14
|
-
}, string, import("vue").
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
15
16
|
open?: boolean | undefined;
|
|
16
17
|
/**
|
|
17
18
|
* 2D array so that items can be grouped with dividers between them
|
|
18
19
|
*/
|
|
19
20
|
items: LayoutMenuItem[][];
|
|
21
|
+
menuId?: string | undefined;
|
|
20
22
|
}>>> & {
|
|
21
23
|
"onUpdate:open"?: ((val: boolean) => any) | undefined;
|
|
22
24
|
onChosen?: ((val: {
|
|
@@ -1,27 +1,40 @@
|
|
|
1
1
|
import type { LayoutPageTabItem } from '../../helpers/layout/components';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
items:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
activeItem: {
|
|
4
|
+
required: true;
|
|
5
|
+
type: import("vue").PropType<LayoutPageTabItem>;
|
|
6
|
+
};
|
|
7
|
+
items: {
|
|
8
|
+
type: import("vue").PropType<LayoutPageTabItem[]>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
vertical: {
|
|
12
|
+
type: import("vue").PropType<boolean>;
|
|
13
|
+
};
|
|
14
|
+
title: {
|
|
15
|
+
type: import("vue").PropType<string>;
|
|
16
|
+
};
|
|
17
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
activeItem: {
|
|
19
|
+
required: true;
|
|
20
|
+
type: import("vue").PropType<LayoutPageTabItem>;
|
|
21
|
+
};
|
|
22
|
+
items: {
|
|
23
|
+
type: import("vue").PropType<LayoutPageTabItem[]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
vertical: {
|
|
27
|
+
type: import("vue").PropType<boolean>;
|
|
28
|
+
};
|
|
29
|
+
title: {
|
|
30
|
+
type: import("vue").PropType<string>;
|
|
31
|
+
};
|
|
32
|
+
}>>, {}, {}>, {
|
|
11
33
|
default?(_: {
|
|
12
34
|
activeItem: LayoutPageTabItem;
|
|
13
35
|
}): any;
|
|
14
36
|
}>;
|
|
15
37
|
export default _default;
|
|
16
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
-
} : {
|
|
21
|
-
type: import('vue').PropType<T[K]>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
38
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
39
|
new (): {
|
|
27
40
|
$slots: S;
|
|
@@ -33,7 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
33
|
};
|
|
34
34
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
35
|
submit: (val: SubmitEvent) => void;
|
|
36
|
-
}, string, import("vue").
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
37
|
/**
|
|
38
38
|
* Use a `<form/>` element as a wrapper that will emit 'submit' events out from the component when they occur
|
|
39
39
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { LayoutTabItem } from '../../helpers/layout/components';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
items: LayoutTabItem<any>[];
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
items: LayoutTabItem<any>[];
|
|
6
6
|
}>>>, {}, {}>, {
|
|
7
7
|
default?(_: {
|
|
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
11
11
|
size: string;
|
|
12
12
|
hoverEffect: boolean;
|
|
13
13
|
user: null;
|
|
14
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
15
|
user?: MaybeNullOrUndefined<AvatarUser>;
|
|
16
16
|
size?: UserAvatarSize | undefined;
|
|
17
17
|
hoverEffect?: boolean | undefined;
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
38
|
save: (newUrl: ModelType) => void;
|
|
39
39
|
"update:modelValue": (value: ModelType) => void;
|
|
40
|
-
}, string, import("vue").
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
41
|
editMode: import("vue").PropType<boolean>;
|
|
42
42
|
modelValue: {
|
|
43
43
|
type: import("vue").PropType<string | null>;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
7
7
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
cancel: () => void;
|
|
9
9
|
save: (val: Nullable<string>) => void;
|
|
10
|
-
}, string, import("vue").
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
11
|
user: AvatarUser;
|
|
12
12
|
disabled?: boolean | undefined;
|
|
13
13
|
size?: UserAvatarSize | undefined;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
9
9
|
overlap: boolean;
|
|
10
10
|
size: string;
|
|
11
11
|
maxCount: undefined;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
13
|
users: AvatarUserWithId[];
|
|
14
14
|
overlap?: boolean | undefined;
|
|
15
15
|
size?: UserAvatarSize | undefined;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { StoryContext } from '@storybook/vue3';
|
|
2
|
+
/**
|
|
3
|
+
* Composable for use in storybook to create a v-model binding that properly reports changes to the Actions tab
|
|
4
|
+
* and also updates the model in the Controls tab
|
|
5
|
+
*/
|
|
6
|
+
export declare const useStorybookVmodel: (params: {
|
|
7
|
+
args: Record<string, unknown>;
|
|
8
|
+
prop: string;
|
|
9
|
+
ctx: StoryContext;
|
|
10
|
+
/**
|
|
11
|
+
* Prevents the model from being updated
|
|
12
|
+
*/
|
|
13
|
+
blockChanges?: boolean;
|
|
14
|
+
}) => {
|
|
15
|
+
model: import("vue").WritableComputedRef<unknown>;
|
|
16
|
+
};
|