@openui5/types 1.115.1 → 1.116.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.116.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 {
@@ -1082,6 +1080,20 @@ declare module "sap/tnt/NavigationListItem" {
1082
1080
  * The sub items.
1083
1081
  */
1084
1082
  getItems(): NavigationListItem[];
1083
+ /**
1084
+ * @since 1.116
1085
+ * @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
1086
+ * may be done before its official public release.
1087
+ *
1088
+ * Gets current value of property {@link #getSelectable selectable}.
1089
+ *
1090
+ * Specifies if the item can be selected.
1091
+ *
1092
+ * Default value is `true`.
1093
+ *
1094
+ * @returns Value of property `selectable`
1095
+ */
1096
+ getSelectable(): boolean;
1085
1097
  /**
1086
1098
  * Gets current value of property {@link #getTarget target}.
1087
1099
  *
@@ -1221,6 +1233,27 @@ declare module "sap/tnt/NavigationListItem" {
1221
1233
  */
1222
1234
  sIcon?: URI
1223
1235
  ): this;
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
+ * Sets a new value for property {@link #getSelectable selectable}.
1242
+ *
1243
+ * Specifies if the item can be selected.
1244
+ *
1245
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1246
+ *
1247
+ * Default value is `true`.
1248
+ *
1249
+ * @returns Reference to `this` in order to allow method chaining
1250
+ */
1251
+ setSelectable(
1252
+ /**
1253
+ * New value for property `selectable`
1254
+ */
1255
+ bSelectable?: boolean
1256
+ ): this;
1224
1257
  /**
1225
1258
  * Sets a new value for property {@link #getTarget target}.
1226
1259
  *
@@ -1284,6 +1317,15 @@ declare module "sap/tnt/NavigationListItem" {
1284
1317
  */
1285
1318
  visible?: boolean | PropertyBindingInfo | `{${string}}`;
1286
1319
 
1320
+ /**
1321
+ * @since 1.116
1322
+ * @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
1323
+ * may be done before its official public release.
1324
+ *
1325
+ * Specifies if the item can be selected.
1326
+ */
1327
+ selectable?: boolean | PropertyBindingInfo | `{${string}}`;
1328
+
1287
1329
  /**
1288
1330
  * Defines the link target URI. Supports standard hyperlink behavior. If a JavaScript action should be triggered,
1289
1331
  * this should not be set, but instead an event handler for the `select` event should be registered.
@@ -1311,7 +1353,7 @@ declare module "sap/tnt/NavigationListItem" {
1311
1353
  /**
1312
1354
  * Fired when this item is selected.
1313
1355
  */
1314
- select?: (oEvent: Event<NavigationListItem$SelectEventParameters>) => void;
1356
+ select?: (oEvent: NavigationListItem$SelectEvent) => void;
1315
1357
  }
1316
1358
 
1317
1359
  export interface NavigationListItem$SelectEventParameters {
@@ -1340,10 +1382,10 @@ declare module "sap/tnt/SideNavigation" {
1340
1382
 
1341
1383
  import NavigationListItem from "sap/tnt/NavigationListItem";
1342
1384
 
1343
- import Event from "sap/ui/base/Event";
1344
-
1345
1385
  import Item from "sap/ui/core/Item";
1346
1386
 
1387
+ import Event from "sap/ui/base/Event";
1388
+
1347
1389
  /**
1348
1390
  * @since 1.34
1349
1391
  *
@@ -1360,8 +1402,6 @@ declare module "sap/tnt/SideNavigation" {
1360
1402
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
1361
1403
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1362
1404
  * of the syntax of the settings object.
1363
- * See:
1364
- * {@link fiori:https://experience.sap.com/fiori-design-web/side-navigation/ Side Navigation}
1365
1405
  */
1366
1406
  constructor(
1367
1407
  /**
@@ -1375,8 +1415,6 @@ declare module "sap/tnt/SideNavigation" {
1375
1415
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
1376
1416
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1377
1417
  * of the syntax of the settings object.
1378
- * See:
1379
- * {@link fiori:https://experience.sap.com/fiori-design-web/side-navigation/ Side Navigation}
1380
1418
  */
1381
1419
  constructor(
1382
1420
  /**
@@ -1716,9 +1754,7 @@ declare module "sap/tnt/SideNavigation" {
1716
1754
  /**
1717
1755
  * Fired when an item is selected.
1718
1756
  */
1719
- itemSelect?: (
1720
- oEvent: Event<SideNavigation$ItemSelectEventParameters>
1721
- ) => void;
1757
+ itemSelect?: (oEvent: SideNavigation$ItemSelectEvent) => void;
1722
1758
  }
1723
1759
 
1724
1760
  export interface SideNavigation$ItemSelectEventParameters {
@@ -1728,12 +1764,6 @@ declare module "sap/tnt/SideNavigation" {
1728
1764
  item?: Item;
1729
1765
  }
1730
1766
 
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
1767
  export type SideNavigation$ItemSelectEvent = Event<SideNavigation$ItemSelectEventParameters>;
1738
1768
  }
1739
1769
 
@@ -1798,8 +1828,6 @@ declare module "sap/tnt/ToolHeader" {
1798
1828
  *
1799
1829
  * 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
1830
  * can be used.
1801
- * See:
1802
- * {@link fiori:https://experience.sap.com/fiori-design-web/tool-header/ Tool Header}
1803
1831
  */
1804
1832
  constructor(
1805
1833
  /**
@@ -1816,8 +1844,6 @@ declare module "sap/tnt/ToolHeader" {
1816
1844
  *
1817
1845
  * 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
1846
  * can be used.
1819
- * See:
1820
- * {@link fiori:https://experience.sap.com/fiori-design-web/tool-header/ Tool Header}
1821
1847
  */
1822
1848
  constructor(
1823
1849
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.115.1
1
+ // For Library Version: 1.116.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,12 +677,6 @@ 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
680
  export type CodeEditor$ChangeEvent = Event<CodeEditor$ChangeEventParameters>;
687
681
 
688
682
  export interface CodeEditor$LiveChangeEventParameters {
@@ -697,12 +691,6 @@ declare module "sap/ui/codeeditor/CodeEditor" {
697
691
  editorEvent?: object;
698
692
  }
699
693
 
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
694
  export type CodeEditor$LiveChangeEvent = Event<CodeEditor$LiveChangeEventParameters>;
707
695
  }
708
696