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.
- package/dist/components/antd/change/OdsChange.d.ts +1 -1
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsChange/OdsChange.stories.d.ts +10 -0
- package/dist/stories/OdsChange/Samples/AdvancedChange.Sample.d.ts +1 -0
- package/dist/stories/OdsChange/Samples/BasicChange.Sample.d.ts +1 -0
- package/package.json +1 -1
- package/dist/App.d.ts +0 -3
- package/dist/components/antd/modal/OdsAdvanceModal.d.ts +0 -7
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/ContentHandlers.d.ts +0 -14
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/EditorPreparedHandlers.d.ts +0 -7
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OnExportingHandlers.d.ts +0 -19
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OptionHandlers.d.ts +0 -7
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/SummaryHandlers.d.ts +0 -21
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/ActionCellRender.d.ts +0 -15
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/EditingPartial.d.ts +0 -9
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/PageTitle.d.ts +0 -8
- package/dist/components/devextreme/OdsInlineEditDataGrid/utils.d.ts +0 -19
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Constants.d.ts +0 -4
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Functions.d.ts +0 -6
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.Types.d.ts +0 -77
- package/dist/components/devextreme/OdsTimeline/OdsTimeline.d.ts +0 -5
- package/dist/components/devextreme/OdsTimeline/OdsTimelineDateFilter.d.ts +0 -3
- package/dist/components/devextreme/OdsTimeline/OdsTimelineSelectionColumn.d.ts +0 -2
- package/dist/index.umd.js +0 -2
- package/dist/index.umd.js.map +0 -1
- package/dist/stories/OdsAdvanceModal/OdsAdvanceModal.stories.d.ts +0 -42
- package/dist/stories/OdsAdvanceModal/Samples/BasicOdsAdvanceModal.sample.d.ts +0 -8
- package/dist/stories/OdsModal/Samples/OdsModal.Sample.d.ts +0 -1
- package/dist/stories/OdsTimePicker/Samples/TimeRangePicker.d.ts +0 -2
- package/dist/stories/OdsTimeline/OdsTimeline.Constants.d.ts +0 -3
- package/dist/stories/OdsTimeline/OdsTimeline.Functions.d.ts +0 -6
- 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 =
|
|
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:
|
|
34888
|
+
remoteOperations: remoteOperations,
|
|
34882
34889
|
columnAutoWidth: false,
|
|
34883
34890
|
wordWrapEnabled: props.wordWrapEnabled ? props.wordWrapEnabled : false,
|
|
34884
34891
|
columnFixing: {
|