@davincihealthcare/elty-design-system-vue 1.13.6 → 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.
package/dist/ElButton.vue.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
17
17
|
variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
18
18
|
type?: ButtonHTMLAttributes['type'];
|
|
19
19
|
loadOnClick?: boolean | undefined;
|
|
20
|
-
onClick?: (() => unknown) | undefined;
|
|
20
|
+
onClick?: (() => unknown) | (() => Promise<unknown>) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
disabled: boolean;
|
|
23
23
|
dark: boolean;
|
|
@@ -42,7 +42,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
42
42
|
variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
43
43
|
type?: ButtonHTMLAttributes['type'];
|
|
44
44
|
loadOnClick?: boolean | undefined;
|
|
45
|
-
onClick?: (() => unknown) | undefined;
|
|
45
|
+
onClick?: (() => unknown) | (() => Promise<unknown>) | undefined;
|
|
46
46
|
}>, {
|
|
47
47
|
disabled: boolean;
|
|
48
48
|
dark: boolean;
|
|
@@ -58,7 +58,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
58
58
|
}>>>, {
|
|
59
59
|
disabled: boolean;
|
|
60
60
|
type: "button" | "submit" | "reset";
|
|
61
|
-
onClick: () => unknown;
|
|
61
|
+
onClick: (() => unknown) | (() => Promise<unknown>);
|
|
62
62
|
label: string;
|
|
63
63
|
icon: ElIconProps;
|
|
64
64
|
size: ElButtonSize;
|
package/dist/ElDropdown.vue.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
40
40
|
action?: Omit<Partial<{
|
|
41
41
|
disabled: boolean;
|
|
42
42
|
type: "button" | "submit" | "reset";
|
|
43
|
-
onClick: () => unknown;
|
|
43
|
+
onClick: (() => unknown) | (() => Promise<unknown>);
|
|
44
44
|
label: string;
|
|
45
45
|
icon: import('./ElIcon.vue').ElIconProps;
|
|
46
46
|
size: "base" | "xs" | "sm" | "l" | "xl";
|
|
@@ -59,7 +59,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
59
59
|
readonly dark: boolean;
|
|
60
60
|
readonly variant: "primary" | "secondary" | "tertiary";
|
|
61
61
|
readonly loadOnClick: boolean;
|
|
62
|
-
readonly onClick?: (() => unknown) | undefined;
|
|
62
|
+
readonly onClick?: (() => unknown) | (() => Promise<unknown>) | undefined;
|
|
63
63
|
readonly icon?: import('./ElIcon.vue').ElIconProps | undefined;
|
|
64
64
|
readonly iconRight?: boolean | undefined;
|
|
65
65
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -72,7 +72,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
72
72
|
default: string;
|
|
73
73
|
};
|
|
74
74
|
onClick: {
|
|
75
|
-
type: import('vue').PropType<() => unknown>;
|
|
75
|
+
type: import('vue').PropType<(() => unknown) | (() => Promise<unknown>)>;
|
|
76
76
|
default: undefined;
|
|
77
77
|
};
|
|
78
78
|
label: {
|
|
@@ -166,7 +166,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
166
166
|
action?: Omit<Partial<{
|
|
167
167
|
disabled: boolean;
|
|
168
168
|
type: "button" | "submit" | "reset";
|
|
169
|
-
onClick: () => unknown;
|
|
169
|
+
onClick: (() => unknown) | (() => Promise<unknown>);
|
|
170
170
|
label: string;
|
|
171
171
|
icon: import('./ElIcon.vue').ElIconProps;
|
|
172
172
|
size: "base" | "xs" | "sm" | "l" | "xl";
|
|
@@ -185,7 +185,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
185
185
|
readonly dark: boolean;
|
|
186
186
|
readonly variant: "primary" | "secondary" | "tertiary";
|
|
187
187
|
readonly loadOnClick: boolean;
|
|
188
|
-
readonly onClick?: (() => unknown) | undefined;
|
|
188
|
+
readonly onClick?: (() => unknown) | (() => Promise<unknown>) | undefined;
|
|
189
189
|
readonly icon?: import('./ElIcon.vue').ElIconProps | undefined;
|
|
190
190
|
readonly iconRight?: boolean | undefined;
|
|
191
191
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -198,7 +198,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
198
198
|
default: string;
|
|
199
199
|
};
|
|
200
200
|
onClick: {
|
|
201
|
-
type: import('vue').PropType<() => unknown>;
|
|
201
|
+
type: import('vue').PropType<(() => unknown) | (() => Promise<unknown>)>;
|
|
202
202
|
default: undefined;
|
|
203
203
|
};
|
|
204
204
|
label: {
|
|
@@ -256,7 +256,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
256
256
|
action: Omit<Partial<{
|
|
257
257
|
disabled: boolean;
|
|
258
258
|
type: "button" | "submit" | "reset";
|
|
259
|
-
onClick: () => unknown;
|
|
259
|
+
onClick: (() => unknown) | (() => Promise<unknown>);
|
|
260
260
|
label: string;
|
|
261
261
|
icon: import('./ElIcon.vue').ElIconProps;
|
|
262
262
|
size: "base" | "xs" | "sm" | "l" | "xl";
|
|
@@ -275,7 +275,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
275
275
|
readonly dark: boolean;
|
|
276
276
|
readonly variant: "primary" | "secondary" | "tertiary";
|
|
277
277
|
readonly loadOnClick: boolean;
|
|
278
|
-
readonly onClick?: (() => unknown) | undefined;
|
|
278
|
+
readonly onClick?: (() => unknown) | (() => Promise<unknown>) | undefined;
|
|
279
279
|
readonly icon?: import('./ElIcon.vue').ElIconProps | undefined;
|
|
280
280
|
readonly iconRight?: boolean | undefined;
|
|
281
281
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -288,7 +288,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
288
288
|
default: string;
|
|
289
289
|
};
|
|
290
290
|
onClick: {
|
|
291
|
-
type: import('vue').PropType<() => unknown>;
|
|
291
|
+
type: import('vue').PropType<(() => unknown) | (() => Promise<unknown>)>;
|
|
292
292
|
default: undefined;
|
|
293
293
|
};
|
|
294
294
|
label: {
|