@tuya-sat/sdf-main-sdk 2.0.0-smartHome-alpha.4 → 2.0.0-smartHome-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{364.27a84dfb.chunk.js → 364.c9671b0d.chunk.js} +1 -1
- package/dist/{364.27a84dfb.chunk.js.map → 364.c9671b0d.chunk.js.map} +1 -1
- package/dist/main.bundle.js +1 -1
- package/dist/main.bundle.js.map +1 -1
- package/dist/manifest.json +2 -2
- package/package.json +1 -1
- package/dist/components/smartHome/CLogin/component/qrLogin.d.ts +0 -17
- package/dist/components/smartHome/CLogin/index.d.ts +0 -6
- package/dist/components/smartHome/UserAccount/LogoutSvg.d.ts +0 -2
- package/dist/components/smartHome/UserAccount/UserAvatar.d.ts +0 -9
- package/dist/components/smartHome/UserAccount/index.d.ts +0 -16
package/dist/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main.css": "auto/main.css",
|
|
3
3
|
"main.js": "auto/main.bundle.js",
|
|
4
|
-
"364.
|
|
4
|
+
"364.c9671b0d.chunk.js": "auto/364.c9671b0d.chunk.js",
|
|
5
5
|
"static/img/login3.png": "auto/static/img/dd06d35d98047203e715.png",
|
|
6
6
|
"static/img/reLogin.png": "auto/static/img/294142da390c5af23324.png",
|
|
7
7
|
"static/img/login2.png": "auto/static/img/47a523d0027c7b5af83f.png",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"static/img/img1-dark.png": "auto/static/img/72dd80e82e7a8baf135c.png",
|
|
21
21
|
"main.css.map": "auto/main.css.map",
|
|
22
22
|
"main.bundle.js.map": "auto/main.bundle.js.map",
|
|
23
|
-
"364.
|
|
23
|
+
"364.c9671b0d.chunk.js.map": "auto/364.c9671b0d.chunk.js.map"
|
|
24
24
|
}
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface QrLoginProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
style?: React.CSSProperties;
|
|
5
|
-
size?: number;
|
|
6
|
-
afterLogin?(params: {
|
|
7
|
-
ticket: string;
|
|
8
|
-
saas_host: string;
|
|
9
|
-
}): void;
|
|
10
|
-
}
|
|
11
|
-
export declare enum EQrCodeStatus {
|
|
12
|
-
NEW = "NEW",
|
|
13
|
-
EXPIRED = "EXPIRED",
|
|
14
|
-
CONFIRMED = "CONFIRMED"
|
|
15
|
-
}
|
|
16
|
-
declare const QrLogin: React.FC<QrLoginProps>;
|
|
17
|
-
export default QrLogin;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { PopoverProps } from "antd";
|
|
3
|
-
interface UserInfo {
|
|
4
|
-
userName: string;
|
|
5
|
-
roles: any[];
|
|
6
|
-
}
|
|
7
|
-
interface UserAccountProps extends PopoverProps {
|
|
8
|
-
className?: string;
|
|
9
|
-
style?: React.CSSProperties;
|
|
10
|
-
avatar?: string;
|
|
11
|
-
avatarStyle?: React.CSSProperties;
|
|
12
|
-
renderTxt?(user: UserInfo): React.ReactNode;
|
|
13
|
-
renderContent?(user: UserInfo): React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
declare const UserAccount: React.FC<UserAccountProps>;
|
|
16
|
-
export default UserAccount;
|