jcjy-components 0.0.1
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/README.md +0 -0
- package/dist/App.vue.d.ts +2 -0
- package/dist/components/auth-gateway/bind-org-dialog.vue.d.ts +191 -0
- package/dist/components/auth-gateway/index.vue.d.ts +210 -0
- package/dist/components/auth-gateway/interface.d.ts +50 -0
- package/dist/components/auth-gateway/login-form.vue.d.ts +193 -0
- package/dist/components/auth-gateway/register-form.vue.d.ts +192 -0
- package/dist/components/auth-gateway/util.d.ts +16 -0
- package/dist/components/auth-gateway/wechat-form.vue.d.ts +9 -0
- package/dist/components/auth-gateway/wechat-scan-view.vue.d.ts +12 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.es.js +1894 -0
- package/dist/index.umd.js +14 -0
- package/dist/main.d.ts +0 -0
- package/dist/stats.html +4949 -0
- package/package.json +52 -0
package/README.md
ADDED
|
File without changes
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
declare function open(): void;
|
|
2
|
+
declare function close(): void;
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
4
|
+
open: typeof open;
|
|
5
|
+
close: typeof close;
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
confirm: (v: any) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
9
|
+
onConfirm?: ((v: any) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
11
|
+
formRef: ({
|
|
12
|
+
$: import('vue').ComponentInternalInstance;
|
|
13
|
+
$data: {};
|
|
14
|
+
$props: Partial<{
|
|
15
|
+
readonly disabled: boolean;
|
|
16
|
+
readonly inline: boolean;
|
|
17
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
18
|
+
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
19
|
+
readonly inlineMessage: boolean;
|
|
20
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
21
|
+
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
22
|
+
readonly labelSuffix: string;
|
|
23
|
+
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
24
|
+
readonly scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
25
|
+
readonly statusIcon: boolean;
|
|
26
|
+
readonly hideRequiredAsterisk: boolean;
|
|
27
|
+
readonly scrollToError: boolean;
|
|
28
|
+
}> & Omit<{
|
|
29
|
+
readonly inline: boolean;
|
|
30
|
+
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
31
|
+
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
32
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
33
|
+
readonly labelSuffix: string;
|
|
34
|
+
readonly inlineMessage: boolean;
|
|
35
|
+
readonly statusIcon: boolean;
|
|
36
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
37
|
+
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
38
|
+
readonly hideRequiredAsterisk: boolean;
|
|
39
|
+
readonly scrollToError: boolean;
|
|
40
|
+
readonly scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
41
|
+
readonly disabled: boolean;
|
|
42
|
+
readonly model?: Record<string, any> | undefined;
|
|
43
|
+
readonly rules?: Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>> | undefined;
|
|
44
|
+
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
45
|
+
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
46
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "inline" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "disabled">;
|
|
47
|
+
$attrs: {
|
|
48
|
+
[x: string]: unknown;
|
|
49
|
+
};
|
|
50
|
+
$refs: {
|
|
51
|
+
[x: string]: unknown;
|
|
52
|
+
};
|
|
53
|
+
$slots: Readonly<{
|
|
54
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
55
|
+
}>;
|
|
56
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
57
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
58
|
+
$host: Element | null;
|
|
59
|
+
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
60
|
+
$el: any;
|
|
61
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
62
|
+
readonly model: ObjectConstructor;
|
|
63
|
+
readonly rules: {
|
|
64
|
+
readonly type: import('vue').PropType<Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
65
|
+
readonly required: false;
|
|
66
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
67
|
+
__epPropKey: true;
|
|
68
|
+
};
|
|
69
|
+
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
70
|
+
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
71
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
72
|
+
readonly labelSuffix: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
73
|
+
readonly inline: BooleanConstructor;
|
|
74
|
+
readonly inlineMessage: BooleanConstructor;
|
|
75
|
+
readonly statusIcon: BooleanConstructor;
|
|
76
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
77
|
+
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
78
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
79
|
+
readonly scrollToError: BooleanConstructor;
|
|
80
|
+
readonly scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, true, boolean>;
|
|
81
|
+
readonly size: {
|
|
82
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
83
|
+
readonly required: false;
|
|
84
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
85
|
+
__epPropKey: true;
|
|
86
|
+
};
|
|
87
|
+
readonly disabled: BooleanConstructor;
|
|
88
|
+
}>> & {
|
|
89
|
+
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
92
|
+
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
93
|
+
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
94
|
+
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
95
|
+
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
96
|
+
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
97
|
+
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
98
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
99
|
+
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
100
|
+
}, string, {
|
|
101
|
+
readonly disabled: boolean;
|
|
102
|
+
readonly inline: boolean;
|
|
103
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
104
|
+
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
105
|
+
readonly inlineMessage: boolean;
|
|
106
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
107
|
+
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
108
|
+
readonly labelSuffix: string;
|
|
109
|
+
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
110
|
+
readonly scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
111
|
+
readonly statusIcon: boolean;
|
|
112
|
+
readonly hideRequiredAsterisk: boolean;
|
|
113
|
+
readonly scrollToError: boolean;
|
|
114
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
115
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
116
|
+
created?: (() => void) | (() => void)[];
|
|
117
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
118
|
+
mounted?: (() => void) | (() => void)[];
|
|
119
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
120
|
+
updated?: (() => void) | (() => void)[];
|
|
121
|
+
activated?: (() => void) | (() => void)[];
|
|
122
|
+
deactivated?: (() => void) | (() => void)[];
|
|
123
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
124
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
125
|
+
destroyed?: (() => void) | (() => void)[];
|
|
126
|
+
unmounted?: (() => void) | (() => void)[];
|
|
127
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
128
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
129
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
130
|
+
};
|
|
131
|
+
$forceUpdate: () => void;
|
|
132
|
+
$nextTick: typeof import('vue').nextTick;
|
|
133
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
134
|
+
} & Readonly<{
|
|
135
|
+
readonly disabled: boolean;
|
|
136
|
+
readonly inline: boolean;
|
|
137
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
138
|
+
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
139
|
+
readonly inlineMessage: boolean;
|
|
140
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
141
|
+
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
142
|
+
readonly labelSuffix: string;
|
|
143
|
+
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
144
|
+
readonly scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
145
|
+
readonly statusIcon: boolean;
|
|
146
|
+
readonly hideRequiredAsterisk: boolean;
|
|
147
|
+
readonly scrollToError: boolean;
|
|
148
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
149
|
+
readonly model: ObjectConstructor;
|
|
150
|
+
readonly rules: {
|
|
151
|
+
readonly type: import('vue').PropType<Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
152
|
+
readonly required: false;
|
|
153
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
154
|
+
__epPropKey: true;
|
|
155
|
+
};
|
|
156
|
+
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
157
|
+
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
158
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
159
|
+
readonly labelSuffix: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
160
|
+
readonly inline: BooleanConstructor;
|
|
161
|
+
readonly inlineMessage: BooleanConstructor;
|
|
162
|
+
readonly statusIcon: BooleanConstructor;
|
|
163
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
164
|
+
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
165
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
166
|
+
readonly scrollToError: BooleanConstructor;
|
|
167
|
+
readonly scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, true, boolean>;
|
|
168
|
+
readonly size: {
|
|
169
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
170
|
+
readonly required: false;
|
|
171
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
172
|
+
__epPropKey: true;
|
|
173
|
+
};
|
|
174
|
+
readonly disabled: BooleanConstructor;
|
|
175
|
+
}>> & {
|
|
176
|
+
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
177
|
+
}, "inline" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "disabled" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields"> & import('vue').ShallowUnwrapRef<{
|
|
178
|
+
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
179
|
+
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
180
|
+
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
181
|
+
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
182
|
+
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
183
|
+
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
184
|
+
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
185
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
186
|
+
$slots: {
|
|
187
|
+
default?(_: {}): any;
|
|
188
|
+
};
|
|
189
|
+
}) | null;
|
|
190
|
+
}, any>;
|
|
191
|
+
export default _default;
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { AuthGatewayProps } from './interface';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<AuthGatewayProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
success: (v: any) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<AuthGatewayProps> & Readonly<{
|
|
5
|
+
onSuccess?: ((v: any) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
strictRegister: boolean;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
+
bindOrgDialogRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
10
|
+
onConfirm?: ((v: any) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
open: () => void;
|
|
13
|
+
close: () => void;
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
confirm: (v: any) => any;
|
|
16
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
17
|
+
formRef: ({
|
|
18
|
+
$: import('vue').ComponentInternalInstance;
|
|
19
|
+
$data: {};
|
|
20
|
+
$props: Partial<{
|
|
21
|
+
readonly disabled: boolean;
|
|
22
|
+
readonly inline: boolean;
|
|
23
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
24
|
+
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
25
|
+
readonly inlineMessage: boolean;
|
|
26
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
27
|
+
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
28
|
+
readonly labelSuffix: string;
|
|
29
|
+
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
30
|
+
readonly scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
31
|
+
readonly statusIcon: boolean;
|
|
32
|
+
readonly hideRequiredAsterisk: boolean;
|
|
33
|
+
readonly scrollToError: boolean;
|
|
34
|
+
}> & Omit<{
|
|
35
|
+
readonly inline: boolean;
|
|
36
|
+
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
37
|
+
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
38
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
39
|
+
readonly labelSuffix: string;
|
|
40
|
+
readonly inlineMessage: boolean;
|
|
41
|
+
readonly statusIcon: boolean;
|
|
42
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
43
|
+
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
44
|
+
readonly hideRequiredAsterisk: boolean;
|
|
45
|
+
readonly scrollToError: boolean;
|
|
46
|
+
readonly scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
47
|
+
readonly disabled: boolean;
|
|
48
|
+
readonly model?: Record<string, any> | undefined;
|
|
49
|
+
readonly rules?: Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>> | undefined;
|
|
50
|
+
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
51
|
+
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
52
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "inline" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "disabled">;
|
|
53
|
+
$attrs: {
|
|
54
|
+
[x: string]: unknown;
|
|
55
|
+
};
|
|
56
|
+
$refs: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
};
|
|
59
|
+
$slots: Readonly<{
|
|
60
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
63
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
64
|
+
$host: Element | null;
|
|
65
|
+
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
66
|
+
$el: any;
|
|
67
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
68
|
+
readonly model: ObjectConstructor;
|
|
69
|
+
readonly rules: {
|
|
70
|
+
readonly type: import('vue').PropType<Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
71
|
+
readonly required: false;
|
|
72
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
73
|
+
__epPropKey: true;
|
|
74
|
+
};
|
|
75
|
+
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
76
|
+
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
77
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
78
|
+
readonly labelSuffix: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
79
|
+
readonly inline: BooleanConstructor;
|
|
80
|
+
readonly inlineMessage: BooleanConstructor;
|
|
81
|
+
readonly statusIcon: BooleanConstructor;
|
|
82
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
83
|
+
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
84
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
85
|
+
readonly scrollToError: BooleanConstructor;
|
|
86
|
+
readonly scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, true, boolean>;
|
|
87
|
+
readonly size: {
|
|
88
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
89
|
+
readonly required: false;
|
|
90
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
91
|
+
__epPropKey: true;
|
|
92
|
+
};
|
|
93
|
+
readonly disabled: BooleanConstructor;
|
|
94
|
+
}>> & {
|
|
95
|
+
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
96
|
+
}, {
|
|
97
|
+
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
98
|
+
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
99
|
+
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
100
|
+
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
101
|
+
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
102
|
+
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
103
|
+
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
104
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
105
|
+
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
106
|
+
}, string, {
|
|
107
|
+
readonly disabled: boolean;
|
|
108
|
+
readonly inline: boolean;
|
|
109
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
110
|
+
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
111
|
+
readonly inlineMessage: boolean;
|
|
112
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
113
|
+
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
114
|
+
readonly labelSuffix: string;
|
|
115
|
+
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
116
|
+
readonly scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
117
|
+
readonly statusIcon: boolean;
|
|
118
|
+
readonly hideRequiredAsterisk: boolean;
|
|
119
|
+
readonly scrollToError: boolean;
|
|
120
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
121
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
122
|
+
created?: (() => void) | (() => void)[];
|
|
123
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
124
|
+
mounted?: (() => void) | (() => void)[];
|
|
125
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
126
|
+
updated?: (() => void) | (() => void)[];
|
|
127
|
+
activated?: (() => void) | (() => void)[];
|
|
128
|
+
deactivated?: (() => void) | (() => void)[];
|
|
129
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
130
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
131
|
+
destroyed?: (() => void) | (() => void)[];
|
|
132
|
+
unmounted?: (() => void) | (() => void)[];
|
|
133
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
134
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
135
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
136
|
+
};
|
|
137
|
+
$forceUpdate: () => void;
|
|
138
|
+
$nextTick: typeof import('vue').nextTick;
|
|
139
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
140
|
+
} & Readonly<{
|
|
141
|
+
readonly disabled: boolean;
|
|
142
|
+
readonly inline: boolean;
|
|
143
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
144
|
+
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
145
|
+
readonly inlineMessage: boolean;
|
|
146
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
147
|
+
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
148
|
+
readonly labelSuffix: string;
|
|
149
|
+
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
150
|
+
readonly scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
151
|
+
readonly statusIcon: boolean;
|
|
152
|
+
readonly hideRequiredAsterisk: boolean;
|
|
153
|
+
readonly scrollToError: boolean;
|
|
154
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
155
|
+
readonly model: ObjectConstructor;
|
|
156
|
+
readonly rules: {
|
|
157
|
+
readonly type: import('vue').PropType<Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>>;
|
|
158
|
+
readonly required: false;
|
|
159
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
160
|
+
__epPropKey: true;
|
|
161
|
+
};
|
|
162
|
+
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
163
|
+
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
164
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
165
|
+
readonly labelSuffix: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
166
|
+
readonly inline: BooleanConstructor;
|
|
167
|
+
readonly inlineMessage: BooleanConstructor;
|
|
168
|
+
readonly statusIcon: BooleanConstructor;
|
|
169
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
170
|
+
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
171
|
+
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
172
|
+
readonly scrollToError: BooleanConstructor;
|
|
173
|
+
readonly scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, true, boolean>;
|
|
174
|
+
readonly size: {
|
|
175
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
176
|
+
readonly required: false;
|
|
177
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
|
+
__epPropKey: true;
|
|
179
|
+
};
|
|
180
|
+
readonly disabled: BooleanConstructor;
|
|
181
|
+
}>> & {
|
|
182
|
+
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
183
|
+
}, "inline" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "disabled" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields"> & import('vue').ShallowUnwrapRef<{
|
|
184
|
+
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
185
|
+
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
186
|
+
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
187
|
+
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
188
|
+
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
189
|
+
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
190
|
+
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
191
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
192
|
+
$slots: {
|
|
193
|
+
default?(_: {}): any;
|
|
194
|
+
};
|
|
195
|
+
}) | null;
|
|
196
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
197
|
+
P: {};
|
|
198
|
+
B: {};
|
|
199
|
+
D: {};
|
|
200
|
+
C: {};
|
|
201
|
+
M: {};
|
|
202
|
+
Defaults: {};
|
|
203
|
+
}, Readonly<{}> & Readonly<{
|
|
204
|
+
onConfirm?: ((v: any) => any) | undefined;
|
|
205
|
+
}>, {
|
|
206
|
+
open: () => void;
|
|
207
|
+
close: () => void;
|
|
208
|
+
}, {}, {}, {}, {}> | null;
|
|
209
|
+
}, HTMLDivElement>;
|
|
210
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const TabKey: {
|
|
2
|
+
readonly LOGIN: 0;
|
|
3
|
+
readonly REGISTER: 1;
|
|
4
|
+
readonly WECHAT: 2;
|
|
5
|
+
readonly WECHAT_SCAN: 3;
|
|
6
|
+
};
|
|
7
|
+
export type TabKey = (typeof TabKey)[keyof typeof TabKey];
|
|
8
|
+
export interface AuthGatewayProps {
|
|
9
|
+
config: AuthGatewayConfig;
|
|
10
|
+
strictRegister?: boolean;
|
|
11
|
+
binding: (v: {
|
|
12
|
+
orgName: string;
|
|
13
|
+
name: string;
|
|
14
|
+
code: string;
|
|
15
|
+
}, headers: {
|
|
16
|
+
token: string;
|
|
17
|
+
}) => Promise<any>;
|
|
18
|
+
register: (params: {
|
|
19
|
+
userName: string;
|
|
20
|
+
passwd: string;
|
|
21
|
+
weChatOpenId?: string;
|
|
22
|
+
}) => Promise<any>;
|
|
23
|
+
login: (params: {
|
|
24
|
+
weChatCode?: string;
|
|
25
|
+
userName?: string;
|
|
26
|
+
passwd?: string;
|
|
27
|
+
weChatOpenId?: string;
|
|
28
|
+
}) => Promise<{
|
|
29
|
+
err: number;
|
|
30
|
+
msg: string;
|
|
31
|
+
weChatUserDetail: any;
|
|
32
|
+
} | any>;
|
|
33
|
+
wechatConfig?: {
|
|
34
|
+
appId: string;
|
|
35
|
+
redirectUrl: string;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export interface AuthGatewayConfig {
|
|
39
|
+
title?: string;
|
|
40
|
+
favicon?: string;
|
|
41
|
+
loginBackground?: string;
|
|
42
|
+
skipBind?: "0" | "1";
|
|
43
|
+
hf?: "0" | "1";
|
|
44
|
+
nb?: "0" | "1";
|
|
45
|
+
cf?: string;
|
|
46
|
+
from?: "inline";
|
|
47
|
+
hideWx?: string;
|
|
48
|
+
layout?: "default" | "center" | "left";
|
|
49
|
+
}
|
|
50
|
+
export declare const DEFAULT_CONFIG: AuthGatewayConfig;
|