@sapui5/types 1.114.0 → 1.115.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/sap.apf.d.ts +70 -60
- package/types/sap.ca.ui.d.ts +207 -105
- package/types/sap.chart.d.ts +148 -129
- package/types/sap.collaboration.d.ts +98 -87
- package/types/sap.esh.search.ui.d.ts +92 -2
- package/types/sap.f.d.ts +1378 -1019
- package/types/sap.fe.core.d.ts +48 -163
- package/types/sap.fe.macros.d.ts +76 -16
- package/types/sap.fe.navigation.d.ts +42 -31
- package/types/sap.fe.templates.d.ts +15 -293
- package/types/sap.fe.test.d.ts +102 -46
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +1987 -1251
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.landvisz.d.ts +75 -29
- package/types/sap.m.d.ts +6945 -4884
- package/types/sap.makit.d.ts +43 -18
- package/types/sap.me.d.ts +112 -69
- package/types/sap.ndc.d.ts +101 -39
- package/types/sap.ovp.d.ts +3 -3
- package/types/sap.rules.ui.d.ts +53 -24
- package/types/sap.sac.df.d.ts +11 -8
- package/types/sap.suite.ui.commons.d.ts +2090 -1437
- package/types/sap.suite.ui.generic.template.d.ts +47 -44
- package/types/sap.suite.ui.microchart.d.ts +242 -163
- package/types/sap.tnt.d.ts +138 -67
- package/types/sap.ui.codeeditor.d.ts +37 -30
- package/types/sap.ui.commons.d.ts +936 -708
- package/types/sap.ui.comp.d.ts +2336 -1606
- package/types/sap.ui.core.d.ts +4625 -2580
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +38 -32
- package/types/sap.ui.fl.d.ts +102 -80
- package/types/sap.ui.generic.app.d.ts +58 -49
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +219 -167
- package/types/sap.ui.layout.d.ts +378 -398
- package/types/sap.ui.mdc.d.ts +21983 -139
- package/types/sap.ui.richtexteditor.d.ts +55 -50
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +13 -11
- package/types/sap.ui.support.d.ts +7 -7
- package/types/sap.ui.table.d.ts +594 -478
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +839 -587
- package/types/sap.ui.ux3.d.ts +847 -592
- package/types/sap.ui.vbm.d.ts +1018 -760
- package/types/sap.ui.vk.d.ts +2858 -1896
- package/types/sap.ui.vtm.d.ts +650 -479
- package/types/sap.ui.webc.common.d.ts +5 -3
- package/types/sap.ui.webc.fiori.d.ts +530 -345
- package/types/sap.ui.webc.main.d.ts +1114 -835
- package/types/sap.uiext.inbox.d.ts +79 -37
- package/types/sap.ushell.d.ts +441 -213
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +309 -222
- package/types/sap.viz.d.ts +932 -521
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +15 -10
- package/types/sap.zen.crosstab.d.ts +7 -4
- package/types/sap.zen.dsh.d.ts +143 -87
package/types/sap.ui.vtm.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.115.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/vtm/library" {
|
|
4
4
|
import Vtm from "sap/ui/vtm/Vtm";
|
|
@@ -150,7 +150,7 @@ declare module "sap/ui/vtm/library" {
|
|
|
150
150
|
* @EXPERIMENTAL (since 1.50.0) - This library is experimental and might be modified or removed in future
|
|
151
151
|
* versions.
|
|
152
152
|
*
|
|
153
|
-
* Interface for extensions which calculate the icon to show for each tree item in the {@link sap.ui.vtm.InternalColumnDescriptor.MessageStatus}
|
|
153
|
+
* Interface for extensions which calculate the icon to show for each tree item in the {@link sap.ui.vtm.InternalColumnDescriptor.MessageStatus }
|
|
154
154
|
* column.
|
|
155
155
|
*/
|
|
156
156
|
interface IMessageStatusCalculationExtension {
|
|
@@ -162,7 +162,7 @@ declare module "sap/ui/vtm/library" {
|
|
|
162
162
|
* @EXPERIMENTAL (since 1.50.0) - This library is experimental and might be modified or removed in future
|
|
163
163
|
* versions.
|
|
164
164
|
*
|
|
165
|
-
* Interface for extensions which provide a behavior when the icon in the column header for the {@link sap.ui.vtm.InternalColumnDescriptor.MessageStatus}
|
|
165
|
+
* Interface for extensions which provide a behavior when the icon in the column header for the {@link sap.ui.vtm.InternalColumnDescriptor.MessageStatus }
|
|
166
166
|
* column is clicked.
|
|
167
167
|
*/
|
|
168
168
|
interface IMessageStatusHeaderIconClickExtension {
|
|
@@ -174,7 +174,7 @@ declare module "sap/ui/vtm/library" {
|
|
|
174
174
|
* @EXPERIMENTAL (since 1.50.0) - This library is experimental and might be modified or removed in future
|
|
175
175
|
* versions.
|
|
176
176
|
*
|
|
177
|
-
* Interface for extensions which provide a behavior when an icon in the {@link sap.ui.vtm.InternalColumnDescriptor.MessageStatus}
|
|
177
|
+
* Interface for extensions which provide a behavior when an icon in the {@link sap.ui.vtm.InternalColumnDescriptor.MessageStatus }
|
|
178
178
|
* column is clicked.
|
|
179
179
|
*/
|
|
180
180
|
interface IMessageStatusIconClickExtension {
|
|
@@ -242,7 +242,7 @@ declare module "sap/ui/vtm/library" {
|
|
|
242
242
|
* @EXPERIMENTAL (since 1.50.0) - This library is experimental and might be modified or removed in future
|
|
243
243
|
* versions.
|
|
244
244
|
*
|
|
245
|
-
* Interface for extensions which provide a behavior when the icon in the column header for the {@link sap.ui.vtm.InternalColumnDescriptor.Visibility}
|
|
245
|
+
* Interface for extensions which provide a behavior when the icon in the column header for the {@link sap.ui.vtm.InternalColumnDescriptor.Visibility }
|
|
246
246
|
* column is clicked.
|
|
247
247
|
*/
|
|
248
248
|
interface IVisibilityHeaderIconClickExtension {
|
|
@@ -254,7 +254,7 @@ declare module "sap/ui/vtm/library" {
|
|
|
254
254
|
* @EXPERIMENTAL (since 1.50.0) - This library is experimental and might be modified or removed in future
|
|
255
255
|
* versions.
|
|
256
256
|
*
|
|
257
|
-
* Interface for extensions which provide a behavior when an icon in the {@link sap.ui.vtm.InternalColumnDescriptor.Visibility}
|
|
257
|
+
* Interface for extensions which provide a behavior when an icon in the {@link sap.ui.vtm.InternalColumnDescriptor.Visibility }
|
|
258
258
|
* column is clicked.
|
|
259
259
|
*/
|
|
260
260
|
interface IVisibilityIconClickExtension {
|
|
@@ -529,7 +529,7 @@ declare module "sap/ui/vtm/Column" {
|
|
|
529
529
|
*
|
|
530
530
|
* Represents a data column for a {@link sap.ui.vtm.Tree}.
|
|
531
531
|
*/
|
|
532
|
-
|
|
532
|
+
class Column extends UI5Element {
|
|
533
533
|
/**
|
|
534
534
|
* Constructor for a new Column.
|
|
535
535
|
*
|
|
@@ -896,6 +896,7 @@ declare module "sap/ui/vtm/Column" {
|
|
|
896
896
|
sWidth?: CSSSize
|
|
897
897
|
): this;
|
|
898
898
|
}
|
|
899
|
+
export default Column;
|
|
899
900
|
|
|
900
901
|
export interface $ColumnSettings extends $ElementSettings {
|
|
901
902
|
/**
|
|
@@ -1008,7 +1009,7 @@ declare module "sap/ui/vtm/ColumnType" {
|
|
|
1008
1009
|
* The Internal column type. Columns of this type:
|
|
1009
1010
|
* - Should not be used for application data (all columns of this type are defined by VTM).
|
|
1010
1011
|
* - Is not normally expected to be used by end users (columns of this type are typically expected to
|
|
1011
|
-
*
|
|
1012
|
+
* be used for development/debugging).
|
|
1012
1013
|
*/
|
|
1013
1014
|
Internal = "Internal",
|
|
1014
1015
|
/**
|
|
@@ -1077,7 +1078,7 @@ declare module "sap/ui/vtm/DisplayGroup" {
|
|
|
1077
1078
|
* This class is used to represent display states for a set of scene nodes. The same display state need
|
|
1078
1079
|
* not be used for all of the scene nodes in the set.
|
|
1079
1080
|
*/
|
|
1080
|
-
|
|
1081
|
+
class DisplayGroup extends UI5Element {
|
|
1081
1082
|
/**
|
|
1082
1083
|
* Constructor for a new DisplayGroup.
|
|
1083
1084
|
*
|
|
@@ -1134,10 +1135,10 @@ declare module "sap/ui/vtm/DisplayGroup" {
|
|
|
1134
1135
|
* - opacity - If defined, this numeric value between 0 and 100 inclusive defines the scene node opacity.
|
|
1135
1136
|
*
|
|
1136
1137
|
* - highlightColor - If defined, this string value defines the scene node highlight color. If an empty
|
|
1137
|
-
*
|
|
1138
|
-
*
|
|
1138
|
+
* string (`""`) is used, the highlight color is cleared, otherwise the value is expected to be a {@link sap.ui.core.CSSColor}.
|
|
1139
|
+
*
|
|
1139
1140
|
* - recursive - If `true` this display state will be applied to the scene node and its descendants.
|
|
1140
|
-
*
|
|
1141
|
+
* For example:
|
|
1141
1142
|
* ```javascript
|
|
1142
1143
|
*
|
|
1143
1144
|
* {
|
|
@@ -1162,10 +1163,10 @@ declare module "sap/ui/vtm/DisplayGroup" {
|
|
|
1162
1163
|
* - opacity - If defined, this numeric value between 0 and 100 inclusive defines the scene node opacity.
|
|
1163
1164
|
*
|
|
1164
1165
|
* - highlightColor - If defined, this string value defines the scene node highlight color. If an empty
|
|
1165
|
-
*
|
|
1166
|
-
*
|
|
1166
|
+
* string (`""`) is used, the highlight color is cleared, otherwise the value is expected to be a {@link sap.ui.core.CSSColor}.
|
|
1167
|
+
*
|
|
1167
1168
|
* - recursive - If `true` this display state will be applied to the scene node and its descendants.
|
|
1168
|
-
*
|
|
1169
|
+
* For example:
|
|
1169
1170
|
* ```javascript
|
|
1170
1171
|
*
|
|
1171
1172
|
* {
|
|
@@ -1189,6 +1190,7 @@ declare module "sap/ui/vtm/DisplayGroup" {
|
|
|
1189
1190
|
oDisplayStatesBySceneNodeId?: object
|
|
1190
1191
|
): this;
|
|
1191
1192
|
}
|
|
1193
|
+
export default DisplayGroup;
|
|
1192
1194
|
|
|
1193
1195
|
export interface $DisplayGroupSettings extends $ElementSettings {
|
|
1194
1196
|
/**
|
|
@@ -1198,10 +1200,10 @@ declare module "sap/ui/vtm/DisplayGroup" {
|
|
|
1198
1200
|
* - opacity - If defined, this numeric value between 0 and 100 inclusive defines the scene node opacity.
|
|
1199
1201
|
*
|
|
1200
1202
|
* - highlightColor - If defined, this string value defines the scene node highlight color. If an empty
|
|
1201
|
-
*
|
|
1202
|
-
*
|
|
1203
|
+
* string (`""`) is used, the highlight color is cleared, otherwise the value is expected to be a {@link sap.ui.core.CSSColor}.
|
|
1204
|
+
*
|
|
1203
1205
|
* - recursive - If `true` this display state will be applied to the scene node and its descendants.
|
|
1204
|
-
*
|
|
1206
|
+
* For example:
|
|
1205
1207
|
* ```javascript
|
|
1206
1208
|
*
|
|
1207
1209
|
* {
|
|
@@ -1245,7 +1247,7 @@ declare module "sap/ui/vtm/Extension" {
|
|
|
1245
1247
|
* Specific extensions can be found using {@link sap.ui.vtm.Vtm#getExtensionByName getExtensionByName}.
|
|
1246
1248
|
* Typically extensions are retrieved using these methods in order to get or set their `enabled` property.
|
|
1247
1249
|
*/
|
|
1248
|
-
|
|
1250
|
+
class Extension extends UI5Element {
|
|
1249
1251
|
/**
|
|
1250
1252
|
* This class is an abstract class that is not intended to be instantiated directly.
|
|
1251
1253
|
*
|
|
@@ -1294,7 +1296,7 @@ declare module "sap/ui/vtm/Extension" {
|
|
|
1294
1296
|
*/
|
|
1295
1297
|
static getMetadata(): ElementMetadata;
|
|
1296
1298
|
/**
|
|
1297
|
-
* Calls a function once for each panel that is attached (currently or in the future) to the {@link sap.ui.vtm.Vtm}
|
|
1299
|
+
* Calls a function once for each panel that is attached (currently or in the future) to the {@link sap.ui.vtm.Vtm }
|
|
1298
1300
|
* instance that owns this extension.
|
|
1299
1301
|
*
|
|
1300
1302
|
* This function should only be used after the Promise returned by {@link #getVtmPromise} has resolved.
|
|
@@ -1486,8 +1488,8 @@ declare module "sap/ui/vtm/Extension" {
|
|
|
1486
1488
|
* Gets a {@link Promise} that resolves after the {@link #initialize initialize} method has been called
|
|
1487
1489
|
* for the extension.
|
|
1488
1490
|
*
|
|
1489
|
-
* The {@link #initialize initialize} method is called after the {@link Promise} returned by {@link #getVtmPromise
|
|
1490
|
-
*
|
|
1491
|
+
* The {@link #initialize initialize} method is called after the {@link Promise} returned by {@link #getVtmPromise getVtmPromise }
|
|
1492
|
+
* resolves.
|
|
1491
1493
|
*
|
|
1492
1494
|
* @returns A {@link Promise} that is resolved after the {@link #initialize initialize} method has been
|
|
1493
1495
|
* called for the extension.
|
|
@@ -1536,6 +1538,7 @@ declare module "sap/ui/vtm/Extension" {
|
|
|
1536
1538
|
*/
|
|
1537
1539
|
unbindEnabled(): this;
|
|
1538
1540
|
}
|
|
1541
|
+
export default Extension;
|
|
1539
1542
|
|
|
1540
1543
|
export interface $ExtensionSettings extends $ElementSettings {
|
|
1541
1544
|
/**
|
|
@@ -1553,6 +1556,10 @@ declare module "sap/ui/vtm/Extension" {
|
|
|
1553
1556
|
*/
|
|
1554
1557
|
initialized?: (oEvent: Event) => void;
|
|
1555
1558
|
}
|
|
1559
|
+
|
|
1560
|
+
export interface $ExtensionEnabledChangedEventParameters {}
|
|
1561
|
+
|
|
1562
|
+
export interface $ExtensionInitializedEventParameters {}
|
|
1556
1563
|
}
|
|
1557
1564
|
|
|
1558
1565
|
declare module "sap/ui/vtm/extensions/DisplayStateCalculationExtension" {
|
|
@@ -1576,7 +1583,7 @@ declare module "sap/ui/vtm/extensions/DisplayStateCalculationExtension" {
|
|
|
1576
1583
|
* visible due to a context or override display group should relate to one or more selectable tree items
|
|
1577
1584
|
* in the tree.
|
|
1578
1585
|
*/
|
|
1579
|
-
|
|
1586
|
+
class DisplayStateCalculationExtension
|
|
1580
1587
|
extends Extension
|
|
1581
1588
|
implements interfaces.IDisplayStateCalculationExtension {
|
|
1582
1589
|
__implements__sap_ui_vtm_interfaces_IDisplayStateCalculationExtension: boolean;
|
|
@@ -1589,7 +1596,7 @@ declare module "sap/ui/vtm/extensions/DisplayStateCalculationExtension" {
|
|
|
1589
1596
|
*/
|
|
1590
1597
|
sId: string,
|
|
1591
1598
|
/**
|
|
1592
|
-
* Object with initial property values, aggregated objects etc. for the new {@link sap.ui.vtm.extensions.DisplayStateCalculationExtension}
|
|
1599
|
+
* Object with initial property values, aggregated objects etc. for the new {@link sap.ui.vtm.extensions.DisplayStateCalculationExtension }
|
|
1593
1600
|
* instance.
|
|
1594
1601
|
*/
|
|
1595
1602
|
mSettings: $DisplayStateCalculationExtensionSettings
|
|
@@ -1625,6 +1632,7 @@ declare module "sap/ui/vtm/extensions/DisplayStateCalculationExtension" {
|
|
|
1625
1632
|
*/
|
|
1626
1633
|
static getMetadata(): ElementMetadata;
|
|
1627
1634
|
}
|
|
1635
|
+
export default DisplayStateCalculationExtension;
|
|
1628
1636
|
|
|
1629
1637
|
export interface $DisplayStateCalculationExtensionSettings
|
|
1630
1638
|
extends $ExtensionSettings {}
|
|
@@ -1650,7 +1658,7 @@ declare module "sap/ui/vtm/extensions/InitialViewExtension" {
|
|
|
1650
1658
|
*
|
|
1651
1659
|
* Adds a behavior that zooms to all (or a specific view) after the first viewable has loaded successfully.
|
|
1652
1660
|
*/
|
|
1653
|
-
|
|
1661
|
+
class InitialViewExtension
|
|
1654
1662
|
extends Extension
|
|
1655
1663
|
implements interfaces.IInitialViewExtension {
|
|
1656
1664
|
__implements__sap_ui_vtm_interfaces_IInitialViewExtension: boolean;
|
|
@@ -1667,7 +1675,7 @@ declare module "sap/ui/vtm/extensions/InitialViewExtension" {
|
|
|
1667
1675
|
*/
|
|
1668
1676
|
sId: string,
|
|
1669
1677
|
/**
|
|
1670
|
-
* Object with initial property values, aggregated objects etc. for the new {@link sap.ui.vtm.extensions.InitialViewExtension}
|
|
1678
|
+
* Object with initial property values, aggregated objects etc. for the new {@link sap.ui.vtm.extensions.InitialViewExtension }
|
|
1671
1679
|
* instance.
|
|
1672
1680
|
*/
|
|
1673
1681
|
mSettings: $InitialViewExtensionSettings
|
|
@@ -1728,6 +1736,7 @@ declare module "sap/ui/vtm/extensions/InitialViewExtension" {
|
|
|
1728
1736
|
sPredefinedView: PredefinedView
|
|
1729
1737
|
): this;
|
|
1730
1738
|
}
|
|
1739
|
+
export default InitialViewExtension;
|
|
1731
1740
|
|
|
1732
1741
|
export interface $InitialViewExtensionSettings extends $ExtensionSettings {
|
|
1733
1742
|
/**
|
|
@@ -1754,7 +1763,7 @@ declare module "sap/ui/vtm/extensions/LoadProgressExtension" {
|
|
|
1754
1763
|
*
|
|
1755
1764
|
* Adds a behavior that shows a progress dialog when downloading/loading of viewables is occurring.
|
|
1756
1765
|
*/
|
|
1757
|
-
|
|
1766
|
+
class LoadProgressExtension
|
|
1758
1767
|
extends Extension
|
|
1759
1768
|
implements
|
|
1760
1769
|
interfaces.ILoadProgressExtension,
|
|
@@ -1770,7 +1779,7 @@ declare module "sap/ui/vtm/extensions/LoadProgressExtension" {
|
|
|
1770
1779
|
*/
|
|
1771
1780
|
sId: string,
|
|
1772
1781
|
/**
|
|
1773
|
-
* Object with initial property values, aggregated objects etc. for the new {@link sap.ui.vtm.extensions.LoadProgressExtension}
|
|
1782
|
+
* Object with initial property values, aggregated objects etc. for the new {@link sap.ui.vtm.extensions.LoadProgressExtension }
|
|
1774
1783
|
* instance.
|
|
1775
1784
|
*/
|
|
1776
1785
|
mSettings: $LoadProgressExtensionSettings
|
|
@@ -1806,6 +1815,7 @@ declare module "sap/ui/vtm/extensions/LoadProgressExtension" {
|
|
|
1806
1815
|
*/
|
|
1807
1816
|
static getMetadata(): ElementMetadata;
|
|
1808
1817
|
}
|
|
1818
|
+
export default LoadProgressExtension;
|
|
1809
1819
|
|
|
1810
1820
|
export interface $LoadProgressExtensionSettings extends $ExtensionSettings {}
|
|
1811
1821
|
}
|
|
@@ -1832,17 +1842,17 @@ declare module "sap/ui/vtm/extensions/MessageStatusCalculationExtension" {
|
|
|
1832
1842
|
* - Uses solid icons to indicate errors or warnings that apply directly to a tree item.
|
|
1833
1843
|
* - Uses hollow icons to indicate that an error or warning applies to a descendant of a tree item.
|
|
1834
1844
|
* - The highest priority status that applies to a tree item or a descendant tree item is indicated on
|
|
1835
|
-
*
|
|
1845
|
+
* each tree item.
|
|
1836
1846
|
* - When the highest priority status that applies to a tree item is the same as the highest priority
|
|
1837
|
-
*
|
|
1838
|
-
*
|
|
1847
|
+
* status that applies to any descendant tree, the highest priority message that applies directly to the
|
|
1848
|
+
* tree item is indicated.
|
|
1839
1849
|
* - Error messages on descendants are given higher priority than warning or information messages that
|
|
1840
|
-
*
|
|
1850
|
+
* apply to the tree item itself
|
|
1841
1851
|
* - Warning messages on descendants are given a higher priority than information messages that apply
|
|
1842
|
-
*
|
|
1852
|
+
* to the tree item
|
|
1843
1853
|
* - Information messages are not cascaded up the tree
|
|
1844
1854
|
*/
|
|
1845
|
-
|
|
1855
|
+
class MessageStatusCalculationExtension
|
|
1846
1856
|
extends Extension
|
|
1847
1857
|
implements interfaces.IMessageStatusCalculationExtension {
|
|
1848
1858
|
__implements__sap_ui_vtm_interfaces_IMessageStatusCalculationExtension: boolean;
|
|
@@ -1855,7 +1865,7 @@ declare module "sap/ui/vtm/extensions/MessageStatusCalculationExtension" {
|
|
|
1855
1865
|
*/
|
|
1856
1866
|
sId: string,
|
|
1857
1867
|
/**
|
|
1858
|
-
* Object with initial property values, aggregated objects etc. for the new {@link sap.m.MessageStatusCalculationExtension}
|
|
1868
|
+
* Object with initial property values, aggregated objects etc. for the new {@link sap.m.MessageStatusCalculationExtension }
|
|
1859
1869
|
* instance.
|
|
1860
1870
|
*/
|
|
1861
1871
|
mSettings: $MessageStatusCalculationExtensionSettings
|
|
@@ -1891,6 +1901,7 @@ declare module "sap/ui/vtm/extensions/MessageStatusCalculationExtension" {
|
|
|
1891
1901
|
*/
|
|
1892
1902
|
static getMetadata(): ElementMetadata;
|
|
1893
1903
|
}
|
|
1904
|
+
export default MessageStatusCalculationExtension;
|
|
1894
1905
|
|
|
1895
1906
|
export interface $MessageStatusCalculationExtensionSettings
|
|
1896
1907
|
extends $ExtensionSettings {}
|
|
@@ -1912,7 +1923,7 @@ declare module "sap/ui/vtm/extensions/MessageStatusIconClickExtension" {
|
|
|
1912
1923
|
*
|
|
1913
1924
|
* Adds a behavior that shows a {@link sap.ui.vtm.MessagesPopover} when a message status icon is clicked.
|
|
1914
1925
|
*/
|
|
1915
|
-
|
|
1926
|
+
class MessageStatusIconClickExtension
|
|
1916
1927
|
extends Extension
|
|
1917
1928
|
implements interfaces.IMessageStatusIconClickExtension {
|
|
1918
1929
|
__implements__sap_ui_vtm_interfaces_IMessageStatusIconClickExtension: boolean;
|
|
@@ -1925,7 +1936,7 @@ declare module "sap/ui/vtm/extensions/MessageStatusIconClickExtension" {
|
|
|
1925
1936
|
*/
|
|
1926
1937
|
sId: string,
|
|
1927
1938
|
/**
|
|
1928
|
-
* Object with initial property values, aggregated objects etc. for the new {@link sap.m.MessageStatusIconClickExtension}
|
|
1939
|
+
* Object with initial property values, aggregated objects etc. for the new {@link sap.m.MessageStatusIconClickExtension }
|
|
1929
1940
|
* instance.
|
|
1930
1941
|
*/
|
|
1931
1942
|
mSettings: $MessageStatusIconClickExtensionSettings
|
|
@@ -1961,6 +1972,7 @@ declare module "sap/ui/vtm/extensions/MessageStatusIconClickExtension" {
|
|
|
1961
1972
|
*/
|
|
1962
1973
|
static getMetadata(): ElementMetadata;
|
|
1963
1974
|
}
|
|
1975
|
+
export default MessageStatusIconClickExtension;
|
|
1964
1976
|
|
|
1965
1977
|
export interface $MessageStatusIconClickExtensionSettings
|
|
1966
1978
|
extends $ExtensionSettings {}
|
|
@@ -1986,7 +1998,7 @@ declare module "sap/ui/vtm/extensions/SceneNodeHoverHighlightExtension" {
|
|
|
1986
1998
|
*
|
|
1987
1999
|
* Adds a behaviour which highlights a scene node when the mouse hovers over it.
|
|
1988
2000
|
*/
|
|
1989
|
-
|
|
2001
|
+
class SceneNodeHoverHighlightExtension
|
|
1990
2002
|
extends Extension
|
|
1991
2003
|
implements interfaces.ISceneNodeHoverHighlightExtension {
|
|
1992
2004
|
__implements__sap_ui_vtm_interfaces_ISceneNodeHoverHighlightExtension: boolean;
|
|
@@ -2065,6 +2077,7 @@ declare module "sap/ui/vtm/extensions/SceneNodeHoverHighlightExtension" {
|
|
|
2065
2077
|
sHighlightColor?: CSSColor
|
|
2066
2078
|
): this;
|
|
2067
2079
|
}
|
|
2080
|
+
export default SceneNodeHoverHighlightExtension;
|
|
2068
2081
|
|
|
2069
2082
|
export interface $SceneNodeHoverHighlightExtensionSettings
|
|
2070
2083
|
extends $ExtensionSettings {
|
|
@@ -2094,7 +2107,7 @@ declare module "sap/ui/vtm/extensions/SceneNodeHoverTooltipExtension" {
|
|
|
2094
2107
|
* Adds a behaviour in which a tooltip (which can be specified by application code using a callback function)
|
|
2095
2108
|
* is displayed when the mouse is hovering over a scene node.
|
|
2096
2109
|
*/
|
|
2097
|
-
|
|
2110
|
+
class SceneNodeHoverTooltipExtension
|
|
2098
2111
|
extends Extension
|
|
2099
2112
|
implements interfaces.ISceneNodeHoverTooltipExtension {
|
|
2100
2113
|
__implements__sap_ui_vtm_interfaces_ISceneNodeHoverTooltipExtension: boolean;
|
|
@@ -2191,6 +2204,7 @@ declare module "sap/ui/vtm/extensions/SceneNodeHoverTooltipExtension" {
|
|
|
2191
2204
|
oTooltipCallback?: any
|
|
2192
2205
|
): this;
|
|
2193
2206
|
}
|
|
2207
|
+
export default SceneNodeHoverTooltipExtension;
|
|
2194
2208
|
|
|
2195
2209
|
export interface $SceneNodeHoverTooltipExtensionSettings
|
|
2196
2210
|
extends $ExtensionSettings {
|
|
@@ -2231,7 +2245,7 @@ declare module "sap/ui/vtm/extensions/SelectionLinkingExtension" {
|
|
|
2231
2245
|
* Adds a behavior that links items the visibility of tree items in a {@link sap.ui.vtm.Tree} with the visibility
|
|
2232
2246
|
* of their associated scene nodes in the {@link sap.ui.vtm.Viewport} in the same {@link sap.ui.vtm.Panel}.
|
|
2233
2247
|
*/
|
|
2234
|
-
|
|
2248
|
+
class SelectionLinkingExtension
|
|
2235
2249
|
extends Extension
|
|
2236
2250
|
implements interfaces.ISelectionLinkingExtension {
|
|
2237
2251
|
__implements__sap_ui_vtm_interfaces_ISelectionLinkingExtension: boolean;
|
|
@@ -2248,7 +2262,7 @@ declare module "sap/ui/vtm/extensions/SelectionLinkingExtension" {
|
|
|
2248
2262
|
*/
|
|
2249
2263
|
sId: string,
|
|
2250
2264
|
/**
|
|
2251
|
-
* Object with initial property values, aggregated objects etc. for the new {@link sap.ui.vtm.extensions.SelectionLinkingExtension}
|
|
2265
|
+
* Object with initial property values, aggregated objects etc. for the new {@link sap.ui.vtm.extensions.SelectionLinkingExtension }
|
|
2252
2266
|
* instance.
|
|
2253
2267
|
*/
|
|
2254
2268
|
mSettings: $SelectionLinkingExtensionSettings
|
|
@@ -2319,6 +2333,7 @@ declare module "sap/ui/vtm/extensions/SelectionLinkingExtension" {
|
|
|
2319
2333
|
oFindMatchingTreeItems?: any
|
|
2320
2334
|
): this;
|
|
2321
2335
|
}
|
|
2336
|
+
export default SelectionLinkingExtension;
|
|
2322
2337
|
|
|
2323
2338
|
export interface $SelectionLinkingExtensionSettings
|
|
2324
2339
|
extends $ExtensionSettings {
|
|
@@ -2352,7 +2367,7 @@ declare module "sap/ui/vtm/extensions/ViewLinkingExtension" {
|
|
|
2352
2367
|
* Adds a behavior that links the camera views for all the {@link sap.ui.vtm.Viewport} instances associated
|
|
2353
2368
|
* with a {@link sap.ui.vtm.Vtm} instance.
|
|
2354
2369
|
*/
|
|
2355
|
-
|
|
2370
|
+
class ViewLinkingExtension
|
|
2356
2371
|
extends Extension
|
|
2357
2372
|
implements interfaces.IViewLinkingExtension {
|
|
2358
2373
|
__implements__sap_ui_vtm_interfaces_IViewLinkingExtension: boolean;
|
|
@@ -2391,6 +2406,7 @@ declare module "sap/ui/vtm/extensions/ViewLinkingExtension" {
|
|
|
2391
2406
|
*/
|
|
2392
2407
|
static getMetadata(): ElementMetadata;
|
|
2393
2408
|
}
|
|
2409
|
+
export default ViewLinkingExtension;
|
|
2394
2410
|
|
|
2395
2411
|
export interface $ViewLinkingExtensionSettings extends $ExtensionSettings {}
|
|
2396
2412
|
}
|
|
@@ -2412,7 +2428,7 @@ declare module "sap/ui/vtm/extensions/ViewportSelectionLinkingExtension" {
|
|
|
2412
2428
|
* Adds a behavior that links the selection state of tree items in a {@link sap.ui.vtm.Tree} with their
|
|
2413
2429
|
* corresponding scene nodes in the {@link sap.ui.vtm.Viewport} in the same {@link sap.ui.vtm.Panel}.
|
|
2414
2430
|
*/
|
|
2415
|
-
|
|
2431
|
+
class ViewportSelectionLinkingExtension
|
|
2416
2432
|
extends Extension
|
|
2417
2433
|
implements interfaces.IViewportSelectionLinkingExtension {
|
|
2418
2434
|
__implements__sap_ui_vtm_interfaces_IViewportSelectionLinkingExtension: boolean;
|
|
@@ -2425,7 +2441,7 @@ declare module "sap/ui/vtm/extensions/ViewportSelectionLinkingExtension" {
|
|
|
2425
2441
|
*/
|
|
2426
2442
|
sId: string,
|
|
2427
2443
|
/**
|
|
2428
|
-
* Object with initial property values, aggregated objects etc. for the new {@link sap.ui.vtm.extensions.ViewportSelectionLinkingExtension}
|
|
2444
|
+
* Object with initial property values, aggregated objects etc. for the new {@link sap.ui.vtm.extensions.ViewportSelectionLinkingExtension }
|
|
2429
2445
|
* instance.
|
|
2430
2446
|
*/
|
|
2431
2447
|
mSettings: $ViewportSelectionLinkingExtensionSettings
|
|
@@ -2461,6 +2477,7 @@ declare module "sap/ui/vtm/extensions/ViewportSelectionLinkingExtension" {
|
|
|
2461
2477
|
*/
|
|
2462
2478
|
static getMetadata(): ElementMetadata;
|
|
2463
2479
|
}
|
|
2480
|
+
export default ViewportSelectionLinkingExtension;
|
|
2464
2481
|
|
|
2465
2482
|
export interface $ViewportSelectionLinkingExtensionSettings
|
|
2466
2483
|
extends $ExtensionSettings {}
|
|
@@ -2483,7 +2500,7 @@ declare module "sap/ui/vtm/extensions/VisibilityIconClickExtension" {
|
|
|
2483
2500
|
* Adds a behavior that updates visibility in the {@link sap.ui.vtm.Tree} when a visibility checkbox (eye)
|
|
2484
2501
|
* is clicked.
|
|
2485
2502
|
*/
|
|
2486
|
-
|
|
2503
|
+
class VisibilityIconClickExtension
|
|
2487
2504
|
extends Extension
|
|
2488
2505
|
implements
|
|
2489
2506
|
interfaces.IVisibilityIconClickExtension,
|
|
@@ -2499,7 +2516,7 @@ declare module "sap/ui/vtm/extensions/VisibilityIconClickExtension" {
|
|
|
2499
2516
|
*/
|
|
2500
2517
|
sId: string,
|
|
2501
2518
|
/**
|
|
2502
|
-
* Object with initial property values, aggregated objects etc. for the new {@link sap.ui.vtm.extensions.VisibilityIconClickExtension}
|
|
2519
|
+
* Object with initial property values, aggregated objects etc. for the new {@link sap.ui.vtm.extensions.VisibilityIconClickExtension }
|
|
2503
2520
|
* instance.
|
|
2504
2521
|
*/
|
|
2505
2522
|
mSettings: $VisibilityIconClickExtensionSettings
|
|
@@ -2535,6 +2552,7 @@ declare module "sap/ui/vtm/extensions/VisibilityIconClickExtension" {
|
|
|
2535
2552
|
*/
|
|
2536
2553
|
static getMetadata(): ElementMetadata;
|
|
2537
2554
|
}
|
|
2555
|
+
export default VisibilityIconClickExtension;
|
|
2538
2556
|
|
|
2539
2557
|
export interface $VisibilityIconClickExtensionSettings
|
|
2540
2558
|
extends $ExtensionSettings {}
|
|
@@ -2568,7 +2586,7 @@ declare module "sap/ui/vtm/HashUtilities" {
|
|
|
2568
2586
|
/**
|
|
2569
2587
|
* Creates a hash code for a {@link sap.ui.vtm.Matrix} value.
|
|
2570
2588
|
*
|
|
2571
|
-
* The resulting hash value can be any integer value. Use {@link sap.ui.vtm.HashUtilities.normalizeHash}
|
|
2589
|
+
* The resulting hash value can be any integer value. Use {@link sap.ui.vtm.HashUtilities.normalizeHash }
|
|
2572
2590
|
* on the result to create a hash code that is useful as a key in a {@link sap.ui.vtm.Lookup}.
|
|
2573
2591
|
*
|
|
2574
2592
|
* @returns The hash code for the specified transformation matrix.
|
|
@@ -2582,7 +2600,7 @@ declare module "sap/ui/vtm/HashUtilities" {
|
|
|
2582
2600
|
/**
|
|
2583
2601
|
* Creates a hash code for a string.
|
|
2584
2602
|
*
|
|
2585
|
-
* The resulting hash value can be any integer value. Use {@link sap.ui.vtm.HashUtilities.normalizeHash}
|
|
2603
|
+
* The resulting hash value can be any integer value. Use {@link sap.ui.vtm.HashUtilities.normalizeHash }
|
|
2586
2604
|
* on the result to create a hash code that is useful as a key in a {@link sap.ui.vtm.Lookup}.
|
|
2587
2605
|
*
|
|
2588
2606
|
* @returns The hash code value for the string.
|
|
@@ -2738,17 +2756,17 @@ declare module "sap/ui/vtm/Lookup" {
|
|
|
2738
2756
|
* A map that can contain multiple values per key value. This is a utility class that can be used as a data
|
|
2739
2757
|
* structure for:
|
|
2740
2758
|
* - Maintaining a lookup containing scene nodes keyed by a particular value in order to determine the
|
|
2741
|
-
*
|
|
2759
|
+
* scene nodes that should be associated with a particular tree item
|
|
2742
2760
|
* - Maintaining lookups (one for each tree) of tree items keyed by a particular value in order to determine
|
|
2743
|
-
*
|
|
2744
|
-
*
|
|
2745
|
-
*
|
|
2746
|
-
*
|
|
2747
|
-
*
|
|
2748
|
-
*
|
|
2749
|
-
*
|
|
2761
|
+
* the tree items in one tree that are associated with tree items in another tree A typical usage
|
|
2762
|
+
* would be to use a {@link sap.ui.vtm.Lookup} that is keyed using a hash code constructed from some or
|
|
2763
|
+
* all of the information needed to match a particular tree item or scene node. In this scenario the {@link sap.ui.vtm.Lookup }
|
|
2764
|
+
* is used to return a set of possible matches which are then filtered to find the actual matches. The usage
|
|
2765
|
+
* of the {@link sap.ui.vtm.Lookup} with a suitable key can drastically reduces the number of items that
|
|
2766
|
+
* need to be compared when performing a search. This is important when there are large numbers of searches
|
|
2767
|
+
* that need to be performed within a large set of items.
|
|
2750
2768
|
*/
|
|
2751
|
-
|
|
2769
|
+
class Lookup extends UI5Element {
|
|
2752
2770
|
/**
|
|
2753
2771
|
* Constructor for a new Lookup.
|
|
2754
2772
|
*
|
|
@@ -2869,6 +2887,7 @@ declare module "sap/ui/vtm/Lookup" {
|
|
|
2869
2887
|
equalsFunc: Function
|
|
2870
2888
|
): Lookup;
|
|
2871
2889
|
}
|
|
2890
|
+
export default Lookup;
|
|
2872
2891
|
|
|
2873
2892
|
export interface $LookupSettings extends $ElementSettings {}
|
|
2874
2893
|
}
|
|
@@ -2919,7 +2938,7 @@ declare module "sap/ui/vtm/MatrixUtilities" {
|
|
|
2919
2938
|
mat4x4: number[]
|
|
2920
2939
|
): Matrix;
|
|
2921
2940
|
/**
|
|
2922
|
-
* Converts a {@link sap.ui.vk.TransformationMatrix} (as used by the sap.ui.vk library) to a {@link sap.ui.vtm.Matrix}
|
|
2941
|
+
* Converts a {@link sap.ui.vk.TransformationMatrix} (as used by the sap.ui.vk library) to a {@link sap.ui.vtm.Matrix }
|
|
2923
2942
|
* value.
|
|
2924
2943
|
*
|
|
2925
2944
|
* @returns The {@link sap.ui.vtm.Matrix} value.
|
|
@@ -3049,7 +3068,7 @@ declare module "sap/ui/vtm/MessagesPopover" {
|
|
|
3049
3068
|
*
|
|
3050
3069
|
* A control that can be used to show messages applied to a tree item.
|
|
3051
3070
|
*/
|
|
3052
|
-
|
|
3071
|
+
class MessagesPopover extends Popover {
|
|
3053
3072
|
/**
|
|
3054
3073
|
* Constructor for a new MessagesPopover.
|
|
3055
3074
|
*
|
|
@@ -3145,6 +3164,7 @@ declare module "sap/ui/vtm/MessagesPopover" {
|
|
|
3145
3164
|
sMessages: object[]
|
|
3146
3165
|
): this;
|
|
3147
3166
|
}
|
|
3167
|
+
export default MessagesPopover;
|
|
3148
3168
|
|
|
3149
3169
|
export interface $MessagesPopoverSettings extends $PopoverSettings {
|
|
3150
3170
|
/**
|
|
@@ -3192,7 +3212,7 @@ declare module "sap/ui/vtm/Panel" {
|
|
|
3192
3212
|
* - A header area containing a title and optionally a set of application controls
|
|
3193
3213
|
* - A sap.ui.vtm.Tree and a sap.ui.vtm.Viewport separated by a splitter
|
|
3194
3214
|
*/
|
|
3195
|
-
|
|
3215
|
+
class Panel extends Control {
|
|
3196
3216
|
/**
|
|
3197
3217
|
* Constructor for a new Panel.
|
|
3198
3218
|
*
|
|
@@ -3207,7 +3227,7 @@ declare module "sap/ui/vtm/Panel" {
|
|
|
3207
3227
|
sId: string,
|
|
3208
3228
|
/**
|
|
3209
3229
|
* Object with initial property values, aggregated objects etc. for the new {@link sap.ui.vtm.Panel} instance.
|
|
3210
|
-
* The `vtmId` association needs to be set in order for the panel to be associated with a {@link sap.ui.vtm.Vtm}
|
|
3230
|
+
* The `vtmId` association needs to be set in order for the panel to be associated with a {@link sap.ui.vtm.Vtm }
|
|
3211
3231
|
* instance.
|
|
3212
3232
|
* {@link sap.ui.vtm.Vtm#createPanel createPanel} creates a {@link sap.ui.vtm.Panel} instance and populates
|
|
3213
3233
|
* the `vtmId` association.
|
|
@@ -3297,7 +3317,7 @@ declare module "sap/ui/vtm/Panel" {
|
|
|
3297
3317
|
/**
|
|
3298
3318
|
* The function to be called when the event occurs
|
|
3299
3319
|
*/
|
|
3300
|
-
fnFunction: (p1: Event) => void,
|
|
3320
|
+
fnFunction: (p1: Event<$PanelContextMenuEventParameters>) => void,
|
|
3301
3321
|
/**
|
|
3302
3322
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Panel` itself
|
|
3303
3323
|
*/
|
|
@@ -3318,7 +3338,7 @@ declare module "sap/ui/vtm/Panel" {
|
|
|
3318
3338
|
/**
|
|
3319
3339
|
* The function to be called when the event occurs
|
|
3320
3340
|
*/
|
|
3321
|
-
fnFunction: (p1: Event) => void,
|
|
3341
|
+
fnFunction: (p1: Event<$PanelContextMenuEventParameters>) => void,
|
|
3322
3342
|
/**
|
|
3323
3343
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Panel` itself
|
|
3324
3344
|
*/
|
|
@@ -3398,7 +3418,7 @@ declare module "sap/ui/vtm/Panel" {
|
|
|
3398
3418
|
/**
|
|
3399
3419
|
* The function to be called, when the event occurs
|
|
3400
3420
|
*/
|
|
3401
|
-
fnFunction: (p1: Event) => void,
|
|
3421
|
+
fnFunction: (p1: Event<$PanelContextMenuEventParameters>) => void,
|
|
3402
3422
|
/**
|
|
3403
3423
|
* Context object on which the given function had to be called
|
|
3404
3424
|
*/
|
|
@@ -3435,36 +3455,7 @@ declare module "sap/ui/vtm/Panel" {
|
|
|
3435
3455
|
/**
|
|
3436
3456
|
* Parameters to pass along with the event
|
|
3437
3457
|
*/
|
|
3438
|
-
mParameters?:
|
|
3439
|
-
/**
|
|
3440
|
-
* The X coordinate of the mouse pointer in local (DOM content) coordinates.
|
|
3441
|
-
*/
|
|
3442
|
-
clientX?: int;
|
|
3443
|
-
/**
|
|
3444
|
-
* The Y coordinate of the mouse pointer in local (DOM content) coordinates.
|
|
3445
|
-
*/
|
|
3446
|
-
clientY?: int;
|
|
3447
|
-
/**
|
|
3448
|
-
* The X coordinate of the mouse pointer in page coordinates.
|
|
3449
|
-
*/
|
|
3450
|
-
pageX?: int;
|
|
3451
|
-
/**
|
|
3452
|
-
* The X coordinate of the mouse pointer in page coordinates.
|
|
3453
|
-
*/
|
|
3454
|
-
pageY?: int;
|
|
3455
|
-
/**
|
|
3456
|
-
* The X coordinate of the mouse pointer in screen coordinates.
|
|
3457
|
-
*/
|
|
3458
|
-
screenX?: int;
|
|
3459
|
-
/**
|
|
3460
|
-
* The X coordinate of the mouse pointer in screen coordinates.
|
|
3461
|
-
*/
|
|
3462
|
-
screenY?: int;
|
|
3463
|
-
/**
|
|
3464
|
-
* The jQuery event object.
|
|
3465
|
-
*/
|
|
3466
|
-
eventData?: object;
|
|
3467
|
-
}
|
|
3458
|
+
mParameters?: $PanelContextMenuEventParameters
|
|
3468
3459
|
): boolean;
|
|
3469
3460
|
/**
|
|
3470
3461
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -3782,6 +3773,7 @@ declare module "sap/ui/vtm/Panel" {
|
|
|
3782
3773
|
oVtmId: ID | Vtm
|
|
3783
3774
|
): this;
|
|
3784
3775
|
}
|
|
3776
|
+
export default Panel;
|
|
3785
3777
|
|
|
3786
3778
|
export interface $PanelSettings extends $ControlSettings {
|
|
3787
3779
|
/**
|
|
@@ -3845,8 +3837,47 @@ declare module "sap/ui/vtm/Panel" {
|
|
|
3845
3837
|
* Raised when the web browser `contextmenu` event is raised. To prevent the default browser context menu
|
|
3846
3838
|
* from being shown call preventDefault() on the event.
|
|
3847
3839
|
*/
|
|
3848
|
-
contextMenu?: (oEvent: Event) => void;
|
|
3840
|
+
contextMenu?: (oEvent: Event<$PanelContextMenuEventParameters>) => void;
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3843
|
+
export interface $PanelContextMenuEventParameters {
|
|
3844
|
+
/**
|
|
3845
|
+
* The X coordinate of the mouse pointer in local (DOM content) coordinates.
|
|
3846
|
+
*/
|
|
3847
|
+
clientX?: int;
|
|
3848
|
+
|
|
3849
|
+
/**
|
|
3850
|
+
* The Y coordinate of the mouse pointer in local (DOM content) coordinates.
|
|
3851
|
+
*/
|
|
3852
|
+
clientY?: int;
|
|
3853
|
+
|
|
3854
|
+
/**
|
|
3855
|
+
* The X coordinate of the mouse pointer in page coordinates.
|
|
3856
|
+
*/
|
|
3857
|
+
pageX?: int;
|
|
3858
|
+
|
|
3859
|
+
/**
|
|
3860
|
+
* The X coordinate of the mouse pointer in page coordinates.
|
|
3861
|
+
*/
|
|
3862
|
+
pageY?: int;
|
|
3863
|
+
|
|
3864
|
+
/**
|
|
3865
|
+
* The X coordinate of the mouse pointer in screen coordinates.
|
|
3866
|
+
*/
|
|
3867
|
+
screenX?: int;
|
|
3868
|
+
|
|
3869
|
+
/**
|
|
3870
|
+
* The X coordinate of the mouse pointer in screen coordinates.
|
|
3871
|
+
*/
|
|
3872
|
+
screenY?: int;
|
|
3873
|
+
|
|
3874
|
+
/**
|
|
3875
|
+
* The jQuery event object.
|
|
3876
|
+
*/
|
|
3877
|
+
eventData?: object;
|
|
3849
3878
|
}
|
|
3879
|
+
|
|
3880
|
+
export interface $PanelInitializedEventParameters {}
|
|
3850
3881
|
}
|
|
3851
3882
|
|
|
3852
3883
|
declare module "sap/ui/vtm/PredefinedView" {
|
|
@@ -3899,7 +3930,7 @@ declare module "sap/ui/vtm/ProgressDialog" {
|
|
|
3899
3930
|
*
|
|
3900
3931
|
* A progress control to show viewable download and load progress.
|
|
3901
3932
|
*/
|
|
3902
|
-
|
|
3933
|
+
class ProgressDialog extends Control {
|
|
3903
3934
|
/**
|
|
3904
3935
|
* Constructor for a new ProgressDialog.
|
|
3905
3936
|
*
|
|
@@ -4039,6 +4070,7 @@ declare module "sap/ui/vtm/ProgressDialog" {
|
|
|
4039
4070
|
sProgressText: string
|
|
4040
4071
|
): this;
|
|
4041
4072
|
}
|
|
4073
|
+
export default ProgressDialog;
|
|
4042
4074
|
|
|
4043
4075
|
export interface $ProgressDialogSettings extends $ControlSettings {
|
|
4044
4076
|
/**
|
|
@@ -4063,26 +4095,26 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4063
4095
|
|
|
4064
4096
|
import Event from "sap/ui/base/Event";
|
|
4065
4097
|
|
|
4066
|
-
import ViewableLoadInfo from "sap/ui/vtm/ViewableLoadInfo";
|
|
4067
|
-
|
|
4068
4098
|
import Viewable from "sap/ui/vtm/Viewable";
|
|
4069
4099
|
|
|
4070
4100
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
4071
4101
|
|
|
4102
|
+
import ViewableLoadInfo from "sap/ui/vtm/ViewableLoadInfo";
|
|
4103
|
+
|
|
4072
4104
|
import Vtm from "sap/ui/vtm/Vtm";
|
|
4073
4105
|
|
|
4074
4106
|
/**
|
|
4075
4107
|
* @EXPERIMENTAL (since 1.50.0) - This class is experimental and might be modified or removed in future
|
|
4076
4108
|
* versions.
|
|
4077
4109
|
*
|
|
4078
|
-
* Allows access to scene nodes in the scene. A single {@link sap.ui.vtm.Scene} is shared by the {@link
|
|
4079
|
-
*
|
|
4080
|
-
*
|
|
4081
|
-
*
|
|
4110
|
+
* Allows access to scene nodes in the scene. A single {@link sap.ui.vtm.Scene} is shared by the {@link sap.ui.vtm.Viewport }
|
|
4111
|
+
* objects in all the {@link sap.ui.vtm.Panel} objects associated with a {@link sap.ui.vtm.Vtm} instance.
|
|
4112
|
+
* Visibility, selection, highlighting and opacity can be controlled for each scene node separately in each
|
|
4113
|
+
* {@link sap.ui.vtm.Viewport}.
|
|
4082
4114
|
*/
|
|
4083
|
-
|
|
4115
|
+
class Scene extends UI5Element {
|
|
4084
4116
|
/**
|
|
4085
|
-
* This class is not intended to be directly instantiated by application code. A {@link sap.ui.vtm.Scene}
|
|
4117
|
+
* This class is not intended to be directly instantiated by application code. A {@link sap.ui.vtm.Scene }
|
|
4086
4118
|
* object is created when a {@link sap.ui.vtm.Vtm} object is created.
|
|
4087
4119
|
*
|
|
4088
4120
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
@@ -4131,8 +4163,8 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4131
4163
|
* {@link #loadViewablesAsync}.
|
|
4132
4164
|
*
|
|
4133
4165
|
* If no viewables have been successfully downloaded, none of the viewables will be loaded, so no subsequent
|
|
4134
|
-
* {@link sap.ui.vtm.Scene.loadStarted}, {@link sap.ui.vtm.Scene.loadProgress} or {@link sap.ui.vtm.Scene.loadCompleted}
|
|
4135
|
-
* will occur as a result of the call to {@link #loadViewablesAsync} that resulted in the {@link sap.ui.vtm.Scene.downloadCompleted}
|
|
4166
|
+
* {@link sap.ui.vtm.Scene.loadStarted}, {@link sap.ui.vtm.Scene.loadProgress} or {@link sap.ui.vtm.Scene.loadCompleted }
|
|
4167
|
+
* will occur as a result of the call to {@link #loadViewablesAsync} that resulted in the {@link sap.ui.vtm.Scene.downloadCompleted }
|
|
4136
4168
|
* event being raised.
|
|
4137
4169
|
*
|
|
4138
4170
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -4146,7 +4178,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4146
4178
|
/**
|
|
4147
4179
|
* The function to be called when the event occurs
|
|
4148
4180
|
*/
|
|
4149
|
-
fnFunction: (p1: Event) => void,
|
|
4181
|
+
fnFunction: (p1: Event<$SceneDownloadCompletedEventParameters>) => void,
|
|
4150
4182
|
/**
|
|
4151
4183
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Scene` itself
|
|
4152
4184
|
*/
|
|
@@ -4163,8 +4195,8 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4163
4195
|
* {@link #loadViewablesAsync}.
|
|
4164
4196
|
*
|
|
4165
4197
|
* If no viewables have been successfully downloaded, none of the viewables will be loaded, so no subsequent
|
|
4166
|
-
* {@link sap.ui.vtm.Scene.loadStarted}, {@link sap.ui.vtm.Scene.loadProgress} or {@link sap.ui.vtm.Scene.loadCompleted}
|
|
4167
|
-
* will occur as a result of the call to {@link #loadViewablesAsync} that resulted in the {@link sap.ui.vtm.Scene.downloadCompleted}
|
|
4198
|
+
* {@link sap.ui.vtm.Scene.loadStarted}, {@link sap.ui.vtm.Scene.loadProgress} or {@link sap.ui.vtm.Scene.loadCompleted }
|
|
4199
|
+
* will occur as a result of the call to {@link #loadViewablesAsync} that resulted in the {@link sap.ui.vtm.Scene.downloadCompleted }
|
|
4168
4200
|
* event being raised.
|
|
4169
4201
|
*
|
|
4170
4202
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -4173,7 +4205,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4173
4205
|
/**
|
|
4174
4206
|
* The function to be called when the event occurs
|
|
4175
4207
|
*/
|
|
4176
|
-
fnFunction: (p1: Event) => void,
|
|
4208
|
+
fnFunction: (p1: Event<$SceneDownloadCompletedEventParameters>) => void,
|
|
4177
4209
|
/**
|
|
4178
4210
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Scene` itself
|
|
4179
4211
|
*/
|
|
@@ -4199,7 +4231,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4199
4231
|
/**
|
|
4200
4232
|
* The function to be called when the event occurs
|
|
4201
4233
|
*/
|
|
4202
|
-
fnFunction: (p1: Event) => void,
|
|
4234
|
+
fnFunction: (p1: Event<$SceneDownloadProgressEventParameters>) => void,
|
|
4203
4235
|
/**
|
|
4204
4236
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Scene` itself
|
|
4205
4237
|
*/
|
|
@@ -4220,7 +4252,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4220
4252
|
/**
|
|
4221
4253
|
* The function to be called when the event occurs
|
|
4222
4254
|
*/
|
|
4223
|
-
fnFunction: (p1: Event) => void,
|
|
4255
|
+
fnFunction: (p1: Event<$SceneDownloadProgressEventParameters>) => void,
|
|
4224
4256
|
/**
|
|
4225
4257
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Scene` itself
|
|
4226
4258
|
*/
|
|
@@ -4246,7 +4278,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4246
4278
|
/**
|
|
4247
4279
|
* The function to be called when the event occurs
|
|
4248
4280
|
*/
|
|
4249
|
-
fnFunction: (p1: Event) => void,
|
|
4281
|
+
fnFunction: (p1: Event<$SceneDownloadStartedEventParameters>) => void,
|
|
4250
4282
|
/**
|
|
4251
4283
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Scene` itself
|
|
4252
4284
|
*/
|
|
@@ -4267,7 +4299,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4267
4299
|
/**
|
|
4268
4300
|
* The function to be called when the event occurs
|
|
4269
4301
|
*/
|
|
4270
|
-
fnFunction: (p1: Event) => void,
|
|
4302
|
+
fnFunction: (p1: Event<$SceneDownloadStartedEventParameters>) => void,
|
|
4271
4303
|
/**
|
|
4272
4304
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Scene` itself
|
|
4273
4305
|
*/
|
|
@@ -4340,7 +4372,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4340
4372
|
/**
|
|
4341
4373
|
* The function to be called when the event occurs
|
|
4342
4374
|
*/
|
|
4343
|
-
fnFunction: (p1: Event) => void,
|
|
4375
|
+
fnFunction: (p1: Event<$SceneLoadCompletedEventParameters>) => void,
|
|
4344
4376
|
/**
|
|
4345
4377
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Scene` itself
|
|
4346
4378
|
*/
|
|
@@ -4361,7 +4393,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4361
4393
|
/**
|
|
4362
4394
|
* The function to be called when the event occurs
|
|
4363
4395
|
*/
|
|
4364
|
-
fnFunction: (p1: Event) => void,
|
|
4396
|
+
fnFunction: (p1: Event<$SceneLoadCompletedEventParameters>) => void,
|
|
4365
4397
|
/**
|
|
4366
4398
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Scene` itself
|
|
4367
4399
|
*/
|
|
@@ -4431,7 +4463,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4431
4463
|
/**
|
|
4432
4464
|
* The function to be called when the event occurs
|
|
4433
4465
|
*/
|
|
4434
|
-
fnFunction: (p1: Event) => void,
|
|
4466
|
+
fnFunction: (p1: Event<$SceneLoadStartedEventParameters>) => void,
|
|
4435
4467
|
/**
|
|
4436
4468
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Scene` itself
|
|
4437
4469
|
*/
|
|
@@ -4451,7 +4483,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4451
4483
|
/**
|
|
4452
4484
|
* The function to be called when the event occurs
|
|
4453
4485
|
*/
|
|
4454
|
-
fnFunction: (p1: Event) => void,
|
|
4486
|
+
fnFunction: (p1: Event<$SceneLoadStartedEventParameters>) => void,
|
|
4455
4487
|
/**
|
|
4456
4488
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Scene` itself
|
|
4457
4489
|
*/
|
|
@@ -4530,7 +4562,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4530
4562
|
/**
|
|
4531
4563
|
* The function to be called, when the event occurs
|
|
4532
4564
|
*/
|
|
4533
|
-
fnFunction: (p1: Event) => void,
|
|
4565
|
+
fnFunction: (p1: Event<$SceneDownloadCompletedEventParameters>) => void,
|
|
4534
4566
|
/**
|
|
4535
4567
|
* Context object on which the given function had to be called
|
|
4536
4568
|
*/
|
|
@@ -4548,7 +4580,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4548
4580
|
/**
|
|
4549
4581
|
* The function to be called, when the event occurs
|
|
4550
4582
|
*/
|
|
4551
|
-
fnFunction: (p1: Event) => void,
|
|
4583
|
+
fnFunction: (p1: Event<$SceneDownloadProgressEventParameters>) => void,
|
|
4552
4584
|
/**
|
|
4553
4585
|
* Context object on which the given function had to be called
|
|
4554
4586
|
*/
|
|
@@ -4566,7 +4598,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4566
4598
|
/**
|
|
4567
4599
|
* The function to be called, when the event occurs
|
|
4568
4600
|
*/
|
|
4569
|
-
fnFunction: (p1: Event) => void,
|
|
4601
|
+
fnFunction: (p1: Event<$SceneDownloadStartedEventParameters>) => void,
|
|
4570
4602
|
/**
|
|
4571
4603
|
* Context object on which the given function had to be called
|
|
4572
4604
|
*/
|
|
@@ -4602,7 +4634,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4602
4634
|
/**
|
|
4603
4635
|
* The function to be called, when the event occurs
|
|
4604
4636
|
*/
|
|
4605
|
-
fnFunction: (p1: Event) => void,
|
|
4637
|
+
fnFunction: (p1: Event<$SceneLoadCompletedEventParameters>) => void,
|
|
4606
4638
|
/**
|
|
4607
4639
|
* Context object on which the given function had to be called
|
|
4608
4640
|
*/
|
|
@@ -4636,7 +4668,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4636
4668
|
/**
|
|
4637
4669
|
* The function to be called, when the event occurs
|
|
4638
4670
|
*/
|
|
4639
|
-
fnFunction: (p1: Event) => void,
|
|
4671
|
+
fnFunction: (p1: Event<$SceneLoadStartedEventParameters>) => void,
|
|
4640
4672
|
/**
|
|
4641
4673
|
* Context object on which the given function had to be called
|
|
4642
4674
|
*/
|
|
@@ -4653,18 +4685,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4653
4685
|
/**
|
|
4654
4686
|
* Parameters to pass along with the event
|
|
4655
4687
|
*/
|
|
4656
|
-
mParameters?:
|
|
4657
|
-
/**
|
|
4658
|
-
* A set of {@link sap.ui.vtm.ViewableLoadInfo} objects that describe the status of each {@link sap.ui.vtm.Viewable}
|
|
4659
|
-
* passed to the {@link #loadViewablesAsync} call.
|
|
4660
|
-
*/
|
|
4661
|
-
viewableLoadInfos?: ViewableLoadInfo[];
|
|
4662
|
-
/**
|
|
4663
|
-
* The set of viewables that were downloaded successfully in the call to {@link #loadViewablesAsync} that
|
|
4664
|
-
* resulted in this event being raised.
|
|
4665
|
-
*/
|
|
4666
|
-
downloadedViewables?: Viewable[];
|
|
4667
|
-
}
|
|
4688
|
+
mParameters?: $SceneDownloadCompletedEventParameters
|
|
4668
4689
|
): this;
|
|
4669
4690
|
/**
|
|
4670
4691
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -4677,20 +4698,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4677
4698
|
/**
|
|
4678
4699
|
* Parameters to pass along with the event
|
|
4679
4700
|
*/
|
|
4680
|
-
mParameters?:
|
|
4681
|
-
/**
|
|
4682
|
-
* The viewable that is being downloaded.
|
|
4683
|
-
*/
|
|
4684
|
-
viewable?: Viewable;
|
|
4685
|
-
/**
|
|
4686
|
-
* The number of bytes that have been downloaded.
|
|
4687
|
-
*/
|
|
4688
|
-
downloadedBytes?: int;
|
|
4689
|
-
/**
|
|
4690
|
-
* The total number of bytes that need to be downloaded.
|
|
4691
|
-
*/
|
|
4692
|
-
totalBytes?: int;
|
|
4693
|
-
}
|
|
4701
|
+
mParameters?: $SceneDownloadProgressEventParameters
|
|
4694
4702
|
): this;
|
|
4695
4703
|
/**
|
|
4696
4704
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -4703,13 +4711,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4703
4711
|
/**
|
|
4704
4712
|
* Parameters to pass along with the event
|
|
4705
4713
|
*/
|
|
4706
|
-
mParameters?:
|
|
4707
|
-
/**
|
|
4708
|
-
* A set of {@link sap.ui.vtm.ViewableLoadInfo} objects that describe the status of each {@link sap.ui.vtm.Viewable}
|
|
4709
|
-
* passed to the {@link #loadViewablesAsync} call.
|
|
4710
|
-
*/
|
|
4711
|
-
viewableLoadInfos?: ViewableLoadInfo[];
|
|
4712
|
-
}
|
|
4714
|
+
mParameters?: $SceneDownloadStartedEventParameters
|
|
4713
4715
|
): this;
|
|
4714
4716
|
/**
|
|
4715
4717
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -4735,23 +4737,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4735
4737
|
/**
|
|
4736
4738
|
* Parameters to pass along with the event
|
|
4737
4739
|
*/
|
|
4738
|
-
mParameters?:
|
|
4739
|
-
/**
|
|
4740
|
-
* Indicates whether the scene was built/updated successfully. It is possible that this can be `false` when
|
|
4741
|
-
* all the content resources apparently loaded successfully.
|
|
4742
|
-
*/
|
|
4743
|
-
succeeeded?: boolean;
|
|
4744
|
-
/**
|
|
4745
|
-
* A set of {@link sap.ui.vtm.ViewableLoadInfo} objects that describe the status of each {@link sap.ui.vtm.Viewable}
|
|
4746
|
-
* passed to the {@link #loadViewablesAsync} call.
|
|
4747
|
-
*/
|
|
4748
|
-
viewableLoadInfos?: ViewableLoadInfo[];
|
|
4749
|
-
/**
|
|
4750
|
-
* The set of viewables that were loaded successfully in the call to {@link #loadViewablesAsync} that resulted
|
|
4751
|
-
* in this event being raised.
|
|
4752
|
-
*/
|
|
4753
|
-
loadedViewables?: Viewable[];
|
|
4754
|
-
}
|
|
4740
|
+
mParameters?: $SceneLoadCompletedEventParameters
|
|
4755
4741
|
): this;
|
|
4756
4742
|
/**
|
|
4757
4743
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -4777,13 +4763,7 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4777
4763
|
/**
|
|
4778
4764
|
* Parameters to pass along with the event
|
|
4779
4765
|
*/
|
|
4780
|
-
mParameters?:
|
|
4781
|
-
/**
|
|
4782
|
-
* A set of {@link sap.ui.vtm.ViewableLoadInfo} objects that describe the status of each {@link sap.ui.vtm.Viewable}
|
|
4783
|
-
* passed to the {@link #loadViewablesAsync} call.
|
|
4784
|
-
*/
|
|
4785
|
-
viewableLoadInfos?: ViewableLoadInfo[];
|
|
4786
|
-
}
|
|
4766
|
+
mParameters?: $SceneLoadStartedEventParameters
|
|
4787
4767
|
): this;
|
|
4788
4768
|
/**
|
|
4789
4769
|
* Gets the scene node IDs of all the scene nodes in the scene.
|
|
@@ -4896,12 +4876,11 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4896
4876
|
*/
|
|
4897
4877
|
getRootIds(): string[];
|
|
4898
4878
|
/**
|
|
4899
|
-
* Gets the set of {@link sap.ui.vtm.ViewableLoadInfo} objects that describe the status of each {@link sap.ui.vtm.Viewable}
|
|
4879
|
+
* Gets the set of {@link sap.ui.vtm.ViewableLoadInfo} objects that describe the status of each {@link sap.ui.vtm.Viewable }
|
|
4900
4880
|
* that has been passed to a {@link #loadViewablesAsyc} call made on this {@link sap.ui.vtm.Scene} instance.
|
|
4901
4881
|
*
|
|
4902
|
-
* @returns The set of {@link sap.ui.vtm.ViewableLoadInfo} objects that describe the status of each {@link
|
|
4903
|
-
*
|
|
4904
|
-
* instance.
|
|
4882
|
+
* @returns The set of {@link sap.ui.vtm.ViewableLoadInfo} objects that describe the status of each {@link sap.ui.vtm.Viewable }
|
|
4883
|
+
* that has been passed to a {@link #loadViewablesAsyc} call made on this {@link sap.ui.vtm.Scene} instance.
|
|
4905
4884
|
*/
|
|
4906
4885
|
getViewableLoadInfos(): ViewableLoadInfo[];
|
|
4907
4886
|
/**
|
|
@@ -4980,33 +4959,40 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
4980
4959
|
callback: Function
|
|
4981
4960
|
): Scene;
|
|
4982
4961
|
}
|
|
4962
|
+
export default Scene;
|
|
4983
4963
|
|
|
4984
4964
|
export interface $SceneSettings extends $ElementSettings {
|
|
4985
4965
|
/**
|
|
4986
4966
|
* Raised to indicate download progress of a viewable while viewables are being downloaded
|
|
4987
4967
|
*/
|
|
4988
|
-
downloadProgress?: (
|
|
4968
|
+
downloadProgress?: (
|
|
4969
|
+
oEvent: Event<$SceneDownloadProgressEventParameters>
|
|
4970
|
+
) => void;
|
|
4989
4971
|
|
|
4990
4972
|
/**
|
|
4991
4973
|
* Raised when starting a download of a set of viewables.
|
|
4992
4974
|
*/
|
|
4993
|
-
downloadStarted?: (
|
|
4975
|
+
downloadStarted?: (
|
|
4976
|
+
oEvent: Event<$SceneDownloadStartedEventParameters>
|
|
4977
|
+
) => void;
|
|
4994
4978
|
|
|
4995
4979
|
/**
|
|
4996
4980
|
* Raised when viewables have been downloaded (successfully or unsuccessfully) as a result of a call to
|
|
4997
4981
|
* {@link #loadViewablesAsync}.
|
|
4998
4982
|
*
|
|
4999
4983
|
* If no viewables have been successfully downloaded, none of the viewables will be loaded, so no subsequent
|
|
5000
|
-
* {@link sap.ui.vtm.Scene.loadStarted}, {@link sap.ui.vtm.Scene.loadProgress} or {@link sap.ui.vtm.Scene.loadCompleted}
|
|
5001
|
-
* will occur as a result of the call to {@link #loadViewablesAsync} that resulted in the {@link sap.ui.vtm.Scene.downloadCompleted}
|
|
4984
|
+
* {@link sap.ui.vtm.Scene.loadStarted}, {@link sap.ui.vtm.Scene.loadProgress} or {@link sap.ui.vtm.Scene.loadCompleted }
|
|
4985
|
+
* will occur as a result of the call to {@link #loadViewablesAsync} that resulted in the {@link sap.ui.vtm.Scene.downloadCompleted }
|
|
5002
4986
|
* event being raised.
|
|
5003
4987
|
*/
|
|
5004
|
-
downloadCompleted?: (
|
|
4988
|
+
downloadCompleted?: (
|
|
4989
|
+
oEvent: Event<$SceneDownloadCompletedEventParameters>
|
|
4990
|
+
) => void;
|
|
5005
4991
|
|
|
5006
4992
|
/**
|
|
5007
4993
|
* Raised when starting to load a set of viewables.
|
|
5008
4994
|
*/
|
|
5009
|
-
loadStarted?: (oEvent: Event) => void;
|
|
4995
|
+
loadStarted?: (oEvent: Event<$SceneLoadStartedEventParameters>) => void;
|
|
5010
4996
|
|
|
5011
4997
|
/**
|
|
5012
4998
|
* Raised to provide progress information for a viewable that is being loaded.
|
|
@@ -5017,13 +5003,84 @@ declare module "sap/ui/vtm/Scene" {
|
|
|
5017
5003
|
* Raised when all viewables specified in a call to {@link #loadViewablesAsync} have either loaded or failed
|
|
5018
5004
|
* to load.
|
|
5019
5005
|
*/
|
|
5020
|
-
loadCompleted?: (oEvent: Event) => void;
|
|
5006
|
+
loadCompleted?: (oEvent: Event<$SceneLoadCompletedEventParameters>) => void;
|
|
5021
5007
|
|
|
5022
5008
|
/**
|
|
5023
5009
|
* Raised when the scene hierarchy has been modified.
|
|
5024
5010
|
*/
|
|
5025
5011
|
hierarchyChanged?: (oEvent: Event) => void;
|
|
5026
5012
|
}
|
|
5013
|
+
|
|
5014
|
+
export interface $SceneDownloadCompletedEventParameters {
|
|
5015
|
+
/**
|
|
5016
|
+
* A set of {@link sap.ui.vtm.ViewableLoadInfo} objects that describe the status of each {@link sap.ui.vtm.Viewable }
|
|
5017
|
+
* passed to the {@link #loadViewablesAsync} call.
|
|
5018
|
+
*/
|
|
5019
|
+
viewableLoadInfos?: ViewableLoadInfo[];
|
|
5020
|
+
|
|
5021
|
+
/**
|
|
5022
|
+
* The set of viewables that were downloaded successfully in the call to {@link #loadViewablesAsync} that
|
|
5023
|
+
* resulted in this event being raised.
|
|
5024
|
+
*/
|
|
5025
|
+
downloadedViewables?: Viewable[];
|
|
5026
|
+
}
|
|
5027
|
+
|
|
5028
|
+
export interface $SceneDownloadProgressEventParameters {
|
|
5029
|
+
/**
|
|
5030
|
+
* The viewable that is being downloaded.
|
|
5031
|
+
*/
|
|
5032
|
+
viewable?: Viewable;
|
|
5033
|
+
|
|
5034
|
+
/**
|
|
5035
|
+
* The number of bytes that have been downloaded.
|
|
5036
|
+
*/
|
|
5037
|
+
downloadedBytes?: int;
|
|
5038
|
+
|
|
5039
|
+
/**
|
|
5040
|
+
* The total number of bytes that need to be downloaded.
|
|
5041
|
+
*/
|
|
5042
|
+
totalBytes?: int;
|
|
5043
|
+
}
|
|
5044
|
+
|
|
5045
|
+
export interface $SceneDownloadStartedEventParameters {
|
|
5046
|
+
/**
|
|
5047
|
+
* A set of {@link sap.ui.vtm.ViewableLoadInfo} objects that describe the status of each {@link sap.ui.vtm.Viewable }
|
|
5048
|
+
* passed to the {@link #loadViewablesAsync} call.
|
|
5049
|
+
*/
|
|
5050
|
+
viewableLoadInfos?: ViewableLoadInfo[];
|
|
5051
|
+
}
|
|
5052
|
+
|
|
5053
|
+
export interface $SceneHierarchyChangedEventParameters {}
|
|
5054
|
+
|
|
5055
|
+
export interface $SceneLoadCompletedEventParameters {
|
|
5056
|
+
/**
|
|
5057
|
+
* Indicates whether the scene was built/updated successfully. It is possible that this can be `false` when
|
|
5058
|
+
* all the content resources apparently loaded successfully.
|
|
5059
|
+
*/
|
|
5060
|
+
succeeeded?: boolean;
|
|
5061
|
+
|
|
5062
|
+
/**
|
|
5063
|
+
* A set of {@link sap.ui.vtm.ViewableLoadInfo} objects that describe the status of each {@link sap.ui.vtm.Viewable }
|
|
5064
|
+
* passed to the {@link #loadViewablesAsync} call.
|
|
5065
|
+
*/
|
|
5066
|
+
viewableLoadInfos?: ViewableLoadInfo[];
|
|
5067
|
+
|
|
5068
|
+
/**
|
|
5069
|
+
* The set of viewables that were loaded successfully in the call to {@link #loadViewablesAsync} that resulted
|
|
5070
|
+
* in this event being raised.
|
|
5071
|
+
*/
|
|
5072
|
+
loadedViewables?: Viewable[];
|
|
5073
|
+
}
|
|
5074
|
+
|
|
5075
|
+
export interface $SceneLoadProgressEventParameters {}
|
|
5076
|
+
|
|
5077
|
+
export interface $SceneLoadStartedEventParameters {
|
|
5078
|
+
/**
|
|
5079
|
+
* A set of {@link sap.ui.vtm.ViewableLoadInfo} objects that describe the status of each {@link sap.ui.vtm.Viewable }
|
|
5080
|
+
* passed to the {@link #loadViewablesAsync} call.
|
|
5081
|
+
*/
|
|
5082
|
+
viewableLoadInfos?: ViewableLoadInfo[];
|
|
5083
|
+
}
|
|
5027
5084
|
}
|
|
5028
5085
|
|
|
5029
5086
|
declare module "sap/ui/vtm/SceneNode" {
|
|
@@ -5046,7 +5103,7 @@ declare module "sap/ui/vtm/SceneNode" {
|
|
|
5046
5103
|
* Applications are expected to use their own data structures to store data extracted from scene nodes that
|
|
5047
5104
|
* needs to be accessed efficiently.
|
|
5048
5105
|
*/
|
|
5049
|
-
|
|
5106
|
+
class SceneNode extends UI5Element {
|
|
5050
5107
|
/**
|
|
5051
5108
|
* This class is not intended to be directly instantiated by application code. The scene traversal methods
|
|
5052
5109
|
* ({@link sap.ui.vtm.Scene#traverseTree traverseTree}, {@link sap.ui.vtm.Scene#traverseBranch traverseBranch},
|
|
@@ -5209,6 +5266,7 @@ declare module "sap/ui/vtm/SceneNode" {
|
|
|
5209
5266
|
sSceneNodeId: string
|
|
5210
5267
|
): this;
|
|
5211
5268
|
}
|
|
5269
|
+
export default SceneNode;
|
|
5212
5270
|
|
|
5213
5271
|
export interface $SceneNodeSettings extends $ElementSettings {
|
|
5214
5272
|
/**
|
|
@@ -5240,7 +5298,7 @@ declare module "sap/ui/vtm/SelectColumnsDialog" {
|
|
|
5240
5298
|
*
|
|
5241
5299
|
* A dialog used to select the columns to display in a {@link sap.ui.vtm.Tree}.
|
|
5242
5300
|
*/
|
|
5243
|
-
|
|
5301
|
+
class SelectColumnsDialog extends Control {
|
|
5244
5302
|
/**
|
|
5245
5303
|
* Constructor for a new SelectColumnsDialog.
|
|
5246
5304
|
*
|
|
@@ -5332,6 +5390,7 @@ declare module "sap/ui/vtm/SelectColumnsDialog" {
|
|
|
5332
5390
|
oTree: object
|
|
5333
5391
|
): this;
|
|
5334
5392
|
}
|
|
5393
|
+
export default SelectColumnsDialog;
|
|
5335
5394
|
|
|
5336
5395
|
export interface $SelectColumnsDialogSettings extends $ControlSettings {
|
|
5337
5396
|
/**
|
|
@@ -5430,13 +5489,13 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
5430
5489
|
* - `iconColor` - The color for the icon to show in the "tree" column.
|
|
5431
5490
|
* - `iconTooltip` - A tooltip for the icon to show in the "tree" column.
|
|
5432
5491
|
* - `absoluteMatrix` - An array of 13 numbers in ISO 10303-42 format representing an absolute transformation
|
|
5433
|
-
*
|
|
5492
|
+
* matrix.
|
|
5434
5493
|
* - `relativeMatrix` - An array of 13 numbers in ISO 10303-42 format representing a relative transformation
|
|
5435
|
-
*
|
|
5494
|
+
* matrix.
|
|
5436
5495
|
* - `includedChildren` - An array of tree items containing the children of this tree item that can be
|
|
5437
|
-
*
|
|
5496
|
+
* displayed in the tree.
|
|
5438
5497
|
* - `excludedChildren` - An array of tree items containing the children of this tree item that are not
|
|
5439
|
-
*
|
|
5498
|
+
* displayed in the tree.
|
|
5440
5499
|
* - `metadata` - A plain JavaScript object map containing metadata values for the tree item.
|
|
5441
5500
|
* Keys are JSON strings that can be parsed using JSON.parse() to get an object with category and field
|
|
5442
5501
|
* string properties.
|
|
@@ -5454,34 +5513,34 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
5454
5513
|
* Values can be of the following types: `string, string[]`, `number`, `number[]`, `boolean`, `boolean[]`,
|
|
5455
5514
|
* `object`, `object[]`.
|
|
5456
5515
|
* - `textColor` - A {@link sap.ui.vtm.TextColor} value that specifies the color of the text for the tree
|
|
5457
|
-
*
|
|
5516
|
+
* item in the Name data column (defaults to {@link sap.ui.vtm.TextColor.Default}).
|
|
5458
5517
|
* - `sceneNodeIds` - A string or array of strings containing the IDs of scene nodes to associate with
|
|
5459
|
-
*
|
|
5518
|
+
* this tree item.
|
|
5460
5519
|
* - `visibility` - Used to determine visibility of associated scene nodes and control a visibility icon
|
|
5461
|
-
*
|
|
5520
|
+
* shown in the {@link sap.ui.vtm.InternalColumnDescriptor.Visibility} column.
|
|
5462
5521
|
* When `true` associated scene nodes should be visible in the viewport (when their visibility is not overridden).
|
|
5463
5522
|
* When `false` associated scene nodes should not be visible in the viewport (when their visibility is
|
|
5464
5523
|
* not overridden).
|
|
5465
5524
|
* When `null` or `undefined` no visibility icon is shown for the tree item and associated scene nodes
|
|
5466
5525
|
* should not be visible in the viewport (when their visibility is not overridden).
|
|
5467
5526
|
* - `opacity` - A numeric value between 0 and 1 (inclusive) that specifies the opacity to apply to associated
|
|
5468
|
-
*
|
|
5527
|
+
* scene nodes (when their opacity is not overridden).
|
|
5469
5528
|
* - `highlightColor` - A sap.ui.core.CSSColor that specifies a highlight color to apply to associated
|
|
5470
|
-
*
|
|
5471
|
-
*
|
|
5529
|
+
* scene nodes (when their highlight color is not overridden). The alpha component specifies the blend ratio
|
|
5530
|
+
* between the highlight color and the scene node color.
|
|
5472
5531
|
* - `messages` A string that can be parsed using JSON.parse() to produce an array of objects that can
|
|
5473
|
-
*
|
|
5532
|
+
* be used to construct {@link sap.ui.core.Message} objects.
|
|
5474
5533
|
* Refer to the documentation for the `mSettings` parameter of the {@link sap.ui.core.Message} constructor
|
|
5475
5534
|
* for valid values.
|
|
5476
5535
|
* - `messageStatusIconUrl` The URL of the icon to display in the message status column. If an extension
|
|
5477
|
-
*
|
|
5478
|
-
*
|
|
5536
|
+
* implementing {@link sap.ui.vtm.interfaces.IMessageStatusCalculationExtension} is being used, only that
|
|
5537
|
+
* extension should set values for this field.
|
|
5479
5538
|
* - `messageStatusIconColor` The {@link sap.ui.core.CSSColor} color of the icon to display in the message
|
|
5480
|
-
*
|
|
5481
|
-
*
|
|
5539
|
+
* status column. If an extension implementing {@link sap.ui.vtm.interfaces.IMessageStatusCalculationExtension }
|
|
5540
|
+
* is being used, only that extension should set values for this field.
|
|
5482
5541
|
* - `messageStatusIconTooltip` The tooltip for the icon in the message status column. If an extension
|
|
5483
|
-
*
|
|
5484
|
-
*
|
|
5542
|
+
* implementing {@link sap.ui.vtm.interfaces.IMessageStatusCalculationExtension} is being used, only that
|
|
5543
|
+
* extension should set values for this field.
|
|
5485
5544
|
*
|
|
5486
5545
|
* The `sceneNodeIds`, `visibility`, `opacity` and `highlightColor` properties are used by the extension
|
|
5487
5546
|
* implementing {@link sap.ui.vtm.interfaces.IDisplayStateCalculationExtension} to determine the display
|
|
@@ -5519,9 +5578,9 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
5519
5578
|
* messageStatusIconTooltip: "Error"
|
|
5520
5579
|
* }```
|
|
5521
5580
|
*/
|
|
5522
|
-
|
|
5581
|
+
class Tree extends Control {
|
|
5523
5582
|
/**
|
|
5524
|
-
* This class is not intended to be instantiated directly by application code. A {@link sap.ui.vtm.Tree}
|
|
5583
|
+
* This class is not intended to be instantiated directly by application code. A {@link sap.ui.vtm.Tree }
|
|
5525
5584
|
* object is created when a {@link sap.ui.vtm.Panel} object is instantiated.
|
|
5526
5585
|
*
|
|
5527
5586
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
@@ -5704,7 +5763,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
5704
5763
|
/**
|
|
5705
5764
|
* The function to be called when the event occurs
|
|
5706
5765
|
*/
|
|
5707
|
-
fnFunction: (p1: Event) => void,
|
|
5766
|
+
fnFunction: (p1: Event<$TreeDragOverEventParameters>) => void,
|
|
5708
5767
|
/**
|
|
5709
5768
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
5710
5769
|
*/
|
|
@@ -5725,7 +5784,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
5725
5784
|
/**
|
|
5726
5785
|
* The function to be called when the event occurs
|
|
5727
5786
|
*/
|
|
5728
|
-
fnFunction: (p1: Event) => void,
|
|
5787
|
+
fnFunction: (p1: Event<$TreeDragOverEventParameters>) => void,
|
|
5729
5788
|
/**
|
|
5730
5789
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
5731
5790
|
*/
|
|
@@ -5751,7 +5810,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
5751
5810
|
/**
|
|
5752
5811
|
* The function to be called when the event occurs
|
|
5753
5812
|
*/
|
|
5754
|
-
fnFunction: (p1: Event) => void,
|
|
5813
|
+
fnFunction: (p1: Event<$TreeDragStartEventParameters>) => void,
|
|
5755
5814
|
/**
|
|
5756
5815
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
5757
5816
|
*/
|
|
@@ -5772,7 +5831,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
5772
5831
|
/**
|
|
5773
5832
|
* The function to be called when the event occurs
|
|
5774
5833
|
*/
|
|
5775
|
-
fnFunction: (p1: Event) => void,
|
|
5834
|
+
fnFunction: (p1: Event<$TreeDragStartEventParameters>) => void,
|
|
5776
5835
|
/**
|
|
5777
5836
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
5778
5837
|
*/
|
|
@@ -5798,7 +5857,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
5798
5857
|
/**
|
|
5799
5858
|
* The function to be called when the event occurs
|
|
5800
5859
|
*/
|
|
5801
|
-
fnFunction: (p1: Event) => void,
|
|
5860
|
+
fnFunction: (p1: Event<$TreeDropEventParameters>) => void,
|
|
5802
5861
|
/**
|
|
5803
5862
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
5804
5863
|
*/
|
|
@@ -5819,7 +5878,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
5819
5878
|
/**
|
|
5820
5879
|
* The function to be called when the event occurs
|
|
5821
5880
|
*/
|
|
5822
|
-
fnFunction: (p1: Event) => void,
|
|
5881
|
+
fnFunction: (p1: Event<$TreeDropEventParameters>) => void,
|
|
5823
5882
|
/**
|
|
5824
5883
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
5825
5884
|
*/
|
|
@@ -5845,7 +5904,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
5845
5904
|
/**
|
|
5846
5905
|
* The function to be called when the event occurs
|
|
5847
5906
|
*/
|
|
5848
|
-
fnFunction: (p1: Event) => void,
|
|
5907
|
+
fnFunction: (p1: Event<$TreeExpandedChangedEventParameters>) => void,
|
|
5849
5908
|
/**
|
|
5850
5909
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
5851
5910
|
*/
|
|
@@ -5866,7 +5925,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
5866
5925
|
/**
|
|
5867
5926
|
* The function to be called when the event occurs
|
|
5868
5927
|
*/
|
|
5869
|
-
fnFunction: (p1: Event) => void,
|
|
5928
|
+
fnFunction: (p1: Event<$TreeExpandedChangedEventParameters>) => void,
|
|
5870
5929
|
/**
|
|
5871
5930
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
5872
5931
|
*/
|
|
@@ -5967,7 +6026,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
5967
6026
|
oListener?: object
|
|
5968
6027
|
): this;
|
|
5969
6028
|
/**
|
|
5970
|
-
* Attaches event handler `fnFunction` to the {@link #event:messageStatusHeaderIconClicked messageStatusHeaderIconClicked}
|
|
6029
|
+
* Attaches event handler `fnFunction` to the {@link #event:messageStatusHeaderIconClicked messageStatusHeaderIconClicked }
|
|
5971
6030
|
* event of this `sap.ui.vtm.Tree`.
|
|
5972
6031
|
*
|
|
5973
6032
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -5993,7 +6052,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
5993
6052
|
oListener?: object
|
|
5994
6053
|
): this;
|
|
5995
6054
|
/**
|
|
5996
|
-
* Attaches event handler `fnFunction` to the {@link #event:messageStatusHeaderIconClicked messageStatusHeaderIconClicked}
|
|
6055
|
+
* Attaches event handler `fnFunction` to the {@link #event:messageStatusHeaderIconClicked messageStatusHeaderIconClicked }
|
|
5997
6056
|
* event of this `sap.ui.vtm.Tree`.
|
|
5998
6057
|
*
|
|
5999
6058
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -6014,7 +6073,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6014
6073
|
oListener?: object
|
|
6015
6074
|
): this;
|
|
6016
6075
|
/**
|
|
6017
|
-
* Attaches event handler `fnFunction` to the {@link #event:messageStatusIconClicked messageStatusIconClicked}
|
|
6076
|
+
* Attaches event handler `fnFunction` to the {@link #event:messageStatusIconClicked messageStatusIconClicked }
|
|
6018
6077
|
* event of this `sap.ui.vtm.Tree`.
|
|
6019
6078
|
*
|
|
6020
6079
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -6033,14 +6092,16 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6033
6092
|
/**
|
|
6034
6093
|
* The function to be called when the event occurs
|
|
6035
6094
|
*/
|
|
6036
|
-
fnFunction: (
|
|
6095
|
+
fnFunction: (
|
|
6096
|
+
p1: Event<$TreeMessageStatusIconClickedEventParameters>
|
|
6097
|
+
) => void,
|
|
6037
6098
|
/**
|
|
6038
6099
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
6039
6100
|
*/
|
|
6040
6101
|
oListener?: object
|
|
6041
6102
|
): this;
|
|
6042
6103
|
/**
|
|
6043
|
-
* Attaches event handler `fnFunction` to the {@link #event:messageStatusIconClicked messageStatusIconClicked}
|
|
6104
|
+
* Attaches event handler `fnFunction` to the {@link #event:messageStatusIconClicked messageStatusIconClicked }
|
|
6044
6105
|
* event of this `sap.ui.vtm.Tree`.
|
|
6045
6106
|
*
|
|
6046
6107
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -6054,7 +6115,9 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6054
6115
|
/**
|
|
6055
6116
|
* The function to be called when the event occurs
|
|
6056
6117
|
*/
|
|
6057
|
-
fnFunction: (
|
|
6118
|
+
fnFunction: (
|
|
6119
|
+
p1: Event<$TreeMessageStatusIconClickedEventParameters>
|
|
6120
|
+
) => void,
|
|
6058
6121
|
/**
|
|
6059
6122
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
6060
6123
|
*/
|
|
@@ -6125,7 +6188,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6125
6188
|
/**
|
|
6126
6189
|
* The function to be called when the event occurs
|
|
6127
6190
|
*/
|
|
6128
|
-
fnFunction: (p1: Event) => void,
|
|
6191
|
+
fnFunction: (p1: Event<$TreeSelectionChangedEventParameters>) => void,
|
|
6129
6192
|
/**
|
|
6130
6193
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
6131
6194
|
*/
|
|
@@ -6146,14 +6209,14 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6146
6209
|
/**
|
|
6147
6210
|
* The function to be called when the event occurs
|
|
6148
6211
|
*/
|
|
6149
|
-
fnFunction: (p1: Event) => void,
|
|
6212
|
+
fnFunction: (p1: Event<$TreeSelectionChangedEventParameters>) => void,
|
|
6150
6213
|
/**
|
|
6151
6214
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
6152
6215
|
*/
|
|
6153
6216
|
oListener?: object
|
|
6154
6217
|
): this;
|
|
6155
6218
|
/**
|
|
6156
|
-
* Attaches event handler `fnFunction` to the {@link #event:visibilityHeaderIconClicked visibilityHeaderIconClicked}
|
|
6219
|
+
* Attaches event handler `fnFunction` to the {@link #event:visibilityHeaderIconClicked visibilityHeaderIconClicked }
|
|
6157
6220
|
* event of this `sap.ui.vtm.Tree`.
|
|
6158
6221
|
*
|
|
6159
6222
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -6172,14 +6235,16 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6172
6235
|
/**
|
|
6173
6236
|
* The function to be called when the event occurs
|
|
6174
6237
|
*/
|
|
6175
|
-
fnFunction: (
|
|
6238
|
+
fnFunction: (
|
|
6239
|
+
p1: Event<$TreeVisibilityHeaderIconClickedEventParameters>
|
|
6240
|
+
) => void,
|
|
6176
6241
|
/**
|
|
6177
6242
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
6178
6243
|
*/
|
|
6179
6244
|
oListener?: object
|
|
6180
6245
|
): this;
|
|
6181
6246
|
/**
|
|
6182
|
-
* Attaches event handler `fnFunction` to the {@link #event:visibilityHeaderIconClicked visibilityHeaderIconClicked}
|
|
6247
|
+
* Attaches event handler `fnFunction` to the {@link #event:visibilityHeaderIconClicked visibilityHeaderIconClicked }
|
|
6183
6248
|
* event of this `sap.ui.vtm.Tree`.
|
|
6184
6249
|
*
|
|
6185
6250
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -6193,14 +6258,16 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6193
6258
|
/**
|
|
6194
6259
|
* The function to be called when the event occurs
|
|
6195
6260
|
*/
|
|
6196
|
-
fnFunction: (
|
|
6261
|
+
fnFunction: (
|
|
6262
|
+
p1: Event<$TreeVisibilityHeaderIconClickedEventParameters>
|
|
6263
|
+
) => void,
|
|
6197
6264
|
/**
|
|
6198
6265
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
6199
6266
|
*/
|
|
6200
6267
|
oListener?: object
|
|
6201
6268
|
): this;
|
|
6202
6269
|
/**
|
|
6203
|
-
* Attaches event handler `fnFunction` to the {@link #event:visibilityIconClicked visibilityIconClicked}
|
|
6270
|
+
* Attaches event handler `fnFunction` to the {@link #event:visibilityIconClicked visibilityIconClicked }
|
|
6204
6271
|
* event of this `sap.ui.vtm.Tree`.
|
|
6205
6272
|
*
|
|
6206
6273
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -6219,14 +6286,16 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6219
6286
|
/**
|
|
6220
6287
|
* The function to be called when the event occurs
|
|
6221
6288
|
*/
|
|
6222
|
-
fnFunction: (
|
|
6289
|
+
fnFunction: (
|
|
6290
|
+
p1: Event<$TreeVisibilityIconClickedEventParameters>
|
|
6291
|
+
) => void,
|
|
6223
6292
|
/**
|
|
6224
6293
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
6225
6294
|
*/
|
|
6226
6295
|
oListener?: object
|
|
6227
6296
|
): this;
|
|
6228
6297
|
/**
|
|
6229
|
-
* Attaches event handler `fnFunction` to the {@link #event:visibilityIconClicked visibilityIconClicked}
|
|
6298
|
+
* Attaches event handler `fnFunction` to the {@link #event:visibilityIconClicked visibilityIconClicked }
|
|
6230
6299
|
* event of this `sap.ui.vtm.Tree`.
|
|
6231
6300
|
*
|
|
6232
6301
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -6240,7 +6309,9 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6240
6309
|
/**
|
|
6241
6310
|
* The function to be called when the event occurs
|
|
6242
6311
|
*/
|
|
6243
|
-
fnFunction: (
|
|
6312
|
+
fnFunction: (
|
|
6313
|
+
p1: Event<$TreeVisibilityIconClickedEventParameters>
|
|
6314
|
+
) => void,
|
|
6244
6315
|
/**
|
|
6245
6316
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Tree` itself
|
|
6246
6317
|
*/
|
|
@@ -6305,7 +6376,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6305
6376
|
/**
|
|
6306
6377
|
* The function to be called, when the event occurs
|
|
6307
6378
|
*/
|
|
6308
|
-
fnFunction: (p1: Event) => void,
|
|
6379
|
+
fnFunction: (p1: Event<$TreeDragOverEventParameters>) => void,
|
|
6309
6380
|
/**
|
|
6310
6381
|
* Context object on which the given function had to be called
|
|
6311
6382
|
*/
|
|
@@ -6322,7 +6393,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6322
6393
|
/**
|
|
6323
6394
|
* The function to be called, when the event occurs
|
|
6324
6395
|
*/
|
|
6325
|
-
fnFunction: (p1: Event) => void,
|
|
6396
|
+
fnFunction: (p1: Event<$TreeDragStartEventParameters>) => void,
|
|
6326
6397
|
/**
|
|
6327
6398
|
* Context object on which the given function had to be called
|
|
6328
6399
|
*/
|
|
@@ -6339,7 +6410,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6339
6410
|
/**
|
|
6340
6411
|
* The function to be called, when the event occurs
|
|
6341
6412
|
*/
|
|
6342
|
-
fnFunction: (p1: Event) => void,
|
|
6413
|
+
fnFunction: (p1: Event<$TreeDropEventParameters>) => void,
|
|
6343
6414
|
/**
|
|
6344
6415
|
* Context object on which the given function had to be called
|
|
6345
6416
|
*/
|
|
@@ -6357,7 +6428,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6357
6428
|
/**
|
|
6358
6429
|
* The function to be called, when the event occurs
|
|
6359
6430
|
*/
|
|
6360
|
-
fnFunction: (p1: Event) => void,
|
|
6431
|
+
fnFunction: (p1: Event<$TreeExpandedChangedEventParameters>) => void,
|
|
6361
6432
|
/**
|
|
6362
6433
|
* Context object on which the given function had to be called
|
|
6363
6434
|
*/
|
|
@@ -6400,7 +6471,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6400
6471
|
oListener?: object
|
|
6401
6472
|
): this;
|
|
6402
6473
|
/**
|
|
6403
|
-
* Detaches event handler `fnFunction` from the {@link #event:messageStatusHeaderIconClicked messageStatusHeaderIconClicked}
|
|
6474
|
+
* Detaches event handler `fnFunction` from the {@link #event:messageStatusHeaderIconClicked messageStatusHeaderIconClicked }
|
|
6404
6475
|
* event of this `sap.ui.vtm.Tree`.
|
|
6405
6476
|
*
|
|
6406
6477
|
* The passed function and listener object must match the ones used for event registration.
|
|
@@ -6418,7 +6489,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6418
6489
|
oListener?: object
|
|
6419
6490
|
): this;
|
|
6420
6491
|
/**
|
|
6421
|
-
* Detaches event handler `fnFunction` from the {@link #event:messageStatusIconClicked messageStatusIconClicked}
|
|
6492
|
+
* Detaches event handler `fnFunction` from the {@link #event:messageStatusIconClicked messageStatusIconClicked }
|
|
6422
6493
|
* event of this `sap.ui.vtm.Tree`.
|
|
6423
6494
|
*
|
|
6424
6495
|
* The passed function and listener object must match the ones used for event registration.
|
|
@@ -6429,7 +6500,9 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6429
6500
|
/**
|
|
6430
6501
|
* The function to be called, when the event occurs
|
|
6431
6502
|
*/
|
|
6432
|
-
fnFunction: (
|
|
6503
|
+
fnFunction: (
|
|
6504
|
+
p1: Event<$TreeMessageStatusIconClickedEventParameters>
|
|
6505
|
+
) => void,
|
|
6433
6506
|
/**
|
|
6434
6507
|
* Context object on which the given function had to be called
|
|
6435
6508
|
*/
|
|
@@ -6464,14 +6537,14 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6464
6537
|
/**
|
|
6465
6538
|
* The function to be called, when the event occurs
|
|
6466
6539
|
*/
|
|
6467
|
-
fnFunction: (p1: Event) => void,
|
|
6540
|
+
fnFunction: (p1: Event<$TreeSelectionChangedEventParameters>) => void,
|
|
6468
6541
|
/**
|
|
6469
6542
|
* Context object on which the given function had to be called
|
|
6470
6543
|
*/
|
|
6471
6544
|
oListener?: object
|
|
6472
6545
|
): this;
|
|
6473
6546
|
/**
|
|
6474
|
-
* Detaches event handler `fnFunction` from the {@link #event:visibilityHeaderIconClicked visibilityHeaderIconClicked}
|
|
6547
|
+
* Detaches event handler `fnFunction` from the {@link #event:visibilityHeaderIconClicked visibilityHeaderIconClicked }
|
|
6475
6548
|
* event of this `sap.ui.vtm.Tree`.
|
|
6476
6549
|
*
|
|
6477
6550
|
* The passed function and listener object must match the ones used for event registration.
|
|
@@ -6482,14 +6555,16 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6482
6555
|
/**
|
|
6483
6556
|
* The function to be called, when the event occurs
|
|
6484
6557
|
*/
|
|
6485
|
-
fnFunction: (
|
|
6558
|
+
fnFunction: (
|
|
6559
|
+
p1: Event<$TreeVisibilityHeaderIconClickedEventParameters>
|
|
6560
|
+
) => void,
|
|
6486
6561
|
/**
|
|
6487
6562
|
* Context object on which the given function had to be called
|
|
6488
6563
|
*/
|
|
6489
6564
|
oListener?: object
|
|
6490
6565
|
): this;
|
|
6491
6566
|
/**
|
|
6492
|
-
* Detaches event handler `fnFunction` from the {@link #event:visibilityIconClicked visibilityIconClicked}
|
|
6567
|
+
* Detaches event handler `fnFunction` from the {@link #event:visibilityIconClicked visibilityIconClicked }
|
|
6493
6568
|
* event of this `sap.ui.vtm.Tree`.
|
|
6494
6569
|
*
|
|
6495
6570
|
* The passed function and listener object must match the ones used for event registration.
|
|
@@ -6500,7 +6575,9 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6500
6575
|
/**
|
|
6501
6576
|
* The function to be called, when the event occurs
|
|
6502
6577
|
*/
|
|
6503
|
-
fnFunction: (
|
|
6578
|
+
fnFunction: (
|
|
6579
|
+
p1: Event<$TreeVisibilityIconClickedEventParameters>
|
|
6580
|
+
) => void,
|
|
6504
6581
|
/**
|
|
6505
6582
|
* Context object on which the given function had to be called
|
|
6506
6583
|
*/
|
|
@@ -6576,24 +6653,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6576
6653
|
/**
|
|
6577
6654
|
* Parameters to pass along with the event
|
|
6578
6655
|
*/
|
|
6579
|
-
mParameters?:
|
|
6580
|
-
/**
|
|
6581
|
-
* The tree item that was dragged.
|
|
6582
|
-
*/
|
|
6583
|
-
dragItem?: object;
|
|
6584
|
-
/**
|
|
6585
|
-
* The tree of the tree item that was dragged.
|
|
6586
|
-
*/
|
|
6587
|
-
dragTree?: Tree;
|
|
6588
|
-
/**
|
|
6589
|
-
* The tree item being dragged over or null if the tree item is being dragged over an unpopulated row.
|
|
6590
|
-
*/
|
|
6591
|
-
dragOverItem?: object;
|
|
6592
|
-
/**
|
|
6593
|
-
* The tree being dragged over.
|
|
6594
|
-
*/
|
|
6595
|
-
dragOverTree?: Tree;
|
|
6596
|
-
}
|
|
6656
|
+
mParameters?: $TreeDragOverEventParameters
|
|
6597
6657
|
): boolean;
|
|
6598
6658
|
/**
|
|
6599
6659
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -6609,16 +6669,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6609
6669
|
/**
|
|
6610
6670
|
* Parameters to pass along with the event
|
|
6611
6671
|
*/
|
|
6612
|
-
mParameters?:
|
|
6613
|
-
/**
|
|
6614
|
-
* The tree item that was dragged.
|
|
6615
|
-
*/
|
|
6616
|
-
dragItem?: object;
|
|
6617
|
-
/**
|
|
6618
|
-
* The tree of the tree item that was dragged.
|
|
6619
|
-
*/
|
|
6620
|
-
dragTree?: Tree;
|
|
6621
|
-
}
|
|
6672
|
+
mParameters?: $TreeDragStartEventParameters
|
|
6622
6673
|
): boolean;
|
|
6623
6674
|
/**
|
|
6624
6675
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -6631,24 +6682,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6631
6682
|
/**
|
|
6632
6683
|
* Parameters to pass along with the event
|
|
6633
6684
|
*/
|
|
6634
|
-
mParameters?:
|
|
6635
|
-
/**
|
|
6636
|
-
* The tree item that was dragged.
|
|
6637
|
-
*/
|
|
6638
|
-
dragItem?: object;
|
|
6639
|
-
/**
|
|
6640
|
-
* The tree of the tree item that was dragged.
|
|
6641
|
-
*/
|
|
6642
|
-
dragTree?: Tree;
|
|
6643
|
-
/**
|
|
6644
|
-
* The tree item that the drop occurred on or null if the item was not dropped on a tree item.
|
|
6645
|
-
*/
|
|
6646
|
-
dropItem?: object;
|
|
6647
|
-
/**
|
|
6648
|
-
* The tree that the drop occurred on.
|
|
6649
|
-
*/
|
|
6650
|
-
dropTree?: Tree;
|
|
6651
|
-
}
|
|
6685
|
+
mParameters?: $TreeDropEventParameters
|
|
6652
6686
|
): this;
|
|
6653
6687
|
/**
|
|
6654
6688
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -6661,20 +6695,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6661
6695
|
/**
|
|
6662
6696
|
* Parameters to pass along with the event
|
|
6663
6697
|
*/
|
|
6664
|
-
mParameters?:
|
|
6665
|
-
/**
|
|
6666
|
-
* The tree item associated with the row that was expanded or collapsed.
|
|
6667
|
-
*/
|
|
6668
|
-
item?: object;
|
|
6669
|
-
/**
|
|
6670
|
-
* If `true`, the row was expanded, otherwise it was collapsed.
|
|
6671
|
-
*/
|
|
6672
|
-
expanded?: boolean;
|
|
6673
|
-
/**
|
|
6674
|
-
* Indicates that the event was fired due to the user clicking an expander.
|
|
6675
|
-
*/
|
|
6676
|
-
userInteraction?: boolean;
|
|
6677
|
-
}
|
|
6698
|
+
mParameters?: $TreeExpandedChangedEventParameters
|
|
6678
6699
|
): this;
|
|
6679
6700
|
/**
|
|
6680
6701
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -6727,16 +6748,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6727
6748
|
/**
|
|
6728
6749
|
* Parameters to pass along with the event
|
|
6729
6750
|
*/
|
|
6730
|
-
mParameters?:
|
|
6731
|
-
/**
|
|
6732
|
-
* The associated tree item.
|
|
6733
|
-
*/
|
|
6734
|
-
items?: object;
|
|
6735
|
-
/**
|
|
6736
|
-
* The message status icon control that was clicked.
|
|
6737
|
-
*/
|
|
6738
|
-
control?: Control;
|
|
6739
|
-
}
|
|
6751
|
+
mParameters?: $TreeMessageStatusIconClickedEventParameters
|
|
6740
6752
|
): this;
|
|
6741
6753
|
/**
|
|
6742
6754
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -6762,20 +6774,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6762
6774
|
/**
|
|
6763
6775
|
* Parameters to pass along with the event
|
|
6764
6776
|
*/
|
|
6765
|
-
mParameters?:
|
|
6766
|
-
/**
|
|
6767
|
-
* The tree items that were added to the selection set for the tree.
|
|
6768
|
-
*/
|
|
6769
|
-
addedItems?: object[];
|
|
6770
|
-
/**
|
|
6771
|
-
* The tree items that were removed from the selection set for the tree.
|
|
6772
|
-
*/
|
|
6773
|
-
removedItems?: object[];
|
|
6774
|
-
/**
|
|
6775
|
-
* Indicates that the event was fired due to an explicit user interaction
|
|
6776
|
-
*/
|
|
6777
|
-
userInteraction?: boolean;
|
|
6778
|
-
}
|
|
6777
|
+
mParameters?: $TreeSelectionChangedEventParameters
|
|
6779
6778
|
): this;
|
|
6780
6779
|
/**
|
|
6781
6780
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -6788,16 +6787,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6788
6787
|
/**
|
|
6789
6788
|
* Parameters to pass along with the event
|
|
6790
6789
|
*/
|
|
6791
|
-
mParameters?:
|
|
6792
|
-
/**
|
|
6793
|
-
* The visibility state of the tree item.
|
|
6794
|
-
*/
|
|
6795
|
-
visibility?: boolean;
|
|
6796
|
-
/**
|
|
6797
|
-
* The visibility header icon control that was clicked.
|
|
6798
|
-
*/
|
|
6799
|
-
control?: Control;
|
|
6800
|
-
}
|
|
6790
|
+
mParameters?: $TreeVisibilityHeaderIconClickedEventParameters
|
|
6801
6791
|
): this;
|
|
6802
6792
|
/**
|
|
6803
6793
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -6810,20 +6800,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
6810
6800
|
/**
|
|
6811
6801
|
* Parameters to pass along with the event
|
|
6812
6802
|
*/
|
|
6813
|
-
mParameters?:
|
|
6814
|
-
/**
|
|
6815
|
-
* The tree item whose visibility icon was clicked.
|
|
6816
|
-
*/
|
|
6817
|
-
item?: object;
|
|
6818
|
-
/**
|
|
6819
|
-
* The visibility state of the tree item.
|
|
6820
|
-
*/
|
|
6821
|
-
visibility?: boolean;
|
|
6822
|
-
/**
|
|
6823
|
-
* The visibility icon control that was clicked.
|
|
6824
|
-
*/
|
|
6825
|
-
control?: Control;
|
|
6826
|
-
}
|
|
6803
|
+
mParameters?: $TreeVisibilityIconClickedEventParameters
|
|
6827
6804
|
): this;
|
|
6828
6805
|
/**
|
|
6829
6806
|
* Finds all tree items in the tree of a given type.
|
|
@@ -7349,7 +7326,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
7349
7326
|
* the traversal.
|
|
7350
7327
|
* The second parameter to the callback function is the set of ancestors of the current tree item.
|
|
7351
7328
|
* The function may return a {@link sap.ui.vtm.ChildCollectionType} value to specify which immediate children
|
|
7352
|
-
* to traverse. If no such value is returned a default of {@link sap.ui.vtm.ChildCollectionType.Included}
|
|
7329
|
+
* to traverse. If no such value is returned a default of {@link sap.ui.vtm.ChildCollectionType.Included }
|
|
7353
7330
|
* is used.
|
|
7354
7331
|
*/
|
|
7355
7332
|
callback: Function
|
|
@@ -7385,7 +7362,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
7385
7362
|
updateCollections(
|
|
7386
7363
|
/**
|
|
7387
7364
|
* When true a `hierarchyChanged` event will be raised if the hierarchy has changed since the last time
|
|
7388
|
-
* this method was called. This method is called when the tree is empty as part of the {@link sap.ui.vtm.Tree}
|
|
7365
|
+
* this method was called. This method is called when the tree is empty as part of the {@link sap.ui.vtm.Tree }
|
|
7389
7366
|
* constructor, so the first time it is called from application code a `hierarchyChanged` event will be
|
|
7390
7367
|
* raised if the tree has been populated. The default value for the parameter is `true`.
|
|
7391
7368
|
*/
|
|
@@ -7423,6 +7400,7 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
7423
7400
|
*/
|
|
7424
7401
|
validateTree(): Tree;
|
|
7425
7402
|
}
|
|
7403
|
+
export default Tree;
|
|
7426
7404
|
|
|
7427
7405
|
export interface $TreeSettings extends $ControlSettings {
|
|
7428
7406
|
/**
|
|
@@ -7446,39 +7424,47 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
7446
7424
|
* Raised when a tree item drag is initiated. To prevent a drag from being initiated call preventDefault()
|
|
7447
7425
|
* on the event.
|
|
7448
7426
|
*/
|
|
7449
|
-
dragStart?: (oEvent: Event) => void;
|
|
7427
|
+
dragStart?: (oEvent: Event<$TreeDragStartEventParameters>) => void;
|
|
7450
7428
|
|
|
7451
7429
|
/**
|
|
7452
7430
|
* Raised when a tree item is dragged over a tree item or an unpopulated row in a tree. To allow a drop
|
|
7453
7431
|
* to occur call preventDefault() on the event.
|
|
7454
7432
|
*/
|
|
7455
|
-
dragOver?: (oEvent: Event) => void;
|
|
7433
|
+
dragOver?: (oEvent: Event<$TreeDragOverEventParameters>) => void;
|
|
7456
7434
|
|
|
7457
7435
|
/**
|
|
7458
7436
|
* Raised when a tree item is dropped on a tree item or an unpopulated row in a tree. A drop cannot occur
|
|
7459
7437
|
* unless preventDefault() is called on the sap.ui.base.Event object in the preceding dragOver event.
|
|
7460
7438
|
*/
|
|
7461
|
-
drop?: (oEvent: Event) => void;
|
|
7439
|
+
drop?: (oEvent: Event<$TreeDropEventParameters>) => void;
|
|
7462
7440
|
|
|
7463
7441
|
/**
|
|
7464
7442
|
* Raised when the set of selected tree items for a tree changes.
|
|
7465
7443
|
*/
|
|
7466
|
-
selectionChanged?: (
|
|
7444
|
+
selectionChanged?: (
|
|
7445
|
+
oEvent: Event<$TreeSelectionChangedEventParameters>
|
|
7446
|
+
) => void;
|
|
7467
7447
|
|
|
7468
7448
|
/**
|
|
7469
7449
|
* Raised when the icon in the visibility column header is clicked.
|
|
7470
7450
|
*/
|
|
7471
|
-
visibilityHeaderIconClicked?: (
|
|
7451
|
+
visibilityHeaderIconClicked?: (
|
|
7452
|
+
oEvent: Event<$TreeVisibilityHeaderIconClickedEventParameters>
|
|
7453
|
+
) => void;
|
|
7472
7454
|
|
|
7473
7455
|
/**
|
|
7474
7456
|
* Raised when an icon in the visibility column is clicked.
|
|
7475
7457
|
*/
|
|
7476
|
-
visibilityIconClicked?: (
|
|
7458
|
+
visibilityIconClicked?: (
|
|
7459
|
+
oEvent: Event<$TreeVisibilityIconClickedEventParameters>
|
|
7460
|
+
) => void;
|
|
7477
7461
|
|
|
7478
7462
|
/**
|
|
7479
7463
|
* Raised when a tree item entry is expanded or collapsed.
|
|
7480
7464
|
*/
|
|
7481
|
-
expandedChanged?: (
|
|
7465
|
+
expandedChanged?: (
|
|
7466
|
+
oEvent: Event<$TreeExpandedChangedEventParameters>
|
|
7467
|
+
) => void;
|
|
7482
7468
|
|
|
7483
7469
|
/**
|
|
7484
7470
|
* Raised when the fixed columns are updated.
|
|
@@ -7503,7 +7489,9 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
7503
7489
|
/**
|
|
7504
7490
|
* Raised when a tree item message status icon is clicked.
|
|
7505
7491
|
*/
|
|
7506
|
-
messageStatusIconClicked?: (
|
|
7492
|
+
messageStatusIconClicked?: (
|
|
7493
|
+
oEvent: Event<$TreeMessageStatusIconClickedEventParameters>
|
|
7494
|
+
) => void;
|
|
7507
7495
|
|
|
7508
7496
|
/**
|
|
7509
7497
|
* Raised when a tree item message status icon is clicked.
|
|
@@ -7515,6 +7503,149 @@ declare module "sap/ui/vtm/Tree" {
|
|
|
7515
7503
|
*/
|
|
7516
7504
|
hierarchyChanged?: (oEvent: Event) => void;
|
|
7517
7505
|
}
|
|
7506
|
+
|
|
7507
|
+
export interface $TreeBeforeModelUpdatedEventParameters {}
|
|
7508
|
+
|
|
7509
|
+
export interface $TreeDataColumnsChangedEventParameters {}
|
|
7510
|
+
|
|
7511
|
+
export interface $TreeDragOverEventParameters {
|
|
7512
|
+
/**
|
|
7513
|
+
* The tree item that was dragged.
|
|
7514
|
+
*/
|
|
7515
|
+
dragItem?: object;
|
|
7516
|
+
|
|
7517
|
+
/**
|
|
7518
|
+
* The tree of the tree item that was dragged.
|
|
7519
|
+
*/
|
|
7520
|
+
dragTree?: Tree;
|
|
7521
|
+
|
|
7522
|
+
/**
|
|
7523
|
+
* The tree item being dragged over or null if the tree item is being dragged over an unpopulated row.
|
|
7524
|
+
*/
|
|
7525
|
+
dragOverItem?: object;
|
|
7526
|
+
|
|
7527
|
+
/**
|
|
7528
|
+
* The tree being dragged over.
|
|
7529
|
+
*/
|
|
7530
|
+
dragOverTree?: Tree;
|
|
7531
|
+
}
|
|
7532
|
+
|
|
7533
|
+
export interface $TreeDragStartEventParameters {
|
|
7534
|
+
/**
|
|
7535
|
+
* The tree item that was dragged.
|
|
7536
|
+
*/
|
|
7537
|
+
dragItem?: object;
|
|
7538
|
+
|
|
7539
|
+
/**
|
|
7540
|
+
* The tree of the tree item that was dragged.
|
|
7541
|
+
*/
|
|
7542
|
+
dragTree?: Tree;
|
|
7543
|
+
}
|
|
7544
|
+
|
|
7545
|
+
export interface $TreeDropEventParameters {
|
|
7546
|
+
/**
|
|
7547
|
+
* The tree item that was dragged.
|
|
7548
|
+
*/
|
|
7549
|
+
dragItem?: object;
|
|
7550
|
+
|
|
7551
|
+
/**
|
|
7552
|
+
* The tree of the tree item that was dragged.
|
|
7553
|
+
*/
|
|
7554
|
+
dragTree?: Tree;
|
|
7555
|
+
|
|
7556
|
+
/**
|
|
7557
|
+
* The tree item that the drop occurred on or null if the item was not dropped on a tree item.
|
|
7558
|
+
*/
|
|
7559
|
+
dropItem?: object;
|
|
7560
|
+
|
|
7561
|
+
/**
|
|
7562
|
+
* The tree that the drop occurred on.
|
|
7563
|
+
*/
|
|
7564
|
+
dropTree?: Tree;
|
|
7565
|
+
}
|
|
7566
|
+
|
|
7567
|
+
export interface $TreeExpandedChangedEventParameters {
|
|
7568
|
+
/**
|
|
7569
|
+
* The tree item associated with the row that was expanded or collapsed.
|
|
7570
|
+
*/
|
|
7571
|
+
item?: object;
|
|
7572
|
+
|
|
7573
|
+
/**
|
|
7574
|
+
* If `true`, the row was expanded, otherwise it was collapsed.
|
|
7575
|
+
*/
|
|
7576
|
+
expanded?: boolean;
|
|
7577
|
+
|
|
7578
|
+
/**
|
|
7579
|
+
* Indicates that the event was fired due to the user clicking an expander.
|
|
7580
|
+
*/
|
|
7581
|
+
userInteraction?: boolean;
|
|
7582
|
+
}
|
|
7583
|
+
|
|
7584
|
+
export interface $TreeFixedColumnsChangedEventParameters {}
|
|
7585
|
+
|
|
7586
|
+
export interface $TreeHierarchyChangedEventParameters {}
|
|
7587
|
+
|
|
7588
|
+
export interface $TreeMessageStatusHeaderIconClickedEventParameters {}
|
|
7589
|
+
|
|
7590
|
+
export interface $TreeMessageStatusIconClickedEventParameters {
|
|
7591
|
+
/**
|
|
7592
|
+
* The associated tree item.
|
|
7593
|
+
*/
|
|
7594
|
+
items?: object;
|
|
7595
|
+
|
|
7596
|
+
/**
|
|
7597
|
+
* The message status icon control that was clicked.
|
|
7598
|
+
*/
|
|
7599
|
+
control?: Control;
|
|
7600
|
+
}
|
|
7601
|
+
|
|
7602
|
+
export interface $TreeModelUpdatedEventParameters {}
|
|
7603
|
+
|
|
7604
|
+
export interface $TreeSelectionChangedEventParameters {
|
|
7605
|
+
/**
|
|
7606
|
+
* The tree items that were added to the selection set for the tree.
|
|
7607
|
+
*/
|
|
7608
|
+
addedItems?: object[];
|
|
7609
|
+
|
|
7610
|
+
/**
|
|
7611
|
+
* The tree items that were removed from the selection set for the tree.
|
|
7612
|
+
*/
|
|
7613
|
+
removedItems?: object[];
|
|
7614
|
+
|
|
7615
|
+
/**
|
|
7616
|
+
* Indicates that the event was fired due to an explicit user interaction
|
|
7617
|
+
*/
|
|
7618
|
+
userInteraction?: boolean;
|
|
7619
|
+
}
|
|
7620
|
+
|
|
7621
|
+
export interface $TreeVisibilityHeaderIconClickedEventParameters {
|
|
7622
|
+
/**
|
|
7623
|
+
* The visibility state of the tree item.
|
|
7624
|
+
*/
|
|
7625
|
+
visibility?: boolean;
|
|
7626
|
+
|
|
7627
|
+
/**
|
|
7628
|
+
* The visibility header icon control that was clicked.
|
|
7629
|
+
*/
|
|
7630
|
+
control?: Control;
|
|
7631
|
+
}
|
|
7632
|
+
|
|
7633
|
+
export interface $TreeVisibilityIconClickedEventParameters {
|
|
7634
|
+
/**
|
|
7635
|
+
* The tree item whose visibility icon was clicked.
|
|
7636
|
+
*/
|
|
7637
|
+
item?: object;
|
|
7638
|
+
|
|
7639
|
+
/**
|
|
7640
|
+
* The visibility state of the tree item.
|
|
7641
|
+
*/
|
|
7642
|
+
visibility?: boolean;
|
|
7643
|
+
|
|
7644
|
+
/**
|
|
7645
|
+
* The visibility icon control that was clicked.
|
|
7646
|
+
*/
|
|
7647
|
+
control?: Control;
|
|
7648
|
+
}
|
|
7518
7649
|
}
|
|
7519
7650
|
|
|
7520
7651
|
declare module "sap/ui/vtm/TreeItemType" {
|
|
@@ -7574,12 +7705,12 @@ declare module "sap/ui/vtm/TreeItemUtilities" {
|
|
|
7574
7705
|
* Controls which child collection to add the child tree item to.
|
|
7575
7706
|
* - {@link sap.ui.vtm.ChildCollectionType.None} - No action is performed.
|
|
7576
7707
|
* - {@link sap.ui.vtm.ChildCollectionType.Included} - The child tree item will be added to the `includedChildren`
|
|
7577
|
-
*
|
|
7708
|
+
* collection of the tree item.
|
|
7578
7709
|
* - {@link sap.ui.vtm.ChildCollectionType.Excluded} - The child tree item will be added to the `excludedChildren`
|
|
7579
|
-
*
|
|
7710
|
+
* collection of the tree item.
|
|
7580
7711
|
* - {@link sap.ui.vtm.ChildCollectionType.IncludedAndExcluded} - Results in an exception being thrown
|
|
7581
|
-
*
|
|
7582
|
-
*
|
|
7712
|
+
* because tree item IDs must be unique in the tree at any given point in time, so a tree item cannot be
|
|
7713
|
+
* added to both collections. The default value is {@link sap.ui.vtm.ChildCollectionType.Included}.
|
|
7583
7714
|
*/
|
|
7584
7715
|
childCollectionType:
|
|
7585
7716
|
| ChildCollectionType
|
|
@@ -7744,11 +7875,11 @@ declare module "sap/ui/vtm/TreeItemUtilities" {
|
|
|
7744
7875
|
* Specifies which child item collections to get children from.
|
|
7745
7876
|
* - {@link sap.ui.vtm.ChildCollectionType.None} - An empty array is returned.
|
|
7746
7877
|
* - {@link sap.ui.vtm.ChildCollectionType.Included} - Gets the items in the `includedChildren` collection
|
|
7747
|
-
*
|
|
7878
|
+
* of the tree item.
|
|
7748
7879
|
* - {@link sap.ui.vtm.ChildCollectionType.Excluded} - Gets the items in the `excludedChildren` collection
|
|
7749
|
-
*
|
|
7880
|
+
* of the tree item.
|
|
7750
7881
|
* - {@link sap.ui.vtm.ChildCollectionType.IncludedAndExcluded} - Gets the items in the `includedChildren`
|
|
7751
|
-
*
|
|
7882
|
+
* and `excludedChildren` collections of the tree item. The default value is {@link sap.ui.vtm.ChildCollectionType.Included}.
|
|
7752
7883
|
*/
|
|
7753
7884
|
childCollectionType:
|
|
7754
7885
|
| ChildCollectionType
|
|
@@ -7864,12 +7995,12 @@ declare module "sap/ui/vtm/TreeItemUtilities" {
|
|
|
7864
7995
|
* The child item collections to check.
|
|
7865
7996
|
* - {@link sap.ui.vtm.ChildCollectionType.None} - Returns `false`.
|
|
7866
7997
|
* - {@link sap.ui.vtm.ChildCollectionType.Included} - Gets whether there are items in the `includedChildren`
|
|
7867
|
-
*
|
|
7998
|
+
* collection of the tree item.
|
|
7868
7999
|
* - {@link sap.ui.vtm.ChildCollectionType.Excluded} - Gets whether there are items in the `excludedChildren`
|
|
7869
|
-
*
|
|
8000
|
+
* collection of the tree item.
|
|
7870
8001
|
* - {@link sap.ui.vtm.ChildCollectionType.IncludedAndExcluded} - Gets whether there are items in either
|
|
7871
|
-
*
|
|
7872
|
-
*
|
|
8002
|
+
* the `includedChildren` collection or the `excludedChildren` collection of the tree item. The default
|
|
8003
|
+
* value is {@link sap.ui.vtm.ChildCollectionType.Included}.
|
|
7873
8004
|
*/
|
|
7874
8005
|
childCollectionType:
|
|
7875
8006
|
| ChildCollectionType
|
|
@@ -7972,11 +8103,11 @@ declare module "sap/ui/vtm/TreeItemUtilities" {
|
|
|
7972
8103
|
* Controls which child collection to remove the child tree item from.
|
|
7973
8104
|
* - {@link sap.ui.vtm.ChildCollectionType.None} - No action is performed.
|
|
7974
8105
|
* - {@link sap.ui.vtm.ChildCollectionType.Included} - The child tree item will be removed from the `includedChildren`
|
|
7975
|
-
*
|
|
8106
|
+
* collection of the tree item.
|
|
7976
8107
|
* - {@link sap.ui.vtm.ChildCollectionType.Excluded} - The child tree item will be removed from the `excludedChildren`
|
|
7977
|
-
*
|
|
8108
|
+
* collection of the tree item.
|
|
7978
8109
|
* - {@link sap.ui.vtm.ChildCollectionType.IncludedAndExcluded} - The child tree item will be removed
|
|
7979
|
-
*
|
|
8110
|
+
* from the `includedChildren` and `excludedChildren` collections of the tree item.
|
|
7980
8111
|
* Note that duplicate tree item ids are not allowed in the tree, so a given tree item should exist in
|
|
7981
8112
|
* at most one of these collections at a given point in time. The default value is {@link sap.ui.vtm.ChildCollectionType.Included}.
|
|
7982
8113
|
*/
|
|
@@ -8072,12 +8203,12 @@ declare module "sap/ui/vtm/TreeItemUtilities" {
|
|
|
8072
8203
|
* Controls which child collection to set on the tree item.
|
|
8073
8204
|
* - {@link sap.ui.vtm.ChildCollectionType.None} - No action is performed.
|
|
8074
8205
|
* - {@link sap.ui.vtm.ChildCollectionType.Included} - The `includedChildren` collection of the tree item
|
|
8075
|
-
*
|
|
8206
|
+
* will be set.
|
|
8076
8207
|
* - {@link sap.ui.vtm.ChildCollectionType.Excluded} - The `excludedChildren` collection of the tree item
|
|
8077
|
-
*
|
|
8208
|
+
* will be set.
|
|
8078
8209
|
* - {@link sap.ui.vtm.ChildCollectionType.IncludedAndExcluded} - Results in an exception being thrown
|
|
8079
|
-
*
|
|
8080
|
-
*
|
|
8210
|
+
* because tree item IDs must be unique in the tree at any given point in time, so a tree item cannot be
|
|
8211
|
+
* added to both collections. The default value is {@link sap.ui.vtm.ChildCollectionType.Included}.
|
|
8081
8212
|
*/
|
|
8082
8213
|
childCollectionType:
|
|
8083
8214
|
| ChildCollectionType
|
|
@@ -8221,7 +8352,7 @@ declare module "sap/ui/vtm/TreeItemUtilities" {
|
|
|
8221
8352
|
* the traversal.
|
|
8222
8353
|
* The second parameter to the callback function is the set of ancestors of the current tree item.
|
|
8223
8354
|
* The function may return a {@link sap.ui.vtm.ChildCollectionType} value to specify which immediate children
|
|
8224
|
-
* to traverse. If no such value is returned a default of {@link sap.ui.vtm.ChildCollectionType.Included}
|
|
8355
|
+
* to traverse. If no such value is returned a default of {@link sap.ui.vtm.ChildCollectionType.Included }
|
|
8225
8356
|
* is used.
|
|
8226
8357
|
*/
|
|
8227
8358
|
callback: Function
|
|
@@ -8268,7 +8399,7 @@ declare module "sap/ui/vtm/Viewable" {
|
|
|
8268
8399
|
*
|
|
8269
8400
|
* A viewable containing 3D content that can be loaded into a {@link sap.ui.vtm.Scene}.
|
|
8270
8401
|
*/
|
|
8271
|
-
|
|
8402
|
+
class Viewable extends UI5Element {
|
|
8272
8403
|
/**
|
|
8273
8404
|
* Constructor for a new Viewable.
|
|
8274
8405
|
*
|
|
@@ -8416,6 +8547,7 @@ declare module "sap/ui/vtm/Viewable" {
|
|
|
8416
8547
|
source: string | File
|
|
8417
8548
|
): Viewable;
|
|
8418
8549
|
}
|
|
8550
|
+
export default Viewable;
|
|
8419
8551
|
|
|
8420
8552
|
export interface $ViewableSettings extends $ElementSettings {
|
|
8421
8553
|
/**
|
|
@@ -8457,11 +8589,11 @@ declare module "sap/ui/vtm/ViewableLoadInfo" {
|
|
|
8457
8589
|
* Contains information about the result of an attempt to download/load a viewable.
|
|
8458
8590
|
*
|
|
8459
8591
|
* The {@link sap.ui.vtm.Scene.downloadCompleted} and {@link sap.ui.vtm.Scene.loadCompleted} events have
|
|
8460
|
-
* a `results` parameter that is passed an array of {@link sap.ui.vtm.ViewableLoadInfo} objects. {@link
|
|
8461
|
-
*
|
|
8462
|
-
*
|
|
8592
|
+
* a `results` parameter that is passed an array of {@link sap.ui.vtm.ViewableLoadInfo} objects. {@link sap.ui.vtm.Scene#getViewableLoadInfos }
|
|
8593
|
+
* also returns a array of {@link sap.ui.vtm.ViewableLoadInfo} objects for all viewables that have been
|
|
8594
|
+
* passed into calls to {@link sap.ui.vtm.Scene#loadViewablesAsync}.
|
|
8463
8595
|
*/
|
|
8464
|
-
|
|
8596
|
+
class ViewableLoadInfo extends UI5Element {
|
|
8465
8597
|
/**
|
|
8466
8598
|
* This class is not intended to be instantiated directly by application code.
|
|
8467
8599
|
*
|
|
@@ -8522,7 +8654,7 @@ declare module "sap/ui/vtm/ViewableLoadInfo" {
|
|
|
8522
8654
|
/**
|
|
8523
8655
|
* Gets current value of property {@link #getStatus status}.
|
|
8524
8656
|
*
|
|
8525
|
-
* The download/load status of the {@link sap.ui.vtm.Viewable} this {@link sap.ui.vtm.ViewableLoadInfo}
|
|
8657
|
+
* The download/load status of the {@link sap.ui.vtm.Viewable} this {@link sap.ui.vtm.ViewableLoadInfo }
|
|
8526
8658
|
* relates to.
|
|
8527
8659
|
*
|
|
8528
8660
|
* @returns Value of property `status`
|
|
@@ -8572,7 +8704,7 @@ declare module "sap/ui/vtm/ViewableLoadInfo" {
|
|
|
8572
8704
|
/**
|
|
8573
8705
|
* Sets a new value for property {@link #getStatus status}.
|
|
8574
8706
|
*
|
|
8575
|
-
* The download/load status of the {@link sap.ui.vtm.Viewable} this {@link sap.ui.vtm.ViewableLoadInfo}
|
|
8707
|
+
* The download/load status of the {@link sap.ui.vtm.Viewable} this {@link sap.ui.vtm.ViewableLoadInfo }
|
|
8576
8708
|
* relates to.
|
|
8577
8709
|
*
|
|
8578
8710
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
@@ -8601,6 +8733,7 @@ declare module "sap/ui/vtm/ViewableLoadInfo" {
|
|
|
8601
8733
|
oViewable: object
|
|
8602
8734
|
): this;
|
|
8603
8735
|
}
|
|
8736
|
+
export default ViewableLoadInfo;
|
|
8604
8737
|
|
|
8605
8738
|
export interface $ViewableLoadInfoSettings extends $ElementSettings {
|
|
8606
8739
|
/**
|
|
@@ -8609,7 +8742,7 @@ declare module "sap/ui/vtm/ViewableLoadInfo" {
|
|
|
8609
8742
|
viewable?: object | PropertyBindingInfo | `{${string}}`;
|
|
8610
8743
|
|
|
8611
8744
|
/**
|
|
8612
|
-
* The download/load status of the {@link sap.ui.vtm.Viewable} this {@link sap.ui.vtm.ViewableLoadInfo}
|
|
8745
|
+
* The download/load status of the {@link sap.ui.vtm.Viewable} this {@link sap.ui.vtm.ViewableLoadInfo }
|
|
8613
8746
|
* relates to.
|
|
8614
8747
|
*/
|
|
8615
8748
|
status?:
|
|
@@ -8692,9 +8825,9 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
8692
8825
|
*
|
|
8693
8826
|
* A control that contains a 3D viewport.
|
|
8694
8827
|
*/
|
|
8695
|
-
|
|
8828
|
+
class Viewport extends Control {
|
|
8696
8829
|
/**
|
|
8697
|
-
* This class is not intended to be instantiated directly by application code. A {@link sap.ui.vtm.Viewport}
|
|
8830
|
+
* This class is not intended to be instantiated directly by application code. A {@link sap.ui.vtm.Viewport }
|
|
8698
8831
|
* object is created when a {@link sap.ui.vtm.Panel} object is instantiated.
|
|
8699
8832
|
*
|
|
8700
8833
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
@@ -8874,7 +9007,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
8874
9007
|
/**
|
|
8875
9008
|
* The function to be called when the event occurs
|
|
8876
9009
|
*/
|
|
8877
|
-
fnFunction: (p1: Event) => void,
|
|
9010
|
+
fnFunction: (p1: Event<$ViewportHoverEventParameters>) => void,
|
|
8878
9011
|
/**
|
|
8879
9012
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Viewport` itself
|
|
8880
9013
|
*/
|
|
@@ -8894,7 +9027,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
8894
9027
|
/**
|
|
8895
9028
|
* The function to be called when the event occurs
|
|
8896
9029
|
*/
|
|
8897
|
-
fnFunction: (p1: Event) => void,
|
|
9030
|
+
fnFunction: (p1: Event<$ViewportHoverEventParameters>) => void,
|
|
8898
9031
|
/**
|
|
8899
9032
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Viewport` itself
|
|
8900
9033
|
*/
|
|
@@ -9014,7 +9147,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9014
9147
|
/**
|
|
9015
9148
|
* The function to be called when the event occurs
|
|
9016
9149
|
*/
|
|
9017
|
-
fnFunction: (p1: Event) => void,
|
|
9150
|
+
fnFunction: (p1: Event<$ViewportSelectionChangedEventParameters>) => void,
|
|
9018
9151
|
/**
|
|
9019
9152
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Viewport` itself
|
|
9020
9153
|
*/
|
|
@@ -9035,7 +9168,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9035
9168
|
/**
|
|
9036
9169
|
* The function to be called when the event occurs
|
|
9037
9170
|
*/
|
|
9038
|
-
fnFunction: (p1: Event) => void,
|
|
9171
|
+
fnFunction: (p1: Event<$ViewportSelectionChangedEventParameters>) => void,
|
|
9039
9172
|
/**
|
|
9040
9173
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Viewport` itself
|
|
9041
9174
|
*/
|
|
@@ -9060,7 +9193,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9060
9193
|
/**
|
|
9061
9194
|
* The function to be called when the event occurs
|
|
9062
9195
|
*/
|
|
9063
|
-
fnFunction: (p1: Event) => void,
|
|
9196
|
+
fnFunction: (p1: Event<$ViewportViewChangedEventParameters>) => void,
|
|
9064
9197
|
/**
|
|
9065
9198
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Viewport` itself
|
|
9066
9199
|
*/
|
|
@@ -9080,7 +9213,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9080
9213
|
/**
|
|
9081
9214
|
* The function to be called when the event occurs
|
|
9082
9215
|
*/
|
|
9083
|
-
fnFunction: (p1: Event) => void,
|
|
9216
|
+
fnFunction: (p1: Event<$ViewportViewChangedEventParameters>) => void,
|
|
9084
9217
|
/**
|
|
9085
9218
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Viewport` itself
|
|
9086
9219
|
*/
|
|
@@ -9106,7 +9239,9 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9106
9239
|
/**
|
|
9107
9240
|
* The function to be called when the event occurs
|
|
9108
9241
|
*/
|
|
9109
|
-
fnFunction: (
|
|
9242
|
+
fnFunction: (
|
|
9243
|
+
p1: Event<$ViewportVisibilityChangedEventParameters>
|
|
9244
|
+
) => void,
|
|
9110
9245
|
/**
|
|
9111
9246
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Viewport` itself
|
|
9112
9247
|
*/
|
|
@@ -9127,7 +9262,9 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9127
9262
|
/**
|
|
9128
9263
|
* The function to be called when the event occurs
|
|
9129
9264
|
*/
|
|
9130
|
-
fnFunction: (
|
|
9265
|
+
fnFunction: (
|
|
9266
|
+
p1: Event<$ViewportVisibilityChangedEventParameters>
|
|
9267
|
+
) => void,
|
|
9131
9268
|
/**
|
|
9132
9269
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Viewport` itself
|
|
9133
9270
|
*/
|
|
@@ -9178,7 +9315,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9178
9315
|
/**
|
|
9179
9316
|
* The function to be called, when the event occurs
|
|
9180
9317
|
*/
|
|
9181
|
-
fnFunction: (p1: Event) => void,
|
|
9318
|
+
fnFunction: (p1: Event<$ViewportHoverEventParameters>) => void,
|
|
9182
9319
|
/**
|
|
9183
9320
|
* Context object on which the given function had to be called
|
|
9184
9321
|
*/
|
|
@@ -9231,7 +9368,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9231
9368
|
/**
|
|
9232
9369
|
* The function to be called, when the event occurs
|
|
9233
9370
|
*/
|
|
9234
|
-
fnFunction: (p1: Event) => void,
|
|
9371
|
+
fnFunction: (p1: Event<$ViewportSelectionChangedEventParameters>) => void,
|
|
9235
9372
|
/**
|
|
9236
9373
|
* Context object on which the given function had to be called
|
|
9237
9374
|
*/
|
|
@@ -9248,7 +9385,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9248
9385
|
/**
|
|
9249
9386
|
* The function to be called, when the event occurs
|
|
9250
9387
|
*/
|
|
9251
|
-
fnFunction: (p1: Event) => void,
|
|
9388
|
+
fnFunction: (p1: Event<$ViewportViewChangedEventParameters>) => void,
|
|
9252
9389
|
/**
|
|
9253
9390
|
* Context object on which the given function had to be called
|
|
9254
9391
|
*/
|
|
@@ -9266,7 +9403,9 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9266
9403
|
/**
|
|
9267
9404
|
* The function to be called, when the event occurs
|
|
9268
9405
|
*/
|
|
9269
|
-
fnFunction: (
|
|
9406
|
+
fnFunction: (
|
|
9407
|
+
p1: Event<$ViewportVisibilityChangedEventParameters>
|
|
9408
|
+
) => void,
|
|
9270
9409
|
/**
|
|
9271
9410
|
* Context object on which the given function had to be called
|
|
9272
9411
|
*/
|
|
@@ -9309,20 +9448,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9309
9448
|
/**
|
|
9310
9449
|
* Parameters to pass along with the event
|
|
9311
9450
|
*/
|
|
9312
|
-
mParameters?:
|
|
9313
|
-
/**
|
|
9314
|
-
* Mouse X-coordinate within viewport
|
|
9315
|
-
*/
|
|
9316
|
-
x?: float;
|
|
9317
|
-
/**
|
|
9318
|
-
* Mouse Y-coordinate within viewport
|
|
9319
|
-
*/
|
|
9320
|
-
y?: float;
|
|
9321
|
-
/**
|
|
9322
|
-
* The ID of the node that is under the viewport coordinates (x, y).
|
|
9323
|
-
*/
|
|
9324
|
-
nodeId?: string;
|
|
9325
|
-
}
|
|
9451
|
+
mParameters?: $ViewportHoverEventParameters
|
|
9326
9452
|
): this;
|
|
9327
9453
|
/**
|
|
9328
9454
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -9361,20 +9487,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9361
9487
|
/**
|
|
9362
9488
|
* Parameters to pass along with the event
|
|
9363
9489
|
*/
|
|
9364
|
-
mParameters?:
|
|
9365
|
-
/**
|
|
9366
|
-
* IDs of newly selected nodes.
|
|
9367
|
-
*/
|
|
9368
|
-
selectedIds?: string[];
|
|
9369
|
-
/**
|
|
9370
|
-
* IDs of newly unselected nodes.
|
|
9371
|
-
*/
|
|
9372
|
-
unselectedIds?: string[];
|
|
9373
|
-
/**
|
|
9374
|
-
* `true` if this event is raised as a result of a user clicking in the viewport.
|
|
9375
|
-
*/
|
|
9376
|
-
userInteraction?: boolean;
|
|
9377
|
-
}
|
|
9490
|
+
mParameters?: $ViewportSelectionChangedEventParameters
|
|
9378
9491
|
): this;
|
|
9379
9492
|
/**
|
|
9380
9493
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -9387,13 +9500,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9387
9500
|
/**
|
|
9388
9501
|
* Parameters to pass along with the event
|
|
9389
9502
|
*/
|
|
9390
|
-
mParameters?:
|
|
9391
|
-
/**
|
|
9392
|
-
* Information about the current camera view. Can be passed to {@link sap.ui.vk.dvl.Viewport#setCameraInfo
|
|
9393
|
-
* setCameraInfo}.
|
|
9394
|
-
*/
|
|
9395
|
-
cameraInfo?: object;
|
|
9396
|
-
}
|
|
9503
|
+
mParameters?: $ViewportViewChangedEventParameters
|
|
9397
9504
|
): this;
|
|
9398
9505
|
/**
|
|
9399
9506
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -9406,20 +9513,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9406
9513
|
/**
|
|
9407
9514
|
* Parameters to pass along with the event
|
|
9408
9515
|
*/
|
|
9409
|
-
mParameters?:
|
|
9410
|
-
/**
|
|
9411
|
-
* The IDs of newly shown nodes.
|
|
9412
|
-
*/
|
|
9413
|
-
visibleIds?: string[];
|
|
9414
|
-
/**
|
|
9415
|
-
* The IDs of newly hidden nodes.
|
|
9416
|
-
*/
|
|
9417
|
-
hiddenIds?: string[];
|
|
9418
|
-
/**
|
|
9419
|
-
* `true` if this event is raised as a result of a user clicking in the viewport.
|
|
9420
|
-
*/
|
|
9421
|
-
userInteraction?: boolean;
|
|
9422
|
-
}
|
|
9516
|
+
mParameters?: $ViewportVisibilityChangedEventParameters
|
|
9423
9517
|
): this;
|
|
9424
9518
|
/**
|
|
9425
9519
|
* Gets current value of property {@link #getBackgroundGradientBottomColor backgroundGradientBottomColor}.
|
|
@@ -9466,8 +9560,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9466
9560
|
*/
|
|
9467
9561
|
getContextDisplayGroups(): object[];
|
|
9468
9562
|
/**
|
|
9469
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getHeaderControls
|
|
9470
|
-
* headerControls}.
|
|
9563
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getHeaderControls headerControls}.
|
|
9471
9564
|
*/
|
|
9472
9565
|
getHeaderControls(): ID[];
|
|
9473
9566
|
/**
|
|
@@ -9652,8 +9745,8 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9652
9745
|
/**
|
|
9653
9746
|
* Sets the highlight color for a set of scene nodes in this viewport.
|
|
9654
9747
|
*
|
|
9655
|
-
* This method should not be called by application code when an extension implementing {@link sap.ui.vtm.interfaces.IDisplayStateCalculationExtension}
|
|
9656
|
-
* is being used. In that case the extension implementing {@link sap.ui.vtm.interfaces.IDisplayStateCalculationExtension}
|
|
9748
|
+
* This method should not be called by application code when an extension implementing {@link sap.ui.vtm.interfaces.IDisplayStateCalculationExtension }
|
|
9749
|
+
* is being used. In that case the extension implementing {@link sap.ui.vtm.interfaces.IDisplayStateCalculationExtension }
|
|
9657
9750
|
* should perform all management of scene node visibility in the viewports.
|
|
9658
9751
|
*
|
|
9659
9752
|
* @returns `this` for method chaining.
|
|
@@ -9678,8 +9771,8 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9678
9771
|
* Sets the opacity for a set of scene nodes in this viewport. Opacity is specified as a floating point
|
|
9679
9772
|
* value in the interval [0,1].
|
|
9680
9773
|
*
|
|
9681
|
-
* This method should not be called by application code when an extension implementing {@link sap.ui.vtm.interfaces.IDisplayStateCalculationExtension}
|
|
9682
|
-
* is being used. In that case the extension implementing {@link sap.ui.vtm.interfaces.IDisplayStateCalculationExtension}
|
|
9774
|
+
* This method should not be called by application code when an extension implementing {@link sap.ui.vtm.interfaces.IDisplayStateCalculationExtension }
|
|
9775
|
+
* is being used. In that case the extension implementing {@link sap.ui.vtm.interfaces.IDisplayStateCalculationExtension }
|
|
9683
9776
|
* should perform all management of scene node visibility in the viewports.
|
|
9684
9777
|
*
|
|
9685
9778
|
* @returns `this` for method chaining.
|
|
@@ -9735,8 +9828,8 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9735
9828
|
/**
|
|
9736
9829
|
* Sets the selection state for a set of scene nodes in this viewport.
|
|
9737
9830
|
*
|
|
9738
|
-
* This method should not be called by application code when an extension implementing {@link sap.ui.vtm.interfaces.IViewportSelectionLinkingExtension}
|
|
9739
|
-
* is being used. In that case the extension implementing {@link sap.ui.vtm.interfaces.IViewportSelectionLinkingExtension}
|
|
9831
|
+
* This method should not be called by application code when an extension implementing {@link sap.ui.vtm.interfaces.IViewportSelectionLinkingExtension }
|
|
9832
|
+
* is being used. In that case the extension implementing {@link sap.ui.vtm.interfaces.IViewportSelectionLinkingExtension }
|
|
9740
9833
|
* should perform all management of scene node selection in the viewports.
|
|
9741
9834
|
*
|
|
9742
9835
|
* @returns `this` for method chaining.
|
|
@@ -9758,8 +9851,8 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9758
9851
|
/**
|
|
9759
9852
|
* Sets the visibility state for a set of scene nodes in this viewport.
|
|
9760
9853
|
*
|
|
9761
|
-
* This method should not be called by application code when an extension implementing {@link sap.ui.vtm.interfaces.IDisplayStateCalculationExtension}
|
|
9762
|
-
* is being used. In that case the extension implementing {@link sap.ui.vtm.interfaces.IDisplayStateCalculationExtension}
|
|
9854
|
+
* This method should not be called by application code when an extension implementing {@link sap.ui.vtm.interfaces.IDisplayStateCalculationExtension }
|
|
9855
|
+
* is being used. In that case the extension implementing {@link sap.ui.vtm.interfaces.IDisplayStateCalculationExtension }
|
|
9763
9856
|
* should perform all management of scene node visibility in the viewports.
|
|
9764
9857
|
*
|
|
9765
9858
|
* @returns `this` for method chaining.
|
|
@@ -9826,6 +9919,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9826
9919
|
durationInSeconds: number
|
|
9827
9920
|
): Viewport;
|
|
9828
9921
|
}
|
|
9922
|
+
export default Viewport;
|
|
9829
9923
|
|
|
9830
9924
|
export interface $ViewportSettings extends $ControlSettings {
|
|
9831
9925
|
/**
|
|
@@ -9870,7 +9964,9 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9870
9964
|
/**
|
|
9871
9965
|
* Raised when the selection is changed due to a click in the viewport (either on a node or in empty space).
|
|
9872
9966
|
*/
|
|
9873
|
-
selectionChanged?: (
|
|
9967
|
+
selectionChanged?: (
|
|
9968
|
+
oEvent: Event<$ViewportSelectionChangedEventParameters>
|
|
9969
|
+
) => void;
|
|
9874
9970
|
|
|
9875
9971
|
/**
|
|
9876
9972
|
* Raised when a node in the viewport is clicked.
|
|
@@ -9880,12 +9976,14 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9880
9976
|
/**
|
|
9881
9977
|
* Raised when the visibility of scene nodes changed in the viewport.
|
|
9882
9978
|
*/
|
|
9883
|
-
visibilityChanged?: (
|
|
9979
|
+
visibilityChanged?: (
|
|
9980
|
+
oEvent: Event<$ViewportVisibilityChangedEventParameters>
|
|
9981
|
+
) => void;
|
|
9884
9982
|
|
|
9885
9983
|
/**
|
|
9886
9984
|
* Raised when viewport's camera view changed.
|
|
9887
9985
|
*/
|
|
9888
|
-
viewChanged?: (oEvent: Event) => void;
|
|
9986
|
+
viewChanged?: (oEvent: Event<$ViewportViewChangedEventParameters>) => void;
|
|
9889
9987
|
|
|
9890
9988
|
/**
|
|
9891
9989
|
* Raised when {@link sap.ui.vk.dvl.Viewport#refresh refresh} is called. This event can be used by code
|
|
@@ -9896,7 +9994,7 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9896
9994
|
/**
|
|
9897
9995
|
* Raised on mouse move over viewport.
|
|
9898
9996
|
*/
|
|
9899
|
-
hover?: (oEvent: Event) => void;
|
|
9997
|
+
hover?: (oEvent: Event<$ViewportHoverEventParameters>) => void;
|
|
9900
9998
|
|
|
9901
9999
|
/**
|
|
9902
10000
|
* Raised when a gesture begins.
|
|
@@ -9908,6 +10006,72 @@ declare module "sap/ui/vtm/Viewport" {
|
|
|
9908
10006
|
*/
|
|
9909
10007
|
endGesture?: (oEvent: Event) => void;
|
|
9910
10008
|
}
|
|
10009
|
+
|
|
10010
|
+
export interface $ViewportBeginGestureEventParameters {}
|
|
10011
|
+
|
|
10012
|
+
export interface $ViewportEndGestureEventParameters {}
|
|
10013
|
+
|
|
10014
|
+
export interface $ViewportHoverEventParameters {
|
|
10015
|
+
/**
|
|
10016
|
+
* Mouse X-coordinate within viewport
|
|
10017
|
+
*/
|
|
10018
|
+
x?: float;
|
|
10019
|
+
|
|
10020
|
+
/**
|
|
10021
|
+
* Mouse Y-coordinate within viewport
|
|
10022
|
+
*/
|
|
10023
|
+
y?: float;
|
|
10024
|
+
|
|
10025
|
+
/**
|
|
10026
|
+
* The ID of the node that is under the viewport coordinates (x, y).
|
|
10027
|
+
*/
|
|
10028
|
+
nodeId?: string;
|
|
10029
|
+
}
|
|
10030
|
+
|
|
10031
|
+
export interface $ViewportNodeClickedEventParameters {}
|
|
10032
|
+
|
|
10033
|
+
export interface $ViewportRefreshRequestedEventParameters {}
|
|
10034
|
+
|
|
10035
|
+
export interface $ViewportSelectionChangedEventParameters {
|
|
10036
|
+
/**
|
|
10037
|
+
* IDs of newly selected nodes.
|
|
10038
|
+
*/
|
|
10039
|
+
selectedIds?: string[];
|
|
10040
|
+
|
|
10041
|
+
/**
|
|
10042
|
+
* IDs of newly unselected nodes.
|
|
10043
|
+
*/
|
|
10044
|
+
unselectedIds?: string[];
|
|
10045
|
+
|
|
10046
|
+
/**
|
|
10047
|
+
* `true` if this event is raised as a result of a user clicking in the viewport.
|
|
10048
|
+
*/
|
|
10049
|
+
userInteraction?: boolean;
|
|
10050
|
+
}
|
|
10051
|
+
|
|
10052
|
+
export interface $ViewportViewChangedEventParameters {
|
|
10053
|
+
/**
|
|
10054
|
+
* Information about the current camera view. Can be passed to {@link sap.ui.vk.dvl.Viewport#setCameraInfo setCameraInfo}.
|
|
10055
|
+
*/
|
|
10056
|
+
cameraInfo?: object;
|
|
10057
|
+
}
|
|
10058
|
+
|
|
10059
|
+
export interface $ViewportVisibilityChangedEventParameters {
|
|
10060
|
+
/**
|
|
10061
|
+
* The IDs of newly shown nodes.
|
|
10062
|
+
*/
|
|
10063
|
+
visibleIds?: string[];
|
|
10064
|
+
|
|
10065
|
+
/**
|
|
10066
|
+
* The IDs of newly hidden nodes.
|
|
10067
|
+
*/
|
|
10068
|
+
hiddenIds?: string[];
|
|
10069
|
+
|
|
10070
|
+
/**
|
|
10071
|
+
* `true` if this event is raised as a result of a user clicking in the viewport.
|
|
10072
|
+
*/
|
|
10073
|
+
userInteraction?: boolean;
|
|
10074
|
+
}
|
|
9911
10075
|
}
|
|
9912
10076
|
|
|
9913
10077
|
declare module "sap/ui/vtm/Vtm" {
|
|
@@ -9934,9 +10098,9 @@ declare module "sap/ui/vtm/Vtm" {
|
|
|
9934
10098
|
*
|
|
9935
10099
|
* The main entry point for constructing VTM controls.
|
|
9936
10100
|
*/
|
|
9937
|
-
|
|
10101
|
+
class Vtm extends UI5Element {
|
|
9938
10102
|
/**
|
|
9939
|
-
* Constructor for a new Vtm. This constructor can be used to construct an instance of {@link sap.ui.vtm.Vtm}
|
|
10103
|
+
* Constructor for a new Vtm. This constructor can be used to construct an instance of {@link sap.ui.vtm.Vtm }
|
|
9940
10104
|
* with a specific set of extensions. Alternatively {@link sap.ui.vtm.createVtm} can be used to create a
|
|
9941
10105
|
* {@link sap.ui.vtm.Vtm} instance with a default set of extensions.
|
|
9942
10106
|
*
|
|
@@ -10115,7 +10279,7 @@ declare module "sap/ui/vtm/Vtm" {
|
|
|
10115
10279
|
/**
|
|
10116
10280
|
* The function to be called when the event occurs
|
|
10117
10281
|
*/
|
|
10118
|
-
fnFunction: (p1: Event) => void,
|
|
10282
|
+
fnFunction: (p1: Event<$VtmPanelAddedEventParameters>) => void,
|
|
10119
10283
|
/**
|
|
10120
10284
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Vtm` itself
|
|
10121
10285
|
*/
|
|
@@ -10135,7 +10299,7 @@ declare module "sap/ui/vtm/Vtm" {
|
|
|
10135
10299
|
/**
|
|
10136
10300
|
* The function to be called when the event occurs
|
|
10137
10301
|
*/
|
|
10138
|
-
fnFunction: (p1: Event) => void,
|
|
10302
|
+
fnFunction: (p1: Event<$VtmPanelAddedEventParameters>) => void,
|
|
10139
10303
|
/**
|
|
10140
10304
|
* Context object to call the event handler with. Defaults to this `sap.ui.vtm.Vtm` itself
|
|
10141
10305
|
*/
|
|
@@ -10208,7 +10372,7 @@ declare module "sap/ui/vtm/Vtm" {
|
|
|
10208
10372
|
/**
|
|
10209
10373
|
* The function to be called, when the event occurs
|
|
10210
10374
|
*/
|
|
10211
|
-
fnFunction: (p1: Event) => void,
|
|
10375
|
+
fnFunction: (p1: Event<$VtmPanelAddedEventParameters>) => void,
|
|
10212
10376
|
/**
|
|
10213
10377
|
* Context object on which the given function had to be called
|
|
10214
10378
|
*/
|
|
@@ -10251,9 +10415,7 @@ declare module "sap/ui/vtm/Vtm" {
|
|
|
10251
10415
|
/**
|
|
10252
10416
|
* Parameters to pass along with the event
|
|
10253
10417
|
*/
|
|
10254
|
-
mParameters?:
|
|
10255
|
-
panel?: Panel;
|
|
10256
|
-
}
|
|
10418
|
+
mParameters?: $VtmPanelAddedEventParameters
|
|
10257
10419
|
): this;
|
|
10258
10420
|
/**
|
|
10259
10421
|
* Gets the active panel.
|
|
@@ -10422,6 +10584,7 @@ declare module "sap/ui/vtm/Vtm" {
|
|
|
10422
10584
|
bAddDefaultExtensions: boolean
|
|
10423
10585
|
): this;
|
|
10424
10586
|
}
|
|
10587
|
+
export default Vtm;
|
|
10425
10588
|
|
|
10426
10589
|
export interface $VtmSettings extends $ElementSettings {
|
|
10427
10590
|
/**
|
|
@@ -10442,7 +10605,7 @@ declare module "sap/ui/vtm/Vtm" {
|
|
|
10442
10605
|
/**
|
|
10443
10606
|
* Raised when a panel has been added.
|
|
10444
10607
|
*/
|
|
10445
|
-
panelAdded?: (oEvent: Event) => void;
|
|
10608
|
+
panelAdded?: (oEvent: Event<$VtmPanelAddedEventParameters>) => void;
|
|
10446
10609
|
|
|
10447
10610
|
/**
|
|
10448
10611
|
* Raised when the active panel has changed.
|
|
@@ -10458,6 +10621,14 @@ declare module "sap/ui/vtm/Vtm" {
|
|
|
10458
10621
|
*/
|
|
10459
10622
|
initialized?: (oEvent: Event) => void;
|
|
10460
10623
|
}
|
|
10624
|
+
|
|
10625
|
+
export interface $VtmActivePanelChangedEventParameters {}
|
|
10626
|
+
|
|
10627
|
+
export interface $VtmInitializedEventParameters {}
|
|
10628
|
+
|
|
10629
|
+
export interface $VtmPanelAddedEventParameters {
|
|
10630
|
+
panel?: Panel;
|
|
10631
|
+
}
|
|
10461
10632
|
}
|
|
10462
10633
|
|
|
10463
10634
|
declare namespace sap {
|