ods-component-lib 1.18.200 → 1.18.201
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/antd/modal/OdsAdvanceModal.d.ts +7 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Constants.d.ts +4 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Functions.d.ts +6 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Types.d.ts +77 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.d.ts +5 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimelineDateFilter.d.ts +3 -0
- package/dist/components/devextreme/OdsTimeline/OdsTimelineSelectionColumn.d.ts +2 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsTimePicker/Samples/TimeRangePicker.d.ts +2 -0
- package/dist/stories/OdsTimeline/OdsTimeline.Constants.d.ts +3 -0
- package/dist/stories/OdsTimeline/OdsTimeline.Functions.d.ts +6 -0
- package/dist/stories/OdsTimeline/OdsTimeline.MockData.d.ts +39 -0
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -33136,10 +33136,14 @@ var ExportDataGridToExcel = function ExportDataGridToExcel(_ref) {
|
|
|
33136
33136
|
rowCount++;
|
|
33137
33137
|
lastProcessedRowData = gridCell.data;
|
|
33138
33138
|
}
|
|
33139
|
-
if ((gridCell.column.dataType === "datetime" || gridCell.column.
|
|
33139
|
+
if ((gridCell.column.dataType === "datetime" || gridCell.column.dataField === "CreateDate" || gridCell.column.dataField === "ModifyDate") && gridCell.value) {
|
|
33140
33140
|
var date = moment(gridCell.value);
|
|
33141
33141
|
var formattedDate = date.format("DD.MM.YYYY HH:mm");
|
|
33142
33142
|
excelCell.value = formattedDate;
|
|
33143
|
+
} else if (gridCell.column.dataType === "date" && gridCell.value) {
|
|
33144
|
+
var _date = moment(gridCell.value);
|
|
33145
|
+
var _formattedDate = _date.format("DD.MM.YYYY");
|
|
33146
|
+
excelCell.value = _formattedDate;
|
|
33143
33147
|
} else {
|
|
33144
33148
|
excelCell.font = {
|
|
33145
33149
|
name: 'Arial',
|