@openui5/ts-types 1.108.35 → 1.108.36

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/ts-types",
3
- "version": "1.108.35",
3
+ "version": "1.108.36",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://openui5.org",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  /**
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -22072,9 +22072,19 @@ declare namespace sap {
22072
22072
  *
22073
22073
  * The event is fired when navigation between two pages has completed (once all events to the child controls
22074
22074
  * have been fired). In case of animated transitions this event is fired with some delay after the "navigate"
22075
- * event.
22075
+ * event. This event is only fired if the DOM ref of the `NavContainer` is available. If the DOM ref is
22076
+ * not available, the `navigationFinished` event should be used instead.
22076
22077
  */
22077
22078
  afterNavigate?: (oEvent: sap.ui.base.Event) => void;
22079
+
22080
+ /**
22081
+ * @SINCE 1.111.0
22082
+ *
22083
+ * The event is fired when navigation between two pages has completed regardless of whether the DOM is ready
22084
+ * or not. This event is useful when performing navigation without/before rendering of the `NavContainer`.
22085
+ * Keep in mind that the DOM is not guaranteed to be ready when this event is fired.
22086
+ */
22087
+ navigationFinished?: (oEvent: sap.ui.base.Event) => void;
22078
22088
  }
22079
22089
 
22080
22090
  interface $NewsContentSettings extends sap.ui.core.$ControlSettings {
@@ -75692,7 +75702,8 @@ declare namespace sap {
75692
75702
  *
75693
75703
  * The event is fired when navigation between two pages has completed (once all events to the child controls
75694
75704
  * have been fired). In case of animated transitions this event is fired with some delay after the "navigate"
75695
- * event.
75705
+ * event. This event is only fired if the DOM ref of the `NavContainer` is available. If the DOM ref is
75706
+ * not available, the `navigationFinished` event should be used instead.
75696
75707
  *
75697
75708
  * @returns Reference to `this` in order to allow method chaining
75698
75709
  */
@@ -75721,7 +75732,8 @@ declare namespace sap {
75721
75732
  *
75722
75733
  * The event is fired when navigation between two pages has completed (once all events to the child controls
75723
75734
  * have been fired). In case of animated transitions this event is fired with some delay after the "navigate"
75724
- * event.
75735
+ * event. This event is only fired if the DOM ref of the `NavContainer` is available. If the DOM ref is
75736
+ * not available, the `navigationFinished` event should be used instead.
75725
75737
  *
75726
75738
  * @returns Reference to `this` in order to allow method chaining
75727
75739
  */
@@ -75788,6 +75800,61 @@ declare namespace sap {
75788
75800
  */
75789
75801
  oListener?: object
75790
75802
  ): this;
75803
+ /**
75804
+ * @SINCE 1.111.0
75805
+ *
75806
+ * Attaches event handler `fnFunction` to the {@link #event:navigationFinished navigationFinished} event
75807
+ * of this `sap.m.NavContainer`.
75808
+ *
75809
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
75810
+ * otherwise it will be bound to this `sap.m.NavContainer` itself.
75811
+ *
75812
+ * The event is fired when navigation between two pages has completed regardless of whether the DOM is ready
75813
+ * or not. This event is useful when performing navigation without/before rendering of the `NavContainer`.
75814
+ * Keep in mind that the DOM is not guaranteed to be ready when this event is fired.
75815
+ *
75816
+ * @returns Reference to `this` in order to allow method chaining
75817
+ */
75818
+ attachNavigationFinished(
75819
+ /**
75820
+ * An application-specific payload object that will be passed to the event handler along with the event
75821
+ * object when firing the event
75822
+ */
75823
+ oData: object,
75824
+ /**
75825
+ * The function to be called when the event occurs
75826
+ */
75827
+ fnFunction: (p1: sap.ui.base.Event) => void,
75828
+ /**
75829
+ * Context object to call the event handler with. Defaults to this `sap.m.NavContainer` itself
75830
+ */
75831
+ oListener?: object
75832
+ ): this;
75833
+ /**
75834
+ * @SINCE 1.111.0
75835
+ *
75836
+ * Attaches event handler `fnFunction` to the {@link #event:navigationFinished navigationFinished} event
75837
+ * of this `sap.m.NavContainer`.
75838
+ *
75839
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
75840
+ * otherwise it will be bound to this `sap.m.NavContainer` itself.
75841
+ *
75842
+ * The event is fired when navigation between two pages has completed regardless of whether the DOM is ready
75843
+ * or not. This event is useful when performing navigation without/before rendering of the `NavContainer`.
75844
+ * Keep in mind that the DOM is not guaranteed to be ready when this event is fired.
75845
+ *
75846
+ * @returns Reference to `this` in order to allow method chaining
75847
+ */
75848
+ attachNavigationFinished(
75849
+ /**
75850
+ * The function to be called when the event occurs
75851
+ */
75852
+ fnFunction: (p1: sap.ui.base.Event) => void,
75853
+ /**
75854
+ * Context object to call the event handler with. Defaults to this `sap.m.NavContainer` itself
75855
+ */
75856
+ oListener?: object
75857
+ ): this;
75791
75858
  /**
75792
75859
  * Navigates back one level. If already on the initial page and there is no place to go back, nothing happens.
75793
75860
  *
@@ -75963,6 +76030,26 @@ declare namespace sap {
75963
76030
  */
75964
76031
  oListener?: object
75965
76032
  ): this;
76033
+ /**
76034
+ * @SINCE 1.111.0
76035
+ *
76036
+ * Detaches event handler `fnFunction` from the {@link #event:navigationFinished navigationFinished} event
76037
+ * of this `sap.m.NavContainer`.
76038
+ *
76039
+ * The passed function and listener object must match the ones used for event registration.
76040
+ *
76041
+ * @returns Reference to `this` in order to allow method chaining
76042
+ */
76043
+ detachNavigationFinished(
76044
+ /**
76045
+ * The function to be called, when the event occurs
76046
+ */
76047
+ fnFunction: (p1: sap.ui.base.Event) => void,
76048
+ /**
76049
+ * Context object on which the given function had to be called
76050
+ */
76051
+ oListener?: object
76052
+ ): this;
75966
76053
  /**
75967
76054
  * @SINCE 1.7.1
75968
76055
  *
@@ -76076,6 +76163,61 @@ declare namespace sap {
76076
76163
  direction?: string;
76077
76164
  }
76078
76165
  ): boolean;
76166
+ /**
76167
+ * @SINCE 1.111.0
76168
+ *
76169
+ * Fires event {@link #event:navigationFinished navigationFinished} to attached listeners.
76170
+ *
76171
+ * @returns Reference to `this` in order to allow method chaining
76172
+ */
76173
+ fireNavigationFinished(
76174
+ /**
76175
+ * Parameters to pass along with the event
76176
+ */
76177
+ mParameters?: {
76178
+ /**
76179
+ * The page which had been shown before navigation.
76180
+ */
76181
+ from?: sap.ui.core.Control;
76182
+ /**
76183
+ * The ID of the page which had been shown before navigation.
76184
+ */
76185
+ fromId?: string;
76186
+ /**
76187
+ * The page which is now shown after navigation.
76188
+ */
76189
+ to?: sap.ui.core.Control;
76190
+ /**
76191
+ * The ID of the page which is now shown after navigation.
76192
+ */
76193
+ toId?: string;
76194
+ /**
76195
+ * Whether the "to" page (more precisely: a control with the ID of the page which has been navigated to)
76196
+ * had not been shown/navigated to before.
76197
+ */
76198
+ firstTime?: boolean;
76199
+ /**
76200
+ * Whether was a forward navigation, triggered by "to()".
76201
+ */
76202
+ isTo?: boolean;
76203
+ /**
76204
+ * Whether this was a back navigation, triggered by "back()".
76205
+ */
76206
+ isBack?: boolean;
76207
+ /**
76208
+ * Whether this was a navigation to the root page, triggered by "backToTop()".
76209
+ */
76210
+ isBackToTop?: boolean;
76211
+ /**
76212
+ * Whether this was a navigation to a specific page, triggered by "backToPage()".
76213
+ */
76214
+ isBackToPage?: boolean;
76215
+ /**
76216
+ * How the navigation was triggered, possible values are "to", "back", "backToPage", and "backToTop".
76217
+ */
76218
+ direction?: string;
76219
+ }
76220
+ ): this;
76079
76221
  /**
76080
76222
  * @SINCE 1.30
76081
76223
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -264,7 +264,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
264
264
  ): jQuery;
265
265
  }
266
266
 
267
- // For Library Version: 1.108.35
267
+ // For Library Version: 1.108.36
268
268
 
269
269
  declare module "sap/base/assert" {
270
270
  /**
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.35
1
+ // For Library Version: 1.108.36
2
2
 
3
3
  declare namespace sap {
4
4
  /**