@speckle/ui-components 2.23.10 → 2.23.12
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/.vscode/settings.json +1 -3
- package/dist/components/common/Alert.vue.d.ts +1 -1
- package/dist/components/common/Badge.vue.d.ts +6 -1
- package/dist/components/form/Radio.vue.d.ts +10 -0
- package/dist/components/form/RadioGroup.vue.d.ts +5 -2
- package/dist/components/form/select/Base.vue.d.ts +3 -3
- package/dist/components/form/select/Multi.vue.d.ts +3 -3
- package/dist/components/form/select/SourceApps.vue.d.ts +1 -1
- package/dist/components/layout/sidebar/menu/group/Group.vue.d.ts +1 -1
- package/dist/components/layout/sidebar/menu/group/Item.vue.d.ts +1 -0
- package/dist/components/user/AvatarGroup.vue.d.ts +2 -0
- package/dist/lib.cjs +1 -1
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.js +1985 -1926
- package/dist/lib.js.map +1 -1
- package/package.json +4 -6
package/.vscode/settings.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { PropAnyComponent } from '../../helpers/common/components';
|
|
2
2
|
type BadgeSize = 'base' | 'lg';
|
|
3
|
+
type BadgeColors = 'primary' | 'secondary';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
size?: BadgeSize;
|
|
6
|
+
color?: BadgeColors;
|
|
5
7
|
/**
|
|
6
8
|
* Set text & bg color. Defaults to primary variation.
|
|
7
9
|
*/
|
|
@@ -40,7 +42,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
40
42
|
"click-icon": (v: MouseEvent) => any;
|
|
41
43
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
42
44
|
"onClick-icon"?: ((v: MouseEvent) => any) | undefined;
|
|
43
|
-
}>, {
|
|
45
|
+
}>, {
|
|
46
|
+
size: BadgeSize;
|
|
47
|
+
color: BadgeColors;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
44
49
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
45
50
|
export default _default;
|
|
46
51
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -10,6 +10,7 @@ import { Optional } from '../../../../shared/dist/esm/index';
|
|
|
10
10
|
* checked state
|
|
11
11
|
*/
|
|
12
12
|
type ValueType = Optional<string | true> | string[];
|
|
13
|
+
type Size = 'sm' | 'base';
|
|
13
14
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
15
|
/**
|
|
15
16
|
* Input name/id. In a radio group, all radios must have the same name and different values.
|
|
@@ -100,6 +101,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
100
101
|
type: BooleanConstructor;
|
|
101
102
|
default: boolean;
|
|
102
103
|
};
|
|
104
|
+
size: {
|
|
105
|
+
type: PropType<Optional<Size>>;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
103
108
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
104
109
|
"update:modelValue": (val: ValueType) => any;
|
|
105
110
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -192,9 +197,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
192
197
|
type: BooleanConstructor;
|
|
193
198
|
default: boolean;
|
|
194
199
|
};
|
|
200
|
+
size: {
|
|
201
|
+
type: PropType<Optional<Size>>;
|
|
202
|
+
default: string;
|
|
203
|
+
};
|
|
195
204
|
}>> & Readonly<{
|
|
196
205
|
"onUpdate:modelValue"?: ((val: ValueType) => any) | undefined;
|
|
197
206
|
}>, {
|
|
207
|
+
size: Optional<Size>;
|
|
198
208
|
disabled: boolean;
|
|
199
209
|
description: Optional<string>;
|
|
200
210
|
label: Optional<string>;
|
|
@@ -8,15 +8,18 @@ declare const _default: <Value extends string>(__VLS_props: NonNullable<Awaited<
|
|
|
8
8
|
options: {
|
|
9
9
|
value: Value;
|
|
10
10
|
title: string;
|
|
11
|
+
subtitle?: string;
|
|
11
12
|
introduction?: string;
|
|
12
|
-
icon
|
|
13
|
+
icon?: ConcreteComponent;
|
|
13
14
|
help?: string;
|
|
14
15
|
}[];
|
|
15
16
|
disabled?: boolean;
|
|
17
|
+
isStacked?: boolean;
|
|
18
|
+
size?: "sm" | "base";
|
|
16
19
|
}) & Partial<{}>> & import('vue').PublicProps;
|
|
17
20
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
18
21
|
attrs: any;
|
|
19
|
-
slots: {}
|
|
22
|
+
slots: Partial<Record<Value, (_: {}) => any>>;
|
|
20
23
|
emit: (evt: "update:modelValue", value: Value) => void;
|
|
21
24
|
}>) => import('vue').VNode & {
|
|
22
25
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -6,6 +6,7 @@ declare const _default: <SingleItem extends Record<string, unknown> | string | n
|
|
|
6
6
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
7
7
|
size: Optional<"sm" | "base" | "lg" | "xl">;
|
|
8
8
|
disabled: Optional<boolean>;
|
|
9
|
+
search: boolean;
|
|
9
10
|
modelValue: [{
|
|
10
11
|
type: PropType<SingleItem | SingleItem[] | undefined>;
|
|
11
12
|
default: undefined;
|
|
@@ -18,7 +19,6 @@ declare const _default: <SingleItem extends Record<string, unknown> | string | n
|
|
|
18
19
|
showRequired: boolean;
|
|
19
20
|
labelPosition: LabelPosition;
|
|
20
21
|
validateOnValueUpdate: boolean;
|
|
21
|
-
search: boolean;
|
|
22
22
|
help: Optional<string>;
|
|
23
23
|
showLabel: boolean;
|
|
24
24
|
useLabelInErrors: boolean;
|
|
@@ -43,11 +43,11 @@ declare const _default: <SingleItem extends Record<string, unknown> | string | n
|
|
|
43
43
|
readonly disabled: Optional<boolean>;
|
|
44
44
|
readonly label: string;
|
|
45
45
|
readonly name: string;
|
|
46
|
+
readonly search: boolean;
|
|
46
47
|
readonly validateOnMount: boolean;
|
|
47
48
|
readonly showRequired: boolean;
|
|
48
49
|
readonly labelPosition: LabelPosition;
|
|
49
50
|
readonly validateOnValueUpdate: boolean;
|
|
50
|
-
readonly search: boolean;
|
|
51
51
|
readonly showLabel: boolean;
|
|
52
52
|
readonly useLabelInErrors: boolean;
|
|
53
53
|
readonly showOptional: boolean;
|
|
@@ -81,7 +81,7 @@ declare const _default: <SingleItem extends Record<string, unknown> | string | n
|
|
|
81
81
|
readonly buttonId?: string | undefined;
|
|
82
82
|
readonly disabledItemTooltip?: string | undefined;
|
|
83
83
|
readonly "onUpdate:modelValue"?: ((v: SingleItem | SingleItem[] | undefined) => any) | undefined;
|
|
84
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "disabled" | "modelValue" | "rules" | "validateOnMount" | "showRequired" | "labelPosition" | "validateOnValueUpdate" | "
|
|
84
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "disabled" | "search" | "modelValue" | "rules" | "validateOnMount" | "showRequired" | "labelPosition" | "validateOnValueUpdate" | "help" | "showLabel" | "useLabelInErrors" | "showOptional" | "tooltipText" | "multiple" | "items" | "filterPredicate" | "disabledItemPredicate" | "getSearchResults" | "searchPlaceholder" | "buttonStyle" | "hideCheckmarks" | "allowUnset" | "clearable" | "fixedHeight" | "fullyControlValue" | "mountMenuOnBody" | "labelId" | "buttonId">, "label" | "name" | "onUpdate:modelValue" | "placeholder" | "by" | "disabledItemTooltip" | ("size" | "disabled" | "search" | "modelValue" | "rules" | "validateOnMount" | "showRequired" | "labelPosition" | "validateOnValueUpdate" | "help" | "showLabel" | "useLabelInErrors" | "showOptional" | "tooltipText" | "multiple" | "items" | "filterPredicate" | "disabledItemPredicate" | "getSearchResults" | "searchPlaceholder" | "buttonStyle" | "hideCheckmarks" | "allowUnset" | "clearable" | "fixedHeight" | "fullyControlValue" | "mountMenuOnBody" | "labelId" | "buttonId")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
85
85
|
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
86
86
|
triggerSearch: () => Promise<void>;
|
|
87
87
|
}>): void;
|
|
@@ -6,6 +6,7 @@ declare const _default: <SingleItem extends Record<string, unknown> | string | n
|
|
|
6
6
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
7
7
|
size: Optional<"sm" | "base" | "lg" | "xl">;
|
|
8
8
|
disabled: Optional<boolean>;
|
|
9
|
+
search: boolean;
|
|
9
10
|
modelValue: [{
|
|
10
11
|
type: PropType<SingleItem | SingleItem[] | undefined>;
|
|
11
12
|
default: undefined;
|
|
@@ -18,7 +19,6 @@ declare const _default: <SingleItem extends Record<string, unknown> | string | n
|
|
|
18
19
|
showRequired: boolean;
|
|
19
20
|
labelPosition: LabelPosition;
|
|
20
21
|
validateOnValueUpdate: boolean;
|
|
21
|
-
search: boolean;
|
|
22
22
|
help: Optional<string>;
|
|
23
23
|
showLabel: boolean;
|
|
24
24
|
useLabelInErrors: boolean;
|
|
@@ -42,11 +42,11 @@ declare const _default: <SingleItem extends Record<string, unknown> | string | n
|
|
|
42
42
|
readonly disabled: Optional<boolean>;
|
|
43
43
|
readonly label: string;
|
|
44
44
|
readonly name: string;
|
|
45
|
+
readonly search: boolean;
|
|
45
46
|
readonly validateOnMount: boolean;
|
|
46
47
|
readonly showRequired: boolean;
|
|
47
48
|
readonly labelPosition: LabelPosition;
|
|
48
49
|
readonly validateOnValueUpdate: boolean;
|
|
49
|
-
readonly search: boolean;
|
|
50
50
|
readonly showLabel: boolean;
|
|
51
51
|
readonly useLabelInErrors: boolean;
|
|
52
52
|
readonly showOptional: boolean;
|
|
@@ -79,7 +79,7 @@ declare const _default: <SingleItem extends Record<string, unknown> | string | n
|
|
|
79
79
|
readonly buttonId?: string | undefined;
|
|
80
80
|
readonly disabledItemTooltip?: string | undefined;
|
|
81
81
|
readonly "onUpdate:modelValue"?: ((v: SingleItem | SingleItem[] | undefined) => any) | undefined;
|
|
82
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "disabled" | "modelValue" | "rules" | "validateOnMount" | "showRequired" | "labelPosition" | "validateOnValueUpdate" | "
|
|
82
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "disabled" | "search" | "modelValue" | "rules" | "validateOnMount" | "showRequired" | "labelPosition" | "validateOnValueUpdate" | "help" | "showLabel" | "useLabelInErrors" | "showOptional" | "tooltipText" | "items" | "filterPredicate" | "disabledItemPredicate" | "getSearchResults" | "searchPlaceholder" | "buttonStyle" | "hideCheckmarks" | "allowUnset" | "clearable" | "fixedHeight" | "fullyControlValue" | "mountMenuOnBody" | "labelId" | "buttonId">, "label" | "name" | "onUpdate:modelValue" | "placeholder" | "by" | "disabledItemTooltip" | ("size" | "disabled" | "search" | "modelValue" | "rules" | "validateOnMount" | "showRequired" | "labelPosition" | "validateOnValueUpdate" | "help" | "showLabel" | "useLabelInErrors" | "showOptional" | "tooltipText" | "items" | "filterPredicate" | "disabledItemPredicate" | "getSearchResults" | "searchPlaceholder" | "buttonStyle" | "hideCheckmarks" | "allowUnset" | "clearable" | "fixedHeight" | "fullyControlValue" | "mountMenuOnBody" | "labelId" | "buttonId")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
83
83
|
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
84
84
|
triggerSearch: () => Promise<void>;
|
|
85
85
|
}>): void;
|
|
@@ -141,8 +141,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
141
141
|
"onUpdate:modelValue"?: ((v: ValueType) => any) | undefined;
|
|
142
142
|
}>, {
|
|
143
143
|
name: Optional<string>;
|
|
144
|
-
modelValue: ValueType;
|
|
145
144
|
search: boolean;
|
|
145
|
+
modelValue: ValueType;
|
|
146
146
|
showLabel: boolean;
|
|
147
147
|
multiple: boolean;
|
|
148
148
|
items: Optional<SourceAppDefinition[]>;
|
|
@@ -6,6 +6,7 @@ type __VLS_Props = {
|
|
|
6
6
|
maxCount?: number;
|
|
7
7
|
hideTooltips?: boolean;
|
|
8
8
|
maxAvatars?: number;
|
|
9
|
+
onHiddenCountClick?: () => void;
|
|
9
10
|
};
|
|
10
11
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
12
|
size: UserAvatarSize;
|
|
@@ -14,6 +15,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
14
15
|
maxCount: number;
|
|
15
16
|
hideTooltips: boolean;
|
|
16
17
|
maxAvatars: number;
|
|
18
|
+
onHiddenCountClick: () => void;
|
|
17
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
18
20
|
elementToWatchForChanges: HTMLDivElement;
|
|
19
21
|
itemContainer: HTMLDivElement;
|