@bit-sun/business-component 2.3.24 → 2.3.25

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 declare type SiderTheme = 'light' | 'dark';
2
+ export 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 declare type SiderTheme = 'light' | 'dark';
2
+ export 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 declare type SiderTheme = 'light' | 'dark';
4
- export declare type GlobalHeaderRightProps = {
3
+ export type SiderTheme = 'light' | 'dark';
4
+ export 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 declare type SiderTheme = 'light' | 'dark';
4
- export declare type GlobalHeaderRightProps = {
3
+ export type SiderTheme = 'light' | 'dark';
4
+ export 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 declare type BasicLayoutProps = {
5
+ export 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 declare type BasicLayoutContext = {
12
+ export type BasicLayoutContext = {
13
13
  [K in 'location']: BasicLayoutProps[K];
14
14
  } & {
15
15
  breadcrumbNameMap: Record<string, MenuDataItem>;
@@ -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
- declare type tableColumnsImageType = {
49
+ 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
- declare type UserColumnsType = {
55
+ type UserColumnsType = {
56
56
  name: string;
57
57
  department?: string;
58
58
  position?: string;
@@ -1 +1,14 @@
1
1
  export declare const getSelectDataList: (record: any, item: any, selectKey: string) => any;
2
+ export declare const loadSelectSource: (url: string, params?: any) => Promise<unknown>;
3
+ export declare const formatSource: (reData: any, position: number, changePosition: number, changeSearchForm: any, resKeyValue?: string[]) => void;
4
+ export declare const mapSearchTree: (treeDataItem: any, resKeyValue: any) => {
5
+ title: any;
6
+ value: any;
7
+ parentId: any;
8
+ data: any;
9
+ isLeaf: boolean;
10
+ disabled: boolean;
11
+ children: any;
12
+ };
13
+ export declare const formatTreeDataSource: (reData: any, position: number, changePosition: number, changeSearchForm: any, resKeyValue?: string[]) => void;
14
+ export declare const formatFormSourceList: (x: any, loadList: any, tableSearchForm: any) => void;
@@ -1,5 +1,5 @@
1
1
  import type { CascaderProps as ACascaderProps } from 'antd/lib/cascader';
2
- export declare type CascaderSourceItem = {
2
+ export type CascaderSourceItem = {
3
3
  text: any;
4
4
  value: any;
5
5
  };