@dronico/droni-kit 1.20.0 → 1.21.1
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/CHANGELOG.md +14 -0
- package/dist/droni-kit.cjs.js +9 -9
- package/dist/droni-kit.css +1 -1
- package/dist/droni-kit.es.js +1089 -1172
- package/dist/stories/Forms/DuiFile.stories.d.ts +34 -46
- package/dist/stories/Forms/DuiFile.vue.d.ts +24 -36
- package/dist/stories/Forms/DuiInput.stories.d.ts +2 -2
- package/dist/stories/Forms/DuiInput.vue.d.ts +2 -2
- package/dist/stories/Forms/DuiLabel.stories.d.ts +3 -3
- package/dist/stories/Forms/DuiLabel.vue.d.ts +1 -1
- package/dist/stories/Forms/DuiSelect.stories.d.ts +2 -2
- package/dist/stories/Forms/DuiSelect.vue.d.ts +2 -2
- package/dist/stories/Forms/DuiSwitch.stories.d.ts +3 -3
- package/dist/stories/Forms/DuiSwitch.vue.d.ts +1 -1
- package/dist/stories/Forms/DuiTextarea.stories.d.ts +1 -1
- package/dist/stories/Forms/DuiTextarea.vue.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6,14 +6,6 @@ declare const meta: {
|
|
|
6
6
|
type: StringConstructor;
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
|
-
explorerUrl: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
uploadUrl: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
9
|
accept: {
|
|
18
10
|
type: StringConstructor;
|
|
19
11
|
default: string;
|
|
@@ -30,30 +22,24 @@ declare const meta: {
|
|
|
30
22
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
31
23
|
default: string;
|
|
32
24
|
};
|
|
25
|
+
uploadBtn: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
browserBtn: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
33
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
34
|
-
select: (file: File) => any;
|
|
35
34
|
"update:modelValue": (value: string) => any;
|
|
36
|
-
"
|
|
37
|
-
"upload-
|
|
38
|
-
|
|
39
|
-
response: unknown;
|
|
40
|
-
url: string;
|
|
41
|
-
}) => any;
|
|
42
|
-
"upload-error": (error: Error) => any;
|
|
43
|
-
browse: () => any;
|
|
35
|
+
"open-browser": () => any;
|
|
36
|
+
"upload-file": (file: File) => any;
|
|
37
|
+
"open-file": (value: string) => any;
|
|
44
38
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
45
39
|
modelValue: {
|
|
46
40
|
type: StringConstructor;
|
|
47
41
|
default: string;
|
|
48
42
|
};
|
|
49
|
-
explorerUrl: {
|
|
50
|
-
type: StringConstructor;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
uploadUrl: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
43
|
accept: {
|
|
58
44
|
type: StringConstructor;
|
|
59
45
|
default: string;
|
|
@@ -70,25 +56,27 @@ declare const meta: {
|
|
|
70
56
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
71
57
|
default: string;
|
|
72
58
|
};
|
|
59
|
+
uploadBtn: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
browserBtn: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
73
67
|
}>> & Readonly<{
|
|
74
|
-
onSelect?: ((file: File) => any) | undefined;
|
|
75
68
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
76
|
-
"
|
|
77
|
-
"onUpload-
|
|
78
|
-
|
|
79
|
-
response: unknown;
|
|
80
|
-
url: string;
|
|
81
|
-
}) => any) | undefined;
|
|
82
|
-
"onUpload-error"?: ((error: Error) => any) | undefined;
|
|
83
|
-
onBrowse?: (() => any) | undefined;
|
|
69
|
+
"onOpen-browser"?: (() => any) | undefined;
|
|
70
|
+
"onUpload-file"?: ((file: File) => any) | undefined;
|
|
71
|
+
"onOpen-file"?: ((value: string) => any) | undefined;
|
|
84
72
|
}>, {
|
|
85
73
|
size: "sm" | "md" | "lg";
|
|
86
74
|
block: boolean;
|
|
87
75
|
rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
88
76
|
modelValue: string;
|
|
89
|
-
explorerUrl: string;
|
|
90
|
-
uploadUrl: string;
|
|
91
77
|
accept: string;
|
|
78
|
+
uploadBtn: boolean;
|
|
79
|
+
browserBtn: boolean;
|
|
92
80
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
93
81
|
fileInputRef: HTMLInputElement;
|
|
94
82
|
}, any>;
|
|
@@ -99,16 +87,6 @@ declare const meta: {
|
|
|
99
87
|
type: "text";
|
|
100
88
|
};
|
|
101
89
|
};
|
|
102
|
-
explorerUrl: {
|
|
103
|
-
control: {
|
|
104
|
-
type: "text";
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
uploadUrl: {
|
|
108
|
-
control: {
|
|
109
|
-
type: "text";
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
90
|
accept: {
|
|
113
91
|
control: {
|
|
114
92
|
type: "text";
|
|
@@ -131,6 +109,16 @@ declare const meta: {
|
|
|
131
109
|
};
|
|
132
110
|
options: string[];
|
|
133
111
|
};
|
|
112
|
+
uploadBtn: {
|
|
113
|
+
control: {
|
|
114
|
+
type: "boolean";
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
browserBtn: {
|
|
118
|
+
control: {
|
|
119
|
+
type: "boolean";
|
|
120
|
+
};
|
|
121
|
+
};
|
|
134
122
|
};
|
|
135
123
|
};
|
|
136
124
|
export default meta;
|
|
@@ -3,14 +3,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
-
explorerUrl: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
uploadUrl: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
6
|
accept: {
|
|
15
7
|
type: StringConstructor;
|
|
16
8
|
default: string;
|
|
@@ -27,30 +19,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
27
19
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
28
20
|
default: string;
|
|
29
21
|
};
|
|
22
|
+
uploadBtn: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
browserBtn: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
30
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
31
|
-
select: (file: File) => any;
|
|
32
31
|
"update:modelValue": (value: string) => any;
|
|
33
|
-
"
|
|
34
|
-
"upload-
|
|
35
|
-
|
|
36
|
-
response: unknown;
|
|
37
|
-
url: string;
|
|
38
|
-
}) => any;
|
|
39
|
-
"upload-error": (error: Error) => any;
|
|
40
|
-
browse: () => any;
|
|
32
|
+
"open-browser": () => any;
|
|
33
|
+
"upload-file": (file: File) => any;
|
|
34
|
+
"open-file": (value: string) => any;
|
|
41
35
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
42
36
|
modelValue: {
|
|
43
37
|
type: StringConstructor;
|
|
44
38
|
default: string;
|
|
45
39
|
};
|
|
46
|
-
explorerUrl: {
|
|
47
|
-
type: StringConstructor;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
uploadUrl: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
default: string;
|
|
53
|
-
};
|
|
54
40
|
accept: {
|
|
55
41
|
type: StringConstructor;
|
|
56
42
|
default: string;
|
|
@@ -67,25 +53,27 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
67
53
|
type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
68
54
|
default: string;
|
|
69
55
|
};
|
|
56
|
+
uploadBtn: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
browserBtn: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
70
64
|
}>> & Readonly<{
|
|
71
|
-
onSelect?: ((file: File) => any) | undefined;
|
|
72
65
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
73
|
-
"
|
|
74
|
-
"onUpload-
|
|
75
|
-
|
|
76
|
-
response: unknown;
|
|
77
|
-
url: string;
|
|
78
|
-
}) => any) | undefined;
|
|
79
|
-
"onUpload-error"?: ((error: Error) => any) | undefined;
|
|
80
|
-
onBrowse?: (() => any) | undefined;
|
|
66
|
+
"onOpen-browser"?: (() => any) | undefined;
|
|
67
|
+
"onUpload-file"?: ((file: File) => any) | undefined;
|
|
68
|
+
"onOpen-file"?: ((value: string) => any) | undefined;
|
|
81
69
|
}>, {
|
|
82
70
|
size: "sm" | "md" | "lg";
|
|
83
71
|
block: boolean;
|
|
84
72
|
rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
85
73
|
modelValue: string;
|
|
86
|
-
explorerUrl: string;
|
|
87
|
-
uploadUrl: string;
|
|
88
74
|
accept: string;
|
|
75
|
+
uploadBtn: boolean;
|
|
76
|
+
browserBtn: boolean;
|
|
89
77
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
90
78
|
fileInputRef: HTMLInputElement;
|
|
91
79
|
}, any>;
|
|
@@ -3,7 +3,7 @@ declare const meta: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
5
|
modelValue: {
|
|
6
|
-
type: (
|
|
6
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
9
|
size: {
|
|
@@ -22,7 +22,7 @@ declare const meta: {
|
|
|
22
22
|
"update:modelValue": (value: string) => any;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
24
|
modelValue: {
|
|
25
|
-
type: (
|
|
25
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
26
26
|
default: string;
|
|
27
27
|
};
|
|
28
28
|
size: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
|
-
type: (
|
|
3
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
6
|
size: {
|
|
@@ -19,7 +19,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
19
19
|
"update:modelValue": (value: string) => any;
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
21
|
modelValue: {
|
|
22
|
-
type: (
|
|
22
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
size: {
|
|
@@ -30,9 +30,9 @@ declare const meta: {
|
|
|
30
30
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
31
31
|
size: "s" | "m" | "l";
|
|
32
32
|
title: string;
|
|
33
|
-
error: string;
|
|
34
33
|
icon: string;
|
|
35
34
|
helpText: string;
|
|
35
|
+
error: string;
|
|
36
36
|
required: boolean;
|
|
37
37
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLLabelElement, import('vue').ComponentProvideOptions, {
|
|
38
38
|
P: {};
|
|
@@ -69,9 +69,9 @@ declare const meta: {
|
|
|
69
69
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
70
70
|
size: "s" | "m" | "l";
|
|
71
71
|
title: string;
|
|
72
|
-
error: string;
|
|
73
72
|
icon: string;
|
|
74
73
|
helpText: string;
|
|
74
|
+
error: string;
|
|
75
75
|
required: boolean;
|
|
76
76
|
}>;
|
|
77
77
|
__isFragment?: never;
|
|
@@ -105,9 +105,9 @@ declare const meta: {
|
|
|
105
105
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
106
106
|
size: "s" | "m" | "l";
|
|
107
107
|
title: string;
|
|
108
|
-
error: string;
|
|
109
108
|
icon: string;
|
|
110
109
|
helpText: string;
|
|
110
|
+
error: string;
|
|
111
111
|
required: boolean;
|
|
112
112
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
113
113
|
$slots: {
|
|
@@ -60,9 +60,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
60
60
|
}>> & Readonly<{}>, {
|
|
61
61
|
size: "s" | "m" | "l";
|
|
62
62
|
title: string;
|
|
63
|
-
error: string;
|
|
64
63
|
icon: string;
|
|
65
64
|
helpText: string;
|
|
65
|
+
error: string;
|
|
66
66
|
required: boolean;
|
|
67
67
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLLabelElement>;
|
|
68
68
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -3,7 +3,7 @@ declare const meta: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
5
|
modelValue: {
|
|
6
|
-
type: (
|
|
6
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
9
|
options: {
|
|
@@ -38,7 +38,7 @@ declare const meta: {
|
|
|
38
38
|
"update:modelValue": (value: string | number) => any;
|
|
39
39
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
40
40
|
modelValue: {
|
|
41
|
-
type: (
|
|
41
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
42
42
|
default: string;
|
|
43
43
|
};
|
|
44
44
|
options: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
|
-
type: (
|
|
3
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
6
|
options: {
|
|
@@ -35,7 +35,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
35
35
|
"update:modelValue": (value: string | number) => any;
|
|
36
36
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
37
|
modelValue: {
|
|
38
|
-
type: (
|
|
38
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
39
39
|
default: string;
|
|
40
40
|
};
|
|
41
41
|
options: {
|
|
@@ -52,8 +52,8 @@ declare const meta: {
|
|
|
52
52
|
block: boolean;
|
|
53
53
|
label: string;
|
|
54
54
|
modelValue: boolean;
|
|
55
|
-
description: string;
|
|
56
55
|
labelPosition: "left" | "right";
|
|
56
|
+
description: string;
|
|
57
57
|
showIcons: boolean;
|
|
58
58
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
59
59
|
P: {};
|
|
@@ -109,8 +109,8 @@ declare const meta: {
|
|
|
109
109
|
block: boolean;
|
|
110
110
|
label: string;
|
|
111
111
|
modelValue: boolean;
|
|
112
|
-
description: string;
|
|
113
112
|
labelPosition: "left" | "right";
|
|
113
|
+
description: string;
|
|
114
114
|
showIcons: boolean;
|
|
115
115
|
}>;
|
|
116
116
|
__isFragment?: never;
|
|
@@ -166,8 +166,8 @@ declare const meta: {
|
|
|
166
166
|
block: boolean;
|
|
167
167
|
label: string;
|
|
168
168
|
modelValue: boolean;
|
|
169
|
-
description: string;
|
|
170
169
|
labelPosition: "left" | "right";
|
|
170
|
+
description: string;
|
|
171
171
|
showIcons: boolean;
|
|
172
172
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
173
173
|
$slots: {
|
|
@@ -95,8 +95,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
95
95
|
block: boolean;
|
|
96
96
|
label: string;
|
|
97
97
|
modelValue: boolean;
|
|
98
|
-
description: string;
|
|
99
98
|
labelPosition: "left" | "right";
|
|
99
|
+
description: string;
|
|
100
100
|
showIcons: boolean;
|
|
101
101
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
102
102
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -60,8 +60,8 @@ declare const meta: {
|
|
|
60
60
|
block: boolean;
|
|
61
61
|
rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
62
62
|
modelValue: string;
|
|
63
|
-
resize: "none" | "both" | "horizontal" | "vertical";
|
|
64
63
|
autoheight: boolean;
|
|
64
|
+
resize: "none" | "both" | "horizontal" | "vertical";
|
|
65
65
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
66
66
|
tags: string[];
|
|
67
67
|
argTypes: {
|
|
@@ -57,7 +57,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
57
57
|
block: boolean;
|
|
58
58
|
rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
|
|
59
59
|
modelValue: string;
|
|
60
|
-
resize: "none" | "both" | "horizontal" | "vertical";
|
|
61
60
|
autoheight: boolean;
|
|
61
|
+
resize: "none" | "both" | "horizontal" | "vertical";
|
|
62
62
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
63
63
|
export default _default;
|