@openui5/ts-types 1.115.1 → 1.117.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.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.115.1
1
+ // For Library Version: 1.117.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -134,9 +134,7 @@ declare namespace sap {
134
134
  /**
135
135
  * Fired when an item is selected.
136
136
  */
137
- itemSelect?: (
138
- oEvent: sap.ui.base.Event<sap.tnt.NavigationList$ItemSelectEventParameters>
139
- ) => void;
137
+ itemSelect?: (oEvent: NavigationList$ItemSelectEvent) => void;
140
138
  }
141
139
 
142
140
  interface $NavigationListItemSettings extends sap.ui.core.$ItemSettings {
@@ -174,6 +172,18 @@ declare namespace sap {
174
172
  | sap.ui.base.ManagedObject.PropertyBindingInfo
175
173
  | `{${string}}`;
176
174
 
175
+ /**
176
+ * @since 1.116
177
+ * @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
178
+ * may be done before its official public release.
179
+ *
180
+ * Specifies if the item can be selected.
181
+ */
182
+ selectable?:
183
+ | boolean
184
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
185
+ | `{${string}}`;
186
+
177
187
  /**
178
188
  * Defines the link target URI. Supports standard hyperlink behavior. If a JavaScript action should be triggered,
179
189
  * this should not be set, but instead an event handler for the `select` event should be registered.
@@ -204,9 +214,7 @@ declare namespace sap {
204
214
  /**
205
215
  * Fired when this item is selected.
206
216
  */
207
- select?: (
208
- oEvent: sap.ui.base.Event<sap.tnt.NavigationListItem$SelectEventParameters>
209
- ) => void;
217
+ select?: (oEvent: NavigationListItem$SelectEvent) => void;
210
218
  }
211
219
 
212
220
  interface $SideNavigationSettings extends sap.ui.core.$ControlSettings {
@@ -257,9 +265,7 @@ declare namespace sap {
257
265
  /**
258
266
  * Fired when an item is selected.
259
267
  */
260
- itemSelect?: (
261
- oEvent: sap.ui.base.Event<sap.tnt.SideNavigation$ItemSelectEventParameters>
262
- ) => void;
268
+ itemSelect?: (oEvent: SideNavigation$ItemSelectEvent) => void;
263
269
  }
264
270
 
265
271
  interface $ToolHeaderSettings extends sap.m.$OverflowToolbarSettings {}
@@ -1227,6 +1233,20 @@ declare namespace sap {
1227
1233
  * The sub items.
1228
1234
  */
1229
1235
  getItems(): sap.tnt.NavigationListItem[];
1236
+ /**
1237
+ * @since 1.116
1238
+ * @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
1239
+ * may be done before its official public release.
1240
+ *
1241
+ * Gets current value of property {@link #getSelectable selectable}.
1242
+ *
1243
+ * Specifies if the item can be selected.
1244
+ *
1245
+ * Default value is `true`.
1246
+ *
1247
+ * @returns Value of property `selectable`
1248
+ */
1249
+ getSelectable(): boolean;
1230
1250
  /**
1231
1251
  * Gets current value of property {@link #getTarget target}.
1232
1252
  *
@@ -1366,6 +1386,27 @@ declare namespace sap {
1366
1386
  */
1367
1387
  sIcon?: sap.ui.core.URI
1368
1388
  ): this;
1389
+ /**
1390
+ * @since 1.116
1391
+ * @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
1392
+ * may be done before its official public release.
1393
+ *
1394
+ * Sets a new value for property {@link #getSelectable selectable}.
1395
+ *
1396
+ * Specifies if the item can be selected.
1397
+ *
1398
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1399
+ *
1400
+ * Default value is `true`.
1401
+ *
1402
+ * @returns Reference to `this` in order to allow method chaining
1403
+ */
1404
+ setSelectable(
1405
+ /**
1406
+ * New value for property `selectable`
1407
+ */
1408
+ bSelectable?: boolean
1409
+ ): this;
1369
1410
  /**
1370
1411
  * Sets a new value for property {@link #getTarget target}.
1371
1412
  *
@@ -1421,8 +1462,6 @@ declare namespace sap {
1421
1462
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
1422
1463
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1423
1464
  * of the syntax of the settings object.
1424
- * See:
1425
- * {@link fiori:https://experience.sap.com/fiori-design-web/side-navigation/ Side Navigation}
1426
1465
  */
1427
1466
  constructor(
1428
1467
  /**
@@ -1436,8 +1475,6 @@ declare namespace sap {
1436
1475
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
1437
1476
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1438
1477
  * of the syntax of the settings object.
1439
- * See:
1440
- * {@link fiori:https://experience.sap.com/fiori-design-web/side-navigation/ Side Navigation}
1441
1478
  */
1442
1479
  constructor(
1443
1480
  /**
@@ -1782,8 +1819,6 @@ declare namespace sap {
1782
1819
  *
1783
1820
  * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.OverflowToolbar#constructor sap.m.OverflowToolbar }
1784
1821
  * can be used.
1785
- * See:
1786
- * {@link fiori:https://experience.sap.com/fiori-design-web/tool-header/ Tool Header}
1787
1822
  */
1788
1823
  constructor(
1789
1824
  /**
@@ -1800,8 +1835,6 @@ declare namespace sap {
1800
1835
  *
1801
1836
  * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.OverflowToolbar#constructor sap.m.OverflowToolbar }
1802
1837
  * can be used.
1803
- * See:
1804
- * {@link fiori:https://experience.sap.com/fiori-design-web/tool-header/ Tool Header}
1805
1838
  */
1806
1839
  constructor(
1807
1840
  /**
@@ -2207,17 +2240,20 @@ declare namespace sap {
2207
2240
  Narrow = "Narrow",
2208
2241
  }
2209
2242
 
2210
- type NavigationList$ItemSelectEvent = sap.ui.base.Event<NavigationList$ItemSelectEventParameters>;
2243
+ type NavigationList$ItemSelectEvent = sap.ui.base.Event<
2244
+ NavigationList$ItemSelectEventParameters,
2245
+ NavigationList
2246
+ >;
2211
2247
 
2212
- type NavigationListItem$SelectEvent = sap.ui.base.Event<NavigationListItem$SelectEventParameters>;
2213
-
2214
- /**
2215
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'SideNavigation$ItemSelectEventParameters'
2216
- * in 1.115.1 and any later releases.
2217
- */
2218
- type $SideNavigationItemSelectEventParameters = sap.tnt.SideNavigation$ItemSelectEventParameters;
2248
+ type NavigationListItem$SelectEvent = sap.ui.base.Event<
2249
+ NavigationListItem$SelectEventParameters,
2250
+ NavigationListItem
2251
+ >;
2219
2252
 
2220
- type SideNavigation$ItemSelectEvent = sap.ui.base.Event<SideNavigation$ItemSelectEventParameters>;
2253
+ type SideNavigation$ItemSelectEvent = sap.ui.base.Event<
2254
+ SideNavigation$ItemSelectEventParameters,
2255
+ SideNavigation
2256
+ >;
2221
2257
  }
2222
2258
 
2223
2259
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.115.1
1
+ // For Library Version: 1.117.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -106,16 +106,12 @@ declare namespace sap {
106
106
  /**
107
107
  * Fired when the value is changed by user interaction - each keystroke, delete, paste, etc.
108
108
  */
109
- liveChange?: (
110
- oEvent: sap.ui.base.Event<sap.ui.codeeditor.CodeEditor$LiveChangeEventParameters>
111
- ) => void;
109
+ liveChange?: (oEvent: CodeEditor$LiveChangeEvent) => void;
112
110
 
113
111
  /**
114
112
  * Fired when the value has changed and the focus leaves the code editor.
115
113
  */
116
- change?: (
117
- oEvent: sap.ui.base.Event<sap.ui.codeeditor.CodeEditor$ChangeEventParameters>
118
- ) => void;
114
+ change?: (oEvent: CodeEditor$ChangeEvent) => void;
119
115
  }
120
116
 
121
117
  interface CodeEditor$ChangeEventParameters {
@@ -709,21 +705,15 @@ declare namespace sap {
709
705
  ): this;
710
706
  }
711
707
 
712
- /**
713
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'CodeEditor$ChangeEventParameters'
714
- * in 1.115.1 and any later releases.
715
- */
716
- type $CodeEditorChangeEventParameters = sap.ui.codeeditor.CodeEditor$ChangeEventParameters;
717
-
718
- type CodeEditor$ChangeEvent = sap.ui.base.Event<CodeEditor$ChangeEventParameters>;
719
-
720
- /**
721
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'CodeEditor$LiveChangeEventParameters'
722
- * in 1.115.1 and any later releases.
723
- */
724
- type $CodeEditorLiveChangeEventParameters = sap.ui.codeeditor.CodeEditor$LiveChangeEventParameters;
708
+ type CodeEditor$ChangeEvent = sap.ui.base.Event<
709
+ CodeEditor$ChangeEventParameters,
710
+ CodeEditor
711
+ >;
725
712
 
726
- type CodeEditor$LiveChangeEvent = sap.ui.base.Event<CodeEditor$LiveChangeEventParameters>;
713
+ type CodeEditor$LiveChangeEvent = sap.ui.base.Event<
714
+ CodeEditor$LiveChangeEventParameters,
715
+ CodeEditor
716
+ >;
727
717
  }
728
718
  }
729
719