@davincihealthcare/elty-design-system-vue 1.0.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/README.md +40 -0
- package/dist/ElAccordion.vue.d.ts +140 -0
- package/dist/ElAvatar.vue.d.ts +33 -0
- package/dist/ElBadge.vue.d.ts +34 -0
- package/dist/ElButton.vue.d.ts +77 -0
- package/dist/ElCalendarCard.vue.d.ts +65 -0
- package/dist/ElCalendarCell.vue.d.ts +48 -0
- package/dist/ElDrawer.vue.d.ts +38 -0
- package/dist/ElDropdown.vue.d.ts +309 -0
- package/dist/ElFile.vue.d.ts +25 -0
- package/dist/ElFooter.vue.d.ts +2 -0
- package/dist/ElIcon.vue.d.ts +29 -0
- package/dist/ElIconButton.vue.d.ts +56 -0
- package/dist/ElItem.vue.d.ts +46 -0
- package/dist/ElLogo.vue.d.ts +38 -0
- package/dist/ElSortingHeader.vue.d.ts +31 -0
- package/dist/ElSuggestionChip.vue.d.ts +17 -0
- package/dist/ElTab.vue.d.ts +23 -0
- package/dist/ElTabGroup.vue.d.ts +25 -0
- package/dist/ElTableHead.vue.d.ts +54 -0
- package/dist/ElTabs.vue.d.ts +27 -0
- package/dist/ElTag.vue.d.ts +56 -0
- package/dist/ElTest.vue.d.ts +2 -0
- package/dist/ElTextCell.vue.d.ts +36 -0
- package/dist/ElToast.vue.d.ts +11 -0
- package/dist/_ClipToAnchor.vue.d.ts +27 -0
- package/dist/_CustomTransition.vue.d.ts +30 -0
- package/dist/_SimpleTooltip.vue.d.ts +25 -0
- package/dist/forms/ElInputCheckbox.vue.d.ts +120 -0
- package/dist/forms/ElInputContainer.vue.d.ts +71 -0
- package/dist/forms/ElInputDate.vue.d.ts +107 -0
- package/dist/forms/ElInputFile.vue.d.ts +104 -0
- package/dist/forms/ElInputMeasureUnit.vue.d.ts +132 -0
- package/dist/forms/ElInputNumber.vue.d.ts +106 -0
- package/dist/forms/ElInputPhone.vue.d.ts +85 -0
- package/dist/forms/ElInputSelect.vue.d.ts +130 -0
- package/dist/forms/ElInputText.vue.d.ts +120 -0
- package/dist/forms/ElInputTextarea.vue.d.ts +103 -0
- package/dist/forms/input.d.ts +245 -0
- package/dist/forms/utils.d.ts +24 -0
- package/dist/forms/validation-rules.d.ts +1 -0
- package/dist/index.d.ts +70 -0
- package/dist/index.mjs +22989 -0
- package/dist/index.mjs.map +1 -0
- package/dist/routes.d.ts +10 -0
- package/dist/style.css +1 -0
- package/dist/types.d.ts +83 -0
- package/dist/utils.d.ts +2 -0
- package/package.json +78 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue: string;
|
|
3
|
+
tabs: Array<{
|
|
4
|
+
label: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}>;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (modelValue: string) => void;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
modelValue: string;
|
|
11
|
+
tabs: Array<{
|
|
12
|
+
label: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
}>;
|
|
15
|
+
}>>> & {
|
|
16
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
17
|
+
}, {}, {}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ElIconProps } from './ElIcon.vue';
|
|
2
|
+
export declare const elTagColors: readonly ["primary", "rose", "pink", "purple", "indigo", "blue", "cyan", "gray", "teal", "green", "yellow", "orange", "red"];
|
|
3
|
+
export type ElTagColor = (typeof elTagColors)[number];
|
|
4
|
+
export declare const elTagSizes: readonly ["xxs", "xs"];
|
|
5
|
+
export type ElTagSize = (typeof elTagSizes)[number];
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
text: string;
|
|
8
|
+
color?: "pink" | "yellow" | "orange" | "cyan" | "rose" | "green" | "red" | "purple" | "indigo" | "primary" | "teal" | "blue" | "gray" | undefined;
|
|
9
|
+
size?: "xs" | "xxs" | undefined;
|
|
10
|
+
outlined?: boolean | undefined;
|
|
11
|
+
leadingIcon?: ElIconProps | undefined;
|
|
12
|
+
trailingIcon?: ElIconProps | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
color: string;
|
|
15
|
+
size: string;
|
|
16
|
+
outlined: boolean;
|
|
17
|
+
leadingIcon: undefined;
|
|
18
|
+
trailingIcon: undefined;
|
|
19
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
+
text: string;
|
|
21
|
+
color?: "pink" | "yellow" | "orange" | "cyan" | "rose" | "green" | "red" | "purple" | "indigo" | "primary" | "teal" | "blue" | "gray" | undefined;
|
|
22
|
+
size?: "xs" | "xxs" | undefined;
|
|
23
|
+
outlined?: boolean | undefined;
|
|
24
|
+
leadingIcon?: ElIconProps | undefined;
|
|
25
|
+
trailingIcon?: ElIconProps | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
color: string;
|
|
28
|
+
size: string;
|
|
29
|
+
outlined: boolean;
|
|
30
|
+
leadingIcon: undefined;
|
|
31
|
+
trailingIcon: undefined;
|
|
32
|
+
}>>>, {
|
|
33
|
+
color: ElTagColor;
|
|
34
|
+
size: ElTagSize;
|
|
35
|
+
leadingIcon: ElIconProps;
|
|
36
|
+
trailingIcon: ElIconProps;
|
|
37
|
+
outlined: boolean;
|
|
38
|
+
}, {}>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
type __VLS_WithDefaults<P, D> = {
|
|
50
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
+
default: D[K];
|
|
52
|
+
}> : P[K];
|
|
53
|
+
};
|
|
54
|
+
type __VLS_Prettify<T> = {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} & {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const elTextCellStyles: readonly ["normal", "semibold", "underline"];
|
|
2
|
+
export type ElTextCellStyle = (typeof elTextCellStyles)[number];
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
label?: string | undefined;
|
|
5
|
+
style?: "normal" | "semibold" | "underline" | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
label: string;
|
|
8
|
+
style: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
label?: string | undefined;
|
|
11
|
+
style?: "normal" | "semibold" | "underline" | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
label: string;
|
|
14
|
+
style: string;
|
|
15
|
+
}>>>, {
|
|
16
|
+
label: string;
|
|
17
|
+
style: ElTextCellStyle;
|
|
18
|
+
}, {}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
}> : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const elToastStates: readonly ["error", "danger", "success"];
|
|
2
|
+
export type ElToastStates = (typeof elToastStates)[number];
|
|
3
|
+
export interface ToastOptions {
|
|
4
|
+
title: string;
|
|
5
|
+
state: ElToastStates;
|
|
6
|
+
description?: string;
|
|
7
|
+
allowDuplicates?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const toast: (msg: string, options?: Partial<ToastOptions>) => void;
|
|
10
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type PositionToAnchor = 'bottom' | 'bottom-left' | 'top' | 'top-center' | 'bottom-center' | 'top-right' | 'right' | 'bottom-right-top-right';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
anchor: HTMLElement;
|
|
4
|
+
positionToAnchor: PositionToAnchor;
|
|
5
|
+
minWidthRelatedToAnchor?: number | undefined;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
anchor: HTMLElement;
|
|
8
|
+
positionToAnchor: PositionToAnchor;
|
|
9
|
+
minWidthRelatedToAnchor?: number | undefined;
|
|
10
|
+
}>>>, {}, {}>, {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
name: "fade" | "scale" | "slide-x-fade" | "slide-y-fade" | "flip-x" | "expand" | "slide-y" | "slide-x";
|
|
3
|
+
mode?: "out-in" | "in-out" | undefined;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
onEnter: () => void;
|
|
6
|
+
onLeave: () => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
name: "fade" | "scale" | "slide-x-fade" | "slide-y-fade" | "flip-x" | "expand" | "slide-y" | "slide-x";
|
|
9
|
+
mode?: "out-in" | "in-out" | undefined;
|
|
10
|
+
}>>> & {
|
|
11
|
+
onOnEnter?: (() => any) | undefined;
|
|
12
|
+
onOnLeave?: (() => any) | undefined;
|
|
13
|
+
}, {}, {}>, {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { PositionToAnchor } from './_ClipToAnchor.vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
text: string;
|
|
4
|
+
positionToAnchor?: PositionToAnchor | undefined;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
text: string;
|
|
7
|
+
positionToAnchor?: PositionToAnchor | undefined;
|
|
8
|
+
}>>>, {}, {}>, {
|
|
9
|
+
anchor?(_: {}): any;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare const elInputCheckboxSizes: readonly ["xs", "xxs"];
|
|
3
|
+
export type ElInputCheckboxSizes = (typeof elInputCheckboxSizes)[number];
|
|
4
|
+
export declare const elInputCheckboxModelValues: readonly [true, false, "indeterminate"];
|
|
5
|
+
export type ElInputCheckboxModelValues = (typeof elInputCheckboxModelValues)[number];
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: PropType<boolean | "indeterminate">;
|
|
9
|
+
default: boolean;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: PropType<"xs" | "xxs">;
|
|
14
|
+
default: string;
|
|
15
|
+
required: false;
|
|
16
|
+
};
|
|
17
|
+
placeholder: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
required: boolean;
|
|
21
|
+
};
|
|
22
|
+
step: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
required: boolean;
|
|
26
|
+
};
|
|
27
|
+
label: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
required: boolean;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
validation: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
required: boolean;
|
|
36
|
+
};
|
|
37
|
+
disabled: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
required: boolean;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
errorMessage: {
|
|
43
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
44
|
+
required: boolean;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
hiddenErrorMessage: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
required: boolean;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
|
+
"update:modelValue": (val: boolean | "indeterminate") => void;
|
|
54
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
modelValue: {
|
|
56
|
+
type: PropType<boolean | "indeterminate">;
|
|
57
|
+
default: boolean;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
size: {
|
|
61
|
+
type: PropType<"xs" | "xxs">;
|
|
62
|
+
default: string;
|
|
63
|
+
required: false;
|
|
64
|
+
};
|
|
65
|
+
placeholder: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
required: boolean;
|
|
69
|
+
};
|
|
70
|
+
step: {
|
|
71
|
+
type: NumberConstructor;
|
|
72
|
+
default: number;
|
|
73
|
+
required: boolean;
|
|
74
|
+
};
|
|
75
|
+
label: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
required: boolean;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
validation: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
required: boolean;
|
|
84
|
+
};
|
|
85
|
+
disabled: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
required: boolean;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
errorMessage: {
|
|
91
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
92
|
+
required: boolean;
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
95
|
+
hiddenErrorMessage: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
required: boolean;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
}>> & {
|
|
101
|
+
"onUpdate:modelValue"?: ((val: boolean | "indeterminate") => any) | undefined;
|
|
102
|
+
}, {
|
|
103
|
+
disabled: boolean;
|
|
104
|
+
label: string;
|
|
105
|
+
placeholder: string;
|
|
106
|
+
step: number;
|
|
107
|
+
size: "xs" | "xxs";
|
|
108
|
+
modelValue: boolean | "indeterminate";
|
|
109
|
+
errorMessage: string | boolean;
|
|
110
|
+
hiddenErrorMessage: boolean;
|
|
111
|
+
validation: string;
|
|
112
|
+
}, {}>, {
|
|
113
|
+
default?(_: {}): any;
|
|
114
|
+
}>;
|
|
115
|
+
export default _default;
|
|
116
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
117
|
+
new (): {
|
|
118
|
+
$slots: S;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
label: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
errorMessage: {
|
|
7
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
8
|
+
required: false;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
hiddenErrorMessage: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
required: false;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
name: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
setRequiredMark: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
required: false;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
label: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
errorMessage: {
|
|
31
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
32
|
+
required: false;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
hiddenErrorMessage: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
required: false;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
name: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
setRequiredMark: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
required: false;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
}>>, {
|
|
50
|
+
label: string;
|
|
51
|
+
errorMessage: string | boolean;
|
|
52
|
+
hiddenErrorMessage: boolean;
|
|
53
|
+
setRequiredMark: boolean;
|
|
54
|
+
}, {}>, {
|
|
55
|
+
leading?(_: {
|
|
56
|
+
error: boolean;
|
|
57
|
+
}): any;
|
|
58
|
+
default?(_: {
|
|
59
|
+
error: boolean;
|
|
60
|
+
}): any;
|
|
61
|
+
trailing?(_: {
|
|
62
|
+
error: boolean;
|
|
63
|
+
}): any;
|
|
64
|
+
after?(_: {}): any;
|
|
65
|
+
}>;
|
|
66
|
+
export default _default;
|
|
67
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
68
|
+
new (): {
|
|
69
|
+
$slots: S;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { NumberValueType } from './input';
|
|
3
|
+
export declare const elInputDateTypes: readonly ["date", "datetime-local", "time"];
|
|
4
|
+
export type ElInputDateType = (typeof elInputDateTypes)[number];
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
type: {
|
|
7
|
+
type: PropType<"time" | "date" | "datetime-local">;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: PropType<NumberValueType>;
|
|
12
|
+
};
|
|
13
|
+
placeholder: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
required: boolean;
|
|
17
|
+
};
|
|
18
|
+
step: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
required: boolean;
|
|
22
|
+
};
|
|
23
|
+
label: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
required: boolean;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
validation: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
required: boolean;
|
|
32
|
+
};
|
|
33
|
+
disabled: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
required: boolean;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
errorMessage: {
|
|
39
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
40
|
+
required: boolean;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
43
|
+
hiddenErrorMessage: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
required: boolean;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
|
+
"update:modelValue": (value: NumberValueType) => void;
|
|
50
|
+
"update:readableString": (value: string) => void;
|
|
51
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
type: {
|
|
53
|
+
type: PropType<"time" | "date" | "datetime-local">;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
modelValue: {
|
|
57
|
+
type: PropType<NumberValueType>;
|
|
58
|
+
};
|
|
59
|
+
placeholder: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
required: boolean;
|
|
63
|
+
};
|
|
64
|
+
step: {
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
default: number;
|
|
67
|
+
required: boolean;
|
|
68
|
+
};
|
|
69
|
+
label: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
required: boolean;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
validation: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
required: boolean;
|
|
78
|
+
};
|
|
79
|
+
disabled: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
required: boolean;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
errorMessage: {
|
|
85
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
86
|
+
required: boolean;
|
|
87
|
+
default: undefined;
|
|
88
|
+
};
|
|
89
|
+
hiddenErrorMessage: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
required: boolean;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
}>> & {
|
|
95
|
+
"onUpdate:modelValue"?: ((value: NumberValueType) => any) | undefined;
|
|
96
|
+
"onUpdate:readableString"?: ((value: string) => any) | undefined;
|
|
97
|
+
}, {
|
|
98
|
+
disabled: boolean;
|
|
99
|
+
type: "time" | "date" | "datetime-local";
|
|
100
|
+
label: string;
|
|
101
|
+
placeholder: string;
|
|
102
|
+
step: number;
|
|
103
|
+
errorMessage: string | boolean;
|
|
104
|
+
hiddenErrorMessage: boolean;
|
|
105
|
+
validation: string;
|
|
106
|
+
}, {}>;
|
|
107
|
+
export default _default;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare const elInputFileTypes: readonly ["image", "document", "csv", "excel", "any", "patientsImportDataFpfV5", "patientsImportDataHippocrates", "patientsImportDataIatros", "patientsImportDataMdb2000", "patientsImportDataMillewin", "patientsImportDataPhronesis", "patientsImportDataFastamb", "patientsImportDataMedico2000", "patientsImportDataTServe"];
|
|
3
|
+
export type ElInputFileType = (typeof elInputFileTypes)[number];
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: () => File[];
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
content: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
multiple: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
fileType: {
|
|
18
|
+
type: PropType<"image" | "document" | "csv" | "excel" | "any" | "patientsImportDataFpfV5" | "patientsImportDataHippocrates" | "patientsImportDataIatros" | "patientsImportDataMdb2000" | "patientsImportDataMillewin" | "patientsImportDataPhronesis" | "patientsImportDataFastamb" | "patientsImportDataMedico2000" | "patientsImportDataTServe">;
|
|
19
|
+
default: string;
|
|
20
|
+
required: false;
|
|
21
|
+
};
|
|
22
|
+
label: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: boolean;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
validation: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
required: boolean;
|
|
31
|
+
};
|
|
32
|
+
disabled: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
required: boolean;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
errorMessage: {
|
|
38
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
39
|
+
required: boolean;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
hiddenErrorMessage: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
required: boolean;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
|
+
"update:modelValue": (files: File[]) => void;
|
|
49
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
modelValue: {
|
|
51
|
+
type: () => File[];
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
content: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: undefined;
|
|
57
|
+
};
|
|
58
|
+
multiple: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
fileType: {
|
|
63
|
+
type: PropType<"image" | "document" | "csv" | "excel" | "any" | "patientsImportDataFpfV5" | "patientsImportDataHippocrates" | "patientsImportDataIatros" | "patientsImportDataMdb2000" | "patientsImportDataMillewin" | "patientsImportDataPhronesis" | "patientsImportDataFastamb" | "patientsImportDataMedico2000" | "patientsImportDataTServe">;
|
|
64
|
+
default: string;
|
|
65
|
+
required: false;
|
|
66
|
+
};
|
|
67
|
+
label: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
required: boolean;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
validation: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
required: boolean;
|
|
76
|
+
};
|
|
77
|
+
disabled: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
required: boolean;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
errorMessage: {
|
|
83
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
84
|
+
required: boolean;
|
|
85
|
+
default: undefined;
|
|
86
|
+
};
|
|
87
|
+
hiddenErrorMessage: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
required: boolean;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
}>> & {
|
|
93
|
+
"onUpdate:modelValue"?: ((files: File[]) => any) | undefined;
|
|
94
|
+
}, {
|
|
95
|
+
disabled: boolean;
|
|
96
|
+
label: string;
|
|
97
|
+
errorMessage: string | boolean;
|
|
98
|
+
hiddenErrorMessage: boolean;
|
|
99
|
+
validation: string;
|
|
100
|
+
content: string;
|
|
101
|
+
multiple: boolean;
|
|
102
|
+
fileType: "image" | "document" | "csv" | "excel" | "any" | "patientsImportDataFpfV5" | "patientsImportDataHippocrates" | "patientsImportDataIatros" | "patientsImportDataMdb2000" | "patientsImportDataMillewin" | "patientsImportDataPhronesis" | "patientsImportDataFastamb" | "patientsImportDataMedico2000" | "patientsImportDataTServe";
|
|
103
|
+
}, {}>;
|
|
104
|
+
export default _default;
|