@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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "main.css": "auto/main.css",
3
3
  "main.js": "auto/main.bundle.js",
4
- "364.27a84dfb.chunk.js": "auto/364.27a84dfb.chunk.js",
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.27a84dfb.chunk.js.map": "auto/364.27a84dfb.chunk.js.map"
23
+ "364.c9671b0d.chunk.js.map": "auto/364.c9671b0d.chunk.js.map"
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/sdf-main-sdk",
3
- "version": "2.0.0-smartHome-alpha.4",
3
+ "version": "2.0.0-smartHome-alpha.5",
4
4
  "main": "./dist/main.bundle.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "MIT",
@@ -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,6 +0,0 @@
1
- declare const LoginForm: ({ hooks, extra, customStyle }: {
2
- hooks: any;
3
- extra: any;
4
- customStyle: any;
5
- }) => JSX.Element;
6
- export default LoginForm;
@@ -1,2 +0,0 @@
1
- declare const LogoutSvg: () => JSX.Element;
2
- export default LogoutSvg;
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- export declare const AvatarSvg: (props: {
3
- className?: string;
4
- }) => JSX.Element;
5
- export default function UserAvatar(props: {
6
- avatar?: string;
7
- style?: React.CSSProperties;
8
- showBadge?: boolean;
9
- }): JSX.Element;
@@ -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;