@bit-sun/business-component 2.2.41 → 2.2.43

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,4 +1,4 @@
1
1
  import './index.less';
2
- export type SiderTheme = 'light' | 'dark';
2
+ export declare type SiderTheme = 'light' | 'dark';
3
3
  declare const DrawContent: ({ onClose, itemPath }: any) => JSX.Element;
4
4
  export default DrawContent;
@@ -1,4 +1,4 @@
1
1
  import './index.less';
2
- export type SiderTheme = 'light' | 'dark';
2
+ export declare type SiderTheme = 'light' | 'dark';
3
3
  declare const AllFunc: any;
4
4
  export default AllFunc;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import './home.less';
3
- export type SiderTheme = 'light' | 'dark';
4
- export type GlobalHeaderRightProps = {
3
+ export declare type SiderTheme = 'light' | 'dark';
4
+ export declare type GlobalHeaderRightProps = {
5
5
  menu?: boolean;
6
6
  };
7
7
  declare const GlobalHeaderRight: React.FC<GlobalHeaderRightProps>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import './index.less';
3
- export type SiderTheme = 'light' | 'dark';
4
- export type GlobalHeaderRightProps = {
3
+ export declare type SiderTheme = 'light' | 'dark';
4
+ export declare type GlobalHeaderRightProps = {
5
5
  menu?: boolean;
6
6
  };
7
7
  declare const AllFunc: React.FC<GlobalHeaderRightProps>;
@@ -2,14 +2,14 @@ import type { MenuDataItem, BasicLayoutProps as ProLayoutProps, Settings } from
2
2
  import React from 'react';
3
3
  import './index.less';
4
4
  export declare const RouterContext: React.Context<{}>;
5
- export type BasicLayoutProps = {
5
+ export declare type BasicLayoutProps = {
6
6
  breadcrumbNameMap: Record<string, MenuDataItem>;
7
7
  route: ProLayoutProps['route'] & {
8
8
  authority: string[];
9
9
  };
10
10
  settings: Settings;
11
11
  } & ProLayoutProps;
12
- export type BasicLayoutContext = {
12
+ export declare type BasicLayoutContext = {
13
13
  [K in 'location']: BasicLayoutProps[K];
14
14
  } & {
15
15
  breadcrumbNameMap: Record<string, MenuDataItem>;
@@ -52,6 +52,7 @@ declare class SearchItemTable extends React.Component {
52
52
  }) => JSX.Element;
53
53
  onChange: (e: CheckboxChangeEvent, label: any) => void;
54
54
  handleReset: () => void;
55
+ handleResetSetting: () => void;
55
56
  onSearch: (e: any) => void;
56
57
  onSearchSort: (e: any) => void;
57
58
  render(): JSX.Element;
@@ -52,6 +52,7 @@ declare class SortableTable extends React.Component {
52
52
  }) => JSX.Element;
53
53
  onChange: (e: CheckboxChangeEvent, title: any) => void;
54
54
  handleReset: () => void;
55
+ handleResetSetting: () => void;
55
56
  onSearch: (e: any) => void;
56
57
  onSearchSort: (e: any) => void;
57
58
  render(): JSX.Element;
@@ -46,13 +46,13 @@ export declare const handleTextLineFeed: (text: string | undefined, width?: numb
46
46
  export declare const handleTextOverflow: (text: string | undefined, width?: number) => JSX.Element;
47
47
  export declare const handleTooltip: (text: any, timeTrue?: boolean) => JSX.Element;
48
48
  export declare const handleTooltipHours: (text: any, timeTrue?: boolean) => JSX.Element;
49
- type tableColumnsImageType = {
49
+ declare type tableColumnsImageType = {
50
50
  width?: number | string;
51
51
  height?: number | string;
52
52
  [key: string]: any;
53
53
  };
54
54
  export declare const tableColumnsImage: (url?: string, paramsObj?: tableColumnsImageType) => JSX.Element;
55
- type UserColumnsType = {
55
+ declare type UserColumnsType = {
56
56
  name: string;
57
57
  department?: string;
58
58
  position?: string;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;