ods-component-lib 1.18.202 → 1.18.205
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/form/OdsBasicForm.d.ts +18 -0
- package/dist/components/antd/icon/OdsIcon.d.ts +10 -0
- package/dist/components/antd/modal/OdsAdvanceModal.d.ts +7 -0
- package/dist/components/antd/select/OdsCustomMultiSelect.d.ts +7 -0
- package/dist/components/antd/select/OdsMultiSelect.d.ts +9 -0
- package/dist/components/custom/OdsLogin.d.ts +8 -0
- package/dist/components/devextreme/DxDataPopupForm.d.ts +3 -0
- package/dist/components/devextreme/DynamicIcon.d.ts +5 -0
- package/dist/components/devextreme/OdsDataGridNew.d.ts +56 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/ContentHandlers.d.ts +14 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/EditorPreparedHandlers.d.ts +7 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OnExportingHandlers.d.ts +19 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OptionHandlers.d.ts +7 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/SummaryHandlers.d.ts +21 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/ActionCellRender.d.ts +15 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/EditingPartial.d.ts +9 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/PageTitle.d.ts +8 -0
- package/dist/components/devextreme/OdsInlineEditDataGrid/utils.d.ts +19 -0
- package/dist/components/devextreme/OdsProfDataGrid.d.ts +3 -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/components/devextreme/dataGridHandlers/OnToolbarButtonHandler.d.ts +7 -0
- package/dist/components/devextreme/dataGridStyle.d.ts +3 -0
- package/dist/components/devextreme/treeview/DxTreeView.d.ts +3 -0
- package/dist/index.js +10 -15
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +10 -15
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsAdvanceModal/OdsAdvanceModal.stories.d.ts +42 -0
- package/dist/stories/OdsAdvanceModal/Samples/BasicOdsAdvanceModal.sample.d.ts +8 -0
- package/dist/stories/OdsCustomMultiSelect/OdsCustomMultiSelect.stories.d.ts +9 -0
- package/dist/stories/OdsCustomMultiSelect/Samples/Basic.Sample.d.ts +1 -0
- package/dist/stories/OdsCustomMultiSelect/Samples/ModeMultiple.Sample.d.ts +1 -0
- package/dist/stories/OdsModal/Samples/OdsModal.Sample.d.ts +1 -0
- 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/dist/utils/DynamicIcon.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -33142,25 +33142,20 @@ var ExportDataGridToExcel = function ExportDataGridToExcel(_ref) {
|
|
|
33142
33142
|
lastProcessedRowData = gridCell.data;
|
|
33143
33143
|
}
|
|
33144
33144
|
if ((gridCell.column.dataType === "datetime" || gridCell.column.dataField === "CreateDate" || gridCell.column.dataField === "ModifyDate") && gridCell.value) {
|
|
33145
|
-
|
|
33146
|
-
var formattedDate = date.format("DD.MM.YYYY HH:mm");
|
|
33147
|
-
excelCell.value = formattedDate;
|
|
33145
|
+
excelCell.value = moment(gridCell.value).format("DD.MM.YYYY HH:mm");
|
|
33148
33146
|
} else if (gridCell.column.dataType === "date" && gridCell.value) {
|
|
33149
|
-
|
|
33150
|
-
var _formattedDate = _date.format("DD.MM.YYYY");
|
|
33151
|
-
excelCell.value = _formattedDate;
|
|
33152
|
-
} else {
|
|
33153
|
-
excelCell.font = {
|
|
33154
|
-
name: 'Arial',
|
|
33155
|
-
size: 12
|
|
33156
|
-
};
|
|
33157
|
-
excelCell.alignment = {
|
|
33158
|
-
horizontal: 'left'
|
|
33159
|
-
};
|
|
33147
|
+
excelCell.value = moment(gridCell.value).format("DD.MM.YYYY");
|
|
33160
33148
|
}
|
|
33161
33149
|
if (gridCell.rowType === 'data' && gridCell.column.dataField.toLowerCase() === "isactive") {
|
|
33162
33150
|
excelCell.value = gridCell.value === true ? "" + activeText : "" + passiveText;
|
|
33163
33151
|
}
|
|
33152
|
+
excelCell.font = {
|
|
33153
|
+
name: 'Arial',
|
|
33154
|
+
size: 12
|
|
33155
|
+
};
|
|
33156
|
+
excelCell.alignment = {
|
|
33157
|
+
horizontal: 'left'
|
|
33158
|
+
};
|
|
33164
33159
|
}
|
|
33165
33160
|
}
|
|
33166
33161
|
}).then(function () {
|
|
@@ -34682,7 +34677,7 @@ var OdsServerSideDatagrid = function OdsServerSideDatagrid(props) {
|
|
|
34682
34677
|
var result;
|
|
34683
34678
|
if (props.isClientSideOperation) {
|
|
34684
34679
|
var _props$customSummary3;
|
|
34685
|
-
result = ((_props$customSummary3 = props.customSummary) === null || _props$customSummary3 === void 0 ? void 0 : _props$customSummary3.summaryTotalDataLabel) + " : " + totalRecords + " ";
|
|
34680
|
+
result = "" + filteredDisplayText + ((_props$customSummary3 = props.customSummary) === null || _props$customSummary3 === void 0 ? void 0 : _props$customSummary3.summaryTotalDataLabel) + " : " + totalRecords + " ";
|
|
34686
34681
|
} else {
|
|
34687
34682
|
var _props$customSummary4, _props$customSummary5;
|
|
34688
34683
|
result = "" + filteredDisplayText + loadedDisplayText + totalRecords + " " + ((_props$customSummary4 = props.customSummary) === null || _props$customSummary4 === void 0 ? void 0 : _props$customSummary4.summaryTotalDataLabel);
|