@solfacil/girassol 0.1.8 → 0.1.11
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/README.md +46 -3
- package/cli/bin/{girassol → girassol-cli} +0 -0
- package/cli/build/cli.js +68 -0
- package/cli/build/commands/create:component.js +124 -0
- package/cli/build/commands/generate:plugin.js +89 -0
- package/cli/build/commands/generate:types.js +76 -0
- package/cli/build/commands/girassol-cli.js +52 -0
- package/cli/build/extensions/cli-extension.js +17 -0
- package/cli/build/templates/components.d.ts.ejs +1 -0
- package/cli/build/templates/nuxt-plugin.ejs +8 -0
- package/cli/build/templates/vue-plugin.ejs +5 -0
- package/cli/{src → build}/templates/windi.config.ts.ejs +0 -0
- package/cli/build/types/cli.d.ts +1 -0
- package/cli/build/types/commands/create:component.d.ts +1 -0
- package/cli/build/types/commands/generate:plugin.d.ts +1 -0
- package/cli/build/types/commands/generate:types.d.ts +7 -0
- package/cli/build/types/commands/girassol-cli.d.ts +1 -0
- package/cli/build/types/extensions/cli-extension.d.ts +1 -0
- package/cli/build/types/types.d.ts +0 -0
- package/cli/build/types.js +2 -0
- package/dist/cli/src/cli.d.ts +1 -0
- package/dist/cli/src/commands/create:component.d.ts +1 -0
- package/dist/cli/src/commands/generate:plugin.d.ts +1 -0
- package/dist/cli/src/commands/generate:types.d.ts +7 -0
- package/dist/cli/src/commands/girassol-cli.d.ts +1 -0
- package/dist/cli/src/extensions/cli-extension.d.ts +1 -0
- package/dist/cli/src/types.d.ts +0 -0
- package/dist/components.d.ts +22 -0
- package/dist/components.json +1 -0
- package/dist/girassol.es.js +281 -206
- package/dist/girassol.umd.js +22 -5
- package/dist/style.css +1 -1
- package/dist/types/components/accordion/Accordion.vue.d.ts +32 -0
- package/dist/types/components/accordion/accordion.spec.d.ts +1 -0
- package/dist/types/components/accordion/index.d.ts +2 -0
- package/dist/types/components/dropdown/Dropdown.vue.d.ts +4 -0
- package/dist/types/components/forms/checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/dist/types/components/forms/radio/RadioGroup.vue.d.ts +1 -1
- package/dist/types/components/forms/select/Select.vue.d.ts +6 -5
- package/dist/types/components/forms/textarea/Textarea.vue.d.ts +1 -1
- package/dist/types/components/forms/textfield/Textfield.vue.d.ts +1 -1
- package/dist/types/index.d.ts +876 -2
- package/dist/vite-modules/generate-component-types.d.ts +3 -0
- package/package.json +50 -27
- package/vite.config.ts +4 -0
- package/cli/.eslintrc.js +0 -18
- package/cli/LICENSE +0 -21
- package/cli/docs/commands.md +0 -3
- package/cli/docs/plugins.md +0 -47
- package/cli/package.json +0 -53
- package/cli/readme.md +0 -26
- package/cli/src/cli.ts +0 -25
- package/cli/src/commands/create:component.ts +0 -93
- package/cli/src/commands/generate:plugin.ts +0 -68
- package/cli/src/commands/generate:types.ts +0 -38
- package/cli/src/commands/girassol.ts +0 -12
- package/cli/src/extensions/cli-extension.ts +0 -17
- package/cli/src/templates/components/component.spec.ts.ejs +0 -20
- package/cli/src/templates/components/component.stories.mdx.ejs +0 -74
- package/cli/src/templates/components/component.vue.ejs +0 -23
- package/cli/src/templates/components/index.ts.ejs +0 -10
- package/cli/src/templates/components.d.ts.ejs +0 -10
- package/cli/src/templates/nuxt-plugin.ejs +0 -7
- package/cli/src/templates/vue-plugin.ejs +0 -5
- package/cli/src/types.ts +0 -1
- package/cli/tsconfig.json +0 -28
- package/cli/yarn.lock +0 -1804
package/dist/types/index.d.ts
CHANGED
|
@@ -9,11 +9,885 @@ import { SolSwitch } from './components/forms/switch';
|
|
|
9
9
|
import { SolDropdown } from './components/dropdown/';
|
|
10
10
|
import { SolSelect } from './components/forms/select';
|
|
11
11
|
import { SolChip } from './components/informations/chip';
|
|
12
|
+
import { SolAccordion } from './components/accordion/';
|
|
12
13
|
import 'virtual:windi-base.css';
|
|
13
14
|
import 'virtual:windi-components.css';
|
|
14
15
|
import 'virtual:windi-utilities.css';
|
|
15
16
|
import '@/assets/style.css';
|
|
16
17
|
export { useToast } from './composables/use-toast';
|
|
18
|
+
export declare const components: {
|
|
19
|
+
SolButton: import("vue").DefineComponent<{
|
|
20
|
+
id: {
|
|
21
|
+
type: import("vue").PropType<string>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
invert: {
|
|
25
|
+
type: import("vue").PropType<boolean>;
|
|
26
|
+
} & {
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
variant: {
|
|
30
|
+
type: import("vue").PropType<"flat" | "primary" | "secondary">;
|
|
31
|
+
} & {
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
dense: {
|
|
35
|
+
type: import("vue").PropType<boolean>;
|
|
36
|
+
} & {
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
id: {
|
|
41
|
+
type: import("vue").PropType<string>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
invert: {
|
|
45
|
+
type: import("vue").PropType<boolean>;
|
|
46
|
+
} & {
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
variant: {
|
|
50
|
+
type: import("vue").PropType<"flat" | "primary" | "secondary">;
|
|
51
|
+
} & {
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
dense: {
|
|
55
|
+
type: import("vue").PropType<boolean>;
|
|
56
|
+
} & {
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
}>>, {
|
|
60
|
+
invert: boolean;
|
|
61
|
+
variant: "flat" | "primary" | "secondary";
|
|
62
|
+
dense: boolean;
|
|
63
|
+
}>;
|
|
64
|
+
SolInput: import("vue").DefineComponent<{
|
|
65
|
+
id: {
|
|
66
|
+
type: import("vue").PropType<string>;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
modelValue: {
|
|
70
|
+
type: import("vue").PropType<string | number>;
|
|
71
|
+
required: true;
|
|
72
|
+
};
|
|
73
|
+
invert: {
|
|
74
|
+
type: import("vue").PropType<boolean>;
|
|
75
|
+
};
|
|
76
|
+
error: {
|
|
77
|
+
type: import("vue").PropType<boolean>;
|
|
78
|
+
};
|
|
79
|
+
}, {
|
|
80
|
+
input: import("vue").Ref<string>;
|
|
81
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
82
|
+
"update:modelValue": (event: string) => void;
|
|
83
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
84
|
+
id: {
|
|
85
|
+
type: import("vue").PropType<string>;
|
|
86
|
+
required: true;
|
|
87
|
+
};
|
|
88
|
+
modelValue: {
|
|
89
|
+
type: import("vue").PropType<string | number>;
|
|
90
|
+
required: true;
|
|
91
|
+
};
|
|
92
|
+
invert: {
|
|
93
|
+
type: import("vue").PropType<boolean>;
|
|
94
|
+
};
|
|
95
|
+
error: {
|
|
96
|
+
type: import("vue").PropType<boolean>;
|
|
97
|
+
};
|
|
98
|
+
}>> & {
|
|
99
|
+
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
100
|
+
}, {}>;
|
|
101
|
+
SolTextarea: import("vue").DefineComponent<{
|
|
102
|
+
id: {
|
|
103
|
+
type: import("vue").PropType<string>;
|
|
104
|
+
required: true;
|
|
105
|
+
};
|
|
106
|
+
invert: {
|
|
107
|
+
type: import("vue").PropType<boolean>;
|
|
108
|
+
};
|
|
109
|
+
class: {
|
|
110
|
+
type: import("vue").PropType<string>;
|
|
111
|
+
};
|
|
112
|
+
label: {
|
|
113
|
+
type: import("vue").PropType<string>;
|
|
114
|
+
} & {
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
modelValue: {
|
|
118
|
+
type: import("vue").PropType<string>;
|
|
119
|
+
} & {
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
error: {
|
|
123
|
+
type: import("vue").PropType<string>;
|
|
124
|
+
};
|
|
125
|
+
resize: {
|
|
126
|
+
type: import("vue").PropType<"both" | "horizontal" | "vertical" | "none">;
|
|
127
|
+
} & {
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
hint: {
|
|
131
|
+
type: import("vue").PropType<string>;
|
|
132
|
+
};
|
|
133
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
134
|
+
"update:modelValue": (event: string) => void;
|
|
135
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
136
|
+
id: {
|
|
137
|
+
type: import("vue").PropType<string>;
|
|
138
|
+
required: true;
|
|
139
|
+
};
|
|
140
|
+
invert: {
|
|
141
|
+
type: import("vue").PropType<boolean>;
|
|
142
|
+
};
|
|
143
|
+
class: {
|
|
144
|
+
type: import("vue").PropType<string>;
|
|
145
|
+
};
|
|
146
|
+
label: {
|
|
147
|
+
type: import("vue").PropType<string>;
|
|
148
|
+
} & {
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
modelValue: {
|
|
152
|
+
type: import("vue").PropType<string>;
|
|
153
|
+
} & {
|
|
154
|
+
default: string;
|
|
155
|
+
};
|
|
156
|
+
error: {
|
|
157
|
+
type: import("vue").PropType<string>;
|
|
158
|
+
};
|
|
159
|
+
resize: {
|
|
160
|
+
type: import("vue").PropType<"both" | "horizontal" | "vertical" | "none">;
|
|
161
|
+
} & {
|
|
162
|
+
default: string;
|
|
163
|
+
};
|
|
164
|
+
hint: {
|
|
165
|
+
type: import("vue").PropType<string>;
|
|
166
|
+
};
|
|
167
|
+
}>> & {
|
|
168
|
+
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
169
|
+
}, {
|
|
170
|
+
label: string;
|
|
171
|
+
modelValue: string;
|
|
172
|
+
resize: "both" | "horizontal" | "vertical" | "none";
|
|
173
|
+
}>;
|
|
174
|
+
SolTextfield: import("vue").DefineComponent<{
|
|
175
|
+
id: {
|
|
176
|
+
type: import("vue").PropType<string>;
|
|
177
|
+
required: true;
|
|
178
|
+
};
|
|
179
|
+
invert: {
|
|
180
|
+
type: import("vue").PropType<boolean>;
|
|
181
|
+
};
|
|
182
|
+
class: {
|
|
183
|
+
type: import("vue").PropType<string>;
|
|
184
|
+
};
|
|
185
|
+
label: {
|
|
186
|
+
type: import("vue").PropType<string>;
|
|
187
|
+
} & {
|
|
188
|
+
default: string;
|
|
189
|
+
};
|
|
190
|
+
modelValue: {
|
|
191
|
+
type: import("vue").PropType<string | number>;
|
|
192
|
+
} & {
|
|
193
|
+
default: string;
|
|
194
|
+
};
|
|
195
|
+
error: {
|
|
196
|
+
type: import("vue").PropType<string>;
|
|
197
|
+
};
|
|
198
|
+
hint: {
|
|
199
|
+
type: import("vue").PropType<string>;
|
|
200
|
+
};
|
|
201
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
202
|
+
"update:modelValue": (event: string | number) => void;
|
|
203
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
204
|
+
id: {
|
|
205
|
+
type: import("vue").PropType<string>;
|
|
206
|
+
required: true;
|
|
207
|
+
};
|
|
208
|
+
invert: {
|
|
209
|
+
type: import("vue").PropType<boolean>;
|
|
210
|
+
};
|
|
211
|
+
class: {
|
|
212
|
+
type: import("vue").PropType<string>;
|
|
213
|
+
};
|
|
214
|
+
label: {
|
|
215
|
+
type: import("vue").PropType<string>;
|
|
216
|
+
} & {
|
|
217
|
+
default: string;
|
|
218
|
+
};
|
|
219
|
+
modelValue: {
|
|
220
|
+
type: import("vue").PropType<string | number>;
|
|
221
|
+
} & {
|
|
222
|
+
default: string;
|
|
223
|
+
};
|
|
224
|
+
error: {
|
|
225
|
+
type: import("vue").PropType<string>;
|
|
226
|
+
};
|
|
227
|
+
hint: {
|
|
228
|
+
type: import("vue").PropType<string>;
|
|
229
|
+
};
|
|
230
|
+
}>> & {
|
|
231
|
+
"onUpdate:modelValue"?: ((event: string | number) => any) | undefined;
|
|
232
|
+
}, {
|
|
233
|
+
label: string;
|
|
234
|
+
modelValue: string | number;
|
|
235
|
+
}>;
|
|
236
|
+
SolTextfieldPassword: import("vue").DefineComponent<{
|
|
237
|
+
id: {
|
|
238
|
+
type: import("vue").PropType<string>;
|
|
239
|
+
required: true;
|
|
240
|
+
} & {
|
|
241
|
+
default: string;
|
|
242
|
+
};
|
|
243
|
+
label: {
|
|
244
|
+
type: import("vue").PropType<string>;
|
|
245
|
+
} & {
|
|
246
|
+
default: string;
|
|
247
|
+
};
|
|
248
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
249
|
+
id: {
|
|
250
|
+
type: import("vue").PropType<string>;
|
|
251
|
+
required: true;
|
|
252
|
+
} & {
|
|
253
|
+
default: string;
|
|
254
|
+
};
|
|
255
|
+
label: {
|
|
256
|
+
type: import("vue").PropType<string>;
|
|
257
|
+
} & {
|
|
258
|
+
default: string;
|
|
259
|
+
};
|
|
260
|
+
}>>, {
|
|
261
|
+
id: string;
|
|
262
|
+
label: string;
|
|
263
|
+
}>;
|
|
264
|
+
SolRadio: import("vue").DefineComponent<{
|
|
265
|
+
id: {
|
|
266
|
+
type: import("vue").PropType<string | undefined>;
|
|
267
|
+
required: true;
|
|
268
|
+
};
|
|
269
|
+
name: {
|
|
270
|
+
type: import("vue").PropType<string>;
|
|
271
|
+
required: true;
|
|
272
|
+
};
|
|
273
|
+
value: {
|
|
274
|
+
type: import("vue").PropType<import("./components/forms/radio/radio-type").RadioValue>;
|
|
275
|
+
required: true;
|
|
276
|
+
};
|
|
277
|
+
label: {
|
|
278
|
+
type: import("vue").PropType<string>;
|
|
279
|
+
required: true;
|
|
280
|
+
};
|
|
281
|
+
checked: {
|
|
282
|
+
type: import("vue").PropType<boolean>;
|
|
283
|
+
};
|
|
284
|
+
class: {
|
|
285
|
+
type: import("vue").PropType<string | Record<string, boolean>>;
|
|
286
|
+
};
|
|
287
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
288
|
+
change: (value: import("./components/forms/radio/radio-type").RadioValue) => void;
|
|
289
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
290
|
+
id: {
|
|
291
|
+
type: import("vue").PropType<string | undefined>;
|
|
292
|
+
required: true;
|
|
293
|
+
};
|
|
294
|
+
name: {
|
|
295
|
+
type: import("vue").PropType<string>;
|
|
296
|
+
required: true;
|
|
297
|
+
};
|
|
298
|
+
value: {
|
|
299
|
+
type: import("vue").PropType<import("./components/forms/radio/radio-type").RadioValue>;
|
|
300
|
+
required: true;
|
|
301
|
+
};
|
|
302
|
+
label: {
|
|
303
|
+
type: import("vue").PropType<string>;
|
|
304
|
+
required: true;
|
|
305
|
+
};
|
|
306
|
+
checked: {
|
|
307
|
+
type: import("vue").PropType<boolean>;
|
|
308
|
+
};
|
|
309
|
+
class: {
|
|
310
|
+
type: import("vue").PropType<string | Record<string, boolean>>;
|
|
311
|
+
};
|
|
312
|
+
}>> & {
|
|
313
|
+
onChange?: ((value: import("./components/forms/radio/radio-type").RadioValue) => any) | undefined;
|
|
314
|
+
}, {}>;
|
|
315
|
+
SolRadioGroup: import("vue").DefineComponent<{
|
|
316
|
+
id: {
|
|
317
|
+
type: import("vue").PropType<string>;
|
|
318
|
+
required: true;
|
|
319
|
+
};
|
|
320
|
+
title: {
|
|
321
|
+
type: import("vue").PropType<string>;
|
|
322
|
+
required: true;
|
|
323
|
+
};
|
|
324
|
+
modelValue: {
|
|
325
|
+
type: import("vue").PropType<import("./components/forms/radio/radio-type").RadioValue>;
|
|
326
|
+
required: true;
|
|
327
|
+
};
|
|
328
|
+
error: {
|
|
329
|
+
type: import("vue").PropType<string>;
|
|
330
|
+
};
|
|
331
|
+
direction: {
|
|
332
|
+
type: import("vue").PropType<"row" | "column">;
|
|
333
|
+
} & {
|
|
334
|
+
default: string;
|
|
335
|
+
};
|
|
336
|
+
hideTitle: {
|
|
337
|
+
type: import("vue").PropType<boolean>;
|
|
338
|
+
} & {
|
|
339
|
+
default: boolean;
|
|
340
|
+
};
|
|
341
|
+
hint: {
|
|
342
|
+
type: import("vue").PropType<string>;
|
|
343
|
+
};
|
|
344
|
+
radios: {
|
|
345
|
+
type: import("vue").PropType<import("./components/forms/radio/radio-type").Radio[]>;
|
|
346
|
+
required: true;
|
|
347
|
+
};
|
|
348
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
349
|
+
change: (value: import("./components/forms/radio/radio-type").RadioValue) => void;
|
|
350
|
+
} & {
|
|
351
|
+
"update:modelValue": (value: import("./components/forms/radio/radio-type").RadioValue) => void;
|
|
352
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
353
|
+
id: {
|
|
354
|
+
type: import("vue").PropType<string>;
|
|
355
|
+
required: true;
|
|
356
|
+
};
|
|
357
|
+
title: {
|
|
358
|
+
type: import("vue").PropType<string>;
|
|
359
|
+
required: true;
|
|
360
|
+
};
|
|
361
|
+
modelValue: {
|
|
362
|
+
type: import("vue").PropType<import("./components/forms/radio/radio-type").RadioValue>;
|
|
363
|
+
required: true;
|
|
364
|
+
};
|
|
365
|
+
error: {
|
|
366
|
+
type: import("vue").PropType<string>;
|
|
367
|
+
};
|
|
368
|
+
direction: {
|
|
369
|
+
type: import("vue").PropType<"row" | "column">;
|
|
370
|
+
} & {
|
|
371
|
+
default: string;
|
|
372
|
+
};
|
|
373
|
+
hideTitle: {
|
|
374
|
+
type: import("vue").PropType<boolean>;
|
|
375
|
+
} & {
|
|
376
|
+
default: boolean;
|
|
377
|
+
};
|
|
378
|
+
hint: {
|
|
379
|
+
type: import("vue").PropType<string>;
|
|
380
|
+
};
|
|
381
|
+
radios: {
|
|
382
|
+
type: import("vue").PropType<import("./components/forms/radio/radio-type").Radio[]>;
|
|
383
|
+
required: true;
|
|
384
|
+
};
|
|
385
|
+
}>> & {
|
|
386
|
+
onChange?: ((value: import("./components/forms/radio/radio-type").RadioValue) => any) | undefined;
|
|
387
|
+
"onUpdate:modelValue"?: ((value: import("./components/forms/radio/radio-type").RadioValue) => any) | undefined;
|
|
388
|
+
}, {
|
|
389
|
+
direction: "row" | "column";
|
|
390
|
+
hideTitle: boolean;
|
|
391
|
+
}>;
|
|
392
|
+
SolCheckbox: import("vue").DefineComponent<{
|
|
393
|
+
id: {
|
|
394
|
+
type: import("vue").PropType<string | undefined>;
|
|
395
|
+
required: true;
|
|
396
|
+
};
|
|
397
|
+
name: {
|
|
398
|
+
type: import("vue").PropType<string>;
|
|
399
|
+
required: true;
|
|
400
|
+
};
|
|
401
|
+
value: {
|
|
402
|
+
type: import("vue").PropType<import("./components/forms/checkbox/checkbox-type").CheckboxValue>;
|
|
403
|
+
required: true;
|
|
404
|
+
};
|
|
405
|
+
label: {
|
|
406
|
+
type: import("vue").PropType<string>;
|
|
407
|
+
required: true;
|
|
408
|
+
};
|
|
409
|
+
checked: {
|
|
410
|
+
type: import("vue").PropType<boolean>;
|
|
411
|
+
};
|
|
412
|
+
class: {
|
|
413
|
+
type: import("vue").PropType<string | Record<string, boolean>>;
|
|
414
|
+
};
|
|
415
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
416
|
+
change: (value: import("./components/forms/checkbox/checkbox-type").CheckboxValue) => void;
|
|
417
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
418
|
+
id: {
|
|
419
|
+
type: import("vue").PropType<string | undefined>;
|
|
420
|
+
required: true;
|
|
421
|
+
};
|
|
422
|
+
name: {
|
|
423
|
+
type: import("vue").PropType<string>;
|
|
424
|
+
required: true;
|
|
425
|
+
};
|
|
426
|
+
value: {
|
|
427
|
+
type: import("vue").PropType<import("./components/forms/checkbox/checkbox-type").CheckboxValue>;
|
|
428
|
+
required: true;
|
|
429
|
+
};
|
|
430
|
+
label: {
|
|
431
|
+
type: import("vue").PropType<string>;
|
|
432
|
+
required: true;
|
|
433
|
+
};
|
|
434
|
+
checked: {
|
|
435
|
+
type: import("vue").PropType<boolean>;
|
|
436
|
+
};
|
|
437
|
+
class: {
|
|
438
|
+
type: import("vue").PropType<string | Record<string, boolean>>;
|
|
439
|
+
};
|
|
440
|
+
}>> & {
|
|
441
|
+
onChange?: ((value: import("./components/forms/checkbox/checkbox-type").CheckboxValue) => any) | undefined;
|
|
442
|
+
}, {}>;
|
|
443
|
+
SolCheckboxGroup: import("vue").DefineComponent<{
|
|
444
|
+
id: {
|
|
445
|
+
type: import("vue").PropType<string>;
|
|
446
|
+
required: true;
|
|
447
|
+
};
|
|
448
|
+
title: {
|
|
449
|
+
type: import("vue").PropType<string>;
|
|
450
|
+
required: true;
|
|
451
|
+
};
|
|
452
|
+
modelValue: {
|
|
453
|
+
type: import("vue").PropType<import("./components/forms/checkbox/checkbox-type").CheckboxValue[]>;
|
|
454
|
+
};
|
|
455
|
+
error: {
|
|
456
|
+
type: import("vue").PropType<string>;
|
|
457
|
+
};
|
|
458
|
+
direction: {
|
|
459
|
+
type: import("vue").PropType<"row" | "column">;
|
|
460
|
+
} & {
|
|
461
|
+
default: string;
|
|
462
|
+
};
|
|
463
|
+
hideTitle: {
|
|
464
|
+
type: import("vue").PropType<boolean>;
|
|
465
|
+
} & {
|
|
466
|
+
default: boolean;
|
|
467
|
+
};
|
|
468
|
+
hint: {
|
|
469
|
+
type: import("vue").PropType<string>;
|
|
470
|
+
};
|
|
471
|
+
checkboxes: {
|
|
472
|
+
type: import("vue").PropType<import("./components/forms/checkbox/checkbox-type").Checkbox[]>;
|
|
473
|
+
required: true;
|
|
474
|
+
};
|
|
475
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
476
|
+
change: (value: import("./components/forms/checkbox/checkbox-type").CheckboxValue) => void;
|
|
477
|
+
} & {
|
|
478
|
+
"update:modelValue": (a: any) => void;
|
|
479
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
480
|
+
id: {
|
|
481
|
+
type: import("vue").PropType<string>;
|
|
482
|
+
required: true;
|
|
483
|
+
};
|
|
484
|
+
title: {
|
|
485
|
+
type: import("vue").PropType<string>;
|
|
486
|
+
required: true;
|
|
487
|
+
};
|
|
488
|
+
modelValue: {
|
|
489
|
+
type: import("vue").PropType<import("./components/forms/checkbox/checkbox-type").CheckboxValue[]>;
|
|
490
|
+
};
|
|
491
|
+
error: {
|
|
492
|
+
type: import("vue").PropType<string>;
|
|
493
|
+
};
|
|
494
|
+
direction: {
|
|
495
|
+
type: import("vue").PropType<"row" | "column">;
|
|
496
|
+
} & {
|
|
497
|
+
default: string;
|
|
498
|
+
};
|
|
499
|
+
hideTitle: {
|
|
500
|
+
type: import("vue").PropType<boolean>;
|
|
501
|
+
} & {
|
|
502
|
+
default: boolean;
|
|
503
|
+
};
|
|
504
|
+
hint: {
|
|
505
|
+
type: import("vue").PropType<string>;
|
|
506
|
+
};
|
|
507
|
+
checkboxes: {
|
|
508
|
+
type: import("vue").PropType<import("./components/forms/checkbox/checkbox-type").Checkbox[]>;
|
|
509
|
+
required: true;
|
|
510
|
+
};
|
|
511
|
+
}>> & {
|
|
512
|
+
onChange?: ((value: import("./components/forms/checkbox/checkbox-type").CheckboxValue) => any) | undefined;
|
|
513
|
+
"onUpdate:modelValue"?: ((a: any) => any) | undefined;
|
|
514
|
+
}, {
|
|
515
|
+
direction: "row" | "column";
|
|
516
|
+
hideTitle: boolean;
|
|
517
|
+
}>;
|
|
518
|
+
SolSwitch: import("vue").DefineComponent<{
|
|
519
|
+
id: {
|
|
520
|
+
type: import("vue").PropType<string>;
|
|
521
|
+
required: true;
|
|
522
|
+
};
|
|
523
|
+
name: {
|
|
524
|
+
type: import("vue").PropType<string>;
|
|
525
|
+
required: true;
|
|
526
|
+
};
|
|
527
|
+
value: {
|
|
528
|
+
type: import("vue").PropType<string>;
|
|
529
|
+
required: true;
|
|
530
|
+
};
|
|
531
|
+
label: {
|
|
532
|
+
type: import("vue").PropType<string>;
|
|
533
|
+
required: true;
|
|
534
|
+
};
|
|
535
|
+
checked: {
|
|
536
|
+
type: import("vue").PropType<boolean>;
|
|
537
|
+
};
|
|
538
|
+
class: {
|
|
539
|
+
type: import("vue").PropType<string | Record<string, boolean>>;
|
|
540
|
+
};
|
|
541
|
+
hideLabel: {
|
|
542
|
+
type: import("vue").PropType<boolean>;
|
|
543
|
+
};
|
|
544
|
+
horizontalLabel: {
|
|
545
|
+
type: import("vue").PropType<boolean>;
|
|
546
|
+
};
|
|
547
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
548
|
+
change: (value: string) => void;
|
|
549
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
550
|
+
id: {
|
|
551
|
+
type: import("vue").PropType<string>;
|
|
552
|
+
required: true;
|
|
553
|
+
};
|
|
554
|
+
name: {
|
|
555
|
+
type: import("vue").PropType<string>;
|
|
556
|
+
required: true;
|
|
557
|
+
};
|
|
558
|
+
value: {
|
|
559
|
+
type: import("vue").PropType<string>;
|
|
560
|
+
required: true;
|
|
561
|
+
};
|
|
562
|
+
label: {
|
|
563
|
+
type: import("vue").PropType<string>;
|
|
564
|
+
required: true;
|
|
565
|
+
};
|
|
566
|
+
checked: {
|
|
567
|
+
type: import("vue").PropType<boolean>;
|
|
568
|
+
};
|
|
569
|
+
class: {
|
|
570
|
+
type: import("vue").PropType<string | Record<string, boolean>>;
|
|
571
|
+
};
|
|
572
|
+
hideLabel: {
|
|
573
|
+
type: import("vue").PropType<boolean>;
|
|
574
|
+
};
|
|
575
|
+
horizontalLabel: {
|
|
576
|
+
type: import("vue").PropType<boolean>;
|
|
577
|
+
};
|
|
578
|
+
}>> & {
|
|
579
|
+
onChange?: ((value: string) => any) | undefined;
|
|
580
|
+
}, {}>;
|
|
581
|
+
SolDropdown: import("vue").DefineComponent<{
|
|
582
|
+
id: {
|
|
583
|
+
type: import("vue").PropType<string>;
|
|
584
|
+
required: true;
|
|
585
|
+
};
|
|
586
|
+
disabled: {
|
|
587
|
+
type: import("vue").PropType<boolean>;
|
|
588
|
+
};
|
|
589
|
+
label: {
|
|
590
|
+
type: import("vue").PropType<string>;
|
|
591
|
+
};
|
|
592
|
+
ariaLabel: {
|
|
593
|
+
type: import("vue").PropType<string>;
|
|
594
|
+
};
|
|
595
|
+
smallerWidth: {
|
|
596
|
+
type: import("vue").PropType<boolean>;
|
|
597
|
+
};
|
|
598
|
+
loading: {
|
|
599
|
+
type: import("vue").PropType<boolean>;
|
|
600
|
+
} & {
|
|
601
|
+
default: boolean;
|
|
602
|
+
};
|
|
603
|
+
searchable: {
|
|
604
|
+
type: import("vue").PropType<boolean>;
|
|
605
|
+
} & {
|
|
606
|
+
default: boolean;
|
|
607
|
+
};
|
|
608
|
+
closeOnSelect: {
|
|
609
|
+
type: import("vue").PropType<boolean>;
|
|
610
|
+
} & {
|
|
611
|
+
default: boolean;
|
|
612
|
+
};
|
|
613
|
+
fetchOnSearch: {
|
|
614
|
+
type: import("vue").PropType<boolean>;
|
|
615
|
+
} & {
|
|
616
|
+
default: boolean;
|
|
617
|
+
};
|
|
618
|
+
isMultipleSelect: {
|
|
619
|
+
type: import("vue").PropType<boolean>;
|
|
620
|
+
};
|
|
621
|
+
searchPlaceholder: {
|
|
622
|
+
type: import("vue").PropType<string>;
|
|
623
|
+
};
|
|
624
|
+
selected: {
|
|
625
|
+
type: import("vue").PropType<string | string[]>;
|
|
626
|
+
};
|
|
627
|
+
options: {
|
|
628
|
+
type: import("vue").PropType<(string | {
|
|
629
|
+
name: string;
|
|
630
|
+
value: string;
|
|
631
|
+
})[]>;
|
|
632
|
+
required: true;
|
|
633
|
+
} & {
|
|
634
|
+
default: () => never[];
|
|
635
|
+
};
|
|
636
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
637
|
+
closeDropdown: () => void;
|
|
638
|
+
} & {
|
|
639
|
+
search: (value: string) => void;
|
|
640
|
+
} & {
|
|
641
|
+
"update:selected": (value: string | string[]) => void;
|
|
642
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
643
|
+
id: {
|
|
644
|
+
type: import("vue").PropType<string>;
|
|
645
|
+
required: true;
|
|
646
|
+
};
|
|
647
|
+
disabled: {
|
|
648
|
+
type: import("vue").PropType<boolean>;
|
|
649
|
+
};
|
|
650
|
+
label: {
|
|
651
|
+
type: import("vue").PropType<string>;
|
|
652
|
+
};
|
|
653
|
+
ariaLabel: {
|
|
654
|
+
type: import("vue").PropType<string>;
|
|
655
|
+
};
|
|
656
|
+
smallerWidth: {
|
|
657
|
+
type: import("vue").PropType<boolean>;
|
|
658
|
+
};
|
|
659
|
+
loading: {
|
|
660
|
+
type: import("vue").PropType<boolean>;
|
|
661
|
+
} & {
|
|
662
|
+
default: boolean;
|
|
663
|
+
};
|
|
664
|
+
searchable: {
|
|
665
|
+
type: import("vue").PropType<boolean>;
|
|
666
|
+
} & {
|
|
667
|
+
default: boolean;
|
|
668
|
+
};
|
|
669
|
+
closeOnSelect: {
|
|
670
|
+
type: import("vue").PropType<boolean>;
|
|
671
|
+
} & {
|
|
672
|
+
default: boolean;
|
|
673
|
+
};
|
|
674
|
+
fetchOnSearch: {
|
|
675
|
+
type: import("vue").PropType<boolean>;
|
|
676
|
+
} & {
|
|
677
|
+
default: boolean;
|
|
678
|
+
};
|
|
679
|
+
isMultipleSelect: {
|
|
680
|
+
type: import("vue").PropType<boolean>;
|
|
681
|
+
};
|
|
682
|
+
searchPlaceholder: {
|
|
683
|
+
type: import("vue").PropType<string>;
|
|
684
|
+
};
|
|
685
|
+
selected: {
|
|
686
|
+
type: import("vue").PropType<string | string[]>;
|
|
687
|
+
};
|
|
688
|
+
options: {
|
|
689
|
+
type: import("vue").PropType<(string | {
|
|
690
|
+
name: string;
|
|
691
|
+
value: string;
|
|
692
|
+
})[]>;
|
|
693
|
+
required: true;
|
|
694
|
+
} & {
|
|
695
|
+
default: () => never[];
|
|
696
|
+
};
|
|
697
|
+
}>> & {
|
|
698
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
699
|
+
onCloseDropdown?: (() => any) | undefined;
|
|
700
|
+
"onUpdate:selected"?: ((value: string | string[]) => any) | undefined;
|
|
701
|
+
}, {
|
|
702
|
+
loading: boolean;
|
|
703
|
+
searchable: boolean;
|
|
704
|
+
closeOnSelect: boolean;
|
|
705
|
+
fetchOnSearch: boolean;
|
|
706
|
+
options: (string | {
|
|
707
|
+
name: string;
|
|
708
|
+
value: string;
|
|
709
|
+
})[];
|
|
710
|
+
}>;
|
|
711
|
+
SolSelect: import("vue").DefineComponent<{
|
|
712
|
+
id: {
|
|
713
|
+
type: import("vue").PropType<string>;
|
|
714
|
+
required: true;
|
|
715
|
+
};
|
|
716
|
+
disabled: {
|
|
717
|
+
type: import("vue").PropType<boolean>;
|
|
718
|
+
};
|
|
719
|
+
label: {
|
|
720
|
+
type: import("vue").PropType<string>;
|
|
721
|
+
};
|
|
722
|
+
modelValue: {
|
|
723
|
+
type: import("vue").PropType<string | string[]>;
|
|
724
|
+
required: true;
|
|
725
|
+
};
|
|
726
|
+
error: {
|
|
727
|
+
type: import("vue").PropType<string>;
|
|
728
|
+
};
|
|
729
|
+
ariaLabel: {
|
|
730
|
+
type: import("vue").PropType<string>;
|
|
731
|
+
};
|
|
732
|
+
smallerWidth: {
|
|
733
|
+
type: import("vue").PropType<boolean>;
|
|
734
|
+
};
|
|
735
|
+
searchable: {
|
|
736
|
+
type: import("vue").PropType<boolean>;
|
|
737
|
+
};
|
|
738
|
+
searchPlaceholder: {
|
|
739
|
+
type: import("vue").PropType<string>;
|
|
740
|
+
};
|
|
741
|
+
options: {
|
|
742
|
+
type: import("vue").PropType<any>;
|
|
743
|
+
required: true;
|
|
744
|
+
};
|
|
745
|
+
placeholder: {
|
|
746
|
+
type: import("vue").PropType<string>;
|
|
747
|
+
} & {
|
|
748
|
+
default: string;
|
|
749
|
+
};
|
|
750
|
+
multiple: {
|
|
751
|
+
type: import("vue").PropType<boolean>;
|
|
752
|
+
};
|
|
753
|
+
fetchOnApi: {
|
|
754
|
+
type: import("vue").PropType<boolean>;
|
|
755
|
+
};
|
|
756
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
757
|
+
"update:modelValue": (value: string | string[]) => void;
|
|
758
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
759
|
+
id: {
|
|
760
|
+
type: import("vue").PropType<string>;
|
|
761
|
+
required: true;
|
|
762
|
+
};
|
|
763
|
+
disabled: {
|
|
764
|
+
type: import("vue").PropType<boolean>;
|
|
765
|
+
};
|
|
766
|
+
label: {
|
|
767
|
+
type: import("vue").PropType<string>;
|
|
768
|
+
};
|
|
769
|
+
modelValue: {
|
|
770
|
+
type: import("vue").PropType<string | string[]>;
|
|
771
|
+
required: true;
|
|
772
|
+
};
|
|
773
|
+
error: {
|
|
774
|
+
type: import("vue").PropType<string>;
|
|
775
|
+
};
|
|
776
|
+
ariaLabel: {
|
|
777
|
+
type: import("vue").PropType<string>;
|
|
778
|
+
};
|
|
779
|
+
smallerWidth: {
|
|
780
|
+
type: import("vue").PropType<boolean>;
|
|
781
|
+
};
|
|
782
|
+
searchable: {
|
|
783
|
+
type: import("vue").PropType<boolean>;
|
|
784
|
+
};
|
|
785
|
+
searchPlaceholder: {
|
|
786
|
+
type: import("vue").PropType<string>;
|
|
787
|
+
};
|
|
788
|
+
options: {
|
|
789
|
+
type: import("vue").PropType<any>;
|
|
790
|
+
required: true;
|
|
791
|
+
};
|
|
792
|
+
placeholder: {
|
|
793
|
+
type: import("vue").PropType<string>;
|
|
794
|
+
} & {
|
|
795
|
+
default: string;
|
|
796
|
+
};
|
|
797
|
+
multiple: {
|
|
798
|
+
type: import("vue").PropType<boolean>;
|
|
799
|
+
};
|
|
800
|
+
fetchOnApi: {
|
|
801
|
+
type: import("vue").PropType<boolean>;
|
|
802
|
+
};
|
|
803
|
+
}>> & {
|
|
804
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
805
|
+
}, {
|
|
806
|
+
placeholder: string;
|
|
807
|
+
}>;
|
|
808
|
+
SolChip: import("vue").DefineComponent<{
|
|
809
|
+
id: {
|
|
810
|
+
type: import("vue").PropType<string>;
|
|
811
|
+
required: true;
|
|
812
|
+
};
|
|
813
|
+
disabled: {
|
|
814
|
+
type: import("vue").PropType<boolean>;
|
|
815
|
+
};
|
|
816
|
+
label: {
|
|
817
|
+
type: import("vue").PropType<string>;
|
|
818
|
+
};
|
|
819
|
+
selected: {
|
|
820
|
+
type: import("vue").PropType<boolean>;
|
|
821
|
+
};
|
|
822
|
+
removable: {
|
|
823
|
+
type: import("vue").PropType<boolean>;
|
|
824
|
+
} & {
|
|
825
|
+
default: boolean;
|
|
826
|
+
};
|
|
827
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
828
|
+
close: () => void;
|
|
829
|
+
} & {
|
|
830
|
+
"update:selected": () => void;
|
|
831
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
832
|
+
id: {
|
|
833
|
+
type: import("vue").PropType<string>;
|
|
834
|
+
required: true;
|
|
835
|
+
};
|
|
836
|
+
disabled: {
|
|
837
|
+
type: import("vue").PropType<boolean>;
|
|
838
|
+
};
|
|
839
|
+
label: {
|
|
840
|
+
type: import("vue").PropType<string>;
|
|
841
|
+
};
|
|
842
|
+
selected: {
|
|
843
|
+
type: import("vue").PropType<boolean>;
|
|
844
|
+
};
|
|
845
|
+
removable: {
|
|
846
|
+
type: import("vue").PropType<boolean>;
|
|
847
|
+
} & {
|
|
848
|
+
default: boolean;
|
|
849
|
+
};
|
|
850
|
+
}>> & {
|
|
851
|
+
"onUpdate:selected"?: (() => any) | undefined;
|
|
852
|
+
onClose?: (() => any) | undefined;
|
|
853
|
+
}, {
|
|
854
|
+
removable: boolean;
|
|
855
|
+
}>;
|
|
856
|
+
SolAccordion: import("vue").DefineComponent<{
|
|
857
|
+
id: {
|
|
858
|
+
type: import("vue").PropType<string>;
|
|
859
|
+
required: true;
|
|
860
|
+
};
|
|
861
|
+
title: {
|
|
862
|
+
type: import("vue").PropType<string>;
|
|
863
|
+
} & {
|
|
864
|
+
default: string;
|
|
865
|
+
};
|
|
866
|
+
invert: {
|
|
867
|
+
type: import("vue").PropType<boolean>;
|
|
868
|
+
};
|
|
869
|
+
disabled: {
|
|
870
|
+
type: import("vue").PropType<boolean>;
|
|
871
|
+
};
|
|
872
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
873
|
+
id: {
|
|
874
|
+
type: import("vue").PropType<string>;
|
|
875
|
+
required: true;
|
|
876
|
+
};
|
|
877
|
+
title: {
|
|
878
|
+
type: import("vue").PropType<string>;
|
|
879
|
+
} & {
|
|
880
|
+
default: string;
|
|
881
|
+
};
|
|
882
|
+
invert: {
|
|
883
|
+
type: import("vue").PropType<boolean>;
|
|
884
|
+
};
|
|
885
|
+
disabled: {
|
|
886
|
+
type: import("vue").PropType<boolean>;
|
|
887
|
+
};
|
|
888
|
+
}>>, {
|
|
889
|
+
title: string;
|
|
890
|
+
}>;
|
|
891
|
+
};
|
|
17
892
|
export declare function install(App: App): void;
|
|
18
|
-
export { SolButton, SolInput, SolTextarea, SolTextfield, SolTextfieldPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolDropdown, SolSelect, SolChip, };
|
|
19
|
-
export declare const componentsNames: string[];
|
|
893
|
+
export { SolButton, SolInput, SolTextarea, SolTextfield, SolTextfieldPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolDropdown, SolSelect, SolChip, SolAccordion, };
|