@admin-layout/client 3.0.0-alpha.111 → 3.0.0-alpha.126

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.
@@ -2,7 +2,7 @@
2
2
  import { MenuTheme, PureSettings } from "../pure-settings";
3
3
  import { MenuDataItem, MessageDescriptor, Route, RouterTypes, WithFalse } from "../typings";
4
4
  import { MenuProps } from "./menu";
5
- export declare type MenuMode = 'vertical' | 'horizontal' | 'inline';
5
+ export type MenuMode = 'vertical' | 'horizontal' | 'inline';
6
6
  export interface BaseMenuProps extends Partial<RouterTypes<Route>>, Omit<MenuProps, 'openKeys' | 'onOpenChange' | 'title'>, Partial<PureSettings> {
7
7
  className?: string;
8
8
  /**
@@ -7,7 +7,7 @@ import { GetPageTitleProps } from './page';
7
7
  import { SiderMenuProps } from './sider-menu';
8
8
  import { ProSettings } from '../pure-settings';
9
9
  import { IPermissionType } from '@adminide-stack/core';
10
- export declare type LocaleType = {
10
+ export type LocaleType = {
11
11
  'zh-CN': {
12
12
  [key: string]: string;
13
13
  };
@@ -21,14 +21,14 @@ export declare type LocaleType = {
21
21
  [key: string]: string;
22
22
  };
23
23
  };
24
- declare type MergerSettingsType<T> = Partial<T> & {
24
+ type MergerSettingsType<T> = Partial<T> & {
25
25
  primaryColor?: string;
26
26
  colorWeak?: boolean;
27
27
  };
28
28
  interface MainHeaderPropsInterface {
29
29
  picture: string;
30
30
  }
31
- export declare type BasicLayoutProps = Partial<RouterTypes<Route>> & SiderMenuProps & HeaderViewProps & {
31
+ export type BasicLayoutProps = Partial<RouterTypes<Route>> & SiderMenuProps & HeaderViewProps & {
32
32
  pure?: boolean;
33
33
  /**
34
34
  *@name logo url
@@ -2,7 +2,7 @@
2
2
  import { PureSettings } from '../pure-settings';
3
3
  import { MenuDataItem, WithFalse } from '../typings';
4
4
  import { PrivateSiderMenuProps, SiderMenuProps } from './sider-menu';
5
- export declare type HeaderViewProps = GlobalHeaderProps & {
5
+ export type HeaderViewProps = GlobalHeaderProps & {
6
6
  isMobile?: boolean;
7
7
  collapsed?: boolean;
8
8
  logo?: React.ReactNode;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { WithFalse } from "../typings";
3
3
  import { BaseMenuProps } from "./base-menu";
4
- export declare type PrivateSiderMenuProps = {
4
+ export type PrivateSiderMenuProps = {
5
5
  matchMenuKeys: string[];
6
6
  };
7
7
  export interface SiderMenuProps extends Pick<BaseMenuProps, Exclude<keyof BaseMenuProps, ['onCollapse']>> {
@@ -21,8 +21,8 @@ export interface SiderMenuProps extends Pick<BaseMenuProps, Exclude<keyof BaseMe
21
21
  onOpenChange?: (openKeys: WithFalse<string[]>) => void;
22
22
  getContainer?: false;
23
23
  }
24
- declare type SiderTheme = 'light' | 'dark';
25
- declare type CollapseType = 'clickTrigger' | 'responsive';
24
+ type SiderTheme = 'light' | 'dark';
25
+ type CollapseType = 'clickTrigger' | 'responsive';
26
26
  export interface SiderProps extends React.HTMLAttributes<HTMLDivElement> {
27
27
  prefixCls?: string;
28
28
  collapsible?: boolean;
@@ -1,5 +1,5 @@
1
- export declare type ContentWidth = 'Fluid' | 'Fixed';
2
- export declare type MenuTheme = 'light' | 'dark';
1
+ export type ContentWidth = 'Fluid' | 'Fixed';
2
+ export type MenuTheme = 'light' | 'dark';
3
3
  export interface RenderSetting {
4
4
  showHeader?: boolean | any;
5
5
  headerRender?: boolean | any;
@@ -75,4 +75,4 @@ export interface PureSettings {
75
75
  splitMenus?: boolean;
76
76
  siderMenuType?: string;
77
77
  }
78
- export declare type ProSettings = PureSettings & RenderSetting;
78
+ export type ProSettings = PureSettings & RenderSetting;
@@ -64,7 +64,7 @@ export interface Route extends MenuDataItem {
64
64
  routes?: Route[];
65
65
  breadcrumbName: string;
66
66
  }
67
- export declare type WithFalse<T> = T | false;
67
+ export type WithFalse<T> = T | false;
68
68
  export interface RouterTypes<P> extends Omit<BasicRouteProps, 'location'> {
69
69
  computedMatch?: match<P>;
70
70
  route?: Route;
@@ -14,7 +14,7 @@ export declare const restoreApplicationError: (payload: ApplicationErrorState[])
14
14
  type: "@platform/RESTORE_APPLICATION_ERRORS";
15
15
  payload: ApplicationErrorState[];
16
16
  };
17
- export declare type ErrorActions = {
17
+ export type ErrorActions = {
18
18
  type: LOG_APPLICATION_ERROR;
19
19
  payload: Omit<ApplicationErrorState, 'date'>;
20
20
  } | {
@@ -1,5 +1,5 @@
1
1
  import { MenuDataItem } from '../interfaces';
2
- export declare type SeparateMenusTypes = {
2
+ export type SeparateMenusTypes = {
3
3
  upperMenus?: MenuDataItem[];
4
4
  middleMenus?: MenuDataItem[];
5
5
  lowerMenus?: MenuDataItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admin-layout/client",
3
- "version": "3.0.0-alpha.111",
3
+ "version": "3.0.0-alpha.126",
4
4
  "description": "Sample client for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -34,5 +34,5 @@
34
34
  "typescript": {
35
35
  "definition": "lib/index.d.ts"
36
36
  },
37
- "gitHead": "72f38df16acb54acc52695cb34ea5fe23fe33199"
37
+ "gitHead": "c9099307b0a3008f28fd74f034428d63e5069b77"
38
38
  }