tiddy 1.5.2 → 2.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/dist/index.d.ts +99 -936
- package/dist/index.js +71 -110
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { AllowedComponentProps, CSSProperties, Component, ComputedRef, ExtractPublicPropTypes, PropType, Raw, Slot
|
|
3
|
-
import * as
|
|
4
|
-
import { DialogInstance, FormInstance, FormItemProps, FormItemRule, FormProps, TableInstance, dialogProps } from "element-plus";
|
|
5
|
-
import * as element_plus_es_components_table_src_table_defaults_mjs15 from "element-plus/es/components/table/src/table/defaults.mjs";
|
|
6
|
-
import * as element_plus_es_components_table_src_table_column_defaults_mjs16 from "element-plus/es/components/table/src/table-column/defaults.mjs";
|
|
7
|
-
import * as element_plus_es_utils_index_mjs41 from "element-plus/es/utils/index.mjs";
|
|
8
|
-
import * as element_plus_es_components_tooltip_index_mjs306 from "element-plus/es/components/tooltip/index.mjs";
|
|
1
|
+
import * as vue35 from "vue";
|
|
2
|
+
import { AllowedComponentProps, CSSProperties, Component, ComputedRef, ExtractPublicPropTypes, PropType, Raw, Slot } from "vue";
|
|
3
|
+
import * as element_plus0 from "element-plus";
|
|
4
|
+
import { DialogInstance, FormInstance, FormItemProps, FormItemRule, FormProps, TableColumnInstance, TableInstance, dialogProps } from "element-plus";
|
|
9
5
|
|
|
10
6
|
//#region src/types.d.ts
|
|
11
7
|
type OrArray<T> = T | T[];
|
|
@@ -78,7 +74,6 @@ declare const widgetFieldPropsDef: {
|
|
|
78
74
|
};
|
|
79
75
|
component: {
|
|
80
76
|
type: PropType<string | Component | Raw<Component>>;
|
|
81
|
-
required: boolean;
|
|
82
77
|
};
|
|
83
78
|
modifiers: {
|
|
84
79
|
type: PropType<Array<"lazy" | "number" | "trim">>;
|
|
@@ -157,9 +152,6 @@ declare const arrayFieldPropsDef: {
|
|
|
157
152
|
default: string;
|
|
158
153
|
required: true;
|
|
159
154
|
};
|
|
160
|
-
hideLabel: {
|
|
161
|
-
type: PropType<OrFunction<boolean> | ComputedRef>;
|
|
162
|
-
};
|
|
163
155
|
rawValue: {
|
|
164
156
|
type: PropType<AnyFunction>;
|
|
165
157
|
};
|
|
@@ -230,7 +222,7 @@ declare const formPropsDef: {
|
|
|
230
222
|
};
|
|
231
223
|
};
|
|
232
224
|
type TdFormProps = ExtractPublicPropTypes<typeof formPropsDef> & FormProps;
|
|
233
|
-
declare const
|
|
225
|
+
declare const tdformItemProps: {
|
|
234
226
|
messageLabel: {
|
|
235
227
|
type: PropType<string | ComputedRef<string>>;
|
|
236
228
|
default: string;
|
|
@@ -243,281 +235,54 @@ declare const formItemPropsDef: {
|
|
|
243
235
|
type: PropType<boolean>;
|
|
244
236
|
default: boolean;
|
|
245
237
|
};
|
|
246
|
-
label: StringConstructor;
|
|
247
|
-
labelWidth: {
|
|
248
|
-
readonly type: PropType<string | number>;
|
|
249
|
-
readonly required: false;
|
|
250
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
251
|
-
__epPropKey: true;
|
|
252
|
-
} & {
|
|
253
|
-
readonly default: "";
|
|
254
|
-
};
|
|
255
|
-
labelPosition: {
|
|
256
|
-
readonly type: PropType<"" | "top" | "left" | "right">;
|
|
257
|
-
readonly required: false;
|
|
258
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
259
|
-
__epPropKey: true;
|
|
260
|
-
} & {
|
|
261
|
-
readonly default: "";
|
|
262
|
-
};
|
|
263
|
-
prop: {
|
|
264
|
-
readonly type: PropType<element_plus420.FormItemProp>;
|
|
265
|
-
readonly required: false;
|
|
266
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
267
|
-
__epPropKey: true;
|
|
268
|
-
};
|
|
269
|
-
required: {
|
|
270
|
-
readonly type: PropType<boolean>;
|
|
271
|
-
readonly required: false;
|
|
272
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
273
|
-
__epPropKey: true;
|
|
274
|
-
} & {
|
|
275
|
-
readonly default: undefined;
|
|
276
|
-
};
|
|
277
|
-
rules: {
|
|
278
|
-
readonly type: PropType<FormItemRule | FormItemRule[]>;
|
|
279
|
-
readonly required: false;
|
|
280
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
281
|
-
__epPropKey: true;
|
|
282
|
-
};
|
|
283
|
-
error: StringConstructor;
|
|
284
|
-
validateStatus: {
|
|
285
|
-
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
286
|
-
readonly required: false;
|
|
287
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
288
|
-
__epPropKey: true;
|
|
289
|
-
};
|
|
290
|
-
for: StringConstructor;
|
|
291
|
-
inlineMessage: {
|
|
292
|
-
readonly type: PropType<string | boolean>;
|
|
293
|
-
readonly required: false;
|
|
294
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
295
|
-
__epPropKey: true;
|
|
296
|
-
} & {
|
|
297
|
-
readonly default: "";
|
|
298
|
-
};
|
|
299
|
-
showMessage: {
|
|
300
|
-
readonly type: PropType<boolean>;
|
|
301
|
-
readonly required: false;
|
|
302
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
303
|
-
__epPropKey: true;
|
|
304
|
-
} & {
|
|
305
|
-
readonly default: true;
|
|
306
|
-
};
|
|
307
|
-
size: {
|
|
308
|
-
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
309
|
-
readonly required: false;
|
|
310
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
311
|
-
__epPropKey: true;
|
|
312
|
-
};
|
|
313
238
|
};
|
|
314
|
-
type TdFormItemProps = ExtractPublicPropTypes<typeof
|
|
239
|
+
type TdFormItemProps = ExtractPublicPropTypes<typeof tdformItemProps> & Partial<FormItemProps>;
|
|
315
240
|
//#endregion
|
|
316
241
|
//#region src/form/form.vue.d.ts
|
|
317
242
|
declare function reValidateErrorFields(): void;
|
|
318
|
-
declare
|
|
243
|
+
declare const expose$1: {
|
|
244
|
+
reValidateErrorFields: typeof reValidateErrorFields;
|
|
245
|
+
model: vue35.ComputedRef<unknown>;
|
|
246
|
+
};
|
|
247
|
+
type __TdFormExpose = typeof expose$1 & FormInstance;
|
|
248
|
+
declare var __VLS_11$1: {}, __VLS_13$1: {}, __VLS_19$1: {};
|
|
319
249
|
type __VLS_Slots$3 = {} & {
|
|
320
|
-
prefix?: (props: typeof __VLS_11) => any;
|
|
250
|
+
prefix?: (props: typeof __VLS_11$1) => any;
|
|
321
251
|
} & {
|
|
322
252
|
default?: (props: typeof __VLS_13$1) => any;
|
|
323
253
|
} & {
|
|
324
|
-
suffix?: (props: typeof
|
|
254
|
+
suffix?: (props: typeof __VLS_19$1) => any;
|
|
325
255
|
};
|
|
326
|
-
declare const
|
|
256
|
+
declare const __VLS_base$3: vue35.DefineComponent<vue35.ExtractPropTypes<{
|
|
327
257
|
fields: {
|
|
328
|
-
type:
|
|
258
|
+
type: vue35.PropType<TdFormFieldProps[]>;
|
|
329
259
|
default: () => never[];
|
|
330
260
|
};
|
|
331
261
|
item: {
|
|
332
|
-
type:
|
|
262
|
+
type: vue35.PropType<element_plus0.FormItemProps>;
|
|
333
263
|
default: () => {};
|
|
334
264
|
};
|
|
335
|
-
|
|
336
|
-
rules: {
|
|
337
|
-
readonly type: vue313.PropType<Partial<Record<string, element_plus420.FormItemRule | element_plus420.FormItemRule[]>>>;
|
|
338
|
-
readonly required: false;
|
|
339
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
340
|
-
__epPropKey: true;
|
|
341
|
-
};
|
|
342
|
-
labelPosition: {
|
|
343
|
-
readonly type: vue313.PropType<"top" | "left" | "right">;
|
|
344
|
-
readonly required: false;
|
|
345
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
346
|
-
__epPropKey: true;
|
|
347
|
-
} & {
|
|
348
|
-
readonly default: "right";
|
|
349
|
-
};
|
|
350
|
-
requireAsteriskPosition: {
|
|
351
|
-
readonly type: vue313.PropType<"left" | "right">;
|
|
352
|
-
readonly required: false;
|
|
353
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
354
|
-
__epPropKey: true;
|
|
355
|
-
} & {
|
|
356
|
-
readonly default: "left";
|
|
357
|
-
};
|
|
358
|
-
labelWidth: {
|
|
359
|
-
readonly type: vue313.PropType<string | number>;
|
|
360
|
-
readonly required: false;
|
|
361
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
362
|
-
__epPropKey: true;
|
|
363
|
-
} & {
|
|
364
|
-
readonly default: "";
|
|
365
|
-
};
|
|
366
|
-
labelSuffix: {
|
|
367
|
-
readonly type: vue313.PropType<string>;
|
|
368
|
-
readonly required: false;
|
|
369
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
370
|
-
__epPropKey: true;
|
|
371
|
-
} & {
|
|
372
|
-
readonly default: "";
|
|
373
|
-
};
|
|
374
|
-
inline: BooleanConstructor;
|
|
375
|
-
inlineMessage: BooleanConstructor;
|
|
376
|
-
statusIcon: BooleanConstructor;
|
|
377
|
-
showMessage: {
|
|
378
|
-
readonly type: vue313.PropType<boolean>;
|
|
379
|
-
readonly required: false;
|
|
380
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
381
|
-
__epPropKey: true;
|
|
382
|
-
} & {
|
|
383
|
-
readonly default: true;
|
|
384
|
-
};
|
|
385
|
-
validateOnRuleChange: {
|
|
386
|
-
readonly type: vue313.PropType<boolean>;
|
|
387
|
-
readonly required: false;
|
|
388
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
389
|
-
__epPropKey: true;
|
|
390
|
-
} & {
|
|
391
|
-
readonly default: true;
|
|
392
|
-
};
|
|
393
|
-
hideRequiredAsterisk: BooleanConstructor;
|
|
394
|
-
scrollToError: BooleanConstructor;
|
|
395
|
-
scrollIntoViewOptions: {
|
|
396
|
-
readonly type: vue313.PropType<boolean | Record<string, any>>;
|
|
397
|
-
readonly required: false;
|
|
398
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
399
|
-
__epPropKey: true;
|
|
400
|
-
} & {
|
|
401
|
-
readonly default: true;
|
|
402
|
-
};
|
|
403
|
-
size: {
|
|
404
|
-
readonly type: vue313.PropType<"" | "default" | "small" | "large">;
|
|
405
|
-
readonly required: false;
|
|
406
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
407
|
-
__epPropKey: true;
|
|
408
|
-
};
|
|
409
|
-
disabled: BooleanConstructor;
|
|
410
|
-
}>, {
|
|
411
|
-
reValidateErrorFields: typeof reValidateErrorFields;
|
|
412
|
-
model: vue313.ComputedRef<Record<string, any> | undefined>;
|
|
413
|
-
}, {}, {}, {}, vue313.ComponentOptionsMixin, vue313.ComponentOptionsMixin, {
|
|
265
|
+
}>, __TdFormExpose, {}, {}, {}, vue35.ComponentOptionsMixin, vue35.ComponentOptionsMixin, {
|
|
414
266
|
validate: () => any;
|
|
415
267
|
submit: (data: any) => any;
|
|
416
|
-
}, string,
|
|
268
|
+
}, string, vue35.PublicProps, Readonly<vue35.ExtractPropTypes<{
|
|
417
269
|
fields: {
|
|
418
|
-
type:
|
|
270
|
+
type: vue35.PropType<TdFormFieldProps[]>;
|
|
419
271
|
default: () => never[];
|
|
420
272
|
};
|
|
421
273
|
item: {
|
|
422
|
-
type:
|
|
274
|
+
type: vue35.PropType<element_plus0.FormItemProps>;
|
|
423
275
|
default: () => {};
|
|
424
276
|
};
|
|
425
|
-
model: ObjectConstructor;
|
|
426
|
-
rules: {
|
|
427
|
-
readonly type: vue313.PropType<Partial<Record<string, element_plus420.FormItemRule | element_plus420.FormItemRule[]>>>;
|
|
428
|
-
readonly required: false;
|
|
429
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
430
|
-
__epPropKey: true;
|
|
431
|
-
};
|
|
432
|
-
labelPosition: {
|
|
433
|
-
readonly type: vue313.PropType<"top" | "left" | "right">;
|
|
434
|
-
readonly required: false;
|
|
435
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
436
|
-
__epPropKey: true;
|
|
437
|
-
} & {
|
|
438
|
-
readonly default: "right";
|
|
439
|
-
};
|
|
440
|
-
requireAsteriskPosition: {
|
|
441
|
-
readonly type: vue313.PropType<"left" | "right">;
|
|
442
|
-
readonly required: false;
|
|
443
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
444
|
-
__epPropKey: true;
|
|
445
|
-
} & {
|
|
446
|
-
readonly default: "left";
|
|
447
|
-
};
|
|
448
|
-
labelWidth: {
|
|
449
|
-
readonly type: vue313.PropType<string | number>;
|
|
450
|
-
readonly required: false;
|
|
451
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
452
|
-
__epPropKey: true;
|
|
453
|
-
} & {
|
|
454
|
-
readonly default: "";
|
|
455
|
-
};
|
|
456
|
-
labelSuffix: {
|
|
457
|
-
readonly type: vue313.PropType<string>;
|
|
458
|
-
readonly required: false;
|
|
459
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
460
|
-
__epPropKey: true;
|
|
461
|
-
} & {
|
|
462
|
-
readonly default: "";
|
|
463
|
-
};
|
|
464
|
-
inline: BooleanConstructor;
|
|
465
|
-
inlineMessage: BooleanConstructor;
|
|
466
|
-
statusIcon: BooleanConstructor;
|
|
467
|
-
showMessage: {
|
|
468
|
-
readonly type: vue313.PropType<boolean>;
|
|
469
|
-
readonly required: false;
|
|
470
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
471
|
-
__epPropKey: true;
|
|
472
|
-
} & {
|
|
473
|
-
readonly default: true;
|
|
474
|
-
};
|
|
475
|
-
validateOnRuleChange: {
|
|
476
|
-
readonly type: vue313.PropType<boolean>;
|
|
477
|
-
readonly required: false;
|
|
478
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
479
|
-
__epPropKey: true;
|
|
480
|
-
} & {
|
|
481
|
-
readonly default: true;
|
|
482
|
-
};
|
|
483
|
-
hideRequiredAsterisk: BooleanConstructor;
|
|
484
|
-
scrollToError: BooleanConstructor;
|
|
485
|
-
scrollIntoViewOptions: {
|
|
486
|
-
readonly type: vue313.PropType<boolean | Record<string, any>>;
|
|
487
|
-
readonly required: false;
|
|
488
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
489
|
-
__epPropKey: true;
|
|
490
|
-
} & {
|
|
491
|
-
readonly default: true;
|
|
492
|
-
};
|
|
493
|
-
size: {
|
|
494
|
-
readonly type: vue313.PropType<"" | "default" | "small" | "large">;
|
|
495
|
-
readonly required: false;
|
|
496
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
497
|
-
__epPropKey: true;
|
|
498
|
-
};
|
|
499
|
-
disabled: BooleanConstructor;
|
|
500
277
|
}>> & Readonly<{
|
|
501
278
|
onValidate?: (() => any) | undefined;
|
|
502
279
|
onSubmit?: ((data: any) => any) | undefined;
|
|
503
280
|
}>, {
|
|
504
|
-
disabled: boolean;
|
|
505
|
-
labelWidth: string | number;
|
|
506
|
-
labelPosition: "top" | "left" | "right";
|
|
507
281
|
fields: TdFormFieldProps[];
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
requireAsteriskPosition: "left" | "right";
|
|
513
|
-
labelSuffix: string;
|
|
514
|
-
inline: boolean;
|
|
515
|
-
statusIcon: boolean;
|
|
516
|
-
validateOnRuleChange: boolean;
|
|
517
|
-
scrollToError: boolean;
|
|
518
|
-
scrollIntoViewOptions: boolean | Record<string, any>;
|
|
519
|
-
}, {}, {}, {}, string, vue313.ComponentProvideOptions, true, {}, any>;
|
|
520
|
-
declare const _default$1: __VLS_WithSlots$3<typeof __VLS_component$3, __VLS_Slots$3>;
|
|
282
|
+
item: element_plus0.FormItemProps;
|
|
283
|
+
}, {}, {}, {}, string, vue35.ComponentProvideOptions, true, {}, any>;
|
|
284
|
+
declare const __VLS_export$5: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
285
|
+
declare const _default$1: typeof __VLS_export$5;
|
|
521
286
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
522
287
|
new (): {
|
|
523
288
|
$slots: S;
|
|
@@ -525,179 +290,41 @@ type __VLS_WithSlots$3<T, S> = T & {
|
|
|
525
290
|
};
|
|
526
291
|
//#endregion
|
|
527
292
|
//#region src/form/form-item.vue.d.ts
|
|
528
|
-
declare var
|
|
529
|
-
type __VLS_Slots$2 = {} & { [K in NonNullable<typeof
|
|
530
|
-
declare const
|
|
293
|
+
declare var __VLS_10: string | number, __VLS_11: any;
|
|
294
|
+
type __VLS_Slots$2 = {} & { [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any };
|
|
295
|
+
declare const __VLS_base$2: vue35.DefineComponent<vue35.ExtractPropTypes<{
|
|
531
296
|
messageLabel: {
|
|
532
|
-
type:
|
|
297
|
+
type: vue35.PropType<string | vue35.ComputedRef<string>>;
|
|
533
298
|
default: string;
|
|
534
299
|
};
|
|
535
300
|
formatMessage: {
|
|
536
|
-
type:
|
|
301
|
+
type: vue35.PropType<AnyFunction>;
|
|
537
302
|
default: null;
|
|
538
303
|
};
|
|
539
304
|
hideRequiredAsterisk: {
|
|
540
|
-
type:
|
|
305
|
+
type: vue35.PropType<boolean>;
|
|
541
306
|
default: boolean;
|
|
542
307
|
};
|
|
543
|
-
|
|
544
|
-
labelWidth: {
|
|
545
|
-
readonly type: vue313.PropType<string | number>;
|
|
546
|
-
readonly required: false;
|
|
547
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
548
|
-
__epPropKey: true;
|
|
549
|
-
} & {
|
|
550
|
-
readonly default: "";
|
|
551
|
-
};
|
|
552
|
-
labelPosition: {
|
|
553
|
-
readonly type: vue313.PropType<"" | "top" | "left" | "right">;
|
|
554
|
-
readonly required: false;
|
|
555
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
556
|
-
__epPropKey: true;
|
|
557
|
-
} & {
|
|
558
|
-
readonly default: "";
|
|
559
|
-
};
|
|
560
|
-
prop: {
|
|
561
|
-
readonly type: vue313.PropType<element_plus420.FormItemProp>;
|
|
562
|
-
readonly required: false;
|
|
563
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
564
|
-
__epPropKey: true;
|
|
565
|
-
};
|
|
566
|
-
required: {
|
|
567
|
-
readonly type: vue313.PropType<boolean>;
|
|
568
|
-
readonly required: false;
|
|
569
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
570
|
-
__epPropKey: true;
|
|
571
|
-
} & {
|
|
572
|
-
readonly default: undefined;
|
|
573
|
-
};
|
|
574
|
-
rules: {
|
|
575
|
-
readonly type: vue313.PropType<element_plus420.FormItemRule | element_plus420.FormItemRule[]>;
|
|
576
|
-
readonly required: false;
|
|
577
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
578
|
-
__epPropKey: true;
|
|
579
|
-
};
|
|
580
|
-
error: StringConstructor;
|
|
581
|
-
validateStatus: {
|
|
582
|
-
readonly type: vue313.PropType<"" | "error" | "success" | "validating">;
|
|
583
|
-
readonly required: false;
|
|
584
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
585
|
-
__epPropKey: true;
|
|
586
|
-
};
|
|
587
|
-
for: StringConstructor;
|
|
588
|
-
inlineMessage: {
|
|
589
|
-
readonly type: vue313.PropType<string | boolean>;
|
|
590
|
-
readonly required: false;
|
|
591
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
592
|
-
__epPropKey: true;
|
|
593
|
-
} & {
|
|
594
|
-
readonly default: "";
|
|
595
|
-
};
|
|
596
|
-
showMessage: {
|
|
597
|
-
readonly type: vue313.PropType<boolean>;
|
|
598
|
-
readonly required: false;
|
|
599
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
600
|
-
__epPropKey: true;
|
|
601
|
-
} & {
|
|
602
|
-
readonly default: true;
|
|
603
|
-
};
|
|
604
|
-
size: {
|
|
605
|
-
readonly type: vue313.PropType<"" | "default" | "small" | "large">;
|
|
606
|
-
readonly required: false;
|
|
607
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
608
|
-
__epPropKey: true;
|
|
609
|
-
};
|
|
610
|
-
}>, {}, {}, {}, {}, vue313.ComponentOptionsMixin, vue313.ComponentOptionsMixin, {}, string, vue313.PublicProps, Readonly<vue313.ExtractPropTypes<{
|
|
308
|
+
}>, {}, {}, {}, {}, vue35.ComponentOptionsMixin, vue35.ComponentOptionsMixin, {}, string, vue35.PublicProps, Readonly<vue35.ExtractPropTypes<{
|
|
611
309
|
messageLabel: {
|
|
612
|
-
type:
|
|
310
|
+
type: vue35.PropType<string | vue35.ComputedRef<string>>;
|
|
613
311
|
default: string;
|
|
614
312
|
};
|
|
615
313
|
formatMessage: {
|
|
616
|
-
type:
|
|
314
|
+
type: vue35.PropType<AnyFunction>;
|
|
617
315
|
default: null;
|
|
618
316
|
};
|
|
619
317
|
hideRequiredAsterisk: {
|
|
620
|
-
type:
|
|
318
|
+
type: vue35.PropType<boolean>;
|
|
621
319
|
default: boolean;
|
|
622
320
|
};
|
|
623
|
-
label: StringConstructor;
|
|
624
|
-
labelWidth: {
|
|
625
|
-
readonly type: vue313.PropType<string | number>;
|
|
626
|
-
readonly required: false;
|
|
627
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
628
|
-
__epPropKey: true;
|
|
629
|
-
} & {
|
|
630
|
-
readonly default: "";
|
|
631
|
-
};
|
|
632
|
-
labelPosition: {
|
|
633
|
-
readonly type: vue313.PropType<"" | "top" | "left" | "right">;
|
|
634
|
-
readonly required: false;
|
|
635
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
636
|
-
__epPropKey: true;
|
|
637
|
-
} & {
|
|
638
|
-
readonly default: "";
|
|
639
|
-
};
|
|
640
|
-
prop: {
|
|
641
|
-
readonly type: vue313.PropType<element_plus420.FormItemProp>;
|
|
642
|
-
readonly required: false;
|
|
643
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
644
|
-
__epPropKey: true;
|
|
645
|
-
};
|
|
646
|
-
required: {
|
|
647
|
-
readonly type: vue313.PropType<boolean>;
|
|
648
|
-
readonly required: false;
|
|
649
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
650
|
-
__epPropKey: true;
|
|
651
|
-
} & {
|
|
652
|
-
readonly default: undefined;
|
|
653
|
-
};
|
|
654
|
-
rules: {
|
|
655
|
-
readonly type: vue313.PropType<element_plus420.FormItemRule | element_plus420.FormItemRule[]>;
|
|
656
|
-
readonly required: false;
|
|
657
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
658
|
-
__epPropKey: true;
|
|
659
|
-
};
|
|
660
|
-
error: StringConstructor;
|
|
661
|
-
validateStatus: {
|
|
662
|
-
readonly type: vue313.PropType<"" | "error" | "success" | "validating">;
|
|
663
|
-
readonly required: false;
|
|
664
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
665
|
-
__epPropKey: true;
|
|
666
|
-
};
|
|
667
|
-
for: StringConstructor;
|
|
668
|
-
inlineMessage: {
|
|
669
|
-
readonly type: vue313.PropType<string | boolean>;
|
|
670
|
-
readonly required: false;
|
|
671
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
672
|
-
__epPropKey: true;
|
|
673
|
-
} & {
|
|
674
|
-
readonly default: "";
|
|
675
|
-
};
|
|
676
|
-
showMessage: {
|
|
677
|
-
readonly type: vue313.PropType<boolean>;
|
|
678
|
-
readonly required: false;
|
|
679
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
680
|
-
__epPropKey: true;
|
|
681
|
-
} & {
|
|
682
|
-
readonly default: true;
|
|
683
|
-
};
|
|
684
|
-
size: {
|
|
685
|
-
readonly type: vue313.PropType<"" | "default" | "small" | "large">;
|
|
686
|
-
readonly required: false;
|
|
687
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
688
|
-
__epPropKey: true;
|
|
689
|
-
};
|
|
690
321
|
}>> & Readonly<{}>, {
|
|
691
|
-
|
|
692
|
-
labelWidth: string | number;
|
|
693
|
-
labelPosition: "" | "top" | "left" | "right";
|
|
694
|
-
messageLabel: string | vue313.ComputedRef<string>;
|
|
322
|
+
messageLabel: string | vue35.ComputedRef<string>;
|
|
695
323
|
formatMessage: AnyFunction;
|
|
696
324
|
hideRequiredAsterisk: boolean;
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
declare const _default$3: __VLS_WithSlots$2<typeof __VLS_component$2, __VLS_Slots$2>;
|
|
325
|
+
}, {}, {}, {}, string, vue35.ComponentProvideOptions, true, {}, any>;
|
|
326
|
+
declare const __VLS_export$4: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
327
|
+
declare const _default$3: typeof __VLS_export$4;
|
|
701
328
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
702
329
|
new (): {
|
|
703
330
|
$slots: S;
|
|
@@ -705,7 +332,8 @@ type __VLS_WithSlots$2<T, S> = T & {
|
|
|
705
332
|
};
|
|
706
333
|
//#endregion
|
|
707
334
|
//#region src/form/form-field.vue.d.ts
|
|
708
|
-
declare const
|
|
335
|
+
declare const __VLS_export$3: vue35.DefineComponent<{}, {}, {}, {}, {}, vue35.ComponentOptionsMixin, vue35.ComponentOptionsMixin, {}, string, vue35.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue35.ComponentProvideOptions, true, {}, any>;
|
|
336
|
+
declare const _default$2: typeof __VLS_export$3;
|
|
709
337
|
//#endregion
|
|
710
338
|
//#region src/form/index.d.ts
|
|
711
339
|
type Instance$2 = InstanceType<typeof _default$1>;
|
|
@@ -713,62 +341,7 @@ type TdFormInstance = Instance$2 & Omit<FormInstance, keyof Instance$2>;
|
|
|
713
341
|
type TdFormItemInstance = InstanceType<typeof _default$3>;
|
|
714
342
|
//#endregion
|
|
715
343
|
//#region src/table/utils.d.ts
|
|
716
|
-
|
|
717
|
-
type: {
|
|
718
|
-
type: StringConstructor;
|
|
719
|
-
default: string;
|
|
720
|
-
};
|
|
721
|
-
label: StringConstructor;
|
|
722
|
-
className: StringConstructor;
|
|
723
|
-
labelClassName: StringConstructor;
|
|
724
|
-
property: StringConstructor;
|
|
725
|
-
prop: StringConstructor;
|
|
726
|
-
width: {
|
|
727
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
728
|
-
default: string;
|
|
729
|
-
};
|
|
730
|
-
minWidth: {
|
|
731
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
732
|
-
default: string;
|
|
733
|
-
};
|
|
734
|
-
renderHeader: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["renderHeader"]>;
|
|
735
|
-
sortable: {
|
|
736
|
-
type: (StringConstructor | BooleanConstructor)[];
|
|
737
|
-
default: boolean;
|
|
738
|
-
};
|
|
739
|
-
sortMethod: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortMethod"]>;
|
|
740
|
-
sortBy: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortBy"]>;
|
|
741
|
-
resizable: {
|
|
742
|
-
type: BooleanConstructor;
|
|
743
|
-
default: boolean;
|
|
744
|
-
};
|
|
745
|
-
columnKey: StringConstructor;
|
|
746
|
-
align: StringConstructor;
|
|
747
|
-
headerAlign: StringConstructor;
|
|
748
|
-
showOverflowTooltip: {
|
|
749
|
-
type: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["showOverflowTooltip"]>;
|
|
750
|
-
default: undefined;
|
|
751
|
-
};
|
|
752
|
-
tooltipFormatter: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipFormatter"]>;
|
|
753
|
-
fixed: (StringConstructor | BooleanConstructor)[];
|
|
754
|
-
formatter: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["formatter"]>;
|
|
755
|
-
selectable: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["selectable"]>;
|
|
756
|
-
reserveSelection: BooleanConstructor;
|
|
757
|
-
filterMethod: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filterMethod"]>;
|
|
758
|
-
filteredValue: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filteredValue"]>;
|
|
759
|
-
filters: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filters"]>;
|
|
760
|
-
filterPlacement: StringConstructor;
|
|
761
|
-
filterMultiple: {
|
|
762
|
-
type: BooleanConstructor;
|
|
763
|
-
default: boolean;
|
|
764
|
-
};
|
|
765
|
-
filterClassName: StringConstructor;
|
|
766
|
-
index: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["index"]>;
|
|
767
|
-
sortOrders: {
|
|
768
|
-
type: PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortOrders"]>;
|
|
769
|
-
default: () => (string | null)[];
|
|
770
|
-
validator: (val: element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<unknown>["sortOrders"]) => boolean;
|
|
771
|
-
};
|
|
344
|
+
type TableColumnProp = {
|
|
772
345
|
slots: {
|
|
773
346
|
type: PropType<OrArray<SlotDef>>;
|
|
774
347
|
default: () => null;
|
|
@@ -782,102 +355,9 @@ declare const tableColumnPropsDef: {
|
|
|
782
355
|
default: () => never[];
|
|
783
356
|
};
|
|
784
357
|
};
|
|
785
|
-
type
|
|
786
|
-
|
|
787
|
-
};
|
|
788
|
-
type TdTableColumnProps = ColumnsType & ExtractPublicPropTypes<Omit<typeof tableColumnPropsDef, "columns">>;
|
|
358
|
+
type TdTableColumnProps = ExtractPublicPropTypes<TableColumnProp> & TableColumnInstance["$props"];
|
|
359
|
+
declare const tableColumnPropsDef: TableColumnProp;
|
|
789
360
|
declare const tablePropsDef: {
|
|
790
|
-
data: {
|
|
791
|
-
type: PropType<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow[]>;
|
|
792
|
-
default: () => never[];
|
|
793
|
-
};
|
|
794
|
-
size: {
|
|
795
|
-
readonly type: PropType<element_plus_es_utils_index_mjs41.EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
796
|
-
readonly required: false;
|
|
797
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
798
|
-
__epPropKey: true;
|
|
799
|
-
};
|
|
800
|
-
width: (NumberConstructor | StringConstructor)[];
|
|
801
|
-
height: (NumberConstructor | StringConstructor)[];
|
|
802
|
-
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
803
|
-
fit: {
|
|
804
|
-
type: BooleanConstructor;
|
|
805
|
-
default: boolean;
|
|
806
|
-
};
|
|
807
|
-
stripe: BooleanConstructor;
|
|
808
|
-
border: BooleanConstructor;
|
|
809
|
-
rowKey: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowKey"]>;
|
|
810
|
-
showHeader: {
|
|
811
|
-
type: BooleanConstructor;
|
|
812
|
-
default: boolean;
|
|
813
|
-
};
|
|
814
|
-
showSummary: BooleanConstructor;
|
|
815
|
-
sumText: StringConstructor;
|
|
816
|
-
summaryMethod: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["summaryMethod"]>;
|
|
817
|
-
rowClassName: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowClassName"]>;
|
|
818
|
-
rowStyle: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowStyle"]>;
|
|
819
|
-
cellClassName: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["cellClassName"]>;
|
|
820
|
-
cellStyle: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["cellStyle"]>;
|
|
821
|
-
headerRowClassName: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerRowClassName"]>;
|
|
822
|
-
headerRowStyle: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerRowStyle"]>;
|
|
823
|
-
headerCellClassName: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerCellClassName"]>;
|
|
824
|
-
headerCellStyle: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerCellStyle"]>;
|
|
825
|
-
highlightCurrentRow: BooleanConstructor;
|
|
826
|
-
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
827
|
-
emptyText: StringConstructor;
|
|
828
|
-
expandRowKeys: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["expandRowKeys"]>;
|
|
829
|
-
defaultExpandAll: BooleanConstructor;
|
|
830
|
-
defaultSort: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["defaultSort"]>;
|
|
831
|
-
tooltipEffect: StringConstructor;
|
|
832
|
-
tooltipOptions: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipOptions"]>;
|
|
833
|
-
spanMethod: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["spanMethod"]>;
|
|
834
|
-
selectOnIndeterminate: {
|
|
835
|
-
type: BooleanConstructor;
|
|
836
|
-
default: boolean;
|
|
837
|
-
};
|
|
838
|
-
indent: {
|
|
839
|
-
type: NumberConstructor;
|
|
840
|
-
default: number;
|
|
841
|
-
};
|
|
842
|
-
treeProps: {
|
|
843
|
-
type: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["treeProps"]>;
|
|
844
|
-
default: () => {
|
|
845
|
-
hasChildren: string;
|
|
846
|
-
children: string;
|
|
847
|
-
checkStrictly: boolean;
|
|
848
|
-
};
|
|
849
|
-
};
|
|
850
|
-
lazy: BooleanConstructor;
|
|
851
|
-
load: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["load"]>;
|
|
852
|
-
style: {
|
|
853
|
-
type: PropType<vue313.CSSProperties>;
|
|
854
|
-
default: () => {};
|
|
855
|
-
};
|
|
856
|
-
className: {
|
|
857
|
-
type: StringConstructor;
|
|
858
|
-
default: string;
|
|
859
|
-
};
|
|
860
|
-
tableLayout: {
|
|
861
|
-
type: PropType<"fixed" | "auto">;
|
|
862
|
-
default: string;
|
|
863
|
-
};
|
|
864
|
-
scrollbarAlwaysOn: BooleanConstructor;
|
|
865
|
-
flexible: BooleanConstructor;
|
|
866
|
-
showOverflowTooltip: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["showOverflowTooltip"]>;
|
|
867
|
-
tooltipFormatter: PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipFormatter"]>;
|
|
868
|
-
appendFilterPanelTo: StringConstructor;
|
|
869
|
-
scrollbarTabindex: {
|
|
870
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
871
|
-
default: undefined;
|
|
872
|
-
};
|
|
873
|
-
allowDragLastColumn: {
|
|
874
|
-
type: BooleanConstructor;
|
|
875
|
-
default: boolean;
|
|
876
|
-
};
|
|
877
|
-
preserveExpandedContent: {
|
|
878
|
-
type: BooleanConstructor;
|
|
879
|
-
default: boolean;
|
|
880
|
-
};
|
|
881
361
|
columns: {
|
|
882
362
|
type: PropType<TdTableColumnProps[]>;
|
|
883
363
|
default: () => never[];
|
|
@@ -886,228 +366,27 @@ declare const tablePropsDef: {
|
|
|
886
366
|
type TdTableProps = ExtractPublicPropTypes<typeof tablePropsDef>;
|
|
887
367
|
//#endregion
|
|
888
368
|
//#region src/table/table.vue.d.ts
|
|
889
|
-
declare var __VLS_1: {},
|
|
890
|
-
type __VLS_Slots$1 = {} & { [K in NonNullable<typeof
|
|
369
|
+
declare var __VLS_1: {}, __VLS_16: string, __VLS_17: any, __VLS_19: {};
|
|
370
|
+
type __VLS_Slots$1 = {} & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & {
|
|
891
371
|
before?: (props: typeof __VLS_1) => any;
|
|
892
372
|
} & {
|
|
893
|
-
after?: (props: typeof
|
|
373
|
+
after?: (props: typeof __VLS_19) => any;
|
|
894
374
|
};
|
|
895
|
-
declare const
|
|
896
|
-
data: {
|
|
897
|
-
type: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow[]>;
|
|
898
|
-
default: () => never[];
|
|
899
|
-
};
|
|
900
|
-
size: {
|
|
901
|
-
readonly type: vue313.PropType<element_plus_es_utils_index_mjs41.EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
902
|
-
readonly required: false;
|
|
903
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
904
|
-
__epPropKey: true;
|
|
905
|
-
};
|
|
906
|
-
width: (NumberConstructor | StringConstructor)[];
|
|
907
|
-
height: (NumberConstructor | StringConstructor)[];
|
|
908
|
-
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
909
|
-
fit: {
|
|
910
|
-
type: BooleanConstructor;
|
|
911
|
-
default: boolean;
|
|
912
|
-
};
|
|
913
|
-
stripe: BooleanConstructor;
|
|
914
|
-
border: BooleanConstructor;
|
|
915
|
-
rowKey: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowKey"]>;
|
|
916
|
-
showHeader: {
|
|
917
|
-
type: BooleanConstructor;
|
|
918
|
-
default: boolean;
|
|
919
|
-
};
|
|
920
|
-
showSummary: BooleanConstructor;
|
|
921
|
-
sumText: StringConstructor;
|
|
922
|
-
summaryMethod: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["summaryMethod"]>;
|
|
923
|
-
rowClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowClassName"]>;
|
|
924
|
-
rowStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowStyle"]>;
|
|
925
|
-
cellClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["cellClassName"]>;
|
|
926
|
-
cellStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["cellStyle"]>;
|
|
927
|
-
headerRowClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerRowClassName"]>;
|
|
928
|
-
headerRowStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerRowStyle"]>;
|
|
929
|
-
headerCellClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerCellClassName"]>;
|
|
930
|
-
headerCellStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerCellStyle"]>;
|
|
931
|
-
highlightCurrentRow: BooleanConstructor;
|
|
932
|
-
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
933
|
-
emptyText: StringConstructor;
|
|
934
|
-
expandRowKeys: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["expandRowKeys"]>;
|
|
935
|
-
defaultExpandAll: BooleanConstructor;
|
|
936
|
-
defaultSort: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["defaultSort"]>;
|
|
937
|
-
tooltipEffect: StringConstructor;
|
|
938
|
-
tooltipOptions: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipOptions"]>;
|
|
939
|
-
spanMethod: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["spanMethod"]>;
|
|
940
|
-
selectOnIndeterminate: {
|
|
941
|
-
type: BooleanConstructor;
|
|
942
|
-
default: boolean;
|
|
943
|
-
};
|
|
944
|
-
indent: {
|
|
945
|
-
type: NumberConstructor;
|
|
946
|
-
default: number;
|
|
947
|
-
};
|
|
948
|
-
treeProps: {
|
|
949
|
-
type: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["treeProps"]>;
|
|
950
|
-
default: () => {
|
|
951
|
-
hasChildren: string;
|
|
952
|
-
children: string;
|
|
953
|
-
checkStrictly: boolean;
|
|
954
|
-
};
|
|
955
|
-
};
|
|
956
|
-
lazy: BooleanConstructor;
|
|
957
|
-
load: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["load"]>;
|
|
958
|
-
style: {
|
|
959
|
-
type: vue313.PropType<vue313.CSSProperties>;
|
|
960
|
-
default: () => {};
|
|
961
|
-
};
|
|
962
|
-
className: {
|
|
963
|
-
type: StringConstructor;
|
|
964
|
-
default: string;
|
|
965
|
-
};
|
|
966
|
-
tableLayout: {
|
|
967
|
-
type: vue313.PropType<"fixed" | "auto">;
|
|
968
|
-
default: string;
|
|
969
|
-
};
|
|
970
|
-
scrollbarAlwaysOn: BooleanConstructor;
|
|
971
|
-
flexible: BooleanConstructor;
|
|
972
|
-
showOverflowTooltip: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["showOverflowTooltip"]>;
|
|
973
|
-
tooltipFormatter: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipFormatter"]>;
|
|
974
|
-
appendFilterPanelTo: StringConstructor;
|
|
975
|
-
scrollbarTabindex: {
|
|
976
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
977
|
-
default: undefined;
|
|
978
|
-
};
|
|
979
|
-
allowDragLastColumn: {
|
|
980
|
-
type: BooleanConstructor;
|
|
981
|
-
default: boolean;
|
|
982
|
-
};
|
|
983
|
-
preserveExpandedContent: {
|
|
984
|
-
type: BooleanConstructor;
|
|
985
|
-
default: boolean;
|
|
986
|
-
};
|
|
375
|
+
declare const __VLS_base$1: vue35.DefineComponent<vue35.ExtractPropTypes<{
|
|
987
376
|
columns: {
|
|
988
|
-
type:
|
|
377
|
+
type: vue35.PropType<TdTableColumnProps[]>;
|
|
989
378
|
default: () => never[];
|
|
990
379
|
};
|
|
991
|
-
}>,
|
|
992
|
-
data: {
|
|
993
|
-
type: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow[]>;
|
|
994
|
-
default: () => never[];
|
|
995
|
-
};
|
|
996
|
-
size: {
|
|
997
|
-
readonly type: vue313.PropType<element_plus_es_utils_index_mjs41.EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
998
|
-
readonly required: false;
|
|
999
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1000
|
-
__epPropKey: true;
|
|
1001
|
-
};
|
|
1002
|
-
width: (NumberConstructor | StringConstructor)[];
|
|
1003
|
-
height: (NumberConstructor | StringConstructor)[];
|
|
1004
|
-
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
1005
|
-
fit: {
|
|
1006
|
-
type: BooleanConstructor;
|
|
1007
|
-
default: boolean;
|
|
1008
|
-
};
|
|
1009
|
-
stripe: BooleanConstructor;
|
|
1010
|
-
border: BooleanConstructor;
|
|
1011
|
-
rowKey: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowKey"]>;
|
|
1012
|
-
showHeader: {
|
|
1013
|
-
type: BooleanConstructor;
|
|
1014
|
-
default: boolean;
|
|
1015
|
-
};
|
|
1016
|
-
showSummary: BooleanConstructor;
|
|
1017
|
-
sumText: StringConstructor;
|
|
1018
|
-
summaryMethod: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["summaryMethod"]>;
|
|
1019
|
-
rowClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowClassName"]>;
|
|
1020
|
-
rowStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["rowStyle"]>;
|
|
1021
|
-
cellClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["cellClassName"]>;
|
|
1022
|
-
cellStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["cellStyle"]>;
|
|
1023
|
-
headerRowClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerRowClassName"]>;
|
|
1024
|
-
headerRowStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerRowStyle"]>;
|
|
1025
|
-
headerCellClassName: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerCellClassName"]>;
|
|
1026
|
-
headerCellStyle: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["headerCellStyle"]>;
|
|
1027
|
-
highlightCurrentRow: BooleanConstructor;
|
|
1028
|
-
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
1029
|
-
emptyText: StringConstructor;
|
|
1030
|
-
expandRowKeys: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["expandRowKeys"]>;
|
|
1031
|
-
defaultExpandAll: BooleanConstructor;
|
|
1032
|
-
defaultSort: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["defaultSort"]>;
|
|
1033
|
-
tooltipEffect: StringConstructor;
|
|
1034
|
-
tooltipOptions: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipOptions"]>;
|
|
1035
|
-
spanMethod: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["spanMethod"]>;
|
|
1036
|
-
selectOnIndeterminate: {
|
|
1037
|
-
type: BooleanConstructor;
|
|
1038
|
-
default: boolean;
|
|
1039
|
-
};
|
|
1040
|
-
indent: {
|
|
1041
|
-
type: NumberConstructor;
|
|
1042
|
-
default: number;
|
|
1043
|
-
};
|
|
1044
|
-
treeProps: {
|
|
1045
|
-
type: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["treeProps"]>;
|
|
1046
|
-
default: () => {
|
|
1047
|
-
hasChildren: string;
|
|
1048
|
-
children: string;
|
|
1049
|
-
checkStrictly: boolean;
|
|
1050
|
-
};
|
|
1051
|
-
};
|
|
1052
|
-
lazy: BooleanConstructor;
|
|
1053
|
-
load: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["load"]>;
|
|
1054
|
-
style: {
|
|
1055
|
-
type: vue313.PropType<vue313.CSSProperties>;
|
|
1056
|
-
default: () => {};
|
|
1057
|
-
};
|
|
1058
|
-
className: {
|
|
1059
|
-
type: StringConstructor;
|
|
1060
|
-
default: string;
|
|
1061
|
-
};
|
|
1062
|
-
tableLayout: {
|
|
1063
|
-
type: vue313.PropType<"fixed" | "auto">;
|
|
1064
|
-
default: string;
|
|
1065
|
-
};
|
|
1066
|
-
scrollbarAlwaysOn: BooleanConstructor;
|
|
1067
|
-
flexible: BooleanConstructor;
|
|
1068
|
-
showOverflowTooltip: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["showOverflowTooltip"]>;
|
|
1069
|
-
tooltipFormatter: vue313.PropType<element_plus_es_components_table_src_table_defaults_mjs15.TableProps<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipFormatter"]>;
|
|
1070
|
-
appendFilterPanelTo: StringConstructor;
|
|
1071
|
-
scrollbarTabindex: {
|
|
1072
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
1073
|
-
default: undefined;
|
|
1074
|
-
};
|
|
1075
|
-
allowDragLastColumn: {
|
|
1076
|
-
type: BooleanConstructor;
|
|
1077
|
-
default: boolean;
|
|
1078
|
-
};
|
|
1079
|
-
preserveExpandedContent: {
|
|
1080
|
-
type: BooleanConstructor;
|
|
1081
|
-
default: boolean;
|
|
1082
|
-
};
|
|
380
|
+
}>, TableInstance, {}, {}, {}, vue35.ComponentOptionsMixin, vue35.ComponentOptionsMixin, {}, string, vue35.PublicProps, Readonly<vue35.ExtractPropTypes<{
|
|
1083
381
|
columns: {
|
|
1084
|
-
type:
|
|
382
|
+
type: vue35.PropType<TdTableColumnProps[]>;
|
|
1085
383
|
default: () => never[];
|
|
1086
384
|
};
|
|
1087
385
|
}>> & Readonly<{}>, {
|
|
1088
|
-
style: vue313.CSSProperties;
|
|
1089
|
-
className: string;
|
|
1090
386
|
columns: TdTableColumnProps[];
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
stripe: boolean;
|
|
1095
|
-
border: boolean;
|
|
1096
|
-
showHeader: boolean;
|
|
1097
|
-
showSummary: boolean;
|
|
1098
|
-
highlightCurrentRow: boolean;
|
|
1099
|
-
defaultExpandAll: boolean;
|
|
1100
|
-
selectOnIndeterminate: boolean;
|
|
1101
|
-
indent: number;
|
|
1102
|
-
lazy: boolean;
|
|
1103
|
-
tableLayout: "fixed" | "auto";
|
|
1104
|
-
scrollbarAlwaysOn: boolean;
|
|
1105
|
-
flexible: boolean;
|
|
1106
|
-
scrollbarTabindex: string | number;
|
|
1107
|
-
allowDragLastColumn: boolean;
|
|
1108
|
-
preserveExpandedContent: boolean;
|
|
1109
|
-
}, {}, {}, {}, string, vue313.ComponentProvideOptions, true, {}, any>;
|
|
1110
|
-
declare const _default$4: __VLS_WithSlots$1<typeof __VLS_component$1, __VLS_Slots$1>;
|
|
387
|
+
}, {}, {}, {}, string, vue35.ComponentProvideOptions, true, {}, any>;
|
|
388
|
+
declare const __VLS_export$2: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
389
|
+
declare const _default$4: typeof __VLS_export$2;
|
|
1111
390
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
1112
391
|
new (): {
|
|
1113
392
|
$slots: S;
|
|
@@ -1115,156 +394,38 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
1115
394
|
};
|
|
1116
395
|
//#endregion
|
|
1117
396
|
//#region src/table/table-col.vue.d.ts
|
|
1118
|
-
declare const
|
|
1119
|
-
type: {
|
|
1120
|
-
type: StringConstructor;
|
|
1121
|
-
default: string;
|
|
1122
|
-
};
|
|
1123
|
-
label: StringConstructor;
|
|
1124
|
-
className: StringConstructor;
|
|
1125
|
-
labelClassName: StringConstructor;
|
|
1126
|
-
property: StringConstructor;
|
|
1127
|
-
prop: StringConstructor;
|
|
1128
|
-
width: {
|
|
1129
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
1130
|
-
default: string;
|
|
1131
|
-
};
|
|
1132
|
-
minWidth: {
|
|
1133
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
1134
|
-
default: string;
|
|
1135
|
-
};
|
|
1136
|
-
renderHeader: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["renderHeader"]>;
|
|
1137
|
-
sortable: {
|
|
1138
|
-
type: (StringConstructor | BooleanConstructor)[];
|
|
1139
|
-
default: boolean;
|
|
1140
|
-
};
|
|
1141
|
-
sortMethod: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortMethod"]>;
|
|
1142
|
-
sortBy: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortBy"]>;
|
|
1143
|
-
resizable: {
|
|
1144
|
-
type: BooleanConstructor;
|
|
1145
|
-
default: boolean;
|
|
1146
|
-
};
|
|
1147
|
-
columnKey: StringConstructor;
|
|
1148
|
-
align: StringConstructor;
|
|
1149
|
-
headerAlign: StringConstructor;
|
|
1150
|
-
showOverflowTooltip: {
|
|
1151
|
-
type: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["showOverflowTooltip"]>;
|
|
1152
|
-
default: undefined;
|
|
1153
|
-
};
|
|
1154
|
-
tooltipFormatter: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipFormatter"]>;
|
|
1155
|
-
fixed: (StringConstructor | BooleanConstructor)[];
|
|
1156
|
-
formatter: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["formatter"]>;
|
|
1157
|
-
selectable: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["selectable"]>;
|
|
1158
|
-
reserveSelection: BooleanConstructor;
|
|
1159
|
-
filterMethod: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filterMethod"]>;
|
|
1160
|
-
filteredValue: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filteredValue"]>;
|
|
1161
|
-
filters: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filters"]>;
|
|
1162
|
-
filterPlacement: StringConstructor;
|
|
1163
|
-
filterMultiple: {
|
|
1164
|
-
type: BooleanConstructor;
|
|
1165
|
-
default: boolean;
|
|
1166
|
-
};
|
|
1167
|
-
filterClassName: StringConstructor;
|
|
1168
|
-
index: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["index"]>;
|
|
1169
|
-
sortOrders: {
|
|
1170
|
-
type: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortOrders"]>;
|
|
1171
|
-
default: () => (string | null)[];
|
|
1172
|
-
validator: (val: element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<unknown>["sortOrders"]) => boolean;
|
|
1173
|
-
};
|
|
397
|
+
declare const __VLS_export$1: vue35.DefineComponent<vue35.ExtractPropTypes<{
|
|
1174
398
|
slots: {
|
|
1175
|
-
type:
|
|
399
|
+
type: vue35.PropType<OrArray<SlotDef>>;
|
|
1176
400
|
default: () => null;
|
|
1177
401
|
};
|
|
1178
402
|
columns: {
|
|
1179
|
-
type:
|
|
403
|
+
type: vue35.PropType<any[]>;
|
|
1180
404
|
default: () => never[];
|
|
1181
405
|
};
|
|
1182
406
|
transform: {
|
|
1183
|
-
type:
|
|
407
|
+
type: vue35.PropType<AnyFunction[]>;
|
|
1184
408
|
default: () => never[];
|
|
1185
409
|
};
|
|
1186
|
-
}>, {}, {}, {}, {},
|
|
1187
|
-
type: {
|
|
1188
|
-
type: StringConstructor;
|
|
1189
|
-
default: string;
|
|
1190
|
-
};
|
|
1191
|
-
label: StringConstructor;
|
|
1192
|
-
className: StringConstructor;
|
|
1193
|
-
labelClassName: StringConstructor;
|
|
1194
|
-
property: StringConstructor;
|
|
1195
|
-
prop: StringConstructor;
|
|
1196
|
-
width: {
|
|
1197
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
1198
|
-
default: string;
|
|
1199
|
-
};
|
|
1200
|
-
minWidth: {
|
|
1201
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
1202
|
-
default: string;
|
|
1203
|
-
};
|
|
1204
|
-
renderHeader: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["renderHeader"]>;
|
|
1205
|
-
sortable: {
|
|
1206
|
-
type: (StringConstructor | BooleanConstructor)[];
|
|
1207
|
-
default: boolean;
|
|
1208
|
-
};
|
|
1209
|
-
sortMethod: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortMethod"]>;
|
|
1210
|
-
sortBy: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortBy"]>;
|
|
1211
|
-
resizable: {
|
|
1212
|
-
type: BooleanConstructor;
|
|
1213
|
-
default: boolean;
|
|
1214
|
-
};
|
|
1215
|
-
columnKey: StringConstructor;
|
|
1216
|
-
align: StringConstructor;
|
|
1217
|
-
headerAlign: StringConstructor;
|
|
1218
|
-
showOverflowTooltip: {
|
|
1219
|
-
type: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["showOverflowTooltip"]>;
|
|
1220
|
-
default: undefined;
|
|
1221
|
-
};
|
|
1222
|
-
tooltipFormatter: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["tooltipFormatter"]>;
|
|
1223
|
-
fixed: (StringConstructor | BooleanConstructor)[];
|
|
1224
|
-
formatter: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["formatter"]>;
|
|
1225
|
-
selectable: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["selectable"]>;
|
|
1226
|
-
reserveSelection: BooleanConstructor;
|
|
1227
|
-
filterMethod: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filterMethod"]>;
|
|
1228
|
-
filteredValue: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filteredValue"]>;
|
|
1229
|
-
filters: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["filters"]>;
|
|
1230
|
-
filterPlacement: StringConstructor;
|
|
1231
|
-
filterMultiple: {
|
|
1232
|
-
type: BooleanConstructor;
|
|
1233
|
-
default: boolean;
|
|
1234
|
-
};
|
|
1235
|
-
filterClassName: StringConstructor;
|
|
1236
|
-
index: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["index"]>;
|
|
1237
|
-
sortOrders: {
|
|
1238
|
-
type: vue313.PropType<element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs15.DefaultRow>["sortOrders"]>;
|
|
1239
|
-
default: () => (string | null)[];
|
|
1240
|
-
validator: (val: element_plus_es_components_table_src_table_column_defaults_mjs16.TableColumnCtx<unknown>["sortOrders"]) => boolean;
|
|
1241
|
-
};
|
|
410
|
+
}>, {}, {}, {}, {}, vue35.ComponentOptionsMixin, vue35.ComponentOptionsMixin, {}, string, vue35.PublicProps, Readonly<vue35.ExtractPropTypes<{
|
|
1242
411
|
slots: {
|
|
1243
|
-
type:
|
|
412
|
+
type: vue35.PropType<OrArray<SlotDef>>;
|
|
1244
413
|
default: () => null;
|
|
1245
414
|
};
|
|
1246
415
|
columns: {
|
|
1247
|
-
type:
|
|
416
|
+
type: vue35.PropType<any[]>;
|
|
1248
417
|
default: () => never[];
|
|
1249
418
|
};
|
|
1250
419
|
transform: {
|
|
1251
|
-
type:
|
|
420
|
+
type: vue35.PropType<AnyFunction[]>;
|
|
1252
421
|
default: () => never[];
|
|
1253
422
|
};
|
|
1254
423
|
}>> & Readonly<{}>, {
|
|
1255
|
-
showOverflowTooltip: boolean | Partial<Pick<element_plus_es_components_tooltip_index_mjs306.ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined;
|
|
1256
|
-
type: string;
|
|
1257
|
-
sortOrders: ("ascending" | "descending" | null)[];
|
|
1258
|
-
columns: any[];
|
|
1259
|
-
width: string | number;
|
|
1260
|
-
minWidth: string | number;
|
|
1261
|
-
sortable: string | boolean;
|
|
1262
|
-
resizable: boolean;
|
|
1263
|
-
reserveSelection: boolean;
|
|
1264
|
-
filterMultiple: boolean;
|
|
1265
424
|
slots: OrArray<SlotDef>;
|
|
425
|
+
columns: any[];
|
|
1266
426
|
transform: AnyFunction[];
|
|
1267
|
-
}, {}, {}, {}, string,
|
|
427
|
+
}, {}, {}, {}, string, vue35.ComponentProvideOptions, true, {}, any>;
|
|
428
|
+
declare const _default$5: typeof __VLS_export$1;
|
|
1268
429
|
//#endregion
|
|
1269
430
|
//#region src/table/index.d.ts
|
|
1270
431
|
type Instance$1 = InstanceType<typeof _default$4>;
|
|
@@ -1274,7 +435,7 @@ type TdTableInstance = Instance$1 & Omit<TableInstance, keyof Instance$1>;
|
|
|
1274
435
|
declare const dialogPropsDef: {
|
|
1275
436
|
appendToBody?: BooleanConstructor | undefined;
|
|
1276
437
|
appendTo?: ({
|
|
1277
|
-
readonly type:
|
|
438
|
+
readonly type: vue35.PropType<string | HTMLElement>;
|
|
1278
439
|
readonly required: false;
|
|
1279
440
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1280
441
|
__epPropKey: true;
|
|
@@ -1282,14 +443,14 @@ declare const dialogPropsDef: {
|
|
|
1282
443
|
readonly default: "body";
|
|
1283
444
|
}) | undefined;
|
|
1284
445
|
beforeClose?: {
|
|
1285
|
-
readonly type:
|
|
446
|
+
readonly type: vue35.PropType<element_plus0.DialogBeforeCloseFn>;
|
|
1286
447
|
readonly required: false;
|
|
1287
448
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1288
449
|
__epPropKey: true;
|
|
1289
450
|
} | undefined;
|
|
1290
451
|
destroyOnClose?: BooleanConstructor | undefined;
|
|
1291
452
|
closeOnClickModal?: ({
|
|
1292
|
-
readonly type:
|
|
453
|
+
readonly type: vue35.PropType<boolean>;
|
|
1293
454
|
readonly required: false;
|
|
1294
455
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1295
456
|
__epPropKey: true;
|
|
@@ -1297,7 +458,7 @@ declare const dialogPropsDef: {
|
|
|
1297
458
|
readonly default: true;
|
|
1298
459
|
}) | undefined;
|
|
1299
460
|
closeOnPressEscape?: ({
|
|
1300
|
-
readonly type:
|
|
461
|
+
readonly type: vue35.PropType<boolean>;
|
|
1301
462
|
readonly required: false;
|
|
1302
463
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1303
464
|
__epPropKey: true;
|
|
@@ -1305,7 +466,7 @@ declare const dialogPropsDef: {
|
|
|
1305
466
|
readonly default: true;
|
|
1306
467
|
}) | undefined;
|
|
1307
468
|
lockScroll?: ({
|
|
1308
|
-
readonly type:
|
|
469
|
+
readonly type: vue35.PropType<boolean>;
|
|
1309
470
|
readonly required: false;
|
|
1310
471
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1311
472
|
__epPropKey: true;
|
|
@@ -1313,7 +474,7 @@ declare const dialogPropsDef: {
|
|
|
1313
474
|
readonly default: true;
|
|
1314
475
|
}) | undefined;
|
|
1315
476
|
modal?: ({
|
|
1316
|
-
readonly type:
|
|
477
|
+
readonly type: vue35.PropType<boolean>;
|
|
1317
478
|
readonly required: false;
|
|
1318
479
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1319
480
|
__epPropKey: true;
|
|
@@ -1321,7 +482,7 @@ declare const dialogPropsDef: {
|
|
|
1321
482
|
readonly default: true;
|
|
1322
483
|
}) | undefined;
|
|
1323
484
|
openDelay?: ({
|
|
1324
|
-
readonly type:
|
|
485
|
+
readonly type: vue35.PropType<number>;
|
|
1325
486
|
readonly required: false;
|
|
1326
487
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1327
488
|
__epPropKey: true;
|
|
@@ -1329,7 +490,7 @@ declare const dialogPropsDef: {
|
|
|
1329
490
|
readonly default: 0;
|
|
1330
491
|
}) | undefined;
|
|
1331
492
|
closeDelay?: ({
|
|
1332
|
-
readonly type:
|
|
493
|
+
readonly type: vue35.PropType<number>;
|
|
1333
494
|
readonly required: false;
|
|
1334
495
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1335
496
|
__epPropKey: true;
|
|
@@ -1337,7 +498,7 @@ declare const dialogPropsDef: {
|
|
|
1337
498
|
readonly default: 0;
|
|
1338
499
|
}) | undefined;
|
|
1339
500
|
top?: {
|
|
1340
|
-
readonly type:
|
|
501
|
+
readonly type: vue35.PropType<string>;
|
|
1341
502
|
readonly required: false;
|
|
1342
503
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1343
504
|
__epPropKey: true;
|
|
@@ -1348,20 +509,20 @@ declare const dialogPropsDef: {
|
|
|
1348
509
|
bodyClass?: StringConstructor | undefined;
|
|
1349
510
|
footerClass?: StringConstructor | undefined;
|
|
1350
511
|
width?: {
|
|
1351
|
-
readonly type:
|
|
512
|
+
readonly type: vue35.PropType<string | number>;
|
|
1352
513
|
readonly required: false;
|
|
1353
514
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1354
515
|
__epPropKey: true;
|
|
1355
516
|
} | undefined;
|
|
1356
517
|
zIndex?: {
|
|
1357
|
-
readonly type:
|
|
518
|
+
readonly type: vue35.PropType<number>;
|
|
1358
519
|
readonly required: false;
|
|
1359
520
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1360
521
|
__epPropKey: true;
|
|
1361
522
|
} | undefined;
|
|
1362
523
|
trapFocus?: BooleanConstructor | undefined;
|
|
1363
524
|
headerAriaLevel?: ({
|
|
1364
|
-
readonly type:
|
|
525
|
+
readonly type: vue35.PropType<string>;
|
|
1365
526
|
readonly required: false;
|
|
1366
527
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1367
528
|
__epPropKey: true;
|
|
@@ -1371,7 +532,7 @@ declare const dialogPropsDef: {
|
|
|
1371
532
|
center?: BooleanConstructor | undefined;
|
|
1372
533
|
alignCenter?: BooleanConstructor | undefined;
|
|
1373
534
|
closeIcon?: {
|
|
1374
|
-
readonly type:
|
|
535
|
+
readonly type: vue35.PropType<string | vue35.Component>;
|
|
1375
536
|
readonly required: false;
|
|
1376
537
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1377
538
|
__epPropKey: true;
|
|
@@ -1380,7 +541,7 @@ declare const dialogPropsDef: {
|
|
|
1380
541
|
overflow?: BooleanConstructor | undefined;
|
|
1381
542
|
fullscreen?: BooleanConstructor | undefined;
|
|
1382
543
|
showClose?: ({
|
|
1383
|
-
readonly type:
|
|
544
|
+
readonly type: vue35.PropType<boolean>;
|
|
1384
545
|
readonly required: false;
|
|
1385
546
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1386
547
|
__epPropKey: true;
|
|
@@ -1388,7 +549,7 @@ declare const dialogPropsDef: {
|
|
|
1388
549
|
readonly default: true;
|
|
1389
550
|
}) | undefined;
|
|
1390
551
|
title?: ({
|
|
1391
|
-
readonly type:
|
|
552
|
+
readonly type: vue35.PropType<string>;
|
|
1392
553
|
readonly required: false;
|
|
1393
554
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1394
555
|
__epPropKey: true;
|
|
@@ -1396,7 +557,7 @@ declare const dialogPropsDef: {
|
|
|
1396
557
|
readonly default: "";
|
|
1397
558
|
}) | undefined;
|
|
1398
559
|
ariaLevel?: ({
|
|
1399
|
-
readonly type:
|
|
560
|
+
readonly type: vue35.PropType<string>;
|
|
1400
561
|
readonly required: false;
|
|
1401
562
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1402
563
|
__epPropKey: true;
|
|
@@ -1407,15 +568,6 @@ declare const dialogPropsDef: {
|
|
|
1407
568
|
type TdDialogProps = ExtractPublicPropTypes<Omit<typeof dialogProps, "modelValue">>;
|
|
1408
569
|
//#endregion
|
|
1409
570
|
//#region src/dialog/dialog.vue.d.ts
|
|
1410
|
-
type DialogSlots = DialogInstance['$slots'] extends Slots & infer T ? T : never;
|
|
1411
|
-
type SlotFun = {
|
|
1412
|
-
ok: typeof confirm;
|
|
1413
|
-
close: typeof close;
|
|
1414
|
-
step: typeof step;
|
|
1415
|
-
};
|
|
1416
|
-
type ExFun<T> = Exclude<T, undefined>;
|
|
1417
|
-
type TdDialogSlots = { [K in keyof DialogSlots]?: (props: Parameters<ExFun<DialogSlots[K]>>[0] & SlotFun) => any };
|
|
1418
|
-
type __VLS_Slots = TdDialogSlots;
|
|
1419
571
|
declare function open(options?: TdDialogProps): {
|
|
1420
572
|
promise: Promise<any>;
|
|
1421
573
|
close: typeof close;
|
|
@@ -1424,12 +576,23 @@ declare function wait(): Promise<any>;
|
|
|
1424
576
|
declare function close(err?: any): void;
|
|
1425
577
|
declare function confirm(res?: any, instance?: FormInstance): Promise<void>;
|
|
1426
578
|
declare function step(res?: any, instance?: FormInstance): Promise<void>;
|
|
1427
|
-
declare const
|
|
579
|
+
declare const expose: {
|
|
1428
580
|
open: typeof open;
|
|
1429
581
|
wait: typeof wait;
|
|
1430
582
|
close: typeof close;
|
|
1431
|
-
}
|
|
1432
|
-
|
|
583
|
+
};
|
|
584
|
+
type __TdDialogExpose = typeof expose & DialogInstance;
|
|
585
|
+
declare var __VLS_13: "default" | "title" | "header" | "footer", __VLS_14: {
|
|
586
|
+
ok: typeof confirm;
|
|
587
|
+
close: typeof close;
|
|
588
|
+
step: typeof step;
|
|
589
|
+
titleId?: string | undefined;
|
|
590
|
+
titleClass?: string | undefined;
|
|
591
|
+
};
|
|
592
|
+
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof __VLS_14) => any };
|
|
593
|
+
declare const __VLS_base: vue35.DefineComponent<{}, __TdDialogExpose, {}, {}, {}, vue35.ComponentOptionsMixin, vue35.ComponentOptionsMixin, {}, string, vue35.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue35.ComponentProvideOptions, true, {}, any>;
|
|
594
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
595
|
+
declare const _default: typeof __VLS_export;
|
|
1433
596
|
type __VLS_WithSlots<T, S> = T & {
|
|
1434
597
|
new (): {
|
|
1435
598
|
$slots: S;
|
|
@@ -1441,13 +604,13 @@ type Instance = InstanceType<typeof _default>;
|
|
|
1441
604
|
type TdDialogInstance = Instance & Omit<DialogInstance, keyof Instance & string>;
|
|
1442
605
|
//#endregion
|
|
1443
606
|
//#region src/hooks/use-reuse.d.ts
|
|
1444
|
-
declare function useReuse(): (
|
|
607
|
+
declare function useReuse(): (vue35.DefineComponent<{}, () => null, {}, {}, {}, vue35.ComponentOptionsMixin, vue35.ComponentOptionsMixin, {}, string, vue35.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue35.ComponentProvideOptions, true, {}, any> | vue35.DefineComponent<{}, () => vue35.VNode<vue35.RendererNode, vue35.RendererElement, {
|
|
1445
608
|
[key: string]: any;
|
|
1446
|
-
}>[] | undefined, {}, {}, {},
|
|
1447
|
-
[name: string]:
|
|
609
|
+
}>[] | undefined, {}, {}, {}, vue35.ComponentOptionsMixin, vue35.ComponentOptionsMixin, {}, string, vue35.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue35.ComponentProvideOptions, true, {}, any> | vue35.ComputedRef<Readonly<{
|
|
610
|
+
[name: string]: vue35.Slot<any> | undefined;
|
|
1448
611
|
}>>)[];
|
|
1449
612
|
//#endregion
|
|
1450
613
|
//#region src/utils/index.d.ts
|
|
1451
614
|
declare function getKey(obj: any): string;
|
|
1452
615
|
//#endregion
|
|
1453
|
-
export { _default as TdDialog, TdDialogInstance, TdDialogProps, _default$1 as TdForm, _default$2 as TdFormField, TdFormFieldProps, TdFormInstance, _default$3 as TdFormItem, TdFormItemInstance, TdFormProps, _default$4 as TdTable, _default$5 as TdTableCol, TdTableColumnProps, TdTableInstance, TdTableProps, dialogPropsDef, formPropsDef, getKey, tableColumnPropsDef, tablePropsDef, useReuse };
|
|
616
|
+
export { _default as TdDialog, TdDialogInstance, type TdDialogProps, _default$1 as TdForm, _default$2 as TdFormField, type TdFormFieldProps, TdFormInstance, _default$3 as TdFormItem, TdFormItemInstance, type TdFormProps, _default$4 as TdTable, _default$5 as TdTableCol, type TdTableColumnProps, TdTableInstance, type TdTableProps, dialogPropsDef, formPropsDef, getKey, tableColumnPropsDef, tablePropsDef, useReuse };
|