@openui5/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 module "sap/tnt/library" {
4
4
  /**
@@ -423,10 +423,10 @@ declare module "sap/tnt/NavigationList" {
423
423
  AggregationBindingInfo,
424
424
  } from "sap/ui/base/ManagedObject";
425
425
 
426
- import Event from "sap/ui/base/Event";
427
-
428
426
  import Item from "sap/ui/core/Item";
429
427
 
428
+ import Event from "sap/ui/base/Event";
429
+
430
430
  /**
431
431
  * @since 1.34
432
432
  *
@@ -841,9 +841,7 @@ declare module "sap/tnt/NavigationList" {
841
841
  /**
842
842
  * Fired when an item is selected.
843
843
  */
844
- itemSelect?: (
845
- oEvent: Event<NavigationList$ItemSelectEventParameters>
846
- ) => void;
844
+ itemSelect?: (oEvent: NavigationList$ItemSelectEvent) => void;
847
845
  }
848
846
 
849
847
  export interface NavigationList$ItemSelectEventParameters {
@@ -853,7 +851,10 @@ declare module "sap/tnt/NavigationList" {
853
851
  item?: Item;
854
852
  }
855
853
 
856
- export type NavigationList$ItemSelectEvent = Event<NavigationList$ItemSelectEventParameters>;
854
+ export type NavigationList$ItemSelectEvent = Event<
855
+ NavigationList$ItemSelectEventParameters,
856
+ NavigationList
857
+ >;
857
858
  }
858
859
 
859
860
  declare module "sap/tnt/NavigationListItem" {
@@ -1082,6 +1083,20 @@ declare module "sap/tnt/NavigationListItem" {
1082
1083
  * The sub items.
1083
1084
  */
1084
1085
  getItems(): NavigationListItem[];
1086
+ /**
1087
+ * @since 1.116
1088
+ * @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
1089
+ * may be done before its official public release.
1090
+ *
1091
+ * Gets current value of property {@link #getSelectable selectable}.
1092
+ *
1093
+ * Specifies if the item can be selected.
1094
+ *
1095
+ * Default value is `true`.
1096
+ *
1097
+ * @returns Value of property `selectable`
1098
+ */
1099
+ getSelectable(): boolean;
1085
1100
  /**
1086
1101
  * Gets current value of property {@link #getTarget target}.
1087
1102
  *
@@ -1221,6 +1236,27 @@ declare module "sap/tnt/NavigationListItem" {
1221
1236
  */
1222
1237
  sIcon?: URI
1223
1238
  ): this;
1239
+ /**
1240
+ * @since 1.116
1241
+ * @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
1242
+ * may be done before its official public release.
1243
+ *
1244
+ * Sets a new value for property {@link #getSelectable selectable}.
1245
+ *
1246
+ * Specifies if the item can be selected.
1247
+ *
1248
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1249
+ *
1250
+ * Default value is `true`.
1251
+ *
1252
+ * @returns Reference to `this` in order to allow method chaining
1253
+ */
1254
+ setSelectable(
1255
+ /**
1256
+ * New value for property `selectable`
1257
+ */
1258
+ bSelectable?: boolean
1259
+ ): this;
1224
1260
  /**
1225
1261
  * Sets a new value for property {@link #getTarget target}.
1226
1262
  *
@@ -1284,6 +1320,15 @@ declare module "sap/tnt/NavigationListItem" {
1284
1320
  */
1285
1321
  visible?: boolean | PropertyBindingInfo | `{${string}}`;
1286
1322
 
1323
+ /**
1324
+ * @since 1.116
1325
+ * @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
1326
+ * may be done before its official public release.
1327
+ *
1328
+ * Specifies if the item can be selected.
1329
+ */
1330
+ selectable?: boolean | PropertyBindingInfo | `{${string}}`;
1331
+
1287
1332
  /**
1288
1333
  * Defines the link target URI. Supports standard hyperlink behavior. If a JavaScript action should be triggered,
1289
1334
  * this should not be set, but instead an event handler for the `select` event should be registered.
@@ -1311,7 +1356,7 @@ declare module "sap/tnt/NavigationListItem" {
1311
1356
  /**
1312
1357
  * Fired when this item is selected.
1313
1358
  */
1314
- select?: (oEvent: Event<NavigationListItem$SelectEventParameters>) => void;
1359
+ select?: (oEvent: NavigationListItem$SelectEvent) => void;
1315
1360
  }
1316
1361
 
1317
1362
  export interface NavigationListItem$SelectEventParameters {
@@ -1321,7 +1366,10 @@ declare module "sap/tnt/NavigationListItem" {
1321
1366
  item?: Item;
1322
1367
  }
1323
1368
 
1324
- export type NavigationListItem$SelectEvent = Event<NavigationListItem$SelectEventParameters>;
1369
+ export type NavigationListItem$SelectEvent = Event<
1370
+ NavigationListItem$SelectEventParameters,
1371
+ NavigationListItem
1372
+ >;
1325
1373
  }
1326
1374
 
1327
1375
  declare module "sap/tnt/SideNavigation" {
@@ -1340,10 +1388,10 @@ declare module "sap/tnt/SideNavigation" {
1340
1388
 
1341
1389
  import NavigationListItem from "sap/tnt/NavigationListItem";
1342
1390
 
1343
- import Event from "sap/ui/base/Event";
1344
-
1345
1391
  import Item from "sap/ui/core/Item";
1346
1392
 
1393
+ import Event from "sap/ui/base/Event";
1394
+
1347
1395
  /**
1348
1396
  * @since 1.34
1349
1397
  *
@@ -1360,8 +1408,6 @@ declare module "sap/tnt/SideNavigation" {
1360
1408
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
1361
1409
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1362
1410
  * of the syntax of the settings object.
1363
- * See:
1364
- * {@link fiori:https://experience.sap.com/fiori-design-web/side-navigation/ Side Navigation}
1365
1411
  */
1366
1412
  constructor(
1367
1413
  /**
@@ -1375,8 +1421,6 @@ declare module "sap/tnt/SideNavigation" {
1375
1421
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
1376
1422
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1377
1423
  * of the syntax of the settings object.
1378
- * See:
1379
- * {@link fiori:https://experience.sap.com/fiori-design-web/side-navigation/ Side Navigation}
1380
1424
  */
1381
1425
  constructor(
1382
1426
  /**
@@ -1716,9 +1760,7 @@ declare module "sap/tnt/SideNavigation" {
1716
1760
  /**
1717
1761
  * Fired when an item is selected.
1718
1762
  */
1719
- itemSelect?: (
1720
- oEvent: Event<SideNavigation$ItemSelectEventParameters>
1721
- ) => void;
1763
+ itemSelect?: (oEvent: SideNavigation$ItemSelectEvent) => void;
1722
1764
  }
1723
1765
 
1724
1766
  export interface SideNavigation$ItemSelectEventParameters {
@@ -1728,13 +1770,10 @@ declare module "sap/tnt/SideNavigation" {
1728
1770
  item?: Item;
1729
1771
  }
1730
1772
 
1731
- /**
1732
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'SideNavigation$ItemSelectEventParameters'
1733
- * in 1.115.1 and any later releases.
1734
- */
1735
- export type $SideNavigationItemSelectEventParameters = SideNavigation$ItemSelectEventParameters;
1736
-
1737
- export type SideNavigation$ItemSelectEvent = Event<SideNavigation$ItemSelectEventParameters>;
1773
+ export type SideNavigation$ItemSelectEvent = Event<
1774
+ SideNavigation$ItemSelectEventParameters,
1775
+ SideNavigation
1776
+ >;
1738
1777
  }
1739
1778
 
1740
1779
  declare module "sap/tnt/ToolHeader" {
@@ -1798,8 +1837,6 @@ declare module "sap/tnt/ToolHeader" {
1798
1837
  *
1799
1838
  * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.OverflowToolbar#constructor sap.m.OverflowToolbar }
1800
1839
  * can be used.
1801
- * See:
1802
- * {@link fiori:https://experience.sap.com/fiori-design-web/tool-header/ Tool Header}
1803
1840
  */
1804
1841
  constructor(
1805
1842
  /**
@@ -1816,8 +1853,6 @@ declare module "sap/tnt/ToolHeader" {
1816
1853
  *
1817
1854
  * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.OverflowToolbar#constructor sap.m.OverflowToolbar }
1818
1855
  * can be used.
1819
- * See:
1820
- * {@link fiori:https://experience.sap.com/fiori-design-web/tool-header/ Tool Header}
1821
1856
  */
1822
1857
  constructor(
1823
1858
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.115.1
1
+ // For Library Version: 1.117.0
2
2
 
3
3
  declare module "sap/ui/codeeditor/library" {}
4
4
 
@@ -657,12 +657,12 @@ declare module "sap/ui/codeeditor/CodeEditor" {
657
657
  /**
658
658
  * Fired when the value is changed by user interaction - each keystroke, delete, paste, etc.
659
659
  */
660
- liveChange?: (oEvent: Event<CodeEditor$LiveChangeEventParameters>) => void;
660
+ liveChange?: (oEvent: CodeEditor$LiveChangeEvent) => void;
661
661
 
662
662
  /**
663
663
  * Fired when the value has changed and the focus leaves the code editor.
664
664
  */
665
- change?: (oEvent: Event<CodeEditor$ChangeEventParameters>) => void;
665
+ change?: (oEvent: CodeEditor$ChangeEvent) => void;
666
666
  }
667
667
 
668
668
  export interface CodeEditor$ChangeEventParameters {
@@ -677,13 +677,10 @@ declare module "sap/ui/codeeditor/CodeEditor" {
677
677
  oldValue?: string;
678
678
  }
679
679
 
680
- /**
681
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'CodeEditor$ChangeEventParameters'
682
- * in 1.115.1 and any later releases.
683
- */
684
- export type $CodeEditorChangeEventParameters = CodeEditor$ChangeEventParameters;
685
-
686
- export type CodeEditor$ChangeEvent = Event<CodeEditor$ChangeEventParameters>;
680
+ export type CodeEditor$ChangeEvent = Event<
681
+ CodeEditor$ChangeEventParameters,
682
+ CodeEditor
683
+ >;
687
684
 
688
685
  export interface CodeEditor$LiveChangeEventParameters {
689
686
  /**
@@ -697,13 +694,10 @@ declare module "sap/ui/codeeditor/CodeEditor" {
697
694
  editorEvent?: object;
698
695
  }
699
696
 
700
- /**
701
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'CodeEditor$LiveChangeEventParameters'
702
- * in 1.115.1 and any later releases.
703
- */
704
- export type $CodeEditorLiveChangeEventParameters = CodeEditor$LiveChangeEventParameters;
705
-
706
- export type CodeEditor$LiveChangeEvent = Event<CodeEditor$LiveChangeEventParameters>;
697
+ export type CodeEditor$LiveChangeEvent = Event<
698
+ CodeEditor$LiveChangeEventParameters,
699
+ CodeEditor
700
+ >;
707
701
  }
708
702
 
709
703
  declare namespace sap {