@myunisoft/design-system 0.7.2 → 0.7.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/index.js +10 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34,8 +34,8 @@ var $ByO3L$lodashfirst = require("lodash/first");
|
|
|
34
34
|
var $ByO3L$reactspinners = require("react-spinners");
|
|
35
35
|
var $ByO3L$materialuicorestyles = require("@material-ui/core/styles");
|
|
36
36
|
var $ByO3L$lodashfind = require("lodash/find");
|
|
37
|
-
var $ByO3L$xlsx = require("xlsx");
|
|
38
37
|
var $ByO3L$exceljs = require("exceljs");
|
|
38
|
+
var $ByO3L$xlsx = require("xlsx");
|
|
39
39
|
var $ByO3L$materialuilabAutocomplete = require("@material-ui/lab/Autocomplete");
|
|
40
40
|
var $ByO3L$lodashhead = require("lodash/head");
|
|
41
41
|
var $ByO3L$robot3 = require("robot3");
|
|
@@ -8747,13 +8747,14 @@ function $ec19f4945a6280f4$var$_objectSpread(target) {
|
|
|
8747
8747
|
}
|
|
8748
8748
|
return target;
|
|
8749
8749
|
}
|
|
8750
|
-
/**
|
|
8751
|
-
* Cell types available in the filter list
|
|
8750
|
+
/**
|
|
8751
|
+
* Cell types available in the filter list
|
|
8752
8752
|
*/ var $ec19f4945a6280f4$var$allowedTypes = [
|
|
8753
8753
|
$fjngL.TYPE_CELL.AMOUNT,
|
|
8754
8754
|
$fjngL.TYPE_CELL.NUMBER,
|
|
8755
8755
|
$fjngL.TYPE_CELL.STATUS,
|
|
8756
|
-
$fjngL.TYPE_CELL.SELECT
|
|
8756
|
+
$fjngL.TYPE_CELL.SELECT,
|
|
8757
|
+
$fjngL.TYPE_CELL.STRING
|
|
8757
8758
|
];
|
|
8758
8759
|
module.exports.allowedTypes = $ec19f4945a6280f4$var$allowedTypes;
|
|
8759
8760
|
var $ec19f4945a6280f4$var$mapStatusListToDataList = function mapStatusListToDataList(listStatus) {
|
|
@@ -8764,13 +8765,13 @@ var $ec19f4945a6280f4$var$mapStatusListToDataList = function mapStatusListToData
|
|
|
8764
8765
|
};
|
|
8765
8766
|
});
|
|
8766
8767
|
};
|
|
8767
|
-
/**
|
|
8768
|
-
* Map and filter config to match our needs
|
|
8769
|
-
*
|
|
8770
|
-
* @param {array} columns - Columns array from VT config
|
|
8768
|
+
/**
|
|
8769
|
+
* Map and filter config to match our needs
|
|
8770
|
+
*
|
|
8771
|
+
* @param {array} columns - Columns array from VT config
|
|
8771
8772
|
*/ function $ec19f4945a6280f4$var$parseConfig(columns) {
|
|
8772
8773
|
return columns.reduce(function(prev, curr) {
|
|
8773
|
-
if (curr.typeCell && !$ec19f4945a6280f4$var$allowedTypes.includes(curr.typeCell)) return prev;
|
|
8774
|
+
if (curr.typeCell && !$ec19f4945a6280f4$var$allowedTypes.includes(curr.typeCell) || !curr.header) return prev;
|
|
8774
8775
|
return $ec19f4945a6280f4$var$_objectSpread($ec19f4945a6280f4$var$_objectSpread({
|
|
8775
8776
|
}, prev), {
|
|
8776
8777
|
}, $ec19f4945a6280f4$var$_defineProperty2["default"]({
|