@tuya-sat/sdf-main-sdk 0.2.0 → 0.2.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "main.css": "auto/main.css",
3
3
  "main.js": "auto/main.bundle.js",
4
- "131.b1b46a31.chunk.js": "auto/131.b1b46a31.chunk.js",
4
+ "131.ebd0b9e1.chunk.js": "auto/131.ebd0b9e1.chunk.js",
5
5
  "static/img/reLogin.png": "auto/static/img/294142da390c5af23324.png",
6
6
  "static/img/emptyPage.png": "auto/static/img/daa00e3565343b2c9c18.png",
7
7
  "static/img/expira.png": "auto/static/img/ddf3e1f8ec8350445a4a.png",
@@ -11,5 +11,5 @@
11
11
  "zh.json": "auto/zh.json",
12
12
  "main.css.map": "auto/main.css.map",
13
13
  "main.bundle.js.map": "auto/main.bundle.js.map",
14
- "131.b1b46a31.chunk.js.map": "auto/131.b1b46a31.chunk.js.map"
14
+ "131.ebd0b9e1.chunk.js.map": "auto/131.ebd0b9e1.chunk.js.map"
15
15
  }
@@ -34,8 +34,6 @@ export interface LoginProps {
34
34
  BgSlot?: FC<{
35
35
  bg: string;
36
36
  }>;
37
- ClauseSlot?: FC;
38
- ExtraNavSlot?: FC;
39
37
  };
40
38
  customStyle?: {
41
39
  formStyle?: any;
@@ -1,7 +1,5 @@
1
1
  export declare const gPermissions: () => any;
2
- export declare const isSupportRegister: () => any;
3
2
  export declare const isSupportMobileWithFallback: () => boolean;
4
- export declare const isMultiTenant: () => boolean;
5
3
  export declare const resourcePrefix: (resource: any) => any;
6
4
  export declare const tyLang: string;
7
5
  export declare const permission: (appId: any) => (permissionCode: any) => any;
@@ -19,7 +19,6 @@ export declare const afterLoginHook: ({ search, history, }: {
19
19
  search: string;
20
20
  history: any;
21
21
  }) => void;
22
- export declare const isSupportPhoneRegion: () => boolean;
23
22
  export declare const isSupportMultiLang: () => boolean;
24
23
  export declare const isOpenGt: () => boolean;
25
24
  export declare const isMessageCt: () => boolean;
package/dist/zh.json CHANGED
@@ -165,7 +165,6 @@
165
165
  "forgot.managerRole": "租户管理员账号",
166
166
  "forgot.noAccount": "还没有账号?",
167
167
  "forgot.toRegister": "租户注册",
168
- "forgot.toRegisterNormal": "去注册",
169
168
  "register.form.enterprise.label": "企业/组织名称",
170
169
  "register.form.enterprise.validate.require": "请输入企业/组织名称",
171
170
  "register.form.enterprise.placeholder": "请输入企业/组织名称",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/sdf-main-sdk",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "main": "./dist/main.bundle.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "MIT",
package/webpack.config.js CHANGED
@@ -35,6 +35,12 @@ module.exports = {
35
35
  '@tuya-sat/galaxy': '@tuya-sat/galaxy',
36
36
  axios: 'axios',
37
37
  },
38
+ resolve: {
39
+ extensions: ['.js', '.tsx', '.ts'],
40
+ fallback: {
41
+ url: require.resolve('url/'),
42
+ },
43
+ },
38
44
  plugins: [
39
45
  // new BundleAnalyzerPlugin(),
40
46
  new webpack.ProvidePlugin({