@bit-sun/business-component 2.3.22 → 2.3.23-beta02
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 +44 -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/InnerSelect.d.ts +12 -0
- package/dist/components/Solution/RuleComponent/services.d.ts +1 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.esm.js +31367 -0
- package/dist/index.js +31415 -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/CustomLoginInfo.d.ts +11 -0
- package/dist/utils/LocalstorageUtils.d.ts +17 -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 +29 -0
- package/dist/utils/utils.d.ts +17 -0
- package/dist 2/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +4 -0
- package/dist 2/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +4 -0
- package/dist 2/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +3 -0
- package/package.json +3 -2
- package/src/components/Business/AddSelectBusiness/index.tsx +3 -2
- package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +9 -7
- package/src/components/Business/BsSulaQueryTable/index.tsx +11 -8
- package/src/components/Business/BsSulaQueryTable/setting.tsx +7 -5
- package/src/components/Business/JsonQueryTable/components/Formula.tsx +3 -2
- package/src/components/Business/JsonQueryTable/index.tsx +8 -6
- package/src/components/Business/JsonQueryTable/static.ts +60 -0
- package/src/components/Business/SearchSelect/BusinessUtils.ts +74 -0
- package/src/components/Business/SearchSelect/index.md +58 -0
- package/src/components/Business/SearchSelect/utils.ts +3 -2
- package/src/components/Business/TreeSearchSelect/index.md +29 -0
- package/src/components/Business/TreeSearchSelect/utils.ts +29 -0
- package/src/components/Business/columnSettingTable/columnSetting.tsx +5 -4
- package/src/components/Business/columnSettingTable/index.tsx +3 -2
- package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +3 -2
- package/src/components/Functional/AddSelect/helps.ts +2 -1
- package/src/components/Functional/AddSelect/index.tsx +3 -2
- package/src/components/Functional/BillEntry/index.tsx +3 -2
- package/src/components/Functional/DataImport/index.tsx +2 -1
- package/src/components/Functional/DataValidation/index.tsx +2 -1
- package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +2 -1
- package/src/components/Functional/SearchSelect/index.tsx +18 -12
- package/src/components/Functional/TreeSearchSelect/index.tsx +7 -5
- package/src/components/Solution/RuleComponent/InnerSelect.tsx +62 -0
- package/src/components/Solution/RuleComponent/index.js +59 -18
- package/src/components/Solution/RuleComponent/ruleFiled.js +202 -28
- package/src/components/Solution/RuleComponent/util.js +4 -0
- package/src/plugin/TableColumnSetting/index.tsx +4 -3
- package/src/utils/CustomLoginInfo.ts +55 -0
- package/src/utils/requestUtils.ts +139 -7
- package/src/utils/utils.ts +0 -21
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface SortTableProps {
|
|
4
|
+
[propName: string]: any;
|
|
5
|
+
}
|
|
6
|
+
declare class SortableTable extends React.Component<SortTableProps> {
|
|
7
|
+
state: {
|
|
8
|
+
dataSource: never[];
|
|
9
|
+
columns: never[];
|
|
10
|
+
selectedRowKeys: never[];
|
|
11
|
+
sortDataSource: never[];
|
|
12
|
+
setVisible: boolean;
|
|
13
|
+
searchDataSource: boolean;
|
|
14
|
+
onSearchSort: boolean;
|
|
15
|
+
};
|
|
16
|
+
patchUserColumnConfig: (config: any) => void;
|
|
17
|
+
patchConfigToLocalstorage: (configvalue: any, tableCode: string) => void;
|
|
18
|
+
setInitValue: (datasource: any[]) => void;
|
|
19
|
+
componentWillReceiveProps(nextProps: any): void;
|
|
20
|
+
componentDidMount(): void;
|
|
21
|
+
columns: ({
|
|
22
|
+
title: string;
|
|
23
|
+
dataIndex: string;
|
|
24
|
+
className: string;
|
|
25
|
+
width: number;
|
|
26
|
+
render?: undefined;
|
|
27
|
+
} | {
|
|
28
|
+
title: string;
|
|
29
|
+
dataIndex: string;
|
|
30
|
+
render: (text: any, record: any) => React.JSX.Element;
|
|
31
|
+
className?: undefined;
|
|
32
|
+
width?: undefined;
|
|
33
|
+
} | {
|
|
34
|
+
title: string;
|
|
35
|
+
dataIndex: string;
|
|
36
|
+
className: string;
|
|
37
|
+
render: () => React.JSX.Element;
|
|
38
|
+
width?: undefined;
|
|
39
|
+
})[];
|
|
40
|
+
showModal: () => void;
|
|
41
|
+
handleOk: (e?: React.MouseEvent<HTMLElement>) => void;
|
|
42
|
+
handleCancel: (e: React.MouseEvent<HTMLElement>) => void;
|
|
43
|
+
handleTableHeadHidden: (title: string) => void;
|
|
44
|
+
onSortEnd: ({ oldIndex, newIndex }: any) => void;
|
|
45
|
+
DraggableContainer: (props: any) => React.JSX.Element;
|
|
46
|
+
DraggableBodyRow: ({ className, style, ...restProps }: any) => React.JSX.Element;
|
|
47
|
+
onChange: (e: any, title: any) => void;
|
|
48
|
+
handleReset: () => void;
|
|
49
|
+
onSearch: (e: any) => void;
|
|
50
|
+
onSearchSort: (e: any) => void;
|
|
51
|
+
getConfigFromlocalstorage: () => any;
|
|
52
|
+
render(): React.JSX.Element;
|
|
53
|
+
}
|
|
54
|
+
export default SortableTable;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default class ColumnSettingTable extends React.Component {
|
|
3
|
+
state: any;
|
|
4
|
+
constructor(props: any);
|
|
5
|
+
componentDidMount(): void;
|
|
6
|
+
componentWillReceiveProps(nextProps: any): void;
|
|
7
|
+
setInitialShowColumn: (columns: any[]) => void;
|
|
8
|
+
setShowColumns: (newColumns: Array<any>) => void;
|
|
9
|
+
getConfigFromlocalstorage: () => any;
|
|
10
|
+
getTableSummaryInfo: () => () => any;
|
|
11
|
+
handledynamicColumns: (col: any[]) => any[];
|
|
12
|
+
handleResize: (index: any) => (_: any, { size }: any) => void;
|
|
13
|
+
ResizeableTitle: (props: any) => React.JSX.Element;
|
|
14
|
+
getTableScrollXWidth: (cols: any[]) => any;
|
|
15
|
+
render(): React.JSX.Element;
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default class ColumnSettingSulaTable extends React.Component {
|
|
3
|
+
sulaTableRef: React.RefObject<unknown>;
|
|
4
|
+
state: any;
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
componentDidMount(): void;
|
|
7
|
+
componentWillReceiveProps(nextProps: any): void;
|
|
8
|
+
setInitialShowColumn: (columns: any[]) => void;
|
|
9
|
+
setShowColumns: (newColumns: Array<any>) => void;
|
|
10
|
+
getConfigFromlocalstorage: () => any;
|
|
11
|
+
getTableSummaryInfo: () => () => any;
|
|
12
|
+
handledynamicColumns: (col: any[]) => any[];
|
|
13
|
+
handleResize: (index: any) => (_: any, { size }: any) => void;
|
|
14
|
+
ResizeableTitle: (props: any) => React.JSX.Element;
|
|
15
|
+
getTableScrollXWidth: (cols: any[]) => any;
|
|
16
|
+
render(): React.JSX.Element;
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 非空数组
|
|
4
|
+
* @param arr 要判断的数据
|
|
5
|
+
* @returns boolean
|
|
6
|
+
*/
|
|
7
|
+
export declare const noEmptyArray: (arr: any[]) => boolean;
|
|
8
|
+
export declare const getItemDefaultWidth: (item: any) => number;
|
|
9
|
+
export declare const handleTextOverflow: (text: string | undefined, width?: number) => React.JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const getAllColumns: (columns: any) => any[];
|
|
2
|
+
export declare const convertToRows: (originColumns: any) => {
|
|
3
|
+
colHeader: any[];
|
|
4
|
+
colLastData: any[];
|
|
5
|
+
};
|
|
6
|
+
export declare const headersToRows: (originColumns: any) => {
|
|
7
|
+
rowHeader: never[][];
|
|
8
|
+
rowLastData: any[];
|
|
9
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CascaderProps as ACascaderProps } from 'antd/lib/cascader';
|
|
2
|
+
export type CascaderSourceItem = {
|
|
3
|
+
text: any;
|
|
4
|
+
value: any;
|
|
5
|
+
};
|
|
6
|
+
export interface CascaderSource {
|
|
7
|
+
text: any;
|
|
8
|
+
value: any;
|
|
9
|
+
children: CascaderSourceItem[];
|
|
10
|
+
}
|
|
11
|
+
export interface CascaderProps extends ACascaderProps {
|
|
12
|
+
source: CascaderSource[];
|
|
13
|
+
}
|
|
14
|
+
declare const BsCascader: ({ source, onChange, value, disabled, needNameAndCode, onlyCode, requiredLength, isAll, notChangeOnSelect, isFirstOnly, initRequestSource, style, }: {
|
|
15
|
+
source: any;
|
|
16
|
+
onChange: Function;
|
|
17
|
+
}) => any;
|
|
18
|
+
export default BsCascader;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BsCascader } from './BsCascader';
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
declare class DataImport extends React.Component {
|
|
4
|
+
constructor(props: any);
|
|
5
|
+
onDragEnd(result: any): void;
|
|
6
|
+
getCount: () => {
|
|
7
|
+
total: any;
|
|
8
|
+
error: any;
|
|
9
|
+
};
|
|
10
|
+
setConfig: (data: any) => {
|
|
11
|
+
container: string;
|
|
12
|
+
showtoolbar: boolean;
|
|
13
|
+
hook: {
|
|
14
|
+
columnTitleCellRenderBefore: (columnAbc: any, postion: any, ctx: any) => void;
|
|
15
|
+
cellRenderBefore: (cell: any, postion: any, sheetFile: any, ctx: any) => void;
|
|
16
|
+
cellAllRenderBefore: (data: any, sheetFile: any, ctx: any) => void;
|
|
17
|
+
};
|
|
18
|
+
data: {
|
|
19
|
+
name: string;
|
|
20
|
+
color: string;
|
|
21
|
+
index: number;
|
|
22
|
+
status: number;
|
|
23
|
+
order: number;
|
|
24
|
+
hide: number;
|
|
25
|
+
row: number;
|
|
26
|
+
column: number;
|
|
27
|
+
defaultRowHeight: number;
|
|
28
|
+
defaultColWidth: number;
|
|
29
|
+
config: {};
|
|
30
|
+
celldata: any;
|
|
31
|
+
scrollLeft: number;
|
|
32
|
+
luckysheet_select_save: never[];
|
|
33
|
+
calcChain: never[];
|
|
34
|
+
isPivotTable: boolean;
|
|
35
|
+
pivotTable: {};
|
|
36
|
+
filter_select: {};
|
|
37
|
+
filter: null;
|
|
38
|
+
luckysheet_alternateformat_save: {
|
|
39
|
+
cellrange: {
|
|
40
|
+
row: number[];
|
|
41
|
+
column: number[];
|
|
42
|
+
};
|
|
43
|
+
format: {
|
|
44
|
+
head: {
|
|
45
|
+
fc: string;
|
|
46
|
+
bc: string;
|
|
47
|
+
};
|
|
48
|
+
one: {
|
|
49
|
+
bc: string;
|
|
50
|
+
};
|
|
51
|
+
two: {
|
|
52
|
+
bc: string;
|
|
53
|
+
};
|
|
54
|
+
foot: {
|
|
55
|
+
fc: string;
|
|
56
|
+
bc: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
hasRowHeader: boolean;
|
|
60
|
+
hasRowFooter: boolean;
|
|
61
|
+
}[];
|
|
62
|
+
luckysheet_alternateformat_save_modelCustom: {
|
|
63
|
+
head: {
|
|
64
|
+
fc: string;
|
|
65
|
+
bc: string;
|
|
66
|
+
};
|
|
67
|
+
one: {
|
|
68
|
+
fc: string;
|
|
69
|
+
bc: string;
|
|
70
|
+
};
|
|
71
|
+
two: {
|
|
72
|
+
fc: string;
|
|
73
|
+
bc: string;
|
|
74
|
+
};
|
|
75
|
+
foot: {
|
|
76
|
+
fc: string;
|
|
77
|
+
bc: string;
|
|
78
|
+
};
|
|
79
|
+
}[];
|
|
80
|
+
luckysheet_conditionformat_save: {};
|
|
81
|
+
frozen: {};
|
|
82
|
+
chart: never[];
|
|
83
|
+
zoomRatio: number;
|
|
84
|
+
image: never[];
|
|
85
|
+
showGridLines: number;
|
|
86
|
+
dataVerification: {};
|
|
87
|
+
}[];
|
|
88
|
+
cellRightClickConfig: {
|
|
89
|
+
copy: boolean;
|
|
90
|
+
copyAs: boolean;
|
|
91
|
+
paste: boolean;
|
|
92
|
+
insertRow: boolean;
|
|
93
|
+
insertColumn: boolean;
|
|
94
|
+
deleteCell: boolean;
|
|
95
|
+
hideRow: boolean;
|
|
96
|
+
hideColumn: boolean;
|
|
97
|
+
rowHeight: boolean;
|
|
98
|
+
columnWidth: boolean;
|
|
99
|
+
clear: boolean;
|
|
100
|
+
matrix: boolean;
|
|
101
|
+
sort: boolean;
|
|
102
|
+
filter: boolean;
|
|
103
|
+
chart: boolean;
|
|
104
|
+
image: boolean;
|
|
105
|
+
link: boolean;
|
|
106
|
+
data: boolean;
|
|
107
|
+
cellFormat: boolean;
|
|
108
|
+
};
|
|
109
|
+
showsheetbar: boolean;
|
|
110
|
+
optionstate: boolean;
|
|
111
|
+
showstatisticBarConfig: {
|
|
112
|
+
count: boolean;
|
|
113
|
+
view: boolean;
|
|
114
|
+
zoom: boolean;
|
|
115
|
+
};
|
|
116
|
+
column: number;
|
|
117
|
+
columnHeaderHeight: number;
|
|
118
|
+
lang: string;
|
|
119
|
+
defaultFontSize: string;
|
|
120
|
+
frozen: {
|
|
121
|
+
type: string;
|
|
122
|
+
range: {
|
|
123
|
+
row_focus: number;
|
|
124
|
+
column_focus: number;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
componentDidMount(): void;
|
|
129
|
+
componentWillUnmount(): void;
|
|
130
|
+
getValidateData: () => {
|
|
131
|
+
successData: any;
|
|
132
|
+
failData: any;
|
|
133
|
+
};
|
|
134
|
+
getData: () => any;
|
|
135
|
+
resetData: () => void;
|
|
136
|
+
filterData: (type: string) => void;
|
|
137
|
+
toggleData: () => void;
|
|
138
|
+
onChange: (e: any) => void;
|
|
139
|
+
errorChange: (e: any) => void;
|
|
140
|
+
menuList: React.JSX.Element;
|
|
141
|
+
leftMenu: React.JSX.Element;
|
|
142
|
+
render(): React.JSX.Element;
|
|
143
|
+
}
|
|
144
|
+
export default DataImport;
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
declare class DataValidation extends React.Component {
|
|
4
|
+
constructor(props: any);
|
|
5
|
+
onDragEnd(result: any): void;
|
|
6
|
+
getCount: () => {
|
|
7
|
+
total: any;
|
|
8
|
+
error: any;
|
|
9
|
+
};
|
|
10
|
+
setConfig: (data: any) => {
|
|
11
|
+
container: string;
|
|
12
|
+
showtoolbar: boolean;
|
|
13
|
+
hook: {
|
|
14
|
+
columnTitleCellRenderBefore: (columnAbc: any, postion: any, ctx: any) => void;
|
|
15
|
+
cellRenderBefore: (cell: any, postion: any, sheetFile: any, ctx: any) => void;
|
|
16
|
+
cellAllRenderBefore: (data: any, sheetFile: any, ctx: any) => void;
|
|
17
|
+
};
|
|
18
|
+
data: {
|
|
19
|
+
name: string;
|
|
20
|
+
color: string;
|
|
21
|
+
index: number;
|
|
22
|
+
status: number;
|
|
23
|
+
order: number;
|
|
24
|
+
hide: number;
|
|
25
|
+
row: number;
|
|
26
|
+
column: number;
|
|
27
|
+
defaultRowHeight: number;
|
|
28
|
+
defaultColWidth: number;
|
|
29
|
+
config: {};
|
|
30
|
+
celldata: any;
|
|
31
|
+
scrollLeft: number;
|
|
32
|
+
luckysheet_select_save: never[];
|
|
33
|
+
calcChain: never[];
|
|
34
|
+
isPivotTable: boolean;
|
|
35
|
+
pivotTable: {};
|
|
36
|
+
filter_select: {};
|
|
37
|
+
filter: null;
|
|
38
|
+
luckysheet_alternateformat_save: {
|
|
39
|
+
cellrange: {
|
|
40
|
+
row: number[];
|
|
41
|
+
column: number[];
|
|
42
|
+
};
|
|
43
|
+
format: {
|
|
44
|
+
head: {
|
|
45
|
+
fc: string;
|
|
46
|
+
bc: string;
|
|
47
|
+
};
|
|
48
|
+
one: {
|
|
49
|
+
bc: string;
|
|
50
|
+
};
|
|
51
|
+
two: {
|
|
52
|
+
bc: string;
|
|
53
|
+
};
|
|
54
|
+
foot: {
|
|
55
|
+
fc: string;
|
|
56
|
+
bc: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
hasRowHeader: boolean;
|
|
60
|
+
hasRowFooter: boolean;
|
|
61
|
+
}[];
|
|
62
|
+
luckysheet_alternateformat_save_modelCustom: {
|
|
63
|
+
head: {
|
|
64
|
+
fc: string;
|
|
65
|
+
bc: string;
|
|
66
|
+
};
|
|
67
|
+
one: {
|
|
68
|
+
fc: string;
|
|
69
|
+
bc: string;
|
|
70
|
+
};
|
|
71
|
+
two: {
|
|
72
|
+
fc: string;
|
|
73
|
+
bc: string;
|
|
74
|
+
};
|
|
75
|
+
foot: {
|
|
76
|
+
fc: string;
|
|
77
|
+
bc: string;
|
|
78
|
+
};
|
|
79
|
+
}[];
|
|
80
|
+
luckysheet_conditionformat_save: {};
|
|
81
|
+
frozen: {};
|
|
82
|
+
chart: never[];
|
|
83
|
+
zoomRatio: number;
|
|
84
|
+
image: never[];
|
|
85
|
+
showGridLines: number;
|
|
86
|
+
dataVerification: {};
|
|
87
|
+
}[];
|
|
88
|
+
cellRightClickConfig: {
|
|
89
|
+
copy: boolean;
|
|
90
|
+
copyAs: boolean;
|
|
91
|
+
paste: boolean;
|
|
92
|
+
insertRow: boolean;
|
|
93
|
+
insertColumn: boolean;
|
|
94
|
+
deleteCell: boolean;
|
|
95
|
+
hideRow: boolean;
|
|
96
|
+
hideColumn: boolean;
|
|
97
|
+
rowHeight: boolean;
|
|
98
|
+
columnWidth: boolean;
|
|
99
|
+
clear: boolean;
|
|
100
|
+
matrix: boolean;
|
|
101
|
+
sort: boolean;
|
|
102
|
+
filter: boolean;
|
|
103
|
+
chart: boolean;
|
|
104
|
+
image: boolean;
|
|
105
|
+
link: boolean;
|
|
106
|
+
data: boolean;
|
|
107
|
+
cellFormat: boolean;
|
|
108
|
+
};
|
|
109
|
+
showsheetbar: boolean;
|
|
110
|
+
optionstate: boolean;
|
|
111
|
+
showstatisticBarConfig: {
|
|
112
|
+
count: boolean;
|
|
113
|
+
view: boolean;
|
|
114
|
+
zoom: boolean;
|
|
115
|
+
};
|
|
116
|
+
column: number;
|
|
117
|
+
columnHeaderHeight: number;
|
|
118
|
+
lang: string;
|
|
119
|
+
defaultFontSize: string;
|
|
120
|
+
frozen: {
|
|
121
|
+
type: string;
|
|
122
|
+
range: {
|
|
123
|
+
row_focus: number;
|
|
124
|
+
column_focus: number;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
componentDidMount(): void;
|
|
129
|
+
componentWillUnmount(): void;
|
|
130
|
+
getValidateData: () => {
|
|
131
|
+
successData: any;
|
|
132
|
+
failData: any;
|
|
133
|
+
};
|
|
134
|
+
getData: () => any;
|
|
135
|
+
resetData: () => void;
|
|
136
|
+
filterData: (type: string) => void;
|
|
137
|
+
toggleData: () => void;
|
|
138
|
+
onChange: (e: any) => void;
|
|
139
|
+
errorChange: (e: any) => void;
|
|
140
|
+
menuList: React.JSX.Element;
|
|
141
|
+
leftMenu: React.JSX.Element;
|
|
142
|
+
render(): React.JSX.Element;
|
|
143
|
+
}
|
|
144
|
+
export default DataValidation;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface exportIconType {
|
|
3
|
+
/** others选填,使用axios发请求,*/
|
|
4
|
+
request: {
|
|
5
|
+
url: string;
|
|
6
|
+
params: Function | Object;
|
|
7
|
+
others?: Object;
|
|
8
|
+
};
|
|
9
|
+
/** BsSulaQueryTable的tableRef*/
|
|
10
|
+
tableRef: any;
|
|
11
|
+
}
|
|
12
|
+
declare const ExportIcon: ({ request, tableRef }: exportIconType) => React.JSX.Element;
|
|
13
|
+
export default ExportIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const handleSourceName: (sName: any) => any;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Iprops {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
inputType: number;
|
|
5
|
+
defaultValue: any;
|
|
6
|
+
styleCommon: any;
|
|
7
|
+
value: any;
|
|
8
|
+
onChange: any;
|
|
9
|
+
dictionaryCode?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: (props: Iprops) => React.JSX.Element;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getRegularThresholdRange(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import './utils/index';
|
|
2
|
+
export { default as DataValidation } from './components/Functional/DataValidation';
|
|
3
|
+
export { default as DataImport } from './components/Functional/DataImport';
|
|
4
|
+
export { default as QueryMutipleInput } from './components/Functional/QueryMutipleInput';
|
|
5
|
+
export { default as SearchSelect } from './components/Functional/SearchSelect';
|
|
6
|
+
export { default as AddSelect } from './components/Functional/AddSelect';
|
|
7
|
+
export { default as BillEntry } from './components/Functional/BillEntry';
|
|
8
|
+
export { default as BusinessSearchSelect } from './components/Business/SearchSelect';
|
|
9
|
+
export * from './components/Business/AddSelectBusiness';
|
|
10
|
+
export { default as CommodityEntry } from './components/Business/CommodityEntry';
|
|
11
|
+
export { default as CheckOneUser } from './utils/CheckOneUser';
|
|
12
|
+
export { default as TreeSearchSelect } from './components/Functional/TreeSearchSelect';
|
|
13
|
+
export { default as BusinessTreeSearchSelect } from './components/Business/TreeSearchSelect';
|
|
14
|
+
export { default as StateFlow } from './components/Business/StateFlow';
|
|
15
|
+
export { default as GuideWrapper } from './components/Business/CommonGuideWrapper';
|
|
16
|
+
export { default as ExportIcon } from './components/Functional/ExportFunctions/ExportIcon';
|
|
17
|
+
export { default as SulaColumnSettingTable } from './components/Business/columnSettingTable/sulaSettingTable';
|
|
18
|
+
export { default as ColumnSettingTable } from './components/Business/columnSettingTable';
|
|
19
|
+
export { default as DetailPageWrapper } from './components/Business/DetailPageWrapper';
|
|
20
|
+
export { default as HomePageWrapper } from './components/Business/HomePageWrapper';
|
|
21
|
+
export { default as BsSulaQueryTable } from './components/Business/BsSulaQueryTable';
|
|
22
|
+
export { default as BsLayout } from './components/Business/BsLayouts';
|
|
23
|
+
export { default as MoreTreeTable } from './components/Business/moreTreeTable';
|
|
24
|
+
export { default as JsonQueryTable } from './components/Business/JsonQueryTable';
|
|
25
|
+
export { default as TableColumnSetting } from './plugin/TableColumnSetting';
|
|
26
|
+
export { default as EllipsisTooltip } from './components/Functional/EllipsisTooltip';
|
|
27
|
+
export * from './components/Functional/BsAntdSula/index';
|
|
28
|
+
export { default as RuleComponent } from './components/Solution/RuleComponent';
|