@bit-sun/business-component 2.0.24 → 2.0.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/AddSelectBusiness/index.d.ts +1 -0
- package/dist/components/Business/CommodityEntry/index.d.ts +2 -0
- package/dist/components/Business/CommonGuideWrapper/index.d.ts +6 -0
- package/dist/components/Business/SearchSelect/BusinessUtils.d.ts +5 -0
- package/dist/components/Business/SearchSelect/common.d.ts +17 -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 +3 -0
- package/dist/components/Business/TreeSearchSelect/index.d.ts +3 -0
- package/dist/components/Business/TreeSearchSelect/utils.d.ts +2 -0
- package/dist/components/Functional/AddSelect/index.d.ts +3 -0
- package/dist/components/Functional/BillEntry/index.d.ts +4 -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 +12 -0
- package/dist/components/Functional/QueryMutipleInput/index.d.ts +5 -0
- package/dist/components/Functional/SearchSelect/index.d.ts +4 -0
- package/dist/components/Functional/TreeSearchSelect/index.d.ts +2 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.esm.js +9065 -0
- package/dist/index.js +9090 -0
- package/dist/utils/CheckOneUser/index.d.ts +2 -0
- package/dist/utils/requestUtils.d.ts +1 -0
- package/dist/utils/utils.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AddSkuSelect: (parProps: any) => JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const shopFileType: {
|
|
2
|
+
text: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}[];
|
|
5
|
+
declare const shopFile2Type: {
|
|
6
|
+
text: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}[];
|
|
9
|
+
declare const arrivalPaySupportList: {
|
|
10
|
+
text: string;
|
|
11
|
+
value: number;
|
|
12
|
+
}[];
|
|
13
|
+
declare const sharingType: {
|
|
14
|
+
text: string;
|
|
15
|
+
value: string;
|
|
16
|
+
}[];
|
|
17
|
+
export { shopFileType, arrivalPaySupportList, sharingType, shopFile2Type };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const getDictionarySource: (dicCode: string, needConvertInterger?: boolean) => {};
|
|
2
|
+
declare const getDictionaryTextByValue: (dicCode: string, value: string | number) => any;
|
|
3
|
+
declare const loadSelectSource: (url: string, params?: any) => Promise<unknown>;
|
|
4
|
+
declare const handleDefaultPrefixUrl: (type: string) => string;
|
|
5
|
+
export { getDictionarySource, getDictionaryTextByValue, loadSelectSource, handleDefaultPrefixUrl };
|
|
@@ -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: JSX.Element;
|
|
141
|
+
leftMenu: JSX.Element;
|
|
142
|
+
render(): 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: JSX.Element;
|
|
141
|
+
leftMenu: JSX.Element;
|
|
142
|
+
render(): JSX.Element;
|
|
143
|
+
}
|
|
144
|
+
export default DataValidation;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface exportIconType {
|
|
2
|
+
/** others选填,使用axios发请求,*/
|
|
3
|
+
request: {
|
|
4
|
+
url: string;
|
|
5
|
+
params: Function | Object;
|
|
6
|
+
others?: Object;
|
|
7
|
+
};
|
|
8
|
+
/** BsSulaQueryTable的tableRef*/
|
|
9
|
+
tableRef: any;
|
|
10
|
+
}
|
|
11
|
+
declare const ExportIcon: ({ request, tableRef }: exportIconType) => JSX.Element;
|
|
12
|
+
export default ExportIcon;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import './utils/requestUtils';
|
|
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';
|