@openui5/types 1.120.7 → 1.120.9

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.120.7
1
+ // For Library Version: 1.120.9
2
2
 
3
3
  declare module "sap/ui/codeeditor/library" {}
4
4
 
@@ -14,11 +14,11 @@ declare module "sap/ui/codeeditor/CodeEditor" {
14
14
  import Event from "sap/ui/base/Event";
15
15
 
16
16
  /**
17
- * @since 1.46
18
- *
19
17
  * Allows to visualize source code of various types with syntax highlighting, line numbers in editable and
20
18
  * read only mode. Use this control in scenarios where the user should be able to inspect and edit source
21
19
  * code. The control currently uses the third-party code editor Ace.
20
+ *
21
+ * @since 1.46
22
22
  */
23
23
  export default class CodeEditor extends Control {
24
24
  /**
@@ -58,6 +58,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
58
58
  *
59
59
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
60
60
  *
61
+ *
61
62
  * @returns Created class / constructor function
62
63
  */
63
64
  static extend<T extends Record<string, unknown>>(
@@ -78,15 +79,16 @@ declare module "sap/ui/codeeditor/CodeEditor" {
78
79
  /**
79
80
  * Returns a metadata object for class sap.ui.codeeditor.CodeEditor.
80
81
  *
82
+ *
81
83
  * @returns Metadata object describing this class
82
84
  */
83
85
  static getMetadata(): ElementMetadata;
84
86
  /**
85
- * @since 1.52
86
- *
87
87
  * Defines custom completer - object implementing a getCompletions method. The method has two parameters
88
88
  * - fnCallback method and context object. Context object provides details about oPos and sPrefix as provided
89
89
  * by the third-party code editor.
90
+ *
91
+ * @since 1.52
90
92
  */
91
93
  addCustomCompleter(
92
94
  /**
@@ -104,6 +106,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
104
106
  *
105
107
  * Fired when the value has changed and the focus leaves the code editor.
106
108
  *
109
+ *
107
110
  * @returns Reference to `this` in order to allow method chaining
108
111
  */
109
112
  attachChange(
@@ -129,6 +132,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
129
132
  *
130
133
  * Fired when the value has changed and the focus leaves the code editor.
131
134
  *
135
+ *
132
136
  * @returns Reference to `this` in order to allow method chaining
133
137
  */
134
138
  attachChange(
@@ -149,6 +153,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
149
153
  *
150
154
  * Fired when the value is changed by user interaction - each keystroke, delete, paste, etc.
151
155
  *
156
+ *
152
157
  * @returns Reference to `this` in order to allow method chaining
153
158
  */
154
159
  attachLiveChange(
@@ -174,6 +179,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
174
179
  *
175
180
  * Fired when the value is changed by user interaction - each keystroke, delete, paste, etc.
176
181
  *
182
+ *
177
183
  * @returns Reference to `this` in order to allow method chaining
178
184
  */
179
185
  attachLiveChange(
@@ -191,6 +197,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
191
197
  *
192
198
  * The passed function and listener object must match the ones used for event registration.
193
199
  *
200
+ *
194
201
  * @returns Reference to `this` in order to allow method chaining
195
202
  */
196
203
  detachChange(
@@ -208,6 +215,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
208
215
  *
209
216
  * The passed function and listener object must match the ones used for event registration.
210
217
  *
218
+ *
211
219
  * @returns Reference to `this` in order to allow method chaining
212
220
  */
213
221
  detachLiveChange(
@@ -221,10 +229,10 @@ declare module "sap/ui/codeeditor/CodeEditor" {
221
229
  oListener?: object
222
230
  ): this;
223
231
  /**
224
- * @ui5-protected Do not call from applications (only from related classes in the framework)
225
- *
226
232
  * Fires event {@link #event:change change} to attached listeners.
227
233
  *
234
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
235
+ *
228
236
  * @returns Reference to `this` in order to allow method chaining
229
237
  */
230
238
  fireChange(
@@ -234,10 +242,10 @@ declare module "sap/ui/codeeditor/CodeEditor" {
234
242
  mParameters?: CodeEditor$ChangeEventParameters
235
243
  ): this;
236
244
  /**
237
- * @ui5-protected Do not call from applications (only from related classes in the framework)
238
- *
239
245
  * Fires event {@link #event:liveChange liveChange} to attached listeners.
240
246
  *
247
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
248
+ *
241
249
  * @returns Reference to `this` in order to allow method chaining
242
250
  */
243
251
  fireLiveChange(
@@ -249,6 +257,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
249
257
  /**
250
258
  * Sets the focus to the code editor
251
259
  *
260
+ *
252
261
  * @returns Returns `this` to allow method chaining
253
262
  */
254
263
  focus(): this;
@@ -263,12 +272,14 @@ declare module "sap/ui/codeeditor/CodeEditor" {
263
272
  *
264
273
  * Default value is `"default"`.
265
274
  *
275
+ *
266
276
  * @returns Value of property `colorTheme`
267
277
  */
268
278
  getColorTheme(): string;
269
279
  /**
270
280
  * Returns the current value of the code editor
271
281
  *
282
+ *
272
283
  * @returns Returns the current value of the code editor
273
284
  */
274
285
  getCurrentValue(): string;
@@ -279,6 +290,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
279
290
  *
280
291
  * Default value is `true`.
281
292
  *
293
+ *
282
294
  * @returns Value of property `editable`
283
295
  */
284
296
  getEditable(): boolean;
@@ -290,6 +302,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
290
302
  *
291
303
  * Default value is `"100%"`.
292
304
  *
305
+ *
293
306
  * @returns Value of property `height`
294
307
  */
295
308
  getHeight(): CSSSize;
@@ -298,6 +311,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
298
311
  *
299
312
  * By default, this is the ID of the control itself.
300
313
  *
314
+ *
301
315
  * @returns ID to be used for the `labelFor`
302
316
  */
303
317
  getIdForLabel(): string;
@@ -308,12 +322,11 @@ declare module "sap/ui/codeeditor/CodeEditor" {
308
322
  *
309
323
  * Default value is `true`.
310
324
  *
325
+ *
311
326
  * @returns Value of property `lineNumbers`
312
327
  */
313
328
  getLineNumbers(): boolean;
314
329
  /**
315
- * @since 1.48.1
316
- *
317
330
  * Gets current value of property {@link #getMaxLines maxLines}.
318
331
  *
319
332
  * Sets whether the editor height should auto expand to a maximum number of lines. After reaching the maximum
@@ -324,6 +337,8 @@ declare module "sap/ui/codeeditor/CodeEditor" {
324
337
  *
325
338
  * Default value is `0`.
326
339
  *
340
+ * @since 1.48.1
341
+ *
327
342
  * @returns Value of property `maxLines`
328
343
  */
329
344
  getMaxLines(): int;
@@ -334,6 +349,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
334
349
  *
335
350
  * Default value is `true`.
336
351
  *
352
+ *
337
353
  * @returns Value of property `syntaxHints`
338
354
  */
339
355
  getSyntaxHints(): boolean;
@@ -356,6 +372,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
356
372
  *
357
373
  * Default value is `"javascript"`.
358
374
  *
375
+ *
359
376
  * @returns Value of property `type`
360
377
  */
361
378
  getType(): string;
@@ -366,6 +383,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
366
383
  *
367
384
  * Default value is `empty string`.
368
385
  *
386
+ *
369
387
  * @returns Value of property `value`
370
388
  */
371
389
  getValue(): string;
@@ -376,6 +394,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
376
394
  *
377
395
  * Default value is `false`.
378
396
  *
397
+ *
379
398
  * @returns Value of property `valueSelection`
380
399
  */
381
400
  getValueSelection(): boolean;
@@ -386,21 +405,23 @@ declare module "sap/ui/codeeditor/CodeEditor" {
386
405
  *
387
406
  * Default value is `"100%"`.
388
407
  *
408
+ *
389
409
  * @returns Value of property `width`
390
410
  */
391
411
  getWidth(): CSSSize;
392
412
  /**
393
- * @since 1.54.1
394
- *
395
413
  * Pretty-prints the content of the editor.
396
414
  *
397
415
  * **Note:** Works well only for PHP. For other programming languages, the content might not be formatted
398
416
  * well. In such cases it is recommended to use your own formatting.
417
+ *
418
+ * @since 1.54.1
399
419
  */
400
420
  prettyPrint(): void;
401
421
  /**
402
422
  * Sets the color theme of the code editor
403
423
  *
424
+ *
404
425
  * @returns Returns `this` to allow method chaining
405
426
  */
406
427
  setColorTheme(
@@ -418,6 +439,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
418
439
  *
419
440
  * Default value is `true`.
420
441
  *
442
+ *
421
443
  * @returns Reference to `this` in order to allow method chaining
422
444
  */
423
445
  setEditable(
@@ -436,6 +458,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
436
458
  *
437
459
  * Default value is `"100%"`.
438
460
  *
461
+ *
439
462
  * @returns Reference to `this` in order to allow method chaining
440
463
  */
441
464
  setHeight(
@@ -453,6 +476,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
453
476
  *
454
477
  * Default value is `true`.
455
478
  *
479
+ *
456
480
  * @returns Reference to `this` in order to allow method chaining
457
481
  */
458
482
  setLineNumbers(
@@ -462,8 +486,6 @@ declare module "sap/ui/codeeditor/CodeEditor" {
462
486
  bLineNumbers?: boolean
463
487
  ): this;
464
488
  /**
465
- * @since 1.48.1
466
- *
467
489
  * Sets a new value for property {@link #getMaxLines maxLines}.
468
490
  *
469
491
  * Sets whether the editor height should auto expand to a maximum number of lines. After reaching the maximum
@@ -476,6 +498,8 @@ declare module "sap/ui/codeeditor/CodeEditor" {
476
498
  *
477
499
  * Default value is `0`.
478
500
  *
501
+ * @since 1.48.1
502
+ *
479
503
  * @returns Reference to `this` in order to allow method chaining
480
504
  */
481
505
  setMaxLines(
@@ -493,6 +517,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
493
517
  *
494
518
  * Default value is `true`.
495
519
  *
520
+ *
496
521
  * @returns Reference to `this` in order to allow method chaining
497
522
  */
498
523
  setSyntaxHints(
@@ -522,6 +547,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
522
547
  *
523
548
  * Default value is `"javascript"`.
524
549
  *
550
+ *
525
551
  * @returns Reference to `this` in order to allow method chaining
526
552
  */
527
553
  setType(
@@ -539,6 +565,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
539
565
  *
540
566
  * Default value is `empty string`.
541
567
  *
568
+ *
542
569
  * @returns Reference to `this` in order to allow method chaining
543
570
  */
544
571
  setValue(
@@ -556,6 +583,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
556
583
  *
557
584
  * Default value is `false`.
558
585
  *
586
+ *
559
587
  * @returns Reference to `this` in order to allow method chaining
560
588
  */
561
589
  setValueSelection(
@@ -573,6 +601,7 @@ declare module "sap/ui/codeeditor/CodeEditor" {
573
601
  *
574
602
  * Default value is `"100%"`.
575
603
  *
604
+ *
576
605
  * @returns Reference to `this` in order to allow method chaining
577
606
  */
578
607
  setWidth(
@@ -633,13 +662,13 @@ declare module "sap/ui/codeeditor/CodeEditor" {
633
662
  valueSelection?: boolean | PropertyBindingInfo | `{${string}}`;
634
663
 
635
664
  /**
636
- * @since 1.48.1
637
- *
638
665
  * Sets whether the editor height should auto expand to a maximum number of lines. After reaching the maximum
639
666
  * number of lines specified, the content of the `CodeEditor` will become scrollable.
640
667
  *
641
668
  * **Note:** Keep in mind that the auto expand `CodeEditor` behavior requires the `height` property to be
642
669
  * set to `auto`.
670
+ *
671
+ * @since 1.48.1
643
672
  */
644
673
  maxLines?: int | PropertyBindingInfo | `{${string}}`;
645
674