ods-component-lib 1.19.15 → 1.20.0
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/README.md +39 -39
- package/dist/components/antd/button/OdsButton.styled.d.ts +1 -1
- package/dist/components/antd/timepicker/OdsTimepicker.styled.d.ts +1 -1
- package/dist/index.css +267 -267
- package/dist/index.js +74 -364
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +74 -364
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsDatepicker/OdsDatepicker.stories.d.ts +2 -2
- package/package.json +101 -101
- package/dist/components/antd/datepicker/OdsDatepicker.styled.d.ts +0 -1
- package/dist/components/antd/input/OdsInput..d.ts +0 -4
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Constants.d.ts +0 -3
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Functions.d.ts +0 -4
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Helpers.d.ts +0 -12
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Style.d.ts +0 -94
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.Types.d.ts +0 -46
- package/dist/components/devextreme/OdsCabinDataGrid/OdsCabinGrid.d.ts +0 -4
- package/dist/components/devextreme/OdsDataGrid.d.ts +0 -4
- package/dist/components/devextreme/treeview/DxTreeList.d.ts +0 -4
- package/dist/stories/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.stories.d.ts +0 -3
- package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.Constants.d.ts +0 -22
- package/dist/stories/OdsMasterDetailDataGrid/Samples/OdsMasterDetailDataGrid/OdsMasterDetailDataGrid.MockData.d.ts +0 -44
- package/dist/stories/OdsSwitch/OdsSwitch.stories copy.d.ts +0 -16
- package/dist/stories/OdsTreeList/OdsTreeList.stories.d.ts +0 -165
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Constants.d.ts +0 -15
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.MockData.d.ts +0 -24
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Sample.d.ts +0 -1
- package/dist/stories/OdsTreeList/Samples/EmployeeCell.d.ts +0 -4
- /package/dist/components/antd/{datepicker/OdsDatepicker.d.ts → datePicker/OdsDatePicker.d.ts} +0 -0
- /package/dist/components/antd/{datepicker/OdsDateRangepicker.d.ts → datePicker/OdsDateRangePicker.d.ts} +0 -0
package/dist/index.modern.js
CHANGED
|
@@ -23,6 +23,7 @@ import jsPDF, { jsPDF as jsPDF$1 } from 'jspdf';
|
|
|
23
23
|
import { saveAs as saveAs$1 } from 'file-saver-es';
|
|
24
24
|
import DataSource from 'devextreme/data/data_source';
|
|
25
25
|
import query from 'devextreme/data/query';
|
|
26
|
+
import queryString from 'query-string';
|
|
26
27
|
import { Gantt, HeaderFilter as HeaderFilter$1, FilterRow as FilterRow$1, Toolbar as Toolbar$2, Item as Item$2, ContextMenu, Column as Column$1, Tasks, Sorting as Sorting$1 } from 'devextreme-react/gantt';
|
|
27
28
|
import 'jspdf-autotable';
|
|
28
29
|
import { Button as Button$2 } from 'devextreme-react/button';
|
|
@@ -34184,7 +34185,8 @@ var OdsBatchEditDataGrid = function OdsBatchEditDataGrid(props) {
|
|
|
34184
34185
|
locale(localStorage.getItem("locale"));
|
|
34185
34186
|
loadMessages(JSON.parse(localStorage.getItem("localTranslation")));
|
|
34186
34187
|
if (props.dataGridRef.current) {
|
|
34187
|
-
|
|
34188
|
+
var _props$dataGridRef$cu, _props$dataGridRef$cu2, _props$dataGridRef$cu3, _props$dataGridRef$cu4;
|
|
34189
|
+
(_props$dataGridRef$cu = props.dataGridRef.current) === null || _props$dataGridRef$cu === void 0 ? void 0 : (_props$dataGridRef$cu2 = _props$dataGridRef$cu.instance) === null || _props$dataGridRef$cu2 === void 0 ? void 0 : (_props$dataGridRef$cu3 = (_props$dataGridRef$cu4 = _props$dataGridRef$cu2.call(_props$dataGridRef$cu)).updateDimensions) === null || _props$dataGridRef$cu3 === void 0 ? void 0 : _props$dataGridRef$cu3.call(_props$dataGridRef$cu4);
|
|
34188
34190
|
}
|
|
34189
34191
|
}, []);
|
|
34190
34192
|
useEffect(function () {
|
|
@@ -34193,8 +34195,9 @@ var OdsBatchEditDataGrid = function OdsBatchEditDataGrid(props) {
|
|
|
34193
34195
|
var checkSortingPropertyForInitilaize = function checkSortingPropertyForInitilaize() {
|
|
34194
34196
|
var onOptionChanged = props.onOptionChanged;
|
|
34195
34197
|
if (onOptionChanged) {
|
|
34196
|
-
var
|
|
34197
|
-
var
|
|
34198
|
+
var _props$dataGridRef$cu5, _props$dataGridRef$cu6;
|
|
34199
|
+
var dataGridInstance = (_props$dataGridRef$cu5 = props.dataGridRef.current) === null || _props$dataGridRef$cu5 === void 0 ? void 0 : (_props$dataGridRef$cu6 = _props$dataGridRef$cu5.instance) === null || _props$dataGridRef$cu6 === void 0 ? void 0 : _props$dataGridRef$cu6.call(_props$dataGridRef$cu5);
|
|
34200
|
+
var sortingState = dataGridInstance === null || dataGridInstance === void 0 ? void 0 : dataGridInstance.getVisibleColumns().filter(function (p) {
|
|
34198
34201
|
return !p.command;
|
|
34199
34202
|
}).map(function (column, index) {
|
|
34200
34203
|
return {
|
|
@@ -34883,9 +34886,7 @@ var MasterDetailDataGrid = function MasterDetailDataGrid(_ref) {
|
|
|
34883
34886
|
return React.createElement(Column, Object.assign({
|
|
34884
34887
|
key: col.dataField
|
|
34885
34888
|
}, col, {
|
|
34886
|
-
|
|
34887
|
-
visible: col.allowFiltering
|
|
34888
|
-
}
|
|
34889
|
+
allowHeaderFiltering: col.allowFiltering
|
|
34889
34890
|
}));
|
|
34890
34891
|
}), React.createElement(ColumnChooser, {
|
|
34891
34892
|
enabled: masterDetailFeatures.columnChooser,
|
|
@@ -35033,7 +35034,8 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
|
|
|
35033
35034
|
locale(localStorage.getItem("locale"));
|
|
35034
35035
|
loadMessages(JSON.parse(localStorage.getItem("localTranslation")));
|
|
35035
35036
|
if (gridRef.current) {
|
|
35036
|
-
|
|
35037
|
+
var _gridRef$current, _gridRef$current$inst, _gridRef$current$inst2;
|
|
35038
|
+
(_gridRef$current = gridRef.current) === null || _gridRef$current === void 0 ? void 0 : (_gridRef$current$inst = _gridRef$current.instance) === null || _gridRef$current$inst === void 0 ? void 0 : (_gridRef$current$inst2 = _gridRef$current$inst.call(_gridRef$current)) === null || _gridRef$current$inst2 === void 0 ? void 0 : _gridRef$current$inst2.updateDimensions();
|
|
35037
35039
|
}
|
|
35038
35040
|
hasFastUpdate && document.addEventListener("keydown", keydownEvent);
|
|
35039
35041
|
return function () {
|
|
@@ -35046,8 +35048,9 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
|
|
|
35046
35048
|
var checkSortingPropertyForInitilaize = function checkSortingPropertyForInitilaize() {
|
|
35047
35049
|
var onOptionChanged = props.onOptionChanged;
|
|
35048
35050
|
if (onOptionChanged) {
|
|
35049
|
-
var
|
|
35050
|
-
var
|
|
35051
|
+
var _gridRef$current2, _gridRef$current2$ins;
|
|
35052
|
+
var dataGridInstance = (_gridRef$current2 = gridRef.current) === null || _gridRef$current2 === void 0 ? void 0 : (_gridRef$current2$ins = _gridRef$current2.instance) === null || _gridRef$current2$ins === void 0 ? void 0 : _gridRef$current2$ins.call(_gridRef$current2);
|
|
35053
|
+
var sortingState = dataGridInstance === null || dataGridInstance === void 0 ? void 0 : dataGridInstance.getVisibleColumns().filter(function (p) {
|
|
35051
35054
|
return !p.command;
|
|
35052
35055
|
}).map(function (column, index) {
|
|
35053
35056
|
return {
|
|
@@ -35061,7 +35064,7 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
|
|
|
35061
35064
|
});
|
|
35062
35065
|
if (sortedColumn) {
|
|
35063
35066
|
if (sortedColumn.sortOrder) {
|
|
35064
|
-
dataGridInstance.option("columns[" + sortedColumn.index + "].sortOrder", sortedColumn.sortOrder);
|
|
35067
|
+
dataGridInstance === null || dataGridInstance === void 0 ? void 0 : dataGridInstance.option("columns[" + sortedColumn.index + "].sortOrder", sortedColumn.sortOrder);
|
|
35065
35068
|
var fullName = "columns[" + sortedColumn.index + "].sortOrder";
|
|
35066
35069
|
var gridEvent = {
|
|
35067
35070
|
component: dataGridInstance,
|
|
@@ -35128,13 +35131,16 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
|
|
|
35128
35131
|
}));
|
|
35129
35132
|
for (var rowIndex = minRowIndex; rowIndex <= maxRowIndex; rowIndex++) {
|
|
35130
35133
|
var _loop2 = function _loop2() {
|
|
35131
|
-
var
|
|
35134
|
+
var _gridRef$current3, _gridRef$current3$ins, _gridRef$current3$ins2;
|
|
35135
|
+
var _column = (_gridRef$current3 = gridRef.current) === null || _gridRef$current3 === void 0 ? void 0 : (_gridRef$current3$ins = _gridRef$current3.instance) === null || _gridRef$current3$ins === void 0 ? void 0 : (_gridRef$current3$ins2 = _gridRef$current3$ins.call(_gridRef$current3)) === null || _gridRef$current3$ins2 === void 0 ? void 0 : _gridRef$current3$ins2.columnOption(colIndex);
|
|
35132
35136
|
if (constants$1.allowedDataTypesForMultiCellEditing.some(function (item) {
|
|
35133
|
-
|
|
35137
|
+
var _column$dataType;
|
|
35138
|
+
return item.toLocaleLowerCase() == (_column === null || _column === void 0 ? void 0 : (_column$dataType = _column.dataType) === null || _column$dataType === void 0 ? void 0 : _column$dataType.toLocaleLowerCase());
|
|
35134
35139
|
})) {
|
|
35140
|
+
var _gridRef$current4, _gridRef$current4$ins, _gridRef$current4$ins2;
|
|
35135
35141
|
result.push({
|
|
35136
35142
|
dataField: _column.dataField,
|
|
35137
|
-
pkValue: gridRef.current.instance.cellValue(rowIndex, pkName)
|
|
35143
|
+
pkValue: (_gridRef$current4 = gridRef.current) === null || _gridRef$current4 === void 0 ? void 0 : (_gridRef$current4$ins = _gridRef$current4.instance) === null || _gridRef$current4$ins === void 0 ? void 0 : (_gridRef$current4$ins2 = _gridRef$current4$ins.call(_gridRef$current4)) === null || _gridRef$current4$ins2 === void 0 ? void 0 : _gridRef$current4$ins2.cellValue(rowIndex, pkName)
|
|
35138
35144
|
});
|
|
35139
35145
|
}
|
|
35140
35146
|
};
|
|
@@ -35170,8 +35176,9 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
|
|
|
35170
35176
|
});
|
|
35171
35177
|
};
|
|
35172
35178
|
var removeSelectedCell = function removeSelectedCell(rowIndex, colIndex) {
|
|
35173
|
-
var
|
|
35174
|
-
var
|
|
35179
|
+
var _gridRef$current5, _gridRef$current5$ins, _gridRef$current5$ins2, _gridRef$current5$ins3, _gridRef$current6, _gridRef$current6$ins, _gridRef$current6$ins2;
|
|
35180
|
+
var dataField = (_gridRef$current5 = gridRef.current) === null || _gridRef$current5 === void 0 ? void 0 : (_gridRef$current5$ins = _gridRef$current5.instance) === null || _gridRef$current5$ins === void 0 ? void 0 : (_gridRef$current5$ins2 = _gridRef$current5$ins.call(_gridRef$current5)) === null || _gridRef$current5$ins2 === void 0 ? void 0 : (_gridRef$current5$ins3 = _gridRef$current5$ins2.columnOption(colIndex)) === null || _gridRef$current5$ins3 === void 0 ? void 0 : _gridRef$current5$ins3.dataField;
|
|
35181
|
+
var pkValue = (_gridRef$current6 = gridRef.current) === null || _gridRef$current6 === void 0 ? void 0 : (_gridRef$current6$ins = _gridRef$current6.instance) === null || _gridRef$current6$ins === void 0 ? void 0 : (_gridRef$current6$ins2 = _gridRef$current6$ins.call(_gridRef$current6)) === null || _gridRef$current6$ins2 === void 0 ? void 0 : _gridRef$current6$ins2.cellValue(rowIndex, pkName);
|
|
35175
35182
|
setSelectedCells(function (prev) {
|
|
35176
35183
|
return prev.filter(function (cell) {
|
|
35177
35184
|
return !(cell.dataField == dataField && cell.pkValue == pkValue);
|
|
@@ -36359,22 +36366,23 @@ var useOnExportingHandler$1 = function useOnExportingHandler(exportProps, getSum
|
|
|
36359
36366
|
|
|
36360
36367
|
var useOnOptionChangedHandler = function useOnOptionChangedHandler(dataGridRef, totalFilteredCount, sortingProps, setFilterApplied, setUpdateTrigger, callback) {
|
|
36361
36368
|
var onOptionChanged = useCallback(function (e) {
|
|
36362
|
-
var
|
|
36369
|
+
var _dataGridRef$current, _dataGridRef$current$;
|
|
36370
|
+
var dataGrid = (_dataGridRef$current = dataGridRef.current) === null || _dataGridRef$current === void 0 ? void 0 : (_dataGridRef$current$ = _dataGridRef$current.instance) === null || _dataGridRef$current$ === void 0 ? void 0 : _dataGridRef$current$.call(_dataGridRef$current);
|
|
36363
36371
|
var updateFilterStatus = function updateFilterStatus() {
|
|
36364
|
-
var filters = dataGrid.getCombinedFilter(true);
|
|
36372
|
+
var filters = dataGrid === null || dataGrid === void 0 ? void 0 : dataGrid.getCombinedFilter(true);
|
|
36365
36373
|
var active = filters && filters.length > 0;
|
|
36366
36374
|
setFilterApplied(active);
|
|
36367
36375
|
return active;
|
|
36368
36376
|
};
|
|
36369
36377
|
if (e.fullName.includes("sortOrder")) {
|
|
36370
|
-
dataGrid.getScrollable().scrollTo(0);
|
|
36378
|
+
dataGrid === null || dataGrid === void 0 ? void 0 : dataGrid.getScrollable().scrollTo(0);
|
|
36371
36379
|
}
|
|
36372
36380
|
if (e.fullName.includes("filterValue") || e.fullName.includes("filter") || e.fullName === "searchPanel.text") {
|
|
36373
36381
|
var active = updateFilterStatus();
|
|
36374
36382
|
if (active) {
|
|
36375
36383
|
setTimeout(function () {
|
|
36376
|
-
dataGrid.refresh().done(function () {
|
|
36377
|
-
totalFilteredCount.current = dataGrid.totalCount();
|
|
36384
|
+
dataGrid === null || dataGrid === void 0 ? void 0 : dataGrid.refresh().done(function () {
|
|
36385
|
+
totalFilteredCount.current = dataGrid === null || dataGrid === void 0 ? void 0 : dataGrid.totalCount();
|
|
36378
36386
|
setUpdateTrigger(function (prev) {
|
|
36379
36387
|
return !prev;
|
|
36380
36388
|
});
|
|
@@ -54397,25 +54405,26 @@ var OdsMergeCellDataGrid = forwardRef(function (props, ref) {
|
|
|
54397
54405
|
store: data,
|
|
54398
54406
|
load: function load(options) {
|
|
54399
54407
|
try {
|
|
54400
|
-
var _refGrid$current$inst;
|
|
54408
|
+
var _refGrid$current, _refGrid$current$inst, _instance$_firstLoad;
|
|
54401
54409
|
var _data = [].concat(data);
|
|
54402
|
-
var
|
|
54403
|
-
|
|
54404
|
-
|
|
54410
|
+
var instance = (_refGrid$current = refGrid.current) === null || _refGrid$current === void 0 ? void 0 : (_refGrid$current$inst = _refGrid$current.instance) === null || _refGrid$current$inst === void 0 ? void 0 : _refGrid$current$inst.call(_refGrid$current);
|
|
54411
|
+
var _firstLoad = (_instance$_firstLoad = instance === null || instance === void 0 ? void 0 : instance._firstLoad) != null ? _instance$_firstLoad : true;
|
|
54412
|
+
if (_firstLoad && instance) {
|
|
54413
|
+
instance._firstLoad = false;
|
|
54405
54414
|
}
|
|
54406
54415
|
if (options.filter) {
|
|
54407
54416
|
_data = query(_data).filter(options.filter).toArray();
|
|
54408
54417
|
}
|
|
54409
|
-
var _prevSort =
|
|
54410
|
-
var _currentSort = getSortedColumns(
|
|
54418
|
+
var _prevSort = instance === null || instance === void 0 ? void 0 : instance._prevSortedColumns;
|
|
54419
|
+
var _currentSort = getSortedColumns(instance);
|
|
54411
54420
|
if (!_firstLoad && isSortChanged(_prevSort, _currentSort)) {
|
|
54412
54421
|
props.onSortingChanged && props.onSortingChanged(_currentSort);
|
|
54413
54422
|
}
|
|
54414
|
-
|
|
54423
|
+
instance._prevSortedColumns = _currentSort;
|
|
54415
54424
|
helper.columns = props.columns;
|
|
54416
54425
|
helper.mergeDataFields = props.mergeDataFields;
|
|
54417
54426
|
helper.dataSource = _data;
|
|
54418
|
-
|
|
54427
|
+
instance._mergedCells = helper.mergeDataSource();
|
|
54419
54428
|
return Promise.resolve({
|
|
54420
54429
|
data: _data,
|
|
54421
54430
|
totalCount: _data.length
|
|
@@ -54428,7 +54437,8 @@ var OdsMergeCellDataGrid = forwardRef(function (props, ref) {
|
|
|
54428
54437
|
useImperativeHandle(ref, function () {
|
|
54429
54438
|
return {
|
|
54430
54439
|
getSortedColumns: function getSortedColumns$1() {
|
|
54431
|
-
|
|
54440
|
+
var _refGrid$current2, _refGrid$current2$ins;
|
|
54441
|
+
return getSortedColumns((_refGrid$current2 = refGrid.current) === null || _refGrid$current2 === void 0 ? void 0 : (_refGrid$current2$ins = _refGrid$current2.instance) === null || _refGrid$current2$ins === void 0 ? void 0 : _refGrid$current2$ins.call(_refGrid$current2));
|
|
54432
54442
|
}
|
|
54433
54443
|
};
|
|
54434
54444
|
});
|
|
@@ -55106,309 +55116,6 @@ function debounce(func, wait, options) {
|
|
|
55106
55116
|
|
|
55107
55117
|
var debounce_1 = debounce;
|
|
55108
55118
|
|
|
55109
|
-
var strictUriEncode = function (str) {
|
|
55110
|
-
return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
|
|
55111
|
-
return '%' + c.charCodeAt(0).toString(16).toUpperCase();
|
|
55112
|
-
});
|
|
55113
|
-
};
|
|
55114
|
-
|
|
55115
|
-
/*
|
|
55116
|
-
object-assign
|
|
55117
|
-
(c) Sindre Sorhus
|
|
55118
|
-
@license MIT
|
|
55119
|
-
*/
|
|
55120
|
-
/* eslint-disable no-unused-vars */
|
|
55121
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
55122
|
-
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
55123
|
-
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
55124
|
-
|
|
55125
|
-
function toObject(val) {
|
|
55126
|
-
if (val === null || val === undefined) {
|
|
55127
|
-
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
55128
|
-
}
|
|
55129
|
-
|
|
55130
|
-
return Object(val);
|
|
55131
|
-
}
|
|
55132
|
-
|
|
55133
|
-
function shouldUseNative() {
|
|
55134
|
-
try {
|
|
55135
|
-
if (!Object.assign) {
|
|
55136
|
-
return false;
|
|
55137
|
-
}
|
|
55138
|
-
|
|
55139
|
-
// Detect buggy property enumeration order in older V8 versions.
|
|
55140
|
-
|
|
55141
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
|
55142
|
-
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
|
55143
|
-
test1[5] = 'de';
|
|
55144
|
-
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
55145
|
-
return false;
|
|
55146
|
-
}
|
|
55147
|
-
|
|
55148
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
55149
|
-
var test2 = {};
|
|
55150
|
-
for (var i = 0; i < 10; i++) {
|
|
55151
|
-
test2['_' + String.fromCharCode(i)] = i;
|
|
55152
|
-
}
|
|
55153
|
-
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
55154
|
-
return test2[n];
|
|
55155
|
-
});
|
|
55156
|
-
if (order2.join('') !== '0123456789') {
|
|
55157
|
-
return false;
|
|
55158
|
-
}
|
|
55159
|
-
|
|
55160
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
55161
|
-
var test3 = {};
|
|
55162
|
-
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
55163
|
-
test3[letter] = letter;
|
|
55164
|
-
});
|
|
55165
|
-
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
55166
|
-
'abcdefghijklmnopqrst') {
|
|
55167
|
-
return false;
|
|
55168
|
-
}
|
|
55169
|
-
|
|
55170
|
-
return true;
|
|
55171
|
-
} catch (err) {
|
|
55172
|
-
// We don't expect any of the above to throw, but better to be safe.
|
|
55173
|
-
return false;
|
|
55174
|
-
}
|
|
55175
|
-
}
|
|
55176
|
-
|
|
55177
|
-
var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
55178
|
-
var from;
|
|
55179
|
-
var to = toObject(target);
|
|
55180
|
-
var symbols;
|
|
55181
|
-
|
|
55182
|
-
for (var s = 1; s < arguments.length; s++) {
|
|
55183
|
-
from = Object(arguments[s]);
|
|
55184
|
-
|
|
55185
|
-
for (var key in from) {
|
|
55186
|
-
if (hasOwnProperty$1.call(from, key)) {
|
|
55187
|
-
to[key] = from[key];
|
|
55188
|
-
}
|
|
55189
|
-
}
|
|
55190
|
-
|
|
55191
|
-
if (getOwnPropertySymbols) {
|
|
55192
|
-
symbols = getOwnPropertySymbols(from);
|
|
55193
|
-
for (var i = 0; i < symbols.length; i++) {
|
|
55194
|
-
if (propIsEnumerable.call(from, symbols[i])) {
|
|
55195
|
-
to[symbols[i]] = from[symbols[i]];
|
|
55196
|
-
}
|
|
55197
|
-
}
|
|
55198
|
-
}
|
|
55199
|
-
}
|
|
55200
|
-
|
|
55201
|
-
return to;
|
|
55202
|
-
};
|
|
55203
|
-
|
|
55204
|
-
function encoderForArrayFormat(opts) {
|
|
55205
|
-
switch (opts.arrayFormat) {
|
|
55206
|
-
case 'index':
|
|
55207
|
-
return function (key, value, index) {
|
|
55208
|
-
return value === null ? [
|
|
55209
|
-
encode(key, opts),
|
|
55210
|
-
'[',
|
|
55211
|
-
index,
|
|
55212
|
-
']'
|
|
55213
|
-
].join('') : [
|
|
55214
|
-
encode(key, opts),
|
|
55215
|
-
'[',
|
|
55216
|
-
encode(index, opts),
|
|
55217
|
-
']=',
|
|
55218
|
-
encode(value, opts)
|
|
55219
|
-
].join('');
|
|
55220
|
-
};
|
|
55221
|
-
|
|
55222
|
-
case 'bracket':
|
|
55223
|
-
return function (key, value) {
|
|
55224
|
-
return value === null ? encode(key, opts) : [
|
|
55225
|
-
encode(key, opts),
|
|
55226
|
-
'[]=',
|
|
55227
|
-
encode(value, opts)
|
|
55228
|
-
].join('');
|
|
55229
|
-
};
|
|
55230
|
-
|
|
55231
|
-
default:
|
|
55232
|
-
return function (key, value) {
|
|
55233
|
-
return value === null ? encode(key, opts) : [
|
|
55234
|
-
encode(key, opts),
|
|
55235
|
-
'=',
|
|
55236
|
-
encode(value, opts)
|
|
55237
|
-
].join('');
|
|
55238
|
-
};
|
|
55239
|
-
}
|
|
55240
|
-
}
|
|
55241
|
-
|
|
55242
|
-
function parserForArrayFormat(opts) {
|
|
55243
|
-
var result;
|
|
55244
|
-
|
|
55245
|
-
switch (opts.arrayFormat) {
|
|
55246
|
-
case 'index':
|
|
55247
|
-
return function (key, value, accumulator) {
|
|
55248
|
-
result = /\[(\d*)\]$/.exec(key);
|
|
55249
|
-
|
|
55250
|
-
key = key.replace(/\[\d*\]$/, '');
|
|
55251
|
-
|
|
55252
|
-
if (!result) {
|
|
55253
|
-
accumulator[key] = value;
|
|
55254
|
-
return;
|
|
55255
|
-
}
|
|
55256
|
-
|
|
55257
|
-
if (accumulator[key] === undefined) {
|
|
55258
|
-
accumulator[key] = {};
|
|
55259
|
-
}
|
|
55260
|
-
|
|
55261
|
-
accumulator[key][result[1]] = value;
|
|
55262
|
-
};
|
|
55263
|
-
|
|
55264
|
-
case 'bracket':
|
|
55265
|
-
return function (key, value, accumulator) {
|
|
55266
|
-
result = /(\[\])$/.exec(key);
|
|
55267
|
-
key = key.replace(/\[\]$/, '');
|
|
55268
|
-
|
|
55269
|
-
if (!result) {
|
|
55270
|
-
accumulator[key] = value;
|
|
55271
|
-
return;
|
|
55272
|
-
} else if (accumulator[key] === undefined) {
|
|
55273
|
-
accumulator[key] = [value];
|
|
55274
|
-
return;
|
|
55275
|
-
}
|
|
55276
|
-
|
|
55277
|
-
accumulator[key] = [].concat(accumulator[key], value);
|
|
55278
|
-
};
|
|
55279
|
-
|
|
55280
|
-
default:
|
|
55281
|
-
return function (key, value, accumulator) {
|
|
55282
|
-
if (accumulator[key] === undefined) {
|
|
55283
|
-
accumulator[key] = value;
|
|
55284
|
-
return;
|
|
55285
|
-
}
|
|
55286
|
-
|
|
55287
|
-
accumulator[key] = [].concat(accumulator[key], value);
|
|
55288
|
-
};
|
|
55289
|
-
}
|
|
55290
|
-
}
|
|
55291
|
-
|
|
55292
|
-
function encode(value, opts) {
|
|
55293
|
-
if (opts.encode) {
|
|
55294
|
-
return opts.strict ? strictUriEncode(value) : encodeURIComponent(value);
|
|
55295
|
-
}
|
|
55296
|
-
|
|
55297
|
-
return value;
|
|
55298
|
-
}
|
|
55299
|
-
|
|
55300
|
-
function keysSorter(input) {
|
|
55301
|
-
if (Array.isArray(input)) {
|
|
55302
|
-
return input.sort();
|
|
55303
|
-
} else if (typeof input === 'object') {
|
|
55304
|
-
return keysSorter(Object.keys(input)).sort(function (a, b) {
|
|
55305
|
-
return Number(a) - Number(b);
|
|
55306
|
-
}).map(function (key) {
|
|
55307
|
-
return input[key];
|
|
55308
|
-
});
|
|
55309
|
-
}
|
|
55310
|
-
|
|
55311
|
-
return input;
|
|
55312
|
-
}
|
|
55313
|
-
|
|
55314
|
-
var extract = function (str) {
|
|
55315
|
-
return str.split('?')[1] || '';
|
|
55316
|
-
};
|
|
55317
|
-
|
|
55318
|
-
var parse = function (str, opts) {
|
|
55319
|
-
opts = objectAssign({arrayFormat: 'none'}, opts);
|
|
55320
|
-
|
|
55321
|
-
var formatter = parserForArrayFormat(opts);
|
|
55322
|
-
|
|
55323
|
-
// Create an object with no prototype
|
|
55324
|
-
// https://github.com/sindresorhus/query-string/issues/47
|
|
55325
|
-
var ret = Object.create(null);
|
|
55326
|
-
|
|
55327
|
-
if (typeof str !== 'string') {
|
|
55328
|
-
return ret;
|
|
55329
|
-
}
|
|
55330
|
-
|
|
55331
|
-
str = str.trim().replace(/^(\?|#|&)/, '');
|
|
55332
|
-
|
|
55333
|
-
if (!str) {
|
|
55334
|
-
return ret;
|
|
55335
|
-
}
|
|
55336
|
-
|
|
55337
|
-
str.split('&').forEach(function (param) {
|
|
55338
|
-
var parts = param.replace(/\+/g, ' ').split('=');
|
|
55339
|
-
// Firefox (pre 40) decodes `%3D` to `=`
|
|
55340
|
-
// https://github.com/sindresorhus/query-string/pull/37
|
|
55341
|
-
var key = parts.shift();
|
|
55342
|
-
var val = parts.length > 0 ? parts.join('=') : undefined;
|
|
55343
|
-
|
|
55344
|
-
// missing `=` should be `null`:
|
|
55345
|
-
// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters
|
|
55346
|
-
val = val === undefined ? null : decodeURIComponent(val);
|
|
55347
|
-
|
|
55348
|
-
formatter(decodeURIComponent(key), val, ret);
|
|
55349
|
-
});
|
|
55350
|
-
|
|
55351
|
-
return Object.keys(ret).sort().reduce(function (result, key) {
|
|
55352
|
-
var val = ret[key];
|
|
55353
|
-
if (Boolean(val) && typeof val === 'object' && !Array.isArray(val)) {
|
|
55354
|
-
// Sort object keys, not values
|
|
55355
|
-
result[key] = keysSorter(val);
|
|
55356
|
-
} else {
|
|
55357
|
-
result[key] = val;
|
|
55358
|
-
}
|
|
55359
|
-
|
|
55360
|
-
return result;
|
|
55361
|
-
}, Object.create(null));
|
|
55362
|
-
};
|
|
55363
|
-
|
|
55364
|
-
var stringify = function (obj, opts) {
|
|
55365
|
-
var defaults = {
|
|
55366
|
-
encode: true,
|
|
55367
|
-
strict: true,
|
|
55368
|
-
arrayFormat: 'none'
|
|
55369
|
-
};
|
|
55370
|
-
|
|
55371
|
-
opts = objectAssign(defaults, opts);
|
|
55372
|
-
|
|
55373
|
-
var formatter = encoderForArrayFormat(opts);
|
|
55374
|
-
|
|
55375
|
-
return obj ? Object.keys(obj).sort().map(function (key) {
|
|
55376
|
-
var val = obj[key];
|
|
55377
|
-
|
|
55378
|
-
if (val === undefined) {
|
|
55379
|
-
return '';
|
|
55380
|
-
}
|
|
55381
|
-
|
|
55382
|
-
if (val === null) {
|
|
55383
|
-
return encode(key, opts);
|
|
55384
|
-
}
|
|
55385
|
-
|
|
55386
|
-
if (Array.isArray(val)) {
|
|
55387
|
-
var result = [];
|
|
55388
|
-
|
|
55389
|
-
val.slice().forEach(function (val2) {
|
|
55390
|
-
if (val2 === undefined) {
|
|
55391
|
-
return;
|
|
55392
|
-
}
|
|
55393
|
-
|
|
55394
|
-
result.push(formatter(key, val2, result.length));
|
|
55395
|
-
});
|
|
55396
|
-
|
|
55397
|
-
return result.join('&');
|
|
55398
|
-
}
|
|
55399
|
-
|
|
55400
|
-
return encode(key, opts) + '=' + encode(val, opts);
|
|
55401
|
-
}).filter(function (x) {
|
|
55402
|
-
return x.length > 0;
|
|
55403
|
-
}).join('&') : '';
|
|
55404
|
-
};
|
|
55405
|
-
|
|
55406
|
-
var queryString = {
|
|
55407
|
-
extract: extract,
|
|
55408
|
-
parse: parse,
|
|
55409
|
-
stringify: stringify
|
|
55410
|
-
};
|
|
55411
|
-
|
|
55412
55119
|
var exportFormats$2 = ["xlsx"];
|
|
55413
55120
|
var totalPageCount = 1;
|
|
55414
55121
|
var loadedPageCount = 1;
|
|
@@ -55493,13 +55200,15 @@ var _OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
55493
55200
|
locale(localStorage.getItem("locale"));
|
|
55494
55201
|
loadMessages(JSON.parse(localStorage.getItem("localTranslation")));
|
|
55495
55202
|
if (gridRef.current) {
|
|
55496
|
-
|
|
55203
|
+
var _gridRef$current, _gridRef$current$inst, _gridRef$current$inst2;
|
|
55204
|
+
(_gridRef$current = gridRef.current) === null || _gridRef$current === void 0 ? void 0 : (_gridRef$current$inst = _gridRef$current.instance) === null || _gridRef$current$inst === void 0 ? void 0 : (_gridRef$current$inst2 = _gridRef$current$inst.call(_gridRef$current)) === null || _gridRef$current$inst2 === void 0 ? void 0 : _gridRef$current$inst2.updateDimensions();
|
|
55497
55205
|
}
|
|
55498
55206
|
}, []);
|
|
55499
55207
|
useEffect(function () {
|
|
55500
55208
|
if (contentReady) checkSortingPropertyForInitilaize();
|
|
55501
55209
|
}, [contentReady]);
|
|
55502
55210
|
useEffect(function () {
|
|
55211
|
+
var _gridRef$current$inst4, _gridRef$current3;
|
|
55503
55212
|
var cssRules = "\n .data-exists .dx-datagrid-borders > .dx-datagrid-filter-panel,\n .data-exists .dx-datagrid-borders > .dx-datagrid-headers {\n border-top: 1px solid rgba(0, 0, 0, 0.06);\n padding-right: 0px !important;\n }\n \n .data-exists .dx-datagrid-headers .dx-datagrid-content {\n margin-bottom: -1px;\n padding-right: 17px !important;\n }\n ";
|
|
55504
55213
|
var styleSheet = document.createElement('style');
|
|
55505
55214
|
styleSheet.type = 'text/css';
|
|
@@ -55507,9 +55216,10 @@ var _OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
55507
55216
|
document.head.appendChild(styleSheet);
|
|
55508
55217
|
var checkData = function checkData() {
|
|
55509
55218
|
if (gridRef.current) {
|
|
55510
|
-
var
|
|
55219
|
+
var _gridRef$current$inst3, _gridRef$current2;
|
|
55220
|
+
var _dataGridInstance = (_gridRef$current$inst3 = (_gridRef$current2 = gridRef.current).instance) === null || _gridRef$current$inst3 === void 0 ? void 0 : _gridRef$current$inst3.call(_gridRef$current2);
|
|
55511
55221
|
var dataExists = data.length >= 15;
|
|
55512
|
-
var gridElement = _dataGridInstance.element();
|
|
55222
|
+
var gridElement = _dataGridInstance === null || _dataGridInstance === void 0 ? void 0 : _dataGridInstance.element();
|
|
55513
55223
|
if (dataExists) {
|
|
55514
55224
|
gridElement.classList.add('data-exists');
|
|
55515
55225
|
} else {
|
|
@@ -55517,19 +55227,20 @@ var _OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
55517
55227
|
}
|
|
55518
55228
|
}
|
|
55519
55229
|
};
|
|
55520
|
-
var dataGridInstance = gridRef.current.instance;
|
|
55521
|
-
dataGridInstance.on('dataChanged', checkData);
|
|
55230
|
+
var dataGridInstance = (_gridRef$current$inst4 = (_gridRef$current3 = gridRef.current).instance) === null || _gridRef$current$inst4 === void 0 ? void 0 : _gridRef$current$inst4.call(_gridRef$current3);
|
|
55231
|
+
dataGridInstance === null || dataGridInstance === void 0 ? void 0 : dataGridInstance.on('dataChanged', checkData);
|
|
55522
55232
|
checkData();
|
|
55523
55233
|
return function () {
|
|
55524
55234
|
document.head.removeChild(styleSheet);
|
|
55525
|
-
dataGridInstance.off('dataChanged', checkData);
|
|
55235
|
+
dataGridInstance === null || dataGridInstance === void 0 ? void 0 : dataGridInstance.off('dataChanged', checkData);
|
|
55526
55236
|
};
|
|
55527
55237
|
}, [data]);
|
|
55528
55238
|
var checkSortingPropertyForInitilaize = function checkSortingPropertyForInitilaize() {
|
|
55529
55239
|
var onOptionChanged = props.onOptionChanged;
|
|
55530
55240
|
if (onOptionChanged) {
|
|
55531
|
-
var
|
|
55532
|
-
var
|
|
55241
|
+
var _gridRef$current$inst5, _gridRef$current4;
|
|
55242
|
+
var dataGridInstance = (_gridRef$current$inst5 = (_gridRef$current4 = gridRef.current).instance) === null || _gridRef$current$inst5 === void 0 ? void 0 : _gridRef$current$inst5.call(_gridRef$current4);
|
|
55243
|
+
var sortingState = dataGridInstance === null || dataGridInstance === void 0 ? void 0 : dataGridInstance.getVisibleColumns().filter(function (p) {
|
|
55533
55244
|
return !p.command;
|
|
55534
55245
|
}).map(function (column, index) {
|
|
55535
55246
|
return {
|
|
@@ -55926,7 +55637,8 @@ var _OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
55926
55637
|
run(e);
|
|
55927
55638
|
};
|
|
55928
55639
|
useEffect(function () {
|
|
55929
|
-
var
|
|
55640
|
+
var _gridRef$current$inst6, _gridRef$current5, _gridRef$current$inst7;
|
|
55641
|
+
var gridElement = (_gridRef$current$inst6 = (_gridRef$current5 = gridRef.current).instance) === null || _gridRef$current$inst6 === void 0 ? void 0 : (_gridRef$current$inst7 = _gridRef$current$inst6.call(_gridRef$current5)) === null || _gridRef$current$inst7 === void 0 ? void 0 : _gridRef$current$inst7.element();
|
|
55930
55642
|
gridElement.scrollTop = scrollPosition;
|
|
55931
55643
|
}, [data.length]);
|
|
55932
55644
|
useEffect(function () {
|
|
@@ -56263,22 +55975,26 @@ var OdsServerSideDatagrid = function OdsServerSideDatagrid(props) {
|
|
|
56263
55975
|
}
|
|
56264
55976
|
}, [props.columns, filterApplied]);
|
|
56265
55977
|
var handleOptionChanged = useCallback(function (e) {
|
|
56266
|
-
var
|
|
55978
|
+
var _props$dataGridRef$cu, _props$dataGridRef$cu2;
|
|
55979
|
+
if (props.dataGridRef.current === null) {
|
|
55980
|
+
return;
|
|
55981
|
+
}
|
|
55982
|
+
var dataGrid = (_props$dataGridRef$cu = props.dataGridRef.current) === null || _props$dataGridRef$cu === void 0 ? void 0 : (_props$dataGridRef$cu2 = _props$dataGridRef$cu.instance) === null || _props$dataGridRef$cu2 === void 0 ? void 0 : _props$dataGridRef$cu2.call(_props$dataGridRef$cu);
|
|
56267
55983
|
var updateFilterStatus = function updateFilterStatus() {
|
|
56268
|
-
var filters = dataGrid.getCombinedFilter(true);
|
|
55984
|
+
var filters = dataGrid === null || dataGrid === void 0 ? void 0 : dataGrid.getCombinedFilter(true);
|
|
56269
55985
|
var active = filters && filters.length > 0;
|
|
56270
55986
|
setFilterApplied(active);
|
|
56271
55987
|
return active;
|
|
56272
55988
|
};
|
|
56273
55989
|
if (e.fullName.includes("sortOrder")) {
|
|
56274
|
-
dataGrid.getScrollable().scrollTo(0);
|
|
55990
|
+
dataGrid === null || dataGrid === void 0 ? void 0 : dataGrid.getScrollable().scrollTo(0);
|
|
56275
55991
|
}
|
|
56276
55992
|
if (e.fullName.includes("filterValue") || e.fullName.includes("filter") || e.fullName === "searchPanel.text") {
|
|
56277
55993
|
var active = updateFilterStatus();
|
|
56278
55994
|
if (active) {
|
|
56279
55995
|
setTimeout(function () {
|
|
56280
|
-
dataGrid.refresh().done(function () {
|
|
56281
|
-
totalFilteredCount.current = dataGrid.totalCount();
|
|
55996
|
+
dataGrid === null || dataGrid === void 0 ? void 0 : dataGrid.refresh().done(function () {
|
|
55997
|
+
totalFilteredCount.current = dataGrid === null || dataGrid === void 0 ? void 0 : dataGrid.totalCount();
|
|
56282
55998
|
setUpdateTrigger(function (prev) {
|
|
56283
55999
|
return !prev;
|
|
56284
56000
|
});
|
|
@@ -57312,7 +57028,8 @@ var OdsTimelineTable = forwardRef(function (props, ref) {
|
|
|
57312
57028
|
});
|
|
57313
57029
|
});
|
|
57314
57030
|
} else {
|
|
57315
|
-
|
|
57031
|
+
var _refGantt$current, _refGantt$current$ins, _refGantt$current$ins2;
|
|
57032
|
+
(_refGantt$current = refGantt.current) === null || _refGantt$current === void 0 ? void 0 : (_refGantt$current$ins = _refGantt$current.instance) === null || _refGantt$current$ins === void 0 ? void 0 : (_refGantt$current$ins2 = _refGantt$current$ins.call(_refGantt$current)) === null || _refGantt$current$ins2 === void 0 ? void 0 : _refGantt$current$ins2.clearSorting();
|
|
57316
57033
|
}
|
|
57317
57034
|
onSortingChanged && onSortingChanged([], undefined);
|
|
57318
57035
|
};
|
|
@@ -57504,8 +57221,8 @@ var OdsTimelineTable = forwardRef(function (props, ref) {
|
|
|
57504
57221
|
}));
|
|
57505
57222
|
};
|
|
57506
57223
|
var exportExcel = function exportExcel() {
|
|
57507
|
-
var _toolbarSettings$expo, _toolbarSettings$expo2, _toolbarSettings$expo3, _toolbarSettings$expo4, _toolbarSettings$expo5, _toolbarSettings$expo6;
|
|
57508
|
-
var exportableDataGrid = refDataGridExportable.current.instance;
|
|
57224
|
+
var _refDataGridExportabl, _refDataGridExportabl2, _toolbarSettings$expo, _toolbarSettings$expo2, _toolbarSettings$expo3, _toolbarSettings$expo4, _toolbarSettings$expo5, _toolbarSettings$expo6;
|
|
57225
|
+
var exportableDataGrid = (_refDataGridExportabl = refDataGridExportable.current) === null || _refDataGridExportabl === void 0 ? void 0 : (_refDataGridExportabl2 = _refDataGridExportabl.instance) === null || _refDataGridExportabl2 === void 0 ? void 0 : _refDataGridExportabl2.call(_refDataGridExportabl);
|
|
57509
57226
|
exportToExcel({
|
|
57510
57227
|
gridComponent: exportableDataGrid,
|
|
57511
57228
|
baseFileName: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo = toolbarSettings["export"]) === null || _toolbarSettings$expo === void 0 ? void 0 : _toolbarSettings$expo.fileName,
|
|
@@ -57519,8 +57236,8 @@ var OdsTimelineTable = forwardRef(function (props, ref) {
|
|
|
57519
57236
|
});
|
|
57520
57237
|
};
|
|
57521
57238
|
var exportPdf = function exportPdf() {
|
|
57522
|
-
var _toolbarSettings$expo7, _toolbarSettings$expo8, _toolbarSettings$expo9;
|
|
57523
|
-
var exportableTimelineTable = refGanttExportable.current.instance;
|
|
57239
|
+
var _refGanttExportable$c, _refGanttExportable$c2, _toolbarSettings$expo7, _toolbarSettings$expo8, _toolbarSettings$expo9;
|
|
57240
|
+
var exportableTimelineTable = (_refGanttExportable$c = refGanttExportable.current) === null || _refGanttExportable$c === void 0 ? void 0 : (_refGanttExportable$c2 = _refGanttExportable$c.instance) === null || _refGanttExportable$c2 === void 0 ? void 0 : _refGanttExportable$c2.call(_refGanttExportable$c);
|
|
57524
57241
|
exportGantt({
|
|
57525
57242
|
component: exportableTimelineTable,
|
|
57526
57243
|
createDocumentMethod: function createDocumentMethod(args) {
|
|
@@ -58073,16 +57790,13 @@ var OdsTransfer = function OdsTransfer(props) {
|
|
|
58073
57790
|
}, (_props$showFilters = props.showFilters) != null ? _props$showFilters : React.createElement(FilterRow, {
|
|
58074
57791
|
visible: true
|
|
58075
57792
|
}), props.columns.map(function (column) {
|
|
58076
|
-
return React.createElement(Column,
|
|
57793
|
+
return React.createElement(Column, {
|
|
58077
57794
|
dataField: column.dataField,
|
|
58078
57795
|
caption: column.caption,
|
|
58079
57796
|
dataType: column.dataType,
|
|
58080
|
-
calculateSortValue: column.calculateSortValue
|
|
58081
|
-
|
|
58082
|
-
|
|
58083
|
-
visible: true
|
|
58084
|
-
}
|
|
58085
|
-
} : {}));
|
|
57797
|
+
calculateSortValue: column.calculateSortValue,
|
|
57798
|
+
allowHeaderFiltering: props.showFilters
|
|
57799
|
+
});
|
|
58086
57800
|
}), props.displayPageTitle && React.createElement(Toolbar, null, React.createElement(Item, {
|
|
58087
57801
|
location: "before",
|
|
58088
57802
|
cssClass: "toolbarTitleItem"
|
|
@@ -58337,18 +58051,14 @@ var OdsTransferV2 = function OdsTransferV2(_ref) {
|
|
|
58337
58051
|
key: column,
|
|
58338
58052
|
dataField: column,
|
|
58339
58053
|
caption: column,
|
|
58340
|
-
headerFilter: {
|
|
58341
|
-
visible: true
|
|
58342
|
-
}
|
|
58054
|
+
headerFilter: {}
|
|
58343
58055
|
}) : React.createElement(Column, {
|
|
58344
58056
|
key: column.dataIndex,
|
|
58345
58057
|
dataField: column.dataField || column.dataIndex,
|
|
58346
58058
|
caption: column.caption || column.title,
|
|
58347
58059
|
dataType: column.dataType,
|
|
58348
58060
|
calculateSortValue: column.calculateSortValue,
|
|
58349
|
-
headerFilter: {
|
|
58350
|
-
visible: true
|
|
58351
|
-
}
|
|
58061
|
+
headerFilter: {}
|
|
58352
58062
|
});
|
|
58353
58063
|
}), displayPageTitle && React.createElement(Toolbar, null, React.createElement(Item, {
|
|
58354
58064
|
location: "before",
|