qlfy-ecological-login 1.0.0 → 1.0.2
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/lib/components/qlfyEcologicalLogin/EditForm.vue.d.ts +11 -0
- package/lib/components/qlfyEcologicalLogin/data.d.ts +3 -0
- package/lib/components/qlfyEcologicalLogin/index.vue.d.ts +2 -0
- package/lib/components/qlfyEcologicalLogin/tools.d.ts +14 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.mjs +2792 -1093
- package/lib/index.mjs.gz +0 -0
- package/lib/index.umd.js +11 -6
- package/lib/index.umd.js.gz +0 -0
- package/lib/package.json +47 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DialogProps } from 'element-plus';
|
|
2
|
+
/** 组件参数管理对象 */
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
dialogConfig: Partial<DialogProps>;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
dialogConfig: Partial<DialogProps>;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
+
formRef: unknown;
|
|
10
|
+
}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Router } from 'vue-router';
|
|
2
|
+
import { DialogProps } from 'element-plus';
|
|
2
3
|
/** 响应式数据对象 */
|
|
3
4
|
export declare class Data {
|
|
4
5
|
}
|
|
@@ -37,6 +38,8 @@ export interface Prop {
|
|
|
37
38
|
tokenValidity?: number;
|
|
38
39
|
/** 租户id */
|
|
39
40
|
tenantId?: number;
|
|
41
|
+
/** 修改密码弹窗自定义设置 */
|
|
42
|
+
dialogConfig?: Partial<DialogProps>;
|
|
40
43
|
}
|
|
41
44
|
export interface Emits {
|
|
42
45
|
(e: 'loggingIn', params: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DialogProps } from 'element-plus';
|
|
1
2
|
import { Prop } from './data';
|
|
2
3
|
import { logout, getToken, getLoginInfo, getUserPermission } from './tools';
|
|
3
4
|
declare const _default: import('vue').DefineComponent<Prop, {
|
|
@@ -30,6 +31,7 @@ declare const _default: import('vue').DefineComponent<Prop, {
|
|
|
30
31
|
[x: string]: any;
|
|
31
32
|
}) => any;
|
|
32
33
|
}>, {
|
|
34
|
+
dialogConfig: Partial<DialogProps>;
|
|
33
35
|
isEnabled: boolean;
|
|
34
36
|
listenToken: boolean;
|
|
35
37
|
redirectPath: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DialogProps } from 'element-plus';
|
|
1
2
|
export declare const componentState: any;
|
|
2
3
|
/** 退出登陆方法 */
|
|
3
4
|
export declare function logout(): any;
|
|
@@ -15,6 +16,18 @@ export declare function getLoginInfo(): any;
|
|
|
15
16
|
* @param {string} redirectUrl 重定向地址
|
|
16
17
|
* @returns {string}
|
|
17
18
|
*/
|
|
18
|
-
export declare function getLoginUrl(loginPageIpAddress: string, clientId: string, clientSecret: string, redirectUrl?: string): string;
|
|
19
|
+
export declare function getLoginUrl(loginPageIpAddress: string, clientId: string, clientSecret: string, tenantId: string, redirectUrl?: string): string;
|
|
19
20
|
export declare function generateUUID(): string;
|
|
20
21
|
export declare function getUserPermission(): any;
|
|
22
|
+
/** ----------------------- 密码弹窗 ---------------------- */
|
|
23
|
+
/** 密码修改弹窗控制 */
|
|
24
|
+
export declare let dialogStatus: {
|
|
25
|
+
isShow: boolean;
|
|
26
|
+
elDialogConfig: {};
|
|
27
|
+
};
|
|
28
|
+
/** 方法 -- 显示密码弹窗 */
|
|
29
|
+
export declare function openChangePassword(): void;
|
|
30
|
+
/** 方法 -- 显示密码弹窗 */
|
|
31
|
+
export declare function closeChangePassword(): void;
|
|
32
|
+
/** 弹窗配置设置方法 */
|
|
33
|
+
export declare function setDialogConfig(config: Partial<DialogProps>): void;
|
package/lib/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare const qlfyEcologicalLogin: import('vue').DefineComponent<import('
|
|
|
29
29
|
[x: string]: any;
|
|
30
30
|
}) => any;
|
|
31
31
|
}>, {
|
|
32
|
+
dialogConfig: Partial<import('element-plus').DialogProps>;
|
|
32
33
|
isEnabled: boolean;
|
|
33
34
|
listenToken: boolean;
|
|
34
35
|
redirectPath: string;
|
|
@@ -41,6 +42,8 @@ export declare const qlfyEcologicalLogin: import('vue').DefineComponent<import('
|
|
|
41
42
|
export type { Prop as qlfyEcologicalLoginProps, Emits } from './components/qlfyEcologicalLogin/data';
|
|
42
43
|
/** 导出工具 */
|
|
43
44
|
export { logout, getToken, getUserPermission } from './components/qlfyEcologicalLogin/tools';
|
|
45
|
+
/** 导出密码弹窗操作方法 */
|
|
46
|
+
export { openChangePassword, closeChangePassword, setDialogConfig } from './components/qlfyEcologicalLogin/tools';
|
|
44
47
|
/** localStorage */
|
|
45
48
|
export * as LocalStorageManager from './components/qlfyEcologicalLogin/LocalStorageManager';
|
|
46
49
|
/** 默认导出install注册方法 */
|