@tuya-sat/sdf-main-sdk 0.0.97 → 0.0.98

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,6 +1,7 @@
1
1
  export declare enum MenuType {
2
2
  GROUP = "group",
3
- NORMAL = "normal"
3
+ NORMAL = "normal",
4
+ MIX = "mix"
4
5
  }
5
6
  export interface IMenu {
6
7
  entry_id: string;
@@ -8,7 +8,6 @@ export declare const useSaasInfo: () => {
8
8
  appIds: any[];
9
9
  saasIdInfoList: any[];
10
10
  };
11
- export declare const use403: (authAppIds: any) => void;
12
11
  export declare const usePrevious: <T>(value: T) => T;
13
12
  export declare const useQuery: () => URLSearchParams;
14
13
  export declare const useHideNav: () => {
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import './index.css';
2
- import './public-path.js';
3
- import { FC } from 'react';
4
- export { api, URLS } from './api';
5
- export { useYRule } from '@/utils/yrule';
1
+ import "./index.css";
2
+ import "./public-path.js";
3
+ import { FC } from "react";
4
+ export { api, URLS } from "./api";
5
+ export { useYRule } from "@/utils/yrule";
6
6
  export interface IHooks {
7
7
  /**
8
8
  * 功能:SaaS 页面渲染前钩子,主应用生命周期中最早的钩子
@@ -30,16 +30,16 @@ export interface IHooks {
30
30
  unLoginSaaSHook?: (saas: any) => void;
31
31
  loginApiHook?: () => void;
32
32
  }
33
- export type { LoginProps } from './pages/login';
34
- export { default as LoginPage } from './pages/login';
35
- export { default as ForgetPage } from './pages/forgot';
36
- export { default as RegisterPage } from './pages/register';
37
- export { default as SettingPage } from './pages/home/setting';
38
- export { default as MBdb, IBdbInfo } from './components/MicroComponent/Header';
39
- export type { IMenus } from './components/BLayout/components/Layout';
40
- export { MMenu } from './components/BLayout/components/Layout';
41
- export type { Dmenus } from './components/BLayout/components/Header';
42
- export { default as MNav } from './components/BLayout/components/Header';
33
+ export type { LoginProps } from "./pages/login";
34
+ export { default as LoginPage } from "./pages/login";
35
+ export { default as ForgetPage } from "./pages/forgot";
36
+ export { default as RegisterPage } from "./pages/register";
37
+ export { default as SettingPage } from "./pages/home/setting";
38
+ export { default as MBdb, IBdbInfo } from "./components/MicroComponent/Header";
39
+ export type { IMenus } from "./components/BLayout/components/Layout";
40
+ export { MMenu } from "./components/BLayout/components/Layout";
41
+ export type { Dmenus } from "./components/BLayout/components/Header";
42
+ export { default as MNav } from "./components/BLayout/components/Header";
43
43
  interface IPages {
44
44
  Login: FC;
45
45
  Forget: FC;
@@ -12,6 +12,14 @@ export declare const oemSaasAy: () => {
12
12
  privacy_policy: any;
13
13
  service_terms: any;
14
14
  hostFiling: any;
15
+ } | {
16
+ background_image: any;
17
+ logo: any;
18
+ title: any;
19
+ legal_notice: any;
20
+ privacy_policy: any;
21
+ service_terms: any;
22
+ hostFiling?: undefined;
15
23
  };
16
24
  export declare const dynamicHeaderMenu: () => any;
17
25
  export declare const getMenus: (entry_info: any) => any;