@sapui5/types 1.113.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/LICENSE.txt +35 -0
  2. package/README.md +35 -0
  3. package/package.json +23 -0
  4. package/types/index.d.ts +67 -0
  5. package/types/sap.apf.d.ts +1026 -0
  6. package/types/sap.ca.ui.d.ts +14005 -0
  7. package/types/sap.chart.d.ts +4815 -0
  8. package/types/sap.collaboration.d.ts +2704 -0
  9. package/types/sap.esh.search.ui.d.ts +1595 -0
  10. package/types/sap.f.d.ts +20085 -0
  11. package/types/sap.fe.core.d.ts +1508 -0
  12. package/types/sap.fe.macros.d.ts +975 -0
  13. package/types/sap.fe.navigation.d.ts +917 -0
  14. package/types/sap.fe.templates.d.ts +522 -0
  15. package/types/sap.fe.test.d.ts +3533 -0
  16. package/types/sap.feedback.ui.d.ts +3 -0
  17. package/types/sap.gantt.d.ts +51684 -0
  18. package/types/sap.insights.d.ts +23 -0
  19. package/types/sap.landvisz.d.ts +7952 -0
  20. package/types/sap.m.d.ts +147796 -0
  21. package/types/sap.makit.d.ts +4533 -0
  22. package/types/sap.me.d.ts +3665 -0
  23. package/types/sap.ndc.d.ts +774 -0
  24. package/types/sap.ovp.d.ts +176 -0
  25. package/types/sap.rules.ui.d.ts +1471 -0
  26. package/types/sap.sac.df.d.ts +2292 -0
  27. package/types/sap.sac.grid.d.ts +774 -0
  28. package/types/sap.suite.ui.commons.d.ts +46971 -0
  29. package/types/sap.suite.ui.generic.template.d.ts +3431 -0
  30. package/types/sap.suite.ui.microchart.d.ts +12652 -0
  31. package/types/sap.tnt.d.ts +2227 -0
  32. package/types/sap.ui.codeeditor.d.ts +693 -0
  33. package/types/sap.ui.commons.d.ts +30235 -0
  34. package/types/sap.ui.comp.d.ts +37411 -0
  35. package/types/sap.ui.core.d.ts +78872 -0
  36. package/types/sap.ui.dt.d.ts +3 -0
  37. package/types/sap.ui.export.d.ts +843 -0
  38. package/types/sap.ui.fl.d.ts +1663 -0
  39. package/types/sap.ui.generic.app.d.ts +2683 -0
  40. package/types/sap.ui.generic.template.d.ts +3 -0
  41. package/types/sap.ui.integration.d.ts +4032 -0
  42. package/types/sap.ui.layout.d.ts +14472 -0
  43. package/types/sap.ui.mdc.d.ts +476 -0
  44. package/types/sap.ui.richtexteditor.d.ts +1666 -0
  45. package/types/sap.ui.rta.d.ts +124 -0
  46. package/types/sap.ui.suite.d.ts +685 -0
  47. package/types/sap.ui.support.d.ts +453 -0
  48. package/types/sap.ui.table.d.ts +9325 -0
  49. package/types/sap.ui.testrecorder.d.ts +9 -0
  50. package/types/sap.ui.unified.d.ts +20640 -0
  51. package/types/sap.ui.ux3.d.ts +18288 -0
  52. package/types/sap.ui.vbm.d.ts +17251 -0
  53. package/types/sap.ui.vk.d.ts +42381 -0
  54. package/types/sap.ui.vtm.d.ts +10547 -0
  55. package/types/sap.ui.webc.common.d.ts +113 -0
  56. package/types/sap.ui.webc.fiori.d.ts +13850 -0
  57. package/types/sap.ui.webc.main.d.ts +40833 -0
  58. package/types/sap.uiext.inbox.d.ts +4079 -0
  59. package/types/sap.ushell.d.ts +10255 -0
  60. package/types/sap.ushell_abap.d.ts +9 -0
  61. package/types/sap.uxap.d.ts +7636 -0
  62. package/types/sap.viz.d.ts +51209 -0
  63. package/types/sap.webanalytics.core.d.ts +3 -0
  64. package/types/sap.zen.commons.d.ts +1542 -0
  65. package/types/sap.zen.crosstab.d.ts +1159 -0
  66. package/types/sap.zen.dsh.d.ts +2132 -0
@@ -0,0 +1,685 @@
1
+ // For Library Version: 1.113.0
2
+
3
+ declare module "sap/ui/suite/library" {
4
+ /**
5
+ * Defined color values for the Task Circle Control
6
+ */
7
+ export enum TaskCircleColor {
8
+ /**
9
+ * Default value
10
+ */
11
+ Gray = "Gray",
12
+ /**
13
+ * Green
14
+ */
15
+ Green = "Green",
16
+ /**
17
+ * Red
18
+ */
19
+ Red = "Red",
20
+ /**
21
+ * Yellow
22
+ */
23
+ Yellow = "Yellow",
24
+ }
25
+ }
26
+
27
+ declare module "sap/ui/suite/TaskCircle" {
28
+ import { default as Control, $ControlSettings } from "sap/ui/core/Control";
29
+
30
+ import { ID } from "sap/ui/core/library";
31
+
32
+ import Event from "sap/ui/base/Event";
33
+
34
+ import { TaskCircleColor } from "sap/ui/suite/library";
35
+
36
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
37
+
38
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
39
+
40
+ /**
41
+ * @deprecated (since 1.108) - there's no replacement for this functionality as no active use cases are
42
+ * known
43
+ * @EXPERIMENTAL (since 1.2) - The API may change. Use with care.
44
+ *
45
+ * This control shows a circle which radius and color depends on the given parameters
46
+ */
47
+ export default class TaskCircle extends Control {
48
+ /**
49
+ * Constructor for a new TaskCircle.
50
+ *
51
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
52
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
53
+ * of the syntax of the settings object.
54
+ */
55
+ constructor(
56
+ /**
57
+ * initial settings for the new control
58
+ */
59
+ mSettings?: $TaskCircleSettings
60
+ );
61
+ /**
62
+ * Constructor for a new TaskCircle.
63
+ *
64
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
65
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
66
+ * of the syntax of the settings object.
67
+ */
68
+ constructor(
69
+ /**
70
+ * id for the new control, generated automatically if no id is given
71
+ */
72
+ sId?: string,
73
+ /**
74
+ * initial settings for the new control
75
+ */
76
+ mSettings?: $TaskCircleSettings
77
+ );
78
+
79
+ /**
80
+ * Creates a new subclass of class sap.ui.suite.TaskCircle with name `sClassName` and enriches it with the
81
+ * information contained in `oClassInfo`.
82
+ *
83
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
84
+ *
85
+ * @returns Created class / constructor function
86
+ */
87
+ static extend<T extends Record<string, unknown>>(
88
+ /**
89
+ * Name of the class being created
90
+ */
91
+ sClassName: string,
92
+ /**
93
+ * Object literal with information about the class
94
+ */
95
+ oClassInfo?: sap.ClassInfo<T, TaskCircle>,
96
+ /**
97
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
98
+ * used by this class
99
+ */
100
+ FNMetaImpl?: Function
101
+ ): Function;
102
+ /**
103
+ * Returns a metadata object for class sap.ui.suite.TaskCircle.
104
+ *
105
+ * @returns Metadata object describing this class
106
+ */
107
+ static getMetadata(): ElementMetadata;
108
+ /**
109
+ * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
110
+ *
111
+ * @returns Reference to `this` in order to allow method chaining
112
+ */
113
+ addAriaDescribedBy(
114
+ /**
115
+ * The ariaDescribedBy to add; if empty, nothing is inserted
116
+ */
117
+ vAriaDescribedBy: ID | Control
118
+ ): this;
119
+ /**
120
+ * Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
121
+ *
122
+ * @returns Reference to `this` in order to allow method chaining
123
+ */
124
+ addAriaLabelledBy(
125
+ /**
126
+ * The ariaLabelledBy to add; if empty, nothing is inserted
127
+ */
128
+ vAriaLabelledBy: ID | Control
129
+ ): this;
130
+ /**
131
+ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.ui.suite.TaskCircle`.
132
+ *
133
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
134
+ * otherwise it will be bound to this `sap.ui.suite.TaskCircle` itself.
135
+ *
136
+ * Event is fired when the user clicks the control.
137
+ *
138
+ * @returns Reference to `this` in order to allow method chaining
139
+ */
140
+ attachPress(
141
+ /**
142
+ * An application-specific payload object that will be passed to the event handler along with the event
143
+ * object when firing the event
144
+ */
145
+ oData: object,
146
+ /**
147
+ * The function to be called when the event occurs
148
+ */
149
+ fnFunction: (p1: Event) => void,
150
+ /**
151
+ * Context object to call the event handler with. Defaults to this `sap.ui.suite.TaskCircle` itself
152
+ */
153
+ oListener?: object
154
+ ): this;
155
+ /**
156
+ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.ui.suite.TaskCircle`.
157
+ *
158
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
159
+ * otherwise it will be bound to this `sap.ui.suite.TaskCircle` itself.
160
+ *
161
+ * Event is fired when the user clicks the control.
162
+ *
163
+ * @returns Reference to `this` in order to allow method chaining
164
+ */
165
+ attachPress(
166
+ /**
167
+ * The function to be called when the event occurs
168
+ */
169
+ fnFunction: (p1: Event) => void,
170
+ /**
171
+ * Context object to call the event handler with. Defaults to this `sap.ui.suite.TaskCircle` itself
172
+ */
173
+ oListener?: object
174
+ ): this;
175
+ /**
176
+ * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.ui.suite.TaskCircle`.
177
+ *
178
+ * The passed function and listener object must match the ones used for event registration.
179
+ *
180
+ * @returns Reference to `this` in order to allow method chaining
181
+ */
182
+ detachPress(
183
+ /**
184
+ * The function to be called, when the event occurs
185
+ */
186
+ fnFunction: (p1: Event) => void,
187
+ /**
188
+ * Context object on which the given function had to be called
189
+ */
190
+ oListener?: object
191
+ ): this;
192
+ /**
193
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
194
+ *
195
+ * Fires event {@link #event:press press} to attached listeners.
196
+ *
197
+ * @returns Reference to `this` in order to allow method chaining
198
+ */
199
+ firePress(
200
+ /**
201
+ * Parameters to pass along with the event
202
+ */
203
+ mParameters?: object
204
+ ): this;
205
+ /**
206
+ * Puts the focus to the control.
207
+ */
208
+ focus(): void;
209
+ /**
210
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy
211
+ * ariaDescribedBy}.
212
+ */
213
+ getAriaDescribedBy(): ID[];
214
+ /**
215
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
216
+ * ariaLabelledBy}.
217
+ */
218
+ getAriaLabelledBy(): ID[];
219
+ /**
220
+ * Gets current value of property {@link #getColor color}.
221
+ *
222
+ * Color of the circle. The default color is red.
223
+ *
224
+ * Default value is `Gray`.
225
+ *
226
+ * @returns Value of property `color`
227
+ */
228
+ getColor(): TaskCircleColor | keyof typeof TaskCircleColor;
229
+ /**
230
+ * Gets current value of property {@link #getMaxValue maxValue}.
231
+ *
232
+ * Upper limit of the displayed values. Default is 100.
233
+ *
234
+ * Default value is `100`.
235
+ *
236
+ * @returns Value of property `maxValue`
237
+ */
238
+ getMaxValue(): int;
239
+ /**
240
+ * Gets current value of property {@link #getMinValue minValue}.
241
+ *
242
+ * Lower limit of the displayed values. Default is 0.
243
+ *
244
+ * Default value is `0`.
245
+ *
246
+ * @returns Value of property `minValue`
247
+ */
248
+ getMinValue(): int;
249
+ /**
250
+ * Gets current value of property {@link #getValue value}.
251
+ *
252
+ * Current value of the task circle to be displayed. In dependency of the parameters maxValue and minValue
253
+ * it controls the size of the circle.
254
+ *
255
+ * Default value is `0`.
256
+ *
257
+ * @returns Value of property `value`
258
+ */
259
+ getValue(): int;
260
+ /**
261
+ * Removes all the controls in the association named {@link #getAriaDescribedBy ariaDescribedBy}.
262
+ *
263
+ * @returns An array of the removed elements (might be empty)
264
+ */
265
+ removeAllAriaDescribedBy(): ID[];
266
+ /**
267
+ * Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
268
+ *
269
+ * @returns An array of the removed elements (might be empty)
270
+ */
271
+ removeAllAriaLabelledBy(): ID[];
272
+ /**
273
+ * Removes an ariaDescribedBy from the association named {@link #getAriaDescribedBy ariaDescribedBy}.
274
+ *
275
+ * @returns The removed ariaDescribedBy or `null`
276
+ */
277
+ removeAriaDescribedBy(
278
+ /**
279
+ * The ariaDescribedBy to be removed or its index or ID
280
+ */
281
+ vAriaDescribedBy: int | ID | Control
282
+ ): ID | null;
283
+ /**
284
+ * Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
285
+ *
286
+ * @returns The removed ariaLabelledBy or `null`
287
+ */
288
+ removeAriaLabelledBy(
289
+ /**
290
+ * The ariaLabelledBy to be removed or its index or ID
291
+ */
292
+ vAriaLabelledBy: int | ID | Control
293
+ ): ID | null;
294
+ /**
295
+ * Sets a new value for property {@link #getColor color}.
296
+ *
297
+ * Color of the circle. The default color is red.
298
+ *
299
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
300
+ *
301
+ * Default value is `Gray`.
302
+ *
303
+ * @returns Reference to `this` in order to allow method chaining
304
+ */
305
+ setColor(
306
+ /**
307
+ * New value for property `color`
308
+ */
309
+ sColor?: TaskCircleColor | keyof typeof TaskCircleColor
310
+ ): this;
311
+ /**
312
+ * Sets a new value for property {@link #getMaxValue maxValue}.
313
+ *
314
+ * Upper limit of the displayed values. Default is 100.
315
+ *
316
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
317
+ *
318
+ * Default value is `100`.
319
+ *
320
+ * @returns Reference to `this` in order to allow method chaining
321
+ */
322
+ setMaxValue(
323
+ /**
324
+ * New value for property `maxValue`
325
+ */
326
+ iMaxValue?: int
327
+ ): this;
328
+ /**
329
+ * Sets a new value for property {@link #getMinValue minValue}.
330
+ *
331
+ * Lower limit of the displayed values. Default is 0.
332
+ *
333
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
334
+ *
335
+ * Default value is `0`.
336
+ *
337
+ * @returns Reference to `this` in order to allow method chaining
338
+ */
339
+ setMinValue(
340
+ /**
341
+ * New value for property `minValue`
342
+ */
343
+ iMinValue?: int
344
+ ): this;
345
+ /**
346
+ * Sets a new value for property {@link #getValue value}.
347
+ *
348
+ * Current value of the task circle to be displayed. In dependency of the parameters maxValue and minValue
349
+ * it controls the size of the circle.
350
+ *
351
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
352
+ *
353
+ * Default value is `0`.
354
+ *
355
+ * @returns Reference to `this` in order to allow method chaining
356
+ */
357
+ setValue(
358
+ /**
359
+ * New value for property `value`
360
+ */
361
+ iValue?: int
362
+ ): this;
363
+ }
364
+
365
+ export interface $TaskCircleSettings extends $ControlSettings {
366
+ /**
367
+ * Current value of the task circle to be displayed. In dependency of the parameters maxValue and minValue
368
+ * it controls the size of the circle.
369
+ */
370
+ value?: int | PropertyBindingInfo | `{${string}}`;
371
+
372
+ /**
373
+ * Upper limit of the displayed values. Default is 100.
374
+ */
375
+ maxValue?: int | PropertyBindingInfo | `{${string}}`;
376
+
377
+ /**
378
+ * Lower limit of the displayed values. Default is 0.
379
+ */
380
+ minValue?: int | PropertyBindingInfo | `{${string}}`;
381
+
382
+ /**
383
+ * Color of the circle. The default color is red.
384
+ */
385
+ color?:
386
+ | (TaskCircleColor | keyof typeof TaskCircleColor)
387
+ | PropertyBindingInfo
388
+ | `{${string}}`;
389
+
390
+ /**
391
+ * Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
392
+ */
393
+ ariaLabelledBy?: Array<Control | string>;
394
+
395
+ /**
396
+ * Association to controls / ids which describe this control (see WAI-ARIA attribute aria-describedby).
397
+ */
398
+ ariaDescribedBy?: Array<Control | string>;
399
+
400
+ /**
401
+ * Event is fired when the user clicks the control.
402
+ */
403
+ press?: (oEvent: Event) => void;
404
+ }
405
+ }
406
+
407
+ declare module "sap/ui/suite/VerticalProgressIndicator" {
408
+ import { default as Control, $ControlSettings } from "sap/ui/core/Control";
409
+
410
+ import { ID } from "sap/ui/core/library";
411
+
412
+ import Event from "sap/ui/base/Event";
413
+
414
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
415
+
416
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
417
+
418
+ /**
419
+ * @deprecated (since 1.108) - there's no replacement for this functionality as no active use cases are
420
+ * known
421
+ * @EXPERIMENTAL (since 1.2) - The API may change. Use with care.
422
+ *
423
+ * This control shows a vertical progress bar in dependency of the given percentage. Only values between
424
+ * 0 and 100 are valid.
425
+ */
426
+ export default class VerticalProgressIndicator extends Control {
427
+ /**
428
+ * Constructor for a new VerticalProgressIndicator.
429
+ *
430
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
431
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
432
+ * of the syntax of the settings object.
433
+ */
434
+ constructor(
435
+ /**
436
+ * initial settings for the new control
437
+ */
438
+ mSettings?: $VerticalProgressIndicatorSettings
439
+ );
440
+ /**
441
+ * Constructor for a new VerticalProgressIndicator.
442
+ *
443
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
444
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
445
+ * of the syntax of the settings object.
446
+ */
447
+ constructor(
448
+ /**
449
+ * id for the new control, generated automatically if no id is given
450
+ */
451
+ sId?: string,
452
+ /**
453
+ * initial settings for the new control
454
+ */
455
+ mSettings?: $VerticalProgressIndicatorSettings
456
+ );
457
+
458
+ /**
459
+ * Creates a new subclass of class sap.ui.suite.VerticalProgressIndicator with name `sClassName` and enriches
460
+ * it with the information contained in `oClassInfo`.
461
+ *
462
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
463
+ *
464
+ * @returns Created class / constructor function
465
+ */
466
+ static extend<T extends Record<string, unknown>>(
467
+ /**
468
+ * Name of the class being created
469
+ */
470
+ sClassName: string,
471
+ /**
472
+ * Object literal with information about the class
473
+ */
474
+ oClassInfo?: sap.ClassInfo<T, VerticalProgressIndicator>,
475
+ /**
476
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
477
+ * used by this class
478
+ */
479
+ FNMetaImpl?: Function
480
+ ): Function;
481
+ /**
482
+ * Returns a metadata object for class sap.ui.suite.VerticalProgressIndicator.
483
+ *
484
+ * @returns Metadata object describing this class
485
+ */
486
+ static getMetadata(): ElementMetadata;
487
+ /**
488
+ * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
489
+ *
490
+ * @returns Reference to `this` in order to allow method chaining
491
+ */
492
+ addAriaDescribedBy(
493
+ /**
494
+ * The ariaDescribedBy to add; if empty, nothing is inserted
495
+ */
496
+ vAriaDescribedBy: ID | Control
497
+ ): this;
498
+ /**
499
+ * Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
500
+ *
501
+ * @returns Reference to `this` in order to allow method chaining
502
+ */
503
+ addAriaLabelledBy(
504
+ /**
505
+ * The ariaLabelledBy to add; if empty, nothing is inserted
506
+ */
507
+ vAriaLabelledBy: ID | Control
508
+ ): this;
509
+ /**
510
+ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.ui.suite.VerticalProgressIndicator`.
511
+ *
512
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
513
+ * otherwise it will be bound to this `sap.ui.suite.VerticalProgressIndicator` itself.
514
+ *
515
+ * Event is fired when the user clicks the control.
516
+ *
517
+ * @returns Reference to `this` in order to allow method chaining
518
+ */
519
+ attachPress(
520
+ /**
521
+ * An application-specific payload object that will be passed to the event handler along with the event
522
+ * object when firing the event
523
+ */
524
+ oData: object,
525
+ /**
526
+ * The function to be called when the event occurs
527
+ */
528
+ fnFunction: (p1: Event) => void,
529
+ /**
530
+ * Context object to call the event handler with. Defaults to this `sap.ui.suite.VerticalProgressIndicator`
531
+ * itself
532
+ */
533
+ oListener?: object
534
+ ): this;
535
+ /**
536
+ * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.ui.suite.VerticalProgressIndicator`.
537
+ *
538
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
539
+ * otherwise it will be bound to this `sap.ui.suite.VerticalProgressIndicator` itself.
540
+ *
541
+ * Event is fired when the user clicks the control.
542
+ *
543
+ * @returns Reference to `this` in order to allow method chaining
544
+ */
545
+ attachPress(
546
+ /**
547
+ * The function to be called when the event occurs
548
+ */
549
+ fnFunction: (p1: Event) => void,
550
+ /**
551
+ * Context object to call the event handler with. Defaults to this `sap.ui.suite.VerticalProgressIndicator`
552
+ * itself
553
+ */
554
+ oListener?: object
555
+ ): this;
556
+ /**
557
+ * Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.ui.suite.VerticalProgressIndicator`.
558
+ *
559
+ * The passed function and listener object must match the ones used for event registration.
560
+ *
561
+ * @returns Reference to `this` in order to allow method chaining
562
+ */
563
+ detachPress(
564
+ /**
565
+ * The function to be called, when the event occurs
566
+ */
567
+ fnFunction: (p1: Event) => void,
568
+ /**
569
+ * Context object on which the given function had to be called
570
+ */
571
+ oListener?: object
572
+ ): this;
573
+ /**
574
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
575
+ *
576
+ * Fires event {@link #event:press press} to attached listeners.
577
+ *
578
+ * @returns Reference to `this` in order to allow method chaining
579
+ */
580
+ firePress(
581
+ /**
582
+ * Parameters to pass along with the event
583
+ */
584
+ mParameters?: object
585
+ ): this;
586
+ /**
587
+ * Puts the focus to the control.
588
+ */
589
+ focus(): void;
590
+ /**
591
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy
592
+ * ariaDescribedBy}.
593
+ */
594
+ getAriaDescribedBy(): ID[];
595
+ /**
596
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
597
+ * ariaLabelledBy}.
598
+ */
599
+ getAriaLabelledBy(): ID[];
600
+ /**
601
+ * Gets current value of property {@link #getPercentage percentage}.
602
+ *
603
+ * The numerical value between 0 and 100 which determines the height of the vertical bar. Values higher
604
+ * than 100 will be displayed as 100%, values lower than zero will be displayed as 0%.
605
+ *
606
+ * @returns Value of property `percentage`
607
+ */
608
+ getPercentage(): int;
609
+ /**
610
+ * Removes all the controls in the association named {@link #getAriaDescribedBy ariaDescribedBy}.
611
+ *
612
+ * @returns An array of the removed elements (might be empty)
613
+ */
614
+ removeAllAriaDescribedBy(): ID[];
615
+ /**
616
+ * Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
617
+ *
618
+ * @returns An array of the removed elements (might be empty)
619
+ */
620
+ removeAllAriaLabelledBy(): ID[];
621
+ /**
622
+ * Removes an ariaDescribedBy from the association named {@link #getAriaDescribedBy ariaDescribedBy}.
623
+ *
624
+ * @returns The removed ariaDescribedBy or `null`
625
+ */
626
+ removeAriaDescribedBy(
627
+ /**
628
+ * The ariaDescribedBy to be removed or its index or ID
629
+ */
630
+ vAriaDescribedBy: int | ID | Control
631
+ ): ID | null;
632
+ /**
633
+ * Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
634
+ *
635
+ * @returns The removed ariaLabelledBy or `null`
636
+ */
637
+ removeAriaLabelledBy(
638
+ /**
639
+ * The ariaLabelledBy to be removed or its index or ID
640
+ */
641
+ vAriaLabelledBy: int | ID | Control
642
+ ): ID | null;
643
+ /**
644
+ * Property setter for the Percentage, which determines the height of the vertical bar. Values higher than
645
+ * 100 will be displayed as 100%, values lower than zero will be displayed as 0%. A new rendering is not
646
+ * necessary, only the bar will be moved
647
+ *
648
+ * @returns `this` to allow method chaining
649
+ */
650
+ setPercentage(iPercentage: int): this;
651
+ }
652
+
653
+ export interface $VerticalProgressIndicatorSettings extends $ControlSettings {
654
+ /**
655
+ * The numerical value between 0 and 100 which determines the height of the vertical bar. Values higher
656
+ * than 100 will be displayed as 100%, values lower than zero will be displayed as 0%.
657
+ */
658
+ percentage?: int | PropertyBindingInfo | `{${string}}`;
659
+
660
+ /**
661
+ * Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
662
+ */
663
+ ariaLabelledBy?: Array<Control | string>;
664
+
665
+ /**
666
+ * Association to controls / ids which describe this control (see WAI-ARIA attribute aria-describedby).
667
+ */
668
+ ariaDescribedBy?: Array<Control | string>;
669
+
670
+ /**
671
+ * Event is fired when the user clicks the control.
672
+ */
673
+ press?: (oEvent: Event) => void;
674
+ }
675
+ }
676
+
677
+ declare namespace sap {
678
+ interface IUI5DefineDependencyNames {
679
+ "sap/ui/suite/library": undefined;
680
+
681
+ "sap/ui/suite/TaskCircle": undefined;
682
+
683
+ "sap/ui/suite/VerticalProgressIndicator": undefined;
684
+ }
685
+ }