@openui5/sap.ui.integration 1.129.0 → 1.130.1
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/THIRDPARTY.txt +1 -1
- package/package.json +7 -7
- package/src/sap/ui/integration/.library +1 -1
- package/src/sap/ui/integration/ActionDefinition.js +1 -1
- package/src/sap/ui/integration/Designtime.js +1 -1
- package/src/sap/ui/integration/Extension.js +1 -1
- package/src/sap/ui/integration/Host.js +1 -1
- package/src/sap/ui/integration/cards/AdaptiveContent.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticalContent.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +1 -1
- package/src/sap/ui/integration/cards/BaseContent.js +8 -7
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +30 -8
- package/src/sap/ui/integration/cards/BaseListContent.js +44 -19
- package/src/sap/ui/integration/cards/BaseListContentRenderer.js +52 -0
- package/src/sap/ui/integration/cards/CalendarContent.js +12 -2
- package/src/sap/ui/integration/cards/CalendarContentRenderer.js +2 -2
- package/src/sap/ui/integration/cards/ComponentContent.js +5 -5
- package/src/sap/ui/integration/cards/Footer.js +110 -35
- package/src/sap/ui/integration/cards/Header.js +4 -3
- package/src/sap/ui/integration/cards/ListContent.js +1 -1
- package/src/sap/ui/integration/cards/ListContentRenderer.js +5 -3
- package/src/sap/ui/integration/cards/NumericHeader.js +4 -3
- package/src/sap/ui/integration/cards/ObjectContent.js +2 -2
- package/src/sap/ui/integration/cards/TableContent.js +1 -1
- package/src/sap/ui/integration/cards/TableContentRenderer.js +2 -2
- package/src/sap/ui/integration/cards/TimelineContent.js +1 -1
- package/src/sap/ui/integration/cards/TimelineContentRenderer.js +2 -2
- package/src/sap/ui/integration/cards/WebPageContent.js +1 -1
- package/src/sap/ui/integration/cards/actions/CardActions.js +1 -1
- package/src/sap/ui/integration/cards/actions/ShowCardAction.js +12 -83
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +1 -1
- package/src/sap/ui/integration/cards/filters/BaseFilter.js +9 -2
- package/src/sap/ui/integration/cards/filters/ComboBoxFilter.js +14 -1
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +11 -1
- package/src/sap/ui/integration/cards/filters/FilterBar.js +1 -1
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +1 -1
- package/src/sap/ui/integration/cards/filters/SearchFilter.js +8 -1
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +8 -1
- package/src/sap/ui/integration/cards/list/MicrochartsResizeHelper.js +1 -1
- package/src/sap/ui/integration/controls/ActionsStrip.js +1 -1
- package/src/sap/ui/integration/controls/ActionsToolbar.js +1 -1
- package/src/sap/ui/integration/controls/BlockingMessage.js +1 -1
- package/src/sap/ui/integration/controls/ComboBox.js +1 -1
- package/src/sap/ui/integration/controls/ImageWithOverlay.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +1 -1
- package/src/sap/ui/integration/controls/Microchart.js +1 -1
- package/src/sap/ui/integration/controls/MicrochartLegend.js +1 -1
- package/src/sap/ui/integration/controls/ObjectStatus.js +1 -1
- package/src/sap/ui/integration/delegate/Paginator.js +287 -0
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +1 -1
- package/src/sap/ui/integration/designtime/editor/Card.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +1 -1
- package/src/sap/ui/integration/editor/Editor.js +18 -3
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +1 -1
- package/src/sap/ui/integration/editor/Extension.js +1 -1
- package/src/sap/ui/integration/editor/Manifest.js +1 -1
- package/src/sap/ui/integration/editor/Settings.js +1 -1
- package/src/sap/ui/integration/editor/css/Editor.css +7 -0
- package/src/sap/ui/integration/editor/fields/BaseField.js +1 -1
- package/src/sap/ui/integration/editor/fields/BooleanField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DestinationField.js +1 -1
- package/src/sap/ui/integration/editor/fields/GroupField.js +1 -1
- package/src/sap/ui/integration/editor/fields/IntegerField.js +1 -1
- package/src/sap/ui/integration/editor/fields/NumberField.js +1 -1
- package/src/sap/ui/integration/editor/fields/ObjectField.js +1 -1
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +1 -1
- package/src/sap/ui/integration/editor/fields/StringField.js +1 -1
- package/src/sap/ui/integration/editor/fields/StringListField.js +1 -1
- package/src/sap/ui/integration/editor/fields/fragment/Controller.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/ImageSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/VizBase.js +1 -1
- package/src/sap/ui/integration/extensions/OAuth3LO.js +1 -1
- package/src/sap/ui/integration/library.js +2 -2
- package/src/sap/ui/integration/messagebundle.properties +3 -0
- package/src/sap/ui/integration/messagebundle_ar.properties +2 -0
- package/src/sap/ui/integration/messagebundle_bg.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ca.properties +3 -1
- package/src/sap/ui/integration/messagebundle_cnr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_cs.properties +2 -0
- package/src/sap/ui/integration/messagebundle_cy.properties +2 -0
- package/src/sap/ui/integration/messagebundle_da.properties +3 -1
- package/src/sap/ui/integration/messagebundle_de.properties +2 -0
- package/src/sap/ui/integration/messagebundle_el.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_GB.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_es.properties +3 -1
- package/src/sap/ui/integration/messagebundle_es_MX.properties +2 -0
- package/src/sap/ui/integration/messagebundle_et.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fr_CA.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hu.properties +2 -0
- package/src/sap/ui/integration/messagebundle_id.properties +3 -1
- package/src/sap/ui/integration/messagebundle_it.properties +2 -0
- package/src/sap/ui/integration/messagebundle_iw.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ja.properties +2 -0
- package/src/sap/ui/integration/messagebundle_kk.properties +3 -1
- package/src/sap/ui/integration/messagebundle_ko.properties +3 -1
- package/src/sap/ui/integration/messagebundle_lt.properties +2 -0
- package/src/sap/ui/integration/messagebundle_lv.properties +2 -0
- package/src/sap/ui/integration/messagebundle_mk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ms.properties +2 -0
- package/src/sap/ui/integration/messagebundle_nl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_no.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pt.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pt_PT.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ro.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ru.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sh.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sv.properties +2 -0
- package/src/sap/ui/integration/messagebundle_th.properties +2 -0
- package/src/sap/ui/integration/messagebundle_tr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_uk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_vi.properties +3 -1
- package/src/sap/ui/integration/messagebundle_zh_CN.properties +2 -0
- package/src/sap/ui/integration/messagebundle_zh_TW.properties +3 -1
- package/src/sap/ui/integration/model/ContextModel.js +1 -1
- package/src/sap/ui/integration/model/ObservableModel.js +3 -16
- package/src/sap/ui/integration/schemas/sap-card.json +27 -16
- package/src/sap/ui/integration/themes/base/Card.less +4 -0
- package/src/sap/ui/integration/themes/base/CardVariants.less +2 -2
- package/src/sap/ui/integration/themes/base/Footer.less +2 -2
- package/src/sap/ui/integration/themes/base/Paginator.less +5 -118
- package/src/sap/ui/integration/themes/sap_hcb/library.source.less +0 -1
- package/src/sap/ui/integration/util/AnalyticsCloudHelper.js +1 -1
- package/src/sap/ui/integration/util/BaseFactory.js +1 -1
- package/src/sap/ui/integration/util/BindingHelper.js +1 -1
- package/src/sap/ui/integration/util/BindingResolver.js +1 -1
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +19 -17
- package/src/sap/ui/integration/util/CardObserver.js +1 -1
- package/src/sap/ui/integration/util/ComboBoxHelper.js +1 -1
- package/src/sap/ui/integration/util/ContentFactory.js +9 -3
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +1 -1
- package/src/sap/ui/integration/util/DataProvider.js +44 -22
- package/src/sap/ui/integration/util/DataProviderFactory.js +17 -18
- package/src/sap/ui/integration/util/Destinations.js +1 -1
- package/src/sap/ui/integration/util/DisplayVariants.js +1 -1
- package/src/sap/ui/integration/util/ErrorHandler.js +1 -1
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +6 -6
- package/src/sap/ui/integration/util/Form.js +1 -1
- package/src/sap/ui/integration/util/HeaderFactory.js +10 -4
- package/src/sap/ui/integration/util/JSONBindingHelper.js +1 -1
- package/src/sap/ui/integration/util/LoadingProvider.js +1 -1
- package/src/sap/ui/integration/util/Manifest.js +1 -1
- package/src/sap/ui/integration/util/OAuth3LOHelper.js +1 -1
- package/src/sap/ui/integration/util/RequestDataProvider.js +59 -21
- package/src/sap/ui/integration/util/ServiceDataProvider.js +9 -7
- package/src/sap/ui/integration/util/ServiceManager.js +1 -1
- package/src/sap/ui/integration/util/SkeletonCard.js +1 -1
- package/src/sap/ui/integration/util/Utils.js +1 -1
- package/src/sap/ui/integration/util/Validators.js +1 -1
- package/src/sap/ui/integration/util/openCardDialog.js +191 -0
- package/src/sap/ui/integration/widgets/Card.js +80 -27
- package/src/sap/ui/integration/controls/Paginator.js +0 -449
- package/src/sap/ui/integration/controls/PaginatorRenderer.js +0 -114
- package/src/sap/ui/integration/model/PagingModelListBinding.js +0 -40
- package/src/sap/ui/integration/themes/sap_hcb/base_Paginator.less +0 -125
|
@@ -1,449 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
sap.ui.define([
|
|
8
|
-
"../library",
|
|
9
|
-
"sap/ui/base/EventProvider",
|
|
10
|
-
"sap/ui/core/ControlBehavior",
|
|
11
|
-
"sap/ui/core/Control",
|
|
12
|
-
"sap/ui/core/Configuration",
|
|
13
|
-
"sap/ui/core/Icon",
|
|
14
|
-
"sap/ui/core/Lib",
|
|
15
|
-
"./PaginatorRenderer"
|
|
16
|
-
], function(
|
|
17
|
-
library,
|
|
18
|
-
EventProvider,
|
|
19
|
-
ControlBehavior,
|
|
20
|
-
Control,
|
|
21
|
-
Configuration,
|
|
22
|
-
Icon,
|
|
23
|
-
Library,
|
|
24
|
-
PaginatorRenderer
|
|
25
|
-
) {
|
|
26
|
-
"use strict";
|
|
27
|
-
|
|
28
|
-
var sAnimationMode = ControlBehavior.getAnimationMode(),
|
|
29
|
-
bHasAnimations = sAnimationMode !== Configuration.AnimationMode.none && sAnimationMode !== Configuration.AnimationMode.minimal,
|
|
30
|
-
iServerSideAfterTransitionDelay = 200,
|
|
31
|
-
oResourceBundle = Library.getResourceBundleFor("sap.m");
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Constructor for a new Paginator.
|
|
35
|
-
*
|
|
36
|
-
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
37
|
-
* @param {object} [mSettings] Initial settings for the new control
|
|
38
|
-
*
|
|
39
|
-
* @class
|
|
40
|
-
*
|
|
41
|
-
* @extends sap.ui.core.Control
|
|
42
|
-
*
|
|
43
|
-
* @author SAP SE
|
|
44
|
-
* @version 1.129.0
|
|
45
|
-
*
|
|
46
|
-
* @constructor
|
|
47
|
-
* @ui5-restricted
|
|
48
|
-
* @private
|
|
49
|
-
* @alias sap.ui.integration.controls.Paginator
|
|
50
|
-
*/
|
|
51
|
-
var Paginator = Control.extend("sap.ui.integration.controls.Paginator", {
|
|
52
|
-
metadata: {
|
|
53
|
-
library: "sap.ui.integration",
|
|
54
|
-
properties: {
|
|
55
|
-
card: {type: "object"},
|
|
56
|
-
pageNumber: {type: "int", defaultValue: 0},
|
|
57
|
-
pageCount: {type: "int", defaultValue: 0},
|
|
58
|
-
pageSize: {type: "int", defaultValue: 0},
|
|
59
|
-
totalCount: {type: "int"},
|
|
60
|
-
skip: {type: "int"}
|
|
61
|
-
},
|
|
62
|
-
aggregations: {
|
|
63
|
-
_prevIcon: {type: "sap.ui.core.Icon", multiple: false, visibility: "hidden"},
|
|
64
|
-
_nextIcon: {type: "sap.ui.core.Icon", multiple: false, visibility: "hidden"}
|
|
65
|
-
},
|
|
66
|
-
events: {
|
|
67
|
-
animationComplete: {}
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
renderer: PaginatorRenderer
|
|
71
|
-
});
|
|
72
|
-
|
|
73
|
-
Paginator.create = function (oCard, oConfig) {
|
|
74
|
-
if (!oConfig) {
|
|
75
|
-
return null;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
let vPageSize = oConfig.pageSize;
|
|
79
|
-
if (oCard.isSkeleton() && !oConfig.totalCount) {
|
|
80
|
-
// client side pagination for resolved manifest should directly show all items
|
|
81
|
-
vPageSize = oCard.getModelSizeLimit();
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
return new Paginator({
|
|
85
|
-
card: oCard,
|
|
86
|
-
totalCount: oConfig.totalCount,
|
|
87
|
-
pageSize: vPageSize,
|
|
88
|
-
skip: oConfig.skip,
|
|
89
|
-
visible: oConfig.visible
|
|
90
|
-
});
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
Paginator.prototype.init = function() {
|
|
94
|
-
this._listUpdateFinishedHandler = this._listUpdateFinished.bind(this);
|
|
95
|
-
this._dataChangedHandler = this._dataChanged.bind(this);
|
|
96
|
-
|
|
97
|
-
this.setAggregation("_prevIcon", new Icon({
|
|
98
|
-
src: "sap-icon://slim-arrow-left",
|
|
99
|
-
useIconTooltip: false,
|
|
100
|
-
decorative: false,
|
|
101
|
-
tooltip: oResourceBundle.getText("PAGINGBUTTON_PREVIOUS"),
|
|
102
|
-
press: this.previous.bind(this)
|
|
103
|
-
}));
|
|
104
|
-
|
|
105
|
-
this.setAggregation("_nextIcon", new Icon({
|
|
106
|
-
src: "sap-icon://slim-arrow-right",
|
|
107
|
-
useIconTooltip: false,
|
|
108
|
-
decorative: false,
|
|
109
|
-
tooltip: oResourceBundle.getText("PAGINGBUTTON_NEXT"),
|
|
110
|
-
press: this.next.bind(this)
|
|
111
|
-
}));
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
Paginator.prototype.exit = function () {
|
|
115
|
-
var oCard = this.getCard(),
|
|
116
|
-
oContent,
|
|
117
|
-
oList;
|
|
118
|
-
|
|
119
|
-
if (oCard) {
|
|
120
|
-
if (this._dataChangedHandler) {
|
|
121
|
-
oCard.detachEvent("_contentDataChange", this._dataChangedHandler);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
oContent = oCard.getCardContent();
|
|
125
|
-
|
|
126
|
-
if (oContent) {
|
|
127
|
-
oList = oContent.getAggregation("_content");
|
|
128
|
-
|
|
129
|
-
if (oList && EventProvider.hasListener(oList, "updateFinished", this._listUpdateFinishedHandler)) {
|
|
130
|
-
oList.detachEvent("updateFinished", this._listUpdateFinishedHandler);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
delete this._listUpdateFinishedHandler;
|
|
136
|
-
delete this._iPreviousStartIndex;
|
|
137
|
-
delete this._oClonedContent;
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
Paginator.prototype.isServerSide = function() {
|
|
141
|
-
return this.getTotalCount();
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
Paginator.prototype._dataChanged = function() {
|
|
145
|
-
var oCard = this.getCard(),
|
|
146
|
-
oContent = oCard.getCardContent();
|
|
147
|
-
|
|
148
|
-
if (!oContent || !oContent.isA("sap.ui.integration.cards.BaseContent")) {
|
|
149
|
-
this.setPageCount(0);
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
oContent.getLoadDependenciesPromise()
|
|
154
|
-
.then((bLoadSuccessful) => {
|
|
155
|
-
if (bLoadSuccessful) {
|
|
156
|
-
this._initFromContent(oContent);
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
};
|
|
160
|
-
|
|
161
|
-
Paginator.prototype._initFromContent = function(oContent) {
|
|
162
|
-
if (!oContent.hasData()) {
|
|
163
|
-
this.setPageCount(0);
|
|
164
|
-
return;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
this.setModel(oContent.getModel());
|
|
168
|
-
|
|
169
|
-
const oList = oContent.getAggregation("_content");
|
|
170
|
-
const bInitialized = EventProvider.hasListener(oList, "updateFinished", this._listUpdateFinishedHandler);
|
|
171
|
-
|
|
172
|
-
if (this._hasAnimation() && !bInitialized) {
|
|
173
|
-
oList.attachEvent("updateFinished", this._listUpdateFinishedHandler);
|
|
174
|
-
|
|
175
|
-
if (this.isServerSide()) {
|
|
176
|
-
oContent.getAggregation("_loadingPlaceholder").addDelegate({
|
|
177
|
-
onAfterRendering: this.onPlaceholderAfterRendering.bind(this)
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
if (bInitialized) {
|
|
183
|
-
this._clearAnimation(this);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
const iTotalCount = this.getTotalCount() || oContent.getDataLength();
|
|
187
|
-
|
|
188
|
-
this.setPageCount(Math.ceil(iTotalCount / this.getPageSize()));
|
|
189
|
-
this.setPageNumber(Math.min(Math.max(0, this.getPageNumber()), this._getLastPageNumber()));
|
|
190
|
-
|
|
191
|
-
this.sliceData();
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
Paginator.prototype.setCard = function(oCard) {
|
|
195
|
-
this.setProperty("card", oCard, true);
|
|
196
|
-
|
|
197
|
-
if (oCard) {
|
|
198
|
-
oCard.attachEvent("_contentDataChange", this._dataChangedHandler);
|
|
199
|
-
}
|
|
200
|
-
return this;
|
|
201
|
-
};
|
|
202
|
-
|
|
203
|
-
Paginator.prototype.sliceData = function() {
|
|
204
|
-
const oCard = this.getCard();
|
|
205
|
-
|
|
206
|
-
if (!oCard) {
|
|
207
|
-
return;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
const oPaginatorModel = this.getModel("paginator"),
|
|
211
|
-
oContent = oCard.getCardContent(),
|
|
212
|
-
oCardLoadingProvider = oCard.getAggregation("_loadingProvider"),
|
|
213
|
-
oContentLoadingProvider = oContent.getAggregation("_loadingProvider"),
|
|
214
|
-
iStartIndex = this.getPageNumber() * this.getPageSize(),
|
|
215
|
-
bIsPageChanged = this._iPreviousStartIndex !== undefined && this._iPreviousStartIndex !== iStartIndex,
|
|
216
|
-
bIsServerSide = this.isServerSide();
|
|
217
|
-
|
|
218
|
-
oPaginatorModel.setData({
|
|
219
|
-
skip: iStartIndex,
|
|
220
|
-
size: this.getPageSize(),
|
|
221
|
-
pageIndex: this.getPageNumber()
|
|
222
|
-
});
|
|
223
|
-
|
|
224
|
-
if (bIsPageChanged) {
|
|
225
|
-
this._prepareAnimation(iStartIndex);
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
if (bIsServerSide && bIsPageChanged) {
|
|
229
|
-
// if the paginator model doesn't have bindings,
|
|
230
|
-
// we need to call "refreshAllData" method,
|
|
231
|
-
// otherwise don't call it
|
|
232
|
-
if (!oPaginatorModel.getBindings().length) {
|
|
233
|
-
oCard.refreshAllData();
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
if (this._hasAnimation()) {
|
|
237
|
-
oContentLoadingProvider.setAwaitPagination(true);
|
|
238
|
-
oCardLoadingProvider.setAwaitPagination(true);
|
|
239
|
-
}
|
|
240
|
-
} else if (!bIsServerSide && oContent.isA("sap.ui.integration.cards.BaseContent")) {
|
|
241
|
-
oContent.sliceData(iStartIndex, iStartIndex + this.getPageSize());
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
this._iPreviousStartIndex = iStartIndex;
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Goes back to the first page
|
|
249
|
-
*/
|
|
250
|
-
Paginator.prototype.reset = function () {
|
|
251
|
-
this.setPageNumber(0).sliceData();
|
|
252
|
-
};
|
|
253
|
-
|
|
254
|
-
Paginator.prototype._prepareAnimation = function (iStartIndex) {
|
|
255
|
-
if (!this._hasAnimation()) {
|
|
256
|
-
return;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
var oContentDomRef = this.getCard().getCardContent().getDomRef(),
|
|
260
|
-
oContentDomRefCloned = oContentDomRef.cloneNode(true);
|
|
261
|
-
|
|
262
|
-
this._bActiveAnimation = true;
|
|
263
|
-
this._bReverseAnimation = this._iPreviousStartIndex > iStartIndex;
|
|
264
|
-
|
|
265
|
-
oContentDomRefCloned.removeAttribute("id");
|
|
266
|
-
|
|
267
|
-
oContentDomRefCloned.querySelectorAll("*[id]").forEach(function (oElement) {
|
|
268
|
-
oElement.removeAttribute("id");
|
|
269
|
-
});
|
|
270
|
-
|
|
271
|
-
oContentDomRefCloned.classList.add("sapFCardContentCloned");
|
|
272
|
-
if (this._bReverseAnimation) {
|
|
273
|
-
oContentDomRefCloned.classList.add("sapFCardContentReverseAnim");
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
if (this.isServerSide()) {
|
|
277
|
-
this._oClonedContent = oContentDomRefCloned;
|
|
278
|
-
} else {
|
|
279
|
-
oContentDomRef.classList.add("sapFCardContentOriginal");
|
|
280
|
-
|
|
281
|
-
if (this._bReverseAnimation) {
|
|
282
|
-
oContentDomRef.classList.add("sapFCardContentReverseAnim");
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
oContentDomRef.parentElement.insertBefore(oContentDomRefCloned, oContentDomRef);
|
|
286
|
-
}
|
|
287
|
-
};
|
|
288
|
-
|
|
289
|
-
Paginator.prototype._clearAnimation = function () {
|
|
290
|
-
if (!this._hasAnimation() || !this._bActiveAnimation) {
|
|
291
|
-
return;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
var oCard = this.getCard(),
|
|
295
|
-
oContent = oCard.getCardContent(),
|
|
296
|
-
oContentDomRef = oContent.getDomRef(),
|
|
297
|
-
oContentDomRefCloned = oContentDomRef.previousSibling,
|
|
298
|
-
oCardLoadingProvider,
|
|
299
|
-
oContentLoadingProvider;
|
|
300
|
-
|
|
301
|
-
oCardLoadingProvider = oCard.getAggregation("_loadingProvider");
|
|
302
|
-
oContentLoadingProvider = oContent.getAggregation("_loadingProvider");
|
|
303
|
-
|
|
304
|
-
if (oContentLoadingProvider.getAwaitPagination()) {
|
|
305
|
-
oContentLoadingProvider.setAwaitPagination(false);
|
|
306
|
-
oCardLoadingProvider.setAwaitPagination(false);
|
|
307
|
-
} else {
|
|
308
|
-
if (oContentDomRefCloned) {
|
|
309
|
-
oContentDomRefCloned.parentNode.removeChild(oContentDomRefCloned);
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
oContentDomRef.classList.remove("sapFCardContentOriginal");
|
|
313
|
-
oContentDomRef.classList.remove("sapFCardContentTransition");
|
|
314
|
-
oContentDomRef.classList.remove("sapFCardContentReverseAnim");
|
|
315
|
-
|
|
316
|
-
oContent.hideLoadingPlaceholders();
|
|
317
|
-
oCardLoadingProvider.setLoading(false);
|
|
318
|
-
this._bActiveAnimation = false;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
this.fireAnimationComplete();
|
|
322
|
-
};
|
|
323
|
-
|
|
324
|
-
Paginator.prototype._listUpdateFinished = function () {
|
|
325
|
-
if (!this._bActiveAnimation || this.isServerSide()) {
|
|
326
|
-
return;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
var oContent = this.getCard().getCardContent(),
|
|
330
|
-
oContentDomRef = oContent.getDomRef(),
|
|
331
|
-
oContentDomRefCloned = oContentDomRef.previousSibling;
|
|
332
|
-
|
|
333
|
-
if (!oContentDomRefCloned) {
|
|
334
|
-
return;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
oContentDomRefCloned.addEventListener("transitionend", function () {
|
|
338
|
-
oContentDomRefCloned.parentNode.removeChild(oContentDomRefCloned);
|
|
339
|
-
|
|
340
|
-
oContentDomRef.classList.remove("sapFCardContentOriginal");
|
|
341
|
-
oContentDomRef.classList.remove("sapFCardContentTransition");
|
|
342
|
-
oContentDomRef.classList.remove("sapFCardContentReverseAnim");
|
|
343
|
-
|
|
344
|
-
this._bActiveAnimation = false;
|
|
345
|
-
}.bind(this));
|
|
346
|
-
|
|
347
|
-
oContentDomRef.classList.add("sapFCardContentTransition");
|
|
348
|
-
oContentDomRefCloned.classList.add("sapFCardContentTransition");
|
|
349
|
-
};
|
|
350
|
-
|
|
351
|
-
Paginator.prototype._isSkeletonCard = function () {
|
|
352
|
-
return this.getCard().isSkeleton();
|
|
353
|
-
};
|
|
354
|
-
|
|
355
|
-
Paginator.prototype.onPlaceholderAfterRendering = function () {
|
|
356
|
-
if (!this._oClonedContent || this._isSkeletonCard()) {
|
|
357
|
-
return;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
var oCard = this.getCard(),
|
|
361
|
-
oContent = oCard.getCardContent(),
|
|
362
|
-
oContentDomRef = oContent.getDomRef(),
|
|
363
|
-
oContentDomRefCloned = this._oClonedContent;
|
|
364
|
-
|
|
365
|
-
oContentDomRef.classList.add("sapFCardContentOriginal");
|
|
366
|
-
oContentDomRef.parentElement.insertBefore(oContentDomRefCloned, oContentDomRef);
|
|
367
|
-
|
|
368
|
-
if (this._bReverseAnimation) {
|
|
369
|
-
oContentDomRef.classList.add("sapFCardContentReverseAnim");
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
this._oClonedContent.addEventListener("transitionend", function () {
|
|
373
|
-
setTimeout(this._clearAnimation.bind(this), iServerSideAfterTransitionDelay);
|
|
374
|
-
}.bind(this));
|
|
375
|
-
|
|
376
|
-
this._oClonedContent = null;
|
|
377
|
-
|
|
378
|
-
setTimeout(function () {
|
|
379
|
-
oContentDomRefCloned.classList.add("sapFCardContentTransition");
|
|
380
|
-
oContentDomRef.classList.add("sapFCardContentTransition");
|
|
381
|
-
}, 30);
|
|
382
|
-
};
|
|
383
|
-
|
|
384
|
-
Paginator.prototype._getNavigationArrow = function (sDirection) {
|
|
385
|
-
return this.getAggregation("_" + sDirection + "Icon");
|
|
386
|
-
};
|
|
387
|
-
|
|
388
|
-
Paginator.prototype._hasAnimation = function () {
|
|
389
|
-
return bHasAnimations && this.getCard().getCardContent().isA("sap.ui.integration.cards.ListContent") && !this._isSkeletonCard();
|
|
390
|
-
};
|
|
391
|
-
|
|
392
|
-
Paginator.prototype._hasActiveLoadingProvider = function () {
|
|
393
|
-
var oCard = this.getCard();
|
|
394
|
-
|
|
395
|
-
return oCard && oCard.hasActiveLoadingProvider();
|
|
396
|
-
};
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* @ui5-restricted
|
|
400
|
-
* @private
|
|
401
|
-
*/
|
|
402
|
-
Paginator.prototype.previous = function () {
|
|
403
|
-
if (this._bActiveAnimation || this._hasActiveLoadingProvider()) {
|
|
404
|
-
return;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
this.setPageNumber(Math.max(0, this.getPageNumber() - 1));
|
|
408
|
-
this.sliceData();
|
|
409
|
-
};
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* @ui5-restricted
|
|
413
|
-
* @private
|
|
414
|
-
*/
|
|
415
|
-
Paginator.prototype.next = function () {
|
|
416
|
-
if (this._bActiveAnimation || this._hasActiveLoadingProvider()) {
|
|
417
|
-
return;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
this.setPageNumber(Math.min(this._getLastPageNumber(), this.getPageNumber() + 1));
|
|
421
|
-
this.sliceData();
|
|
422
|
-
};
|
|
423
|
-
|
|
424
|
-
Paginator.prototype.onmousedown = function(oEvent) {
|
|
425
|
-
var oTarget = oEvent.target,
|
|
426
|
-
sDataSlide = oTarget.getAttribute("data-slide");
|
|
427
|
-
|
|
428
|
-
if (sDataSlide && !oTarget.classList.contains("sapMCrslActive")) {
|
|
429
|
-
this.setPageNumber(parseInt(sDataSlide) - 1);
|
|
430
|
-
this.sliceData();
|
|
431
|
-
}
|
|
432
|
-
};
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* @returns {object} Paginator configuration with static values.
|
|
436
|
-
*/
|
|
437
|
-
Paginator.prototype.getStaticConfiguration = function () {
|
|
438
|
-
return {
|
|
439
|
-
pageCount: this.getPageCount(),
|
|
440
|
-
pageIndex: this.getPageNumber()
|
|
441
|
-
};
|
|
442
|
-
};
|
|
443
|
-
|
|
444
|
-
Paginator.prototype._getLastPageNumber = function () {
|
|
445
|
-
return Math.max(0, this.getPageCount() - 1);
|
|
446
|
-
};
|
|
447
|
-
|
|
448
|
-
return Paginator;
|
|
449
|
-
});
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
sap.ui.define([
|
|
8
|
-
"sap/m/library",
|
|
9
|
-
"sap/base/strings/capitalize",
|
|
10
|
-
"sap/ui/core/InvisibleRenderer",
|
|
11
|
-
"sap/ui/core/Lib"
|
|
12
|
-
], function(mLibrary, capitalize, InvisibleRenderer, Library) {
|
|
13
|
-
"use strict";
|
|
14
|
-
|
|
15
|
-
var oResourceBundle = Library.getResourceBundleFor("sap.m");
|
|
16
|
-
|
|
17
|
-
var _BULLETS_TO_NUMBERS_THRESHOLD = 5;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* PaginatorRenderer renderer.
|
|
21
|
-
* @namespace
|
|
22
|
-
*/
|
|
23
|
-
var PaginatorRenderer = {
|
|
24
|
-
apiVersion: 2
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
PaginatorRenderer.render = function (oRm, oControl) {
|
|
28
|
-
var sId = oControl.getId(),
|
|
29
|
-
iPageNumber = oControl.getPageNumber(),
|
|
30
|
-
iPageCount = oControl.getPageCount(),
|
|
31
|
-
i,
|
|
32
|
-
sTextBetweenNumbers;
|
|
33
|
-
|
|
34
|
-
// If there is only one page - do not render the indicator
|
|
35
|
-
if (iPageCount <= 1 || !oControl.getVisible()) {
|
|
36
|
-
InvisibleRenderer.render(oRm, oControl, oControl.TagName);
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
oRm.openStart("div", oControl)
|
|
41
|
-
.class("sapUiIntPaginator")
|
|
42
|
-
.openEnd();
|
|
43
|
-
|
|
44
|
-
oRm.openStart("div")
|
|
45
|
-
.class("sapMCrslControls")
|
|
46
|
-
.openEnd();
|
|
47
|
-
|
|
48
|
-
oRm.openStart("div")
|
|
49
|
-
.class("sapMCrslControlsContainer")
|
|
50
|
-
.openEnd();
|
|
51
|
-
|
|
52
|
-
this._renderArrow(oRm, oControl, "previous");
|
|
53
|
-
|
|
54
|
-
oRm.openStart("div", sId + "-pageIndicator");
|
|
55
|
-
|
|
56
|
-
if (iPageCount < _BULLETS_TO_NUMBERS_THRESHOLD) {
|
|
57
|
-
oRm.class("sapMCrslBulleted")
|
|
58
|
-
.openEnd();
|
|
59
|
-
|
|
60
|
-
for (i = 0; i < iPageCount; i++) {
|
|
61
|
-
oRm.openStart("span")
|
|
62
|
-
.accessibilityState({
|
|
63
|
-
role: "img",
|
|
64
|
-
label: oResourceBundle.getText("CAROUSEL_POSITION", [i + 1, iPageCount])
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
oRm.attr("data-slide", i + 1);
|
|
68
|
-
|
|
69
|
-
if (i === iPageNumber) {
|
|
70
|
-
oRm.class("sapMCrslActive");
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
oRm.openEnd()
|
|
74
|
-
|
|
75
|
-
.close("span");
|
|
76
|
-
}
|
|
77
|
-
} else {
|
|
78
|
-
oRm.class("sapMCrslNumeric")
|
|
79
|
-
.openEnd();
|
|
80
|
-
|
|
81
|
-
sTextBetweenNumbers = oResourceBundle.getText("CAROUSEL_PAGE_INDICATOR_TEXT", [iPageNumber + 1, iPageCount]);
|
|
82
|
-
oRm.openStart("span", sId + "-" + "slide-number")
|
|
83
|
-
.openEnd()
|
|
84
|
-
.text(sTextBetweenNumbers)
|
|
85
|
-
.close("span");
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
oRm.close("div");
|
|
89
|
-
|
|
90
|
-
this._renderArrow(oRm, oControl, "next");
|
|
91
|
-
|
|
92
|
-
oRm.close("div")
|
|
93
|
-
.close("div")
|
|
94
|
-
.close("div");
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
PaginatorRenderer._renderArrow = function (oRm, oControl, sDirection) {
|
|
98
|
-
oRm.openStart("div")
|
|
99
|
-
.class("sapMCrsl" + capitalize(sDirection.slice(0, 4)))
|
|
100
|
-
.openEnd();
|
|
101
|
-
|
|
102
|
-
oRm.openStart("div")
|
|
103
|
-
.class("sapMCrslArrowInner")
|
|
104
|
-
.openEnd();
|
|
105
|
-
|
|
106
|
-
oRm.renderControl(oControl._getNavigationArrow(sDirection === "previous" ? "prev" : "next"));
|
|
107
|
-
|
|
108
|
-
oRm.close("div")
|
|
109
|
-
.close("div");
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
return PaginatorRenderer;
|
|
113
|
-
|
|
114
|
-
}, /* bExport= */ true);
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
sap.ui.define([
|
|
8
|
-
"sap/ui/model/json/JSONListBinding"
|
|
9
|
-
], function (
|
|
10
|
-
JSONListBinding
|
|
11
|
-
) {
|
|
12
|
-
"use strict";
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Creates a new PagingModelListBinding object.
|
|
16
|
-
*
|
|
17
|
-
* @class
|
|
18
|
-
*
|
|
19
|
-
* Extends the JSONModel to provide pagination.
|
|
20
|
-
*
|
|
21
|
-
* @extends sap.ui.model.json.JSONListBinding
|
|
22
|
-
*
|
|
23
|
-
* @author SAP SE
|
|
24
|
-
* @version 1.129.0
|
|
25
|
-
* @constructor
|
|
26
|
-
* @private
|
|
27
|
-
* @alias sap.ui.integration.model.PagingModelListBinding
|
|
28
|
-
*/
|
|
29
|
-
var PagingModelListBinding = JSONListBinding.extend("sap.ui.integration.model.PagingModelListBinding", {});
|
|
30
|
-
|
|
31
|
-
PagingModelListBinding.prototype.update = function () {
|
|
32
|
-
JSONListBinding.prototype.update.call(this);
|
|
33
|
-
|
|
34
|
-
if (this._iStartIndex !== undefined) {
|
|
35
|
-
this.aIndices = this.aIndices.slice(this._iStartIndex, this._iEndIndex);
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
return PagingModelListBinding;
|
|
40
|
-
});
|