@davincihealthcare/elty-design-system-vue 1.71.0 → 1.71.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
|
|
3
|
-
export declare const elInputFileTypes: readonly ["image", "document", "csv", "excel", "any", "patientsImportDataFpfV5", "patientsImportDataHippocrates", "patientsImportDataIatros", "patientsImportDataMdb2000", "patientsImportDataMillewin", "patientsImportDataPhronesis", "patientsImportDataFastamb", "patientsImportDataMedico2000", "patientsImportDataTServe", "patientsImportDataProfim", "patientsImportDataMillewinAttachments", "patientsImportDataAdvmednet"];
|
|
3
|
+
export declare const elInputFileTypes: readonly ["image", "document", "csv", "excel", "any", "zip", "patientsImportDataFpfV5", "patientsImportDataHippocrates", "patientsImportDataIatros", "patientsImportDataMdb2000", "patientsImportDataMillewin", "patientsImportDataPhronesis", "patientsImportDataFastamb", "patientsImportDataMedico2000", "patientsImportDataTServe", "patientsImportDataProfim", "patientsImportDataMillewinAttachments", "patientsImportDataAdvmednet"];
|
|
4
4
|
export type ElInputFileType = (typeof elInputFileTypes)[number];
|
|
5
5
|
declare const _default: import('vue').DefineComponent<{
|
|
6
6
|
modelValue: {
|
|
@@ -122,6 +122,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
122
122
|
hiddenErrorMessage: boolean;
|
|
123
123
|
validation: import('./validation-rules').InputValidation;
|
|
124
124
|
multiple: boolean;
|
|
125
|
-
fileType: "image" | "document" | "csv" | "excel" | "any" | "patientsImportDataFpfV5" | "patientsImportDataHippocrates" | "patientsImportDataIatros" | "patientsImportDataMdb2000" | "patientsImportDataMillewin" | "patientsImportDataPhronesis" | "patientsImportDataFastamb" | "patientsImportDataMedico2000" | "patientsImportDataTServe" | "patientsImportDataProfim" | "patientsImportDataMillewinAttachments" | "patientsImportDataAdvmednet";
|
|
125
|
+
fileType: "image" | "document" | "csv" | "excel" | "any" | "zip" | "patientsImportDataFpfV5" | "patientsImportDataHippocrates" | "patientsImportDataIatros" | "patientsImportDataMdb2000" | "patientsImportDataMillewin" | "patientsImportDataPhronesis" | "patientsImportDataFastamb" | "patientsImportDataMedico2000" | "patientsImportDataTServe" | "patientsImportDataProfim" | "patientsImportDataMillewinAttachments" | "patientsImportDataAdvmednet";
|
|
126
126
|
}, {}>;
|
|
127
127
|
export default _default;
|
|
@@ -19,7 +19,8 @@ type ExtValidationRule = `ext:${string}`;
|
|
|
19
19
|
type PhoneNumberValidationRule = 'phoneNumber';
|
|
20
20
|
type UnicodeValidationRule = `unicode:${string}`;
|
|
21
21
|
type PaiCodeValidationRule = 'paiCode';
|
|
22
|
-
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;
|
|
23
24
|
export type InputValidation = ValidationRule | `${ValidationRule}|${ValidationRule}` | `${ValidationRule}|${ValidationRule}|${string}`;
|
|
24
25
|
export declare const defineValidationRules: () => void;
|
|
25
26
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -22466,6 +22466,7 @@ const DB = () => {
|
|
|
22466
22466
|
"csv",
|
|
22467
22467
|
"excel",
|
|
22468
22468
|
"any",
|
|
22469
|
+
"zip",
|
|
22469
22470
|
"patientsImportDataFpfV5",
|
|
22470
22471
|
"patientsImportDataHippocrates",
|
|
22471
22472
|
"patientsImportDataIatros",
|
|
@@ -22521,6 +22522,7 @@ const DB = () => {
|
|
|
22521
22522
|
case "patientsImportDataMedico2000":
|
|
22522
22523
|
case "patientsImportDataMillewinAttachments":
|
|
22523
22524
|
case "patientsImportDataAdvmednet":
|
|
22525
|
+
case "zip":
|
|
22524
22526
|
return [".zip"];
|
|
22525
22527
|
case "image":
|
|
22526
22528
|
return ["image/jpeg", "image/png"];
|
|
@@ -22577,6 +22579,7 @@ const DB = () => {
|
|
|
22577
22579
|
case "patientsImportDataMedico2000":
|
|
22578
22580
|
case "patientsImportDataMillewinAttachments":
|
|
22579
22581
|
case "patientsImportDataAdvmednet":
|
|
22582
|
+
case "zip":
|
|
22580
22583
|
h.push("ext:zip");
|
|
22581
22584
|
break;
|
|
22582
22585
|
}
|