@pangu-backend-ui/user-core 0.0.14 → 0.0.16
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/index.js +426 -405
- package/index.umd.cjs +1 -1
- package/package.json +2 -2
- package/types/components/UserSelector/index.d.ts +6 -0
- package/types/components/index.d.ts +2 -1
- package/types/views/BlackListView.vue.d.ts +500 -0
|
@@ -10,6 +10,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
10
10
|
unlock: (id: number) => void;
|
|
11
11
|
addBlacklistComp: import("vue").Ref<any>;
|
|
12
12
|
showAddBlacklistDialog: (userId: number) => void;
|
|
13
|
+
userDetail: import("vue").Ref<any>;
|
|
14
|
+
showUserDetail: (userId: number) => void;
|
|
13
15
|
UserMobileComponent: import("vue").DefineComponent<{
|
|
14
16
|
userId: {
|
|
15
17
|
type: NumberConstructor;
|
|
@@ -392,5 +394,503 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
392
394
|
}, {
|
|
393
395
|
pageSize: number;
|
|
394
396
|
}>;
|
|
397
|
+
UserDetailDialog: import("vue").DefineComponent<{}, {
|
|
398
|
+
configStore: import("pinia").Store<"pg-user-core-config-store", import("pinia")._UnwrapAll<Pick<{
|
|
399
|
+
userDetailDialogTabs: import("vue").ComputedRef<import("../types/UserDetailDialogTabConfig").default[]>;
|
|
400
|
+
}, never>>, Pick<{
|
|
401
|
+
userDetailDialogTabs: import("vue").ComputedRef<import("../types/UserDetailDialogTabConfig").default[]>;
|
|
402
|
+
}, "userDetailDialogTabs">, Pick<{
|
|
403
|
+
userDetailDialogTabs: import("vue").ComputedRef<import("../types/UserDetailDialogTabConfig").default[]>;
|
|
404
|
+
}, never>>;
|
|
405
|
+
http: Http | undefined;
|
|
406
|
+
showState: import("vue").Ref<boolean>;
|
|
407
|
+
userDetail: import("vue").Ref<any>;
|
|
408
|
+
blacklistInfo: import("vue").Ref<any>;
|
|
409
|
+
tabState: import("vue").Ref<{
|
|
410
|
+
activeName: string;
|
|
411
|
+
tabs: {
|
|
412
|
+
name: string;
|
|
413
|
+
code: string;
|
|
414
|
+
component: string | import("vue").FunctionalComponent<any, any> | {
|
|
415
|
+
new (...args: any[]): any;
|
|
416
|
+
__isFragment?: undefined;
|
|
417
|
+
__isTeleport?: undefined;
|
|
418
|
+
__isSuspense?: undefined;
|
|
419
|
+
} | {
|
|
420
|
+
[x: string]: any;
|
|
421
|
+
setup?: ((this: void, props: Readonly<import("@vue/shared").LooseRequired<any>>, ctx: {
|
|
422
|
+
attrs: {
|
|
423
|
+
[x: string]: unknown;
|
|
424
|
+
};
|
|
425
|
+
slots: Readonly<{
|
|
426
|
+
[name: string]: import("vue").Slot | undefined;
|
|
427
|
+
}>;
|
|
428
|
+
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
429
|
+
expose: (exposed?: Record<string, any> | undefined) => void;
|
|
430
|
+
}) => any) | undefined;
|
|
431
|
+
name?: string | undefined;
|
|
432
|
+
template?: string | object | undefined;
|
|
433
|
+
render?: Function | undefined;
|
|
434
|
+
components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>> | undefined;
|
|
435
|
+
directives?: Record<string, import("vue").Directive<any, any>> | undefined;
|
|
436
|
+
inheritAttrs?: boolean | undefined;
|
|
437
|
+
emits?: any;
|
|
438
|
+
expose?: string[] | undefined;
|
|
439
|
+
serverPrefetch?: (() => void | Promise<any>) | undefined;
|
|
440
|
+
compilerOptions?: {
|
|
441
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
442
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
443
|
+
comments?: boolean | undefined;
|
|
444
|
+
delimiters?: [string, string] | undefined;
|
|
445
|
+
} | undefined;
|
|
446
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
447
|
+
__isFragment?: undefined;
|
|
448
|
+
__isTeleport?: undefined;
|
|
449
|
+
__isSuspense?: undefined;
|
|
450
|
+
__defaults?: {} | undefined;
|
|
451
|
+
compatConfig?: {
|
|
452
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
453
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
454
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
455
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
456
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
457
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
458
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
459
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
460
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
461
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
462
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
463
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
464
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
465
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
466
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
467
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
468
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
469
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
470
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
471
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
472
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
473
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
474
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
475
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
476
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
477
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
478
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
479
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
480
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
481
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
482
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
483
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
484
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
485
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
486
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
487
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
488
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
489
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
490
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
491
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
492
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
493
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
494
|
+
MODE?: 2 | 3 | ((comp: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | null) => 2 | 3) | undefined;
|
|
495
|
+
} | undefined;
|
|
496
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
497
|
+
computed?: import("vue").ComputedOptions | undefined;
|
|
498
|
+
methods?: import("vue").MethodOptions | undefined;
|
|
499
|
+
watch?: {
|
|
500
|
+
[x: string]: (string | import("vue").WatchCallback<any, any> | ({
|
|
501
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
502
|
+
} & import("vue").WatchOptions<boolean>)) | (string | import("vue").WatchCallback<any, any> | ({
|
|
503
|
+
handler: string | import("vue").WatchCallback<any, any>;
|
|
504
|
+
} & import("vue").WatchOptions<boolean>))[];
|
|
505
|
+
} | undefined;
|
|
506
|
+
provide?: import("vue").ComponentProvideOptions | undefined;
|
|
507
|
+
inject?: {} | string[] | undefined;
|
|
508
|
+
filters?: Record<string, Function> | undefined;
|
|
509
|
+
mixins?: any[] | undefined;
|
|
510
|
+
extends?: any;
|
|
511
|
+
beforeCreate?: (() => void) | undefined;
|
|
512
|
+
created?: (() => void) | undefined;
|
|
513
|
+
beforeMount?: (() => void) | undefined;
|
|
514
|
+
mounted?: (() => void) | undefined;
|
|
515
|
+
beforeUpdate?: (() => void) | undefined;
|
|
516
|
+
updated?: (() => void) | undefined;
|
|
517
|
+
activated?: (() => void) | undefined;
|
|
518
|
+
deactivated?: (() => void) | undefined;
|
|
519
|
+
beforeDestroy?: (() => void) | undefined;
|
|
520
|
+
beforeUnmount?: (() => void) | undefined;
|
|
521
|
+
destroyed?: (() => void) | undefined;
|
|
522
|
+
unmounted?: (() => void) | undefined;
|
|
523
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
524
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined;
|
|
525
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | undefined;
|
|
526
|
+
delimiters?: [string, string] | undefined;
|
|
527
|
+
__differentiator?: string | number | symbol | undefined;
|
|
528
|
+
__isBuiltIn?: boolean | undefined;
|
|
529
|
+
__file?: string | undefined;
|
|
530
|
+
__name?: string | undefined;
|
|
531
|
+
beforeRouteEnter?: import("vue-router").NavigationGuardWithThis<undefined> | undefined;
|
|
532
|
+
beforeRouteUpdate?: import("vue-router").NavigationGuard | undefined;
|
|
533
|
+
beforeRouteLeave?: import("vue-router").NavigationGuard | undefined;
|
|
534
|
+
};
|
|
535
|
+
}[];
|
|
536
|
+
}>;
|
|
537
|
+
loading: import("vue").Ref<boolean>;
|
|
538
|
+
show: (userId: number, activeTab?: string | undefined, tabs?: import("../types/UserDetailDialogTabConfig").default[] | undefined) => void;
|
|
539
|
+
getUserDetail: (userId: number) => void;
|
|
540
|
+
getBlacklistInfo: (userId: number) => void;
|
|
541
|
+
addBlacklistComp: import("vue").Ref<any>;
|
|
542
|
+
showAddBlacklistDialog: () => void;
|
|
543
|
+
reset: () => void;
|
|
544
|
+
UserMobile: import("vue").DefineComponent<{
|
|
545
|
+
userId: {
|
|
546
|
+
type: NumberConstructor;
|
|
547
|
+
default: null;
|
|
548
|
+
};
|
|
549
|
+
maskMobile: {
|
|
550
|
+
type: StringConstructor;
|
|
551
|
+
default: null;
|
|
552
|
+
};
|
|
553
|
+
}, {
|
|
554
|
+
props: any;
|
|
555
|
+
state: import("vue").Ref<{
|
|
556
|
+
plainMobile: string | null | undefined;
|
|
557
|
+
loading: boolean;
|
|
558
|
+
}>;
|
|
559
|
+
http: Http | undefined;
|
|
560
|
+
getPlainMobile: () => void;
|
|
561
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
562
|
+
userId: {
|
|
563
|
+
type: NumberConstructor;
|
|
564
|
+
default: null;
|
|
565
|
+
};
|
|
566
|
+
maskMobile: {
|
|
567
|
+
type: StringConstructor;
|
|
568
|
+
default: null;
|
|
569
|
+
};
|
|
570
|
+
}>>, {
|
|
571
|
+
userId: number;
|
|
572
|
+
maskMobile: string;
|
|
573
|
+
}>;
|
|
574
|
+
AddBlacklistComp: import("vue").DefineComponent<{
|
|
575
|
+
hiddenEntranceSlot: {
|
|
576
|
+
type: BooleanConstructor;
|
|
577
|
+
default: boolean;
|
|
578
|
+
};
|
|
579
|
+
userId: {
|
|
580
|
+
type: NumberConstructor;
|
|
581
|
+
required: true;
|
|
582
|
+
};
|
|
583
|
+
}, {
|
|
584
|
+
http: Http | undefined;
|
|
585
|
+
emits: (event: "success", ...args: any[]) => void;
|
|
586
|
+
props: any;
|
|
587
|
+
showState: import("vue").Ref<boolean>;
|
|
588
|
+
userIdState: import("vue").Ref<number | null>;
|
|
589
|
+
show: (userId?: number | undefined) => void;
|
|
590
|
+
formRule: import("vue").Ref<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
591
|
+
blacklistInfo: any;
|
|
592
|
+
permissionCodes: import("vue").Ref<any[] | undefined>;
|
|
593
|
+
getBlacklistInfo: (userId: number) => void;
|
|
594
|
+
form: import("vue").Ref<({
|
|
595
|
+
$: import("vue").ComponentInternalInstance;
|
|
596
|
+
$data: {};
|
|
597
|
+
$props: Partial<{
|
|
598
|
+
readonly disabled: boolean;
|
|
599
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
600
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
601
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
602
|
+
readonly labelSuffix: string;
|
|
603
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
604
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
605
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
606
|
+
readonly inline: boolean;
|
|
607
|
+
readonly inlineMessage: boolean;
|
|
608
|
+
readonly statusIcon: boolean;
|
|
609
|
+
readonly scrollToError: boolean;
|
|
610
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
611
|
+
readonly model: ObjectConstructor;
|
|
612
|
+
readonly rules: {
|
|
613
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
614
|
+
readonly required: false;
|
|
615
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
616
|
+
__epPropKey: true;
|
|
617
|
+
};
|
|
618
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
619
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
620
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
621
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
622
|
+
readonly inline: BooleanConstructor;
|
|
623
|
+
readonly inlineMessage: BooleanConstructor;
|
|
624
|
+
readonly statusIcon: BooleanConstructor;
|
|
625
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
626
|
+
readonly size: {
|
|
627
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
628
|
+
readonly required: false;
|
|
629
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
630
|
+
__epPropKey: true;
|
|
631
|
+
};
|
|
632
|
+
readonly disabled: BooleanConstructor;
|
|
633
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
634
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
635
|
+
readonly scrollToError: BooleanConstructor;
|
|
636
|
+
}>> & {
|
|
637
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
638
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "disabled" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
639
|
+
$attrs: {
|
|
640
|
+
[x: string]: unknown;
|
|
641
|
+
};
|
|
642
|
+
$refs: {
|
|
643
|
+
[x: string]: unknown;
|
|
644
|
+
};
|
|
645
|
+
$slots: Readonly<{
|
|
646
|
+
[name: string]: import("vue").Slot | undefined;
|
|
647
|
+
}>;
|
|
648
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
649
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
650
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
651
|
+
$el: any;
|
|
652
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
653
|
+
readonly model: ObjectConstructor;
|
|
654
|
+
readonly rules: {
|
|
655
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
656
|
+
readonly required: false;
|
|
657
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
658
|
+
__epPropKey: true;
|
|
659
|
+
};
|
|
660
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
661
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
662
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
663
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
664
|
+
readonly inline: BooleanConstructor;
|
|
665
|
+
readonly inlineMessage: BooleanConstructor;
|
|
666
|
+
readonly statusIcon: BooleanConstructor;
|
|
667
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
668
|
+
readonly size: {
|
|
669
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
670
|
+
readonly required: false;
|
|
671
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
672
|
+
__epPropKey: true;
|
|
673
|
+
};
|
|
674
|
+
readonly disabled: BooleanConstructor;
|
|
675
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
676
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
677
|
+
readonly scrollToError: BooleanConstructor;
|
|
678
|
+
}>> & {
|
|
679
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
680
|
+
}, {
|
|
681
|
+
COMPONENT_NAME: string;
|
|
682
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
683
|
+
readonly model: ObjectConstructor;
|
|
684
|
+
readonly rules: {
|
|
685
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
686
|
+
readonly required: false;
|
|
687
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
688
|
+
__epPropKey: true;
|
|
689
|
+
};
|
|
690
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
691
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
692
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
693
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
694
|
+
readonly inline: BooleanConstructor;
|
|
695
|
+
readonly inlineMessage: BooleanConstructor;
|
|
696
|
+
readonly statusIcon: BooleanConstructor;
|
|
697
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
698
|
+
readonly size: {
|
|
699
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
700
|
+
readonly required: false;
|
|
701
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
702
|
+
__epPropKey: true;
|
|
703
|
+
};
|
|
704
|
+
readonly disabled: BooleanConstructor;
|
|
705
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
706
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
707
|
+
readonly scrollToError: BooleanConstructor;
|
|
708
|
+
}>> & {
|
|
709
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
710
|
+
}>>;
|
|
711
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
712
|
+
fields: import("element-plus").FormItemContext[];
|
|
713
|
+
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
714
|
+
ns: {
|
|
715
|
+
namespace: import("vue").Ref<string>;
|
|
716
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
717
|
+
e: (element?: string | undefined) => string;
|
|
718
|
+
m: (modifier?: string | undefined) => string;
|
|
719
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
720
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
721
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
722
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
723
|
+
is: {
|
|
724
|
+
(name: string, state: boolean | undefined): string;
|
|
725
|
+
(name: string): string;
|
|
726
|
+
};
|
|
727
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
728
|
+
cssVarName: (name: string) => string;
|
|
729
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
730
|
+
cssVarBlockName: (name: string) => string;
|
|
731
|
+
};
|
|
732
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
733
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
734
|
+
})[]>;
|
|
735
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
736
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
737
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
738
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
739
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
740
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
741
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
742
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
743
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
744
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
745
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
746
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
747
|
+
}, string, {
|
|
748
|
+
readonly disabled: boolean;
|
|
749
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
750
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
751
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
752
|
+
readonly labelSuffix: string;
|
|
753
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
754
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
755
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
756
|
+
readonly inline: boolean;
|
|
757
|
+
readonly inlineMessage: boolean;
|
|
758
|
+
readonly statusIcon: boolean;
|
|
759
|
+
readonly scrollToError: boolean;
|
|
760
|
+
}, {}, string> & {
|
|
761
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
762
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
763
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
764
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
765
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
766
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
767
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
768
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
769
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
770
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
771
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
772
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
773
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
774
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
775
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
776
|
+
};
|
|
777
|
+
$forceUpdate: () => void;
|
|
778
|
+
$nextTick: typeof import("vue").nextTick;
|
|
779
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
780
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
781
|
+
readonly model: ObjectConstructor;
|
|
782
|
+
readonly rules: {
|
|
783
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
784
|
+
readonly required: false;
|
|
785
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
786
|
+
__epPropKey: true;
|
|
787
|
+
};
|
|
788
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
789
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
790
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
791
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
792
|
+
readonly inline: BooleanConstructor;
|
|
793
|
+
readonly inlineMessage: BooleanConstructor;
|
|
794
|
+
readonly statusIcon: BooleanConstructor;
|
|
795
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
796
|
+
readonly size: {
|
|
797
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
798
|
+
readonly required: false;
|
|
799
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
800
|
+
__epPropKey: true;
|
|
801
|
+
};
|
|
802
|
+
readonly disabled: BooleanConstructor;
|
|
803
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
804
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
805
|
+
readonly scrollToError: BooleanConstructor;
|
|
806
|
+
}>> & {
|
|
807
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
808
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
809
|
+
COMPONENT_NAME: string;
|
|
810
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
811
|
+
readonly model: ObjectConstructor;
|
|
812
|
+
readonly rules: {
|
|
813
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
814
|
+
readonly required: false;
|
|
815
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
816
|
+
__epPropKey: true;
|
|
817
|
+
};
|
|
818
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
819
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
820
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
821
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
822
|
+
readonly inline: BooleanConstructor;
|
|
823
|
+
readonly inlineMessage: BooleanConstructor;
|
|
824
|
+
readonly statusIcon: BooleanConstructor;
|
|
825
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
826
|
+
readonly size: {
|
|
827
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
828
|
+
readonly required: false;
|
|
829
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
830
|
+
__epPropKey: true;
|
|
831
|
+
};
|
|
832
|
+
readonly disabled: BooleanConstructor;
|
|
833
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
834
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
835
|
+
readonly scrollToError: BooleanConstructor;
|
|
836
|
+
}>> & {
|
|
837
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
838
|
+
}>>;
|
|
839
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
840
|
+
fields: import("element-plus").FormItemContext[];
|
|
841
|
+
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
842
|
+
ns: {
|
|
843
|
+
namespace: import("vue").Ref<string>;
|
|
844
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
845
|
+
e: (element?: string | undefined) => string;
|
|
846
|
+
m: (modifier?: string | undefined) => string;
|
|
847
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
848
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
849
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
850
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
851
|
+
is: {
|
|
852
|
+
(name: string, state: boolean | undefined): string;
|
|
853
|
+
(name: string): string;
|
|
854
|
+
};
|
|
855
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
856
|
+
cssVarName: (name: string) => string;
|
|
857
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
858
|
+
cssVarBlockName: (name: string) => string;
|
|
859
|
+
};
|
|
860
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
861
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
862
|
+
})[]>;
|
|
863
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
864
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
865
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
866
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
867
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
868
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
869
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
870
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
871
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
872
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
873
|
+
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {}) | undefined>;
|
|
874
|
+
reset: () => void;
|
|
875
|
+
submit: () => void;
|
|
876
|
+
unlockTimeShortcuts: {
|
|
877
|
+
text: string;
|
|
878
|
+
value: () => Date;
|
|
879
|
+
}[];
|
|
880
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "success"[], "success", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
881
|
+
hiddenEntranceSlot: {
|
|
882
|
+
type: BooleanConstructor;
|
|
883
|
+
default: boolean;
|
|
884
|
+
};
|
|
885
|
+
userId: {
|
|
886
|
+
type: NumberConstructor;
|
|
887
|
+
required: true;
|
|
888
|
+
};
|
|
889
|
+
}>> & {
|
|
890
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
891
|
+
}, {
|
|
892
|
+
hiddenEntranceSlot: boolean;
|
|
893
|
+
}>;
|
|
894
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
395
895
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
396
896
|
export default _sfc_main;
|