@factoringplus/pl-components-pack-v3 1.1.20 → 1.1.21
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/pl-autocomplete/pl-autocompete.vue.d.ts +6 -2
- package/dist/components/pl-input-plus/components/pl-currency.vue.d.ts +46 -0
- package/dist/components/pl-input-plus/components/pl-default.vue.d.ts +47 -107
- package/dist/components/pl-input-plus/components/pl-password.vue.d.ts +47 -0
- package/dist/components/pl-input-plus/components/pl-textarea.vue.d.ts +45 -0
- package/dist/components/pl-input-plus/pl-input-plus.vue.d.ts +121 -0
- package/dist/components/pl-input-plus/types/index.d.ts +66 -0
- package/dist/pl-components-pack-v3.es.js +1058 -1271
- package/dist/pl-components-pack-v3.umd.js +16 -16
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { IOption, IAutocompleteProps } from './types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IAutocompleteProps>, {
|
|
3
|
-
modelValue:
|
|
3
|
+
modelValue: () => {
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
4
6
|
prop: string;
|
|
5
7
|
placeholder: string;
|
|
6
8
|
width: string;
|
|
@@ -25,7 +27,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
25
27
|
fetchDadata: (...args: any[]) => void;
|
|
26
28
|
changeValue: (...args: any[]) => void;
|
|
27
29
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IAutocompleteProps>, {
|
|
28
|
-
modelValue:
|
|
30
|
+
modelValue: () => {
|
|
31
|
+
value: string;
|
|
32
|
+
};
|
|
29
33
|
prop: string;
|
|
30
34
|
placeholder: string;
|
|
31
35
|
width: string;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { IPlCurrencyProps } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlCurrencyProps>, {
|
|
3
|
+
prop: string;
|
|
4
|
+
placeholder: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
leftIcon: string;
|
|
7
|
+
round: boolean;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (...args: any[]) => void;
|
|
10
|
+
blur: (...args: any[]) => void;
|
|
11
|
+
change: (...args: any[]) => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlCurrencyProps>, {
|
|
13
|
+
prop: string;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
leftIcon: string;
|
|
17
|
+
round: boolean;
|
|
18
|
+
}>>> & {
|
|
19
|
+
onBlur?: (...args: any[]) => any;
|
|
20
|
+
onChange?: (...args: any[]) => any;
|
|
21
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
22
|
+
}, {
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
prop: string;
|
|
25
|
+
placeholder: string;
|
|
26
|
+
leftIcon: import("../../pl-icon").TIcon;
|
|
27
|
+
round: boolean;
|
|
28
|
+
}, {}>;
|
|
29
|
+
export default _default;
|
|
30
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: import('vue').PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
declare type __VLS_Prettify<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
@@ -1,113 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
showWordLimit: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
disabled: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
formatter: {
|
|
26
|
-
type: FunctionConstructor;
|
|
27
|
-
};
|
|
28
|
-
maxlength: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
placeholder: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
prop: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
iconPointer: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
customBlur: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
clearable: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1
|
+
import type { IPlDefaultProps } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlDefaultProps>, {
|
|
3
|
+
leftIcon: string;
|
|
4
|
+
rightIcon: string;
|
|
5
|
+
id: string;
|
|
6
|
+
showWordLimit: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
maxlength: any;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
prop: string;
|
|
11
|
+
iconPointer: boolean;
|
|
12
|
+
customBlur: boolean;
|
|
13
|
+
clearable: boolean;
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
15
|
"update:modelValue": (...args: any[]) => void;
|
|
54
16
|
resetValue: (...args: any[]) => void;
|
|
55
17
|
tabHandler: (...args: any[]) => void;
|
|
56
18
|
blur: (...args: any[]) => void;
|
|
57
19
|
touchstart: (...args: any[]) => void;
|
|
58
20
|
mousedown: (...args: any[]) => void;
|
|
59
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
type: StringConstructor;
|
|
73
|
-
default: string;
|
|
74
|
-
};
|
|
75
|
-
showWordLimit: {
|
|
76
|
-
type: BooleanConstructor;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
disabled: {
|
|
80
|
-
type: BooleanConstructor;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
formatter: {
|
|
84
|
-
type: FunctionConstructor;
|
|
85
|
-
};
|
|
86
|
-
maxlength: {
|
|
87
|
-
type: StringConstructor;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
|
-
placeholder: {
|
|
91
|
-
type: StringConstructor;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
|
-
prop: {
|
|
95
|
-
type: StringConstructor;
|
|
96
|
-
default: string;
|
|
97
|
-
};
|
|
98
|
-
iconPointer: {
|
|
99
|
-
type: BooleanConstructor;
|
|
100
|
-
default: boolean;
|
|
101
|
-
};
|
|
102
|
-
customBlur: {
|
|
103
|
-
type: BooleanConstructor;
|
|
104
|
-
default: boolean;
|
|
105
|
-
};
|
|
106
|
-
clearable: {
|
|
107
|
-
type: BooleanConstructor;
|
|
108
|
-
default: boolean;
|
|
109
|
-
};
|
|
110
|
-
}>> & {
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlDefaultProps>, {
|
|
22
|
+
leftIcon: string;
|
|
23
|
+
rightIcon: string;
|
|
24
|
+
id: string;
|
|
25
|
+
showWordLimit: boolean;
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
maxlength: any;
|
|
28
|
+
placeholder: string;
|
|
29
|
+
prop: string;
|
|
30
|
+
iconPointer: boolean;
|
|
31
|
+
customBlur: boolean;
|
|
32
|
+
clearable: boolean;
|
|
33
|
+
}>>> & {
|
|
111
34
|
onBlur?: (...args: any[]) => any;
|
|
112
35
|
onMousedown?: (...args: any[]) => any;
|
|
113
36
|
onTouchstart?: (...args: any[]) => any;
|
|
@@ -120,11 +43,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
120
43
|
prop: string;
|
|
121
44
|
placeholder: string;
|
|
122
45
|
clearable: boolean;
|
|
123
|
-
leftIcon:
|
|
124
|
-
rightIcon:
|
|
46
|
+
leftIcon: import("../../pl-icon").TIcon;
|
|
47
|
+
rightIcon: import("../../pl-icon").TIcon;
|
|
125
48
|
showWordLimit: boolean;
|
|
126
|
-
maxlength:
|
|
49
|
+
maxlength: number;
|
|
127
50
|
iconPointer: boolean;
|
|
128
51
|
customBlur: boolean;
|
|
129
52
|
}, {}>;
|
|
130
53
|
export default _default;
|
|
54
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
55
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
56
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
57
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
58
|
+
} : {
|
|
59
|
+
type: import('vue').PropType<T[K]>;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
64
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
65
|
+
default: D[K];
|
|
66
|
+
}> : P[K];
|
|
67
|
+
};
|
|
68
|
+
declare type __VLS_Prettify<T> = {
|
|
69
|
+
[K in keyof T]: T[K];
|
|
70
|
+
} & {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { IPlPasswordProps } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlPasswordProps>, {
|
|
3
|
+
id: string;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
placeholder: string;
|
|
6
|
+
prop: string;
|
|
7
|
+
currentPassword: boolean;
|
|
8
|
+
newPassword: boolean;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (...args: any[]) => void;
|
|
11
|
+
blur: (...args: any[]) => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlPasswordProps>, {
|
|
13
|
+
id: string;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
prop: string;
|
|
17
|
+
currentPassword: boolean;
|
|
18
|
+
newPassword: boolean;
|
|
19
|
+
}>>> & {
|
|
20
|
+
onBlur?: (...args: any[]) => any;
|
|
21
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
22
|
+
}, {
|
|
23
|
+
id: string;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
prop: string;
|
|
26
|
+
placeholder: string;
|
|
27
|
+
currentPassword: boolean;
|
|
28
|
+
newPassword: boolean;
|
|
29
|
+
}, {}>;
|
|
30
|
+
export default _default;
|
|
31
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
41
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
42
|
+
default: D[K];
|
|
43
|
+
}> : P[K];
|
|
44
|
+
};
|
|
45
|
+
declare type __VLS_Prettify<T> = {
|
|
46
|
+
[K in keyof T]: T[K];
|
|
47
|
+
} & {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { IPlTextareaProps } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlTextareaProps>, {
|
|
3
|
+
id: string;
|
|
4
|
+
showWordLimit: boolean;
|
|
5
|
+
maxlength: any;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
prop: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (...args: any[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlTextareaProps>, {
|
|
12
|
+
id: string;
|
|
13
|
+
showWordLimit: boolean;
|
|
14
|
+
maxlength: any;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
placeholder: string;
|
|
17
|
+
prop: string;
|
|
18
|
+
}>>> & {
|
|
19
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
20
|
+
}, {
|
|
21
|
+
id: string;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
prop: string;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
showWordLimit: boolean;
|
|
26
|
+
maxlength: number;
|
|
27
|
+
}, {}>;
|
|
28
|
+
export default _default;
|
|
29
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
+
} : {
|
|
34
|
+
type: import('vue').PropType<T[K]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
39
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
+
default: D[K];
|
|
41
|
+
}> : P[K];
|
|
42
|
+
};
|
|
43
|
+
declare type __VLS_Prettify<T> = {
|
|
44
|
+
[K in keyof T]: T[K];
|
|
45
|
+
} & {};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { IPlInputPlusProps } from './types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlInputPlusProps>, {
|
|
3
|
+
prop: string;
|
|
4
|
+
modelValue: string;
|
|
5
|
+
showWordLimit: boolean;
|
|
6
|
+
placeholder: string;
|
|
7
|
+
currency: boolean;
|
|
8
|
+
password: boolean;
|
|
9
|
+
textarea: boolean;
|
|
10
|
+
width: string;
|
|
11
|
+
helpertext: string;
|
|
12
|
+
optional: string;
|
|
13
|
+
label: string;
|
|
14
|
+
tooltip: string;
|
|
15
|
+
leftIcon: string;
|
|
16
|
+
rightIcon: string;
|
|
17
|
+
round: boolean;
|
|
18
|
+
'show-word-limit': boolean;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
maxlength: any;
|
|
21
|
+
currentPassword: boolean;
|
|
22
|
+
newPassword: boolean;
|
|
23
|
+
iconPointer: boolean;
|
|
24
|
+
customBlur: boolean;
|
|
25
|
+
clearable: boolean;
|
|
26
|
+
focusOnReset: boolean;
|
|
27
|
+
disableTrim: boolean;
|
|
28
|
+
valueRange: () => {
|
|
29
|
+
min: number;
|
|
30
|
+
};
|
|
31
|
+
}>, {
|
|
32
|
+
blurInput: (mob?: boolean) => void;
|
|
33
|
+
focusInput: () => void;
|
|
34
|
+
getId: () => string;
|
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
+
"update:modelValue": (...args: any[]) => void;
|
|
37
|
+
resetValue: (...args: any[]) => void;
|
|
38
|
+
blur: (...args: any[]) => void;
|
|
39
|
+
touchstart: (...args: any[]) => void;
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlInputPlusProps>, {
|
|
41
|
+
prop: string;
|
|
42
|
+
modelValue: string;
|
|
43
|
+
showWordLimit: boolean;
|
|
44
|
+
placeholder: string;
|
|
45
|
+
currency: boolean;
|
|
46
|
+
password: boolean;
|
|
47
|
+
textarea: boolean;
|
|
48
|
+
width: string;
|
|
49
|
+
helpertext: string;
|
|
50
|
+
optional: string;
|
|
51
|
+
label: string;
|
|
52
|
+
tooltip: string;
|
|
53
|
+
leftIcon: string;
|
|
54
|
+
rightIcon: string;
|
|
55
|
+
round: boolean;
|
|
56
|
+
'show-word-limit': boolean;
|
|
57
|
+
disabled: boolean;
|
|
58
|
+
maxlength: any;
|
|
59
|
+
currentPassword: boolean;
|
|
60
|
+
newPassword: boolean;
|
|
61
|
+
iconPointer: boolean;
|
|
62
|
+
customBlur: boolean;
|
|
63
|
+
clearable: boolean;
|
|
64
|
+
focusOnReset: boolean;
|
|
65
|
+
disableTrim: boolean;
|
|
66
|
+
valueRange: () => {
|
|
67
|
+
min: number;
|
|
68
|
+
};
|
|
69
|
+
}>>> & {
|
|
70
|
+
onBlur?: (...args: any[]) => any;
|
|
71
|
+
onTouchstart?: (...args: any[]) => any;
|
|
72
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
73
|
+
onResetValue?: (...args: any[]) => any;
|
|
74
|
+
}, {
|
|
75
|
+
label: string;
|
|
76
|
+
textarea: boolean;
|
|
77
|
+
disabled: boolean;
|
|
78
|
+
modelValue: import("./types").TInputModelValue;
|
|
79
|
+
tooltip: string;
|
|
80
|
+
prop: string;
|
|
81
|
+
placeholder: string;
|
|
82
|
+
clearable: boolean;
|
|
83
|
+
leftIcon: import("../pl-icon").TIcon;
|
|
84
|
+
password: boolean;
|
|
85
|
+
rightIcon: import("../pl-icon").TIcon;
|
|
86
|
+
width: string;
|
|
87
|
+
helpertext: string;
|
|
88
|
+
optional: string;
|
|
89
|
+
showWordLimit: boolean;
|
|
90
|
+
currency: boolean;
|
|
91
|
+
round: boolean;
|
|
92
|
+
'show-word-limit': boolean;
|
|
93
|
+
maxlength: number;
|
|
94
|
+
currentPassword: boolean;
|
|
95
|
+
newPassword: boolean;
|
|
96
|
+
iconPointer: boolean;
|
|
97
|
+
customBlur: boolean;
|
|
98
|
+
focusOnReset: boolean;
|
|
99
|
+
disableTrim: boolean;
|
|
100
|
+
valueRange: {
|
|
101
|
+
min: number;
|
|
102
|
+
};
|
|
103
|
+
}, {}>;
|
|
104
|
+
export default _default;
|
|
105
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
106
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
107
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
108
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
109
|
+
} : {
|
|
110
|
+
type: import('vue').PropType<T[K]>;
|
|
111
|
+
required: true;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
115
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
116
|
+
default: D[K];
|
|
117
|
+
}> : P[K];
|
|
118
|
+
};
|
|
119
|
+
declare type __VLS_Prettify<T> = {
|
|
120
|
+
[K in keyof T]: T[K];
|
|
121
|
+
} & {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { CurrencyInputOptions, NumberRange } from 'vue-currency-input';
|
|
2
|
+
import type { TIcon } from '../../pl-icon/types';
|
|
3
|
+
export declare type TInputModelValue = string | number | null | undefined;
|
|
4
|
+
export declare type TMaxlength = number | null | undefined;
|
|
5
|
+
interface IBaseInputProps {
|
|
6
|
+
prop?: string;
|
|
7
|
+
modelValue: TInputModelValue;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface IPlInputPlusProps extends IBaseInputProps {
|
|
12
|
+
showWordLimit?: boolean;
|
|
13
|
+
currency?: boolean;
|
|
14
|
+
password?: boolean;
|
|
15
|
+
textarea?: boolean;
|
|
16
|
+
width?: string;
|
|
17
|
+
helpertext?: string;
|
|
18
|
+
optional?: string;
|
|
19
|
+
label?: string;
|
|
20
|
+
tooltip?: string;
|
|
21
|
+
leftIcon?: TIcon;
|
|
22
|
+
rightIcon?: TIcon;
|
|
23
|
+
round?: boolean;
|
|
24
|
+
valueRange?: NumberRange;
|
|
25
|
+
currencyInputOptions?: CurrencyInputOptions;
|
|
26
|
+
'show-word-limit'?: boolean;
|
|
27
|
+
formatter?: Function;
|
|
28
|
+
maxlength?: TMaxlength;
|
|
29
|
+
currentPassword?: boolean;
|
|
30
|
+
newPassword?: boolean;
|
|
31
|
+
iconPointer?: boolean;
|
|
32
|
+
customBlur?: boolean;
|
|
33
|
+
clearable?: boolean;
|
|
34
|
+
focusOnReset?: boolean;
|
|
35
|
+
disableTrim?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface IPlDefaultProps extends IBaseInputProps {
|
|
38
|
+
id: string;
|
|
39
|
+
maxlength?: TMaxlength;
|
|
40
|
+
showWordLimit?: boolean;
|
|
41
|
+
clearable?: boolean;
|
|
42
|
+
leftIcon?: TIcon;
|
|
43
|
+
rightIcon?: TIcon;
|
|
44
|
+
formatter?: Function;
|
|
45
|
+
iconPointer?: boolean;
|
|
46
|
+
customBlur?: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface IPlCurrencyProps extends IBaseInputProps {
|
|
49
|
+
id: string;
|
|
50
|
+
leftIcon?: TIcon;
|
|
51
|
+
round?: boolean;
|
|
52
|
+
valueRange?: NumberRange;
|
|
53
|
+
currencyInputOptions?: CurrencyInputOptions;
|
|
54
|
+
}
|
|
55
|
+
export interface IPlTextareaProps extends IBaseInputProps {
|
|
56
|
+
id: string;
|
|
57
|
+
showWordLimit?: boolean;
|
|
58
|
+
maxlength?: TMaxlength;
|
|
59
|
+
}
|
|
60
|
+
export interface IPlPasswordProps extends IBaseInputProps {
|
|
61
|
+
id: string;
|
|
62
|
+
leftIcon?: TIcon;
|
|
63
|
+
currentPassword?: boolean;
|
|
64
|
+
newPassword?: boolean;
|
|
65
|
+
}
|
|
66
|
+
export {};
|