@bit-sun/business-component 1.2.2 → 1.2.3
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/Functional/{DataValidation/DataImport.d.ts → DataImport/index.d.ts} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +16 -13
- package/dist/index.js +16 -13
- package/package.json +1 -1
- package/src/components/Functional/DataImport/index.less +63 -0
- package/src/components/Functional/DataImport/index.md +44 -0
- package/src/components/Functional/{DataValidation/DataImport.tsx → DataImport/index.tsx} +3 -3
- package/src/index.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.less';
|
|
3
|
-
declare class
|
|
3
|
+
declare class DataImport extends React.Component {
|
|
4
4
|
constructor(props: any);
|
|
5
5
|
onDragEnd(result: any): void;
|
|
6
6
|
getCount: () => {
|
|
@@ -141,4 +141,4 @@ declare class DataValidation extends React.Component {
|
|
|
141
141
|
leftMenu: JSX.Element;
|
|
142
142
|
render(): JSX.Element;
|
|
143
143
|
}
|
|
144
|
-
export default
|
|
144
|
+
export default DataImport;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as DataValidation } from './components/Functional/DataValidation';
|
|
2
|
-
export { default as DataImport } from './components/Functional/
|
|
2
|
+
export { default as DataImport } from './components/Functional/DataImport';
|
|
3
3
|
export { default as QueryMutipleInput } from './components/Functional/QueryMutipleInput';
|
|
4
4
|
export { default as SearchSelect } from './components/Functional/SearchSelect';
|
|
5
5
|
export { default as BusinessSearchSelect } from './components/Business/SearchSelect';
|
package/dist/index.esm.js
CHANGED
|
@@ -2259,6 +2259,9 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
|
|
|
2259
2259
|
return DataValidation;
|
|
2260
2260
|
}(React.Component);
|
|
2261
2261
|
|
|
2262
|
+
var css_248z$1 = ".luckysheet {\n overflow: hidden;\n}\n.luckysheet .luckysheet-work-area.luckysheet-noselected-text {\n display: none;\n}\n.sheet_table_top {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_top .menu_item_text {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.sheet_table_footer {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_text {\n color: #8f8f8f;\n}\n.sheet_table_dnd_text {\n background: #f2f2f2;\n border: 1px solid #d8d8d8;\n display: inline-block;\n width: 100px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n";
|
|
2263
|
+
styleInject(css_248z$1);
|
|
2264
|
+
|
|
2262
2265
|
var _excluded$3 = ["flag", "checkResults"],
|
|
2263
2266
|
_excluded2$1 = ["flag", "checkResults"];
|
|
2264
2267
|
|
|
@@ -2311,15 +2314,15 @@ var filterLetters$1 = function filterLetters(i) {
|
|
|
2311
2314
|
}
|
|
2312
2315
|
};
|
|
2313
2316
|
|
|
2314
|
-
var
|
|
2315
|
-
_inherits(
|
|
2317
|
+
var DataImport = /*#__PURE__*/function (_React$Component) {
|
|
2318
|
+
_inherits(DataImport, _React$Component);
|
|
2316
2319
|
|
|
2317
|
-
var _super = _createSuper(
|
|
2320
|
+
var _super = _createSuper(DataImport);
|
|
2318
2321
|
|
|
2319
|
-
function
|
|
2322
|
+
function DataImport(props) {
|
|
2320
2323
|
var _this;
|
|
2321
2324
|
|
|
2322
|
-
_classCallCheck(this,
|
|
2325
|
+
_classCallCheck(this, DataImport);
|
|
2323
2326
|
|
|
2324
2327
|
_this = _super.call(this, props);
|
|
2325
2328
|
|
|
@@ -2784,7 +2787,7 @@ var DataValidation$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
2784
2787
|
});
|
|
2785
2788
|
} else {
|
|
2786
2789
|
itemsTemp$1 = props.columns.map(function (item, index) {
|
|
2787
|
-
if (!mapping$1.get(item)) throw Error("".concat(item, " is not in
|
|
2790
|
+
if (!mapping$1.get(item)) throw Error("".concat(item, " is not in DataImport component, please fix this error"));
|
|
2788
2791
|
return {
|
|
2789
2792
|
id: "item-0".concat(index),
|
|
2790
2793
|
content: mapping$1.get(item),
|
|
@@ -2809,7 +2812,7 @@ var DataValidation$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
2809
2812
|
return _this;
|
|
2810
2813
|
}
|
|
2811
2814
|
|
|
2812
|
-
_createClass(
|
|
2815
|
+
_createClass(DataImport, [{
|
|
2813
2816
|
key: "onDragEnd",
|
|
2814
2817
|
value: function onDragEnd(result) {
|
|
2815
2818
|
// dropped outside the list
|
|
@@ -2889,11 +2892,11 @@ var DataValidation$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
2889
2892
|
}
|
|
2890
2893
|
}]);
|
|
2891
2894
|
|
|
2892
|
-
return
|
|
2895
|
+
return DataImport;
|
|
2893
2896
|
}(React.Component);
|
|
2894
2897
|
|
|
2895
|
-
var css_248z$
|
|
2896
|
-
styleInject(css_248z$
|
|
2898
|
+
var css_248z$2 = ".query_input_show {\n display: flex;\n}\n.query_input_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.query_input_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.query_input_wrapper {\n display: flex;\n}\n.query_input_wrapper_left {\n width: 100px;\n}\n.query_input_wrapper_right {\n color: #9e9e9e;\n}\n.query_input_textArea {\n margin-top: 15px;\n}\n";
|
|
2899
|
+
styleInject(css_248z$2);
|
|
2897
2900
|
|
|
2898
2901
|
var QueryMutipleInput = function QueryMutipleInput(_ref) {
|
|
2899
2902
|
var onValueChange = _ref.onValueChange;
|
|
@@ -3024,8 +3027,8 @@ function ToCDB(str) {
|
|
|
3024
3027
|
return tmp;
|
|
3025
3028
|
}
|
|
3026
3029
|
|
|
3027
|
-
var css_248z$
|
|
3028
|
-
styleInject(css_248z$
|
|
3030
|
+
var css_248z$3 = ".search_select_show {\n display: flex;\n}\n.search_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.search_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_wrapper {\n position: relative;\n display: flex;\n min-height: 60vh;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n}\n.search_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.search_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.search_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.search_select_wrapper_left {\n width: 28%;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-left: 20px;\n}\n.search_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.search_select_wrapper_right {\n width: 70%;\n margin-left: 1%;\n}\n.search_select_wrapper_right1 {\n width: 100%;\n margin-left: 20px;\n}\n.search_select_wrapper_right,\n.search_select_wrapper_right1 {\n overflow-x: auto;\n}\n.search_select_wrapper .select_list_columns {\n width: 100%;\n height: calc(60vh - 60px);\n overflow-y: auto;\n border: 1px solid #d8d8d8;\n}\n.search_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.search_select_wrapper .select_list_columns_formItems {\n padding: 0 20px;\n}\n.search_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px 0px;\n justify-content: flex-end;\n}\n.search_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 34px;\n line-height: 32px;\n background-color: #eee;\n margin-bottom: 10px;\n padding: 0 12px;\n}\n.search_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n";
|
|
3031
|
+
styleInject(css_248z$3);
|
|
3029
3032
|
|
|
3030
3033
|
var Option = Select.Option;
|
|
3031
3034
|
|
|
@@ -5754,4 +5757,4 @@ function getStorageVale(storageKeyString) {
|
|
|
5754
5757
|
var resposne = JSON.parse(localStorage.getItem('userInfo') || '{}');
|
|
5755
5758
|
axios.defaults.headers.common['sso-sessionid'] = (resposne === null || resposne === void 0 ? void 0 : resposne.sessionId) || '';
|
|
5756
5759
|
|
|
5757
|
-
export { BusinessSearchSelect$1 as BusinessSearchSelect, index as CheckOneUser, CommodityEntry,
|
|
5760
|
+
export { BusinessSearchSelect$1 as BusinessSearchSelect, index as CheckOneUser, CommodityEntry, DataImport, DataValidation, QueryMutipleInput, SearchSelect };
|
package/dist/index.js
CHANGED
|
@@ -2270,6 +2270,9 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
|
|
|
2270
2270
|
return DataValidation;
|
|
2271
2271
|
}(React__default['default'].Component);
|
|
2272
2272
|
|
|
2273
|
+
var css_248z$1 = ".luckysheet {\n overflow: hidden;\n}\n.luckysheet .luckysheet-work-area.luckysheet-noselected-text {\n display: none;\n}\n.sheet_table_top {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_top .menu_item_text {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.sheet_table_footer {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_text {\n color: #8f8f8f;\n}\n.sheet_table_dnd_text {\n background: #f2f2f2;\n border: 1px solid #d8d8d8;\n display: inline-block;\n width: 100px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n";
|
|
2274
|
+
styleInject(css_248z$1);
|
|
2275
|
+
|
|
2273
2276
|
var _excluded$3 = ["flag", "checkResults"],
|
|
2274
2277
|
_excluded2$1 = ["flag", "checkResults"];
|
|
2275
2278
|
|
|
@@ -2322,15 +2325,15 @@ var filterLetters$1 = function filterLetters(i) {
|
|
|
2322
2325
|
}
|
|
2323
2326
|
};
|
|
2324
2327
|
|
|
2325
|
-
var
|
|
2326
|
-
_inherits(
|
|
2328
|
+
var DataImport = /*#__PURE__*/function (_React$Component) {
|
|
2329
|
+
_inherits(DataImport, _React$Component);
|
|
2327
2330
|
|
|
2328
|
-
var _super = _createSuper(
|
|
2331
|
+
var _super = _createSuper(DataImport);
|
|
2329
2332
|
|
|
2330
|
-
function
|
|
2333
|
+
function DataImport(props) {
|
|
2331
2334
|
var _this;
|
|
2332
2335
|
|
|
2333
|
-
_classCallCheck(this,
|
|
2336
|
+
_classCallCheck(this, DataImport);
|
|
2334
2337
|
|
|
2335
2338
|
_this = _super.call(this, props);
|
|
2336
2339
|
|
|
@@ -2795,7 +2798,7 @@ var DataValidation$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
2795
2798
|
});
|
|
2796
2799
|
} else {
|
|
2797
2800
|
itemsTemp$1 = props.columns.map(function (item, index) {
|
|
2798
|
-
if (!mapping$1.get(item)) throw Error("".concat(item, " is not in
|
|
2801
|
+
if (!mapping$1.get(item)) throw Error("".concat(item, " is not in DataImport component, please fix this error"));
|
|
2799
2802
|
return {
|
|
2800
2803
|
id: "item-0".concat(index),
|
|
2801
2804
|
content: mapping$1.get(item),
|
|
@@ -2820,7 +2823,7 @@ var DataValidation$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
2820
2823
|
return _this;
|
|
2821
2824
|
}
|
|
2822
2825
|
|
|
2823
|
-
_createClass(
|
|
2826
|
+
_createClass(DataImport, [{
|
|
2824
2827
|
key: "onDragEnd",
|
|
2825
2828
|
value: function onDragEnd(result) {
|
|
2826
2829
|
// dropped outside the list
|
|
@@ -2900,11 +2903,11 @@ var DataValidation$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
2900
2903
|
}
|
|
2901
2904
|
}]);
|
|
2902
2905
|
|
|
2903
|
-
return
|
|
2906
|
+
return DataImport;
|
|
2904
2907
|
}(React__default['default'].Component);
|
|
2905
2908
|
|
|
2906
|
-
var css_248z$
|
|
2907
|
-
styleInject(css_248z$
|
|
2909
|
+
var css_248z$2 = ".query_input_show {\n display: flex;\n}\n.query_input_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.query_input_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.query_input_wrapper {\n display: flex;\n}\n.query_input_wrapper_left {\n width: 100px;\n}\n.query_input_wrapper_right {\n color: #9e9e9e;\n}\n.query_input_textArea {\n margin-top: 15px;\n}\n";
|
|
2910
|
+
styleInject(css_248z$2);
|
|
2908
2911
|
|
|
2909
2912
|
var QueryMutipleInput = function QueryMutipleInput(_ref) {
|
|
2910
2913
|
var onValueChange = _ref.onValueChange;
|
|
@@ -3035,8 +3038,8 @@ function ToCDB(str) {
|
|
|
3035
3038
|
return tmp;
|
|
3036
3039
|
}
|
|
3037
3040
|
|
|
3038
|
-
var css_248z$
|
|
3039
|
-
styleInject(css_248z$
|
|
3041
|
+
var css_248z$3 = ".search_select_show {\n display: flex;\n}\n.search_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.search_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_wrapper {\n position: relative;\n display: flex;\n min-height: 60vh;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n}\n.search_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.search_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.search_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.search_select_wrapper_left {\n width: 28%;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-left: 20px;\n}\n.search_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.search_select_wrapper_right {\n width: 70%;\n margin-left: 1%;\n}\n.search_select_wrapper_right1 {\n width: 100%;\n margin-left: 20px;\n}\n.search_select_wrapper_right,\n.search_select_wrapper_right1 {\n overflow-x: auto;\n}\n.search_select_wrapper .select_list_columns {\n width: 100%;\n height: calc(60vh - 60px);\n overflow-y: auto;\n border: 1px solid #d8d8d8;\n}\n.search_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.search_select_wrapper .select_list_columns_formItems {\n padding: 0 20px;\n}\n.search_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px 0px;\n justify-content: flex-end;\n}\n.search_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 34px;\n line-height: 32px;\n background-color: #eee;\n margin-bottom: 10px;\n padding: 0 12px;\n}\n.search_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n";
|
|
3042
|
+
styleInject(css_248z$3);
|
|
3040
3043
|
|
|
3041
3044
|
var Option = antd.Select.Option;
|
|
3042
3045
|
|
|
@@ -5768,7 +5771,7 @@ axios__default['default'].defaults.headers.common['sso-sessionid'] = (resposne =
|
|
|
5768
5771
|
exports.BusinessSearchSelect = BusinessSearchSelect$1;
|
|
5769
5772
|
exports.CheckOneUser = index;
|
|
5770
5773
|
exports.CommodityEntry = CommodityEntry;
|
|
5771
|
-
exports.DataImport =
|
|
5774
|
+
exports.DataImport = DataImport;
|
|
5772
5775
|
exports.DataValidation = DataValidation;
|
|
5773
5776
|
exports.QueryMutipleInput = QueryMutipleInput;
|
|
5774
5777
|
exports.SearchSelect = SearchSelect;
|
package/package.json
CHANGED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
.luckysheet {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
.luckysheet-work-area.luckysheet-noselected-text {
|
|
4
|
+
display: none;
|
|
5
|
+
|
|
6
|
+
// .luckysheet_info_detail {
|
|
7
|
+
// display: none !important;
|
|
8
|
+
// }
|
|
9
|
+
|
|
10
|
+
// .luckysheet-wa-editor.toolbar {
|
|
11
|
+
// overflow: hidden;
|
|
12
|
+
// }
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.sheet_table_top {
|
|
17
|
+
height: 50px;
|
|
18
|
+
background: #f2f2f2;
|
|
19
|
+
width: 100%;
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
align-items: center;
|
|
23
|
+
padding: 0 20px;
|
|
24
|
+
border: 1px solid #d8d8d8;
|
|
25
|
+
|
|
26
|
+
.menu_item_text {
|
|
27
|
+
display: flex;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
align-items: center;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.sheet_table_footer {
|
|
34
|
+
height: 50px;
|
|
35
|
+
background: #f2f2f2;
|
|
36
|
+
width: 100%;
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: space-between;
|
|
39
|
+
align-items: center;
|
|
40
|
+
padding: 0 20px;
|
|
41
|
+
border: 1px solid #d8d8d8;
|
|
42
|
+
|
|
43
|
+
.sheet_table_footer_l {
|
|
44
|
+
}
|
|
45
|
+
.sheet_table_footer_r {
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.sheet_table_text {
|
|
50
|
+
color: #8f8f8f;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.sheet_table_dnd_text {
|
|
54
|
+
background: #f2f2f2;
|
|
55
|
+
border: 1px solid #d8d8d8;
|
|
56
|
+
display: inline-block;
|
|
57
|
+
width: 100px;
|
|
58
|
+
height: 30px;
|
|
59
|
+
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
nav:
|
|
3
|
+
title: '组件'
|
|
4
|
+
order: 1
|
|
5
|
+
group:
|
|
6
|
+
title: 功能组件
|
|
7
|
+
order: 0
|
|
8
|
+
title: 数据校验
|
|
9
|
+
order: 1
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## DataImport
|
|
13
|
+
|
|
14
|
+
Demo:
|
|
15
|
+
|
|
16
|
+
```tsx
|
|
17
|
+
import React, { useRef } from 'react';
|
|
18
|
+
import { DataImport } from '../../../index';
|
|
19
|
+
|
|
20
|
+
export default () => {
|
|
21
|
+
let dataValidationRef: DataValidation = useRef();
|
|
22
|
+
|
|
23
|
+
return (
|
|
24
|
+
<div>
|
|
25
|
+
<DataImport
|
|
26
|
+
onRef={(ref) => {
|
|
27
|
+
dataValidationRef = ref;
|
|
28
|
+
}}
|
|
29
|
+
notValid
|
|
30
|
+
customerColumnsMapping={
|
|
31
|
+
[
|
|
32
|
+
{
|
|
33
|
+
title: 'WER',
|
|
34
|
+
name: 'ffff1'
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
/>
|
|
39
|
+
</div>
|
|
40
|
+
);
|
|
41
|
+
};
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
More skills for writing demo: https://d.umijs.org/guide/demo-principle
|
|
@@ -105,7 +105,7 @@ const filterLetters = (i) => {
|
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
|
|
108
|
-
class
|
|
108
|
+
class DataImport extends React.Component {
|
|
109
109
|
constructor(props) {
|
|
110
110
|
super(props);
|
|
111
111
|
this.props.onRef(this);
|
|
@@ -126,7 +126,7 @@ class DataValidation extends React.Component {
|
|
|
126
126
|
itemsTemp = props.columns.map((item, index) => {
|
|
127
127
|
if (!mapping.get(item))
|
|
128
128
|
throw Error(
|
|
129
|
-
`${item} is not in
|
|
129
|
+
`${item} is not in DataImport component, please fix this error`,
|
|
130
130
|
);
|
|
131
131
|
return {
|
|
132
132
|
id: `item-0${index}`,
|
|
@@ -687,4 +687,4 @@ class DataValidation extends React.Component {
|
|
|
687
687
|
}
|
|
688
688
|
}
|
|
689
689
|
|
|
690
|
-
export default
|
|
690
|
+
export default DataImport;
|
package/src/index.ts
CHANGED
|
@@ -14,7 +14,7 @@ const resposne = JSON.parse(localStorage.getItem('userInfo') || '{}');
|
|
|
14
14
|
axios.defaults.headers.common['sso-sessionid'] = resposne?.sessionId || '';
|
|
15
15
|
|
|
16
16
|
export { default as DataValidation } from './components/Functional/DataValidation';
|
|
17
|
-
export { default as DataImport } from './components/Functional/
|
|
17
|
+
export { default as DataImport } from './components/Functional/DataImport';
|
|
18
18
|
export { default as QueryMutipleInput } from './components/Functional/QueryMutipleInput';
|
|
19
19
|
export { default as SearchSelect } from './components/Functional/SearchSelect';
|
|
20
20
|
export { default as BusinessSearchSelect } from './components/Business/SearchSelect';
|