@v1nt1248/3nclient-lib 0.0.1 → 0.0.3
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 +9 -18
- package/dist/components/ui3n-button.vue.d.ts +55 -4
- package/dist/components/ui3n-drop-files.vue.d.ts +33 -0
- package/dist/components/ui3n-icon.vue.d.ts +76 -0
- package/dist/components/ui3n-input.vue.d.ts +76 -0
- package/dist/components/ui3n-notification.vue.d.ts +72 -0
- package/dist/components/ui3n-table-sort-icon.vue.d.ts +24 -0
- package/dist/components/ui3n-table.vue.d.ts +30 -0
- package/dist/components/ui3n-text.vue.d.ts +62 -0
- package/dist/constants/emoticons.d.ts +649 -0
- package/dist/constants/general.d.ts +2 -0
- package/dist/directives/ui3n-html.d.ts +6 -0
- package/dist/helpers/common.helpers.d.ts +3 -0
- package/dist/helpers/textarea-max-rows.d.ts +3 -0
- package/dist/helpers/ui.helpers.d.ts +13 -0
- package/dist/index.d.ts +17 -1
- package/dist/plugins/i18n.d.ts +18 -0
- package/dist/plugins/icons.d.ts +2 -0
- package/dist/plugins/notifications.d.ts +7 -0
- package/dist/plugins/store-i18n.d.ts +7 -0
- package/dist/plugins/store-vue-bus.d.ts +11 -0
- package/dist/plugins/vue-bus.d.ts +13 -0
- package/dist/style.css +1 -1
- package/dist/types.d.ts +48 -0
- package/dist/ui-3n-lib.js +12134 -41
- package/dist/ui-3n-lib.umd.cjs +72 -1
- package/package.json +34 -3
package/README.md
CHANGED
|
@@ -1,18 +1,9 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
|
|
12
|
-
|
|
13
|
-
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
|
|
14
|
-
|
|
15
|
-
1. Disable the built-in TypeScript Extension
|
|
16
|
-
1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
|
17
|
-
2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
|
18
|
-
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
|
1
|
+
# Library for 3NWeb clients (Vue + Typescript)
|
|
2
|
+
|
|
3
|
+
## Constants
|
|
4
|
+
## Components
|
|
5
|
+
## Directives
|
|
6
|
+
## Plugins
|
|
7
|
+
## Store plugins
|
|
8
|
+
## Services
|
|
9
|
+
## Helpers
|
|
@@ -1,16 +1,67 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
textColor: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
};
|
|
5
|
+
color: {
|
|
6
|
+
type: import("vue").PropType<string>;
|
|
7
|
+
};
|
|
8
|
+
round: {
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
elevation: {
|
|
12
|
+
type: import("vue").PropType<boolean>;
|
|
13
|
+
};
|
|
14
|
+
icon: {
|
|
15
|
+
type: import("vue").PropType<string>;
|
|
16
|
+
};
|
|
17
|
+
iconSize: {
|
|
18
|
+
type: import("vue").PropType<string | number>;
|
|
19
|
+
};
|
|
20
|
+
iconColor: {
|
|
21
|
+
type: import("vue").PropType<string>;
|
|
22
|
+
};
|
|
2
23
|
disabled: {
|
|
3
24
|
type: import("vue").PropType<boolean>;
|
|
4
|
-
required: true;
|
|
5
25
|
};
|
|
6
26
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
27
|
click: (value: Event) => void;
|
|
28
|
+
focus: (value: Event) => void;
|
|
29
|
+
blur: (value: Event) => void;
|
|
8
30
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
textColor: {
|
|
32
|
+
type: import("vue").PropType<string>;
|
|
33
|
+
};
|
|
34
|
+
color: {
|
|
35
|
+
type: import("vue").PropType<string>;
|
|
36
|
+
};
|
|
37
|
+
round: {
|
|
38
|
+
type: import("vue").PropType<boolean>;
|
|
39
|
+
};
|
|
40
|
+
elevation: {
|
|
41
|
+
type: import("vue").PropType<boolean>;
|
|
42
|
+
};
|
|
43
|
+
icon: {
|
|
44
|
+
type: import("vue").PropType<string>;
|
|
45
|
+
};
|
|
46
|
+
iconSize: {
|
|
47
|
+
type: import("vue").PropType<string | number>;
|
|
48
|
+
};
|
|
49
|
+
iconColor: {
|
|
50
|
+
type: import("vue").PropType<string>;
|
|
51
|
+
};
|
|
9
52
|
disabled: {
|
|
10
53
|
type: import("vue").PropType<boolean>;
|
|
11
|
-
required: true;
|
|
12
54
|
};
|
|
13
55
|
}>> & {
|
|
14
56
|
onClick?: ((value: Event) => any) | undefined;
|
|
15
|
-
|
|
57
|
+
onFocus?: ((value: Event) => any) | undefined;
|
|
58
|
+
onBlur?: ((value: Event) => any) | undefined;
|
|
59
|
+
}, {}, {}>, {
|
|
60
|
+
default?(_: {}): any;
|
|
61
|
+
}>;
|
|
16
62
|
export default _default;
|
|
63
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
64
|
+
new (): {
|
|
65
|
+
$slots: S;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
title: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
};
|
|
5
|
+
text: {
|
|
6
|
+
type: import("vue").PropType<string>;
|
|
7
|
+
};
|
|
8
|
+
additionalText: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
select: (fileList: FileList) => void;
|
|
13
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
title: {
|
|
15
|
+
type: import("vue").PropType<string>;
|
|
16
|
+
};
|
|
17
|
+
text: {
|
|
18
|
+
type: import("vue").PropType<string>;
|
|
19
|
+
};
|
|
20
|
+
additionalText: {
|
|
21
|
+
type: import("vue").PropType<string>;
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
24
|
+
onSelect?: ((fileList: FileList) => any) | undefined;
|
|
25
|
+
}, {}, {}>, {
|
|
26
|
+
default?(_: {}): any;
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
icon: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
title: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
};
|
|
9
|
+
inline: {
|
|
10
|
+
type: import("vue").PropType<boolean>;
|
|
11
|
+
};
|
|
12
|
+
width: {
|
|
13
|
+
type: import("vue").PropType<string | number>;
|
|
14
|
+
};
|
|
15
|
+
height: {
|
|
16
|
+
type: import("vue").PropType<string | number>;
|
|
17
|
+
};
|
|
18
|
+
horizontalFlip: {
|
|
19
|
+
type: import("vue").PropType<boolean>;
|
|
20
|
+
};
|
|
21
|
+
verticalFlip: {
|
|
22
|
+
type: import("vue").PropType<boolean>;
|
|
23
|
+
};
|
|
24
|
+
flip: {
|
|
25
|
+
type: import("vue").PropType<string>;
|
|
26
|
+
};
|
|
27
|
+
rotate: {
|
|
28
|
+
type: import("vue").PropType<number>;
|
|
29
|
+
};
|
|
30
|
+
color: {
|
|
31
|
+
type: import("vue").PropType<string>;
|
|
32
|
+
};
|
|
33
|
+
onLoad: {
|
|
34
|
+
type: import("vue").PropType<Function>;
|
|
35
|
+
};
|
|
36
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
+
click: (value: Event) => void;
|
|
38
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
+
icon: {
|
|
40
|
+
type: import("vue").PropType<string>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
title: {
|
|
44
|
+
type: import("vue").PropType<string>;
|
|
45
|
+
};
|
|
46
|
+
inline: {
|
|
47
|
+
type: import("vue").PropType<boolean>;
|
|
48
|
+
};
|
|
49
|
+
width: {
|
|
50
|
+
type: import("vue").PropType<string | number>;
|
|
51
|
+
};
|
|
52
|
+
height: {
|
|
53
|
+
type: import("vue").PropType<string | number>;
|
|
54
|
+
};
|
|
55
|
+
horizontalFlip: {
|
|
56
|
+
type: import("vue").PropType<boolean>;
|
|
57
|
+
};
|
|
58
|
+
verticalFlip: {
|
|
59
|
+
type: import("vue").PropType<boolean>;
|
|
60
|
+
};
|
|
61
|
+
flip: {
|
|
62
|
+
type: import("vue").PropType<string>;
|
|
63
|
+
};
|
|
64
|
+
rotate: {
|
|
65
|
+
type: import("vue").PropType<number>;
|
|
66
|
+
};
|
|
67
|
+
color: {
|
|
68
|
+
type: import("vue").PropType<string>;
|
|
69
|
+
};
|
|
70
|
+
onLoad: {
|
|
71
|
+
type: import("vue").PropType<Function>;
|
|
72
|
+
};
|
|
73
|
+
}>> & {
|
|
74
|
+
onClick?: ((value: Event) => any) | undefined;
|
|
75
|
+
}, {}, {}>;
|
|
76
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
value: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
label: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
};
|
|
9
|
+
placeholder: {
|
|
10
|
+
type: import("vue").PropType<string>;
|
|
11
|
+
};
|
|
12
|
+
clearable: {
|
|
13
|
+
type: import("vue").PropType<boolean>;
|
|
14
|
+
};
|
|
15
|
+
autofocus: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
};
|
|
18
|
+
rules: {
|
|
19
|
+
type: import("vue").PropType<((v: string) => any)[]>;
|
|
20
|
+
};
|
|
21
|
+
disabled: {
|
|
22
|
+
type: import("vue").PropType<boolean>;
|
|
23
|
+
};
|
|
24
|
+
icon: {
|
|
25
|
+
type: import("vue").PropType<string>;
|
|
26
|
+
};
|
|
27
|
+
iconColor: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
};
|
|
30
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
+
input: (value: string) => void;
|
|
32
|
+
focus: (value: Event) => void;
|
|
33
|
+
blur: (value: Event) => void;
|
|
34
|
+
clear: (value: string) => void;
|
|
35
|
+
change: (value: string) => void;
|
|
36
|
+
"update:value": (value: string) => void;
|
|
37
|
+
"update:valid": (value: boolean) => void;
|
|
38
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
+
value: {
|
|
40
|
+
type: import("vue").PropType<string>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
label: {
|
|
44
|
+
type: import("vue").PropType<string>;
|
|
45
|
+
};
|
|
46
|
+
placeholder: {
|
|
47
|
+
type: import("vue").PropType<string>;
|
|
48
|
+
};
|
|
49
|
+
clearable: {
|
|
50
|
+
type: import("vue").PropType<boolean>;
|
|
51
|
+
};
|
|
52
|
+
autofocus: {
|
|
53
|
+
type: import("vue").PropType<boolean>;
|
|
54
|
+
};
|
|
55
|
+
rules: {
|
|
56
|
+
type: import("vue").PropType<((v: string) => any)[]>;
|
|
57
|
+
};
|
|
58
|
+
disabled: {
|
|
59
|
+
type: import("vue").PropType<boolean>;
|
|
60
|
+
};
|
|
61
|
+
icon: {
|
|
62
|
+
type: import("vue").PropType<string>;
|
|
63
|
+
};
|
|
64
|
+
iconColor: {
|
|
65
|
+
type: import("vue").PropType<string>;
|
|
66
|
+
};
|
|
67
|
+
}>> & {
|
|
68
|
+
onFocus?: ((value: Event) => any) | undefined;
|
|
69
|
+
onBlur?: ((value: Event) => any) | undefined;
|
|
70
|
+
onChange?: ((value: string) => any) | undefined;
|
|
71
|
+
onInput?: ((value: string) => any) | undefined;
|
|
72
|
+
onClear?: ((value: string) => any) | undefined;
|
|
73
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
74
|
+
"onUpdate:valid"?: ((value: boolean) => any) | undefined;
|
|
75
|
+
}, {}, {}>;
|
|
76
|
+
export default _default;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
id: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
};
|
|
5
|
+
type: {
|
|
6
|
+
type: import("vue").PropType<"success" | "warning" | "info" | "error">;
|
|
7
|
+
};
|
|
8
|
+
content: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
icon: {
|
|
13
|
+
type: import("vue").PropType<string>;
|
|
14
|
+
};
|
|
15
|
+
iconSize: {
|
|
16
|
+
type: import("vue").PropType<string | number>;
|
|
17
|
+
};
|
|
18
|
+
iconColor: {
|
|
19
|
+
type: import("vue").PropType<string>;
|
|
20
|
+
};
|
|
21
|
+
position: {
|
|
22
|
+
type: import("vue").PropType<"left" | "center" | "right">;
|
|
23
|
+
};
|
|
24
|
+
duration: {
|
|
25
|
+
type: import("vue").PropType<number>;
|
|
26
|
+
};
|
|
27
|
+
teleport: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
};
|
|
30
|
+
onOpen: {
|
|
31
|
+
type: import("vue").PropType<() => void>;
|
|
32
|
+
};
|
|
33
|
+
onClose: {
|
|
34
|
+
type: import("vue").PropType<() => void>;
|
|
35
|
+
};
|
|
36
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
id: {
|
|
38
|
+
type: import("vue").PropType<string>;
|
|
39
|
+
};
|
|
40
|
+
type: {
|
|
41
|
+
type: import("vue").PropType<"success" | "warning" | "info" | "error">;
|
|
42
|
+
};
|
|
43
|
+
content: {
|
|
44
|
+
type: import("vue").PropType<string>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
icon: {
|
|
48
|
+
type: import("vue").PropType<string>;
|
|
49
|
+
};
|
|
50
|
+
iconSize: {
|
|
51
|
+
type: import("vue").PropType<string | number>;
|
|
52
|
+
};
|
|
53
|
+
iconColor: {
|
|
54
|
+
type: import("vue").PropType<string>;
|
|
55
|
+
};
|
|
56
|
+
position: {
|
|
57
|
+
type: import("vue").PropType<"left" | "center" | "right">;
|
|
58
|
+
};
|
|
59
|
+
duration: {
|
|
60
|
+
type: import("vue").PropType<number>;
|
|
61
|
+
};
|
|
62
|
+
teleport: {
|
|
63
|
+
type: import("vue").PropType<string>;
|
|
64
|
+
};
|
|
65
|
+
onOpen: {
|
|
66
|
+
type: import("vue").PropType<() => void>;
|
|
67
|
+
};
|
|
68
|
+
onClose: {
|
|
69
|
+
type: import("vue").PropType<() => void>;
|
|
70
|
+
};
|
|
71
|
+
}>>, {}, {}>;
|
|
72
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
size: {
|
|
3
|
+
type: import("vue").PropType<string | number>;
|
|
4
|
+
};
|
|
5
|
+
color: {
|
|
6
|
+
type: import("vue").PropType<string>;
|
|
7
|
+
};
|
|
8
|
+
value: {
|
|
9
|
+
type: import("vue").PropType<"desc" | "asc">;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
size: {
|
|
14
|
+
type: import("vue").PropType<string | number>;
|
|
15
|
+
};
|
|
16
|
+
color: {
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
};
|
|
19
|
+
value: {
|
|
20
|
+
type: import("vue").PropType<"desc" | "asc">;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
}>>, {}, {}>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
items: {
|
|
3
|
+
type: import("vue").PropType<ListingEntryTypeExtended[]>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
textIfEmpty: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
};
|
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
go: (name: string) => void;
|
|
11
|
+
action: (value: {
|
|
12
|
+
action: EntityAction;
|
|
13
|
+
entity: ListingEntryTypeExtended;
|
|
14
|
+
}) => void;
|
|
15
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
items: {
|
|
17
|
+
type: import("vue").PropType<ListingEntryTypeExtended[]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
textIfEmpty: {
|
|
21
|
+
type: import("vue").PropType<string>;
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
24
|
+
onGo?: ((name: string) => any) | undefined;
|
|
25
|
+
onAction?: ((value: {
|
|
26
|
+
action: EntityAction;
|
|
27
|
+
entity: ListingEntryTypeExtended;
|
|
28
|
+
}) => any) | undefined;
|
|
29
|
+
}, {}, {}>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
text: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
rows: {
|
|
7
|
+
type: import("vue").PropType<number>;
|
|
8
|
+
};
|
|
9
|
+
maxRows: {
|
|
10
|
+
type: import("vue").PropType<number>;
|
|
11
|
+
};
|
|
12
|
+
label: {
|
|
13
|
+
type: import("vue").PropType<string>;
|
|
14
|
+
};
|
|
15
|
+
placeholder: {
|
|
16
|
+
type: import("vue").PropType<string>;
|
|
17
|
+
};
|
|
18
|
+
rules: {
|
|
19
|
+
type: import("vue").PropType<((v: string) => any)[]>;
|
|
20
|
+
};
|
|
21
|
+
disabled: {
|
|
22
|
+
type: import("vue").PropType<boolean>;
|
|
23
|
+
};
|
|
24
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
init: (value: HTMLTextAreaElement) => void;
|
|
26
|
+
input: (value: string) => void;
|
|
27
|
+
focus: (value: Event) => void;
|
|
28
|
+
blur: (value: Event) => void;
|
|
29
|
+
"update:text": (value: string) => void;
|
|
30
|
+
"update:valid": (value: boolean) => void;
|
|
31
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
text: {
|
|
33
|
+
type: import("vue").PropType<string>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
rows: {
|
|
37
|
+
type: import("vue").PropType<number>;
|
|
38
|
+
};
|
|
39
|
+
maxRows: {
|
|
40
|
+
type: import("vue").PropType<number>;
|
|
41
|
+
};
|
|
42
|
+
label: {
|
|
43
|
+
type: import("vue").PropType<string>;
|
|
44
|
+
};
|
|
45
|
+
placeholder: {
|
|
46
|
+
type: import("vue").PropType<string>;
|
|
47
|
+
};
|
|
48
|
+
rules: {
|
|
49
|
+
type: import("vue").PropType<((v: string) => any)[]>;
|
|
50
|
+
};
|
|
51
|
+
disabled: {
|
|
52
|
+
type: import("vue").PropType<boolean>;
|
|
53
|
+
};
|
|
54
|
+
}>> & {
|
|
55
|
+
onFocus?: ((value: Event) => any) | undefined;
|
|
56
|
+
onBlur?: ((value: Event) => any) | undefined;
|
|
57
|
+
onInput?: ((value: string) => any) | undefined;
|
|
58
|
+
"onUpdate:valid"?: ((value: boolean) => any) | undefined;
|
|
59
|
+
onInit?: ((value: HTMLTextAreaElement) => any) | undefined;
|
|
60
|
+
"onUpdate:text"?: ((value: string) => any) | undefined;
|
|
61
|
+
}, {}, {}>;
|
|
62
|
+
export default _default;
|