ods-component-lib 1.18.248 → 1.18.249
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.modern.js
CHANGED
|
@@ -23,7 +23,7 @@ import { saveAs as saveAs$1 } from 'file-saver';
|
|
|
23
23
|
import 'devextreme/dist/css/dx.light.css';
|
|
24
24
|
import DataSource from 'devextreme/data/data_source';
|
|
25
25
|
import query from 'devextreme/data/query';
|
|
26
|
-
import { Gantt, Toolbar as Toolbar$2, Item as Item$2, ContextMenu, Column as Column$1, Tasks, Sorting as Sorting$1 } from 'devextreme-react/gantt';
|
|
26
|
+
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
27
|
import 'jspdf-autotable';
|
|
28
28
|
import { Button as Button$2 } from 'devextreme-react/button';
|
|
29
29
|
|
|
@@ -56311,7 +56311,7 @@ var OdsTimelineTableColumnChooser = function OdsTimelineTableColumnChooser(props
|
|
|
56311
56311
|
};
|
|
56312
56312
|
|
|
56313
56313
|
var OdsTimelineTable = forwardRef(function (props, ref) {
|
|
56314
|
-
var _toolbarSettings$sear, _toolbarSettings$sear5, _toolbarSettings$expo12, _toolbarSettings$expo13, _toolbarSettings$expo14, _toolbarSettings$expo15, _toolbarSettings$expo16, _toolbarSettings$colu;
|
|
56314
|
+
var _toolbarSettings$sear, _toolbarSettings$sear5, _toolbarSettings$expo12, _toolbarSettings$expo13, _toolbarSettings$expo14, _toolbarSettings$expo15, _toolbarSettings$expo16, _toolbarSettings$expo17, _toolbarSettings$expo18, _toolbarSettings$colu;
|
|
56315
56315
|
var customColumns = props.customColumns,
|
|
56316
56316
|
customTasks = props.customTasks,
|
|
56317
56317
|
customTaskKey = props.customTaskKey,
|
|
@@ -56694,6 +56694,12 @@ var OdsTimelineTable = forwardRef(function (props, ref) {
|
|
|
56694
56694
|
mode: sortingMode,
|
|
56695
56695
|
showSortIndexes: false
|
|
56696
56696
|
}
|
|
56697
|
+
}), React.createElement(HeaderFilter$1, {
|
|
56698
|
+
visible: true,
|
|
56699
|
+
allowSearch: true,
|
|
56700
|
+
allowSelectAll: true
|
|
56701
|
+
}), React.createElement(FilterRow$1, {
|
|
56702
|
+
visible: true
|
|
56697
56703
|
}), toolbarSettings !== null && toolbarSettings !== void 0 && toolbarSettings.visible ? React.createElement(Toolbar$2, null, React.createElement(Item$2, {
|
|
56698
56704
|
key: "OdsTimelineTable_ToolbarItem_DateFilter",
|
|
56699
56705
|
visible: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : toolbarSettings.dateFilterVisible,
|
|
@@ -56729,11 +56735,11 @@ var OdsTimelineTable = forwardRef(function (props, ref) {
|
|
|
56729
56735
|
items: [{
|
|
56730
56736
|
icon: "export",
|
|
56731
56737
|
items: [{
|
|
56732
|
-
text: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$
|
|
56738
|
+
text: (_toolbarSettings$expo13 = toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo14 = toolbarSettings["export"]) === null || _toolbarSettings$expo14 === void 0 ? void 0 : (_toolbarSettings$expo15 = _toolbarSettings$expo14.pdf) === null || _toolbarSettings$expo15 === void 0 ? void 0 : _toolbarSettings$expo15.title) != null ? _toolbarSettings$expo13 : "Export to Pdf",
|
|
56733
56739
|
icon: "exportpdf",
|
|
56734
56740
|
onClick: exportPdf
|
|
56735
56741
|
}, {
|
|
56736
|
-
text: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$
|
|
56742
|
+
text: (_toolbarSettings$expo16 = toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo17 = toolbarSettings["export"]) === null || _toolbarSettings$expo17 === void 0 ? void 0 : (_toolbarSettings$expo18 = _toolbarSettings$expo17.excel) === null || _toolbarSettings$expo18 === void 0 ? void 0 : _toolbarSettings$expo18.title) != null ? _toolbarSettings$expo16 : "Export to Excel",
|
|
56737
56743
|
icon: "exportxlsx",
|
|
56738
56744
|
onClick: exportExcel
|
|
56739
56745
|
}]
|
|
@@ -56822,6 +56828,7 @@ var OdsTimelineTable = forwardRef(function (props, ref) {
|
|
|
56822
56828
|
}), children), React.createElement(DataGrid$1, {
|
|
56823
56829
|
key: "DataGrid_Export",
|
|
56824
56830
|
ref: refDataGridExportable,
|
|
56831
|
+
className: "odsTimelineTable-ExportDataGrid",
|
|
56825
56832
|
width: 0,
|
|
56826
56833
|
height: 0,
|
|
56827
56834
|
dataSource: exportableTasks
|