@speckle/ui-components 2.16.1-alpha3 → 2.16.1-alpha5
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/form/Tags.vue.d.ts +141 -0
- package/dist/components/form/TextInput.vue.d.ts +1 -1
- package/dist/components/form/select/Base.vue.d.ts +375 -360
- package/dist/components/form/select/SourceApps.vue.d.ts +1 -1
- package/dist/components/form/tags/ContextManager.vue.d.ts +16 -0
- package/dist/composables/form/textInput.d.ts +6 -5
- package/dist/lib.cjs +1 -1
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.d.ts +2 -1
- package/dist/lib.js +1552 -1256
- package/dist/lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { InputColor } from '../../composables/form/textInput';
|
|
2
|
+
import { MaybeAsync } from '@speckle/shared';
|
|
3
|
+
type InputSize = 'sm' | 'base' | 'lg' | 'xl';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
modelValue: import("vue").PropType<string[]>;
|
|
6
|
+
size: {
|
|
7
|
+
type: import("vue").PropType<InputSize>;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
color: {
|
|
11
|
+
type: import("vue").PropType<InputColor>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
disabled: {
|
|
15
|
+
type: import("vue").PropType<boolean>;
|
|
16
|
+
};
|
|
17
|
+
placeholder: {
|
|
18
|
+
type: import("vue").PropType<string>;
|
|
19
|
+
};
|
|
20
|
+
label: {
|
|
21
|
+
type: import("vue").PropType<string>;
|
|
22
|
+
};
|
|
23
|
+
name: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
rules: {
|
|
28
|
+
type: import("vue").PropType<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<string[]> | import("vee-validate").GenericValidateFunction<string[]>[] | {
|
|
29
|
+
validate(value: string[], options: Record<string, any>): Promise<string[]>;
|
|
30
|
+
}>;
|
|
31
|
+
};
|
|
32
|
+
validateOnMount: {
|
|
33
|
+
type: import("vue").PropType<boolean>;
|
|
34
|
+
};
|
|
35
|
+
showRequired: {
|
|
36
|
+
type: import("vue").PropType<boolean>;
|
|
37
|
+
};
|
|
38
|
+
validateOnValueUpdate: {
|
|
39
|
+
type: import("vue").PropType<boolean>;
|
|
40
|
+
};
|
|
41
|
+
help: {
|
|
42
|
+
type: import("vue").PropType<string>;
|
|
43
|
+
};
|
|
44
|
+
showLabel: {
|
|
45
|
+
type: import("vue").PropType<boolean>;
|
|
46
|
+
};
|
|
47
|
+
autoFocus: {
|
|
48
|
+
type: import("vue").PropType<boolean>;
|
|
49
|
+
};
|
|
50
|
+
showClear: {
|
|
51
|
+
type: import("vue").PropType<boolean>;
|
|
52
|
+
};
|
|
53
|
+
useLabelInErrors: {
|
|
54
|
+
type: import("vue").PropType<boolean>;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
wrapperClasses: {
|
|
58
|
+
type: import("vue").PropType<string>;
|
|
59
|
+
};
|
|
60
|
+
getAutocompleteItems: {
|
|
61
|
+
type: import("vue").PropType<(query: string) => MaybeAsync<string[]>>;
|
|
62
|
+
};
|
|
63
|
+
}, {
|
|
64
|
+
resolveAutocompleteItems: () => Promise<void>;
|
|
65
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
66
|
+
change: (val: {
|
|
67
|
+
event?: Event | undefined;
|
|
68
|
+
value: string[];
|
|
69
|
+
}) => void;
|
|
70
|
+
clear: () => void;
|
|
71
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
+
modelValue: import("vue").PropType<string[]>;
|
|
73
|
+
size: {
|
|
74
|
+
type: import("vue").PropType<InputSize>;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
color: {
|
|
78
|
+
type: import("vue").PropType<InputColor>;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
disabled: {
|
|
82
|
+
type: import("vue").PropType<boolean>;
|
|
83
|
+
};
|
|
84
|
+
placeholder: {
|
|
85
|
+
type: import("vue").PropType<string>;
|
|
86
|
+
};
|
|
87
|
+
label: {
|
|
88
|
+
type: import("vue").PropType<string>;
|
|
89
|
+
};
|
|
90
|
+
name: {
|
|
91
|
+
type: import("vue").PropType<string>;
|
|
92
|
+
required: true;
|
|
93
|
+
};
|
|
94
|
+
rules: {
|
|
95
|
+
type: import("vue").PropType<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<string[]> | import("vee-validate").GenericValidateFunction<string[]>[] | {
|
|
96
|
+
validate(value: string[], options: Record<string, any>): Promise<string[]>;
|
|
97
|
+
}>;
|
|
98
|
+
};
|
|
99
|
+
validateOnMount: {
|
|
100
|
+
type: import("vue").PropType<boolean>;
|
|
101
|
+
};
|
|
102
|
+
showRequired: {
|
|
103
|
+
type: import("vue").PropType<boolean>;
|
|
104
|
+
};
|
|
105
|
+
validateOnValueUpdate: {
|
|
106
|
+
type: import("vue").PropType<boolean>;
|
|
107
|
+
};
|
|
108
|
+
help: {
|
|
109
|
+
type: import("vue").PropType<string>;
|
|
110
|
+
};
|
|
111
|
+
showLabel: {
|
|
112
|
+
type: import("vue").PropType<boolean>;
|
|
113
|
+
};
|
|
114
|
+
autoFocus: {
|
|
115
|
+
type: import("vue").PropType<boolean>;
|
|
116
|
+
};
|
|
117
|
+
showClear: {
|
|
118
|
+
type: import("vue").PropType<boolean>;
|
|
119
|
+
};
|
|
120
|
+
useLabelInErrors: {
|
|
121
|
+
type: import("vue").PropType<boolean>;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
wrapperClasses: {
|
|
125
|
+
type: import("vue").PropType<string>;
|
|
126
|
+
};
|
|
127
|
+
getAutocompleteItems: {
|
|
128
|
+
type: import("vue").PropType<(query: string) => MaybeAsync<string[]>>;
|
|
129
|
+
};
|
|
130
|
+
}>> & {
|
|
131
|
+
onChange?: ((val: {
|
|
132
|
+
event?: Event | undefined;
|
|
133
|
+
value: string[];
|
|
134
|
+
}) => any) | undefined;
|
|
135
|
+
onClear?: (() => any) | undefined;
|
|
136
|
+
}, {
|
|
137
|
+
size: InputSize;
|
|
138
|
+
color: InputColor;
|
|
139
|
+
useLabelInErrors: boolean;
|
|
140
|
+
}, {}>;
|
|
141
|
+
export default _default;
|
|
@@ -313,8 +313,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
313
313
|
showClear: boolean;
|
|
314
314
|
useLabelInErrors: boolean;
|
|
315
315
|
hideErrorMessage: boolean;
|
|
316
|
-
inputClasses: string;
|
|
317
316
|
wrapperClasses: string;
|
|
317
|
+
inputClasses: string;
|
|
318
318
|
}, {}>, {
|
|
319
319
|
"input-right"?(_: {}): any;
|
|
320
320
|
}>;
|