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

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.
@@ -15,6 +15,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
15
15
  size?: "base" | "xs" | "sm" | "l" | "xl" | undefined;
16
16
  variant?: "primary" | "secondary" | "tertiary" | undefined;
17
17
  type?: ButtonHTMLAttributes['type'];
18
+ loadOnClick?: boolean | undefined;
19
+ onClick?: (() => unknown) | undefined;
18
20
  }>, {
19
21
  disabled: boolean;
20
22
  dark: boolean;
@@ -25,6 +27,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
25
27
  size: string;
26
28
  variant: string;
27
29
  type: string;
30
+ loadOnClick: boolean;
31
+ onClick: undefined;
28
32
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
29
33
  disabled?: boolean | undefined;
30
34
  dark?: boolean | undefined;
@@ -36,6 +40,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
36
40
  size?: "base" | "xs" | "sm" | "l" | "xl" | undefined;
37
41
  variant?: "primary" | "secondary" | "tertiary" | undefined;
38
42
  type?: ButtonHTMLAttributes['type'];
43
+ loadOnClick?: boolean | undefined;
44
+ onClick?: (() => unknown) | undefined;
39
45
  }>, {
40
46
  disabled: boolean;
41
47
  dark: boolean;
@@ -46,9 +52,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
46
52
  size: string;
47
53
  variant: string;
48
54
  type: string;
55
+ loadOnClick: boolean;
56
+ onClick: undefined;
49
57
  }>>>, {
50
58
  disabled: boolean;
51
59
  type: "button" | "submit" | "reset";
60
+ onClick: () => unknown;
52
61
  label: string;
53
62
  icon: ElIconProps;
54
63
  size: ElButtonSize;
@@ -56,6 +65,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
56
65
  error: boolean;
57
66
  dark: boolean;
58
67
  variant: ElButtonVariant;
68
+ loadOnClick: boolean;
59
69
  }, {}>;
60
70
  export default _default;
61
71
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -40,6 +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
44
  label: string;
44
45
  icon: import("./ElIcon.vue").ElIconProps;
45
46
  size: "base" | "xs" | "sm" | "l" | "xl";
@@ -47,6 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
47
48
  error: boolean;
48
49
  dark: boolean;
49
50
  variant: "primary" | "secondary" | "tertiary";
51
+ loadOnClick: boolean;
50
52
  }> & Omit<{
51
53
  readonly disabled: boolean;
52
54
  readonly type: "button" | "submit" | "reset";
@@ -56,6 +58,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
56
58
  readonly error: boolean;
57
59
  readonly dark: boolean;
58
60
  readonly variant: "primary" | "secondary" | "tertiary";
61
+ readonly loadOnClick: boolean;
62
+ readonly onClick?: (() => unknown) | undefined;
59
63
  readonly icon?: import("./ElIcon.vue").ElIconProps | undefined;
60
64
  readonly iconRight?: boolean | undefined;
61
65
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
@@ -67,6 +71,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
67
71
  type: import("vue").PropType<"button" | "submit" | "reset">;
68
72
  default: string;
69
73
  };
74
+ onClick: {
75
+ type: import("vue").PropType<() => unknown>;
76
+ default: undefined;
77
+ };
70
78
  label: {
71
79
  type: import("vue").PropType<string>;
72
80
  required: true;
@@ -99,7 +107,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
99
107
  type: import("vue").PropType<"primary" | "secondary" | "tertiary">;
100
108
  default: string;
101
109
  };
102
- }>>, "disabled" | "type" | "label" | "icon" | "size" | "loading" | "error" | "dark" | "variant">, "size" | "variant"> | undefined;
110
+ loadOnClick: {
111
+ type: import("vue").PropType<boolean>;
112
+ default: boolean;
113
+ };
114
+ }>>, "disabled" | "type" | "onClick" | "label" | "icon" | "size" | "loading" | "error" | "dark" | "variant" | "loadOnClick">, "size" | "variant"> | undefined;
103
115
  left?: boolean | undefined;
104
116
  right?: boolean | undefined;
105
117
  minWidth?: number | undefined;
@@ -154,6 +166,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
154
166
  action?: Omit<Partial<{
155
167
  disabled: boolean;
156
168
  type: "button" | "submit" | "reset";
169
+ onClick: () => unknown;
157
170
  label: string;
158
171
  icon: import("./ElIcon.vue").ElIconProps;
159
172
  size: "base" | "xs" | "sm" | "l" | "xl";
@@ -161,6 +174,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
161
174
  error: boolean;
162
175
  dark: boolean;
163
176
  variant: "primary" | "secondary" | "tertiary";
177
+ loadOnClick: boolean;
164
178
  }> & Omit<{
165
179
  readonly disabled: boolean;
166
180
  readonly type: "button" | "submit" | "reset";
@@ -170,6 +184,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
170
184
  readonly error: boolean;
171
185
  readonly dark: boolean;
172
186
  readonly variant: "primary" | "secondary" | "tertiary";
187
+ readonly loadOnClick: boolean;
188
+ readonly onClick?: (() => unknown) | undefined;
173
189
  readonly icon?: import("./ElIcon.vue").ElIconProps | undefined;
174
190
  readonly iconRight?: boolean | undefined;
175
191
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
@@ -181,6 +197,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
181
197
  type: import("vue").PropType<"button" | "submit" | "reset">;
182
198
  default: string;
183
199
  };
200
+ onClick: {
201
+ type: import("vue").PropType<() => unknown>;
202
+ default: undefined;
203
+ };
184
204
  label: {
185
205
  type: import("vue").PropType<string>;
186
206
  required: true;
@@ -213,7 +233,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
213
233
  type: import("vue").PropType<"primary" | "secondary" | "tertiary">;
214
234
  default: string;
215
235
  };
216
- }>>, "disabled" | "type" | "label" | "icon" | "size" | "loading" | "error" | "dark" | "variant">, "size" | "variant"> | undefined;
236
+ loadOnClick: {
237
+ type: import("vue").PropType<boolean>;
238
+ default: boolean;
239
+ };
240
+ }>>, "disabled" | "type" | "onClick" | "label" | "icon" | "size" | "loading" | "error" | "dark" | "variant" | "loadOnClick">, "size" | "variant"> | undefined;
217
241
  left?: boolean | undefined;
218
242
  right?: boolean | undefined;
219
243
  minWidth?: number | undefined;
@@ -232,6 +256,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
232
256
  action: Omit<Partial<{
233
257
  disabled: boolean;
234
258
  type: "button" | "submit" | "reset";
259
+ onClick: () => unknown;
235
260
  label: string;
236
261
  icon: import("./ElIcon.vue").ElIconProps;
237
262
  size: "base" | "xs" | "sm" | "l" | "xl";
@@ -239,6 +264,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
239
264
  error: boolean;
240
265
  dark: boolean;
241
266
  variant: "primary" | "secondary" | "tertiary";
267
+ loadOnClick: boolean;
242
268
  }> & Omit<{
243
269
  readonly disabled: boolean;
244
270
  readonly type: "button" | "submit" | "reset";
@@ -248,6 +274,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
248
274
  readonly error: boolean;
249
275
  readonly dark: boolean;
250
276
  readonly variant: "primary" | "secondary" | "tertiary";
277
+ readonly loadOnClick: boolean;
278
+ readonly onClick?: (() => unknown) | undefined;
251
279
  readonly icon?: import("./ElIcon.vue").ElIconProps | undefined;
252
280
  readonly iconRight?: boolean | undefined;
253
281
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
@@ -259,6 +287,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
259
287
  type: import("vue").PropType<"button" | "submit" | "reset">;
260
288
  default: string;
261
289
  };
290
+ onClick: {
291
+ type: import("vue").PropType<() => unknown>;
292
+ default: undefined;
293
+ };
262
294
  label: {
263
295
  type: import("vue").PropType<string>;
264
296
  required: true;
@@ -291,7 +323,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
291
323
  type: import("vue").PropType<"primary" | "secondary" | "tertiary">;
292
324
  default: string;
293
325
  };
294
- }>>, "disabled" | "type" | "label" | "icon" | "size" | "loading" | "error" | "dark" | "variant">, "size" | "variant">;
326
+ loadOnClick: {
327
+ type: import("vue").PropType<boolean>;
328
+ default: boolean;
329
+ };
330
+ }>>, "disabled" | "type" | "onClick" | "label" | "icon" | "size" | "loading" | "error" | "dark" | "variant" | "loadOnClick">, "size" | "variant">;
295
331
  isOpen: boolean;
296
332
  }, {}>, {
297
333
  anchor?(_: {