@sapui5/ts-types 1.122.2 → 1.123.1

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/index.d.ts +5 -5
  3. package/types/sap.apf.d.ts +1 -1
  4. package/types/sap.ca.ui.d.ts +404 -3
  5. package/types/sap.chart.d.ts +58 -3
  6. package/types/sap.collaboration.d.ts +52 -3
  7. package/types/sap.esh.search.ui.d.ts +2152 -2
  8. package/types/sap.f.d.ts +432 -46
  9. package/types/sap.fe.core.d.ts +20 -15
  10. package/types/sap.fe.macros.d.ts +1048 -21
  11. package/types/sap.fe.navigation.d.ts +1 -1
  12. package/types/sap.fe.placeholder.d.ts +1 -1
  13. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  14. package/types/sap.fe.templates.d.ts +8 -6
  15. package/types/sap.fe.test.d.ts +288 -7
  16. package/types/sap.fe.tools.d.ts +1 -1
  17. package/types/sap.feedback.ui.d.ts +1 -1
  18. package/types/sap.gantt.d.ts +1067 -15
  19. package/types/sap.insights.d.ts +4 -1
  20. package/types/{mobile-1.122.0-d.ts → sap.m.d.ts} +3962 -124
  21. package/types/sap.makit.d.ts +115 -2
  22. package/types/sap.me.d.ts +84 -2
  23. package/types/sap.ndc.d.ts +22 -1
  24. package/types/sap.ovp.d.ts +1 -1
  25. package/types/sap.rules.ui.d.ts +44 -8
  26. package/types/sap.sac.df.d.ts +111 -60
  27. package/types/sap.suite.ui.commons.d.ts +1148 -2174
  28. package/types/sap.suite.ui.generic.template.d.ts +10 -1
  29. package/types/sap.suite.ui.microchart.d.ts +190 -2
  30. package/types/sap.tnt.d.ts +46 -2
  31. package/types/sap.ui.codeeditor.d.ts +16 -1
  32. package/types/{commons-1.122.0-d.ts → sap.ui.commons.d.ts} +792 -30
  33. package/types/sap.ui.comp.d.ts +964 -86
  34. package/types/{core-1.122.0-d.ts → sap.ui.core.d.ts} +2194 -1540
  35. package/types/sap.ui.dt.d.ts +3 -0
  36. package/types/sap.ui.export.d.ts +22 -4
  37. package/types/sap.ui.fl.d.ts +40 -1
  38. package/types/sap.ui.generic.app.d.ts +217 -203
  39. package/types/sap.ui.generic.template.d.ts +1 -1
  40. package/types/sap.ui.integration.d.ts +147 -5
  41. package/types/sap.ui.layout.d.ts +171 -8
  42. package/types/sap.ui.mdc.d.ts +554 -33
  43. package/types/sap.ui.richtexteditor.d.ts +28 -2
  44. package/types/sap.ui.rta.d.ts +1 -1
  45. package/types/sap.ui.suite.d.ts +27 -2
  46. package/types/sap.ui.support.d.ts +1 -1
  47. package/types/sap.ui.table.d.ts +278 -57
  48. package/types/sap.ui.testrecorder.d.ts +1 -1
  49. package/types/sap.ui.unified.d.ts +481 -9
  50. package/types/{ux3-1.122.0-d.ts → sap.ui.ux3.d.ts} +527 -5
  51. package/types/sap.ui.vbm.d.ts +544 -2
  52. package/types/sap.ui.vk.d.ts +1580 -39
  53. package/types/sap.ui.vtm.d.ts +373 -2
  54. package/types/sap.ui.webc.common.d.ts +7 -2
  55. package/types/sap.ui.webc.fiori.d.ts +351 -2
  56. package/types/sap.ui.webc.main.d.ts +1035 -2
  57. package/types/sap.uiext.inbox.d.ts +124 -2
  58. package/types/sap.ushell.d.ts +1001 -322
  59. package/types/sap.ushell_abap.d.ts +1 -1
  60. package/types/sap.uxap.d.ts +123 -6
  61. package/types/sap.viz.d.ts +2619 -5
  62. package/types/sap.webanalytics.core.d.ts +1 -1
  63. package/types/sap.zen.commons.d.ts +35 -10
  64. package/types/sap.zen.crosstab.d.ts +22 -7
  65. package/types/sap.zen.dsh.d.ts +64 -8
  66. package/types/dt-1.122.0-d.ts +0 -3
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.122.0
1
+ // For Library Version: 1.123.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.122.0
1
+ // For Library Version: 1.123.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.122.0
1
+ // For Library Version: 1.123.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.122.0
1
+ // For Library Version: 1.123.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -18,25 +18,27 @@ declare namespace sap {
18
18
  */
19
19
  class ExtensionAPI extends sap.fe.core.ExtensionAPI {
20
20
  /**
21
- * This method converts filter conditions to filters.
21
+ * This method converts the filter conditions to filters.
22
22
  *
23
23
  *
24
- * @returns Object containing the converted FilterBar filters.
24
+ * @returns Object containing the converted FilterBar filters or undefined.
25
25
  */
26
26
  createFiltersFromFilterConditions(
27
27
  /**
28
28
  * Map containing the filter conditions of the FilterBar.
29
29
  */
30
30
  mFilterConditions: object
31
- ): object;
31
+ ): object | undefined;
32
32
  /**
33
33
  * Provides all the model filters from the filter bar that are currently active
34
34
  * along with the search expression.
35
35
  *
36
36
  *
37
- * @returns An array of active filters and the search expression.
37
+ * @returns An array of active filters and the search expression or undefined.
38
38
  */
39
- getFilters(): object;
39
+ getFilters(): /* was: sap.fe.macros.table.Utils.InternalBindingInfo */
40
+ | any
41
+ | undefined;
40
42
  /**
41
43
  * Gets the list entries currently selected for the displayed control.
42
44
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.122.0
1
+ // For Library Version: 1.123.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -3167,6 +3167,275 @@ declare namespace sap {
3167
3167
  }
3168
3168
  }
3169
3169
 
3170
+ /**
3171
+ * All common actions (`When`) for all Opa tests are defined here.
3172
+ */
3173
+ class BaseActions extends sap.ui.test.Opa5 {
3174
+ /**
3175
+ * Constructs a new {@link sap.fe.test.Opa5} instance.
3176
+ */
3177
+ constructor();
3178
+
3179
+ /**
3180
+ * Creates a new subclass of class sap.fe.test.BaseActions with name `sClassName` and enriches it with the
3181
+ * information contained in `oClassInfo`.
3182
+ *
3183
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.test.Opa5.extend}.
3184
+ *
3185
+ *
3186
+ * @returns Created class / constructor function
3187
+ */
3188
+ static extend<T extends Record<string, unknown>>(
3189
+ /**
3190
+ * Name of the class being created
3191
+ */
3192
+ sClassName: string,
3193
+ /**
3194
+ * Object literal with information about the class
3195
+ */
3196
+ oClassInfo?: sap.ClassInfo<T, sap.fe.test.BaseActions>,
3197
+ /**
3198
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3199
+ * used by this class
3200
+ */
3201
+ FNMetaImpl?: Function
3202
+ ): Function;
3203
+ /**
3204
+ * Returns a metadata object for class sap.fe.test.BaseActions.
3205
+ *
3206
+ *
3207
+ * @returns Metadata object describing this class
3208
+ */
3209
+ static getMetadata(): sap.ui.base.Metadata;
3210
+ /**
3211
+ * Closes the open popover via function.
3212
+ *
3213
+ * NOTE: This function ensures that a certain UI state is maintained in some exceptional cases. This function
3214
+ * isn't usually called directly in a journey.
3215
+ *
3216
+ *
3217
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3218
+ */
3219
+ iClosePopover(): /* was: sap.ui.test.OpaBuilder */ any;
3220
+ /**
3221
+ * Simulates the pressing of the Esc key for the element in focus.
3222
+ *
3223
+ *
3224
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3225
+ */
3226
+ iPressEscape(): /* was: sap.ui.test.OpaBuilder */ any;
3227
+ }
3228
+ /**
3229
+ * All common arrangements (`Given`) for all Opa tests are defined here.
3230
+ */
3231
+ class BaseArrangements extends sap.ui.test.Opa5 {
3232
+ /**
3233
+ * Constructs a new {@link sap.fe.test.Opa5} instance.
3234
+ */
3235
+ constructor(
3236
+ /**
3237
+ * The settings object required for launching the application
3238
+ */
3239
+ mSettings: {
3240
+ /**
3241
+ * The URL to the launching page (usually a FLP.html)
3242
+ */
3243
+ launchUrl: string;
3244
+ /**
3245
+ * The URL launch parameters
3246
+ */
3247
+ launchParameters: Record<string, string | boolean>;
3248
+ }
3249
+ );
3250
+
3251
+ /**
3252
+ * Creates a new subclass of class sap.fe.test.BaseArrangements with name `sClassName` and enriches it with
3253
+ * the information contained in `oClassInfo`.
3254
+ *
3255
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.test.Opa5.extend}.
3256
+ *
3257
+ *
3258
+ * @returns Created class / constructor function
3259
+ */
3260
+ static extend<T extends Record<string, unknown>>(
3261
+ /**
3262
+ * Name of the class being created
3263
+ */
3264
+ sClassName: string,
3265
+ /**
3266
+ * Object literal with information about the class
3267
+ */
3268
+ oClassInfo?: sap.ClassInfo<T, sap.fe.test.BaseArrangements>,
3269
+ /**
3270
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3271
+ * used by this class
3272
+ */
3273
+ FNMetaImpl?: Function
3274
+ ): Function;
3275
+ /**
3276
+ * Returns a metadata object for class sap.fe.test.BaseArrangements.
3277
+ *
3278
+ *
3279
+ * @returns Metadata object describing this class
3280
+ */
3281
+ static getMetadata(): sap.ui.base.Metadata;
3282
+ /**
3283
+ * Resets the mock data.
3284
+ *
3285
+ *
3286
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3287
+ */
3288
+ iResetMockData(
3289
+ /**
3290
+ * The application id or a uri pointing to the service. One of the following properties needs to be provided
3291
+ * within the parameter:
3292
+ * ```javascript
3293
+ *
3294
+ * {
3295
+ * :
3296
+ * :
3297
+ * }
3298
+ * ```
3299
+ * NOTE: When passing the AppId, the application needs to be running already. Calling the function
3300
+ * before the application is started can be done by passing the ServiceUri.
3301
+ */
3302
+ oAppInfo?: object
3303
+ ): /* was: sap.ui.test.OpaBuilder */ any;
3304
+ /**
3305
+ * Resets the test data.
3306
+ *
3307
+ *
3308
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3309
+ */
3310
+ iResetTestData(): /* was: sap.ui.test.OpaBuilder */ any;
3311
+ /**
3312
+ * Simulates a refresh of the page by tearing it down and then restarting it with the very same hash.
3313
+ *
3314
+ *
3315
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3316
+ */
3317
+ iRestartMyApp(): /* was: sap.ui.test.OpaBuilder */ any;
3318
+ /**
3319
+ * Starts the app in an IFrame, using the `launchUrl` and `launchParameters` provided via the settings object
3320
+ * of the {@link sap.fe.test.BaseArrangements#constructor}.
3321
+ *
3322
+ *
3323
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3324
+ */
3325
+ iStartMyApp(
3326
+ /**
3327
+ * The app hash
3328
+ */
3329
+ sAppHash?: string,
3330
+ /**
3331
+ * A map with additional URL parameters
3332
+ */
3333
+ mInUrlParameters?: object
3334
+ ): /* was: sap.ui.test.OpaBuilder */ any;
3335
+ /**
3336
+ * Tears down the current application.
3337
+ *
3338
+ *
3339
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3340
+ */
3341
+ iTearDownMyApp(): /* was: sap.ui.test.OpaBuilder */ any;
3342
+ /**
3343
+ * Clears the browser's local storage and session storage.
3344
+ *
3345
+ * NOTE: The function itself is not meant to be called directly within a journey. Instead, it can be overwritten
3346
+ * to add custom clean-up functionality when calling {@link sap.fe.test.BaseArrangements#iResetTestData}.
3347
+ *
3348
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
3349
+ *
3350
+ * @returns A `Promise` object
3351
+ */
3352
+ resetTestData(): Promise<any>;
3353
+ }
3354
+ /**
3355
+ * All common assertions (`Then`) for all Opa tests are defined here.
3356
+ */
3357
+ class BaseAssertions extends sap.ui.test.Opa5 {
3358
+ /**
3359
+ * Constructs a new {@link sap.fe.test.Opa5} instance.
3360
+ */
3361
+ constructor();
3362
+
3363
+ /**
3364
+ * Creates a new subclass of class sap.fe.test.BaseAssertions with name `sClassName` and enriches it with
3365
+ * the information contained in `oClassInfo`.
3366
+ *
3367
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.test.Opa5.extend}.
3368
+ *
3369
+ *
3370
+ * @returns Created class / constructor function
3371
+ */
3372
+ static extend<T extends Record<string, unknown>>(
3373
+ /**
3374
+ * Name of the class being created
3375
+ */
3376
+ sClassName: string,
3377
+ /**
3378
+ * Object literal with information about the class
3379
+ */
3380
+ oClassInfo?: sap.ClassInfo<T, sap.fe.test.BaseAssertions>,
3381
+ /**
3382
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3383
+ * used by this class
3384
+ */
3385
+ FNMetaImpl?: Function
3386
+ ): Function;
3387
+ /**
3388
+ * Returns a metadata object for class sap.fe.test.BaseAssertions.
3389
+ *
3390
+ *
3391
+ * @returns Metadata object describing this class
3392
+ */
3393
+ static getMetadata(): sap.ui.base.Metadata;
3394
+ /**
3395
+ * Checks whether a {@link sap.m.IllustratedMessage} with given message is shown.
3396
+ *
3397
+ *
3398
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3399
+ */
3400
+ iSeeIllustratedMessage(
3401
+ /**
3402
+ * The message shown on the page
3403
+ */
3404
+ sMessage: string
3405
+ ): /* was: sap.ui.test.OpaBuilder */ any;
3406
+ /**
3407
+ * Checks whether a {@link sap.m.MessagePage} with given message is shown.
3408
+ *
3409
+ * @deprecated (since 1.118) - use iSeePage() && iSeeIllustratedMessage(sMessage) instead
3410
+ *
3411
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3412
+ */
3413
+ iSeeMessagePage(
3414
+ /**
3415
+ * The message shown on the message page
3416
+ */
3417
+ sMessage: string
3418
+ ): /* was: sap.ui.test.OpaBuilder */ any;
3419
+ /**
3420
+ * Checks whether a {@link sap.m.MessageToast} with the given text is shown.
3421
+ *
3422
+ *
3423
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3424
+ */
3425
+ iSeeMessageToast(
3426
+ /**
3427
+ * The text shown in the MessageToast
3428
+ */
3429
+ sText: string
3430
+ ): /* was: sap.ui.test.OpaBuilder */ any;
3431
+ /**
3432
+ * Checks whether a {@link sap.m.Page} is shown.
3433
+ *
3434
+ *
3435
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3436
+ */
3437
+ iSeePage(): /* was: sap.ui.test.OpaBuilder */ any;
3438
+ }
3170
3439
  /**
3171
3440
  * A JourneyRunner for executing integration tests with given settings.
3172
3441
  */
@@ -3182,11 +3451,14 @@ declare namespace sap {
3182
3451
  /**
3183
3452
  * The available Opa pages
3184
3453
  */
3185
- pages?: object;
3454
+ pages?: Record<
3455
+ string,
3456
+ sap.fe.test.ListReport | sap.fe.test.ObjectPage
3457
+ >;
3186
3458
  /**
3187
3459
  * The Opa configuration applied via {@link sap.ui.test.Opa5#sap.ui.test.Opa5.extendConfig}
3188
3460
  */
3189
- opaConfig?: object;
3461
+ opaConfig?: sap.ui.test.Opa5.Config;
3190
3462
  /**
3191
3463
  * The URL to the launching page (usually a FLP.html)
3192
3464
  */
@@ -3194,7 +3466,7 @@ declare namespace sap {
3194
3466
  /**
3195
3467
  * The URL launch parameters
3196
3468
  */
3197
- launchParameters?: object;
3469
+ launchParameters?: Record<string, string | boolean>;
3198
3470
  /**
3199
3471
  * If false (default), only one JourneyRunner is executed at a time
3200
3472
  */
@@ -3319,11 +3591,14 @@ declare namespace sap {
3319
3591
  /**
3320
3592
  * The available Opa pages
3321
3593
  */
3322
- pages?: object;
3594
+ pages?: Record<
3595
+ string,
3596
+ sap.fe.test.ListReport | sap.fe.test.ObjectPage
3597
+ >;
3323
3598
  /**
3324
3599
  * The Opa configuration applied via {@link sap.ui.test.Opa5#sap.ui.test.Opa5.extendConfig}
3325
3600
  */
3326
- opaConfig?: object;
3601
+ opaConfig?: sap.ui.test.Opa5.Config;
3327
3602
  /**
3328
3603
  * The URL to the launching page (usually a FLP.html)
3329
3604
  */
@@ -3331,7 +3606,7 @@ declare namespace sap {
3331
3606
  /**
3332
3607
  * The URL launch parameters
3333
3608
  */
3334
- launchParameters?: object;
3609
+ launchParameters?: Record<string, string | boolean>;
3335
3610
  /**
3336
3611
  * If false (default), only one JourneyRunner is executed at a time
3337
3612
  */
@@ -3614,6 +3889,12 @@ declare namespace sap {
3614
3889
 
3615
3890
  "sap/fe/test/api/TableAssertions": undefined;
3616
3891
 
3892
+ "sap/fe/test/BaseActions": undefined;
3893
+
3894
+ "sap/fe/test/BaseArrangements": undefined;
3895
+
3896
+ "sap/fe/test/BaseAssertions": undefined;
3897
+
3617
3898
  "sap/fe/test/JourneyRunner": undefined;
3618
3899
 
3619
3900
  "sap/fe/test/library": undefined;
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.122.0
1
+ // For Library Version: 1.123.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.122.0
1
+ // For Library Version: 1.123.0
2
2
 
3
3
  declare namespace sap {}