ods-component-lib 1.18.194 → 1.18.196

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.
Files changed (35) hide show
  1. package/dist/components/antd/change/OdsChange.d.ts +1 -1
  2. package/dist/index.js +9 -2
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.modern.js +9 -2
  5. package/dist/index.modern.js.map +1 -1
  6. package/dist/stories/OdsChange/OdsChange.stories.d.ts +10 -0
  7. package/dist/stories/OdsChange/Samples/AdvancedChange.Sample.d.ts +1 -0
  8. package/dist/stories/OdsChange/Samples/BasicChange.Sample.d.ts +1 -0
  9. package/package.json +1 -1
  10. package/dist/App.d.ts +0 -3
  11. package/dist/components/antd/modal/OdsAdvanceModal.d.ts +0 -7
  12. package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/ContentHandlers.d.ts +0 -14
  13. package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/EditorPreparedHandlers.d.ts +0 -7
  14. package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OnExportingHandlers.d.ts +0 -19
  15. package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OptionHandlers.d.ts +0 -7
  16. package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/SummaryHandlers.d.ts +0 -21
  17. package/dist/components/devextreme/OdsInlineEditDataGrid/partials/ActionCellRender.d.ts +0 -15
  18. package/dist/components/devextreme/OdsInlineEditDataGrid/partials/EditingPartial.d.ts +0 -9
  19. package/dist/components/devextreme/OdsInlineEditDataGrid/partials/PageTitle.d.ts +0 -8
  20. package/dist/components/devextreme/OdsInlineEditDataGrid/utils.d.ts +0 -19
  21. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Constants.d.ts +0 -4
  22. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Functions.d.ts +0 -6
  23. package/dist/components/devextreme/OdsTimeline/OdsTimeline.Types.d.ts +0 -77
  24. package/dist/components/devextreme/OdsTimeline/OdsTimeline.d.ts +0 -5
  25. package/dist/components/devextreme/OdsTimeline/OdsTimelineDateFilter.d.ts +0 -3
  26. package/dist/components/devextreme/OdsTimeline/OdsTimelineSelectionColumn.d.ts +0 -2
  27. package/dist/index.umd.js +0 -2
  28. package/dist/index.umd.js.map +0 -1
  29. package/dist/stories/OdsAdvanceModal/OdsAdvanceModal.stories.d.ts +0 -42
  30. package/dist/stories/OdsAdvanceModal/Samples/BasicOdsAdvanceModal.sample.d.ts +0 -8
  31. package/dist/stories/OdsModal/Samples/OdsModal.Sample.d.ts +0 -1
  32. package/dist/stories/OdsTimePicker/Samples/TimeRangePicker.d.ts +0 -2
  33. package/dist/stories/OdsTimeline/OdsTimeline.Constants.d.ts +0 -3
  34. package/dist/stories/OdsTimeline/OdsTimeline.Functions.d.ts +0 -6
  35. package/dist/stories/OdsTimeline/OdsTimeline.MockData.d.ts +0 -39
@@ -18,7 +18,7 @@ export interface selectedItem {
18
18
  type: 'select' | 'switch' | 'input';
19
19
  selectedItem: RecordType;
20
20
  }
21
- interface OdsChangeProps {
21
+ export interface OdsChangeProps {
22
22
  element: element;
23
23
  leftSectionTitle: string | '';
24
24
  rightSectionTitle: string | '';
package/dist/index.js CHANGED
@@ -34686,7 +34686,7 @@ var OdsServerSideDatagrid = function OdsServerSideDatagrid(props) {
34686
34686
  var result;
34687
34687
  if (props.isClientSideOperation) {
34688
34688
  var _props$customSummary3;
34689
- result = "" + filteredDisplayText + totalRecords + " " + ((_props$customSummary3 = props.customSummary) === null || _props$customSummary3 === void 0 ? void 0 : _props$customSummary3.summaryTotalDataLabel);
34689
+ result = ((_props$customSummary3 = props.customSummary) === null || _props$customSummary3 === void 0 ? void 0 : _props$customSummary3.summaryTotalDataLabel) + " : " + totalRecords + " ";
34690
34690
  } else {
34691
34691
  var _props$customSummary4, _props$customSummary5;
34692
34692
  result = "" + filteredDisplayText + loadedDisplayText + totalRecords + " " + ((_props$customSummary4 = props.customSummary) === null || _props$customSummary4 === void 0 ? void 0 : _props$customSummary4.summaryTotalDataLabel);
@@ -34873,12 +34873,19 @@ var OdsServerSideDatagrid = function OdsServerSideDatagrid(props) {
34873
34873
  }
34874
34874
  return React__default.createElement(React__default.Fragment, null, buttonElements);
34875
34875
  }
34876
+ var remoteOperations = React.useMemo(function () {
34877
+ var _props$remoteOperatio;
34878
+ if (props.isClientSideOperation) {
34879
+ return false;
34880
+ }
34881
+ return (_props$remoteOperatio = props.remoteOperations) != null ? _props$remoteOperatio : true;
34882
+ }, [props.isClientSideOperation, props.remoteOperations]);
34876
34883
  return React__default.createElement("div", null, React__default.createElement(devextremeReact.DataGrid, Object.assign({
34877
34884
  dataSource: props.dataSource,
34878
34885
  showBorders: true,
34879
34886
  repaintChangesOnly: true,
34880
34887
  allowColumnReordering: true,
34881
- remoteOperations: !props.isClientSideOperation,
34888
+ remoteOperations: remoteOperations,
34882
34889
  columnAutoWidth: false,
34883
34890
  wordWrapEnabled: props.wordWrapEnabled ? props.wordWrapEnabled : false,
34884
34891
  columnFixing: {