@sapui5/ts-types 1.97.2 → 1.100.0
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/index.d.ts +0 -4
- package/types/sap.apf.d.ts +2 -2
- 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.esh.search.ui.d.ts +2 -240
- package/types/sap.f.d.ts +263 -636
- package/types/sap.fe.common.d.ts +2 -6
- package/types/sap.fe.core.d.ts +399 -305
- package/types/sap.fe.macros.d.ts +567 -36
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +5 -1
- package/types/sap.fe.test.d.ts +19 -14
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +827 -12
- package/types/sap.landvisz.d.ts +49 -1
- package/types/sap.m.d.ts +4111 -397
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +38 -3
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.grid.d.ts +3 -1
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +29 -7
- package/types/sap.suite.ui.microchart.d.ts +5 -5
- package/types/sap.tnt.d.ts +31 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +313 -46
- package/types/sap.ui.core.d.ts +2094 -799
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +3 -3
- package/types/sap.ui.fl.d.ts +17 -5
- package/types/sap.ui.generic.app.d.ts +4 -3
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +49 -13
- package/types/sap.ui.layout.d.ts +7 -4
- package/types/sap.ui.mdc.d.ts +24 -6
- package/types/sap.ui.richtexteditor.d.ts +7 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +6 -12
- package/types/sap.ui.table.d.ts +24 -2
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -3
- package/types/sap.ui.vk.d.ts +124 -31
- package/types/sap.ui.vtm.d.ts +4 -4
- package/types/sap.uiext.inbox.d.ts +2 -2
- package/types/sap.ushell.d.ts +4999 -5059
- package/types/sap.ushell_abap.d.ts +1 -495
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +105 -231
- 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 +2 -6
- package/types/sap.fe.placeholder.d.ts +0 -3
- package/types/sap.fe.plugins.d.ts +0 -3
- package/types/sap.fe.semantics.d.ts +0 -3
- package/types/sap.fe.tools.d.ts +0 -3
package/types/sap.viz.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.100.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -21,6 +21,7 @@ declare namespace sap {
|
|
|
21
21
|
* Example:
|
|
22
22
|
* ```javascript
|
|
23
23
|
*
|
|
24
|
+
* // Format required from "sap/viz/ui5/api/env/Format"
|
|
24
25
|
* var customerFormatter = {
|
|
25
26
|
* format : function(value, pattern) {
|
|
26
27
|
* // add your codes here to convert number value to formatted string
|
|
@@ -28,10 +29,10 @@ declare namespace sap {
|
|
|
28
29
|
* return formattedString;
|
|
29
30
|
* }
|
|
30
31
|
* };
|
|
31
|
-
*
|
|
32
|
+
* Format.numericFormatter(customerFormatter);
|
|
32
33
|
* ```
|
|
33
34
|
*/
|
|
34
|
-
numericFormatter(formatter: Function):
|
|
35
|
+
numericFormatter(formatter: Function): any;
|
|
35
36
|
}
|
|
36
37
|
const Format: Format;
|
|
37
38
|
}
|
|
@@ -740,7 +741,7 @@ declare namespace sap {
|
|
|
740
741
|
*/
|
|
741
742
|
constructor(
|
|
742
743
|
/**
|
|
743
|
-
*
|
|
744
|
+
* ID for the new control, generated automatically if no ID is given
|
|
744
745
|
*/
|
|
745
746
|
sId?: string,
|
|
746
747
|
/**
|
|
@@ -779,23 +780,16 @@ declare namespace sap {
|
|
|
779
780
|
*/
|
|
780
781
|
close(): void;
|
|
781
782
|
/**
|
|
782
|
-
* Connect chart Popover with VizFrame.
|
|
783
|
-
* It must be called by application.
|
|
784
|
-
*
|
|
785
|
-
* Example:
|
|
786
|
-
* ```javascript
|
|
783
|
+
* Connect chart Popover with VizFrame.
|
|
787
784
|
*
|
|
788
|
-
*
|
|
789
|
-
* 'vizType' : 'bar',
|
|
790
|
-
* 'uiConfig' : {
|
|
791
|
-
* 'applicationSet': 'fiori'
|
|
792
|
-
* }
|
|
793
|
-
* });
|
|
794
|
-
* var vizPopover = new sap.viz.ui5.controls.Popover({});
|
|
795
|
-
* vizPopover.connect(vizFrame.getVizUid());
|
|
796
|
-
* ```
|
|
785
|
+
* Chart Popover is only supported for VizFrame with type 'fiori'. This method must be called by application.
|
|
797
786
|
*/
|
|
798
|
-
connect(
|
|
787
|
+
connect(
|
|
788
|
+
/**
|
|
789
|
+
* Unique ID of the VizFrame to connect this Popover with
|
|
790
|
+
*/
|
|
791
|
+
uid: string
|
|
792
|
+
): void;
|
|
799
793
|
/**
|
|
800
794
|
* Gets current value of property {@link #getActionItems actionItems}.
|
|
801
795
|
*
|
|
@@ -1139,23 +1133,33 @@ declare namespace sap {
|
|
|
1139
1133
|
oListener?: object
|
|
1140
1134
|
): this;
|
|
1141
1135
|
/**
|
|
1142
|
-
*
|
|
1143
|
-
*
|
|
1136
|
+
* Exports the current viz as an SVG String.
|
|
1137
|
+
*
|
|
1138
|
+
* The viz is ready to be exported to SVG ONLY after the initialization is finished. Any attempt to export
|
|
1139
|
+
* to SVG before that will result in an empty SVG string.
|
|
1144
1140
|
*/
|
|
1145
1141
|
exportToSVGString(
|
|
1146
1142
|
/**
|
|
1147
|
-
*
|
|
1148
|
-
* ```javascript
|
|
1149
|
-
*
|
|
1150
|
-
* {
|
|
1151
|
-
* width: Number - the exported svg will be scaled to the specific width.
|
|
1152
|
-
* height: Number - the exported svg will be scaled to the specific height.
|
|
1153
|
-
* hideTitleLegend: Boolean - flag to indicate if the exported svg includes the original title and legend.
|
|
1154
|
-
* hideAxis: Boolean - flag to indicate if the exported svg includes the original axis.
|
|
1155
|
-
* }
|
|
1156
|
-
* ```
|
|
1143
|
+
* Options for the export
|
|
1157
1144
|
*/
|
|
1158
|
-
option?:
|
|
1145
|
+
option?: {
|
|
1146
|
+
/**
|
|
1147
|
+
* the exported SVG will be scaled to the specific width
|
|
1148
|
+
*/
|
|
1149
|
+
width?: int;
|
|
1150
|
+
/**
|
|
1151
|
+
* the exported SVG will be scaled to the specific height
|
|
1152
|
+
*/
|
|
1153
|
+
height?: int;
|
|
1154
|
+
/**
|
|
1155
|
+
* flag to indicate if the exported SVG includes the original title and legend
|
|
1156
|
+
*/
|
|
1157
|
+
hideTitleLegend?: boolean;
|
|
1158
|
+
/**
|
|
1159
|
+
* flag to indicate if the exported SVG includes the original axis
|
|
1160
|
+
*/
|
|
1161
|
+
hideAxis?: boolean;
|
|
1162
|
+
}
|
|
1159
1163
|
): string;
|
|
1160
1164
|
/**
|
|
1161
1165
|
* Fires event {@link #event:deselectData deselectData} to attached listeners.
|
|
@@ -1250,7 +1254,7 @@ declare namespace sap {
|
|
|
1250
1254
|
*/
|
|
1251
1255
|
getVizType(): string;
|
|
1252
1256
|
/**
|
|
1253
|
-
* Uid for viz frame. It supports other controls to connect to a viz instance.
|
|
1257
|
+
* Uid for this viz frame. It supports other controls to connect to a viz instance.
|
|
1254
1258
|
*/
|
|
1255
1259
|
getVizUid(): string;
|
|
1256
1260
|
/**
|
|
@@ -1321,92 +1325,31 @@ declare namespace sap {
|
|
|
1321
1325
|
/**
|
|
1322
1326
|
* Set legend visibility.
|
|
1323
1327
|
*/
|
|
1324
|
-
|
|
1325
|
-
):
|
|
1328
|
+
visibility: boolean
|
|
1329
|
+
): this;
|
|
1326
1330
|
/**
|
|
1327
1331
|
* Setter for property uiConfig. uiConfig could only set via settings parameter of constructor.
|
|
1328
1332
|
*
|
|
1329
1333
|
* uiConfig from base type could config the instance. Supported uiConfig keyword: applicationSet, showErrorMessage
|
|
1330
|
-
*
|
|
1331
|
-
* Example:
|
|
1332
|
-
*
|
|
1333
|
-
*
|
|
1334
|
-
* ```javascript
|
|
1335
|
-
*
|
|
1336
|
-
* var vizFrame = new sap.viz.ui5.controls.VizFrame({
|
|
1337
|
-
* 'vizType' : 'bar',
|
|
1338
|
-
* 'uiConfig' : {
|
|
1339
|
-
* 'applicationSet' : 'fiori',
|
|
1340
|
-
* 'showErrorMessage' : true
|
|
1341
|
-
* }
|
|
1342
|
-
* });
|
|
1343
|
-
* ```
|
|
1344
1334
|
*/
|
|
1345
1335
|
setUiConfig(oUiConfig: object): this;
|
|
1346
|
-
/**
|
|
1347
|
-
* Sets a new value for property {@link #getVizCustomizations vizCustomizations}.
|
|
1348
|
-
*
|
|
1349
|
-
* Chart customizations property, aim to customize existing (build-in) charts to meet specific LoB requirements.
|
|
1350
|
-
* Currently, supported chart type : column, dual_column, bar, dual_bar, stacked_column, stacked_bar, 100_stacked_bar,
|
|
1351
|
-
* 100_stacked_column, 100_dual_stacked_bar, 100_dual_stacked_column, dual_stacked_bar, dual_stacked_column,
|
|
1352
|
-
* line, horizontal_line, dual_line, dual_horizontal_line, combination, horizontal_combination, stacked_combination,
|
|
1353
|
-
* horizontal_stacked_combination, dual_stacked_combination, dual_horizontal_stacked_combination, scatter,
|
|
1354
|
-
* bubble.
|
|
1355
|
-
*
|
|
1356
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1357
|
-
*/
|
|
1358
|
-
setVizCustomizations(
|
|
1359
|
-
/**
|
|
1360
|
-
* New value for property `vizCustomizations`
|
|
1361
|
-
*/
|
|
1362
|
-
oVizCustomizations?: object
|
|
1363
|
-
): this;
|
|
1364
1336
|
/**
|
|
1365
1337
|
* Properties for viz frame.
|
|
1366
|
-
*
|
|
1367
|
-
* Example:
|
|
1368
|
-
*
|
|
1369
|
-
*
|
|
1370
|
-
* ```javascript
|
|
1371
|
-
*
|
|
1372
|
-
* var vizFrame = new sap.viz.ui5.controls.VizFrame(...);
|
|
1373
|
-
* var properties = {
|
|
1374
|
-
* 'legend' : { 'visible'; : true }
|
|
1375
|
-
* };
|
|
1376
|
-
* vizFrame.setVizProperties(properties);
|
|
1377
|
-
* ```
|
|
1378
1338
|
*/
|
|
1379
1339
|
setVizProperties(oVizProperties: object): this;
|
|
1380
1340
|
/**
|
|
1381
1341
|
* Scales for VizFrame.
|
|
1382
|
-
*
|
|
1383
|
-
* Example:
|
|
1384
|
-
*
|
|
1385
|
-
*
|
|
1386
|
-
* ```javascript
|
|
1387
|
-
*
|
|
1388
|
-
* var vizFrame = new sap.viz.ui5.controls.VizFrame(...);
|
|
1389
|
-
* var scales = [{
|
|
1390
|
-
* 'feed': 'color',
|
|
1391
|
-
* 'palette': ['#ff0000']
|
|
1392
|
-
* }];
|
|
1393
|
-
* var vizScalesOption = {replace: true};
|
|
1394
|
-
* vizFrame.setVizScales(scales, vizScalesOption);
|
|
1395
|
-
* ```
|
|
1396
1342
|
*/
|
|
1397
1343
|
setVizScales(
|
|
1398
1344
|
oVizScales: object,
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
* ```
|
|
1408
|
-
*/
|
|
1409
|
-
oVizScalesOption?: object
|
|
1345
|
+
|
|
1346
|
+
oVizScalesOption?: {
|
|
1347
|
+
/**
|
|
1348
|
+
* replace scales or not. When oVizScalesOption.replace is true, replace existing scales with the input
|
|
1349
|
+
* scales.
|
|
1350
|
+
*/
|
|
1351
|
+
replace?: boolean;
|
|
1352
|
+
}
|
|
1410
1353
|
): this;
|
|
1411
1354
|
/**
|
|
1412
1355
|
* Setter for property vizType. vizType could only set via settings parameter in Constructor. Do not set
|
|
@@ -1420,7 +1363,8 @@ declare namespace sap {
|
|
|
1420
1363
|
* Example:
|
|
1421
1364
|
* ```javascript
|
|
1422
1365
|
*
|
|
1423
|
-
*
|
|
1366
|
+
* // VizFrame required from "sap/viz/ui5/controls/VizFrame"
|
|
1367
|
+
* var vizFrame = new VizFrame({
|
|
1424
1368
|
* 'vizType' : 'bar'
|
|
1425
1369
|
* });
|
|
1426
1370
|
* ```
|
|
@@ -1431,67 +1375,15 @@ declare namespace sap {
|
|
|
1431
1375
|
* Example:
|
|
1432
1376
|
* ```javascript
|
|
1433
1377
|
*
|
|
1434
|
-
*
|
|
1378
|
+
* // VizFrame required from "sap/viz/ui5/controls/VizFrame"
|
|
1379
|
+
* var vizFrame = new VizFrame({
|
|
1435
1380
|
* 'vizType' : 'myextension'
|
|
1436
1381
|
* });
|
|
1437
1382
|
* ```
|
|
1438
1383
|
*/
|
|
1439
1384
|
setVizType(sVizType: string): this;
|
|
1440
1385
|
/**
|
|
1441
|
-
* Selections for viz frame.
|
|
1442
|
-
*
|
|
1443
|
-
*
|
|
1444
|
-
* ```javascript
|
|
1445
|
-
*
|
|
1446
|
-
* var vizFrame = new sap.viz.ui5.controls.VizFrame(...);
|
|
1447
|
-
* //vizSelection for set
|
|
1448
|
-
* var points = [{
|
|
1449
|
-
* data : {
|
|
1450
|
-
* "Country" : "China",
|
|
1451
|
-
* "Year" : "2001",
|
|
1452
|
-
* "Product" : "Car",
|
|
1453
|
-
* "Profit" : 25
|
|
1454
|
-
* }}, {
|
|
1455
|
-
* data : {
|
|
1456
|
-
* "Country" : "China",
|
|
1457
|
-
* "Year" : "2001",
|
|
1458
|
-
* "Product" : "Trunk",
|
|
1459
|
-
* "Profit" : 34
|
|
1460
|
-
* }}];
|
|
1461
|
-
* var action = {
|
|
1462
|
-
* clearSelection : true
|
|
1463
|
-
* };
|
|
1464
|
-
* vizFrame.vizSelection(points, action);
|
|
1465
|
-
* //vizSelection for get and return result
|
|
1466
|
-
* var result = vizFrame.vizSelection();
|
|
1467
|
-
* result = [{
|
|
1468
|
-
* data : {
|
|
1469
|
-
* "Country" : "China",
|
|
1470
|
-
* "Year" : "2001",
|
|
1471
|
-
* "Product" : "Car",
|
|
1472
|
-
* "Profit" : 25
|
|
1473
|
-
* },
|
|
1474
|
-
* unit : {
|
|
1475
|
-
* "Profit" : "$"
|
|
1476
|
-
* },
|
|
1477
|
-
* dataName : {
|
|
1478
|
-
* "Profit" : "Actual"
|
|
1479
|
-
* }
|
|
1480
|
-
* }, {
|
|
1481
|
-
* data : {
|
|
1482
|
-
* "Country" : "China",
|
|
1483
|
-
* "Year" : "2001",
|
|
1484
|
-
* "Product" : "Trunk",
|
|
1485
|
-
* "Profit" : 34
|
|
1486
|
-
* },
|
|
1487
|
-
* unit : {
|
|
1488
|
-
* "Profit" : "$"
|
|
1489
|
-
* },
|
|
1490
|
-
* dataName : {
|
|
1491
|
-
* "Profit" : "Actual"
|
|
1492
|
-
* }
|
|
1493
|
-
* }]
|
|
1494
|
-
* ```
|
|
1386
|
+
* Selections for viz frame.
|
|
1495
1387
|
*/
|
|
1496
1388
|
vizSelection(
|
|
1497
1389
|
/**
|
|
@@ -1502,43 +1394,11 @@ declare namespace sap {
|
|
|
1502
1394
|
* whether to clear previous selection, by default the selection will be incremental selection
|
|
1503
1395
|
*/
|
|
1504
1396
|
oAction: object
|
|
1505
|
-
):
|
|
1397
|
+
): this;
|
|
1506
1398
|
/**
|
|
1507
1399
|
* Update viz frame according to a JSON object, it can update css, properties, feeds and data model.
|
|
1508
1400
|
*
|
|
1509
1401
|
* VizFrame instance has to be placed at its corresponding parent at first to make this API work.
|
|
1510
|
-
*
|
|
1511
|
-
* Example:
|
|
1512
|
-
*
|
|
1513
|
-
*
|
|
1514
|
-
* ```javascript
|
|
1515
|
-
*
|
|
1516
|
-
* var vizFrame = new sap.viz.ui5.controls.VizFrame(...);
|
|
1517
|
-
* var data = new sap.viz.ui5.data.FlattenedDataset(...);
|
|
1518
|
-
* var properties = {
|
|
1519
|
-
* 'legend' : {'visible' : true},
|
|
1520
|
-
* };
|
|
1521
|
-
* var scales = [{
|
|
1522
|
-
* 'feed': 'color',
|
|
1523
|
-
* 'palette': ['#ff0000']
|
|
1524
|
-
* }];
|
|
1525
|
-
* var customizations = {id:"sap.viz.custom",customOverlayProperties: {}};
|
|
1526
|
-
* var FeedItem = sap.viz.ui5.controls.common.feeds.FeedItem;
|
|
1527
|
-
* var feeds = [
|
|
1528
|
-
* new FeedItem({'uid' : 'primaryValues',
|
|
1529
|
-
* 'type' : 'Measure',
|
|
1530
|
-
* 'values' : []}),
|
|
1531
|
-
* new FeedItem({'uid' : 'regionColor',
|
|
1532
|
-
* 'type' : 'Dimension',
|
|
1533
|
-
* 'values' : []})];
|
|
1534
|
-
* vizFrame.vizUpdate({
|
|
1535
|
-
* 'data' : data,
|
|
1536
|
-
* 'properties' : properties,
|
|
1537
|
-
* 'scales' : scales,
|
|
1538
|
-
* 'customizations' : customizations,
|
|
1539
|
-
* 'feeds' : feeds
|
|
1540
|
-
* });
|
|
1541
|
-
* ```
|
|
1542
1402
|
*/
|
|
1543
1403
|
vizUpdate(
|
|
1544
1404
|
/**
|
|
@@ -1548,19 +1408,12 @@ declare namespace sap {
|
|
|
1548
1408
|
): void;
|
|
1549
1409
|
/**
|
|
1550
1410
|
* Zoom the chart plot.
|
|
1551
|
-
*
|
|
1552
|
-
* Example:
|
|
1553
|
-
* ```javascript
|
|
1554
|
-
*
|
|
1555
|
-
* var vizFrame = new sap.viz.ui5.controls.VizFrame(...);
|
|
1556
|
-
* vizFrame.zoom({direction: "in"});
|
|
1557
|
-
* ```
|
|
1558
1411
|
*/
|
|
1559
1412
|
zoom(
|
|
1560
1413
|
/**
|
|
1561
|
-
* a "direction" attribute with value "in" or "out" indicating zoom to enlarge or shrink respectively
|
|
1414
|
+
* contains a "direction" attribute with value "in" or "out" indicating zoom to enlarge or shrink respectively
|
|
1562
1415
|
*/
|
|
1563
|
-
|
|
1416
|
+
cfg: object
|
|
1564
1417
|
): void;
|
|
1565
1418
|
}
|
|
1566
1419
|
/**
|
|
@@ -1849,19 +1702,6 @@ declare namespace sap {
|
|
|
1849
1702
|
): this;
|
|
1850
1703
|
/**
|
|
1851
1704
|
* Set start end date of range slider. Supported chart type: timeseries_column, timeseries_line.
|
|
1852
|
-
*
|
|
1853
|
-
* Example:
|
|
1854
|
-
*
|
|
1855
|
-
*
|
|
1856
|
-
* ```javascript
|
|
1857
|
-
*
|
|
1858
|
-
* var vizSlider = new sap.viz.ui5.controls.VizSlider(...);
|
|
1859
|
-
* var range = {
|
|
1860
|
-
* 'start' : timestamp,
|
|
1861
|
-
* 'end' : timestamp
|
|
1862
|
-
* };
|
|
1863
|
-
* vizSlider.setRange(range);
|
|
1864
|
-
* ```
|
|
1865
1705
|
*/
|
|
1866
1706
|
setRange(
|
|
1867
1707
|
/**
|
|
@@ -2025,19 +1865,6 @@ declare namespace sap {
|
|
|
2025
1865
|
/**
|
|
2026
1866
|
* Connect chart Tooltip with VizFrame. Chart Tooltip is only supported for VizFrame with 'fiori' type.
|
|
2027
1867
|
* It must be called by application.
|
|
2028
|
-
*
|
|
2029
|
-
* Example:
|
|
2030
|
-
* ```javascript
|
|
2031
|
-
*
|
|
2032
|
-
* var vizFrame = new sap.viz.ui5.controls.VizFrame({
|
|
2033
|
-
* 'vizType' : 'bar',
|
|
2034
|
-
* 'uiConfig' : {
|
|
2035
|
-
* 'applicationSet': 'fiori'
|
|
2036
|
-
* }
|
|
2037
|
-
* });
|
|
2038
|
-
* var Tooltip = new sap.viz.ui5.controls.VizTooltip({});
|
|
2039
|
-
* Tooltip.connect(vizFrame.getVizUid());
|
|
2040
|
-
* ```
|
|
2041
1868
|
*/
|
|
2042
1869
|
connect(uid: string): void;
|
|
2043
1870
|
/**
|
|
@@ -3245,6 +3072,40 @@ declare namespace sap {
|
|
|
3245
3072
|
*/
|
|
3246
3073
|
oListener?: object
|
|
3247
3074
|
): this;
|
|
3075
|
+
/**
|
|
3076
|
+
* @EXPERIMENTAL (since 1.16.6)
|
|
3077
|
+
*
|
|
3078
|
+
* Find the model context for a given 'criteria' into chart data.
|
|
3079
|
+
*
|
|
3080
|
+
* The native sap.viz library provides data objects with the `selectData` event. Applications can call this
|
|
3081
|
+
* method for each data in a selectData event to find the corresponding UI5 model context.
|
|
3082
|
+
*
|
|
3083
|
+
* When the dataset has not been converted into a VIZ dataset yet (e.g. no rendering yet) or when the coordinates
|
|
3084
|
+
* of the path are not within the range of the current dataset, then undefined will be returned.
|
|
3085
|
+
*
|
|
3086
|
+
* Example when use sap.viz.ui5.*:
|
|
3087
|
+
* ```javascript
|
|
3088
|
+
*
|
|
3089
|
+
* selectData: function(oEvent) {
|
|
3090
|
+
* var aSelectData = oEvent.getParameter("data");
|
|
3091
|
+
* var oContext = this.getDataset().findContext(aSelectData[0].data[0].ctx.path);
|
|
3092
|
+
* }
|
|
3093
|
+
* ```
|
|
3094
|
+
* Example when use sap.viz.ui5.controls.VizFrame:
|
|
3095
|
+
* ```javascript
|
|
3096
|
+
*
|
|
3097
|
+
* selectData: function(oEvent) {
|
|
3098
|
+
* var aSelectData = oEvent.getParameter("data");
|
|
3099
|
+
* var oContext = this.getDataset().findContext(aSelectData[0].data);
|
|
3100
|
+
* }
|
|
3101
|
+
* ```
|
|
3102
|
+
*/
|
|
3103
|
+
findContext(
|
|
3104
|
+
/**
|
|
3105
|
+
* a structure as provided by the sap.viz library
|
|
3106
|
+
*/
|
|
3107
|
+
oCriteria: object
|
|
3108
|
+
): sap.ui.model.Context;
|
|
3248
3109
|
/**
|
|
3249
3110
|
* Fires event {@link #event:dataChange dataChange} to attached listeners.
|
|
3250
3111
|
*/
|
|
@@ -3444,6 +3305,17 @@ declare namespace sap {
|
|
|
3444
3305
|
*/
|
|
3445
3306
|
oContext: any
|
|
3446
3307
|
): this;
|
|
3308
|
+
/**
|
|
3309
|
+
* @deprecated (since 1.19) - Please use selection API {@link sap.viz.ui5.core.BaseChart.prototype.selection}.
|
|
3310
|
+
*
|
|
3311
|
+
* Set chart's default selection. This api will do nothing when use VizFrame.
|
|
3312
|
+
*/
|
|
3313
|
+
setDefaultSelection(
|
|
3314
|
+
/**
|
|
3315
|
+
* Array of default selection info
|
|
3316
|
+
*/
|
|
3317
|
+
selectionInfos: object[]
|
|
3318
|
+
): void;
|
|
3447
3319
|
/**
|
|
3448
3320
|
* Unbinds aggregation {@link #getData data} from model data.
|
|
3449
3321
|
*/
|
|
@@ -3851,20 +3723,22 @@ declare namespace sap {
|
|
|
3851
3723
|
YEARMONTHDAY = "YearMonthDay",
|
|
3852
3724
|
}
|
|
3853
3725
|
}
|
|
3726
|
+
|
|
3854
3727
|
/**
|
|
3855
3728
|
* Provides methods set chart formatter for VizFrame.
|
|
3856
3729
|
*/
|
|
3857
|
-
|
|
3730
|
+
class ChartFormatter {
|
|
3731
|
+
constructor();
|
|
3732
|
+
|
|
3858
3733
|
/**
|
|
3859
3734
|
* Get an instance of ChartFormatter
|
|
3860
3735
|
*/
|
|
3861
|
-
getInstance(): void;
|
|
3736
|
+
static getInstance(): void;
|
|
3862
3737
|
/**
|
|
3863
3738
|
* Format the value according to the custom format function
|
|
3864
3739
|
*/
|
|
3865
3740
|
format(): void;
|
|
3866
3741
|
}
|
|
3867
|
-
const ChartFormatter: ChartFormatter;
|
|
3868
3742
|
}
|
|
3869
3743
|
|
|
3870
3744
|
namespace types {
|
package/types/sap.zen.dsh.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.100.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace zen {
|
|
@@ -496,10 +496,6 @@ declare namespace sap {
|
|
|
496
496
|
*/
|
|
497
497
|
sDim: string
|
|
498
498
|
): this;
|
|
499
|
-
/**
|
|
500
|
-
* Resets this data provider to the state after the metadata import
|
|
501
|
-
*/
|
|
502
|
-
resetToDefault(): void;
|
|
503
499
|
/**
|
|
504
500
|
* Distribute the dimension among the rows and columns
|
|
505
501
|
*/
|
|
@@ -587,7 +583,7 @@ declare namespace sap {
|
|
|
587
583
|
* the filter
|
|
588
584
|
*/
|
|
589
585
|
oFilter: object
|
|
590
|
-
):
|
|
586
|
+
): this;
|
|
591
587
|
/**
|
|
592
588
|
* sets the format property of the dataprovider, this can influence the resultset that is aggregated in
|
|
593
589
|
* the `Grid.Cells` collection. Its main purpose is to influence the visualisation of a `sap.zen.dsh.PivotTable`
|
package/types/sap.fe.tools.d.ts
DELETED