@bit-sun/business-component 2.3.22-beta8 → 2.3.22-beta9
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/common/ENUM.d.ts +40 -0
- package/dist/components/Business/AddSelectBusiness/index.d.ts +4 -0
- package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +5 -0
- package/dist/components/Business/BsLayouts/Components/AllFunc/index.d.ts +4 -0
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +4 -0
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +17 -0
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +30 -0
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +4 -0
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +3 -0
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +4 -0
- package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +5 -0
- package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +3 -0
- package/dist/components/Business/BsLayouts/Components/RightContent/index.d.ts +8 -0
- package/dist/components/Business/BsLayouts/Components/SearchFunc/index.d.ts +8 -0
- package/dist/components/Business/BsLayouts/index.d.ts +18 -0
- package/dist/components/Business/BsLayouts/service.d.ts +1 -0
- package/dist/components/Business/BsLayouts/utils.d.ts +10 -0
- package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +60 -0
- package/dist/components/Business/BsSulaQueryTable/index.d.ts +3 -0
- package/dist/components/Business/BsSulaQueryTable/setting.d.ts +60 -0
- package/dist/components/Business/BsSulaQueryTable/utils.d.ts +99 -0
- package/dist/components/Business/CommodityEntry/index.d.ts +3 -0
- package/dist/components/Business/CommonAlert/index.d.ts +4 -0
- package/dist/components/Business/CommonGuideWrapper/index.d.ts +6 -0
- package/dist/components/Business/DetailPageWrapper/index.d.ts +10 -0
- package/dist/components/Business/DetailPageWrapper/utils.d.ts +8 -0
- package/dist/components/Business/HomePageWrapper/index.d.ts +4 -0
- package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +3 -0
- package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +3 -0
- package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +7 -0
- package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +3 -0
- package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +3 -0
- package/dist/components/Business/JsonQueryTable/function.d.ts +37 -0
- package/dist/components/Business/JsonQueryTable/index.d.ts +4 -0
- package/dist/components/Business/JsonQueryTable/static.d.ts +41 -0
- package/dist/components/Business/SearchSelect/BusinessUtils.d.ts +5 -0
- package/dist/components/Business/SearchSelect/common.d.ts +25 -0
- package/dist/components/Business/SearchSelect/index.d.ts +3 -0
- package/dist/components/Business/SearchSelect/utils.d.ts +5 -0
- package/dist/components/Business/StateFlow/index.d.ts +4 -0
- package/dist/components/Business/TreeSearchSelect/index.d.ts +3 -0
- package/dist/components/Business/TreeSearchSelect/utils.d.ts +4 -0
- package/dist/components/Business/columnSettingTable/columnSetting.d.ts +54 -0
- package/dist/components/Business/columnSettingTable/index.d.ts +16 -0
- package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +17 -0
- package/dist/components/Business/columnSettingTable/utils.d.ts +9 -0
- package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +3 -0
- package/dist/components/Business/moreTreeTable/hooks/useSticky.d.ts +8 -0
- package/dist/components/Business/moreTreeTable/index.d.ts +4 -0
- package/dist/components/Business/moreTreeTable/utils.d.ts +9 -0
- package/dist/components/Functional/AddSelect/helps.d.ts +14 -0
- package/dist/components/Functional/AddSelect/index.d.ts +4 -0
- package/dist/components/Functional/BillEntry/index.d.ts +4 -0
- package/dist/components/Functional/BsAntdSula/BsCascader/index.d.ts +18 -0
- package/dist/components/Functional/BsAntdSula/index.d.ts +1 -0
- package/dist/components/Functional/DataImport/index.d.ts +144 -0
- package/dist/components/Functional/DataValidation/index.d.ts +144 -0
- package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +13 -0
- package/dist/components/Functional/QueryMutipleInput/index.d.ts +6 -0
- package/dist/components/Functional/SearchSelect/index.d.ts +4 -0
- package/dist/components/Functional/SearchSelect/utils.d.ts +1 -0
- package/dist/components/Functional/TreeSearchSelect/index.d.ts +3 -0
- package/dist/components/Solution/RuleComponent/Formula.d.ts +9 -0
- package/dist/components/Solution/RuleComponent/services.d.ts +1 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.esm.js +30790 -0
- package/dist/index.js +30837 -0
- package/dist/plugin/TableColumnSetting/index.d.ts +64 -0
- package/dist/plugin/TableColumnSetting/utils.d.ts +1 -0
- package/dist/utils/CheckOneUser/index.d.ts +2 -0
- package/dist/utils/LocalstorageUtils.d.ts +22 -0
- package/dist/utils/TableUtils.d.ts +11 -0
- package/dist/utils/checkUtils.d.ts +3 -0
- package/dist/utils/enumConfig.d.ts +12 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/requestUtils.d.ts +1 -0
- package/dist/utils/utils.d.ts +23 -0
- package/package.json +1 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface TableColumnSettingProps {
|
|
4
|
+
/** tableCode必填,做用户存储关键key,*/
|
|
5
|
+
tableCode: string;
|
|
6
|
+
/** datasource必填,为要操作的表头(即原始表头),*/
|
|
7
|
+
datasource: any;
|
|
8
|
+
/** showColumns必填,为当前用户设置的表头,*/
|
|
9
|
+
showColumns: any;
|
|
10
|
+
/** setShowColumns必填,设置当前表头的方法,*/
|
|
11
|
+
setShowColumns: void;
|
|
12
|
+
/** settingImgAttribute非必填,设置当前设置img样式,*/
|
|
13
|
+
settingImgAttribute: {
|
|
14
|
+
[propName: string]: any;
|
|
15
|
+
};
|
|
16
|
+
[propName: string]: any;
|
|
17
|
+
}
|
|
18
|
+
declare class TableColumnSetting extends React.Component<TableColumnSettingProps> {
|
|
19
|
+
state: {
|
|
20
|
+
dataSource: never[];
|
|
21
|
+
columns: never[];
|
|
22
|
+
selectedRowKeys: never[];
|
|
23
|
+
sortDataSource: never[];
|
|
24
|
+
setVisible: boolean;
|
|
25
|
+
searchDataSource: boolean;
|
|
26
|
+
onSearchSort: boolean;
|
|
27
|
+
};
|
|
28
|
+
patchUserColumnConfig: (config: any) => void;
|
|
29
|
+
setInitValue: (datasource: any[]) => void;
|
|
30
|
+
componentWillReceiveProps(nextProps: any): void;
|
|
31
|
+
componentDidMount(): void;
|
|
32
|
+
columns: ({
|
|
33
|
+
title: string;
|
|
34
|
+
dataIndex: string;
|
|
35
|
+
className: string;
|
|
36
|
+
width: number;
|
|
37
|
+
render?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
title: string;
|
|
40
|
+
dataIndex: string;
|
|
41
|
+
render: (text: any, record: any) => React.JSX.Element;
|
|
42
|
+
className?: undefined;
|
|
43
|
+
width?: undefined;
|
|
44
|
+
} | {
|
|
45
|
+
title: string;
|
|
46
|
+
dataIndex: string;
|
|
47
|
+
className: string;
|
|
48
|
+
render: () => React.JSX.Element;
|
|
49
|
+
width?: undefined;
|
|
50
|
+
})[];
|
|
51
|
+
showModal: () => void;
|
|
52
|
+
handleOk: (e?: React.MouseEvent<HTMLElement>) => void;
|
|
53
|
+
handleCancel: (e: React.MouseEvent<HTMLElement>) => void;
|
|
54
|
+
handleTableHeadHidden: (title: string) => void;
|
|
55
|
+
onSortEnd: ({ oldIndex, newIndex }: any) => void;
|
|
56
|
+
DraggableContainer: (props: any) => React.JSX.Element;
|
|
57
|
+
DraggableBodyRow: ({ className, style, ...restProps }: any) => React.JSX.Element;
|
|
58
|
+
onChange: (e: any, title: any) => void;
|
|
59
|
+
handleReset: () => void;
|
|
60
|
+
onSearch: (e: any) => void;
|
|
61
|
+
onSearchSort: (e: any) => void;
|
|
62
|
+
render(): React.JSX.Element;
|
|
63
|
+
}
|
|
64
|
+
export default TableColumnSetting;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setInitialShowColumn: (tableCode: string, columns: any[], callback: any) => void;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const setConfigTableColumns: (configvalue: any, tableCode: string) => void;
|
|
2
|
+
export declare const getConfigTableColumns: (tableCode: string) => any;
|
|
3
|
+
export declare const saveTenantList: (data: any) => void;
|
|
4
|
+
export declare const getTenantList: () => any;
|
|
5
|
+
export declare const removeTenantList: () => void;
|
|
6
|
+
export declare const saveCurrentTenantId: (item: string) => void;
|
|
7
|
+
export declare const getCurrentTenantId: () => string | 1;
|
|
8
|
+
export declare const removeCurrentTenantId: () => void;
|
|
9
|
+
export declare function getEmployeeId(): any;
|
|
10
|
+
export declare function getEmployeeCode(): any;
|
|
11
|
+
export declare function getSessionId(): any;
|
|
12
|
+
export declare function getEekaSessionId(): any;
|
|
13
|
+
export declare function getEekaAccountId(): any;
|
|
14
|
+
export declare function getEekaEmployeeId(): any;
|
|
15
|
+
export declare function getEekaTenantId(): any;
|
|
16
|
+
export declare function getEekaToken(): any;
|
|
17
|
+
export declare function getAccountId(): any;
|
|
18
|
+
export declare function getUserId(): any;
|
|
19
|
+
export declare function getAccountID(): any;
|
|
20
|
+
export declare function getUserName(): any;
|
|
21
|
+
export declare function handleUserPhone(): any;
|
|
22
|
+
export declare function getCurrentTargetBgId(): string | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
BROWSER_CACHE: {
|
|
3
|
+
COLUMN_CONDITION: string;
|
|
4
|
+
MAIN_AUTH_CODES: string;
|
|
5
|
+
LIMIT_MENU_DATA: string;
|
|
6
|
+
USER_INFO: string;
|
|
7
|
+
DICT_CODES: string;
|
|
8
|
+
CHILD_APP_BACK: string;
|
|
9
|
+
SEARCH_FIELDS_CONDITION: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function handleRequestAuthHeader(config?: any): void;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare function downloadExcel(data: any, fileName?: any, isResUrl?: boolean): void;
|
|
2
|
+
export declare const formatter: (data: any, parentAuthority: any, parentName: any) => any;
|
|
3
|
+
export declare const memoizeOneFormatter: any;
|
|
4
|
+
export declare const go2BackAndClose: () => void;
|
|
5
|
+
/**
|
|
6
|
+
* 处理bssulaTable的公共回显样式
|
|
7
|
+
* @param col 每一具体行
|
|
8
|
+
*/
|
|
9
|
+
export declare const handleBssulaColumnsSpecialParams: (col: any) => void;
|
|
10
|
+
/**
|
|
11
|
+
* 处理antdTable的公共回显样式
|
|
12
|
+
* @param col 每一具体行
|
|
13
|
+
*/
|
|
14
|
+
export declare const handleAntdColumnsSpecialParams: (col: any) => void;
|
|
15
|
+
export declare const getDictionarySource: (dicCode: string, needConvertInterger?: boolean) => any;
|
|
16
|
+
export declare function uuid(): string;
|
|
17
|
+
export declare const judgeIsEmpty: (value: any) => boolean;
|
|
18
|
+
/**
|
|
19
|
+
* 处理错误请求
|
|
20
|
+
* @param {*} response 返回结果
|
|
21
|
+
* @param {*} needBackError 是否需要将错误回传到页面单独处理
|
|
22
|
+
*/
|
|
23
|
+
export declare function handleError(response: object, needBackError?: boolean): boolean;
|