@bit-sun/business-component 2.3.24-alpha.2 → 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.
- package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/AllFunc/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/RightContent/index.d.ts +2 -2
- package/dist/components/Business/BsLayouts/Components/SearchFunc/index.d.ts +2 -2
- package/dist/components/Business/BsLayouts/index.d.ts +2 -2
- package/dist/components/Business/BsSulaQueryTable/utils.d.ts +2 -2
- package/dist/components/Functional/AddSelect/helps.d.ts +13 -0
- package/dist/components/Functional/BsAntdSula/BsCascader/index.d.ts +1 -1
- package/dist/index.esm.js +607 -455
- package/dist/index.js +613 -461
- package/dist/utils/TableUtils.d.ts +2 -2
- package/package.json +1 -1
- package/src/components/Business/AddSelectBusiness/index.tsx +352 -187
- package/src/components/Business/BsSulaQueryTable/utils.tsx +31 -29
- package/src/components/Business/DetailPageWrapper/index.tsx +0 -1
- package/src/components/Business/JsonQueryTable/static.ts +5 -5
- package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +1 -1
- package/src/components/Business/columnSettingTable/utils.tsx +28 -26
- package/src/components/Functional/AddSelect/helps.ts +65 -0
- package/src/components/Functional/AddSelect/index.tsx +12 -124
- package/src/components/Functional/SearchSelect/index.tsx +3 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './home.less';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
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
|
|
4
|
-
export
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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;
|