@davincihealthcare/elty-design-system-vue 1.13.5 → 1.13.7

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.
Files changed (45) hide show
  1. package/dist/ElAccordion.vue.d.ts +33 -33
  2. package/dist/ElAvatar.vue.d.ts +2 -2
  3. package/dist/ElBadge.vue.d.ts +2 -2
  4. package/dist/ElButton.vue.d.ts +7 -6
  5. package/dist/ElCalendarCard.vue.d.ts +2 -2
  6. package/dist/ElCalendarCell.vue.d.ts +2 -2
  7. package/dist/ElClipToAnchor.vue.d.ts +2 -2
  8. package/dist/ElDrawer.vue.d.ts +3 -3
  9. package/dist/ElDropdown.vue.d.ts +74 -74
  10. package/dist/ElFile.vue.d.ts +3 -3
  11. package/dist/ElIcon.vue.d.ts +2 -2
  12. package/dist/ElIconButton.vue.d.ts +4 -3
  13. package/dist/ElItem.vue.d.ts +4 -3
  14. package/dist/ElLogo.vue.d.ts +2 -2
  15. package/dist/ElSortingHeader.vue.d.ts +2 -2
  16. package/dist/ElSuggestionChip.vue.d.ts +2 -2
  17. package/dist/ElTab.vue.d.ts +3 -3
  18. package/dist/ElTabGroup.vue.d.ts +3 -3
  19. package/dist/ElTableHead.vue.d.ts +3 -2
  20. package/dist/ElTabs.vue.d.ts +3 -3
  21. package/dist/ElTag.vue.d.ts +3 -2
  22. package/dist/ElTextCell.vue.d.ts +2 -2
  23. package/dist/ElToast.vue.d.ts +1 -1
  24. package/dist/ElTooltip.vue.d.ts +2 -2
  25. package/dist/_CustomTransition.vue.d.ts +3 -3
  26. package/dist/forms/ElInputCheckbox.vue.d.ts +4 -3
  27. package/dist/forms/ElInputContainer.vue.d.ts +2 -2
  28. package/dist/forms/ElInputDate.vue.d.ts +5 -4
  29. package/dist/forms/ElInputFile.vue.d.ts +4 -3
  30. package/dist/forms/ElInputMeasureUnit.vue.d.ts +5 -4
  31. package/dist/forms/ElInputNumber.vue.d.ts +6 -5
  32. package/dist/forms/ElInputPhone.vue.d.ts +6 -5
  33. package/dist/forms/ElInputSelect.vue.d.ts +6 -5
  34. package/dist/forms/ElInputText.vue.d.ts +6 -5
  35. package/dist/forms/ElInputTextarea.vue.d.ts +6 -5
  36. package/dist/forms/input.d.ts +3 -3
  37. package/dist/forms/utils.d.ts +2 -2
  38. package/dist/index.d.ts +1 -0
  39. package/dist/index.js +4699 -4558
  40. package/dist/index.js.map +1 -1
  41. package/dist/index.umd.cjs +21 -19
  42. package/dist/index.umd.cjs.map +1 -1
  43. package/dist/tailwind.plugin.d.ts +2 -2
  44. package/dist/utils.d.ts +1 -0
  45. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
2
  label: string;
3
3
  open?: boolean | undefined;
4
4
  items?: ({
@@ -6,44 +6,44 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
6
6
  } & Partial<{
7
7
  disabled: boolean;
8
8
  text: string;
9
- avatar: import("./types").AvatarParameters;
9
+ avatar: import('./types').AvatarParameters;
10
10
  check: boolean;
11
- leadingIcon: import("./ElIcon.vue").ElIconProps;
11
+ leadingIcon: import('./ElIcon.vue').ElIconProps;
12
12
  }> & Omit<{
13
13
  readonly disabled: boolean;
14
14
  readonly text: string;
15
15
  readonly check: boolean;
16
- readonly avatar?: import("./types").AvatarParameters | undefined;
17
- readonly leadingIcon?: import("./ElIcon.vue").ElIconProps | undefined;
18
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
16
+ readonly avatar?: import('./types').AvatarParameters | undefined;
17
+ readonly leadingIcon?: import('./ElIcon.vue').ElIconProps | undefined;
18
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
19
19
  disabled: {
20
- type: import("vue").PropType<boolean>;
20
+ type: import('vue').PropType<boolean>;
21
21
  default: boolean;
22
22
  };
23
23
  text: {
24
- type: import("vue").PropType<string>;
24
+ type: import('vue').PropType<string>;
25
25
  required: true;
26
26
  default: string;
27
27
  };
28
28
  avatar: {
29
- type: import("vue").PropType<import("./types").AvatarParameters>;
29
+ type: import('vue').PropType<import('./types').AvatarParameters>;
30
30
  default: undefined;
31
31
  };
32
32
  check: {
33
- type: import("vue").PropType<boolean>;
33
+ type: import('vue').PropType<boolean>;
34
34
  default: boolean;
35
35
  };
36
36
  leadingIcon: {
37
- type: import("vue").PropType<import("./ElIcon.vue").ElIconProps>;
37
+ type: import('vue').PropType<import('./ElIcon.vue').ElIconProps>;
38
38
  default: undefined;
39
39
  };
40
40
  }>>, "disabled" | "text" | "avatar" | "check" | "leadingIcon">)[] | undefined;
41
41
  }>, {
42
42
  open: undefined;
43
43
  items: undefined;
44
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
45
45
  "update:open": (open?: boolean | undefined) => void;
46
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
46
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
47
47
  label: string;
48
48
  open?: boolean | undefined;
49
49
  items?: ({
@@ -51,35 +51,35 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
51
51
  } & Partial<{
52
52
  disabled: boolean;
53
53
  text: string;
54
- avatar: import("./types").AvatarParameters;
54
+ avatar: import('./types').AvatarParameters;
55
55
  check: boolean;
56
- leadingIcon: import("./ElIcon.vue").ElIconProps;
56
+ leadingIcon: import('./ElIcon.vue').ElIconProps;
57
57
  }> & Omit<{
58
58
  readonly disabled: boolean;
59
59
  readonly text: string;
60
60
  readonly check: boolean;
61
- readonly avatar?: import("./types").AvatarParameters | undefined;
62
- readonly leadingIcon?: import("./ElIcon.vue").ElIconProps | undefined;
63
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
61
+ readonly avatar?: import('./types').AvatarParameters | undefined;
62
+ readonly leadingIcon?: import('./ElIcon.vue').ElIconProps | undefined;
63
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
64
64
  disabled: {
65
- type: import("vue").PropType<boolean>;
65
+ type: import('vue').PropType<boolean>;
66
66
  default: boolean;
67
67
  };
68
68
  text: {
69
- type: import("vue").PropType<string>;
69
+ type: import('vue').PropType<string>;
70
70
  required: true;
71
71
  default: string;
72
72
  };
73
73
  avatar: {
74
- type: import("vue").PropType<import("./types").AvatarParameters>;
74
+ type: import('vue').PropType<import('./types').AvatarParameters>;
75
75
  default: undefined;
76
76
  };
77
77
  check: {
78
- type: import("vue").PropType<boolean>;
78
+ type: import('vue').PropType<boolean>;
79
79
  default: boolean;
80
80
  };
81
81
  leadingIcon: {
82
- type: import("vue").PropType<import("./ElIcon.vue").ElIconProps>;
82
+ type: import('vue').PropType<import('./ElIcon.vue').ElIconProps>;
83
83
  default: undefined;
84
84
  };
85
85
  }>>, "disabled" | "text" | "avatar" | "check" | "leadingIcon">)[] | undefined;
@@ -95,35 +95,35 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
95
95
  } & Partial<{
96
96
  disabled: boolean;
97
97
  text: string;
98
- avatar: import("./types").AvatarParameters;
98
+ avatar: import('./types').AvatarParameters;
99
99
  check: boolean;
100
- leadingIcon: import("./ElIcon.vue").ElIconProps;
100
+ leadingIcon: import('./ElIcon.vue').ElIconProps;
101
101
  }> & Omit<{
102
102
  readonly disabled: boolean;
103
103
  readonly text: string;
104
104
  readonly check: boolean;
105
- readonly avatar?: import("./types").AvatarParameters | undefined;
106
- readonly leadingIcon?: import("./ElIcon.vue").ElIconProps | undefined;
107
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
105
+ readonly avatar?: import('./types').AvatarParameters | undefined;
106
+ readonly leadingIcon?: import('./ElIcon.vue').ElIconProps | undefined;
107
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
108
108
  disabled: {
109
- type: import("vue").PropType<boolean>;
109
+ type: import('vue').PropType<boolean>;
110
110
  default: boolean;
111
111
  };
112
112
  text: {
113
- type: import("vue").PropType<string>;
113
+ type: import('vue').PropType<string>;
114
114
  required: true;
115
115
  default: string;
116
116
  };
117
117
  avatar: {
118
- type: import("vue").PropType<import("./types").AvatarParameters>;
118
+ type: import('vue').PropType<import('./types').AvatarParameters>;
119
119
  default: undefined;
120
120
  };
121
121
  check: {
122
- type: import("vue").PropType<boolean>;
122
+ type: import('vue').PropType<boolean>;
123
123
  default: boolean;
124
124
  };
125
125
  leadingIcon: {
126
- type: import("vue").PropType<import("./ElIcon.vue").ElIconProps>;
126
+ type: import('vue').PropType<import('./ElIcon.vue').ElIconProps>;
127
127
  default: undefined;
128
128
  };
129
129
  }>>, "disabled" | "text" | "avatar" | "check" | "leadingIcon">)[];
@@ -1,6 +1,6 @@
1
1
  export declare const elAvatarSizes: readonly ["xxs", "xs", "sm", "md", "lg", "xl"];
2
2
  export type ElAvatarSize = (typeof elAvatarSizes)[number];
3
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
4
  picture?: string | undefined;
5
5
  size: ElAvatarSize;
6
6
  label?: string | undefined;
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
8
8
  picture: undefined;
9
9
  size: string;
10
10
  label: undefined;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
12
  picture?: string | undefined;
13
13
  size: ElAvatarSize;
14
14
  label?: string | undefined;
@@ -1,10 +1,10 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
2
  value?: string | undefined;
3
3
  red?: boolean | undefined;
4
4
  }>, {
5
5
  value: undefined;
6
6
  red: boolean;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
8
  value?: string | undefined;
9
9
  red?: boolean | undefined;
10
10
  }>, {
@@ -1,10 +1,11 @@
1
- import { ElIconProps } from './ElIcon.vue';
2
1
  import { ButtonHTMLAttributes } from 'vue';
2
+ import { ElIconProps } from './ElIcon.vue';
3
+
3
4
  export declare const elButtonSizes: readonly ["xs", "sm", "base", "l", "xl"];
4
5
  export type ElButtonSize = (typeof elButtonSizes)[number];
5
6
  export declare const elButtonVariants: readonly ["primary", "secondary", "tertiary"];
6
7
  export type ElButtonVariant = (typeof elButtonVariants)[number];
7
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
9
  disabled?: boolean | undefined;
9
10
  dark?: boolean | undefined;
10
11
  loading?: boolean | undefined;
@@ -16,7 +17,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
16
17
  variant?: "primary" | "secondary" | "tertiary" | undefined;
17
18
  type?: ButtonHTMLAttributes['type'];
18
19
  loadOnClick?: boolean | undefined;
19
- onClick?: (() => unknown) | undefined;
20
+ onClick?: (() => unknown) | (() => Promise<unknown>) | undefined;
20
21
  }>, {
21
22
  disabled: boolean;
22
23
  dark: boolean;
@@ -29,7 +30,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
29
30
  type: string;
30
31
  loadOnClick: boolean;
31
32
  onClick: undefined;
32
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
33
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
33
34
  disabled?: boolean | undefined;
34
35
  dark?: boolean | undefined;
35
36
  loading?: boolean | undefined;
@@ -41,7 +42,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
41
42
  variant?: "primary" | "secondary" | "tertiary" | undefined;
42
43
  type?: ButtonHTMLAttributes['type'];
43
44
  loadOnClick?: boolean | undefined;
44
- onClick?: (() => unknown) | undefined;
45
+ onClick?: (() => unknown) | (() => Promise<unknown>) | undefined;
45
46
  }>, {
46
47
  disabled: boolean;
47
48
  dark: boolean;
@@ -57,7 +58,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
57
58
  }>>>, {
58
59
  disabled: boolean;
59
60
  type: "button" | "submit" | "reset";
60
- onClick: () => unknown;
61
+ onClick: (() => unknown) | (() => Promise<unknown>);
61
62
  label: string;
62
63
  icon: ElIconProps;
63
64
  size: ElButtonSize;
@@ -2,7 +2,7 @@ export declare const elCalendarCardColors: readonly ["purple", "orange", "brandB
2
2
  export type ElCalendarCardColor = (typeof elCalendarCardColors)[number];
3
3
  export declare const elCalendarCardStatuses: readonly ["confirmed", "to-be-confirmed", "past"];
4
4
  export type ElCalendarCardStatus = (typeof elCalendarCardStatuses)[number];
5
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
6
  height?: number | undefined;
7
7
  color: ElCalendarCardColor;
8
8
  status?: "confirmed" | "to-be-confirmed" | "past" | undefined;
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
19
19
  secondaryRow: undefined;
20
20
  tertiaryRow: undefined;
21
21
  horizontalPaddingLeft: boolean;
22
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
22
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
23
23
  height?: number | undefined;
24
24
  color: ElCalendarCardColor;
25
25
  status?: "confirmed" | "to-be-confirmed" | "past" | undefined;
@@ -2,7 +2,7 @@ export declare const elCalendarCellColors: readonly ["purple", "orange", "brandB
2
2
  export type ElCalendarCellColor = (typeof elCalendarCellColors)[number];
3
3
  export declare const elCalendarCellAvailabilities: readonly ["not-available", "for-doctors", "for-patients"];
4
4
  export type ElCalendarCellAvailability = (typeof elCalendarCellAvailabilities)[number];
5
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
6
  height?: number | undefined;
7
7
  color?: "pink" | "yellow" | "orange" | "cyan" | "rose" | "green" | "red" | "purple" | "indigo" | "brandBlue" | "sapphire" | "teal" | undefined;
8
8
  availability?: "not-available" | "for-doctors" | "for-patients" | undefined;
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
12
12
  color: undefined;
13
13
  availability: string;
14
14
  label: undefined;
15
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
16
  height?: number | undefined;
17
17
  color?: "pink" | "yellow" | "orange" | "cyan" | "rose" | "green" | "red" | "purple" | "indigo" | "brandBlue" | "sapphire" | "teal" | undefined;
18
18
  availability?: "not-available" | "for-doctors" | "for-patients" | undefined;
@@ -1,10 +1,10 @@
1
1
  export declare const elClipToAnchorPositions: readonly ["bottom-left", "bottom", "bottom-right", "top-left", "top", "top-right", "left", "left-start", "left-end", "right", "right-start", "right-end"];
2
2
  export type ElClipToAnchorPosition = (typeof elClipToAnchorPositions)[number];
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
4
  anchor: HTMLElement;
5
5
  position: ElClipToAnchorPosition;
6
6
  minWidth?: number | undefined;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
8
  anchor: HTMLElement;
9
9
  position: ElClipToAnchorPosition;
10
10
  minWidth?: number | undefined;
@@ -1,14 +1,14 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
2
  headline?: string | undefined;
3
3
  action?: (Pick<any, "label"> & {
4
4
  onClick?: (() => void) | undefined;
5
5
  }) | undefined;
6
6
  tabs?: any;
7
7
  input?: any;
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
9
  "update:tabs": (tabs: any) => void;
10
10
  "update:input": (tabs: any) => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
12
  headline?: string | undefined;
13
13
  action?: (Pick<any, "label"> & {
14
14
  onClick?: (() => void) | undefined;