@sapui5/ts-types 1.152.0 → 1.153.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.
Files changed (67) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +1 -1
  3. package/types/sap.ca.ui.d.ts +1 -1
  4. package/types/sap.chart.d.ts +1 -1
  5. package/types/sap.collaboration.d.ts +1 -1
  6. package/types/sap.esh.search.ui.d.ts +1 -1
  7. package/types/sap.f.d.ts +1 -1
  8. package/types/sap.fe.ariba.d.ts +1 -1
  9. package/types/sap.fe.base.d.ts +1 -1
  10. package/types/sap.fe.controls.d.ts +1 -1
  11. package/types/sap.fe.core.d.ts +44 -1
  12. package/types/sap.fe.ina.d.ts +1 -1
  13. package/types/sap.fe.macros.d.ts +199 -19
  14. package/types/sap.fe.navigation.d.ts +1 -1
  15. package/types/sap.fe.placeholder.d.ts +1 -1
  16. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  17. package/types/sap.fe.templates.d.ts +1 -1
  18. package/types/sap.fe.test.d.ts +15 -1
  19. package/types/sap.fe.tools.d.ts +1 -1
  20. package/types/sap.feedback.ui.d.ts +1 -1
  21. package/types/sap.gantt.d.ts +290 -24
  22. package/types/sap.insights.d.ts +1 -1
  23. package/types/sap.m.d.ts +255 -30
  24. package/types/sap.makit.d.ts +1 -1
  25. package/types/sap.me.d.ts +1 -1
  26. package/types/sap.ndc.d.ts +1 -1
  27. package/types/sap.ovp.d.ts +1 -1
  28. package/types/sap.rules.ui.d.ts +1 -1
  29. package/types/sap.sac.df.d.ts +1 -1
  30. package/types/sap.suite.ui.commons.d.ts +14 -14
  31. package/types/sap.suite.ui.generic.template.d.ts +31 -1
  32. package/types/sap.suite.ui.microchart.d.ts +1 -1
  33. package/types/sap.tnt.d.ts +1 -1
  34. package/types/sap.ui.codeeditor.d.ts +1 -1
  35. package/types/sap.ui.commons.d.ts +1 -1
  36. package/types/sap.ui.comp.d.ts +1 -1
  37. package/types/sap.ui.core.d.ts +201 -133
  38. package/types/sap.ui.dt.d.ts +1 -1
  39. package/types/sap.ui.export.d.ts +14 -2
  40. package/types/sap.ui.fl.d.ts +1 -1
  41. package/types/sap.ui.generic.app.d.ts +1 -1
  42. package/types/sap.ui.generic.template.d.ts +1 -1
  43. package/types/sap.ui.geomap.d.ts +1 -1
  44. package/types/sap.ui.integration.d.ts +1 -1
  45. package/types/sap.ui.joule.frontend.d.ts +1 -1
  46. package/types/sap.ui.layout.d.ts +1 -1
  47. package/types/sap.ui.mdc.d.ts +6771 -5664
  48. package/types/sap.ui.richtexteditor.d.ts +1 -1
  49. package/types/sap.ui.rta.d.ts +9 -1
  50. package/types/sap.ui.suite.d.ts +1 -1
  51. package/types/sap.ui.support.d.ts +1 -1
  52. package/types/sap.ui.table.d.ts +63 -1
  53. package/types/sap.ui.testrecorder.d.ts +1 -1
  54. package/types/sap.ui.unified.d.ts +1 -1
  55. package/types/sap.ui.ux3.d.ts +1 -1
  56. package/types/sap.ui.vbm.d.ts +1 -1
  57. package/types/sap.ui.vk.d.ts +1 -1
  58. package/types/sap.ui.vtm.d.ts +1 -1
  59. package/types/sap.uiext.inbox.d.ts +1 -1
  60. package/types/sap.ushell.d.ts +125 -15
  61. package/types/sap.ushell_abap.d.ts +1 -1
  62. package/types/sap.uxap.d.ts +1 -1
  63. package/types/sap.viz.d.ts +1 -1
  64. package/types/sap.webanalytics.core.d.ts +1 -1
  65. package/types/sap.zen.commons.d.ts +1 -1
  66. package/types/sap.zen.crosstab.d.ts +1 -1
  67. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -196,6 +196,8 @@ declare namespace sap {
196
196
  }
197
197
 
198
198
  interface IUI5DefineDependencyNames {
199
+ "sap/ui/rta/api/FrontendActionsAPI": undefined;
200
+
199
201
  "sap/ui/rta/api/startAdaptation": undefined;
200
202
 
201
203
  "sap/ui/rta/api/startKeyUserAdaptation": undefined;
@@ -218,6 +220,12 @@ declare namespace sap {
218
220
 
219
221
  "sap/ui/rta/service/Selection": undefined;
220
222
 
223
+ "sap/ui/rta/util/ai/AIVisualization": undefined;
224
+
225
+ "sap/ui/rta/util/ai/FrontendActionError": undefined;
226
+
227
+ "sap/ui/rta/util/ai/FrontendActionResult": undefined;
228
+
221
229
  "sap/ui/rta/util/ReloadManager": undefined;
222
230
  }
223
231
  }
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -3057,6 +3057,16 @@ declare namespace sap {
3057
3057
  | sap.ui.base.ManagedObject.PropertyBindingInfo
3058
3058
  | `{${string}}`;
3059
3059
 
3060
+ /**
3061
+ * Defines whether the scroll handle is shown during vertical scrolling.
3062
+ *
3063
+ * @since 1.153
3064
+ */
3065
+ showScrollHandle?:
3066
+ | sap.ui.table.ShowScrollHandle
3067
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
3068
+ | `{${string}}`;
3069
+
3060
3070
  /**
3061
3071
  * Flag to enable or disable column reordering
3062
3072
  *
@@ -9559,6 +9569,18 @@ declare namespace sap {
9559
9569
  * @returns Value of property `showOverlay`
9560
9570
  */
9561
9571
  getShowOverlay(): boolean;
9572
+ /**
9573
+ * Gets current value of property {@link #getShowScrollHandle showScrollHandle}.
9574
+ *
9575
+ * Defines whether the scroll handle is shown during vertical scrolling.
9576
+ *
9577
+ * Default value is `Default`.
9578
+ *
9579
+ * @since 1.153
9580
+ *
9581
+ * @returns Value of property `showScrollHandle`
9582
+ */
9583
+ getShowScrollHandle(): sap.ui.table.ShowScrollHandle;
9562
9584
  /**
9563
9585
  * Gets the sorted columns in the order in which sorting was performed through the {@link sap.ui.table.Table#sort }
9564
9586
  * method and menus. Does not reflect sorting at binding level or the columns sort visualization set with
@@ -10580,6 +10602,25 @@ declare namespace sap {
10580
10602
  */
10581
10603
  bShowOverlay?: boolean
10582
10604
  ): this;
10605
+ /**
10606
+ * Sets a new value for property {@link #getShowScrollHandle showScrollHandle}.
10607
+ *
10608
+ * Defines whether the scroll handle is shown during vertical scrolling.
10609
+ *
10610
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10611
+ *
10612
+ * Default value is `Default`.
10613
+ *
10614
+ * @since 1.153
10615
+ *
10616
+ * @returns Reference to `this` in order to allow method chaining
10617
+ */
10618
+ setShowScrollHandle(
10619
+ /**
10620
+ * New value for property `showScrollHandle`
10621
+ */
10622
+ sShowScrollHandle?: sap.ui.table.ShowScrollHandle
10623
+ ): this;
10583
10624
  /**
10584
10625
  * Sets the threshold value, which will be added to all data requests in case the Table is bound against
10585
10626
  * an OData service.
@@ -11808,6 +11849,27 @@ declare namespace sap {
11808
11849
  */
11809
11850
  VerticalScrollBar = "vsb",
11810
11851
  }
11852
+ /**
11853
+ * Whether the scroll handle is shown during vertical scrolling.
11854
+ *
11855
+ * This enum is part of the 'sap/ui/table/library' module export and must be accessed by the property 'ShowScrollHandle'.
11856
+ *
11857
+ * @since 1.153
11858
+ */
11859
+ enum ShowScrollHandle {
11860
+ /**
11861
+ * The default behavior. The scroll handle is shown only on touch scrolling.
11862
+ */
11863
+ Default = "Default",
11864
+ /**
11865
+ * The scroll handle is not shown.
11866
+ */
11867
+ Off = "Off",
11868
+ /**
11869
+ * The scroll handle is shown when the user scrolls the table vertically.
11870
+ */
11871
+ On = "On",
11872
+ }
11811
11873
  /**
11812
11874
  * Sort order of a column
11813
11875
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace uiext {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -7370,15 +7370,16 @@ declare namespace sap {
7370
7370
  getTransientPersonalizer(): Promise<sap.ushell.services.PersonalizationV2.TransientPersonalizer>;
7371
7371
  }
7372
7372
  /**
7373
- * Abstract base class for ushell services. For details, see {@link sap.ushell.Container#getServiceAsync}.
7373
+ * Abstract base interface for ushell services. For details, see {@link sap.ushell.Container#getServiceAsync}.
7374
7374
  *
7375
7375
  * @since 1.121.0
7376
7376
  */
7377
- abstract class Service {
7377
+ class Service {
7378
7378
  /**
7379
- * @ui5-protected Do not call from applications (only from related classes in the framework)
7379
+ * See:
7380
+ * sap.ushell.Container.getServiceAsync
7380
7381
  */
7381
- protected constructor();
7382
+ constructor();
7382
7383
  }
7383
7384
  /**
7384
7385
  * The Unified Shell's session handler service. Manages the timeout of an FLP session:
@@ -8208,6 +8209,85 @@ declare namespace sap {
8208
8209
  */
8209
8210
  getShellUserInfo(): Promise<sap.ushell.services.UserInfo.ShellUserInfo>;
8210
8211
  }
8212
+
8213
+ /**
8214
+ * A helper type that maps service names to service types.
8215
+ */
8216
+ type ServiceTypes = {
8217
+ AppLifeCycle: sap.ushell.services.AppLifeCycle;
8218
+ /**
8219
+ * @deprecated As of version 1.120. Please use {@link sap.ushell.services.BookmarkV2} instead.
8220
+ */
8221
+ Bookmark: sap.ushell.services.Bookmark;
8222
+
8223
+ BookmarkV2: sap.ushell.services.BookmarkV2;
8224
+
8225
+ Configuration: sap.ushell.services.Configuration;
8226
+ /**
8227
+ * @deprecated As of version 1.120. Deprecated without successor together with the classic homepage.
8228
+ */
8229
+ ContentExtensionAdapterFactory: sap.ushell.services.ContentExtensionAdapterFactory;
8230
+ /**
8231
+ * @deprecated As of version 1.120. Please use {@link sap.ushell.services.Navigation} instead.
8232
+ */
8233
+ CrossApplicationNavigation: sap.ushell.services.CrossApplicationNavigation;
8234
+ /**
8235
+ * @deprecated As of version 1.93. Deprecated without successor.
8236
+ */
8237
+ EndUserFeedback: sap.ushell.services.EndUserFeedback;
8238
+
8239
+ Extension: sap.ushell.services.Extension;
8240
+
8241
+ FrameBoundExtension: sap.ushell.services.FrameBoundExtension;
8242
+ /**
8243
+ * @deprecated As of version 1.99. Deprecated together with the classic homepage.
8244
+ */
8245
+ LaunchPage: sap.ushell.services.LaunchPage;
8246
+ /**
8247
+ * @deprecated As of version 1.120. Please use {@link sap.m.MessageToast}, {@link sap.m.MessageBox}, or
8248
+ * {@link sap.m.Dialog} instead.
8249
+ */
8250
+ Message: sap.ushell.services.Message;
8251
+ /**
8252
+ * @deprecated As of version 1.120. Use {@link sap.ushell.services.Navigation} for Navigation instead.
8253
+ */
8254
+ NavTargetResolution: sap.ushell.services.NavTargetResolution;
8255
+
8256
+ Navigation: sap.ushell.services.Navigation;
8257
+ /**
8258
+ * @deprecated As of version 1.119. Please use {@link sap.ushell.services.NotificationsV2} instead.
8259
+ */
8260
+ Notifications: sap.ushell.services.Notifications;
8261
+
8262
+ NotificationsV2: sap.ushell.services.NotificationsV2;
8263
+ /**
8264
+ * @deprecated As of version 1.120. Please use {@link sap.ushell.services.PersonalizationV2} instead.
8265
+ */
8266
+ Personalization: sap.ushell.services.Personalization;
8267
+
8268
+ PersonalizationV2: sap.ushell.services.PersonalizationV2;
8269
+
8270
+ SessionHandler: sap.ushell.services.SessionHandler;
8271
+ /**
8272
+ * @deprecated As of version 1.120. Use {@link sap.ushell.services.Navigation} for Navigation instead.
8273
+ */
8274
+ ShellNavigation: sap.ushell.services.ShellNavigation;
8275
+ /**
8276
+ * @deprecated As of version 1.112. Please use the CrossApplicationNavigation service instead.
8277
+ */
8278
+ SmartNavigation: sap.ushell.services.SmartNavigation;
8279
+
8280
+ SupportTicket: sap.ushell.services.SupportTicket;
8281
+
8282
+ URLParsing: sap.ushell.services.URLParsing;
8283
+ /**
8284
+ * @deprecated As of version 1.120. The corresponding cloud service "SAP Web Analytics" has been retired,
8285
+ * therefore this client-side service API cannot be used any longer.
8286
+ */
8287
+ UsageAnalytics: sap.ushell.services.UsageAnalytics;
8288
+
8289
+ UserInfo: sap.ushell.services.UserInfo;
8290
+ };
8211
8291
  }
8212
8292
 
8213
8293
  namespace base {
@@ -8357,8 +8437,7 @@ declare namespace sap {
8357
8437
  * appSpecificRoute: string
8358
8438
  * }
8359
8439
  * ```
8360
- * `{ target: { shellHash } }` Note: in general it is preferred to add an appStateKey directly to the params
8361
- * object
8440
+ * `{ target: { shellHash } }`
8362
8441
  *
8363
8442
  * @since 1.94.0
8364
8443
  * @ui5-protected Do not call from applications (only from related classes in the framework)
@@ -8457,7 +8536,7 @@ declare namespace sap {
8457
8536
  sUrl: string
8458
8537
  ): Promise<boolean>;
8459
8538
  /**
8460
- * combine members of a javascript object into a parameter string, note that parameters are ordered in an
8539
+ * Combine members of a javascript object into a parameter string, note that parameters are ordered in an
8461
8540
  * arbitrary manner which is subject to change
8462
8541
  *
8463
8542
  * @since 1.94.0
@@ -8488,7 +8567,7 @@ declare namespace sap {
8488
8567
  sParams: string
8489
8568
  ): object;
8490
8569
  /**
8491
- * Decompose a shell hash into the respective parts
8570
+ * Decompose a shell hash into the respective parts.
8492
8571
  *
8493
8572
  * @since 1.94.0
8494
8573
  * @ui5-protected Do not call from applications (only from related classes in the framework)
@@ -8512,8 +8591,8 @@ declare namespace sap {
8512
8591
  */
8513
8592
  parseShellHash(
8514
8593
  /**
8515
- * Hash part of a shell compliant URL `#SO-Action?P1=a&P2=x&/route?RPV=1` the hash part of an URL,
8516
- * e.g. `"#Object-name?PV1=PV2&PV4=V5&/display/detail/7?UU=HH`
8594
+ * Hash part of a FLP-compliant URL `#SO-Action?P1=a&P2=x&/route?RPV=1`. At minimum, Semantic Object and
8595
+ * Action need to be part of the hash. A single # is also accepted.
8517
8596
  */
8518
8597
  sHash: string,
8519
8598
  /**
@@ -8521,6 +8600,31 @@ declare namespace sap {
8521
8600
  */
8522
8601
  bReturnEmpty?: boolean
8523
8602
  ): object;
8603
+ /**
8604
+ * split a Unified Shell compliant hash into an Object containing a shell specific part and an app specific
8605
+ * parts
8606
+ * for non compliant hash strings, the empty object {} is returned. An optional leading # is stripped.
8607
+ *
8608
+ * @since 1.94.0
8609
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8610
+ *
8611
+ * @returns `{}`(empty object) if not a parseable hash
8612
+ * ```javascript
8613
+ *
8614
+ * {
8615
+ * shellPart : "Object-name?PV1=PV2&PV4=V5",
8616
+ * appSpecificRoute : "&/display/detail/7?UU=HH"
8617
+ * }
8618
+ * ```
8619
+ * otherwise Note that params always has an Array for each parameter value!
8620
+ */
8621
+ splitHash(
8622
+ /**
8623
+ * Hash part of a shell conformant URL #SO-Action?P1=a&P2=x&/route?RPV=1 the hash part of an
8624
+ * URL, e.g. "#Object-name?PV1=PV2&PV4=V5&/display/detail/7?UU=HH
8625
+ */
8626
+ sHash: string
8627
+ ): object;
8524
8628
  /**
8525
8629
  * Internal function
8526
8630
  *
@@ -14484,11 +14588,14 @@ declare namespace sap {
14484
14588
  *
14485
14589
  * @returns the service or, in asynchronous mode, a Promise that returns the service
14486
14590
  */
14487
- getService<ServiceType extends sap.ushell.services.Service>(
14591
+ getService<
14592
+ ServiceType extends sap.ushell.services.Service,
14593
+ ServiceName extends string = string,
14594
+ >(
14488
14595
  /**
14489
14596
  * The service name, such as "Menu"
14490
14597
  */
14491
- sServiceName: string,
14598
+ sServiceName: ServiceName,
14492
14599
  /**
14493
14600
  * A parameter which is passed to the service constructor and every adapter constructor. (since 1.15.0)
14494
14601
  */
@@ -14556,11 +14663,14 @@ declare namespace sap {
14556
14663
  *
14557
14664
  * @returns a Promise that returns the requested service
14558
14665
  */
14559
- getServiceAsync<ServiceType extends sap.ushell.services.Service>(
14666
+ getServiceAsync<
14667
+ ServiceType extends sap.ushell.services.Service,
14668
+ ServiceName extends string = string,
14669
+ >(
14560
14670
  /**
14561
14671
  * The service name, such as "Menu"
14562
14672
  */
14563
- sServiceName: string,
14673
+ sServiceName: ServiceName,
14564
14674
  /**
14565
14675
  * A parameter which is passed to the service constructor and every adapter constructor.
14566
14676
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace zen {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace zen {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.152.0
1
+ // For Library Version: 1.153.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace zen {