@sapui5/types 1.122.1 → 1.123.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/index.d.ts +7 -7
  3. package/types/sap.apf.d.ts +1 -1
  4. package/types/sap.ca.ui.d.ts +408 -32
  5. package/types/sap.chart.d.ts +58 -6
  6. package/types/sap.collaboration.d.ts +52 -9
  7. package/types/sap.esh.search.ui.d.ts +2066 -2
  8. package/types/sap.f.d.ts +435 -98
  9. package/types/sap.fe.core.d.ts +9 -3
  10. package/types/sap.fe.macros.d.ts +1075 -70
  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 +309 -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 +1066 -146
  19. package/types/sap.insights.d.ts +4 -2
  20. package/types/{mobile-1.122.0-esm-d.ts → sap.m.d.ts} +3961 -399
  21. package/types/sap.makit.d.ts +115 -14
  22. package/types/sap.me.d.ts +84 -7
  23. package/types/sap.ndc.d.ts +22 -2
  24. package/types/sap.ovp.d.ts +1 -1
  25. package/types/sap.rules.ui.d.ts +44 -11
  26. package/types/sap.sac.df.d.ts +119 -67
  27. package/types/sap.suite.ui.commons.d.ts +1146 -2474
  28. package/types/sap.suite.ui.generic.template.d.ts +10 -2
  29. package/types/sap.suite.ui.microchart.d.ts +190 -28
  30. package/types/{tnt-1.122.0-esm-d.ts → sap.tnt.d.ts} +46 -10
  31. package/types/sap.ui.codeeditor.d.ts +16 -2
  32. package/types/{commons-1.122.0-esm-d.ts → sap.ui.commons.d.ts} +797 -121
  33. package/types/sap.ui.comp.d.ts +964 -124
  34. package/types/{core-1.122.0-esm-d.ts → sap.ui.core.d.ts} +13204 -12618
  35. package/types/sap.ui.dt.d.ts +3 -0
  36. package/types/sap.ui.export.d.ts +22 -5
  37. package/types/sap.ui.fl.d.ts +40 -3
  38. package/types/sap.ui.generic.app.d.ts +217 -201
  39. package/types/sap.ui.generic.template.d.ts +1 -1
  40. package/types/sap.ui.integration.d.ts +147 -9
  41. package/types/sap.ui.layout.d.ts +171 -47
  42. package/types/{mdc-1.122.0-esm-d.ts → sap.ui.mdc.d.ts} +554 -71
  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 -3
  46. package/types/sap.ui.support.d.ts +1 -1
  47. package/types/sap.ui.table.d.ts +278 -74
  48. package/types/sap.ui.testrecorder.d.ts +1 -1
  49. package/types/sap.ui.unified.d.ts +481 -42
  50. package/types/{ux3-1.122.0-esm-d.ts → sap.ui.ux3.d.ts} +527 -34
  51. package/types/sap.ui.vbm.d.ts +544 -48
  52. package/types/sap.ui.vk.d.ts +1588 -133
  53. package/types/sap.ui.vtm.d.ts +373 -27
  54. package/types/sap.ui.webc.common.d.ts +7 -1
  55. package/types/sap.ui.webc.fiori.d.ts +351 -29
  56. package/types/sap.ui.webc.main.d.ts +1035 -83
  57. package/types/sap.uiext.inbox.d.ts +124 -13
  58. package/types/sap.ushell.d.ts +1081 -383
  59. package/types/sap.ushell_abap.d.ts +1 -1
  60. package/types/sap.uxap.d.ts +123 -23
  61. package/types/sap.viz.d.ts +2619 -130
  62. package/types/sap.webanalytics.core.d.ts +1 -1
  63. package/types/sap.zen.commons.d.ts +35 -15
  64. package/types/sap.zen.crosstab.d.ts +22 -10
  65. package/types/sap.zen.dsh.d.ts +64 -9
  66. package/types/dt-1.122.0-esm-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 module "sap/fe/navigation/library" {
4
4
  /**
@@ -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 module "sap/fe/plugins/managecache/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.122.0
1
+ // For Library Version: 1.123.0
2
2
 
3
3
  declare module "sap/fe/templates/library" {}
4
4
 
@@ -18,25 +18,27 @@ declare module "sap/fe/templates/ListReport/ExtensionAPI" {
18
18
  */
19
19
  export default class ExtensionAPI extends ExtensionAPI1 {
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 module "sap/fe/test/library" {}
4
4
 
@@ -2879,9 +2879,305 @@ declare module "sap/fe/test/api/TableAssertions" {
2879
2879
  }
2880
2880
  }
2881
2881
 
2882
+ declare module "sap/fe/test/BaseActions" {
2883
+ import Opa5 from "sap/ui/test/Opa5";
2884
+
2885
+ import Metadata from "sap/ui/base/Metadata";
2886
+
2887
+ /**
2888
+ * All common actions (`When`) for all Opa tests are defined here.
2889
+ */
2890
+ export default class BaseActions extends Opa5 {
2891
+ /**
2892
+ * Constructs a new {@link sap.fe.test.Opa5} instance.
2893
+ */
2894
+ constructor();
2895
+
2896
+ /**
2897
+ * Creates a new subclass of class sap.fe.test.BaseActions with name `sClassName` and enriches it with the
2898
+ * information contained in `oClassInfo`.
2899
+ *
2900
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.test.Opa5.extend}.
2901
+ *
2902
+ *
2903
+ * @returns Created class / constructor function
2904
+ */
2905
+ static extend<T extends Record<string, unknown>>(
2906
+ /**
2907
+ * Name of the class being created
2908
+ */
2909
+ sClassName: string,
2910
+ /**
2911
+ * Object literal with information about the class
2912
+ */
2913
+ oClassInfo?: sap.ClassInfo<T, BaseActions>,
2914
+ /**
2915
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
2916
+ * used by this class
2917
+ */
2918
+ FNMetaImpl?: Function
2919
+ ): Function;
2920
+ /**
2921
+ * Returns a metadata object for class sap.fe.test.BaseActions.
2922
+ *
2923
+ *
2924
+ * @returns Metadata object describing this class
2925
+ */
2926
+ static getMetadata(): Metadata;
2927
+ /**
2928
+ * Closes the open popover via function.
2929
+ *
2930
+ * NOTE: This function ensures that a certain UI state is maintained in some exceptional cases. This function
2931
+ * isn't usually called directly in a journey.
2932
+ *
2933
+ *
2934
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
2935
+ */
2936
+ iClosePopover(): /* was: sap.ui.test.OpaBuilder */ any;
2937
+ /**
2938
+ * Simulates the pressing of the Esc key for the element in focus.
2939
+ *
2940
+ *
2941
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
2942
+ */
2943
+ iPressEscape(): /* was: sap.ui.test.OpaBuilder */ any;
2944
+ }
2945
+ }
2946
+
2947
+ declare module "sap/fe/test/BaseArrangements" {
2948
+ import Opa5 from "sap/ui/test/Opa5";
2949
+
2950
+ import Metadata from "sap/ui/base/Metadata";
2951
+
2952
+ /**
2953
+ * All common arrangements (`Given`) for all Opa tests are defined here.
2954
+ */
2955
+ export default class BaseArrangements extends Opa5 {
2956
+ /**
2957
+ * Constructs a new {@link sap.fe.test.Opa5} instance.
2958
+ */
2959
+ constructor(
2960
+ /**
2961
+ * The settings object required for launching the application
2962
+ */
2963
+ mSettings: {
2964
+ /**
2965
+ * The URL to the launching page (usually a FLP.html)
2966
+ */
2967
+ launchUrl: string;
2968
+ /**
2969
+ * The URL launch parameters
2970
+ */
2971
+ launchParameters: Record<string, string | boolean>;
2972
+ }
2973
+ );
2974
+
2975
+ /**
2976
+ * Creates a new subclass of class sap.fe.test.BaseArrangements with name `sClassName` and enriches it with
2977
+ * the information contained in `oClassInfo`.
2978
+ *
2979
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.test.Opa5.extend}.
2980
+ *
2981
+ *
2982
+ * @returns Created class / constructor function
2983
+ */
2984
+ static extend<T extends Record<string, unknown>>(
2985
+ /**
2986
+ * Name of the class being created
2987
+ */
2988
+ sClassName: string,
2989
+ /**
2990
+ * Object literal with information about the class
2991
+ */
2992
+ oClassInfo?: sap.ClassInfo<T, BaseArrangements>,
2993
+ /**
2994
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
2995
+ * used by this class
2996
+ */
2997
+ FNMetaImpl?: Function
2998
+ ): Function;
2999
+ /**
3000
+ * Returns a metadata object for class sap.fe.test.BaseArrangements.
3001
+ *
3002
+ *
3003
+ * @returns Metadata object describing this class
3004
+ */
3005
+ static getMetadata(): Metadata;
3006
+ /**
3007
+ * Resets the mock data.
3008
+ *
3009
+ *
3010
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3011
+ */
3012
+ iResetMockData(
3013
+ /**
3014
+ * The application id or a uri pointing to the service. One of the following properties needs to be provided
3015
+ * within the parameter:
3016
+ * ```javascript
3017
+ *
3018
+ * {
3019
+ * :
3020
+ * :
3021
+ * }
3022
+ * ```
3023
+ * NOTE: When passing the AppId, the application needs to be running already. Calling the function
3024
+ * before the application is started can be done by passing the ServiceUri.
3025
+ */
3026
+ oAppInfo?: object
3027
+ ): /* was: sap.ui.test.OpaBuilder */ any;
3028
+ /**
3029
+ * Resets the test data.
3030
+ *
3031
+ *
3032
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3033
+ */
3034
+ iResetTestData(): /* was: sap.ui.test.OpaBuilder */ any;
3035
+ /**
3036
+ * Simulates a refresh of the page by tearing it down and then restarting it with the very same hash.
3037
+ *
3038
+ *
3039
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3040
+ */
3041
+ iRestartMyApp(): /* was: sap.ui.test.OpaBuilder */ any;
3042
+ /**
3043
+ * Starts the app in an IFrame, using the `launchUrl` and `launchParameters` provided via the settings object
3044
+ * of the {@link sap.fe.test.BaseArrangements#constructor}.
3045
+ *
3046
+ *
3047
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3048
+ */
3049
+ iStartMyApp(
3050
+ /**
3051
+ * The app hash
3052
+ */
3053
+ sAppHash?: string,
3054
+ /**
3055
+ * A map with additional URL parameters
3056
+ */
3057
+ mInUrlParameters?: object
3058
+ ): /* was: sap.ui.test.OpaBuilder */ any;
3059
+ /**
3060
+ * Tears down the current application.
3061
+ *
3062
+ *
3063
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3064
+ */
3065
+ iTearDownMyApp(): /* was: sap.ui.test.OpaBuilder */ any;
3066
+ /**
3067
+ * Clears the browser's local storage and session storage.
3068
+ *
3069
+ * NOTE: The function itself is not meant to be called directly within a journey. Instead, it can be overwritten
3070
+ * to add custom clean-up functionality when calling {@link sap.fe.test.BaseArrangements#iResetTestData}.
3071
+ *
3072
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
3073
+ *
3074
+ * @returns A `Promise` object
3075
+ */
3076
+ resetTestData(): Promise<any>;
3077
+ }
3078
+ }
3079
+
3080
+ declare module "sap/fe/test/BaseAssertions" {
3081
+ import Opa5 from "sap/ui/test/Opa5";
3082
+
3083
+ import Metadata from "sap/ui/base/Metadata";
3084
+
3085
+ /**
3086
+ * All common assertions (`Then`) for all Opa tests are defined here.
3087
+ */
3088
+ export default class BaseAssertions extends Opa5 {
3089
+ /**
3090
+ * Constructs a new {@link sap.fe.test.Opa5} instance.
3091
+ */
3092
+ constructor();
3093
+
3094
+ /**
3095
+ * Creates a new subclass of class sap.fe.test.BaseAssertions with name `sClassName` and enriches it with
3096
+ * the information contained in `oClassInfo`.
3097
+ *
3098
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.test.Opa5.extend}.
3099
+ *
3100
+ *
3101
+ * @returns Created class / constructor function
3102
+ */
3103
+ static extend<T extends Record<string, unknown>>(
3104
+ /**
3105
+ * Name of the class being created
3106
+ */
3107
+ sClassName: string,
3108
+ /**
3109
+ * Object literal with information about the class
3110
+ */
3111
+ oClassInfo?: sap.ClassInfo<T, BaseAssertions>,
3112
+ /**
3113
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
3114
+ * used by this class
3115
+ */
3116
+ FNMetaImpl?: Function
3117
+ ): Function;
3118
+ /**
3119
+ * Returns a metadata object for class sap.fe.test.BaseAssertions.
3120
+ *
3121
+ *
3122
+ * @returns Metadata object describing this class
3123
+ */
3124
+ static getMetadata(): Metadata;
3125
+ /**
3126
+ * Checks whether a {@link sap.m.IllustratedMessage} with given message is shown.
3127
+ *
3128
+ *
3129
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3130
+ */
3131
+ iSeeIllustratedMessage(
3132
+ /**
3133
+ * The message shown on the page
3134
+ */
3135
+ sMessage: string
3136
+ ): /* was: sap.ui.test.OpaBuilder */ any;
3137
+ /**
3138
+ * Checks whether a {@link sap.m.MessagePage} with given message is shown.
3139
+ *
3140
+ * @deprecated (since 1.118) - use iSeePage() && iSeeIllustratedMessage(sMessage) instead
3141
+ *
3142
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3143
+ */
3144
+ iSeeMessagePage(
3145
+ /**
3146
+ * The message shown on the message page
3147
+ */
3148
+ sMessage: string
3149
+ ): /* was: sap.ui.test.OpaBuilder */ any;
3150
+ /**
3151
+ * Checks whether a {@link sap.m.MessageToast} with the given text is shown.
3152
+ *
3153
+ *
3154
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3155
+ */
3156
+ iSeeMessageToast(
3157
+ /**
3158
+ * The text shown in the MessageToast
3159
+ */
3160
+ sText: string
3161
+ ): /* was: sap.ui.test.OpaBuilder */ any;
3162
+ /**
3163
+ * Checks whether a {@link sap.m.Page} is shown.
3164
+ *
3165
+ *
3166
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
3167
+ */
3168
+ iSeePage(): /* was: sap.ui.test.OpaBuilder */ any;
3169
+ }
3170
+ }
3171
+
2882
3172
  declare module "sap/fe/test/JourneyRunner" {
2883
3173
  import BaseObject from "sap/ui/base/Object";
2884
3174
 
3175
+ import ListReport from "sap/fe/test/ListReport";
3176
+
3177
+ import ObjectPage from "sap/fe/test/ObjectPage";
3178
+
3179
+ import { Config } from "sap/ui/test/Opa5";
3180
+
2885
3181
  import Opa from "sap/ui/test/Opa";
2886
3182
 
2887
3183
  import Metadata from "sap/ui/base/Metadata";
@@ -2901,11 +3197,11 @@ declare module "sap/fe/test/JourneyRunner" {
2901
3197
  /**
2902
3198
  * The available Opa pages
2903
3199
  */
2904
- pages?: object;
3200
+ pages?: Record<string, ListReport | ObjectPage>;
2905
3201
  /**
2906
3202
  * The Opa configuration applied via {@link sap.ui.test.Opa5#sap.ui.test.Opa5.extendConfig}
2907
3203
  */
2908
- opaConfig?: object;
3204
+ opaConfig?: Config;
2909
3205
  /**
2910
3206
  * The URL to the launching page (usually a FLP.html)
2911
3207
  */
@@ -2913,7 +3209,7 @@ declare module "sap/fe/test/JourneyRunner" {
2913
3209
  /**
2914
3210
  * The URL launch parameters
2915
3211
  */
2916
- launchParameters?: object;
3212
+ launchParameters?: Record<string, string | boolean>;
2917
3213
  /**
2918
3214
  * If false (default), only one JourneyRunner is executed at a time
2919
3215
  */
@@ -3038,11 +3334,11 @@ declare module "sap/fe/test/JourneyRunner" {
3038
3334
  /**
3039
3335
  * The available Opa pages
3040
3336
  */
3041
- pages?: object;
3337
+ pages?: Record<string, ListReport | ObjectPage>;
3042
3338
  /**
3043
3339
  * The Opa configuration applied via {@link sap.ui.test.Opa5#sap.ui.test.Opa5.extendConfig}
3044
3340
  */
3045
- opaConfig?: object;
3341
+ opaConfig?: Config;
3046
3342
  /**
3047
3343
  * The URL to the launching page (usually a FLP.html)
3048
3344
  */
@@ -3050,7 +3346,7 @@ declare module "sap/fe/test/JourneyRunner" {
3050
3346
  /**
3051
3347
  * The URL launch parameters
3052
3348
  */
3053
- launchParameters?: object;
3349
+ launchParameters?: Record<string, string | boolean>;
3054
3350
  /**
3055
3351
  * If false (default), only one JourneyRunner is executed at a time
3056
3352
  */
@@ -3853,6 +4149,12 @@ declare namespace sap {
3853
4149
 
3854
4150
  "sap/fe/test/api/TableAssertions": undefined;
3855
4151
 
4152
+ "sap/fe/test/BaseActions": undefined;
4153
+
4154
+ "sap/fe/test/BaseArrangements": undefined;
4155
+
4156
+ "sap/fe/test/BaseAssertions": undefined;
4157
+
3856
4158
  "sap/fe/test/JourneyRunner": undefined;
3857
4159
 
3858
4160
  "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 {}