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.
@@ -126,12 +126,12 @@ export interface IOdsTimelineTableToolbarSettings {
126
126
  selectedText?: string;
127
127
  activeText?: string;
128
128
  passiveText?: string;
129
- pdf: {
130
- title: string;
129
+ pdf?: {
130
+ title?: string;
131
131
  documentFormat?: ExportDocumentType;
132
132
  };
133
- excel: {
134
- title: string;
133
+ excel?: {
134
+ title?: string;
135
135
  };
136
136
  };
137
137
  columnChooser?: {
package/dist/index.js CHANGED
@@ -56337,7 +56337,7 @@ var OdsTimelineTableColumnChooser = function OdsTimelineTableColumnChooser(props
56337
56337
  };
56338
56338
 
56339
56339
  var OdsTimelineTable = React.forwardRef(function (props, ref) {
56340
- var _toolbarSettings$sear, _toolbarSettings$sear5, _toolbarSettings$expo12, _toolbarSettings$expo13, _toolbarSettings$expo14, _toolbarSettings$expo15, _toolbarSettings$expo16, _toolbarSettings$colu;
56340
+ var _toolbarSettings$sear, _toolbarSettings$sear5, _toolbarSettings$expo12, _toolbarSettings$expo13, _toolbarSettings$expo14, _toolbarSettings$expo15, _toolbarSettings$expo16, _toolbarSettings$expo17, _toolbarSettings$expo18, _toolbarSettings$colu;
56341
56341
  var customColumns = props.customColumns,
56342
56342
  customTasks = props.customTasks,
56343
56343
  customTaskKey = props.customTaskKey,
@@ -56720,6 +56720,12 @@ var OdsTimelineTable = React.forwardRef(function (props, ref) {
56720
56720
  mode: sortingMode,
56721
56721
  showSortIndexes: false
56722
56722
  }
56723
+ }), React__default.createElement(gantt.HeaderFilter, {
56724
+ visible: true,
56725
+ allowSearch: true,
56726
+ allowSelectAll: true
56727
+ }), React__default.createElement(gantt.FilterRow, {
56728
+ visible: true
56723
56729
  }), toolbarSettings !== null && toolbarSettings !== void 0 && toolbarSettings.visible ? React__default.createElement(gantt.Toolbar, null, React__default.createElement(gantt.Item, {
56724
56730
  key: "OdsTimelineTable_ToolbarItem_DateFilter",
56725
56731
  visible: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : toolbarSettings.dateFilterVisible,
@@ -56755,11 +56761,11 @@ var OdsTimelineTable = React.forwardRef(function (props, ref) {
56755
56761
  items: [{
56756
56762
  icon: "export",
56757
56763
  items: [{
56758
- text: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo13 = toolbarSettings["export"]) === null || _toolbarSettings$expo13 === void 0 ? void 0 : (_toolbarSettings$expo14 = _toolbarSettings$expo13.pdf) === null || _toolbarSettings$expo14 === void 0 ? void 0 : _toolbarSettings$expo14.title,
56764
+ 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",
56759
56765
  icon: "exportpdf",
56760
56766
  onClick: exportPdf
56761
56767
  }, {
56762
- text: toolbarSettings === null || toolbarSettings === void 0 ? void 0 : (_toolbarSettings$expo15 = toolbarSettings["export"]) === null || _toolbarSettings$expo15 === void 0 ? void 0 : (_toolbarSettings$expo16 = _toolbarSettings$expo15.excel) === null || _toolbarSettings$expo16 === void 0 ? void 0 : _toolbarSettings$expo16.title,
56768
+ 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",
56763
56769
  icon: "exportxlsx",
56764
56770
  onClick: exportExcel
56765
56771
  }]
@@ -56848,6 +56854,7 @@ var OdsTimelineTable = React.forwardRef(function (props, ref) {
56848
56854
  }), children), React__default.createElement(DataGrid__default, {
56849
56855
  key: "DataGrid_Export",
56850
56856
  ref: refDataGridExportable,
56857
+ className: "odsTimelineTable-ExportDataGrid",
56851
56858
  width: 0,
56852
56859
  height: 0,
56853
56860
  dataSource: exportableTasks