@davincihealthcare/elty-design-system-vue 1.36.0 → 1.36.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/README.md +5 -0
- package/dist/forms/ElInputCheckbox.vue.d.ts +11 -0
- package/dist/forms/ElInputDate.vue.d.ts +11 -0
- package/dist/forms/ElInputFile.vue.d.ts +11 -0
- package/dist/forms/ElInputMeasureUnit.vue.d.ts +11 -0
- package/dist/forms/ElInputNumber.vue.d.ts +11 -0
- package/dist/forms/ElInputPhone.vue.d.ts +11 -0
- package/dist/forms/ElInputSelect.vue.d.ts +11 -0
- package/dist/forms/ElInputText.vue.d.ts +11 -0
- package/dist/forms/ElInputTextarea.vue.d.ts +11 -0
- package/dist/forms/input.d.ts +16 -1
- package/dist/index.js +2319 -2304
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +17 -17
- package/dist/index.umd.cjs.map +1 -1
- package/dist/table/ElServerSideTablePagination.vue.d.ts +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -139,3 +139,8 @@ This section handles the styling for your Vue component library, leveraging Tail
|
|
|
139
139
|
|
|
140
140
|
You don't need to worry about providing dist/style.cjs separately. It's included in the built library package.
|
|
141
141
|
Your library's components can leverage Tailwind classes by referencing them directly.
|
|
142
|
+
|
|
143
|
+
### Breaking changes that will do in v2
|
|
144
|
+
|
|
145
|
+
- button v2 will have a different interface
|
|
146
|
+
- remove id from input which is useless and just use name prop
|
|
@@ -29,6 +29,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
29
29
|
default: number;
|
|
30
30
|
required: boolean;
|
|
31
31
|
};
|
|
32
|
+
name: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
required: boolean;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
32
37
|
id: {
|
|
33
38
|
type: StringConstructor;
|
|
34
39
|
required: boolean;
|
|
@@ -86,6 +91,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
86
91
|
default: number;
|
|
87
92
|
required: boolean;
|
|
88
93
|
};
|
|
94
|
+
name: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
required: boolean;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
89
99
|
id: {
|
|
90
100
|
type: StringConstructor;
|
|
91
101
|
required: boolean;
|
|
@@ -119,6 +129,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
119
129
|
}>> & {
|
|
120
130
|
"onUpdate:modelValue"?: ((val: boolean | "indeterminate") => any) | undefined;
|
|
121
131
|
}, {
|
|
132
|
+
name: string;
|
|
122
133
|
disabled: boolean;
|
|
123
134
|
label: string;
|
|
124
135
|
id: string;
|
|
@@ -21,6 +21,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
21
21
|
default: number;
|
|
22
22
|
required: boolean;
|
|
23
23
|
};
|
|
24
|
+
name: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
required: boolean;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
24
29
|
id: {
|
|
25
30
|
type: StringConstructor;
|
|
26
31
|
required: boolean;
|
|
@@ -72,6 +77,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
72
77
|
default: number;
|
|
73
78
|
required: boolean;
|
|
74
79
|
};
|
|
80
|
+
name: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
required: boolean;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
75
85
|
id: {
|
|
76
86
|
type: StringConstructor;
|
|
77
87
|
required: boolean;
|
|
@@ -106,6 +116,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
106
116
|
"onUpdate:modelValue"?: ((value: NumberValueType) => any) | undefined;
|
|
107
117
|
"onUpdate:readableString"?: ((value: string) => any) | undefined;
|
|
108
118
|
}, {
|
|
119
|
+
name: string;
|
|
109
120
|
disabled: boolean;
|
|
110
121
|
type: "time" | "date" | "datetime-local";
|
|
111
122
|
label: string;
|
|
@@ -20,6 +20,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
20
20
|
default: string;
|
|
21
21
|
required: false;
|
|
22
22
|
};
|
|
23
|
+
name: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
required: boolean;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
23
28
|
id: {
|
|
24
29
|
type: StringConstructor;
|
|
25
30
|
required: boolean;
|
|
@@ -70,6 +75,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
70
75
|
default: string;
|
|
71
76
|
required: false;
|
|
72
77
|
};
|
|
78
|
+
name: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
required: boolean;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
73
83
|
id: {
|
|
74
84
|
type: StringConstructor;
|
|
75
85
|
required: boolean;
|
|
@@ -103,6 +113,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
103
113
|
}>> & {
|
|
104
114
|
"onUpdate:modelValue"?: ((files: File[]) => any) | undefined;
|
|
105
115
|
}, {
|
|
116
|
+
name: string;
|
|
106
117
|
disabled: boolean;
|
|
107
118
|
label: string;
|
|
108
119
|
id: string;
|
|
@@ -34,6 +34,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
34
34
|
default: number;
|
|
35
35
|
required: boolean;
|
|
36
36
|
};
|
|
37
|
+
name: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: boolean;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
37
42
|
id: {
|
|
38
43
|
type: StringConstructor;
|
|
39
44
|
required: boolean;
|
|
@@ -95,6 +100,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
95
100
|
default: number;
|
|
96
101
|
required: boolean;
|
|
97
102
|
};
|
|
103
|
+
name: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
required: boolean;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
98
108
|
id: {
|
|
99
109
|
type: StringConstructor;
|
|
100
110
|
required: boolean;
|
|
@@ -129,6 +139,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
129
139
|
"onUpdate:modelValue"?: ((value: NumberValueType) => any) | undefined;
|
|
130
140
|
onChangeUnit?: ((value: string) => any) | undefined;
|
|
131
141
|
}, {
|
|
142
|
+
name: string;
|
|
132
143
|
disabled: boolean;
|
|
133
144
|
label: string;
|
|
134
145
|
id: string;
|
|
@@ -22,6 +22,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
22
22
|
default: number;
|
|
23
23
|
required: boolean;
|
|
24
24
|
};
|
|
25
|
+
name: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
required: boolean;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
25
30
|
id: {
|
|
26
31
|
type: StringConstructor;
|
|
27
32
|
required: boolean;
|
|
@@ -78,6 +83,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
78
83
|
default: number;
|
|
79
84
|
required: boolean;
|
|
80
85
|
};
|
|
86
|
+
name: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
required: boolean;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
81
91
|
id: {
|
|
82
92
|
type: StringConstructor;
|
|
83
93
|
required: boolean;
|
|
@@ -113,6 +123,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
113
123
|
onOverlayedBtnClicked?: (() => any) | undefined;
|
|
114
124
|
"onUpdate:formattedAmount"?: ((value: NumberValueType) => any) | undefined;
|
|
115
125
|
}, {
|
|
126
|
+
name: string;
|
|
116
127
|
disabled: boolean;
|
|
117
128
|
label: string;
|
|
118
129
|
id: string;
|
|
@@ -10,6 +10,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
10
10
|
default: string;
|
|
11
11
|
required: boolean;
|
|
12
12
|
};
|
|
13
|
+
name: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: boolean;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
13
18
|
id: {
|
|
14
19
|
type: StringConstructor;
|
|
15
20
|
required: boolean;
|
|
@@ -52,6 +57,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
52
57
|
default: string;
|
|
53
58
|
required: boolean;
|
|
54
59
|
};
|
|
60
|
+
name: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
required: boolean;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
55
65
|
id: {
|
|
56
66
|
type: StringConstructor;
|
|
57
67
|
required: boolean;
|
|
@@ -85,6 +95,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
85
95
|
}>> & {
|
|
86
96
|
"onUpdate:modelValue"?: ((value: TextualValueType) => any) | undefined;
|
|
87
97
|
}, {
|
|
98
|
+
name: string;
|
|
88
99
|
disabled: boolean;
|
|
89
100
|
label: string;
|
|
90
101
|
id: string;
|
|
@@ -31,6 +31,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
31
31
|
required: false;
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
|
+
name: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
required: boolean;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
34
39
|
id: {
|
|
35
40
|
type: StringConstructor;
|
|
36
41
|
required: boolean;
|
|
@@ -92,6 +97,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
92
97
|
required: false;
|
|
93
98
|
default: string;
|
|
94
99
|
};
|
|
100
|
+
name: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
required: boolean;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
95
105
|
id: {
|
|
96
106
|
type: StringConstructor;
|
|
97
107
|
required: boolean;
|
|
@@ -126,6 +136,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
126
136
|
"onUpdate:modelValue"?: ((newValue: OptionValueType) => any) | undefined;
|
|
127
137
|
"onUpdate:modelLabel"?: ((newValue: OptionValueType) => any) | undefined;
|
|
128
138
|
}, {
|
|
139
|
+
name: string;
|
|
129
140
|
disabled: boolean;
|
|
130
141
|
label: string;
|
|
131
142
|
id: string;
|
|
@@ -36,6 +36,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
36
36
|
default: string;
|
|
37
37
|
required: boolean;
|
|
38
38
|
};
|
|
39
|
+
name: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
required: boolean;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
39
44
|
id: {
|
|
40
45
|
type: StringConstructor;
|
|
41
46
|
required: boolean;
|
|
@@ -100,6 +105,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
100
105
|
default: string;
|
|
101
106
|
required: boolean;
|
|
102
107
|
};
|
|
108
|
+
name: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
required: boolean;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
103
113
|
id: {
|
|
104
114
|
type: StringConstructor;
|
|
105
115
|
required: boolean;
|
|
@@ -133,6 +143,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
133
143
|
}>> & {
|
|
134
144
|
"onUpdate:modelValue"?: ((value: TextualValueType) => any) | undefined;
|
|
135
145
|
}, {
|
|
146
|
+
name: string;
|
|
136
147
|
disabled: boolean;
|
|
137
148
|
type: "text" | "password";
|
|
138
149
|
label: string;
|
|
@@ -22,6 +22,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
22
22
|
default: string;
|
|
23
23
|
required: boolean;
|
|
24
24
|
};
|
|
25
|
+
name: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
required: boolean;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
25
30
|
id: {
|
|
26
31
|
type: StringConstructor;
|
|
27
32
|
required: boolean;
|
|
@@ -76,6 +81,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
76
81
|
default: string;
|
|
77
82
|
required: boolean;
|
|
78
83
|
};
|
|
84
|
+
name: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
required: boolean;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
79
89
|
id: {
|
|
80
90
|
type: StringConstructor;
|
|
81
91
|
required: boolean;
|
|
@@ -109,6 +119,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
109
119
|
}>> & {
|
|
110
120
|
"onUpdate:modelValue"?: ((value: TextualValueType) => any) | undefined;
|
|
111
121
|
}, {
|
|
122
|
+
name: string;
|
|
112
123
|
disabled: boolean;
|
|
113
124
|
label: string;
|
|
114
125
|
id: string;
|
package/dist/forms/input.d.ts
CHANGED
|
@@ -84,6 +84,11 @@ export declare const withTextualInputProps: () => {
|
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
86
|
export declare const withCommonElInputProps: () => {
|
|
87
|
+
name: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
required: boolean;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
87
92
|
id: {
|
|
88
93
|
type: StringConstructor;
|
|
89
94
|
required: boolean;
|
|
@@ -125,6 +130,11 @@ export declare const withTextualElInputProps: () => {
|
|
|
125
130
|
default: string;
|
|
126
131
|
required: boolean;
|
|
127
132
|
};
|
|
133
|
+
name: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
required: boolean;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
128
138
|
id: {
|
|
129
139
|
type: StringConstructor;
|
|
130
140
|
required: boolean;
|
|
@@ -218,6 +228,11 @@ export declare const withNumberElInputProps: () => {
|
|
|
218
228
|
default: number;
|
|
219
229
|
required: boolean;
|
|
220
230
|
};
|
|
231
|
+
name: {
|
|
232
|
+
type: StringConstructor;
|
|
233
|
+
required: boolean;
|
|
234
|
+
default: string;
|
|
235
|
+
};
|
|
221
236
|
id: {
|
|
222
237
|
type: StringConstructor;
|
|
223
238
|
required: boolean;
|
|
@@ -249,7 +264,7 @@ export declare const withNumberElInputProps: () => {
|
|
|
249
264
|
default: boolean;
|
|
250
265
|
};
|
|
251
266
|
};
|
|
252
|
-
export declare function useInput<T = string>(initialValue: Ref<T>, validations: Ref<string[]> | ComputedRef<string[]>, onChange?: (value: T) => void): {
|
|
267
|
+
export declare function useInput<T = string>(initialValue: Ref<T>, validations: Ref<string[]> | ComputedRef<string[]>, inputName?: string, onChange?: (value: T) => void): {
|
|
253
268
|
fieldContext: import('vee-validate').FieldContext<T>;
|
|
254
269
|
errorMessage: Ref<string | undefined>;
|
|
255
270
|
value: Ref<T>;
|