@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
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# @davincihealthcare/elty-design-system-vue
|
|
2
|
+
|
|
3
|
+
Welcome to the Vue Design System Components repository! This collection of reusable Vue components is designed to help you easily integrate and maintain a consistent design system across your company's projects. Whether you're building a new application or updating an existing one, these components are ready to be used and customized to match your brand guidelines.
|
|
4
|
+
|
|
5
|
+
## Getting Started
|
|
6
|
+
|
|
7
|
+
To get started with using these components in your Vue project, follow these simple steps:
|
|
8
|
+
|
|
9
|
+
### Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
# using yarn
|
|
13
|
+
yarn add @davincihealthcare/elty-design-system-vue
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```js
|
|
19
|
+
// Import the component you need
|
|
20
|
+
import { ElButton } from '@davincihealthcare/elty-design-system-vue';
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Now, you can use the imported component in your templates:
|
|
24
|
+
|
|
25
|
+
```vue
|
|
26
|
+
<template>
|
|
27
|
+
<div>
|
|
28
|
+
<ElButton @click="handleClick">Click me</Button>
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
|
|
32
|
+
<script lang="ts" setup>
|
|
33
|
+
|
|
34
|
+
const handleClick = () {
|
|
35
|
+
// Handle button click
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
```
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
label: string;
|
|
3
|
+
open?: boolean | undefined;
|
|
4
|
+
items?: ({
|
|
5
|
+
onClick?: (() => void) | undefined;
|
|
6
|
+
} & Partial<{
|
|
7
|
+
text: string;
|
|
8
|
+
avatar: import("./types").AvatarParameters;
|
|
9
|
+
check: boolean;
|
|
10
|
+
leadingIcon: import("./ElIcon.vue").ElIconProps;
|
|
11
|
+
}> & Omit<{
|
|
12
|
+
readonly text: string;
|
|
13
|
+
readonly check: boolean;
|
|
14
|
+
readonly avatar?: import("./types").AvatarParameters | undefined;
|
|
15
|
+
readonly leadingIcon?: import("./ElIcon.vue").ElIconProps | undefined;
|
|
16
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
text: {
|
|
18
|
+
type: import("vue").PropType<string>;
|
|
19
|
+
required: true;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
avatar: {
|
|
23
|
+
type: import("vue").PropType<import("./types").AvatarParameters>;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
check: {
|
|
27
|
+
type: import("vue").PropType<boolean>;
|
|
28
|
+
required: true;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
leadingIcon: {
|
|
32
|
+
type: import("vue").PropType<import("./ElIcon.vue").ElIconProps>;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
}>>, "text" | "avatar" | "check" | "leadingIcon">)[] | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
open: undefined;
|
|
38
|
+
items: undefined;
|
|
39
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
+
"update:open": (open?: boolean | undefined) => void;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
42
|
+
label: string;
|
|
43
|
+
open?: boolean | undefined;
|
|
44
|
+
items?: ({
|
|
45
|
+
onClick?: (() => void) | undefined;
|
|
46
|
+
} & Partial<{
|
|
47
|
+
text: string;
|
|
48
|
+
avatar: import("./types").AvatarParameters;
|
|
49
|
+
check: boolean;
|
|
50
|
+
leadingIcon: import("./ElIcon.vue").ElIconProps;
|
|
51
|
+
}> & Omit<{
|
|
52
|
+
readonly text: string;
|
|
53
|
+
readonly check: boolean;
|
|
54
|
+
readonly avatar?: import("./types").AvatarParameters | undefined;
|
|
55
|
+
readonly leadingIcon?: import("./ElIcon.vue").ElIconProps | undefined;
|
|
56
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
57
|
+
text: {
|
|
58
|
+
type: import("vue").PropType<string>;
|
|
59
|
+
required: true;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
avatar: {
|
|
63
|
+
type: import("vue").PropType<import("./types").AvatarParameters>;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
check: {
|
|
67
|
+
type: import("vue").PropType<boolean>;
|
|
68
|
+
required: true;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
leadingIcon: {
|
|
72
|
+
type: import("vue").PropType<import("./ElIcon.vue").ElIconProps>;
|
|
73
|
+
default: undefined;
|
|
74
|
+
};
|
|
75
|
+
}>>, "text" | "avatar" | "check" | "leadingIcon">)[] | undefined;
|
|
76
|
+
}>, {
|
|
77
|
+
open: undefined;
|
|
78
|
+
items: undefined;
|
|
79
|
+
}>>> & {
|
|
80
|
+
"onUpdate:open"?: ((open?: boolean | undefined) => any) | undefined;
|
|
81
|
+
}, {
|
|
82
|
+
open: boolean;
|
|
83
|
+
items: ({
|
|
84
|
+
onClick?: (() => void) | undefined;
|
|
85
|
+
} & Partial<{
|
|
86
|
+
text: string;
|
|
87
|
+
avatar: import("./types").AvatarParameters;
|
|
88
|
+
check: boolean;
|
|
89
|
+
leadingIcon: import("./ElIcon.vue").ElIconProps;
|
|
90
|
+
}> & Omit<{
|
|
91
|
+
readonly text: string;
|
|
92
|
+
readonly check: boolean;
|
|
93
|
+
readonly avatar?: import("./types").AvatarParameters | undefined;
|
|
94
|
+
readonly leadingIcon?: import("./ElIcon.vue").ElIconProps | undefined;
|
|
95
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
96
|
+
text: {
|
|
97
|
+
type: import("vue").PropType<string>;
|
|
98
|
+
required: true;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
avatar: {
|
|
102
|
+
type: import("vue").PropType<import("./types").AvatarParameters>;
|
|
103
|
+
default: undefined;
|
|
104
|
+
};
|
|
105
|
+
check: {
|
|
106
|
+
type: import("vue").PropType<boolean>;
|
|
107
|
+
required: true;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
leadingIcon: {
|
|
111
|
+
type: import("vue").PropType<import("./ElIcon.vue").ElIconProps>;
|
|
112
|
+
default: undefined;
|
|
113
|
+
};
|
|
114
|
+
}>>, "text" | "avatar" | "check" | "leadingIcon">)[];
|
|
115
|
+
}, {}>, {
|
|
116
|
+
default?(_: {}): any;
|
|
117
|
+
}>;
|
|
118
|
+
export default _default;
|
|
119
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
120
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
121
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
122
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
123
|
+
} : {
|
|
124
|
+
type: import('vue').PropType<T[K]>;
|
|
125
|
+
required: true;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
type __VLS_WithDefaults<P, D> = {
|
|
129
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
130
|
+
default: D[K];
|
|
131
|
+
}> : P[K];
|
|
132
|
+
};
|
|
133
|
+
type __VLS_Prettify<T> = {
|
|
134
|
+
[K in keyof T]: T[K];
|
|
135
|
+
} & {};
|
|
136
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
137
|
+
new (): {
|
|
138
|
+
$slots: S;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const elAvatarSizes: readonly ["xxs", "xs", "sm", "md", "lg", "xl"];
|
|
2
|
+
export type ElAvatarSize = (typeof elAvatarSizes)[number];
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
picture: string;
|
|
5
|
+
size: ElAvatarSize;
|
|
6
|
+
}>, {
|
|
7
|
+
size: string;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
picture: string;
|
|
10
|
+
size: ElAvatarSize;
|
|
11
|
+
}>, {
|
|
12
|
+
size: string;
|
|
13
|
+
}>>>, {
|
|
14
|
+
size: ElAvatarSize;
|
|
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_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
value?: string | undefined;
|
|
3
|
+
red?: boolean | undefined;
|
|
4
|
+
}>, {
|
|
5
|
+
value: undefined;
|
|
6
|
+
red: boolean;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
value?: string | undefined;
|
|
9
|
+
red?: boolean | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
value: undefined;
|
|
12
|
+
red: boolean;
|
|
13
|
+
}>>>, {
|
|
14
|
+
red: boolean;
|
|
15
|
+
value: string;
|
|
16
|
+
}, {}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ElIconProps } from './ElIcon.vue';
|
|
2
|
+
import { ButtonHTMLAttributes } from 'vue';
|
|
3
|
+
export declare const elButtonSizes: readonly ["xs", "sm", "base", "l", "xl"];
|
|
4
|
+
export type ElButtonSize = (typeof elButtonSizes)[number];
|
|
5
|
+
export declare const elButtonVariants: readonly ["primary", "secondary", "tertiary"];
|
|
6
|
+
export type ElButtonVariant = (typeof elButtonVariants)[number];
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
disabled?: boolean | undefined;
|
|
9
|
+
dark?: boolean | undefined;
|
|
10
|
+
loading?: boolean | undefined;
|
|
11
|
+
icon?: ElIconProps | undefined;
|
|
12
|
+
iconRight?: boolean | undefined;
|
|
13
|
+
error?: boolean | undefined;
|
|
14
|
+
label: string;
|
|
15
|
+
size?: "base" | "xs" | "sm" | "l" | "xl" | undefined;
|
|
16
|
+
variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
17
|
+
type?: ButtonHTMLAttributes['type'];
|
|
18
|
+
}>, {
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
dark: boolean;
|
|
21
|
+
loading: boolean;
|
|
22
|
+
error: boolean;
|
|
23
|
+
label: string;
|
|
24
|
+
icon: undefined;
|
|
25
|
+
size: string;
|
|
26
|
+
variant: string;
|
|
27
|
+
type: string;
|
|
28
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
29
|
+
disabled?: boolean | undefined;
|
|
30
|
+
dark?: boolean | undefined;
|
|
31
|
+
loading?: boolean | undefined;
|
|
32
|
+
icon?: ElIconProps | undefined;
|
|
33
|
+
iconRight?: boolean | undefined;
|
|
34
|
+
error?: boolean | undefined;
|
|
35
|
+
label: string;
|
|
36
|
+
size?: "base" | "xs" | "sm" | "l" | "xl" | undefined;
|
|
37
|
+
variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
38
|
+
type?: ButtonHTMLAttributes['type'];
|
|
39
|
+
}>, {
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
dark: boolean;
|
|
42
|
+
loading: boolean;
|
|
43
|
+
error: boolean;
|
|
44
|
+
label: string;
|
|
45
|
+
icon: undefined;
|
|
46
|
+
size: string;
|
|
47
|
+
variant: string;
|
|
48
|
+
type: string;
|
|
49
|
+
}>>>, {
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
type: "button" | "submit" | "reset";
|
|
52
|
+
label: string;
|
|
53
|
+
icon: ElIconProps;
|
|
54
|
+
size: ElButtonSize;
|
|
55
|
+
loading: boolean;
|
|
56
|
+
error: boolean;
|
|
57
|
+
dark: boolean;
|
|
58
|
+
variant: ElButtonVariant;
|
|
59
|
+
}, {}>;
|
|
60
|
+
export default _default;
|
|
61
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
62
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
63
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
64
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
65
|
+
} : {
|
|
66
|
+
type: import('vue').PropType<T[K]>;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
type __VLS_WithDefaults<P, D> = {
|
|
71
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
72
|
+
default: D[K];
|
|
73
|
+
}> : P[K];
|
|
74
|
+
};
|
|
75
|
+
type __VLS_Prettify<T> = {
|
|
76
|
+
[K in keyof T]: T[K];
|
|
77
|
+
} & {};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export declare const elCalendarCardColors: readonly ["purple", "orange", "brandBlue", "green", "rose", "indigo", "red", "pink", "cyan", "sapphire", "teal", "yellow"];
|
|
2
|
+
export type ElCalendarCardColor = (typeof elCalendarCardColors)[number];
|
|
3
|
+
export declare const elCalendarCardStatuses: readonly ["confirmed", "to-be-confirmed", "past"];
|
|
4
|
+
export type ElCalendarCardStatus = (typeof elCalendarCardStatuses)[number];
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
height?: number | undefined;
|
|
7
|
+
color: ElCalendarCardColor;
|
|
8
|
+
status?: "confirmed" | "to-be-confirmed" | "past" | undefined;
|
|
9
|
+
primaryRow?: string | undefined;
|
|
10
|
+
secondaryRow?: string | undefined;
|
|
11
|
+
tertiaryRow?: string | undefined;
|
|
12
|
+
horizontalPaddingLeft?: boolean | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
height: number;
|
|
15
|
+
color: string;
|
|
16
|
+
status: string;
|
|
17
|
+
label: undefined;
|
|
18
|
+
primaryRow: undefined;
|
|
19
|
+
secondaryRow: undefined;
|
|
20
|
+
tertiaryRow: undefined;
|
|
21
|
+
horizontalPaddingLeft: boolean;
|
|
22
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
height?: number | undefined;
|
|
24
|
+
color: ElCalendarCardColor;
|
|
25
|
+
status?: "confirmed" | "to-be-confirmed" | "past" | undefined;
|
|
26
|
+
primaryRow?: string | undefined;
|
|
27
|
+
secondaryRow?: string | undefined;
|
|
28
|
+
tertiaryRow?: string | undefined;
|
|
29
|
+
horizontalPaddingLeft?: boolean | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
height: number;
|
|
32
|
+
color: string;
|
|
33
|
+
status: string;
|
|
34
|
+
label: undefined;
|
|
35
|
+
primaryRow: undefined;
|
|
36
|
+
secondaryRow: undefined;
|
|
37
|
+
tertiaryRow: undefined;
|
|
38
|
+
horizontalPaddingLeft: boolean;
|
|
39
|
+
}>>>, {
|
|
40
|
+
color: ElCalendarCardColor;
|
|
41
|
+
height: number;
|
|
42
|
+
status: ElCalendarCardStatus;
|
|
43
|
+
primaryRow: string;
|
|
44
|
+
secondaryRow: string;
|
|
45
|
+
tertiaryRow: string;
|
|
46
|
+
horizontalPaddingLeft: boolean;
|
|
47
|
+
}, {}>;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
51
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
+
} : {
|
|
54
|
+
type: import('vue').PropType<T[K]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
type __VLS_WithDefaults<P, D> = {
|
|
59
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
60
|
+
default: D[K];
|
|
61
|
+
}> : P[K];
|
|
62
|
+
};
|
|
63
|
+
type __VLS_Prettify<T> = {
|
|
64
|
+
[K in keyof T]: T[K];
|
|
65
|
+
} & {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare const elCalendarCellColors: readonly ["purple", "orange", "brandBlue", "green", "rose", "indigo", "red", "pink", "cyan", "sapphire", "teal", "yellow"];
|
|
2
|
+
export type ElCalendarCellColor = (typeof elCalendarCellColors)[number];
|
|
3
|
+
export declare const elCalendarCellAvailabilities: readonly ["not-available", "for-doctors", "for-patients"];
|
|
4
|
+
export type ElCalendarCellAvailability = (typeof elCalendarCellAvailabilities)[number];
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
height?: number | undefined;
|
|
7
|
+
color?: "pink" | "yellow" | "orange" | "cyan" | "rose" | "green" | "red" | "purple" | "indigo" | "brandBlue" | "sapphire" | "teal" | undefined;
|
|
8
|
+
availability?: "not-available" | "for-doctors" | "for-patients" | undefined;
|
|
9
|
+
label?: string | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
height: number;
|
|
12
|
+
color: undefined;
|
|
13
|
+
availability: string;
|
|
14
|
+
label: undefined;
|
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
height?: number | undefined;
|
|
17
|
+
color?: "pink" | "yellow" | "orange" | "cyan" | "rose" | "green" | "red" | "purple" | "indigo" | "brandBlue" | "sapphire" | "teal" | undefined;
|
|
18
|
+
availability?: "not-available" | "for-doctors" | "for-patients" | undefined;
|
|
19
|
+
label?: string | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
height: number;
|
|
22
|
+
color: undefined;
|
|
23
|
+
availability: string;
|
|
24
|
+
label: undefined;
|
|
25
|
+
}>>>, {
|
|
26
|
+
label: string;
|
|
27
|
+
color: ElCalendarCellColor;
|
|
28
|
+
height: number;
|
|
29
|
+
availability: ElCalendarCellAvailability;
|
|
30
|
+
}, {}>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: import('vue').PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
type __VLS_WithDefaults<P, D> = {
|
|
42
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
|
+
default: D[K];
|
|
44
|
+
}> : P[K];
|
|
45
|
+
};
|
|
46
|
+
type __VLS_Prettify<T> = {
|
|
47
|
+
[K in keyof T]: T[K];
|
|
48
|
+
} & {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
headline?: string | undefined;
|
|
3
|
+
action?: (Pick<any, "label"> & {
|
|
4
|
+
onClick?: (() => void) | undefined;
|
|
5
|
+
}) | undefined;
|
|
6
|
+
tabs?: any;
|
|
7
|
+
input?: any;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:tabs": (tabs: any) => void;
|
|
10
|
+
"update:input": (tabs: any) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
headline?: string | undefined;
|
|
13
|
+
action?: (Pick<any, "label"> & {
|
|
14
|
+
onClick?: (() => void) | undefined;
|
|
15
|
+
}) | undefined;
|
|
16
|
+
tabs?: any;
|
|
17
|
+
input?: any;
|
|
18
|
+
}>>> & {
|
|
19
|
+
"onUpdate:tabs"?: ((tabs: any) => any) | undefined;
|
|
20
|
+
"onUpdate:input"?: ((tabs: any) => any) | undefined;
|
|
21
|
+
}, {}, {}>, {
|
|
22
|
+
default?(_: {}): any;
|
|
23
|
+
}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: import('vue').PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|