@openui5/ts-types-esm 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.
- package/package.json +6 -2
- package/types/sap.f.d.ts +1952 -119
- package/types/sap.m.d.ts +15677 -1259
- package/types/sap.tnt.d.ts +251 -19
- package/types/sap.ui.codeeditor.d.ts +74 -8
- package/types/sap.ui.commons.d.ts +3379 -313
- package/types/sap.ui.core.d.ts +6847 -715
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +153 -8
- package/types/sap.ui.integration.d.ts +313 -25
- package/types/sap.ui.layout.d.ts +1550 -199
- package/types/sap.ui.mdc.d.ts +73 -1
- package/types/sap.ui.rta.d.ts +5 -1
- package/types/sap.ui.suite.d.ts +75 -6
- package/types/sap.ui.support.d.ts +39 -12
- package/types/sap.ui.table.d.ts +932 -128
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +2456 -202
- package/types/sap.ui.ux3.d.ts +2192 -181
- package/types/sap.ui.webc.common.d.ts +5 -4
- package/types/sap.ui.webc.fiori.d.ts +1635 -333
- package/types/sap.ui.webc.main.d.ts +6046 -995
- package/types/sap.uxap.d.ts +812 -88
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.102.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/integration/library" {
|
|
4
4
|
import { URI } from "sap/ui/core/library";
|
|
@@ -29,7 +29,7 @@ declare module "sap/ui/integration/library" {
|
|
|
29
29
|
/**
|
|
30
30
|
* @EXPERIMENTAL (since 1.76)
|
|
31
31
|
*
|
|
32
|
-
* Used for custom actions
|
|
32
|
+
* Used for custom actions.
|
|
33
33
|
*/
|
|
34
34
|
Custom = "Custom",
|
|
35
35
|
/**
|
|
@@ -38,6 +38,12 @@ declare module "sap/ui/integration/library" {
|
|
|
38
38
|
* Date selection. Available only for Calendar cards.
|
|
39
39
|
*/
|
|
40
40
|
DateChange = "DateChange",
|
|
41
|
+
/**
|
|
42
|
+
* @EXPERIMENTAL (since 1.100)
|
|
43
|
+
*
|
|
44
|
+
* Used for hiding the appeared details about the card.
|
|
45
|
+
*/
|
|
46
|
+
HideCard = "HideCard",
|
|
41
47
|
/**
|
|
42
48
|
* @EXPERIMENTAL (since 1.87)
|
|
43
49
|
*
|
|
@@ -45,11 +51,17 @@ declare module "sap/ui/integration/library" {
|
|
|
45
51
|
*/
|
|
46
52
|
MonthChange = "MonthChange",
|
|
47
53
|
/**
|
|
48
|
-
* Used for navigation actions
|
|
54
|
+
* Used for navigation actions.
|
|
49
55
|
*/
|
|
50
56
|
Navigation = "Navigation",
|
|
51
57
|
/**
|
|
52
|
-
*
|
|
58
|
+
* @EXPERIMENTAL (since 1.100)
|
|
59
|
+
*
|
|
60
|
+
* Used for showing more details about the card.
|
|
61
|
+
*/
|
|
62
|
+
ShowCard = "ShowCard",
|
|
63
|
+
/**
|
|
64
|
+
* Used for submit actions.
|
|
53
65
|
*/
|
|
54
66
|
Submit = "Submit",
|
|
55
67
|
}
|
|
@@ -196,6 +208,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
196
208
|
* it with the information contained in `oClassInfo`.
|
|
197
209
|
*
|
|
198
210
|
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
211
|
+
*
|
|
212
|
+
* @returns Created class / constructor function
|
|
199
213
|
*/
|
|
200
214
|
static extend<T extends Record<string, unknown>>(
|
|
201
215
|
/**
|
|
@@ -214,6 +228,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
214
228
|
): Function;
|
|
215
229
|
/**
|
|
216
230
|
* Returns a metadata object for class sap.ui.integration.ActionDefinition.
|
|
231
|
+
*
|
|
232
|
+
* @returns Metadata object describing this class
|
|
217
233
|
*/
|
|
218
234
|
static getMetadata(): ElementMetadata;
|
|
219
235
|
/**
|
|
@@ -223,6 +239,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
223
239
|
* otherwise it will be bound to this `sap.ui.integration.ActionDefinition` itself.
|
|
224
240
|
*
|
|
225
241
|
* Fired when the action button is pressed.
|
|
242
|
+
*
|
|
243
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
226
244
|
*/
|
|
227
245
|
attachPress(
|
|
228
246
|
/**
|
|
@@ -247,6 +265,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
247
265
|
* otherwise it will be bound to this `sap.ui.integration.ActionDefinition` itself.
|
|
248
266
|
*
|
|
249
267
|
* Fired when the action button is pressed.
|
|
268
|
+
*
|
|
269
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
250
270
|
*/
|
|
251
271
|
attachPress(
|
|
252
272
|
/**
|
|
@@ -263,6 +283,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
263
283
|
* Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.ui.integration.ActionDefinition`.
|
|
264
284
|
*
|
|
265
285
|
* The passed function and listener object must match the ones used for event registration.
|
|
286
|
+
*
|
|
287
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
266
288
|
*/
|
|
267
289
|
detachPress(
|
|
268
290
|
/**
|
|
@@ -276,6 +298,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
276
298
|
): this;
|
|
277
299
|
/**
|
|
278
300
|
* Fires event {@link #event:press press} to attached listeners.
|
|
301
|
+
*
|
|
302
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
279
303
|
*/
|
|
280
304
|
firePress(
|
|
281
305
|
/**
|
|
@@ -289,6 +313,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
289
313
|
* The type of the action button.
|
|
290
314
|
*
|
|
291
315
|
* Default value is `Transparent`.
|
|
316
|
+
*
|
|
317
|
+
* @returns Value of property `buttonType`
|
|
292
318
|
*/
|
|
293
319
|
getButtonType(): ButtonType | keyof typeof ButtonType;
|
|
294
320
|
/**
|
|
@@ -298,18 +324,24 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
298
324
|
* be focused and they are out of the navigation tab-chain.
|
|
299
325
|
*
|
|
300
326
|
* Default value is `true`.
|
|
327
|
+
*
|
|
328
|
+
* @returns Value of property `enabled`
|
|
301
329
|
*/
|
|
302
330
|
getEnabled(): boolean;
|
|
303
331
|
/**
|
|
304
332
|
* Gets current value of property {@link #getIcon icon}.
|
|
305
333
|
*
|
|
306
334
|
* The icon of the action button.
|
|
335
|
+
*
|
|
336
|
+
* @returns Value of property `icon`
|
|
307
337
|
*/
|
|
308
338
|
getIcon(): URI;
|
|
309
339
|
/**
|
|
310
340
|
* Gets current value of property {@link #getParameters parameters}.
|
|
311
341
|
*
|
|
312
342
|
* The parameters of the action.
|
|
343
|
+
*
|
|
344
|
+
* @returns Value of property `parameters`
|
|
313
345
|
*/
|
|
314
346
|
getParameters(): object;
|
|
315
347
|
/**
|
|
@@ -318,12 +350,16 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
318
350
|
* The text of the action button.
|
|
319
351
|
*
|
|
320
352
|
* Default value is `empty string`.
|
|
353
|
+
*
|
|
354
|
+
* @returns Value of property `text`
|
|
321
355
|
*/
|
|
322
356
|
getText(): string;
|
|
323
357
|
/**
|
|
324
358
|
* Gets current value of property {@link #getType type}.
|
|
325
359
|
*
|
|
326
360
|
* The type of the action.
|
|
361
|
+
*
|
|
362
|
+
* @returns Value of property `type`
|
|
327
363
|
*/
|
|
328
364
|
getType(): CardActionType | keyof typeof CardActionType;
|
|
329
365
|
/**
|
|
@@ -332,6 +368,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
332
368
|
* Whether the action button should be visible on the screen.
|
|
333
369
|
*
|
|
334
370
|
* Default value is `true`.
|
|
371
|
+
*
|
|
372
|
+
* @returns Value of property `visible`
|
|
335
373
|
*/
|
|
336
374
|
getVisible(): boolean;
|
|
337
375
|
/**
|
|
@@ -342,6 +380,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
342
380
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
343
381
|
*
|
|
344
382
|
* Default value is `Transparent`.
|
|
383
|
+
*
|
|
384
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
345
385
|
*/
|
|
346
386
|
setButtonType(
|
|
347
387
|
/**
|
|
@@ -358,6 +398,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
358
398
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
359
399
|
*
|
|
360
400
|
* Default value is `true`.
|
|
401
|
+
*
|
|
402
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
361
403
|
*/
|
|
362
404
|
setEnabled(
|
|
363
405
|
/**
|
|
@@ -371,6 +413,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
371
413
|
* The icon of the action button.
|
|
372
414
|
*
|
|
373
415
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
416
|
+
*
|
|
417
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
374
418
|
*/
|
|
375
419
|
setIcon(
|
|
376
420
|
/**
|
|
@@ -384,6 +428,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
384
428
|
* The parameters of the action.
|
|
385
429
|
*
|
|
386
430
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
431
|
+
*
|
|
432
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
387
433
|
*/
|
|
388
434
|
setParameters(
|
|
389
435
|
/**
|
|
@@ -399,6 +445,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
399
445
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
400
446
|
*
|
|
401
447
|
* Default value is `empty string`.
|
|
448
|
+
*
|
|
449
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
402
450
|
*/
|
|
403
451
|
setText(
|
|
404
452
|
/**
|
|
@@ -412,6 +460,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
412
460
|
* The type of the action.
|
|
413
461
|
*
|
|
414
462
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
463
|
+
*
|
|
464
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
415
465
|
*/
|
|
416
466
|
setType(
|
|
417
467
|
/**
|
|
@@ -427,6 +477,8 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
427
477
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
428
478
|
*
|
|
429
479
|
* Default value is `true`.
|
|
480
|
+
*
|
|
481
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
430
482
|
*/
|
|
431
483
|
setVisible(
|
|
432
484
|
/**
|
|
@@ -440,7 +492,10 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
440
492
|
/**
|
|
441
493
|
* The type of the action.
|
|
442
494
|
*/
|
|
443
|
-
type?:
|
|
495
|
+
type?:
|
|
496
|
+
| (CardActionType | keyof typeof CardActionType)
|
|
497
|
+
| PropertyBindingInfo
|
|
498
|
+
| `{${string}}`;
|
|
444
499
|
|
|
445
500
|
/**
|
|
446
501
|
* The text of the action button.
|
|
@@ -450,28 +505,31 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
450
505
|
/**
|
|
451
506
|
* The icon of the action button.
|
|
452
507
|
*/
|
|
453
|
-
icon?: URI | PropertyBindingInfo
|
|
508
|
+
icon?: URI | PropertyBindingInfo | `{${string}}`;
|
|
454
509
|
|
|
455
510
|
/**
|
|
456
511
|
* The type of the action button.
|
|
457
512
|
*/
|
|
458
|
-
buttonType?:
|
|
513
|
+
buttonType?:
|
|
514
|
+
| (ButtonType | keyof typeof ButtonType)
|
|
515
|
+
| PropertyBindingInfo
|
|
516
|
+
| `{${string}}`;
|
|
459
517
|
|
|
460
518
|
/**
|
|
461
519
|
* Indicates whether the user can interact with the action button or not. **Note**: Disabled controls cannot
|
|
462
520
|
* be focused and they are out of the navigation tab-chain.
|
|
463
521
|
*/
|
|
464
|
-
enabled?: boolean | PropertyBindingInfo
|
|
522
|
+
enabled?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
465
523
|
|
|
466
524
|
/**
|
|
467
525
|
* Whether the action button should be visible on the screen.
|
|
468
526
|
*/
|
|
469
|
-
visible?: boolean | PropertyBindingInfo
|
|
527
|
+
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
470
528
|
|
|
471
529
|
/**
|
|
472
530
|
* The parameters of the action.
|
|
473
531
|
*/
|
|
474
|
-
parameters?: object | PropertyBindingInfo
|
|
532
|
+
parameters?: object | PropertyBindingInfo | `{${string}}`;
|
|
475
533
|
|
|
476
534
|
/**
|
|
477
535
|
* Fired when the action button is pressed.
|
|
@@ -540,6 +598,8 @@ declare module "sap/ui/integration/Designtime" {
|
|
|
540
598
|
* with the information contained in `oClassInfo`.
|
|
541
599
|
*
|
|
542
600
|
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.ManagedObject.extend}.
|
|
601
|
+
*
|
|
602
|
+
* @returns Created class / constructor function
|
|
543
603
|
*/
|
|
544
604
|
static extend<T extends Record<string, unknown>>(
|
|
545
605
|
/**
|
|
@@ -558,10 +618,14 @@ declare module "sap/ui/integration/Designtime" {
|
|
|
558
618
|
): Function;
|
|
559
619
|
/**
|
|
560
620
|
* Returns a metadata object for class sap.ui.integration.Designtime.
|
|
621
|
+
*
|
|
622
|
+
* @returns Metadata object describing this class
|
|
561
623
|
*/
|
|
562
624
|
static getMetadata(): ManagedObjectMetadata;
|
|
563
625
|
/**
|
|
564
626
|
* Returns an interface to the card, which uses this extension.
|
|
627
|
+
*
|
|
628
|
+
* @returns An interface to the card.
|
|
565
629
|
*/
|
|
566
630
|
getCard(): CardFacade;
|
|
567
631
|
}
|
|
@@ -579,6 +643,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsBoolean" {
|
|
|
579
643
|
interface IsBoolean {
|
|
580
644
|
/**
|
|
581
645
|
* Validator function
|
|
646
|
+
*
|
|
647
|
+
* @returns Validation result
|
|
582
648
|
*/
|
|
583
649
|
validate(
|
|
584
650
|
/**
|
|
@@ -601,6 +667,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsDate" {
|
|
|
601
667
|
interface IsDate {
|
|
602
668
|
/**
|
|
603
669
|
* Validator function
|
|
670
|
+
*
|
|
671
|
+
* @returns Validation result
|
|
604
672
|
*/
|
|
605
673
|
validate(
|
|
606
674
|
/**
|
|
@@ -623,6 +691,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsInteger" {
|
|
|
623
691
|
interface IsInteger {
|
|
624
692
|
/**
|
|
625
693
|
* Validator function
|
|
694
|
+
*
|
|
695
|
+
* @returns Validation result
|
|
626
696
|
*/
|
|
627
697
|
validate(
|
|
628
698
|
/**
|
|
@@ -645,6 +715,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsNumber" {
|
|
|
645
715
|
interface IsNumber {
|
|
646
716
|
/**
|
|
647
717
|
* Validator function
|
|
718
|
+
*
|
|
719
|
+
* @returns Validation result
|
|
648
720
|
*/
|
|
649
721
|
validate(
|
|
650
722
|
/**
|
|
@@ -667,6 +739,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey
|
|
|
667
739
|
interface IsSelectedKey {
|
|
668
740
|
/**
|
|
669
741
|
* Validator function
|
|
742
|
+
*
|
|
743
|
+
* @returns Validation result
|
|
670
744
|
*/
|
|
671
745
|
validate(
|
|
672
746
|
/**
|
|
@@ -698,6 +772,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsStringList"
|
|
|
698
772
|
interface IsStringList {
|
|
699
773
|
/**
|
|
700
774
|
* Validator function
|
|
775
|
+
*
|
|
776
|
+
* @returns Validation result
|
|
701
777
|
*/
|
|
702
778
|
validate(
|
|
703
779
|
/**
|
|
@@ -720,6 +796,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey"
|
|
|
720
796
|
interface IsUniqueKey {
|
|
721
797
|
/**
|
|
722
798
|
* Validator function
|
|
799
|
+
*
|
|
800
|
+
* @returns Validation result
|
|
723
801
|
*/
|
|
724
802
|
validate(
|
|
725
803
|
/**
|
|
@@ -755,6 +833,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsUniqueList"
|
|
|
755
833
|
interface IsUniqueList {
|
|
756
834
|
/**
|
|
757
835
|
* Validator function
|
|
836
|
+
*
|
|
837
|
+
* @returns Validation result
|
|
758
838
|
*/
|
|
759
839
|
validate(
|
|
760
840
|
/**
|
|
@@ -777,6 +857,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsValidBindin
|
|
|
777
857
|
interface IsValidBinding {
|
|
778
858
|
/**
|
|
779
859
|
* Validator function
|
|
860
|
+
*
|
|
861
|
+
* @returns Validation result
|
|
780
862
|
*/
|
|
781
863
|
validate(
|
|
782
864
|
/**
|
|
@@ -808,6 +890,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/MaxLength" {
|
|
|
808
890
|
interface MaxLength {
|
|
809
891
|
/**
|
|
810
892
|
* Validator function
|
|
893
|
+
*
|
|
894
|
+
* @returns Validation result
|
|
811
895
|
*/
|
|
812
896
|
validate(
|
|
813
897
|
/**
|
|
@@ -830,6 +914,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/NotABinding"
|
|
|
830
914
|
interface NotABinding {
|
|
831
915
|
/**
|
|
832
916
|
* Validator function
|
|
917
|
+
*
|
|
918
|
+
* @returns Validation result
|
|
833
919
|
*/
|
|
834
920
|
validate(
|
|
835
921
|
/**
|
|
@@ -855,6 +941,8 @@ declare module "sap/ui/integration/editor/Editor" {
|
|
|
855
941
|
* @EXPERIMENTAL (since 1.94)
|
|
856
942
|
*
|
|
857
943
|
* Performs an HTTP request using the given configuration.
|
|
944
|
+
*
|
|
945
|
+
* @returns Resolves when the request is successful, rejects otherwise.
|
|
858
946
|
*/
|
|
859
947
|
request(
|
|
860
948
|
/**
|
|
@@ -951,6 +1039,8 @@ declare module "sap/ui/integration/editor/Extension" {
|
|
|
951
1039
|
* it with the information contained in `oClassInfo`.
|
|
952
1040
|
*
|
|
953
1041
|
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.ManagedObject.extend}.
|
|
1042
|
+
*
|
|
1043
|
+
* @returns Created class / constructor function
|
|
954
1044
|
*/
|
|
955
1045
|
static extend<T extends Record<string, unknown>>(
|
|
956
1046
|
/**
|
|
@@ -969,10 +1059,14 @@ declare module "sap/ui/integration/editor/Extension" {
|
|
|
969
1059
|
): Function;
|
|
970
1060
|
/**
|
|
971
1061
|
* Returns a metadata object for class sap.ui.integration.editor.Extension.
|
|
1062
|
+
*
|
|
1063
|
+
* @returns Metadata object describing this class
|
|
972
1064
|
*/
|
|
973
1065
|
static getMetadata(): ManagedObjectMetadata;
|
|
974
1066
|
/**
|
|
975
1067
|
* Returns an interface to the editor, which uses this extension.
|
|
1068
|
+
*
|
|
1069
|
+
* @returns An interface to the card.
|
|
976
1070
|
*/
|
|
977
1071
|
getEditor(): CardFacade;
|
|
978
1072
|
/**
|
|
@@ -981,6 +1075,8 @@ declare module "sap/ui/integration/editor/Extension" {
|
|
|
981
1075
|
* Gets current value of property {@link #getFormatters formatters}.
|
|
982
1076
|
*
|
|
983
1077
|
* The formatters, which can be used in the manifest.
|
|
1078
|
+
*
|
|
1079
|
+
* @returns Value of property `formatters`
|
|
984
1080
|
*/
|
|
985
1081
|
getFormatters(): object;
|
|
986
1082
|
/**
|
|
@@ -995,7 +1091,7 @@ declare module "sap/ui/integration/editor/Extension" {
|
|
|
995
1091
|
*
|
|
996
1092
|
* The formatters, which can be used in the manifest.
|
|
997
1093
|
*/
|
|
998
|
-
formatters?: object | PropertyBindingInfo
|
|
1094
|
+
formatters?: object | PropertyBindingInfo | `{${string}}`;
|
|
999
1095
|
}
|
|
1000
1096
|
}
|
|
1001
1097
|
|
|
@@ -1059,6 +1155,8 @@ declare module "sap/ui/integration/Extension" {
|
|
|
1059
1155
|
* the information contained in `oClassInfo`.
|
|
1060
1156
|
*
|
|
1061
1157
|
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.ManagedObject.extend}.
|
|
1158
|
+
*
|
|
1159
|
+
* @returns Created class / constructor function
|
|
1062
1160
|
*/
|
|
1063
1161
|
static extend<T extends Record<string, unknown>>(
|
|
1064
1162
|
/**
|
|
@@ -1077,6 +1175,8 @@ declare module "sap/ui/integration/Extension" {
|
|
|
1077
1175
|
): Function;
|
|
1078
1176
|
/**
|
|
1079
1177
|
* Returns a metadata object for class sap.ui.integration.Extension.
|
|
1178
|
+
*
|
|
1179
|
+
* @returns Metadata object describing this class
|
|
1080
1180
|
*/
|
|
1081
1181
|
static getMetadata(): ManagedObjectMetadata;
|
|
1082
1182
|
/**
|
|
@@ -1088,6 +1188,8 @@ declare module "sap/ui/integration/Extension" {
|
|
|
1088
1188
|
* otherwise it will be bound to this `sap.ui.integration.Extension` itself.
|
|
1089
1189
|
*
|
|
1090
1190
|
* Fired when an action is triggered in the card.
|
|
1191
|
+
*
|
|
1192
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1091
1193
|
*/
|
|
1092
1194
|
attachAction(
|
|
1093
1195
|
/**
|
|
@@ -1113,6 +1215,8 @@ declare module "sap/ui/integration/Extension" {
|
|
|
1113
1215
|
* otherwise it will be bound to this `sap.ui.integration.Extension` itself.
|
|
1114
1216
|
*
|
|
1115
1217
|
* Fired when an action is triggered in the card.
|
|
1218
|
+
*
|
|
1219
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1116
1220
|
*/
|
|
1117
1221
|
attachAction(
|
|
1118
1222
|
/**
|
|
@@ -1130,6 +1234,8 @@ declare module "sap/ui/integration/Extension" {
|
|
|
1130
1234
|
* Detaches event handler `fnFunction` from the {@link #event:action action} event of this `sap.ui.integration.Extension`.
|
|
1131
1235
|
*
|
|
1132
1236
|
* The passed function and listener object must match the ones used for event registration.
|
|
1237
|
+
*
|
|
1238
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1133
1239
|
*/
|
|
1134
1240
|
detachAction(
|
|
1135
1241
|
/**
|
|
@@ -1148,6 +1254,8 @@ declare module "sap/ui/integration/Extension" {
|
|
|
1148
1254
|
*
|
|
1149
1255
|
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
1150
1256
|
* event object. The return value of this method indicates whether the default action should be executed.
|
|
1257
|
+
*
|
|
1258
|
+
* @returns Whether or not to prevent the default action
|
|
1151
1259
|
*/
|
|
1152
1260
|
fireAction(
|
|
1153
1261
|
/**
|
|
@@ -1183,10 +1291,14 @@ declare module "sap/ui/integration/Extension" {
|
|
|
1183
1291
|
* Gets current value of property {@link #getActions actions}.
|
|
1184
1292
|
*
|
|
1185
1293
|
* The actions configuration.
|
|
1294
|
+
*
|
|
1295
|
+
* @returns Value of property `actions`
|
|
1186
1296
|
*/
|
|
1187
1297
|
getActions(): CardMenuAction[];
|
|
1188
1298
|
/**
|
|
1189
1299
|
* Returns an interface to the card, which uses this extension.
|
|
1300
|
+
*
|
|
1301
|
+
* @returns An interface to the card.
|
|
1190
1302
|
*/
|
|
1191
1303
|
getCard(): CardFacade;
|
|
1192
1304
|
/**
|
|
@@ -1195,6 +1307,8 @@ declare module "sap/ui/integration/Extension" {
|
|
|
1195
1307
|
* Gets current value of property {@link #getFormatters formatters}.
|
|
1196
1308
|
*
|
|
1197
1309
|
* The formatters, which can be used in the manifest.
|
|
1310
|
+
*
|
|
1311
|
+
* @returns Value of property `formatters`
|
|
1198
1312
|
*/
|
|
1199
1313
|
getFormatters(): object;
|
|
1200
1314
|
/**
|
|
@@ -1210,14 +1324,14 @@ declare module "sap/ui/integration/Extension" {
|
|
|
1210
1324
|
*
|
|
1211
1325
|
* The actions configuration.
|
|
1212
1326
|
*/
|
|
1213
|
-
actions?: CardMenuAction[] | PropertyBindingInfo
|
|
1327
|
+
actions?: CardMenuAction[] | PropertyBindingInfo | `{${string}}`;
|
|
1214
1328
|
|
|
1215
1329
|
/**
|
|
1216
1330
|
* @EXPERIMENTAL (since 1.79)
|
|
1217
1331
|
*
|
|
1218
1332
|
* The formatters, which can be used in the manifest.
|
|
1219
1333
|
*/
|
|
1220
|
-
formatters?: object | PropertyBindingInfo
|
|
1334
|
+
formatters?: object | PropertyBindingInfo | `{${string}}`;
|
|
1221
1335
|
|
|
1222
1336
|
/**
|
|
1223
1337
|
* @EXPERIMENTAL (since 1.75)
|
|
@@ -1286,6 +1400,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1286
1400
|
* information contained in `oClassInfo`.
|
|
1287
1401
|
*
|
|
1288
1402
|
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
1403
|
+
*
|
|
1404
|
+
* @returns Created class / constructor function
|
|
1289
1405
|
*/
|
|
1290
1406
|
static extend<T extends Record<string, unknown>>(
|
|
1291
1407
|
/**
|
|
@@ -1304,6 +1420,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1304
1420
|
): Function;
|
|
1305
1421
|
/**
|
|
1306
1422
|
* Returns a metadata object for class sap.ui.integration.Host.
|
|
1423
|
+
*
|
|
1424
|
+
* @returns Metadata object describing this class
|
|
1307
1425
|
*/
|
|
1308
1426
|
static getMetadata(): ElementMetadata;
|
|
1309
1427
|
/**
|
|
@@ -1315,6 +1433,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1315
1433
|
* otherwise it will be bound to this `sap.ui.integration.Host` itself.
|
|
1316
1434
|
*
|
|
1317
1435
|
* Fired when an action is triggered.
|
|
1436
|
+
*
|
|
1437
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1318
1438
|
*/
|
|
1319
1439
|
attachAction(
|
|
1320
1440
|
/**
|
|
@@ -1340,6 +1460,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1340
1460
|
* otherwise it will be bound to this `sap.ui.integration.Host` itself.
|
|
1341
1461
|
*
|
|
1342
1462
|
* Fired when an action is triggered.
|
|
1463
|
+
*
|
|
1464
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1343
1465
|
*/
|
|
1344
1466
|
attachAction(
|
|
1345
1467
|
/**
|
|
@@ -1362,6 +1484,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1362
1484
|
*
|
|
1363
1485
|
* Fired when some card configuration settings are changed as a result of user interaction. For example
|
|
1364
1486
|
* - filter value is changed.
|
|
1487
|
+
*
|
|
1488
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1365
1489
|
*/
|
|
1366
1490
|
attachCardConfigurationChange(
|
|
1367
1491
|
/**
|
|
@@ -1389,6 +1513,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1389
1513
|
*
|
|
1390
1514
|
* Fired when some card configuration settings are changed as a result of user interaction. For example
|
|
1391
1515
|
* - filter value is changed.
|
|
1516
|
+
*
|
|
1517
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1392
1518
|
*/
|
|
1393
1519
|
attachCardConfigurationChange(
|
|
1394
1520
|
/**
|
|
@@ -1409,6 +1535,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1409
1535
|
* otherwise it will be bound to this `sap.ui.integration.Host` itself.
|
|
1410
1536
|
*
|
|
1411
1537
|
* Fired when a message from channels like navigator.serviceWorker is received.
|
|
1538
|
+
*
|
|
1539
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1412
1540
|
*/
|
|
1413
1541
|
attachMessage(
|
|
1414
1542
|
/**
|
|
@@ -1434,6 +1562,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1434
1562
|
* otherwise it will be bound to this `sap.ui.integration.Host` itself.
|
|
1435
1563
|
*
|
|
1436
1564
|
* Fired when a message from channels like navigator.serviceWorker is received.
|
|
1565
|
+
*
|
|
1566
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1437
1567
|
*/
|
|
1438
1568
|
attachMessage(
|
|
1439
1569
|
/**
|
|
@@ -1477,6 +1607,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1477
1607
|
* Detaches event handler `fnFunction` from the {@link #event:action action} event of this `sap.ui.integration.Host`.
|
|
1478
1608
|
*
|
|
1479
1609
|
* The passed function and listener object must match the ones used for event registration.
|
|
1610
|
+
*
|
|
1611
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1480
1612
|
*/
|
|
1481
1613
|
detachAction(
|
|
1482
1614
|
/**
|
|
@@ -1495,6 +1627,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1495
1627
|
* event of this `sap.ui.integration.Host`.
|
|
1496
1628
|
*
|
|
1497
1629
|
* The passed function and listener object must match the ones used for event registration.
|
|
1630
|
+
*
|
|
1631
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1498
1632
|
*/
|
|
1499
1633
|
detachCardConfigurationChange(
|
|
1500
1634
|
/**
|
|
@@ -1512,6 +1646,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1512
1646
|
* Detaches event handler `fnFunction` from the {@link #event:message message} event of this `sap.ui.integration.Host`.
|
|
1513
1647
|
*
|
|
1514
1648
|
* The passed function and listener object must match the ones used for event registration.
|
|
1649
|
+
*
|
|
1650
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1515
1651
|
*/
|
|
1516
1652
|
detachMessage(
|
|
1517
1653
|
/**
|
|
@@ -1530,6 +1666,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1530
1666
|
*
|
|
1531
1667
|
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
1532
1668
|
* event object. The return value of this method indicates whether the default action should be executed.
|
|
1669
|
+
*
|
|
1670
|
+
* @returns Whether or not to prevent the default action
|
|
1533
1671
|
*/
|
|
1534
1672
|
fireAction(
|
|
1535
1673
|
/**
|
|
@@ -1562,6 +1700,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1562
1700
|
* @EXPERIMENTAL (since 1.96)
|
|
1563
1701
|
*
|
|
1564
1702
|
* Fires event {@link #event:cardConfigurationChange cardConfigurationChange} to attached listeners.
|
|
1703
|
+
*
|
|
1704
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1565
1705
|
*/
|
|
1566
1706
|
fireCardConfigurationChange(
|
|
1567
1707
|
/**
|
|
@@ -1591,6 +1731,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1591
1731
|
* @EXPERIMENTAL (since 1.91)
|
|
1592
1732
|
*
|
|
1593
1733
|
* Fires event {@link #event:message message} to attached listeners.
|
|
1734
|
+
*
|
|
1735
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1594
1736
|
*/
|
|
1595
1737
|
fireMessage(
|
|
1596
1738
|
/**
|
|
@@ -1606,6 +1748,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1606
1748
|
* Gets current value of property {@link #getActions actions}.
|
|
1607
1749
|
*
|
|
1608
1750
|
* The actions configuration.
|
|
1751
|
+
*
|
|
1752
|
+
* @returns Value of property `actions`
|
|
1609
1753
|
*/
|
|
1610
1754
|
getActions(): CardMenuAction[];
|
|
1611
1755
|
/**
|
|
@@ -1621,6 +1765,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1621
1765
|
*
|
|
1622
1766
|
* The context information and texts should be translated as they appear in the design-time UI of the Card
|
|
1623
1767
|
* Editor.
|
|
1768
|
+
*
|
|
1769
|
+
* @returns A promise which contains the context structure.
|
|
1624
1770
|
*/
|
|
1625
1771
|
getContexts(): Promise<any>;
|
|
1626
1772
|
/**
|
|
@@ -1635,6 +1781,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1635
1781
|
*
|
|
1636
1782
|
* Example path to the current user id of the context sPath = "sap.workzone/currentUser/id" parameter: {
|
|
1637
1783
|
* userId: { value: "{context>sap.workzone/currentUser/id}" resolves to UserId } }
|
|
1784
|
+
*
|
|
1785
|
+
* @returns A promise which resolves with the value of this context.
|
|
1638
1786
|
*/
|
|
1639
1787
|
getContextValue(
|
|
1640
1788
|
/**
|
|
@@ -1646,6 +1794,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1646
1794
|
* @EXPERIMENTAL (since 1.97)
|
|
1647
1795
|
*
|
|
1648
1796
|
* Resolves the CSRF token and returns a Promise with its value.
|
|
1797
|
+
*
|
|
1798
|
+
* @returns A promise which resolves the CSRF token to its value.
|
|
1649
1799
|
*/
|
|
1650
1800
|
getCsrfToken(
|
|
1651
1801
|
/**
|
|
@@ -1655,6 +1805,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1655
1805
|
): Promise<any>;
|
|
1656
1806
|
/**
|
|
1657
1807
|
* Resolves the destination and returns its URL.
|
|
1808
|
+
*
|
|
1809
|
+
* @returns A promise which resolves with the URL of the destination.
|
|
1658
1810
|
*/
|
|
1659
1811
|
getDestination(
|
|
1660
1812
|
/**
|
|
@@ -1667,6 +1819,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1667
1819
|
*
|
|
1668
1820
|
* Returns the list of destinations for the Card Editor design-time environment List entries are objects
|
|
1669
1821
|
* that contain at least the name. { "name": "DestinationName" }
|
|
1822
|
+
*
|
|
1823
|
+
* @returns A promise which resolves with the list of destinations.
|
|
1670
1824
|
*/
|
|
1671
1825
|
getDestinations(): Promise<any>;
|
|
1672
1826
|
/**
|
|
@@ -1681,6 +1835,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1681
1835
|
*
|
|
1682
1836
|
* The callback receives `destinationName` as parameter and returns a string with the URL. Or alternatively
|
|
1683
1837
|
* the callback may return a `Promise` with the URL as an argument.
|
|
1838
|
+
*
|
|
1839
|
+
* @returns Value of property `resolveDestination`
|
|
1684
1840
|
*/
|
|
1685
1841
|
getResolveDestination(): Function;
|
|
1686
1842
|
/**
|
|
@@ -1691,6 +1847,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1691
1847
|
* The actions configuration.
|
|
1692
1848
|
*
|
|
1693
1849
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1850
|
+
*
|
|
1851
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1694
1852
|
*/
|
|
1695
1853
|
setActions(
|
|
1696
1854
|
/**
|
|
@@ -1712,6 +1870,8 @@ declare module "sap/ui/integration/Host" {
|
|
|
1712
1870
|
* the callback may return a `Promise` with the URL as an argument.
|
|
1713
1871
|
*
|
|
1714
1872
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1873
|
+
*
|
|
1874
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1715
1875
|
*/
|
|
1716
1876
|
setResolveDestination(
|
|
1717
1877
|
/**
|
|
@@ -1727,7 +1887,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
1727
1887
|
*
|
|
1728
1888
|
* The actions configuration.
|
|
1729
1889
|
*/
|
|
1730
|
-
actions?: CardMenuAction[] | PropertyBindingInfo
|
|
1890
|
+
actions?: CardMenuAction[] | PropertyBindingInfo | `{${string}}`;
|
|
1731
1891
|
|
|
1732
1892
|
/**
|
|
1733
1893
|
* A function that resolves the given destination name to a URL.
|
|
@@ -1740,7 +1900,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
1740
1900
|
* The callback receives `destinationName` as parameter and returns a string with the URL. Or alternatively
|
|
1741
1901
|
* the callback may return a `Promise` with the URL as an argument.
|
|
1742
1902
|
*/
|
|
1743
|
-
resolveDestination?: Function | PropertyBindingInfo
|
|
1903
|
+
resolveDestination?: Function | PropertyBindingInfo | `{${string}}`;
|
|
1744
1904
|
|
|
1745
1905
|
/**
|
|
1746
1906
|
* @EXPERIMENTAL (since 1.75)
|
|
@@ -1822,8 +1982,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1822
1982
|
* - The dimensions of the card inside a layout of choice, using the `width` and `height` properties
|
|
1823
1983
|
* - The behavior for the actions described in the manifest.json file, using the action event
|
|
1824
1984
|
*
|
|
1825
|
-
* **You can learn more about integration cards in the
|
|
1826
|
-
* Explorer**
|
|
1985
|
+
* **You can learn more about integration cards in the {@link demo:sap/ui/integration/demokit/cardExplorer/index.html
|
|
1986
|
+
* Card Explorer}**
|
|
1827
1987
|
*
|
|
1828
1988
|
* When to use
|
|
1829
1989
|
* - When you want to reuse the card across apps.
|
|
@@ -1877,6 +2037,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1877
2037
|
* with the information contained in `oClassInfo`.
|
|
1878
2038
|
*
|
|
1879
2039
|
* `oClassInfo` might contain the same kind of information as described in {@link sap.f.CardBase.extend}.
|
|
2040
|
+
*
|
|
2041
|
+
* @returns Created class / constructor function
|
|
1880
2042
|
*/
|
|
1881
2043
|
static extend<T extends Record<string, unknown>>(
|
|
1882
2044
|
/**
|
|
@@ -1895,6 +2057,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1895
2057
|
): Function;
|
|
1896
2058
|
/**
|
|
1897
2059
|
* Returns a metadata object for class sap.ui.integration.widgets.Card.
|
|
2060
|
+
*
|
|
2061
|
+
* @returns Metadata object describing this class
|
|
1898
2062
|
*/
|
|
1899
2063
|
static getMetadata(): ElementMetadata;
|
|
1900
2064
|
/**
|
|
@@ -1902,6 +2066,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1902
2066
|
* @EXPERIMENTAL (since 1.85)
|
|
1903
2067
|
*
|
|
1904
2068
|
* Adds some actionDefinition to the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
2069
|
+
*
|
|
2070
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1905
2071
|
*/
|
|
1906
2072
|
addActionDefinition(
|
|
1907
2073
|
/**
|
|
@@ -1918,6 +2084,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1918
2084
|
* otherwise it will be bound to this `sap.ui.integration.widgets.Card` itself.
|
|
1919
2085
|
*
|
|
1920
2086
|
* Fired when an action is triggered on the card.
|
|
2087
|
+
*
|
|
2088
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1921
2089
|
*/
|
|
1922
2090
|
attachAction(
|
|
1923
2091
|
/**
|
|
@@ -1943,6 +2111,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1943
2111
|
* otherwise it will be bound to this `sap.ui.integration.widgets.Card` itself.
|
|
1944
2112
|
*
|
|
1945
2113
|
* Fired when an action is triggered on the card.
|
|
2114
|
+
*
|
|
2115
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1946
2116
|
*/
|
|
1947
2117
|
attachAction(
|
|
1948
2118
|
/**
|
|
@@ -1965,6 +2135,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1965
2135
|
*
|
|
1966
2136
|
* Fired when some configuration settings are changed as a result of user interaction. For example - filter
|
|
1967
2137
|
* value is changed.
|
|
2138
|
+
*
|
|
2139
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1968
2140
|
*/
|
|
1969
2141
|
attachConfigurationChange(
|
|
1970
2142
|
/**
|
|
@@ -1992,6 +2164,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1992
2164
|
*
|
|
1993
2165
|
* Fired when some configuration settings are changed as a result of user interaction. For example - filter
|
|
1994
2166
|
* value is changed.
|
|
2167
|
+
*
|
|
2168
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1995
2169
|
*/
|
|
1996
2170
|
attachConfigurationChange(
|
|
1997
2171
|
/**
|
|
@@ -2014,6 +2188,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2014
2188
|
* and initialized.
|
|
2015
2189
|
*
|
|
2016
2190
|
* Note: The card's content may not be available yet because it may depend on other resources to load.
|
|
2191
|
+
*
|
|
2192
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2017
2193
|
*/
|
|
2018
2194
|
attachManifestApplied(
|
|
2019
2195
|
/**
|
|
@@ -2041,6 +2217,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2041
2217
|
* and initialized.
|
|
2042
2218
|
*
|
|
2043
2219
|
* Note: The card's content may not be available yet because it may depend on other resources to load.
|
|
2220
|
+
*
|
|
2221
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2044
2222
|
*/
|
|
2045
2223
|
attachManifestApplied(
|
|
2046
2224
|
/**
|
|
@@ -2061,6 +2239,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2061
2239
|
* otherwise it will be bound to this `sap.ui.integration.widgets.Card` itself.
|
|
2062
2240
|
*
|
|
2063
2241
|
* Fired when the manifest is loaded.
|
|
2242
|
+
*
|
|
2243
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2064
2244
|
*/
|
|
2065
2245
|
attachManifestReady(
|
|
2066
2246
|
/**
|
|
@@ -2086,6 +2266,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2086
2266
|
* otherwise it will be bound to this `sap.ui.integration.widgets.Card` itself.
|
|
2087
2267
|
*
|
|
2088
2268
|
* Fired when the manifest is loaded.
|
|
2269
|
+
*
|
|
2270
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2089
2271
|
*/
|
|
2090
2272
|
attachManifestReady(
|
|
2091
2273
|
/**
|
|
@@ -2102,6 +2284,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2102
2284
|
* @EXPERIMENTAL (since 1.85)
|
|
2103
2285
|
*
|
|
2104
2286
|
* Destroys all the actionDefinitions in the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
2287
|
+
*
|
|
2288
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2105
2289
|
*/
|
|
2106
2290
|
destroyActionDefinitions(): this;
|
|
2107
2291
|
/**
|
|
@@ -2110,6 +2294,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2110
2294
|
* Detaches event handler `fnFunction` from the {@link #event:action action} event of this `sap.ui.integration.widgets.Card`.
|
|
2111
2295
|
*
|
|
2112
2296
|
* The passed function and listener object must match the ones used for event registration.
|
|
2297
|
+
*
|
|
2298
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2113
2299
|
*/
|
|
2114
2300
|
detachAction(
|
|
2115
2301
|
/**
|
|
@@ -2128,6 +2314,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2128
2314
|
* of this `sap.ui.integration.widgets.Card`.
|
|
2129
2315
|
*
|
|
2130
2316
|
* The passed function and listener object must match the ones used for event registration.
|
|
2317
|
+
*
|
|
2318
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2131
2319
|
*/
|
|
2132
2320
|
detachConfigurationChange(
|
|
2133
2321
|
/**
|
|
@@ -2144,6 +2332,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2144
2332
|
* this `sap.ui.integration.widgets.Card`.
|
|
2145
2333
|
*
|
|
2146
2334
|
* The passed function and listener object must match the ones used for event registration.
|
|
2335
|
+
*
|
|
2336
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2147
2337
|
*/
|
|
2148
2338
|
detachManifestApplied(
|
|
2149
2339
|
/**
|
|
@@ -2162,6 +2352,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2162
2352
|
* `sap.ui.integration.widgets.Card`.
|
|
2163
2353
|
*
|
|
2164
2354
|
* The passed function and listener object must match the ones used for event registration.
|
|
2355
|
+
*
|
|
2356
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2165
2357
|
*/
|
|
2166
2358
|
detachManifestReady(
|
|
2167
2359
|
/**
|
|
@@ -2180,6 +2372,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2180
2372
|
*
|
|
2181
2373
|
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
2182
2374
|
* event object. The return value of this method indicates whether the default action should be executed.
|
|
2375
|
+
*
|
|
2376
|
+
* @returns Whether or not to prevent the default action
|
|
2183
2377
|
*/
|
|
2184
2378
|
fireAction(
|
|
2185
2379
|
/**
|
|
@@ -2208,6 +2402,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2208
2402
|
* @EXPERIMENTAL (since 1.96)
|
|
2209
2403
|
*
|
|
2210
2404
|
* Fires event {@link #event:configurationChange configurationChange} to attached listeners.
|
|
2405
|
+
*
|
|
2406
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2211
2407
|
*/
|
|
2212
2408
|
fireConfigurationChange(
|
|
2213
2409
|
/**
|
|
@@ -2231,6 +2427,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2231
2427
|
): this;
|
|
2232
2428
|
/**
|
|
2233
2429
|
* Fires event {@link #event:manifestApplied manifestApplied} to attached listeners.
|
|
2430
|
+
*
|
|
2431
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2234
2432
|
*/
|
|
2235
2433
|
fireManifestApplied(
|
|
2236
2434
|
/**
|
|
@@ -2242,6 +2440,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2242
2440
|
* @EXPERIMENTAL (since 1.72)
|
|
2243
2441
|
*
|
|
2244
2442
|
* Fires event {@link #event:manifestReady manifestReady} to attached listeners.
|
|
2443
|
+
*
|
|
2444
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2245
2445
|
*/
|
|
2246
2446
|
fireManifestReady(
|
|
2247
2447
|
/**
|
|
@@ -2267,18 +2467,26 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2267
2467
|
*
|
|
2268
2468
|
* Defines the base URL of the Card Manifest. It should be used when manifest property is an object instead
|
|
2269
2469
|
* of a URL.
|
|
2470
|
+
*
|
|
2471
|
+
* @returns Value of property `baseUrl`
|
|
2270
2472
|
*/
|
|
2271
2473
|
getBaseUrl(): URI;
|
|
2272
2474
|
/**
|
|
2273
2475
|
* Implements sap.f.ICard interface.
|
|
2476
|
+
*
|
|
2477
|
+
* @returns The content of the card
|
|
2274
2478
|
*/
|
|
2275
2479
|
getCardContent(): Control;
|
|
2276
2480
|
/**
|
|
2277
2481
|
* Implements sap.f.ICard interface.
|
|
2482
|
+
*
|
|
2483
|
+
* @returns The header of the card
|
|
2278
2484
|
*/
|
|
2279
2485
|
getCardHeader(): cards.IHeader;
|
|
2280
2486
|
/**
|
|
2281
2487
|
* Implements sap.f.ICard interface.
|
|
2488
|
+
*
|
|
2489
|
+
* @returns The position of the header of the card.
|
|
2282
2490
|
*/
|
|
2283
2491
|
getCardHeaderPosition():
|
|
2284
2492
|
| cards.HeaderPosition
|
|
@@ -2293,6 +2501,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2293
2501
|
* - Use this method when the manifest is ready. Check `manifestReady` event.
|
|
2294
2502
|
*
|
|
2295
2503
|
* - Use when developing a Component card.
|
|
2504
|
+
*
|
|
2505
|
+
* @returns Object containing parameters in format `{parameterKey: parameterValue}`.
|
|
2296
2506
|
*/
|
|
2297
2507
|
getCombinedParameters(): Record<string, any>;
|
|
2298
2508
|
/**
|
|
@@ -2304,10 +2514,14 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2304
2514
|
* Defines the state of the `Card`. When set to `Inactive`, the `Card` doesn't make requests.
|
|
2305
2515
|
*
|
|
2306
2516
|
* Default value is `Active`.
|
|
2517
|
+
*
|
|
2518
|
+
* @returns Value of property `dataMode`
|
|
2307
2519
|
*/
|
|
2308
2520
|
getDataMode(): CardDataMode | keyof typeof CardDataMode;
|
|
2309
2521
|
/**
|
|
2310
2522
|
* Returns the DOM Element that should get the focus.
|
|
2523
|
+
*
|
|
2524
|
+
* @returns Returns the DOM Element that should get the focus
|
|
2311
2525
|
*/
|
|
2312
2526
|
getFocusDomRef(): Element;
|
|
2313
2527
|
/**
|
|
@@ -2318,10 +2532,14 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2318
2532
|
* @EXPERIMENTAL (since 1.77)
|
|
2319
2533
|
*
|
|
2320
2534
|
* Gets the instance of the `host` association.
|
|
2535
|
+
*
|
|
2536
|
+
* @returns The host object associated with this card.
|
|
2321
2537
|
*/
|
|
2322
2538
|
getHostInstance(): Host;
|
|
2323
2539
|
/**
|
|
2324
2540
|
* Overwrites getter for card manifest.
|
|
2541
|
+
*
|
|
2542
|
+
* @returns Cloned of the parameters.
|
|
2325
2543
|
*/
|
|
2326
2544
|
getManifest(): string | Object;
|
|
2327
2545
|
/**
|
|
@@ -2345,6 +2563,9 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2345
2563
|
* {"content": {"header": {"title": "My new title"}}}
|
|
2346
2564
|
* ]
|
|
2347
2565
|
* ```
|
|
2566
|
+
*
|
|
2567
|
+
*
|
|
2568
|
+
* @returns Value of property `manifestChanges`
|
|
2348
2569
|
*/
|
|
2349
2570
|
getManifestChanges(): object[];
|
|
2350
2571
|
/**
|
|
@@ -2353,6 +2574,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2353
2574
|
* Returns a value from the Manifest based on the specified path.
|
|
2354
2575
|
*
|
|
2355
2576
|
* **Note** Use this method when the manifest is ready. Check `manifestReady` event.
|
|
2577
|
+
*
|
|
2578
|
+
* @returns The value at the specified path.
|
|
2356
2579
|
*/
|
|
2357
2580
|
getManifestEntry(
|
|
2358
2581
|
/**
|
|
@@ -2366,6 +2589,9 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2366
2589
|
* Gets translated text from the i18n properties files configured for this card.
|
|
2367
2590
|
*
|
|
2368
2591
|
* For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
|
|
2592
|
+
*
|
|
2593
|
+
* @returns The value belonging to the key, if found; otherwise the key itself or `undefined` depending
|
|
2594
|
+
* on `bIgnoreKeyFallback`.
|
|
2369
2595
|
*/
|
|
2370
2596
|
getTranslatedText(
|
|
2371
2597
|
/**
|
|
@@ -2401,6 +2627,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2401
2627
|
*
|
|
2402
2628
|
* Checks for the provided `sap.ui.integration.ActionDefinition` in the aggregation {@link #getActionDefinitions
|
|
2403
2629
|
* actionDefinitions}. and returns its index if found or -1 otherwise.
|
|
2630
|
+
*
|
|
2631
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
2404
2632
|
*/
|
|
2405
2633
|
indexOfActionDefinition(
|
|
2406
2634
|
/**
|
|
@@ -2413,6 +2641,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2413
2641
|
* @EXPERIMENTAL (since 1.85)
|
|
2414
2642
|
*
|
|
2415
2643
|
* Inserts a actionDefinition into the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
2644
|
+
*
|
|
2645
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2416
2646
|
*/
|
|
2417
2647
|
insertActionDefinition(
|
|
2418
2648
|
/**
|
|
@@ -2428,6 +2658,9 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2428
2658
|
): this;
|
|
2429
2659
|
/**
|
|
2430
2660
|
* @EXPERIMENTAL (since 1.65)
|
|
2661
|
+
*
|
|
2662
|
+
*
|
|
2663
|
+
* @returns If the card is ready or not.
|
|
2431
2664
|
*/
|
|
2432
2665
|
isReady(): boolean;
|
|
2433
2666
|
/**
|
|
@@ -2439,6 +2672,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2439
2672
|
* Returns a promise that resolves with an object { designtime: the designtime modules response manifest:
|
|
2440
2673
|
* the complete manifest json } The promise is rejected if the module cannot be loaded with an object: {
|
|
2441
2674
|
* error: "Card.designtime not found" }
|
|
2675
|
+
*
|
|
2676
|
+
* @returns Promise resolves after the designtime configuration is loaded.
|
|
2442
2677
|
*/
|
|
2443
2678
|
loadDesigntime(): Promise<any>;
|
|
2444
2679
|
/**
|
|
@@ -2458,6 +2693,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2458
2693
|
* @EXPERIMENTAL (since 1.85)
|
|
2459
2694
|
*
|
|
2460
2695
|
* Removes a actionDefinition from the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
2696
|
+
*
|
|
2697
|
+
* @returns The removed actionDefinition or `null`
|
|
2461
2698
|
*/
|
|
2462
2699
|
removeActionDefinition(
|
|
2463
2700
|
/**
|
|
@@ -2472,12 +2709,16 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2472
2709
|
* Removes all the controls from the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
2473
2710
|
*
|
|
2474
2711
|
* Additionally, it unregisters them from the hosting UIArea.
|
|
2712
|
+
*
|
|
2713
|
+
* @returns An array of the removed elements (might be empty)
|
|
2475
2714
|
*/
|
|
2476
2715
|
removeAllActionDefinitions(): ActionDefinition[];
|
|
2477
2716
|
/**
|
|
2478
2717
|
* @EXPERIMENTAL (since 1.79)
|
|
2479
2718
|
*
|
|
2480
2719
|
* Performs an HTTP request using the given configuration.
|
|
2720
|
+
*
|
|
2721
|
+
* @returns Resolves when the request is successful, rejects otherwise.
|
|
2481
2722
|
*/
|
|
2482
2723
|
request(
|
|
2483
2724
|
/**
|
|
@@ -2519,6 +2760,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2519
2760
|
): Promise<any>;
|
|
2520
2761
|
/**
|
|
2521
2762
|
* Resolves the destination and returns its URL.
|
|
2763
|
+
*
|
|
2764
|
+
* @returns A promise which resolves with the URL of the destination.
|
|
2522
2765
|
*/
|
|
2523
2766
|
resolveDestination(
|
|
2524
2767
|
/**
|
|
@@ -2536,6 +2779,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2536
2779
|
* of a URL.
|
|
2537
2780
|
*
|
|
2538
2781
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2782
|
+
*
|
|
2783
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2539
2784
|
*/
|
|
2540
2785
|
setBaseUrl(
|
|
2541
2786
|
/**
|
|
@@ -2548,6 +2793,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2548
2793
|
* @EXPERIMENTAL (since 1.65)
|
|
2549
2794
|
*
|
|
2550
2795
|
* Sets a new value for the `dataMode` property.
|
|
2796
|
+
*
|
|
2797
|
+
* @returns Pointer to the control instance to allow method chaining.
|
|
2551
2798
|
*/
|
|
2552
2799
|
setDataMode(
|
|
2553
2800
|
/**
|
|
@@ -2557,6 +2804,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2557
2804
|
): this;
|
|
2558
2805
|
/**
|
|
2559
2806
|
* Sets the associated {@link #getHost host}.
|
|
2807
|
+
*
|
|
2808
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2560
2809
|
*/
|
|
2561
2810
|
setHost(
|
|
2562
2811
|
/**
|
|
@@ -2573,6 +2822,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2573
2822
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2574
2823
|
*
|
|
2575
2824
|
* Default value is `empty string`.
|
|
2825
|
+
*
|
|
2826
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2576
2827
|
*/
|
|
2577
2828
|
setManifest(
|
|
2578
2829
|
/**
|
|
@@ -2604,6 +2855,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2604
2855
|
*
|
|
2605
2856
|
*
|
|
2606
2857
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2858
|
+
*
|
|
2859
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2607
2860
|
*/
|
|
2608
2861
|
setManifestChanges(
|
|
2609
2862
|
/**
|
|
@@ -2690,6 +2943,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2690
2943
|
* @EXPERIMENTAL (since 1.85)
|
|
2691
2944
|
*
|
|
2692
2945
|
* Adds some actionDefinition to the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
2946
|
+
*
|
|
2947
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2693
2948
|
*/
|
|
2694
2949
|
addActionDefinition(
|
|
2695
2950
|
/**
|
|
@@ -2705,6 +2960,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2705
2960
|
*
|
|
2706
2961
|
* Defines the base URL of the Card Manifest. It should be used when manifest property is an object instead
|
|
2707
2962
|
* of a URL.
|
|
2963
|
+
*
|
|
2964
|
+
* @returns Value of property `baseUrl`
|
|
2708
2965
|
*/
|
|
2709
2966
|
getBaseUrl(): URI;
|
|
2710
2967
|
/**
|
|
@@ -2717,6 +2974,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2717
2974
|
* - Use this method when the manifest is ready. Check `manifestReady` event.
|
|
2718
2975
|
*
|
|
2719
2976
|
* - Use when developing a Component card.
|
|
2977
|
+
*
|
|
2978
|
+
* @returns Object containing parameters in format `{parameterKey: parameterValue}`.
|
|
2720
2979
|
*/
|
|
2721
2980
|
getCombinedParameters(): Record<string, any>;
|
|
2722
2981
|
/**
|
|
@@ -2725,6 +2984,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2725
2984
|
* Returns a value from the Manifest based on the specified path.
|
|
2726
2985
|
*
|
|
2727
2986
|
* **Note** Use this method when the manifest is ready. Check `manifestReady` event.
|
|
2987
|
+
*
|
|
2988
|
+
* @returns The value at the specified path.
|
|
2728
2989
|
*/
|
|
2729
2990
|
getManifestEntry(
|
|
2730
2991
|
/**
|
|
@@ -2739,6 +3000,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2739
3000
|
*
|
|
2740
3001
|
* Overrides the default values of the parameters, which are defined in the manifest. The value is an object
|
|
2741
3002
|
* containing parameters in format `{parameterKey: parameterValue}`.
|
|
3003
|
+
*
|
|
3004
|
+
* @returns Value of property `parameters`
|
|
2742
3005
|
*/
|
|
2743
3006
|
getParameters(): object;
|
|
2744
3007
|
/**
|
|
@@ -2747,6 +3010,9 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2747
3010
|
* Gets translated text from the i18n properties files configured for this card.
|
|
2748
3011
|
*
|
|
2749
3012
|
* For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
|
|
3013
|
+
*
|
|
3014
|
+
* @returns The value belonging to the key, if found; otherwise the key itself or `undefined` depending
|
|
3015
|
+
* on `bIgnoreKeyFallback`.
|
|
2750
3016
|
*/
|
|
2751
3017
|
getTranslatedText(
|
|
2752
3018
|
/**
|
|
@@ -2782,6 +3048,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2782
3048
|
*
|
|
2783
3049
|
* Checks for the provided `sap.ui.integration.ActionDefinition` in the aggregation {@link #getActionDefinitions
|
|
2784
3050
|
* actionDefinitions}. and returns its index if found or -1 otherwise.
|
|
3051
|
+
*
|
|
3052
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
2785
3053
|
*/
|
|
2786
3054
|
indexOfActionDefinition(
|
|
2787
3055
|
/**
|
|
@@ -2794,6 +3062,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2794
3062
|
* @EXPERIMENTAL (since 1.85)
|
|
2795
3063
|
*
|
|
2796
3064
|
* Inserts a actionDefinition into the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
3065
|
+
*
|
|
3066
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2797
3067
|
*/
|
|
2798
3068
|
insertActionDefinition(
|
|
2799
3069
|
/**
|
|
@@ -2824,6 +3094,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2824
3094
|
* @EXPERIMENTAL (since 1.85)
|
|
2825
3095
|
*
|
|
2826
3096
|
* Removes a actionDefinition from the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
3097
|
+
*
|
|
3098
|
+
* @returns The removed actionDefinition or `null`
|
|
2827
3099
|
*/
|
|
2828
3100
|
removeActionDefinition(
|
|
2829
3101
|
/**
|
|
@@ -2835,6 +3107,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2835
3107
|
* @EXPERIMENTAL (since 1.79)
|
|
2836
3108
|
*
|
|
2837
3109
|
* Performs an HTTP request using the given configuration.
|
|
3110
|
+
*
|
|
3111
|
+
* @returns Resolves when the request is successful, rejects otherwise.
|
|
2838
3112
|
*/
|
|
2839
3113
|
request(
|
|
2840
3114
|
/**
|
|
@@ -2876,6 +3150,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2876
3150
|
): Promise<any>;
|
|
2877
3151
|
/**
|
|
2878
3152
|
* Resolves the destination and returns its URL.
|
|
3153
|
+
*
|
|
3154
|
+
* @returns A promise which resolves with the URL of the destination.
|
|
2879
3155
|
*/
|
|
2880
3156
|
resolveDestination(
|
|
2881
3157
|
/**
|
|
@@ -2954,7 +3230,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2954
3230
|
/**
|
|
2955
3231
|
* The URL of the manifest or an object.
|
|
2956
3232
|
*/
|
|
2957
|
-
manifest?: any | PropertyBindingInfo
|
|
3233
|
+
manifest?: any | PropertyBindingInfo | `{${string}}`;
|
|
2958
3234
|
|
|
2959
3235
|
/**
|
|
2960
3236
|
* @EXPERIMENTAL (since 1.65)
|
|
@@ -2962,7 +3238,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2962
3238
|
* Overrides the default values of the parameters, which are defined in the manifest. The value is an object
|
|
2963
3239
|
* containing parameters in format `{parameterKey: parameterValue}`.
|
|
2964
3240
|
*/
|
|
2965
|
-
parameters?: object | PropertyBindingInfo
|
|
3241
|
+
parameters?: object | PropertyBindingInfo | `{${string}}`;
|
|
2966
3242
|
|
|
2967
3243
|
/**
|
|
2968
3244
|
* @SINCE 1.65
|
|
@@ -2970,7 +3246,10 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2970
3246
|
*
|
|
2971
3247
|
* Defines the state of the `Card`. When set to `Inactive`, the `Card` doesn't make requests.
|
|
2972
3248
|
*/
|
|
2973
|
-
dataMode?:
|
|
3249
|
+
dataMode?:
|
|
3250
|
+
| (CardDataMode | keyof typeof CardDataMode)
|
|
3251
|
+
| PropertyBindingInfo
|
|
3252
|
+
| `{${string}}`;
|
|
2974
3253
|
|
|
2975
3254
|
/**
|
|
2976
3255
|
* @SINCE 1.70
|
|
@@ -2979,7 +3258,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2979
3258
|
* Defines the base URL of the Card Manifest. It should be used when manifest property is an object instead
|
|
2980
3259
|
* of a URL.
|
|
2981
3260
|
*/
|
|
2982
|
-
baseUrl?: URI | PropertyBindingInfo
|
|
3261
|
+
baseUrl?: URI | PropertyBindingInfo | `{${string}}`;
|
|
2983
3262
|
|
|
2984
3263
|
/**
|
|
2985
3264
|
* @SINCE 1.76
|
|
@@ -3001,7 +3280,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
3001
3280
|
* ]
|
|
3002
3281
|
* ```
|
|
3003
3282
|
*/
|
|
3004
|
-
manifestChanges?: object[] | PropertyBindingInfo
|
|
3283
|
+
manifestChanges?: object[] | PropertyBindingInfo | `{${string}}`;
|
|
3005
3284
|
|
|
3006
3285
|
/**
|
|
3007
3286
|
* @SINCE 1.85
|
|
@@ -3013,7 +3292,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
3013
3292
|
actionDefinitions?:
|
|
3014
3293
|
| ActionDefinition[]
|
|
3015
3294
|
| ActionDefinition
|
|
3016
|
-
| AggregationBindingInfo
|
|
3295
|
+
| AggregationBindingInfo
|
|
3296
|
+
| `{${string}}`;
|
|
3017
3297
|
|
|
3018
3298
|
/**
|
|
3019
3299
|
* The host.
|
|
@@ -3073,6 +3353,8 @@ declare namespace sap {
|
|
|
3073
3353
|
namespace IsInIconPool {
|
|
3074
3354
|
/**
|
|
3075
3355
|
* Validator function
|
|
3356
|
+
*
|
|
3357
|
+
* @returns Validation result
|
|
3076
3358
|
*/
|
|
3077
3359
|
function validate(
|
|
3078
3360
|
/**
|
|
@@ -3129,6 +3411,8 @@ declare namespace sap {
|
|
|
3129
3411
|
|
|
3130
3412
|
"sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor": undefined;
|
|
3131
3413
|
|
|
3414
|
+
"sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor": undefined;
|
|
3415
|
+
|
|
3132
3416
|
"sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory": undefined;
|
|
3133
3417
|
|
|
3134
3418
|
"sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor": undefined;
|
|
@@ -3197,12 +3481,16 @@ declare namespace sap {
|
|
|
3197
3481
|
|
|
3198
3482
|
"sap/ui/integration/editor/fields/IntegerField": undefined;
|
|
3199
3483
|
|
|
3200
|
-
"sap/ui/integration/editor/fields/ListField": undefined;
|
|
3201
|
-
|
|
3202
3484
|
"sap/ui/integration/editor/fields/NumberField": undefined;
|
|
3203
3485
|
|
|
3486
|
+
"sap/ui/integration/editor/fields/ObjectField": undefined;
|
|
3487
|
+
|
|
3488
|
+
"sap/ui/integration/editor/fields/ObjectListField": undefined;
|
|
3489
|
+
|
|
3204
3490
|
"sap/ui/integration/editor/fields/StringField": undefined;
|
|
3205
3491
|
|
|
3492
|
+
"sap/ui/integration/editor/fields/StringListField": undefined;
|
|
3493
|
+
|
|
3206
3494
|
"sap/ui/integration/editor/fields/viz/ColorSelect": undefined;
|
|
3207
3495
|
|
|
3208
3496
|
"sap/ui/integration/editor/fields/viz/IconSelect": undefined;
|