@dynamicforms/vuetify-inputs 0.2.4 → 0.3.2
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/dynamicforms-vuetify-inputs.js +935 -803
- package/dist/dynamicforms-vuetify-inputs.js.map +1 -1
- package/dist/dynamicforms-vuetify-inputs.umd.cjs +14 -14
- package/dist/dynamicforms-vuetify-inputs.umd.cjs.map +1 -1
- package/dist/index.d.ts +27 -7
- package/dist/style.css +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { ComponentProvideOptions } from 'vue';
|
|
|
5
5
|
import { ComputedRef } from 'vue';
|
|
6
6
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
7
7
|
import { default as default_2 } from '@dynamicforms/vue-forms';
|
|
8
|
+
import { DefaultInputSlot } from 'vuetify/lib/components/VField/VField';
|
|
8
9
|
import { DefineComponent } from 'vue';
|
|
9
10
|
import { Editor } from '@ckeditor/ckeditor5-core';
|
|
10
11
|
import { ExecuteAction } from '@dynamicforms/vue-forms';
|
|
@@ -25,6 +26,7 @@ import { VConfirmEdit } from 'vuetify/components/VConfirmEdit';
|
|
|
25
26
|
import { VDatePicker } from 'vuetify/components/VDatePicker';
|
|
26
27
|
import { VFileInput } from 'vuetify/components/VFileInput';
|
|
27
28
|
import { VIcon } from 'vuetify/components/VIcon';
|
|
29
|
+
import { VImg } from 'vuetify/components/VImg';
|
|
28
30
|
import { VInput } from 'vuetify/components/VInput';
|
|
29
31
|
import { VListItem } from 'vuetify/components/VList';
|
|
30
32
|
import { VMenu } from 'vuetify/components/VMenu';
|
|
@@ -38,15 +40,22 @@ import { VTextField } from 'vuetify/components/VTextField';
|
|
|
38
40
|
import { VTimePicker } from 'vuetify/labs/VTimePicker';
|
|
39
41
|
import { WritableComputedRef } from 'vue';
|
|
40
42
|
|
|
41
|
-
declare const __VLS_component: DefineComponent<
|
|
43
|
+
declare const __VLS_component: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
42
44
|
"update:modelValue": (value: any) => any;
|
|
43
45
|
"click:clear": () => any;
|
|
44
|
-
}, string, PublicProps, Readonly<
|
|
46
|
+
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
45
47
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
46
48
|
"onClick:clear"?: (() => any) | undefined;
|
|
47
49
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
48
50
|
|
|
49
|
-
declare type __VLS_Props =
|
|
51
|
+
declare type __VLS_Props = {
|
|
52
|
+
data?: DefaultInputSlot & {
|
|
53
|
+
label?: string;
|
|
54
|
+
};
|
|
55
|
+
label: Label;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
declare type __VLS_Props_2 = BaseProps;
|
|
50
59
|
|
|
51
60
|
declare function __VLS_template(): {
|
|
52
61
|
attrs: Partial<{}>;
|
|
@@ -121,7 +130,7 @@ export declare interface BaseEmits<T = any> {
|
|
|
121
130
|
export declare interface BaseProps<T = any> {
|
|
122
131
|
control?: default_2.IField<T>;
|
|
123
132
|
modelValue?: T;
|
|
124
|
-
label?: string;
|
|
133
|
+
label?: string | Label;
|
|
125
134
|
errors?: string[];
|
|
126
135
|
placeholder?: string;
|
|
127
136
|
helpText?: string;
|
|
@@ -207,6 +216,8 @@ inputType: "text" | "password" | "email" | "url" | "number";
|
|
|
207
216
|
precision: number | null;
|
|
208
217
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
209
218
|
|
|
219
|
+
export declare const DfLabel: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
220
|
+
|
|
210
221
|
export declare const DfRtfEditor: DefineComponent<Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
211
222
|
"update:modelValue": (value: any) => any;
|
|
212
223
|
"click:clear": () => any;
|
|
@@ -214,8 +225,8 @@ export declare const DfRtfEditor: DefineComponent<Props_7, {}, {}, {}, {}, Compo
|
|
|
214
225
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
215
226
|
"onClick:clear"?: (() => any) | undefined;
|
|
216
227
|
}>, {
|
|
217
|
-
enabled: boolean;
|
|
218
228
|
minHeight: string;
|
|
229
|
+
enabled: boolean;
|
|
219
230
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
220
231
|
$editor: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
221
232
|
modelValue: string;
|
|
@@ -228,9 +239,9 @@ onEditorReady: (editorReady: Editor) => void;
|
|
|
228
239
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
229
240
|
"update:modelValue": (value: string) => any;
|
|
230
241
|
}, PublicProps, {
|
|
231
|
-
modelValue: string;
|
|
232
242
|
disabled: boolean;
|
|
233
243
|
minHeight: string;
|
|
244
|
+
modelValue: string;
|
|
234
245
|
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
235
246
|
editorElement: HTMLDivElement;
|
|
236
247
|
}, HTMLDivElement, ComponentProvideOptions, {
|
|
@@ -249,9 +260,9 @@ disabled?: boolean;
|
|
|
249
260
|
}>, {
|
|
250
261
|
onEditorReady: (editorReady: Editor) => void;
|
|
251
262
|
}, {}, {}, {}, {
|
|
252
|
-
modelValue: string;
|
|
253
263
|
disabled: boolean;
|
|
254
264
|
minHeight: string;
|
|
265
|
+
modelValue: string;
|
|
255
266
|
}> | null;
|
|
256
267
|
}, any>;
|
|
257
268
|
|
|
@@ -325,6 +336,13 @@ export declare function getBreakpointName(dp: ReturnType<typeof useDisplay>): Br
|
|
|
325
336
|
|
|
326
337
|
export declare const InputBase: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
327
338
|
|
|
339
|
+
export declare class Label {
|
|
340
|
+
text: string;
|
|
341
|
+
icon?: string | undefined;
|
|
342
|
+
iconComponent: string;
|
|
343
|
+
constructor(text: string, icon?: string | undefined, iconComponent?: string);
|
|
344
|
+
}
|
|
345
|
+
|
|
328
346
|
export declare interface LabelRenderOptions {
|
|
329
347
|
renderAs?: ActionDisplayStyle;
|
|
330
348
|
showLabel?: boolean;
|
|
@@ -411,6 +429,7 @@ export declare function useInputBase<T = any>(props: BaseProps<T>, emit: BaseEmi
|
|
|
411
429
|
enabled: ComputedRef<boolean>;
|
|
412
430
|
errors: ComputedRef<default_2.ValidationError[]>;
|
|
413
431
|
visibility: ComputedRef<default_2.DisplayMode>;
|
|
432
|
+
label: ComputedRef<Label>;
|
|
414
433
|
vuetifyBindings: ComputedRef< {
|
|
415
434
|
name: string | undefined;
|
|
416
435
|
class: string;
|
|
@@ -443,6 +462,7 @@ export declare namespace VuetifyComponents {
|
|
|
443
462
|
VRow,
|
|
444
463
|
VCol,
|
|
445
464
|
VIcon,
|
|
465
|
+
VImg,
|
|
446
466
|
VInput,
|
|
447
467
|
VListItem,
|
|
448
468
|
VMenu,
|