@davincihealthcare/elty-design-system-vue 1.43.0 → 1.44.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/ElCarousel.vue.d.ts +39 -0
- package/dist/ElContainerTemplate.vue.d.ts +12 -4
- package/dist/ElDropdown.vue.d.ts +12 -12
- package/dist/ElIconButton.vue.d.ts +1 -1
- package/dist/ElTab.vue.d.ts +13 -1
- package/dist/ElTabGroup.vue.d.ts +11 -4
- package/dist/ElTextCell.vue.d.ts +5 -0
- package/dist/index.js +4291 -4251
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +8 -8
- package/dist/index.umd.cjs.map +1 -1
- package/dist/table/ElTableCell.vue.d.ts +9 -7
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ElButton } from '.';
|
|
2
|
+
|
|
3
|
+
export declare const elCarouselSizes: readonly ["sm", "md", "lg"];
|
|
4
|
+
export type ElCarouselSizes = (typeof elCarouselSizes)[number];
|
|
5
|
+
export interface CarouselProps {
|
|
6
|
+
size?: ElCarouselSizes;
|
|
7
|
+
slides: Array<CarouselSlide>;
|
|
8
|
+
}
|
|
9
|
+
export interface CarouselSlide {
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
picture: string;
|
|
13
|
+
button: InstanceType<typeof ElButton>['$props'];
|
|
14
|
+
}
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CarouselProps>, {
|
|
16
|
+
size: string;
|
|
17
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CarouselProps>, {
|
|
18
|
+
size: string;
|
|
19
|
+
}>>>, {
|
|
20
|
+
size: "sm" | "md" | "lg";
|
|
21
|
+
}, {}>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
+
} : {
|
|
28
|
+
type: import('vue').PropType<T[K]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
type __VLS_WithDefaults<P, D> = {
|
|
33
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
34
|
+
default: D[K];
|
|
35
|
+
}> : P[K];
|
|
36
|
+
};
|
|
37
|
+
type __VLS_Prettify<T> = {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} & {};
|
|
@@ -5,7 +5,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
5
5
|
description?: string | undefined;
|
|
6
6
|
tabs?: (Partial<{}> & Omit<{
|
|
7
7
|
readonly modelValue: string;
|
|
8
|
-
readonly tabs: import('./ElTabGroup.vue').
|
|
8
|
+
readonly tabs: import('./ElTabGroup.vue').ElTab[];
|
|
9
|
+
readonly color?: "primary" | "secondary" | undefined;
|
|
9
10
|
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
10
11
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
11
12
|
modelValue: {
|
|
@@ -13,9 +14,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
13
14
|
required: true;
|
|
14
15
|
};
|
|
15
16
|
tabs: {
|
|
16
|
-
type: import('vue').PropType<import('./ElTabGroup.vue').
|
|
17
|
+
type: import('vue').PropType<import('./ElTabGroup.vue').ElTab[]>;
|
|
17
18
|
required: true;
|
|
18
19
|
};
|
|
20
|
+
color: {
|
|
21
|
+
type: import('vue').PropType<"primary" | "secondary">;
|
|
22
|
+
};
|
|
19
23
|
}>> & {
|
|
20
24
|
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
21
25
|
}, never>) | undefined;
|
|
@@ -33,7 +37,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
33
37
|
description?: string | undefined;
|
|
34
38
|
tabs?: (Partial<{}> & Omit<{
|
|
35
39
|
readonly modelValue: string;
|
|
36
|
-
readonly tabs: import('./ElTabGroup.vue').
|
|
40
|
+
readonly tabs: import('./ElTabGroup.vue').ElTab[];
|
|
41
|
+
readonly color?: "primary" | "secondary" | undefined;
|
|
37
42
|
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
38
43
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
39
44
|
modelValue: {
|
|
@@ -41,9 +46,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
41
46
|
required: true;
|
|
42
47
|
};
|
|
43
48
|
tabs: {
|
|
44
|
-
type: import('vue').PropType<import('./ElTabGroup.vue').
|
|
49
|
+
type: import('vue').PropType<import('./ElTabGroup.vue').ElTab[]>;
|
|
45
50
|
required: true;
|
|
46
51
|
};
|
|
52
|
+
color: {
|
|
53
|
+
type: import('vue').PropType<"primary" | "secondary">;
|
|
54
|
+
};
|
|
47
55
|
}>> & {
|
|
48
56
|
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
49
57
|
}, never>) | undefined;
|
package/dist/ElDropdown.vue.d.ts
CHANGED
|
@@ -95,8 +95,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
95
95
|
size: "base" | "xs" | "sm" | "xl" | "l";
|
|
96
96
|
loading: boolean;
|
|
97
97
|
error: boolean;
|
|
98
|
-
tooltip: string;
|
|
99
98
|
badge: string | boolean;
|
|
99
|
+
tooltip: string;
|
|
100
100
|
}> & Omit<{
|
|
101
101
|
readonly disabled: boolean;
|
|
102
102
|
readonly size: "base" | "xs" | "sm" | "xl" | "l";
|
|
@@ -127,17 +127,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
127
127
|
type: import('vue').PropType<boolean>;
|
|
128
128
|
default: boolean;
|
|
129
129
|
};
|
|
130
|
-
tooltip: {
|
|
131
|
-
type: import('vue').PropType<string>;
|
|
132
|
-
default: undefined;
|
|
133
|
-
};
|
|
134
130
|
badge: {
|
|
135
131
|
type: import('vue').PropType<string | boolean>;
|
|
136
132
|
default: boolean;
|
|
137
133
|
};
|
|
134
|
+
tooltip: {
|
|
135
|
+
type: import('vue').PropType<string>;
|
|
136
|
+
default: undefined;
|
|
137
|
+
};
|
|
138
138
|
}>> & {
|
|
139
139
|
onClick?: (() => any) | undefined;
|
|
140
|
-
}, "disabled" | "size" | "loading" | "error" | "
|
|
140
|
+
}, "disabled" | "size" | "loading" | "error" | "badge" | "tooltip">) | undefined;
|
|
141
141
|
multiple?: boolean | undefined;
|
|
142
142
|
}>, {
|
|
143
143
|
title: undefined;
|
|
@@ -242,8 +242,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
242
242
|
size: "base" | "xs" | "sm" | "xl" | "l";
|
|
243
243
|
loading: boolean;
|
|
244
244
|
error: boolean;
|
|
245
|
-
tooltip: string;
|
|
246
245
|
badge: string | boolean;
|
|
246
|
+
tooltip: string;
|
|
247
247
|
}> & Omit<{
|
|
248
248
|
readonly disabled: boolean;
|
|
249
249
|
readonly size: "base" | "xs" | "sm" | "xl" | "l";
|
|
@@ -274,17 +274,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
274
274
|
type: import('vue').PropType<boolean>;
|
|
275
275
|
default: boolean;
|
|
276
276
|
};
|
|
277
|
-
tooltip: {
|
|
278
|
-
type: import('vue').PropType<string>;
|
|
279
|
-
default: undefined;
|
|
280
|
-
};
|
|
281
277
|
badge: {
|
|
282
278
|
type: import('vue').PropType<string | boolean>;
|
|
283
279
|
default: boolean;
|
|
284
280
|
};
|
|
281
|
+
tooltip: {
|
|
282
|
+
type: import('vue').PropType<string>;
|
|
283
|
+
default: undefined;
|
|
284
|
+
};
|
|
285
285
|
}>> & {
|
|
286
286
|
onClick?: (() => any) | undefined;
|
|
287
|
-
}, "disabled" | "size" | "loading" | "error" | "
|
|
287
|
+
}, "disabled" | "size" | "loading" | "error" | "badge" | "tooltip">) | undefined;
|
|
288
288
|
multiple?: boolean | undefined;
|
|
289
289
|
}>, {
|
|
290
290
|
title: undefined;
|
|
@@ -34,8 +34,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
34
34
|
size: "base" | "xs" | "sm" | "xl" | "l";
|
|
35
35
|
loading: boolean;
|
|
36
36
|
error: boolean;
|
|
37
|
-
tooltip: string;
|
|
38
37
|
badge: string | boolean;
|
|
38
|
+
tooltip: string;
|
|
39
39
|
}, {}>;
|
|
40
40
|
export default _default;
|
|
41
41
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
package/dist/ElTab.vue.d.ts
CHANGED
|
@@ -1,13 +1,25 @@
|
|
|
1
|
-
export declare const elTabStatuses: readonly ["active", "inactive", "
|
|
1
|
+
export declare const elTabStatuses: readonly ["active", "inactive", "default"];
|
|
2
|
+
export declare const elTabColors: readonly ["primary", "secondary"];
|
|
2
3
|
export type ElTabStatues = (typeof elTabStatuses)[number];
|
|
4
|
+
export type ElTabColors = (typeof elTabColors)[number];
|
|
3
5
|
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
6
|
label: string;
|
|
5
7
|
status: ElTabStatues;
|
|
8
|
+
color?: "primary" | "secondary" | undefined;
|
|
9
|
+
badge?: {
|
|
10
|
+
visible: boolean;
|
|
11
|
+
value?: string | undefined;
|
|
12
|
+
} | undefined;
|
|
6
13
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
14
|
click: () => void;
|
|
8
15
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
16
|
label: string;
|
|
10
17
|
status: ElTabStatues;
|
|
18
|
+
color?: "primary" | "secondary" | undefined;
|
|
19
|
+
badge?: {
|
|
20
|
+
visible: boolean;
|
|
21
|
+
value?: string | undefined;
|
|
22
|
+
} | undefined;
|
|
11
23
|
}>>> & {
|
|
12
24
|
onClick?: (() => any) | undefined;
|
|
13
25
|
}, {}, {}>;
|
package/dist/ElTabGroup.vue.d.ts
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type ElTab = {
|
|
2
|
+
value?: string;
|
|
2
3
|
label: string;
|
|
3
4
|
disabled?: boolean;
|
|
4
|
-
|
|
5
|
+
badge?: {
|
|
6
|
+
visible: boolean;
|
|
7
|
+
value?: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
5
10
|
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
6
11
|
modelValue: string;
|
|
7
|
-
tabs:
|
|
12
|
+
tabs: ElTab[];
|
|
13
|
+
color?: "primary" | "secondary" | undefined;
|
|
8
14
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
15
|
"update:modelValue": (modelValue: string) => void;
|
|
10
16
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
17
|
modelValue: string;
|
|
12
|
-
tabs:
|
|
18
|
+
tabs: ElTab[];
|
|
19
|
+
color?: "primary" | "secondary" | undefined;
|
|
13
20
|
}>>> & {
|
|
14
21
|
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
15
22
|
}, {}, {}>;
|
package/dist/ElTextCell.vue.d.ts
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
export declare const elTextCellStyles: readonly ["normal", "medium", "underline"];
|
|
2
2
|
export type ElTextCellStyle = (typeof elTextCellStyles)[number];
|
|
3
|
+
export declare const elTextCellColors: readonly ["neutral", "orange", "error"];
|
|
4
|
+
export type ElTextCellColor = (typeof elTextCellColors)[number];
|
|
5
|
+
export declare const getTextColorClass: (color?: ElTextCellColor, style?: ElTextCellStyle) => "text-neutral-darker" | "text-brandBlue-500" | "text-orange-500" | "text-error-active";
|
|
3
6
|
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
7
|
label: string;
|
|
5
8
|
style?: "normal" | "medium" | "underline" | undefined;
|
|
9
|
+
colorText?: "orange" | "error" | "neutral" | undefined;
|
|
6
10
|
}>, {
|
|
7
11
|
style: string;
|
|
8
12
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
13
|
label: string;
|
|
10
14
|
style?: "normal" | "medium" | "underline" | undefined;
|
|
15
|
+
colorText?: "orange" | "error" | "neutral" | undefined;
|
|
11
16
|
}>, {
|
|
12
17
|
style: string;
|
|
13
18
|
}>>>, {
|