@openui5/ts-types 1.114.0 → 1.115.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.
- package/package.json +1 -1
- package/types/sap.f.d.ts +1987 -1517
- package/types/sap.m.d.ts +26776 -22688
- package/types/sap.tnt.d.ts +160 -86
- package/types/sap.ui.codeeditor.d.ts +64 -38
- package/types/sap.ui.commons.d.ts +1377 -793
- package/types/sap.ui.core.d.ts +6006 -3642
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +162 -97
- package/types/sap.ui.integration.d.ts +497 -373
- package/types/sap.ui.layout.d.ts +598 -631
- package/types/sap.ui.mdc.d.ts +21985 -6
- package/types/sap.ui.rta.d.ts +7 -8
- package/types/sap.ui.suite.d.ts +29 -14
- package/types/sap.ui.support.d.ts +15 -17
- package/types/sap.ui.table.d.ts +910 -628
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1775 -1166
- package/types/sap.ui.ux3.d.ts +1469 -759
- package/types/sap.ui.webc.common.d.ts +9 -9
- package/types/sap.ui.webc.fiori.d.ts +812 -448
- package/types/sap.ui.webc.main.d.ts +2045 -1068
- package/types/sap.uxap.d.ts +469 -343
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.115.1
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
5
5
|
/**
|
|
6
|
-
* @
|
|
6
|
+
* @since 1.48
|
|
7
7
|
*
|
|
8
8
|
* UI5 library: sap.ui.codeeditor.
|
|
9
9
|
*/
|
|
@@ -73,7 +73,7 @@ declare namespace sap {
|
|
|
73
73
|
| `{${string}}`;
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
* @
|
|
76
|
+
* @since 1.48.1
|
|
77
77
|
*
|
|
78
78
|
* Sets whether the editor height should auto expand to a maximum number of lines. After reaching the maximum
|
|
79
79
|
* number of lines specified, the content of the `CodeEditor` will become scrollable.
|
|
@@ -106,16 +106,44 @@ declare namespace sap {
|
|
|
106
106
|
/**
|
|
107
107
|
* Fired when the value is changed by user interaction - each keystroke, delete, paste, etc.
|
|
108
108
|
*/
|
|
109
|
-
liveChange?: (
|
|
109
|
+
liveChange?: (
|
|
110
|
+
oEvent: sap.ui.base.Event<sap.ui.codeeditor.CodeEditor$LiveChangeEventParameters>
|
|
111
|
+
) => void;
|
|
110
112
|
|
|
111
113
|
/**
|
|
112
114
|
* Fired when the value has changed and the focus leaves the code editor.
|
|
113
115
|
*/
|
|
114
|
-
change?: (
|
|
116
|
+
change?: (
|
|
117
|
+
oEvent: sap.ui.base.Event<sap.ui.codeeditor.CodeEditor$ChangeEventParameters>
|
|
118
|
+
) => void;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
interface CodeEditor$ChangeEventParameters {
|
|
122
|
+
/**
|
|
123
|
+
* The current value of the code editor.
|
|
124
|
+
*/
|
|
125
|
+
value?: string;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* The old value of the code editor.
|
|
129
|
+
*/
|
|
130
|
+
oldValue?: string;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
interface CodeEditor$LiveChangeEventParameters {
|
|
134
|
+
/**
|
|
135
|
+
* The current value of the code editor.
|
|
136
|
+
*/
|
|
137
|
+
value?: string;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* The underlying change event of the third-party code editor.
|
|
141
|
+
*/
|
|
142
|
+
editorEvent?: object;
|
|
115
143
|
}
|
|
116
144
|
|
|
117
145
|
/**
|
|
118
|
-
* @
|
|
146
|
+
* @since 1.46
|
|
119
147
|
*
|
|
120
148
|
* Allows to visualize source code of various types with syntax highlighting, line numbers in editable and
|
|
121
149
|
* read only mode. Use this control in scenarios where the user should be able to inspect and edit source
|
|
@@ -183,7 +211,7 @@ declare namespace sap {
|
|
|
183
211
|
*/
|
|
184
212
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
185
213
|
/**
|
|
186
|
-
* @
|
|
214
|
+
* @since 1.52
|
|
187
215
|
*
|
|
188
216
|
* Defines custom completer - object implementing a getCompletions method. The method has two parameters
|
|
189
217
|
* - fnCallback method and context object. Context object provides details about oPos and sPrefix as provided
|
|
@@ -216,7 +244,7 @@ declare namespace sap {
|
|
|
216
244
|
/**
|
|
217
245
|
* The function to be called when the event occurs
|
|
218
246
|
*/
|
|
219
|
-
fnFunction: (p1:
|
|
247
|
+
fnFunction: (p1: CodeEditor$ChangeEvent) => void,
|
|
220
248
|
/**
|
|
221
249
|
* Context object to call the event handler with. Defaults to this `sap.ui.codeeditor.CodeEditor` itself
|
|
222
250
|
*/
|
|
@@ -236,7 +264,7 @@ declare namespace sap {
|
|
|
236
264
|
/**
|
|
237
265
|
* The function to be called when the event occurs
|
|
238
266
|
*/
|
|
239
|
-
fnFunction: (p1:
|
|
267
|
+
fnFunction: (p1: CodeEditor$ChangeEvent) => void,
|
|
240
268
|
/**
|
|
241
269
|
* Context object to call the event handler with. Defaults to this `sap.ui.codeeditor.CodeEditor` itself
|
|
242
270
|
*/
|
|
@@ -261,7 +289,7 @@ declare namespace sap {
|
|
|
261
289
|
/**
|
|
262
290
|
* The function to be called when the event occurs
|
|
263
291
|
*/
|
|
264
|
-
fnFunction: (p1:
|
|
292
|
+
fnFunction: (p1: CodeEditor$LiveChangeEvent) => void,
|
|
265
293
|
/**
|
|
266
294
|
* Context object to call the event handler with. Defaults to this `sap.ui.codeeditor.CodeEditor` itself
|
|
267
295
|
*/
|
|
@@ -281,7 +309,7 @@ declare namespace sap {
|
|
|
281
309
|
/**
|
|
282
310
|
* The function to be called when the event occurs
|
|
283
311
|
*/
|
|
284
|
-
fnFunction: (p1:
|
|
312
|
+
fnFunction: (p1: CodeEditor$LiveChangeEvent) => void,
|
|
285
313
|
/**
|
|
286
314
|
* Context object to call the event handler with. Defaults to this `sap.ui.codeeditor.CodeEditor` itself
|
|
287
315
|
*/
|
|
@@ -298,7 +326,7 @@ declare namespace sap {
|
|
|
298
326
|
/**
|
|
299
327
|
* The function to be called, when the event occurs
|
|
300
328
|
*/
|
|
301
|
-
fnFunction: (p1:
|
|
329
|
+
fnFunction: (p1: CodeEditor$ChangeEvent) => void,
|
|
302
330
|
/**
|
|
303
331
|
* Context object on which the given function had to be called
|
|
304
332
|
*/
|
|
@@ -315,14 +343,14 @@ declare namespace sap {
|
|
|
315
343
|
/**
|
|
316
344
|
* The function to be called, when the event occurs
|
|
317
345
|
*/
|
|
318
|
-
fnFunction: (p1:
|
|
346
|
+
fnFunction: (p1: CodeEditor$LiveChangeEvent) => void,
|
|
319
347
|
/**
|
|
320
348
|
* Context object on which the given function had to be called
|
|
321
349
|
*/
|
|
322
350
|
oListener?: object
|
|
323
351
|
): this;
|
|
324
352
|
/**
|
|
325
|
-
* @
|
|
353
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
326
354
|
*
|
|
327
355
|
* Fires event {@link #event:change change} to attached listeners.
|
|
328
356
|
*
|
|
@@ -332,19 +360,10 @@ declare namespace sap {
|
|
|
332
360
|
/**
|
|
333
361
|
* Parameters to pass along with the event
|
|
334
362
|
*/
|
|
335
|
-
mParameters?:
|
|
336
|
-
/**
|
|
337
|
-
* The current value of the code editor.
|
|
338
|
-
*/
|
|
339
|
-
value?: string;
|
|
340
|
-
/**
|
|
341
|
-
* The old value of the code editor.
|
|
342
|
-
*/
|
|
343
|
-
oldValue?: string;
|
|
344
|
-
}
|
|
363
|
+
mParameters?: sap.ui.codeeditor.CodeEditor$ChangeEventParameters
|
|
345
364
|
): this;
|
|
346
365
|
/**
|
|
347
|
-
* @
|
|
366
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
348
367
|
*
|
|
349
368
|
* Fires event {@link #event:liveChange liveChange} to attached listeners.
|
|
350
369
|
*
|
|
@@ -354,16 +373,7 @@ declare namespace sap {
|
|
|
354
373
|
/**
|
|
355
374
|
* Parameters to pass along with the event
|
|
356
375
|
*/
|
|
357
|
-
mParameters?:
|
|
358
|
-
/**
|
|
359
|
-
* The current value of the code editor.
|
|
360
|
-
*/
|
|
361
|
-
value?: string;
|
|
362
|
-
/**
|
|
363
|
-
* The underlying change event of the third-party code editor.
|
|
364
|
-
*/
|
|
365
|
-
editorEvent?: object;
|
|
366
|
-
}
|
|
376
|
+
mParameters?: sap.ui.codeeditor.CodeEditor$LiveChangeEventParameters
|
|
367
377
|
): this;
|
|
368
378
|
/**
|
|
369
379
|
* Sets the focus to the code editor
|
|
@@ -431,7 +441,7 @@ declare namespace sap {
|
|
|
431
441
|
*/
|
|
432
442
|
getLineNumbers(): boolean;
|
|
433
443
|
/**
|
|
434
|
-
* @
|
|
444
|
+
* @since 1.48.1
|
|
435
445
|
*
|
|
436
446
|
* Gets current value of property {@link #getMaxLines maxLines}.
|
|
437
447
|
*
|
|
@@ -509,7 +519,7 @@ declare namespace sap {
|
|
|
509
519
|
*/
|
|
510
520
|
getWidth(): sap.ui.core.CSSSize;
|
|
511
521
|
/**
|
|
512
|
-
* @
|
|
522
|
+
* @since 1.54.1
|
|
513
523
|
*
|
|
514
524
|
* Pretty-prints the content of the editor
|
|
515
525
|
*/
|
|
@@ -578,7 +588,7 @@ declare namespace sap {
|
|
|
578
588
|
bLineNumbers?: boolean
|
|
579
589
|
): this;
|
|
580
590
|
/**
|
|
581
|
-
* @
|
|
591
|
+
* @since 1.48.1
|
|
582
592
|
*
|
|
583
593
|
* Sets a new value for property {@link #getMaxLines maxLines}.
|
|
584
594
|
*
|
|
@@ -698,6 +708,22 @@ declare namespace sap {
|
|
|
698
708
|
sWidth?: sap.ui.core.CSSSize
|
|
699
709
|
): this;
|
|
700
710
|
}
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'CodeEditor$ChangeEventParameters'
|
|
714
|
+
* in 1.115.1 and any later releases.
|
|
715
|
+
*/
|
|
716
|
+
type $CodeEditorChangeEventParameters = sap.ui.codeeditor.CodeEditor$ChangeEventParameters;
|
|
717
|
+
|
|
718
|
+
type CodeEditor$ChangeEvent = sap.ui.base.Event<CodeEditor$ChangeEventParameters>;
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'CodeEditor$LiveChangeEventParameters'
|
|
722
|
+
* in 1.115.1 and any later releases.
|
|
723
|
+
*/
|
|
724
|
+
type $CodeEditorLiveChangeEventParameters = sap.ui.codeeditor.CodeEditor$LiveChangeEventParameters;
|
|
725
|
+
|
|
726
|
+
type CodeEditor$LiveChangeEvent = sap.ui.base.Event<CodeEditor$LiveChangeEventParameters>;
|
|
701
727
|
}
|
|
702
728
|
}
|
|
703
729
|
|