@sapui5/ts-types-esm 1.133.0 → 1.134.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/package.json +1 -1
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.cux.home.d.ts +0 -14
- package/types/sap.esh.search.ui.d.ts +7 -1
- package/types/sap.f.d.ts +53 -9
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +25 -3
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +64 -58
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +192 -136
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +629 -77
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +360 -98
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +53 -30
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +107 -7
- package/types/sap.ui.codeeditor.d.ts +9 -7
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +9 -28
- package/types/sap.ui.core.d.ts +46779 -46490
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -3
- package/types/sap.ui.layout.d.ts +4 -2
- package/types/sap.ui.mdc.d.ts +227 -12
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +76 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +41 -47
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +335 -4
- package/types/sap.ui.vk.d.ts +4 -4
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +69 -4
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +7 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.134.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/unified/library" {
|
|
4
4
|
/**
|
|
@@ -948,7 +948,10 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
948
948
|
/**
|
|
949
949
|
* Gets current value of property {@link #getIntervalSelection intervalSelection}.
|
|
950
950
|
*
|
|
951
|
-
*
|
|
951
|
+
* Determines if an interval of dates can be selected.
|
|
952
|
+
*
|
|
953
|
+
* **Note:** This property should be set to `false` if `singleSelection` is set to `false`, as selecting
|
|
954
|
+
* multiple intervals is not supported.
|
|
952
955
|
*
|
|
953
956
|
* Default value is `false`.
|
|
954
957
|
*
|
|
@@ -1095,7 +1098,10 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
1095
1098
|
/**
|
|
1096
1099
|
* Gets current value of property {@link #getSingleSelection singleSelection}.
|
|
1097
1100
|
*
|
|
1098
|
-
*
|
|
1101
|
+
* Determines if a single date or single interval, when `intervalSelection` is set to `true`, can be selected.
|
|
1102
|
+
*
|
|
1103
|
+
* **Note:** This property should be set to `true` if `intervalSelection` is set to `true`, as selecting
|
|
1104
|
+
* multiple intervals is not supported.
|
|
1099
1105
|
*
|
|
1100
1106
|
* Default value is `true`.
|
|
1101
1107
|
*
|
|
@@ -1369,24 +1375,6 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
1369
1375
|
*/
|
|
1370
1376
|
oInitialFocusedDate?: object
|
|
1371
1377
|
): this;
|
|
1372
|
-
/**
|
|
1373
|
-
* Sets a new value for property {@link #getIntervalSelection intervalSelection}.
|
|
1374
|
-
*
|
|
1375
|
-
* If set, interval selection is allowed
|
|
1376
|
-
*
|
|
1377
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1378
|
-
*
|
|
1379
|
-
* Default value is `false`.
|
|
1380
|
-
*
|
|
1381
|
-
*
|
|
1382
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
1383
|
-
*/
|
|
1384
|
-
setIntervalSelection(
|
|
1385
|
-
/**
|
|
1386
|
-
* New value for property `intervalSelection`
|
|
1387
|
-
*/
|
|
1388
|
-
bIntervalSelection?: boolean
|
|
1389
|
-
): this;
|
|
1390
1378
|
/**
|
|
1391
1379
|
* Sets the associated {@link #getLegend legend}.
|
|
1392
1380
|
*
|
|
@@ -1546,24 +1534,6 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
1546
1534
|
*/
|
|
1547
1535
|
bShowWeekNumbers?: boolean
|
|
1548
1536
|
): this;
|
|
1549
|
-
/**
|
|
1550
|
-
* Sets a new value for property {@link #getSingleSelection singleSelection}.
|
|
1551
|
-
*
|
|
1552
|
-
* If set, only a single date or interval, if intervalSelection is enabled, can be selected
|
|
1553
|
-
*
|
|
1554
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1555
|
-
*
|
|
1556
|
-
* Default value is `true`.
|
|
1557
|
-
*
|
|
1558
|
-
*
|
|
1559
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
1560
|
-
*/
|
|
1561
|
-
setSingleSelection(
|
|
1562
|
-
/**
|
|
1563
|
-
* New value for property `singleSelection`
|
|
1564
|
-
*/
|
|
1565
|
-
bSingleSelection?: boolean
|
|
1566
|
-
): this;
|
|
1567
1537
|
/**
|
|
1568
1538
|
* Sets a new value for property {@link #getWidth width}.
|
|
1569
1539
|
*
|
|
@@ -1589,12 +1559,18 @@ declare module "sap/ui/unified/Calendar" {
|
|
|
1589
1559
|
*/
|
|
1590
1560
|
export interface $CalendarSettings extends $ControlSettings {
|
|
1591
1561
|
/**
|
|
1592
|
-
*
|
|
1562
|
+
* Determines if an interval of dates can be selected.
|
|
1563
|
+
*
|
|
1564
|
+
* **Note:** This property should be set to `false` if `singleSelection` is set to `false`, as selecting
|
|
1565
|
+
* multiple intervals is not supported.
|
|
1593
1566
|
*/
|
|
1594
1567
|
intervalSelection?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
1595
1568
|
|
|
1596
1569
|
/**
|
|
1597
|
-
*
|
|
1570
|
+
* Determines if a single date or single interval, when `intervalSelection` is set to `true`, can be selected.
|
|
1571
|
+
*
|
|
1572
|
+
* **Note:** This property should be set to `true` if `intervalSelection` is set to `true`, as selecting
|
|
1573
|
+
* multiple intervals is not supported.
|
|
1598
1574
|
*/
|
|
1599
1575
|
singleSelection?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
1600
1576
|
|
|
@@ -4974,7 +4950,10 @@ declare module "sap/ui/unified/calendar/MonthPicker" {
|
|
|
4974
4950
|
/**
|
|
4975
4951
|
* Gets current value of property {@link #getIntervalSelection intervalSelection}.
|
|
4976
4952
|
*
|
|
4977
|
-
*
|
|
4953
|
+
* Determines if an interval of dates can be selected.
|
|
4954
|
+
*
|
|
4955
|
+
* **Note:** This property should be set to `false` if `_singleSelection` is set to `false`, as selecting
|
|
4956
|
+
* multiple intervals is not supported.
|
|
4978
4957
|
*
|
|
4979
4958
|
* Default value is `false`.
|
|
4980
4959
|
*
|
|
@@ -5150,7 +5129,10 @@ declare module "sap/ui/unified/calendar/MonthPicker" {
|
|
|
5150
5129
|
/**
|
|
5151
5130
|
* Sets a new value for property {@link #getIntervalSelection intervalSelection}.
|
|
5152
5131
|
*
|
|
5153
|
-
*
|
|
5132
|
+
* Determines if an interval of dates can be selected.
|
|
5133
|
+
*
|
|
5134
|
+
* **Note:** This property should be set to `false` if `_singleSelection` is set to `false`, as selecting
|
|
5135
|
+
* multiple intervals is not supported.
|
|
5154
5136
|
*
|
|
5155
5137
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
5156
5138
|
*
|
|
@@ -5273,7 +5255,10 @@ declare module "sap/ui/unified/calendar/MonthPicker" {
|
|
|
5273
5255
|
months?: int | PropertyBindingInfo | `{${string}}`;
|
|
5274
5256
|
|
|
5275
5257
|
/**
|
|
5276
|
-
*
|
|
5258
|
+
* Determines if an interval of dates can be selected.
|
|
5259
|
+
*
|
|
5260
|
+
* **Note:** This property should be set to `false` if `_singleSelection` is set to `false`, as selecting
|
|
5261
|
+
* multiple intervals is not supported.
|
|
5277
5262
|
*
|
|
5278
5263
|
* @since 1.74
|
|
5279
5264
|
*/
|
|
@@ -7294,7 +7279,10 @@ declare module "sap/ui/unified/calendar/YearPicker" {
|
|
|
7294
7279
|
/**
|
|
7295
7280
|
* Gets current value of property {@link #getIntervalSelection intervalSelection}.
|
|
7296
7281
|
*
|
|
7297
|
-
*
|
|
7282
|
+
* Determines if an interval of dates can be selected.
|
|
7283
|
+
*
|
|
7284
|
+
* **Note:** This property should be set to `false` if `_singleSelection` is set to `false`, as selecting
|
|
7285
|
+
* multiple intervals is not supported.
|
|
7298
7286
|
*
|
|
7299
7287
|
* Default value is `false`.
|
|
7300
7288
|
*
|
|
@@ -7461,7 +7449,10 @@ declare module "sap/ui/unified/calendar/YearPicker" {
|
|
|
7461
7449
|
/**
|
|
7462
7450
|
* Sets a new value for property {@link #getIntervalSelection intervalSelection}.
|
|
7463
7451
|
*
|
|
7464
|
-
*
|
|
7452
|
+
* Determines if an interval of dates can be selected.
|
|
7453
|
+
*
|
|
7454
|
+
* **Note:** This property should be set to `false` if `_singleSelection` is set to `false`, as selecting
|
|
7455
|
+
* multiple intervals is not supported.
|
|
7465
7456
|
*
|
|
7466
7457
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7467
7458
|
*
|
|
@@ -7552,7 +7543,10 @@ declare module "sap/ui/unified/calendar/YearPicker" {
|
|
|
7552
7543
|
years?: int | PropertyBindingInfo | `{${string}}`;
|
|
7553
7544
|
|
|
7554
7545
|
/**
|
|
7555
|
-
*
|
|
7546
|
+
* Determines if an interval of dates can be selected.
|
|
7547
|
+
*
|
|
7548
|
+
* **Note:** This property should be set to `false` if `_singleSelection` is set to `false`, as selecting
|
|
7549
|
+
* multiple intervals is not supported.
|
|
7556
7550
|
*
|
|
7557
7551
|
* @since 1.74
|
|
7558
7552
|
*/
|
package/types/sap.ui.ux3.d.ts
CHANGED
package/types/sap.ui.vbm.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.134.1
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/vbm/library" {
|
|
4
4
|
/**
|
|
@@ -7784,6 +7784,8 @@ declare module "sap/ui/vbm/GeoMap" {
|
|
|
7784
7784
|
|
|
7785
7785
|
import Spot from "sap/ui/vbm/Spot";
|
|
7786
7786
|
|
|
7787
|
+
import Legend from "sap/ui/vbm/Legend";
|
|
7788
|
+
|
|
7787
7789
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
7788
7790
|
|
|
7789
7791
|
import VoBase from "sap/ui/vbm/VoBase";
|
|
@@ -8792,7 +8794,7 @@ declare module "sap/ui/vbm/GeoMap" {
|
|
|
8792
8794
|
*
|
|
8793
8795
|
* Legend for the Map
|
|
8794
8796
|
*/
|
|
8795
|
-
getLegend():
|
|
8797
|
+
getLegend(): Legend;
|
|
8796
8798
|
/**
|
|
8797
8799
|
* Gets current value of property {@link #getLegendVisible legendVisible}.
|
|
8798
8800
|
*
|
|
@@ -9348,7 +9350,7 @@ declare module "sap/ui/vbm/GeoMap" {
|
|
|
9348
9350
|
/**
|
|
9349
9351
|
* The legend to set
|
|
9350
9352
|
*/
|
|
9351
|
-
oLegend:
|
|
9353
|
+
oLegend: Legend
|
|
9352
9354
|
): this;
|
|
9353
9355
|
/**
|
|
9354
9356
|
* Sets a new value for property {@link #getLegendVisible legendVisible}.
|
|
@@ -9661,7 +9663,7 @@ declare module "sap/ui/vbm/GeoMap" {
|
|
|
9661
9663
|
/**
|
|
9662
9664
|
* Legend for the Map
|
|
9663
9665
|
*/
|
|
9664
|
-
legend?:
|
|
9666
|
+
legend?: Legend;
|
|
9665
9667
|
|
|
9666
9668
|
/**
|
|
9667
9669
|
* Aggregation of clusters.
|
|
@@ -10588,6 +10590,333 @@ declare module "sap/ui/vbm/HeatPoint" {
|
|
|
10588
10590
|
}
|
|
10589
10591
|
}
|
|
10590
10592
|
|
|
10593
|
+
declare module "sap/ui/vbm/Legend" {
|
|
10594
|
+
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
10595
|
+
|
|
10596
|
+
import LegendItem from "sap/ui/vbm/LegendItem";
|
|
10597
|
+
|
|
10598
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
10599
|
+
|
|
10600
|
+
import {
|
|
10601
|
+
PropertyBindingInfo,
|
|
10602
|
+
AggregationBindingInfo,
|
|
10603
|
+
} from "sap/ui/base/ManagedObject";
|
|
10604
|
+
|
|
10605
|
+
import Event from "sap/ui/base/Event";
|
|
10606
|
+
|
|
10607
|
+
/**
|
|
10608
|
+
* The Legend is a window in the GeoMap or AnalyticMap control wich can be used to display color/icon-text
|
|
10609
|
+
* pairs on a map.
|
|
10610
|
+
*/
|
|
10611
|
+
export default class Legend extends UI5Element {
|
|
10612
|
+
/**
|
|
10613
|
+
* Constructor for a new Legend.
|
|
10614
|
+
*
|
|
10615
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
10616
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
10617
|
+
* of the syntax of the settings object.
|
|
10618
|
+
*/
|
|
10619
|
+
constructor(
|
|
10620
|
+
/**
|
|
10621
|
+
* initial settings for the new control
|
|
10622
|
+
*/
|
|
10623
|
+
mSettings?: $LegendSettings
|
|
10624
|
+
);
|
|
10625
|
+
/**
|
|
10626
|
+
* Constructor for a new Legend.
|
|
10627
|
+
*
|
|
10628
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
10629
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
10630
|
+
* of the syntax of the settings object.
|
|
10631
|
+
*/
|
|
10632
|
+
constructor(
|
|
10633
|
+
/**
|
|
10634
|
+
* id for the new control, generated automatically if no id is given
|
|
10635
|
+
*/
|
|
10636
|
+
sId?: string,
|
|
10637
|
+
/**
|
|
10638
|
+
* initial settings for the new control
|
|
10639
|
+
*/
|
|
10640
|
+
mSettings?: $LegendSettings
|
|
10641
|
+
);
|
|
10642
|
+
|
|
10643
|
+
/**
|
|
10644
|
+
* Creates a new subclass of class sap.ui.vbm.Legend with name `sClassName` and enriches it with the information
|
|
10645
|
+
* contained in `oClassInfo`.
|
|
10646
|
+
*
|
|
10647
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
10648
|
+
*
|
|
10649
|
+
*
|
|
10650
|
+
* @returns Created class / constructor function
|
|
10651
|
+
*/
|
|
10652
|
+
static extend<T extends Record<string, unknown>>(
|
|
10653
|
+
/**
|
|
10654
|
+
* Name of the class being created
|
|
10655
|
+
*/
|
|
10656
|
+
sClassName: string,
|
|
10657
|
+
/**
|
|
10658
|
+
* Object literal with information about the class
|
|
10659
|
+
*/
|
|
10660
|
+
oClassInfo?: sap.ClassInfo<T, Legend>,
|
|
10661
|
+
/**
|
|
10662
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
10663
|
+
* used by this class
|
|
10664
|
+
*/
|
|
10665
|
+
FNMetaImpl?: Function
|
|
10666
|
+
): Function;
|
|
10667
|
+
/**
|
|
10668
|
+
* Returns a metadata object for class sap.ui.vbm.Legend.
|
|
10669
|
+
*
|
|
10670
|
+
*
|
|
10671
|
+
* @returns Metadata object describing this class
|
|
10672
|
+
*/
|
|
10673
|
+
static getMetadata(): ElementMetadata;
|
|
10674
|
+
/**
|
|
10675
|
+
* Adds some item to the aggregation {@link #getItems items}.
|
|
10676
|
+
*
|
|
10677
|
+
*
|
|
10678
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
10679
|
+
*/
|
|
10680
|
+
addItem(
|
|
10681
|
+
/**
|
|
10682
|
+
* The item to add; if empty, nothing is inserted
|
|
10683
|
+
*/
|
|
10684
|
+
oItem: LegendItem
|
|
10685
|
+
): this;
|
|
10686
|
+
/**
|
|
10687
|
+
* Attaches event handler `fnFunction` to the {@link #event:click click} event of this `sap.ui.vbm.Legend`.
|
|
10688
|
+
*
|
|
10689
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
10690
|
+
* otherwise it will be bound to this `sap.ui.vbm.Legend` itself.
|
|
10691
|
+
*
|
|
10692
|
+
* The event is raised when there is a click action on a legend.
|
|
10693
|
+
*
|
|
10694
|
+
*
|
|
10695
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
10696
|
+
*/
|
|
10697
|
+
attachClick(
|
|
10698
|
+
/**
|
|
10699
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
10700
|
+
* object when firing the event
|
|
10701
|
+
*/
|
|
10702
|
+
oData: object,
|
|
10703
|
+
/**
|
|
10704
|
+
* The function to be called when the event occurs
|
|
10705
|
+
*/
|
|
10706
|
+
fnFunction: (p1: Legend$ClickEvent) => void,
|
|
10707
|
+
/**
|
|
10708
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.vbm.Legend` itself
|
|
10709
|
+
*/
|
|
10710
|
+
oListener?: object
|
|
10711
|
+
): this;
|
|
10712
|
+
/**
|
|
10713
|
+
* Attaches event handler `fnFunction` to the {@link #event:click click} event of this `sap.ui.vbm.Legend`.
|
|
10714
|
+
*
|
|
10715
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
10716
|
+
* otherwise it will be bound to this `sap.ui.vbm.Legend` itself.
|
|
10717
|
+
*
|
|
10718
|
+
* The event is raised when there is a click action on a legend.
|
|
10719
|
+
*
|
|
10720
|
+
*
|
|
10721
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
10722
|
+
*/
|
|
10723
|
+
attachClick(
|
|
10724
|
+
/**
|
|
10725
|
+
* The function to be called when the event occurs
|
|
10726
|
+
*/
|
|
10727
|
+
fnFunction: (p1: Legend$ClickEvent) => void,
|
|
10728
|
+
/**
|
|
10729
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.vbm.Legend` itself
|
|
10730
|
+
*/
|
|
10731
|
+
oListener?: object
|
|
10732
|
+
): this;
|
|
10733
|
+
/**
|
|
10734
|
+
* Destroys all the items in the aggregation {@link #getItems items}.
|
|
10735
|
+
*
|
|
10736
|
+
*
|
|
10737
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
10738
|
+
*/
|
|
10739
|
+
destroyItems(): this;
|
|
10740
|
+
/**
|
|
10741
|
+
* Detaches event handler `fnFunction` from the {@link #event:click click} event of this `sap.ui.vbm.Legend`.
|
|
10742
|
+
*
|
|
10743
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
10744
|
+
*
|
|
10745
|
+
*
|
|
10746
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
10747
|
+
*/
|
|
10748
|
+
detachClick(
|
|
10749
|
+
/**
|
|
10750
|
+
* The function to be called, when the event occurs
|
|
10751
|
+
*/
|
|
10752
|
+
fnFunction: (p1: Legend$ClickEvent) => void,
|
|
10753
|
+
/**
|
|
10754
|
+
* Context object on which the given function had to be called
|
|
10755
|
+
*/
|
|
10756
|
+
oListener?: object
|
|
10757
|
+
): this;
|
|
10758
|
+
/**
|
|
10759
|
+
* Fires event {@link #event:click click} to attached listeners.
|
|
10760
|
+
*
|
|
10761
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
10762
|
+
*
|
|
10763
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
10764
|
+
*/
|
|
10765
|
+
fireClick(
|
|
10766
|
+
/**
|
|
10767
|
+
* Parameters to pass along with the event
|
|
10768
|
+
*/
|
|
10769
|
+
mParameters?: Legend$ClickEventParameters
|
|
10770
|
+
): this;
|
|
10771
|
+
/**
|
|
10772
|
+
* Gets current value of property {@link #getCaption caption}.
|
|
10773
|
+
*
|
|
10774
|
+
* The caption of the legend.
|
|
10775
|
+
*
|
|
10776
|
+
* Default value is `...see text or source`.
|
|
10777
|
+
*
|
|
10778
|
+
*
|
|
10779
|
+
* @returns Value of property `caption`
|
|
10780
|
+
*/
|
|
10781
|
+
getCaption(): string;
|
|
10782
|
+
/**
|
|
10783
|
+
* Gets content of aggregation {@link #getItems items}.
|
|
10784
|
+
*
|
|
10785
|
+
* LegendItem object aggregation
|
|
10786
|
+
*/
|
|
10787
|
+
getItems(): LegendItem[];
|
|
10788
|
+
/**
|
|
10789
|
+
* Checks for the provided `sap.ui.vbm.LegendItem` in the aggregation {@link #getItems items}. and returns
|
|
10790
|
+
* its index if found or -1 otherwise.
|
|
10791
|
+
*
|
|
10792
|
+
*
|
|
10793
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
10794
|
+
*/
|
|
10795
|
+
indexOfItem(
|
|
10796
|
+
/**
|
|
10797
|
+
* The item whose index is looked for
|
|
10798
|
+
*/
|
|
10799
|
+
oItem: LegendItem
|
|
10800
|
+
): int;
|
|
10801
|
+
/**
|
|
10802
|
+
* Inserts a item into the aggregation {@link #getItems items}.
|
|
10803
|
+
*
|
|
10804
|
+
*
|
|
10805
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
10806
|
+
*/
|
|
10807
|
+
insertItem(
|
|
10808
|
+
/**
|
|
10809
|
+
* The item to insert; if empty, nothing is inserted
|
|
10810
|
+
*/
|
|
10811
|
+
oItem: LegendItem,
|
|
10812
|
+
/**
|
|
10813
|
+
* The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
|
|
10814
|
+
* at position 0; for a value greater than the current size of the aggregation, the item is inserted at
|
|
10815
|
+
* the last position
|
|
10816
|
+
*/
|
|
10817
|
+
iIndex: int
|
|
10818
|
+
): this;
|
|
10819
|
+
/**
|
|
10820
|
+
* Removes all the controls from the aggregation {@link #getItems items}.
|
|
10821
|
+
*
|
|
10822
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
10823
|
+
*
|
|
10824
|
+
*
|
|
10825
|
+
* @returns An array of the removed elements (might be empty)
|
|
10826
|
+
*/
|
|
10827
|
+
removeAllItems(): LegendItem[];
|
|
10828
|
+
/**
|
|
10829
|
+
* Removes a item from the aggregation {@link #getItems items}.
|
|
10830
|
+
*
|
|
10831
|
+
*
|
|
10832
|
+
* @returns The removed item or `null`
|
|
10833
|
+
*/
|
|
10834
|
+
removeItem(
|
|
10835
|
+
/**
|
|
10836
|
+
* The item to remove or its index or id
|
|
10837
|
+
*/
|
|
10838
|
+
vItem: int | string | LegendItem
|
|
10839
|
+
): LegendItem | null;
|
|
10840
|
+
/**
|
|
10841
|
+
* Sets a new value for property {@link #getCaption caption}.
|
|
10842
|
+
*
|
|
10843
|
+
* The caption of the legend.
|
|
10844
|
+
*
|
|
10845
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
10846
|
+
*
|
|
10847
|
+
* Default value is `...see text or source`.
|
|
10848
|
+
*
|
|
10849
|
+
*
|
|
10850
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
10851
|
+
*/
|
|
10852
|
+
setCaption(
|
|
10853
|
+
/**
|
|
10854
|
+
* New value for property `caption`
|
|
10855
|
+
*/
|
|
10856
|
+
sCaption?: string
|
|
10857
|
+
): this;
|
|
10858
|
+
}
|
|
10859
|
+
/**
|
|
10860
|
+
* Describes the settings that can be provided to the Legend constructor.
|
|
10861
|
+
*/
|
|
10862
|
+
export interface $LegendSettings extends $ElementSettings {
|
|
10863
|
+
/**
|
|
10864
|
+
* The caption of the legend.
|
|
10865
|
+
*/
|
|
10866
|
+
caption?: string | PropertyBindingInfo;
|
|
10867
|
+
|
|
10868
|
+
/**
|
|
10869
|
+
* LegendItem object aggregation
|
|
10870
|
+
*/
|
|
10871
|
+
items?: LegendItem[] | LegendItem | AggregationBindingInfo | `{${string}}`;
|
|
10872
|
+
|
|
10873
|
+
/**
|
|
10874
|
+
* The event is raised when there is a click action on a legend.
|
|
10875
|
+
*/
|
|
10876
|
+
click?: (oEvent: Legend$ClickEvent) => void;
|
|
10877
|
+
}
|
|
10878
|
+
|
|
10879
|
+
/**
|
|
10880
|
+
* Parameters of the Legend#click event.
|
|
10881
|
+
*/
|
|
10882
|
+
export interface Legend$ClickEventParameters {
|
|
10883
|
+
/**
|
|
10884
|
+
* Event data object
|
|
10885
|
+
*/
|
|
10886
|
+
data?: object;
|
|
10887
|
+
|
|
10888
|
+
/**
|
|
10889
|
+
* The row number where the click occurred
|
|
10890
|
+
*/
|
|
10891
|
+
row?: int;
|
|
10892
|
+
|
|
10893
|
+
/**
|
|
10894
|
+
* key modifier Ctrl pressed
|
|
10895
|
+
*/
|
|
10896
|
+
ctrlKey?: boolean;
|
|
10897
|
+
|
|
10898
|
+
/**
|
|
10899
|
+
* key modifier Shift pressed
|
|
10900
|
+
*/
|
|
10901
|
+
shiftKey?: boolean;
|
|
10902
|
+
|
|
10903
|
+
/**
|
|
10904
|
+
* key modifier Meta pressed
|
|
10905
|
+
*/
|
|
10906
|
+
metaKey?: boolean;
|
|
10907
|
+
|
|
10908
|
+
/**
|
|
10909
|
+
* key modifier Alt pressed
|
|
10910
|
+
*/
|
|
10911
|
+
altKey?: boolean;
|
|
10912
|
+
}
|
|
10913
|
+
|
|
10914
|
+
/**
|
|
10915
|
+
* Event object of the Legend#click event.
|
|
10916
|
+
*/
|
|
10917
|
+
export type Legend$ClickEvent = Event<Legend$ClickEventParameters, Legend>;
|
|
10918
|
+
}
|
|
10919
|
+
|
|
10591
10920
|
declare module "sap/ui/vbm/LegendItem" {
|
|
10592
10921
|
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
10593
10922
|
|
|
@@ -20915,6 +21244,8 @@ declare namespace sap {
|
|
|
20915
21244
|
|
|
20916
21245
|
"sap/ui/vbm/HeatPoint": undefined;
|
|
20917
21246
|
|
|
21247
|
+
"sap/ui/vbm/Legend": undefined;
|
|
21248
|
+
|
|
20918
21249
|
"sap/ui/vbm/LegendItem": undefined;
|
|
20919
21250
|
|
|
20920
21251
|
"sap/ui/vbm/library": undefined;
|
package/types/sap.ui.vk.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.134.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/vk/library" {
|
|
4
4
|
/**
|
|
@@ -2262,7 +2262,7 @@ declare module "sap/ui/vk/ContentConnector" {
|
|
|
2262
2262
|
/**
|
|
2263
2263
|
* The consumption scenario.
|
|
2264
2264
|
*/
|
|
2265
|
-
consumptionScenario:
|
|
2265
|
+
consumptionScenario: string
|
|
2266
2266
|
): this;
|
|
2267
2267
|
/**
|
|
2268
2268
|
* Sets an object that decrypts content of encrypted models.
|
|
@@ -4393,7 +4393,7 @@ declare module "sap/ui/vk/ContentManager" {
|
|
|
4393
4393
|
/**
|
|
4394
4394
|
* The consumption scenario.
|
|
4395
4395
|
*/
|
|
4396
|
-
consumptionScenario:
|
|
4396
|
+
consumptionScenario: string
|
|
4397
4397
|
): this;
|
|
4398
4398
|
/**
|
|
4399
4399
|
* Sets the maximum number of retry attempts for a download operation if the initial request to retrieve
|
|
@@ -39703,7 +39703,7 @@ declare module "sap/ui/vk/Viewer" {
|
|
|
39703
39703
|
/**
|
|
39704
39704
|
* The consumption scenario.
|
|
39705
39705
|
*/
|
|
39706
|
-
consumptionScenario:
|
|
39706
|
+
consumptionScenario: string
|
|
39707
39707
|
): this;
|
|
39708
39708
|
/**
|
|
39709
39709
|
* Sets an object that decrypts content of encrypted models.
|
package/types/sap.ui.vtm.d.ts
CHANGED