@sapui5/ts-types 1.148.1 → 1.149.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 (66) 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 +4 -4
  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 +1 -1
  12. package/types/sap.fe.ina.d.ts +1 -1
  13. package/types/sap.fe.macros.d.ts +17 -17
  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 +19 -5
  18. package/types/sap.fe.test.d.ts +1 -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 +1 -1
  22. package/types/sap.insights.d.ts +1 -1
  23. package/types/sap.m.d.ts +56 -2
  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 +26 -4
  28. package/types/sap.rules.ui.d.ts +1 -1
  29. package/types/sap.sac.df.d.ts +3 -1
  30. package/types/sap.suite.ui.commons.d.ts +48 -1
  31. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  32. package/types/sap.suite.ui.microchart.d.ts +45 -1
  33. package/types/sap.tnt.d.ts +83 -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 +41 -10
  37. package/types/sap.ui.core.d.ts +308 -387
  38. package/types/sap.ui.dt.d.ts +1 -1
  39. package/types/sap.ui.export.d.ts +1 -1
  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.layout.d.ts +1 -1
  46. package/types/sap.ui.mdc.d.ts +39 -2
  47. package/types/sap.ui.richtexteditor.d.ts +1 -1
  48. package/types/sap.ui.rta.d.ts +1 -1
  49. package/types/sap.ui.suite.d.ts +1 -1
  50. package/types/sap.ui.support.d.ts +1 -1
  51. package/types/sap.ui.table.d.ts +10 -1
  52. package/types/sap.ui.testrecorder.d.ts +1 -1
  53. package/types/sap.ui.unified.d.ts +687 -1
  54. package/types/sap.ui.ux3.d.ts +1 -1
  55. package/types/sap.ui.vbm.d.ts +1 -1
  56. package/types/sap.ui.vk.d.ts +1 -1
  57. package/types/sap.ui.vtm.d.ts +1 -1
  58. package/types/sap.uiext.inbox.d.ts +1 -1
  59. package/types/sap.ushell.d.ts +337 -1
  60. package/types/sap.ushell_abap.d.ts +1 -1
  61. package/types/sap.uxap.d.ts +1 -1
  62. package/types/sap.viz.d.ts +1 -1
  63. package/types/sap.webanalytics.core.d.ts +1 -1
  64. package/types/sap.zen.commons.d.ts +1 -1
  65. package/types/sap.zen.crosstab.d.ts +1 -1
  66. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace uiext {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.1
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -8167,6 +8167,338 @@ declare namespace sap {
8167
8167
  }
8168
8168
  }
8169
8169
 
8170
+ namespace base {
8171
+ namespace UrlParsing {
8172
+ /**
8173
+ * Type for HashComparison
8174
+ *
8175
+ * @since 1.128.0
8176
+ * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
8177
+ */
8178
+ type HashComparison = {
8179
+ /**
8180
+ * The intent is the semantic object, action and contextRaw of the hash
8181
+ *
8182
+ * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
8183
+ */
8184
+ sameIntent: boolean;
8185
+ /**
8186
+ * The intent parameters are the parameters of the hash that are not technical parameters
8187
+ *
8188
+ * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
8189
+ */
8190
+ sameParameters: boolean;
8191
+ /**
8192
+ * The app specific route is the part of the hash after the shell part
8193
+ *
8194
+ * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
8195
+ */
8196
+ sameAppSpecificRoute: boolean;
8197
+ };
8198
+ }
8199
+ /**
8200
+ * This class provides methods to enable the integration with the SAP Business Client (NWBC for Desktop).
8201
+ *
8202
+ * @since 1.147.0
8203
+ * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
8204
+ */
8205
+ interface SAPBusinessClientEnablement {
8206
+ /**
8207
+ * Triggers a logout in SAP Business Client.
8208
+ *
8209
+ * @since 1.147.0
8210
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8211
+ */
8212
+ doLogout(
8213
+ /**
8214
+ * The URL to navigate to after logout.
8215
+ */
8216
+ sLogOffUrl: string
8217
+ ): void;
8218
+ /**
8219
+ * Determine the shell type considering NWBC Version 6.0+ client case.
8220
+ *
8221
+ * @since 1.147.0
8222
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8223
+ *
8224
+ * @returns the shell type ("NWBC" or "FLP"), based on whether NWBC v6.0+ Client is detected.
8225
+ */
8226
+ getShellType(): string;
8227
+ /**
8228
+ * Detects whether NWBC can logout natively.
8229
+ *
8230
+ * NWBC exposes a feature bit vector via the "getNwbcFeatureBits" method of the private "epcm" object. This
8231
+ * is expected to be a string in hex format representing 4 bits, where the second least significant bit
8232
+ * represents native logout capability.
8233
+ *
8234
+ * For example: "B" = 1011, second last bit is 1, therefore native logout capability is enabled.
8235
+ *
8236
+ * @since 1.147.0
8237
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8238
+ *
8239
+ * @returns Whether the browser can logout natively.
8240
+ */
8241
+ hasNativeLogoutCapability(): boolean;
8242
+ }
8243
+
8244
+ /**
8245
+ * The Unified Shell's internal URL parsing utils (platform independent)
8246
+ *
8247
+ * Methods in this class allow to break down a shell compliant hash into it's respective parts (SemanticObject,Action,Context,
8248
+ * Parameters, appSpecificHash) or (ShellPart,appSpecificHash) respectively or construct a hash from its
8249
+ * constituents.
8250
+ *
8251
+ * All methods deal with the *internal* shellHash format.
8252
+ *
8253
+ * Most of the parse methods are robust w.r.t. a leading "#".
8254
+ *
8255
+ * Note: The functions were designed with a "truthy" behaviour for not present values, Thus a client should
8256
+ * not rely on the difference between null, "undefined", "" when testing for the result of a parse action.
8257
+ *
8258
+ * The parsing functions are deliberately restrictive and fragile, only shell compliant hashes are parsed
8259
+ * correctly, behaviour for non-compliant hashes is undefined and subject to change, notably we do not aim
8260
+ * do "degrade" nicefully or support partial parsing of corrupted urls.
8261
+ *
8262
+ * @since 1.94.0
8263
+ * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
8264
+ */
8265
+ interface UrlParsing {
8266
+ /**
8267
+ * Calculates the similarities of the hashes
8268
+ *
8269
+ * @since 1.128.0
8270
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8271
+ *
8272
+ * @returns A object describing the similarities
8273
+ */
8274
+ compareHashes(
8275
+ /**
8276
+ * The first hash
8277
+ */
8278
+ sHash1: sap.ushell.services.Navigation.TargetIntent,
8279
+ /**
8280
+ * The second hash
8281
+ */
8282
+ sHash2: sap.ushell.services.Navigation.TargetIntent
8283
+ ): sap.ushell.base.UrlParsing.HashComparison;
8284
+ /**
8285
+ * Calculates the similarities of the hashes
8286
+ *
8287
+ * @since 1.142.0
8288
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8289
+ *
8290
+ * @returns A object describing the similarities
8291
+ */
8292
+ compareParsedHashes(
8293
+ /**
8294
+ * The first hash
8295
+ */
8296
+ oHash1: sap.ushell.services.URLParsing.DecomposedHash,
8297
+ /**
8298
+ * The second hash
8299
+ */
8300
+ oHash2: sap.ushell.services.URLParsing.DecomposedHash
8301
+ ): sap.ushell.base.UrlParsing.HashComparison;
8302
+ /**
8303
+ * compose a shell Hash from it's respective parts Note that it also may append an app specific route !
8304
+ *
8305
+ * ```javascript
8306
+ *
8307
+ * {
8308
+ * target: {
8309
+ * semanticObject: string,
8310
+ * action: string,
8311
+ * contextRaw: string
8312
+ * },
8313
+ * params: MapObject,
8314
+ * appStateKey: string
8315
+ * appSpecificRoute: string
8316
+ * }
8317
+ * ```
8318
+ * `{ target: { shellHash } }` Note: in general it is preferred to add an appStateKey directly to the params
8319
+ * object
8320
+ *
8321
+ * @since 1.94.0
8322
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8323
+ *
8324
+ * @returns the hash part of an URL, e.g. `"Object-name~AFE2==?PV1=PV2&PV4=V5&/display/detail/7?UU=HH` returns
8325
+ * "" for an `undefined` object
8326
+ */
8327
+ constructShellHash(
8328
+ /**
8329
+ * The action must be a valid action, it may not contain "?" or directly a parameter string
8330
+ */
8331
+ oShellHash: /* was: sap.ushell.services.URLParsing.ShellHash */ any,
8332
+ /**
8333
+ * if true, the result is prefixed with a leading #
8334
+ */
8335
+ bPrefixWithHash?: boolean
8336
+ ): string;
8337
+ /**
8338
+ * Ensures a leading # in a hash.
8339
+ *
8340
+ * @since 1.129.0
8341
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8342
+ *
8343
+ * @returns the string with a leading #.
8344
+ */
8345
+ ensureLeadingHash(
8346
+ /**
8347
+ * Shell hash.
8348
+ */
8349
+ sHash: string
8350
+ ): string;
8351
+ /**
8352
+ * Extract the Shell hash# part from an URL The application specific route part is removed See {@link #getHash }
8353
+ * for a function which retains the app specific route.
8354
+ *
8355
+ * Shell services shall use this service to extract relevant parts of an URL from an actual URL string (which
8356
+ * should be treated as opaque) The URL has to comply with the Fiori-Wave 2 agreed upon format This
8357
+ * service shall be used to extract a hash part from an url. The result can be further broken up by parseShellHash
8358
+ *
8359
+ * Examples http://a.b.c?defhij#SemanticObject-Action~Context?PV1=A&PV2=B&/appspecific
8360
+ * returns : "#SemanticObject-Action~Context?PV1=A&PV2=B&/appspecific"
8361
+ *
8362
+ * Note: the results when passing an illegal (non-compliant) url are undefined and subject to change w.o.
8363
+ * notice. Notably further checks may added. The design is deliberately restrictive and non-robust.
8364
+ *
8365
+ * @since 1.94.0
8366
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8367
+ *
8368
+ * @returns the parsed result
8369
+ */
8370
+ getShellHash(
8371
+ /**
8372
+ * a valid (Shell) url, e.g.
8373
+ * `http://xx.b.c#Object-name~AFE2==?PV1=PV2&PV4=V5&/display/detail/7?UU=HH`
8374
+ */
8375
+ sShellHashString: string
8376
+ ): object;
8377
+ /**
8378
+ * Determines whether two hash fragments have the same intent during an app-to-app navigation.
8379
+ *
8380
+ * @since 1.128.0
8381
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8382
+ *
8383
+ * @returns Whether two hash fragments have the same semantic object and action during an app-to-app navigation.
8384
+ */
8385
+ haveSameIntent(
8386
+ /**
8387
+ * The first hash split by parseShellHash
8388
+ */
8389
+ oParsedHash1: sap.ushell.services.URLParsing.DecomposedHash,
8390
+ /**
8391
+ * The second hash split by parseShellHash
8392
+ */
8393
+ oParsedHash2: sap.ushell.services.URLParsing.DecomposedHash
8394
+ ): boolean;
8395
+ /**
8396
+ * Check if a URL has an intent based navigation part which can be parsed into a semantic object and action
8397
+ * part. Accepts only a relative URL (must contain #) or fully qualified Urls for which origin and filename
8398
+ * must correspond to the running launchpad.
8399
+ *
8400
+ * Given actual url `http://www.mycorp.com/sap/fiori/FioriLaunchpad.html?sap-language=DE#SO-action?P1=value1`,
8401
+ * the following parts `http://www.mycorp.com/sap/fiori/FioriLaunchpad.html` must match.
8402
+ *
8403
+ * This function *only* tests whether the hash part can be parsed and contains a semantic object and action.
8404
+ * It does not test whether the intent or its parameters are valid for a given user
8405
+ *
8406
+ * @since 1.94.0
8407
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8408
+ *
8409
+ * @returns true if the conditions are fulfilled.
8410
+ */
8411
+ isIntentUrlAsync(
8412
+ /**
8413
+ * the URL to test. Note: this url must be in internal format.
8414
+ */
8415
+ sUrl: string
8416
+ ): Promise<boolean>;
8417
+ /**
8418
+ * combine members of a javascript object into a parameter string, note that parameters are ordered in an
8419
+ * arbitrary manner which is subject to change
8420
+ *
8421
+ * @since 1.94.0
8422
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8423
+ *
8424
+ * @returns `ABC=1&ABC=1%202DEF=4` Note that the result is *not* prefixed with a "?", parameter values are
8425
+ * encodeURIComponent encoded.
8426
+ */
8427
+ paramsToString(
8428
+ /**
8429
+ * any value { ABC : [1,"1 2"], DEF : ["4"]}
8430
+ */
8431
+ oParams: object
8432
+ ): string;
8433
+ /**
8434
+ * Parses parameters from a URI query string (starting with "?") into a parameter object. Keys are decoded
8435
+ * twice. This assumes that literal "%" characters are not used on keys, otherwise parsing will fail.
8436
+ *
8437
+ * @since 1.94.0
8438
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8439
+ *
8440
+ * @returns Any value, e.g. `{ ABC: ["1", "1 2DEF=4"] }`
8441
+ */
8442
+ parseParameters(
8443
+ /**
8444
+ * Parameter string, e.g. `?ABC=1&ABC=1%202DEF=4`
8445
+ */
8446
+ sParams: string
8447
+ ): object;
8448
+ /**
8449
+ * Decompose a shell hash into the respective parts
8450
+ *
8451
+ * @since 1.94.0
8452
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8453
+ *
8454
+ * @returns `undefined` if not a parseable hash
8455
+ *
8456
+ * ```javascript
8457
+ *
8458
+ * {
8459
+ * semanticObject : string,
8460
+ *
8461
+ * action : string,
8462
+ *
8463
+ * contextRaw : string,
8464
+ *
8465
+ * params : MapObject,
8466
+ *
8467
+ * appSpecificRoute : string
8468
+ *
8469
+ * }
8470
+ * ```
8471
+ * Note that params always has an Array for each parameter value!
8472
+ */
8473
+ parseShellHash(
8474
+ /**
8475
+ * Hash part of a shell compliant URL `#SO-Action~Context?P1=a&P2=x&/route?RPV=1` the hash part of an URL,
8476
+ *
8477
+ * e.g. `"#Object-name~AFE2==?PV1=PV2&PV4=V5&/display/detail/7?UU=HH`
8478
+ */
8479
+ sHash: string,
8480
+ /**
8481
+ * Return an empty parsed hash object instead of undefined
8482
+ */
8483
+ bReturnEmpty?: boolean
8484
+ ): object;
8485
+ /**
8486
+ * Internal function
8487
+ *
8488
+ * @since 1.94.0
8489
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8490
+ *
8491
+ * @returns the string without a leading #
8492
+ */
8493
+ stripLeadingHash(
8494
+ /**
8495
+ * Shell hash
8496
+ */
8497
+ sHash: string
8498
+ ): string;
8499
+ }
8500
+ }
8501
+
8170
8502
  namespace components {
8171
8503
  namespace factsheet {
8172
8504
  namespace controls {
@@ -14345,6 +14677,10 @@ declare namespace sap {
14345
14677
 
14346
14678
  "sap/ushell/api/workpage/Runtime": undefined;
14347
14679
 
14680
+ "sap/ushell/base/SAPBusinessClientEnablement": undefined;
14681
+
14682
+ "sap/ushell/base/UrlParsing": undefined;
14683
+
14348
14684
  "sap/ushell/bootstrap/Config": undefined;
14349
14685
 
14350
14686
  "sap/ushell/components/factsheet/controls/PictureTile": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.1
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace zen {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace zen {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace zen {