@openui5/ts-types 1.99.1 → 1.102.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.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.99.1
1
+ // For Library Version: 1.102.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -52,6 +52,8 @@ declare namespace sap {
52
52
 
53
53
  "sap/ui/mdc/enum/PersistenceMode": undefined;
54
54
 
55
+ "sap/ui/mdc/enum/PropagationReason": undefined;
56
+
55
57
  "sap/ui/mdc/enum/SelectType": undefined;
56
58
 
57
59
  "sap/ui/mdc/Field": undefined;
@@ -118,10 +120,18 @@ declare namespace sap {
118
120
 
119
121
  "sap/ui/mdc/FilterBar": undefined;
120
122
 
123
+ "sap/ui/mdc/filterbar/aligned/FilterContainer": undefined;
124
+
125
+ "sap/ui/mdc/filterbar/aligned/FilterItemLayout": undefined;
126
+
121
127
  "sap/ui/mdc/filterbar/FilterBarBase": undefined;
122
128
 
123
129
  "sap/ui/mdc/filterbar/vh/CollectiveSearchSelect": undefined;
124
130
 
131
+ "sap/ui/mdc/filterbar/vh/FilterBar": undefined;
132
+
133
+ "sap/ui/mdc/filterbar/vh/FilterContainer": undefined;
134
+
125
135
  "sap/ui/mdc/FilterBarDelegate": undefined;
126
136
 
127
137
  "sap/ui/mdc/FilterField": undefined;
@@ -140,6 +150,8 @@ declare namespace sap {
140
150
 
141
151
  "sap/ui/mdc/mixin/PromiseMixin": undefined;
142
152
 
153
+ "sap/ui/mdc/mixin/PropertyHelperMixin": undefined;
154
+
143
155
  "sap/ui/mdc/MultiValueField": undefined;
144
156
 
145
157
  "sap/ui/mdc/odata/v4/FieldBaseDelegate": undefined;
@@ -148,6 +160,8 @@ declare namespace sap {
148
160
 
149
161
  "sap/ui/mdc/odata/v4/TableDelegate": undefined;
150
162
 
163
+ "sap/ui/mdc/odata/v4/ValueHelpDelegate": undefined;
164
+
151
165
  "sap/ui/mdc/p13n/AdaptationProvider": undefined;
152
166
 
153
167
  "sap/ui/mdc/p13n/Engine": undefined;
@@ -174,6 +188,8 @@ declare namespace sap {
174
188
 
175
189
  "sap/ui/mdc/table/ResponsiveTableType": undefined;
176
190
 
191
+ "sap/ui/mdc/table/RowActionItem": undefined;
192
+
177
193
  "sap/ui/mdc/table/RowSettings": undefined;
178
194
 
179
195
  "sap/ui/mdc/table/TableTypeBase": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.99.1
1
+ // For Library Version: 1.102.0
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -8,6 +8,8 @@ declare module "sap/ui/rta/api/startAdaptation" {
8
8
  * Starts UI adaptation, initiated for an application at the passed root control instance. With this API
9
9
  * you are also able to modify the UI adaptation plugins list and or add some event handler functions to
10
10
  * be called on start, failed and stop events.
11
+ *
12
+ * @returns Resolves when UI adaptation was successfully started
11
13
  */
12
14
  export default function startAdaptation(
13
15
  /**
@@ -59,6 +61,8 @@ declare module "sap/ui/rta/api/startKeyUserAdaptation" {
59
61
  *
60
62
  * Starts key user adaptation, initiated for an application at the passed root control instance. It subsequently
61
63
  * extends to all valid child controls.
64
+ *
65
+ * @returns Resolves when UI adaptation was successfully started
62
66
  */
63
67
  export default function startKeyUserAdaptation(
64
68
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.99.1
1
+ // For Library Version: 1.102.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -13,24 +13,34 @@ declare namespace sap {
13
13
  * Current value of the task circle to be displayed. In dependency of the parameters maxValue and minValue
14
14
  * it controls the size of the circle.
15
15
  */
16
- value?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
16
+ value?:
17
+ | int
18
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
19
+ | `{${string}}`;
17
20
 
18
21
  /**
19
22
  * Upper limit of the displayed values. Default is 100.
20
23
  */
21
- maxValue?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
24
+ maxValue?:
25
+ | int
26
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
27
+ | `{${string}}`;
22
28
 
23
29
  /**
24
30
  * Lower limit of the displayed values. Default is 0.
25
31
  */
26
- minValue?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
32
+ minValue?:
33
+ | int
34
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
35
+ | `{${string}}`;
27
36
 
28
37
  /**
29
38
  * Color of the circle. The default color is red.
30
39
  */
31
40
  color?:
32
41
  | sap.ui.suite.TaskCircleColor
33
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
42
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
43
+ | `{${string}}`;
34
44
 
35
45
  /**
36
46
  * Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
@@ -54,7 +64,10 @@ declare namespace sap {
54
64
  * The numerical value between 0 and 100 which determines the height of the vertical bar. Values higher
55
65
  * than 100 will be displayed as 100%, values lower than zero will be displayed as 0%.
56
66
  */
57
- percentage?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
67
+ percentage?:
68
+ | int
69
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
70
+ | `{${string}}`;
58
71
 
59
72
  /**
60
73
  * Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
@@ -114,6 +127,8 @@ declare namespace sap {
114
127
  * information contained in `oClassInfo`.
115
128
  *
116
129
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
130
+ *
131
+ * @returns Created class / constructor function
117
132
  */
118
133
  static extend<T extends Record<string, unknown>>(
119
134
  /**
@@ -132,10 +147,14 @@ declare namespace sap {
132
147
  ): Function;
133
148
  /**
134
149
  * Returns a metadata object for class sap.ui.suite.TaskCircle.
150
+ *
151
+ * @returns Metadata object describing this class
135
152
  */
136
153
  static getMetadata(): sap.ui.core.ElementMetadata;
137
154
  /**
138
155
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
156
+ *
157
+ * @returns Reference to `this` in order to allow method chaining
139
158
  */
140
159
  addAriaDescribedBy(
141
160
  /**
@@ -145,6 +164,8 @@ declare namespace sap {
145
164
  ): this;
146
165
  /**
147
166
  * Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
167
+ *
168
+ * @returns Reference to `this` in order to allow method chaining
148
169
  */
149
170
  addAriaLabelledBy(
150
171
  /**
@@ -159,6 +180,8 @@ declare namespace sap {
159
180
  * otherwise it will be bound to this `sap.ui.suite.TaskCircle` itself.
160
181
  *
161
182
  * Event is fired when the user clicks the control.
183
+ *
184
+ * @returns Reference to `this` in order to allow method chaining
162
185
  */
163
186
  attachPress(
164
187
  /**
@@ -182,6 +205,8 @@ declare namespace sap {
182
205
  * otherwise it will be bound to this `sap.ui.suite.TaskCircle` itself.
183
206
  *
184
207
  * Event is fired when the user clicks the control.
208
+ *
209
+ * @returns Reference to `this` in order to allow method chaining
185
210
  */
186
211
  attachPress(
187
212
  /**
@@ -197,6 +222,8 @@ declare namespace sap {
197
222
  * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.ui.suite.TaskCircle`.
198
223
  *
199
224
  * The passed function and listener object must match the ones used for event registration.
225
+ *
226
+ * @returns Reference to `this` in order to allow method chaining
200
227
  */
201
228
  detachPress(
202
229
  /**
@@ -210,6 +237,8 @@ declare namespace sap {
210
237
  ): this;
211
238
  /**
212
239
  * Fires event {@link #event:press press} to attached listeners.
240
+ *
241
+ * @returns Reference to `this` in order to allow method chaining
213
242
  */
214
243
  firePress(
215
244
  /**
@@ -237,6 +266,8 @@ declare namespace sap {
237
266
  * Color of the circle. The default color is red.
238
267
  *
239
268
  * Default value is `Gray`.
269
+ *
270
+ * @returns Value of property `color`
240
271
  */
241
272
  getColor(): sap.ui.suite.TaskCircleColor;
242
273
  /**
@@ -245,6 +276,8 @@ declare namespace sap {
245
276
  * Upper limit of the displayed values. Default is 100.
246
277
  *
247
278
  * Default value is `100`.
279
+ *
280
+ * @returns Value of property `maxValue`
248
281
  */
249
282
  getMaxValue(): int;
250
283
  /**
@@ -253,6 +286,8 @@ declare namespace sap {
253
286
  * Lower limit of the displayed values. Default is 0.
254
287
  *
255
288
  * Default value is `0`.
289
+ *
290
+ * @returns Value of property `minValue`
256
291
  */
257
292
  getMinValue(): int;
258
293
  /**
@@ -262,18 +297,26 @@ declare namespace sap {
262
297
  * it controls the size of the circle.
263
298
  *
264
299
  * Default value is `0`.
300
+ *
301
+ * @returns Value of property `value`
265
302
  */
266
303
  getValue(): int;
267
304
  /**
268
305
  * Removes all the controls in the association named {@link #getAriaDescribedBy ariaDescribedBy}.
306
+ *
307
+ * @returns An array of the removed elements (might be empty)
269
308
  */
270
309
  removeAllAriaDescribedBy(): sap.ui.core.ID[];
271
310
  /**
272
311
  * Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
312
+ *
313
+ * @returns An array of the removed elements (might be empty)
273
314
  */
274
315
  removeAllAriaLabelledBy(): sap.ui.core.ID[];
275
316
  /**
276
317
  * Removes an ariaDescribedBy from the association named {@link #getAriaDescribedBy ariaDescribedBy}.
318
+ *
319
+ * @returns The removed ariaDescribedBy or `null`
277
320
  */
278
321
  removeAriaDescribedBy(
279
322
  /**
@@ -283,6 +326,8 @@ declare namespace sap {
283
326
  ): sap.ui.core.ID;
284
327
  /**
285
328
  * Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
329
+ *
330
+ * @returns The removed ariaLabelledBy or `null`
286
331
  */
287
332
  removeAriaLabelledBy(
288
333
  /**
@@ -298,6 +343,8 @@ declare namespace sap {
298
343
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
299
344
  *
300
345
  * Default value is `Gray`.
346
+ *
347
+ * @returns Reference to `this` in order to allow method chaining
301
348
  */
302
349
  setColor(
303
350
  /**
@@ -313,6 +360,8 @@ declare namespace sap {
313
360
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
314
361
  *
315
362
  * Default value is `100`.
363
+ *
364
+ * @returns Reference to `this` in order to allow method chaining
316
365
  */
317
366
  setMaxValue(
318
367
  /**
@@ -328,6 +377,8 @@ declare namespace sap {
328
377
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
329
378
  *
330
379
  * Default value is `0`.
380
+ *
381
+ * @returns Reference to `this` in order to allow method chaining
331
382
  */
332
383
  setMinValue(
333
384
  /**
@@ -344,6 +395,8 @@ declare namespace sap {
344
395
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
345
396
  *
346
397
  * Default value is `0`.
398
+ *
399
+ * @returns Reference to `this` in order to allow method chaining
347
400
  */
348
401
  setValue(
349
402
  /**
@@ -395,6 +448,8 @@ declare namespace sap {
395
448
  * it with the information contained in `oClassInfo`.
396
449
  *
397
450
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
451
+ *
452
+ * @returns Created class / constructor function
398
453
  */
399
454
  static extend<T extends Record<string, unknown>>(
400
455
  /**
@@ -413,10 +468,14 @@ declare namespace sap {
413
468
  ): Function;
414
469
  /**
415
470
  * Returns a metadata object for class sap.ui.suite.VerticalProgressIndicator.
471
+ *
472
+ * @returns Metadata object describing this class
416
473
  */
417
474
  static getMetadata(): sap.ui.core.ElementMetadata;
418
475
  /**
419
476
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
477
+ *
478
+ * @returns Reference to `this` in order to allow method chaining
420
479
  */
421
480
  addAriaDescribedBy(
422
481
  /**
@@ -426,6 +485,8 @@ declare namespace sap {
426
485
  ): this;
427
486
  /**
428
487
  * Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
488
+ *
489
+ * @returns Reference to `this` in order to allow method chaining
429
490
  */
430
491
  addAriaLabelledBy(
431
492
  /**
@@ -440,6 +501,8 @@ declare namespace sap {
440
501
  * otherwise it will be bound to this `sap.ui.suite.VerticalProgressIndicator` itself.
441
502
  *
442
503
  * Event is fired when the user clicks the control.
504
+ *
505
+ * @returns Reference to `this` in order to allow method chaining
443
506
  */
444
507
  attachPress(
445
508
  /**
@@ -464,6 +527,8 @@ declare namespace sap {
464
527
  * otherwise it will be bound to this `sap.ui.suite.VerticalProgressIndicator` itself.
465
528
  *
466
529
  * Event is fired when the user clicks the control.
530
+ *
531
+ * @returns Reference to `this` in order to allow method chaining
467
532
  */
468
533
  attachPress(
469
534
  /**
@@ -480,6 +545,8 @@ declare namespace sap {
480
545
  * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.ui.suite.VerticalProgressIndicator`.
481
546
  *
482
547
  * The passed function and listener object must match the ones used for event registration.
548
+ *
549
+ * @returns Reference to `this` in order to allow method chaining
483
550
  */
484
551
  detachPress(
485
552
  /**
@@ -493,6 +560,8 @@ declare namespace sap {
493
560
  ): this;
494
561
  /**
495
562
  * Fires event {@link #event:press press} to attached listeners.
563
+ *
564
+ * @returns Reference to `this` in order to allow method chaining
496
565
  */
497
566
  firePress(
498
567
  /**
@@ -519,18 +588,26 @@ declare namespace sap {
519
588
  *
520
589
  * The numerical value between 0 and 100 which determines the height of the vertical bar. Values higher
521
590
  * than 100 will be displayed as 100%, values lower than zero will be displayed as 0%.
591
+ *
592
+ * @returns Value of property `percentage`
522
593
  */
523
594
  getPercentage(): int;
524
595
  /**
525
596
  * Removes all the controls in the association named {@link #getAriaDescribedBy ariaDescribedBy}.
597
+ *
598
+ * @returns An array of the removed elements (might be empty)
526
599
  */
527
600
  removeAllAriaDescribedBy(): sap.ui.core.ID[];
528
601
  /**
529
602
  * Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
603
+ *
604
+ * @returns An array of the removed elements (might be empty)
530
605
  */
531
606
  removeAllAriaLabelledBy(): sap.ui.core.ID[];
532
607
  /**
533
608
  * Removes an ariaDescribedBy from the association named {@link #getAriaDescribedBy ariaDescribedBy}.
609
+ *
610
+ * @returns The removed ariaDescribedBy or `null`
534
611
  */
535
612
  removeAriaDescribedBy(
536
613
  /**
@@ -540,6 +617,8 @@ declare namespace sap {
540
617
  ): sap.ui.core.ID;
541
618
  /**
542
619
  * Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
620
+ *
621
+ * @returns The removed ariaLabelledBy or `null`
543
622
  */
544
623
  removeAriaLabelledBy(
545
624
  /**
@@ -551,6 +630,8 @@ declare namespace sap {
551
630
  * Property setter for the Percentage, which determines the height of the vertical bar. Values higher than
552
631
  * 100 will be displayed as 100%, values lower than zero will be displayed as 0%. A new rendering is not
553
632
  * necessary, only the bar will be moved
633
+ *
634
+ * @returns `this` to allow method chaining
554
635
  */
555
636
  setPercentage(iPercentage: int): this;
556
637
  }
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.99.1
1
+ // For Library Version: 1.102.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -13,12 +13,6 @@ declare namespace sap {
13
13
  namespace support {
14
14
  export const CoreFacade: undefined;
15
15
 
16
- /**
17
- * Overview: These channels enable the user to hook to the {@link sap.ui.support.WindowCommunicationBus
18
- * } Usage: These channels are used for communication with Main.
19
- */
20
- export const WCBChannels: undefined;
21
-
22
16
  /**
23
17
  * Creates a RuleSet. The RuleSet can store multiple rules concerning namespaces. Usage: The RuleSet is
24
18
  * an interface used to create, update and delete rulesets.
@@ -26,6 +20,8 @@ declare namespace sap {
26
20
  namespace RuleSet {
27
21
  /**
28
22
  * Adds rules to RuleSet.
23
+ *
24
+ * @returns sRuleVerificationStatus Verification status
29
25
  */
30
26
  function addRule(
31
27
  /**
@@ -39,6 +35,8 @@ declare namespace sap {
39
35
  function clearAllRuleSets(): void;
40
36
  /**
41
37
  * Gets all rules from the RuleSet.
38
+ *
39
+ * @returns All rules within the current RuleSet
42
40
  */
43
41
  function getRules(): object;
44
42
  /**
@@ -71,6 +69,8 @@ declare namespace sap {
71
69
  ): void;
72
70
  /**
73
71
  * Updates rules from the RuleSet.
72
+ *
73
+ * @returns sRuleVerification Rule Verification status
74
74
  */
75
75
  function updateRule(
76
76
  /**
@@ -104,6 +104,8 @@ declare namespace sap {
104
104
  * @SINCE 1.60
105
105
  *
106
106
  * Adds new temporary rule when in silent mode
107
+ *
108
+ * @returns Rule creation status. Possible values are "success" or description of why adding failed.
107
109
  */
108
110
  addRule(
109
111
  /**
@@ -117,6 +119,8 @@ declare namespace sap {
117
119
  *
118
120
  * Allows to choose a particular execution scope - desired part of the UI to be checked and a flexible way
119
121
  * to specify the list of rules to be used.
122
+ *
123
+ * @returns Notifies the finished state by starting the Analyzer
120
124
  */
121
125
  analyze(
122
126
  /**
@@ -151,10 +155,15 @@ declare namespace sap {
151
155
  ): Promise<any>;
152
156
  /**
153
157
  * Returns the history of all executed analyses.
158
+ *
159
+ * @returns Array of history objects in the order of analyses performed. The results of the last analysis
160
+ * are contained in the last element in the array.
154
161
  */
155
162
  getAnalysisHistory(): sap.ui.support.AnalysisResult[];
156
163
  /**
157
164
  * Returns the history of all executed analyses into formatted output depending on the passed format.
165
+ *
166
+ * @returns All analysis history objects in the correct format.
158
167
  */
159
168
  getFormattedAnalysisHistory(
160
169
  /**
@@ -164,6 +173,8 @@ declare namespace sap {
164
173
  ): any;
165
174
  /**
166
175
  * Returns the result of the last analysis performed.
176
+ *
177
+ * @returns Last analysis history.
167
178
  */
168
179
  getLastAnalysisHistory(): sap.ui.support.AnalysisResult;
169
180
  }
@@ -191,6 +202,10 @@ declare namespace sap {
191
202
  class ExecutionScope {
192
203
  constructor();
193
204
 
205
+ /**
206
+ *
207
+ * @returns Array of matched elements
208
+ */
194
209
  static getElements(
195
210
  /**
196
211
  * Object with specific filtering options
@@ -212,6 +227,8 @@ declare namespace sap {
212
227
  ): any[];
213
228
  /**
214
229
  * Gets elements by their type
230
+ *
231
+ * @returns Array of matched elements
215
232
  */
216
233
  static getElementsByClassName(
217
234
  /**
@@ -221,6 +238,8 @@ declare namespace sap {
221
238
  ): any[];
222
239
  /**
223
240
  * Gets the logged objects by object type
241
+ *
242
+ * @returns Array of logged objects
224
243
  */
225
244
  static getLoggedObjects(
226
245
  /**
@@ -230,15 +249,19 @@ declare namespace sap {
230
249
  ): any[];
231
250
  /**
232
251
  * Returns all public elements, i.e. elements that are part of public API aggregations
252
+ *
253
+ * @returns Array of matched elements
233
254
  */
234
255
  static getPublicElements(): any[];
235
256
  /**
236
257
  * Gets the type of the execution scope
258
+ *
259
+ * @returns The type of the execution scope. Possible values are `global`, `subtree` or `components`.
237
260
  */
238
261
  static getType(): string;
239
262
  }
240
263
  /**
241
- * @SINCE 1.99.1
264
+ * @SINCE 1.50
242
265
  *
243
266
  * Defines the Audiences.
244
267
  */
@@ -257,7 +280,7 @@ declare namespace sap {
257
280
  Internal = "Internal",
258
281
  }
259
282
  /**
260
- * @SINCE 1.99.1
283
+ * @SINCE 1.50
261
284
  *
262
285
  * Issue Categories.
263
286
  */
@@ -279,6 +302,8 @@ declare namespace sap {
279
302
  */
280
303
  DataModel = "DataModel",
281
304
  /**
305
+ * @SINCE 1.58
306
+ *
282
307
  * Fiori Guidelines issue category.
283
308
  */
284
309
  FioriGuidelines = "FioriGuidelines",
@@ -291,6 +316,8 @@ declare namespace sap {
291
316
  */
292
317
  Memory = "Memory",
293
318
  /**
319
+ * @SINCE 1.60
320
+ *
294
321
  * Modularization issue category.
295
322
  */
296
323
  Modularization = "Modularization",
@@ -312,7 +339,7 @@ declare namespace sap {
312
339
  Usage = "Usage",
313
340
  }
314
341
  /**
315
- * @SINCE 1.99.1
342
+ * @SINCE 1.58
316
343
  *
317
344
  * Analysis history formats.
318
345
  */
@@ -327,7 +354,7 @@ declare namespace sap {
327
354
  String = "String",
328
355
  }
329
356
  /**
330
- * @SINCE 1.99.1
357
+ * @SINCE 1.50
331
358
  *
332
359
  * Defines severity types.
333
360
  */
@@ -346,7 +373,7 @@ declare namespace sap {
346
373
  Medium = "Medium",
347
374
  }
348
375
  /**
349
- * @SINCE 1.99.1
376
+ * @SINCE 1.60
350
377
  *
351
378
  * Contains the available system presets.
352
379
  */