@davincihealthcare/elty-design-system-vue 1.71.2 → 2.1.0
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/ElDivider.vue.d.ts +2 -2
- package/dist/ElDropdown.vue.d.ts +2 -2
- package/dist/ElIconButton.vue.d.ts +0 -4
- package/dist/ElItem.vue.d.ts +2 -2
- package/dist/ElTableHead.vue.d.ts +2 -2
- package/dist/ElTag.vue.d.ts +8 -6
- package/dist/ElTooltip.vue.d.ts +3 -27
- package/dist/forms/ElInputContainer.vue.d.ts +53 -56
- package/dist/forms/ElInputDate.vue.d.ts +11 -0
- package/dist/forms/ElInputFile.vue.d.ts +13 -2
- 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/ElInputSearch.vue.d.ts +0 -9
- 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 -9
- package/dist/forms/input.d.ts +31 -0
- package/dist/forms/utils.d.ts +0 -2
- package/dist/forms/validation-rules.d.ts +1 -3
- package/dist/index.d.ts +0 -1
- package/dist/index.js +10398 -11195
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +22 -29
- package/dist/index.umd.cjs.map +1 -1
- package/dist/style.cjs +1 -1
- package/dist/style.css +1 -1
- package/dist/table/ElServerSideResponsiveTable.vue.d.ts +1 -5
- package/dist/table/ElTableCell.vue.d.ts +0 -2
- package/dist/table/ElTablePagination.vue.d.ts +33 -0
- package/package.json +1 -3
- package/dist/forms/utils.test.d.ts +0 -1
package/dist/forms/input.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElInputContainerColor } from './ElInputContainer.vue';
|
|
1
2
|
import { ComputedRef, PropType, Ref } from 'vue';
|
|
2
3
|
import { InputValidation } from './validation-rules';
|
|
3
4
|
|
|
@@ -40,6 +41,11 @@ export declare const withCommonInputProps: () => {
|
|
|
40
41
|
required: boolean;
|
|
41
42
|
default: undefined;
|
|
42
43
|
};
|
|
44
|
+
color: {
|
|
45
|
+
type: PropType<ElInputContainerColor>;
|
|
46
|
+
required: boolean;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
43
49
|
};
|
|
44
50
|
export declare const withTextualInputProps: () => {
|
|
45
51
|
modelValue: {
|
|
@@ -84,6 +90,11 @@ export declare const withTextualInputProps: () => {
|
|
|
84
90
|
required: boolean;
|
|
85
91
|
default: undefined;
|
|
86
92
|
};
|
|
93
|
+
color: {
|
|
94
|
+
type: PropType<ElInputContainerColor>;
|
|
95
|
+
required: boolean;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
87
98
|
};
|
|
88
99
|
export declare const withCommonElInputProps: () => {
|
|
89
100
|
name: {
|
|
@@ -121,6 +132,11 @@ export declare const withCommonElInputProps: () => {
|
|
|
121
132
|
required: boolean;
|
|
122
133
|
default: boolean;
|
|
123
134
|
};
|
|
135
|
+
color: {
|
|
136
|
+
type: PropType<ElInputContainerColor>;
|
|
137
|
+
required: boolean;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
124
140
|
};
|
|
125
141
|
export declare const withTextualElInputProps: () => {
|
|
126
142
|
modelValue: {
|
|
@@ -167,6 +183,11 @@ export declare const withTextualElInputProps: () => {
|
|
|
167
183
|
required: boolean;
|
|
168
184
|
default: boolean;
|
|
169
185
|
};
|
|
186
|
+
color: {
|
|
187
|
+
type: PropType<ElInputContainerColor>;
|
|
188
|
+
required: boolean;
|
|
189
|
+
default: string;
|
|
190
|
+
};
|
|
170
191
|
};
|
|
171
192
|
export declare const withNumberInputProps: () => {
|
|
172
193
|
modelValue: {
|
|
@@ -215,6 +236,11 @@ export declare const withNumberInputProps: () => {
|
|
|
215
236
|
required: boolean;
|
|
216
237
|
default: undefined;
|
|
217
238
|
};
|
|
239
|
+
color: {
|
|
240
|
+
type: PropType<ElInputContainerColor>;
|
|
241
|
+
required: boolean;
|
|
242
|
+
default: string;
|
|
243
|
+
};
|
|
218
244
|
};
|
|
219
245
|
export declare const withNumberElInputProps: () => {
|
|
220
246
|
modelValue: {
|
|
@@ -265,6 +291,11 @@ export declare const withNumberElInputProps: () => {
|
|
|
265
291
|
required: boolean;
|
|
266
292
|
default: boolean;
|
|
267
293
|
};
|
|
294
|
+
color: {
|
|
295
|
+
type: PropType<ElInputContainerColor>;
|
|
296
|
+
required: boolean;
|
|
297
|
+
default: string;
|
|
298
|
+
};
|
|
268
299
|
};
|
|
269
300
|
export declare function useInput<T = string>(initialValue: Ref<T>, validations: Ref<string[]> | ComputedRef<string[]>, inputName?: string, onChange?: (value: T) => void): {
|
|
270
301
|
fieldContext: import('vee-validate').FieldContext<T>;
|
package/dist/forms/utils.d.ts
CHANGED
|
@@ -22,5 +22,3 @@ export declare const getReadableDateTime: (d: number | string | Date, dateTimeFo
|
|
|
22
22
|
export declare const getReadableTime: (d: number | string | Date, shortify?: boolean) => string;
|
|
23
23
|
export declare const isValidPhoneNumber: (phoneNumber: string) => boolean;
|
|
24
24
|
export declare const isValidTaxCode: (taxCode: string) => boolean;
|
|
25
|
-
export declare const isValidPaiCode: (paiCode: string) => boolean;
|
|
26
|
-
export declare const isValidDecimal: (value: string) => boolean;
|
|
@@ -18,9 +18,7 @@ type MaxDateValidationRule = `maxDate:${number}`;
|
|
|
18
18
|
type ExtValidationRule = `ext:${string}`;
|
|
19
19
|
type PhoneNumberValidationRule = 'phoneNumber';
|
|
20
20
|
type UnicodeValidationRule = `unicode:${string}`;
|
|
21
|
-
type
|
|
22
|
-
type DecimalValidationRule = 'decimal';
|
|
23
|
-
type ValidationRule = '' | DecimalValidationRule | RequiredValidationRule | MinValidationRule | MaxValidationRule | LengthValidationRule | BetweenValidationRule | RegexValidationRule | EmailValidationRule | MinValueValidationRule | MaxValueValidationRule | NumberValidationRule | TaxCodeValidationRule | MinTimeValidationRule | MaxTimeValidationRule | MinDateTimeValidationRule | MaxDateTimeValidationRule | MinDateValidationRule | MaxDateValidationRule | ExtValidationRule | PhoneNumberValidationRule | UnicodeValidationRule | PaiCodeValidationRule;
|
|
21
|
+
type ValidationRule = '' | RequiredValidationRule | MinValidationRule | MaxValidationRule | LengthValidationRule | BetweenValidationRule | RegexValidationRule | EmailValidationRule | MinValueValidationRule | MaxValueValidationRule | NumberValidationRule | TaxCodeValidationRule | MinTimeValidationRule | MaxTimeValidationRule | MinDateTimeValidationRule | MaxDateTimeValidationRule | MinDateValidationRule | MaxDateValidationRule | ExtValidationRule | PhoneNumberValidationRule | UnicodeValidationRule;
|
|
24
22
|
export type InputValidation = ValidationRule | `${ValidationRule}|${ValidationRule}` | `${ValidationRule}|${ValidationRule}|${string}`;
|
|
25
23
|
export declare const defineValidationRules: () => void;
|
|
26
24
|
export {};
|
package/dist/index.d.ts
CHANGED