@speckle/ui-components 2.23.11 → 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/dist/components/common/Badge.vue.d.ts +6 -1
- package/dist/components/form/RadioGroup.vue.d.ts +1 -0
- 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/lib.cjs +1 -1
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.js +1143 -1136
- package/dist/lib.js.map +1 -1
- package/package.json +3 -3
|
@@ -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 & {
|
|
@@ -15,6 +15,7 @@ declare const _default: <Value extends string>(__VLS_props: NonNullable<Awaited<
|
|
|
15
15
|
}[];
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
isStacked?: boolean;
|
|
18
|
+
size?: "sm" | "base";
|
|
18
19
|
}) & Partial<{}>> & import('vue').PublicProps;
|
|
19
20
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
20
21
|
attrs: any;
|
|
@@ -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[]>;
|