@sapui5/types 1.141.2 → 1.142.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 +1 -1
- package/types/index.d.ts +1 -0
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.cux.base.d.ts +3 -0
- package/types/sap.esh.search.ui.d.ts +159 -4
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +471 -32
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +2616 -95
- package/types/sap.fe.navigation.d.ts +2 -2
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +79 -11
- package/types/sap.fe.test.d.ts +8 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +4 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +401 -55
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +106 -2
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +13 -3737
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +28 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +77 -9
- package/types/sap.ui.core.d.ts +1160 -639
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +63 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +100 -94
- package/types/sap.ui.mdc.d.ts +1505 -167
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +13 -41
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +34 -78
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +1 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +13 -1
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +335 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
package/types/sap.fe.macros.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.142.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/fe/macros/Chart" {
|
|
4
4
|
import {
|
|
@@ -17,6 +17,8 @@ declare module "sap/fe/macros/Chart" {
|
|
|
17
17
|
AggregationBindingInfo,
|
|
18
18
|
} from "sap/ui/base/ManagedObject";
|
|
19
19
|
|
|
20
|
+
import OverflowGroup from "sap/fe/macros/chart/OverflowGroup";
|
|
21
|
+
|
|
20
22
|
import ActionGroup from "sap/fe/macros/chart/ActionGroup";
|
|
21
23
|
|
|
22
24
|
import Action from "sap/fe/macros/chart/Action";
|
|
@@ -44,6 +46,73 @@ declare module "sap/fe/macros/Chart" {
|
|
|
44
46
|
{
|
|
45
47
|
__implements__sap_fe_core_controllerextensions_viewState_IViewStateContributor: boolean;
|
|
46
48
|
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @returns Reference to sap.fe.macros.Chart to allow
|
|
52
|
+
* method chaining
|
|
53
|
+
*/
|
|
54
|
+
attachSelectionChange(
|
|
55
|
+
/**
|
|
56
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
57
|
+
* object when firing the event
|
|
58
|
+
*/
|
|
59
|
+
oData: object,
|
|
60
|
+
/**
|
|
61
|
+
* The function to be called when the event occurs
|
|
62
|
+
*/
|
|
63
|
+
fnFunction: (p1: Chart$SelectionChangeEvent) => void,
|
|
64
|
+
/**
|
|
65
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
66
|
+
*/
|
|
67
|
+
oListener?: object
|
|
68
|
+
): this;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @returns Reference to sap.fe.macros.Chart to allow
|
|
72
|
+
* method chaining
|
|
73
|
+
*/
|
|
74
|
+
attachSelectionChange(
|
|
75
|
+
/**
|
|
76
|
+
* The function to be called when the event occurs
|
|
77
|
+
*/
|
|
78
|
+
fnFunction: (p1: Chart$SelectionChangeEvent) => void,
|
|
79
|
+
/**
|
|
80
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
81
|
+
*/
|
|
82
|
+
oListener?: object
|
|
83
|
+
): this;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @returns Reference to sap.fe.macros.Chart to allow
|
|
87
|
+
* method chaining
|
|
88
|
+
*/
|
|
89
|
+
detachSelectionChange(
|
|
90
|
+
/**
|
|
91
|
+
* The function to be called when the event occurs
|
|
92
|
+
*/
|
|
93
|
+
fnFunction: (p1: Chart$SelectionChangeEvent) => void,
|
|
94
|
+
/**
|
|
95
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
96
|
+
*/
|
|
97
|
+
oListener?: object
|
|
98
|
+
): this;
|
|
99
|
+
/**
|
|
100
|
+
* Fires event selectionChange
|
|
101
|
+
* to attached listeners.
|
|
102
|
+
*
|
|
103
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
104
|
+
*
|
|
105
|
+
* @returns Reference to sap.fe.macros.Chart to allow
|
|
106
|
+
* method chaining
|
|
107
|
+
*/
|
|
108
|
+
fireSelectionChange(
|
|
109
|
+
/**
|
|
110
|
+
* The parameters to pass along with the event.
|
|
111
|
+
* See {@link types.EventHandler>} for the
|
|
112
|
+
* set of parameters that are expected by the event handlers.
|
|
113
|
+
*/
|
|
114
|
+
mParameters?: Chart$SelectionChangeEventParameters
|
|
115
|
+
): this;
|
|
47
116
|
/**
|
|
48
117
|
* Gets current value of property contextPath.
|
|
49
118
|
*
|
|
@@ -296,6 +365,15 @@ declare module "sap/fe/macros/Chart" {
|
|
|
296
365
|
*/
|
|
297
366
|
variantManagement?: string | PropertyBindingInfo;
|
|
298
367
|
|
|
368
|
+
/**
|
|
369
|
+
* Aggregate overflowGroups of the chart.
|
|
370
|
+
*/
|
|
371
|
+
actionOverflowGroups?:
|
|
372
|
+
| OverflowGroup[]
|
|
373
|
+
| OverflowGroup
|
|
374
|
+
| AggregationBindingInfo
|
|
375
|
+
| `{${string}}`;
|
|
376
|
+
|
|
299
377
|
/**
|
|
300
378
|
* Aggregate actions of the chart.
|
|
301
379
|
*/
|
|
@@ -305,12 +383,22 @@ declare module "sap/fe/macros/Chart" {
|
|
|
305
383
|
| Action
|
|
306
384
|
| AggregationBindingInfo
|
|
307
385
|
| `{${string}}`;
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* An event triggered when chart selections are changed. The event contains information about the data selected/deselected
|
|
389
|
+
* and the Boolean flag that indicates whether data is selected or deselected.
|
|
390
|
+
*/
|
|
391
|
+
selectionChange?: (oEvent: Chart$SelectionChangeEvent) => void;
|
|
308
392
|
}
|
|
309
393
|
|
|
310
394
|
/**
|
|
311
395
|
* Parameters of the Chart#selectionChange event.
|
|
312
396
|
*/
|
|
313
|
-
export interface Chart$SelectionChangeEventParameters {
|
|
397
|
+
export interface Chart$SelectionChangeEventParameters {
|
|
398
|
+
data?: any[];
|
|
399
|
+
|
|
400
|
+
selected?: boolean;
|
|
401
|
+
}
|
|
314
402
|
|
|
315
403
|
/**
|
|
316
404
|
* Event object of the Chart#selectionChange event.
|
|
@@ -337,7 +425,142 @@ declare module "sap/fe/macros/CollaborativeDraftHandler" {
|
|
|
337
425
|
* @since 1.141.0
|
|
338
426
|
* @experimental As of version 1.141.0.
|
|
339
427
|
*/
|
|
340
|
-
export default class CollaborativeDraftHandler extends BuildingBlock {
|
|
428
|
+
export default class CollaborativeDraftHandler extends BuildingBlock {
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
* @returns Reference to sap.fe.macros.CollaborativeDraftHandler
|
|
432
|
+
* to allow method chaining
|
|
433
|
+
*/
|
|
434
|
+
attachAvatarPress(
|
|
435
|
+
/**
|
|
436
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
437
|
+
* object when firing the event
|
|
438
|
+
*/
|
|
439
|
+
oData: object,
|
|
440
|
+
/**
|
|
441
|
+
* The function to be called when the event occurs
|
|
442
|
+
*/
|
|
443
|
+
fnFunction: (p1: CollaborativeDraftHandler$AvatarPressEvent) => void,
|
|
444
|
+
/**
|
|
445
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
446
|
+
*/
|
|
447
|
+
oListener?: object
|
|
448
|
+
): this;
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @returns Reference to sap.fe.macros.CollaborativeDraftHandler
|
|
452
|
+
* to allow method chaining
|
|
453
|
+
*/
|
|
454
|
+
attachAvatarPress(
|
|
455
|
+
/**
|
|
456
|
+
* The function to be called when the event occurs
|
|
457
|
+
*/
|
|
458
|
+
fnFunction: (p1: CollaborativeDraftHandler$AvatarPressEvent) => void,
|
|
459
|
+
/**
|
|
460
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
461
|
+
*/
|
|
462
|
+
oListener?: object
|
|
463
|
+
): this;
|
|
464
|
+
/**
|
|
465
|
+
*
|
|
466
|
+
* @returns Reference to sap.fe.macros.CollaborativeDraftHandler
|
|
467
|
+
* to allow method chaining
|
|
468
|
+
*/
|
|
469
|
+
attachLockChange(
|
|
470
|
+
/**
|
|
471
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
472
|
+
* object when firing the event
|
|
473
|
+
*/
|
|
474
|
+
oData: object,
|
|
475
|
+
/**
|
|
476
|
+
* The function to be called when the event occurs
|
|
477
|
+
*/
|
|
478
|
+
fnFunction: (p1: CollaborativeDraftHandler$LockChangeEvent) => void,
|
|
479
|
+
/**
|
|
480
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
481
|
+
*/
|
|
482
|
+
oListener?: object
|
|
483
|
+
): this;
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @returns Reference to sap.fe.macros.CollaborativeDraftHandler
|
|
487
|
+
* to allow method chaining
|
|
488
|
+
*/
|
|
489
|
+
attachLockChange(
|
|
490
|
+
/**
|
|
491
|
+
* The function to be called when the event occurs
|
|
492
|
+
*/
|
|
493
|
+
fnFunction: (p1: CollaborativeDraftHandler$LockChangeEvent) => void,
|
|
494
|
+
/**
|
|
495
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
496
|
+
*/
|
|
497
|
+
oListener?: object
|
|
498
|
+
): this;
|
|
499
|
+
/**
|
|
500
|
+
*
|
|
501
|
+
* @returns Reference to sap.fe.macros.CollaborativeDraftHandler
|
|
502
|
+
* to allow method chaining
|
|
503
|
+
*/
|
|
504
|
+
detachAvatarPress(
|
|
505
|
+
/**
|
|
506
|
+
* The function to be called when the event occurs
|
|
507
|
+
*/
|
|
508
|
+
fnFunction: (p1: CollaborativeDraftHandler$AvatarPressEvent) => void,
|
|
509
|
+
/**
|
|
510
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
511
|
+
*/
|
|
512
|
+
oListener?: object
|
|
513
|
+
): this;
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @returns Reference to sap.fe.macros.CollaborativeDraftHandler
|
|
517
|
+
* to allow method chaining
|
|
518
|
+
*/
|
|
519
|
+
detachLockChange(
|
|
520
|
+
/**
|
|
521
|
+
* The function to be called when the event occurs
|
|
522
|
+
*/
|
|
523
|
+
fnFunction: (p1: CollaborativeDraftHandler$LockChangeEvent) => void,
|
|
524
|
+
/**
|
|
525
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
526
|
+
*/
|
|
527
|
+
oListener?: object
|
|
528
|
+
): this;
|
|
529
|
+
/**
|
|
530
|
+
* Fires event avatarPress
|
|
531
|
+
* to attached listeners.
|
|
532
|
+
*
|
|
533
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
534
|
+
*
|
|
535
|
+
* @returns Reference to sap.fe.macros.CollaborativeDraftHandler
|
|
536
|
+
* to allow method chaining
|
|
537
|
+
*/
|
|
538
|
+
fireAvatarPress(
|
|
539
|
+
/**
|
|
540
|
+
* The parameters to pass along with the event.
|
|
541
|
+
* See {@link types.EventHandler> }
|
|
542
|
+
* for the set of parameters that are expected by the event handlers.
|
|
543
|
+
*/
|
|
544
|
+
mParameters?: CollaborativeDraftHandler$AvatarPressEventParameters
|
|
545
|
+
): this;
|
|
546
|
+
/**
|
|
547
|
+
* Fires event lockChange
|
|
548
|
+
* to attached listeners.
|
|
549
|
+
*
|
|
550
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
551
|
+
*
|
|
552
|
+
* @returns Reference to sap.fe.macros.CollaborativeDraftHandler
|
|
553
|
+
* to allow method chaining
|
|
554
|
+
*/
|
|
555
|
+
fireLockChange(
|
|
556
|
+
/**
|
|
557
|
+
* The parameters to pass along with the event.
|
|
558
|
+
* See {@link types.EventHandler> }
|
|
559
|
+
* for the set of parameters that are expected by the event handlers.
|
|
560
|
+
*/
|
|
561
|
+
mParameters?: CollaborativeDraftHandler$LockChangeEventParameters
|
|
562
|
+
): this;
|
|
563
|
+
}
|
|
341
564
|
/**
|
|
342
565
|
* Describes the settings that can be provided to the CollaborativeDraftHandler constructor.
|
|
343
566
|
*
|
|
@@ -367,12 +590,64 @@ declare module "sap/fe/macros/CollaborativeDraftHandler" {
|
|
|
367
590
|
* @experimental As of version 1.141.0.
|
|
368
591
|
*/
|
|
369
592
|
showAvatar?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* Event fired when the user clicks on the avatar.
|
|
596
|
+
* Parameters:
|
|
597
|
+
* - lockingUserID: The ID of the user locking the property
|
|
598
|
+
* - lockingUserName: The name of the user locking the property
|
|
599
|
+
* - lockingUserInitials: The initials of the user locking the property
|
|
600
|
+
* - lockingUserColor: The color associated to the user locking the property
|
|
601
|
+
*/
|
|
602
|
+
avatarPress?: (oEvent: CollaborativeDraftHandler$AvatarPressEvent) => void;
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Event fired when the lock status changes.
|
|
606
|
+
* Parameters:
|
|
607
|
+
* - isLocked : True if the property is locked, false otherwise
|
|
608
|
+
* - lockingUserID: The ID of the user locking the property (undefined if not locked)
|
|
609
|
+
* - lockingUserName: The name of the user locking the property (undefined if not locked)
|
|
610
|
+
* - lockingUserInitials: The initials of the user locking the property (undefined if not locked)
|
|
611
|
+
* - lockingUserColor: The color associated to the user locking the property (undefined if not locked)
|
|
612
|
+
*/
|
|
613
|
+
lockChange?: (oEvent: CollaborativeDraftHandler$LockChangeEvent) => void;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Parameters of the CollaborativeDraftHandler#avatarPress event.
|
|
618
|
+
*/
|
|
619
|
+
export interface CollaborativeDraftHandler$AvatarPressEventParameters {
|
|
620
|
+
lockingUserID?: string;
|
|
621
|
+
|
|
622
|
+
lockingUserName?: string;
|
|
623
|
+
|
|
624
|
+
lockingUserInitials?: string;
|
|
625
|
+
|
|
626
|
+
lockingUserColor?: string;
|
|
370
627
|
}
|
|
371
628
|
|
|
629
|
+
/**
|
|
630
|
+
* Event object of the CollaborativeDraftHandler#avatarPress event.
|
|
631
|
+
*/
|
|
632
|
+
export type CollaborativeDraftHandler$AvatarPressEvent = Event<
|
|
633
|
+
CollaborativeDraftHandler$AvatarPressEventParameters,
|
|
634
|
+
CollaborativeDraftHandler
|
|
635
|
+
>;
|
|
636
|
+
|
|
372
637
|
/**
|
|
373
638
|
* Parameters of the CollaborativeDraftHandler#lockChange event.
|
|
374
639
|
*/
|
|
375
|
-
export interface CollaborativeDraftHandler$LockChangeEventParameters {
|
|
640
|
+
export interface CollaborativeDraftHandler$LockChangeEventParameters {
|
|
641
|
+
isLocked?: boolean;
|
|
642
|
+
|
|
643
|
+
lockingUserID?: string;
|
|
644
|
+
|
|
645
|
+
lockingUserName?: string;
|
|
646
|
+
|
|
647
|
+
lockingUserInitials?: string;
|
|
648
|
+
|
|
649
|
+
lockingUserColor?: string;
|
|
650
|
+
}
|
|
376
651
|
|
|
377
652
|
/**
|
|
378
653
|
* Event object of the CollaborativeDraftHandler#lockChange event.
|
|
@@ -441,12 +716,12 @@ declare module "sap/fe/macros/CollectionBindingInfo" {
|
|
|
441
716
|
data?: object
|
|
442
717
|
): void;
|
|
443
718
|
/**
|
|
444
|
-
* Retrieve the 'serialized' binding info
|
|
719
|
+
* Retrieve the 'serialized' binding info which is useful if you want to create your own binding
|
|
445
720
|
*
|
|
446
721
|
*
|
|
447
722
|
* @returns The {@link sap.fe.macros.CollectionBindingInfo "CollectionBindingInfo"}
|
|
448
723
|
*/
|
|
449
|
-
getBindingInfo():
|
|
724
|
+
getBindingInfo(): SerializedCollectionBindingInfo;
|
|
450
725
|
/**
|
|
451
726
|
* Returns the current filters applied to the Table.
|
|
452
727
|
*
|
|
@@ -462,6 +737,8 @@ declare module "sap/fe/macros/CollectionBindingInfo" {
|
|
|
462
737
|
*/
|
|
463
738
|
getSorters(): Sorter[] | undefined;
|
|
464
739
|
}
|
|
740
|
+
|
|
741
|
+
export type SerializedCollectionBindingInfo = {};
|
|
465
742
|
}
|
|
466
743
|
|
|
467
744
|
declare module "sap/fe/macros/ConditionalSwitch" {
|
|
@@ -508,10 +785,10 @@ declare module "sap/fe/macros/ConditionalSwitch" {
|
|
|
508
785
|
declare module "sap/fe/macros/ConditionalSwitchProperty" {
|
|
509
786
|
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
510
787
|
|
|
511
|
-
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
512
|
-
|
|
513
788
|
import Event from "sap/ui/base/Event";
|
|
514
789
|
|
|
790
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
791
|
+
|
|
515
792
|
/**
|
|
516
793
|
* Defines a property with a key and a value that can be used in conditional templates.
|
|
517
794
|
* When the value is changed, a `valueChanged` event is fired.
|
|
@@ -519,7 +796,75 @@ declare module "sap/fe/macros/ConditionalSwitchProperty" {
|
|
|
519
796
|
* @since 1.141.0
|
|
520
797
|
* @experimental As of version 1.141.0.
|
|
521
798
|
*/
|
|
522
|
-
export default class ConditionalSwitchProperty extends UI5Element {
|
|
799
|
+
export default class ConditionalSwitchProperty extends UI5Element {
|
|
800
|
+
/**
|
|
801
|
+
*
|
|
802
|
+
* @returns Reference to sap.fe.macros.ConditionalSwitchProperty
|
|
803
|
+
* to allow method chaining
|
|
804
|
+
*/
|
|
805
|
+
attachValueChanged(
|
|
806
|
+
/**
|
|
807
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
808
|
+
* object when firing the event
|
|
809
|
+
*/
|
|
810
|
+
oData: object,
|
|
811
|
+
/**
|
|
812
|
+
* The function to be called when the event occurs
|
|
813
|
+
*/
|
|
814
|
+
fnFunction: (p1: Event) => void,
|
|
815
|
+
/**
|
|
816
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
817
|
+
*/
|
|
818
|
+
oListener?: object
|
|
819
|
+
): this;
|
|
820
|
+
/**
|
|
821
|
+
*
|
|
822
|
+
* @returns Reference to sap.fe.macros.ConditionalSwitchProperty
|
|
823
|
+
* to allow method chaining
|
|
824
|
+
*/
|
|
825
|
+
attachValueChanged(
|
|
826
|
+
/**
|
|
827
|
+
* The function to be called when the event occurs
|
|
828
|
+
*/
|
|
829
|
+
fnFunction: (p1: Event) => void,
|
|
830
|
+
/**
|
|
831
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
832
|
+
*/
|
|
833
|
+
oListener?: object
|
|
834
|
+
): this;
|
|
835
|
+
/**
|
|
836
|
+
*
|
|
837
|
+
* @returns Reference to sap.fe.macros.ConditionalSwitchProperty
|
|
838
|
+
* to allow method chaining
|
|
839
|
+
*/
|
|
840
|
+
detachValueChanged(
|
|
841
|
+
/**
|
|
842
|
+
* The function to be called when the event occurs
|
|
843
|
+
*/
|
|
844
|
+
fnFunction: (p1: Event) => void,
|
|
845
|
+
/**
|
|
846
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
847
|
+
*/
|
|
848
|
+
oListener?: object
|
|
849
|
+
): this;
|
|
850
|
+
/**
|
|
851
|
+
* Fires event valueChanged
|
|
852
|
+
* to attached listeners.
|
|
853
|
+
*
|
|
854
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
855
|
+
*
|
|
856
|
+
* @returns Reference to sap.fe.macros.ConditionalSwitchProperty
|
|
857
|
+
* to allow method chaining
|
|
858
|
+
*/
|
|
859
|
+
fireValueChanged(
|
|
860
|
+
/**
|
|
861
|
+
* The parameters to pass along with the event.
|
|
862
|
+
* See {@link types.EventHandler>} for
|
|
863
|
+
* the set of parameters that are expected by the event handlers.
|
|
864
|
+
*/
|
|
865
|
+
mParameters?: {}
|
|
866
|
+
): this;
|
|
867
|
+
}
|
|
523
868
|
/**
|
|
524
869
|
* Describes the settings that can be provided to the ConditionalSwitchProperty constructor.
|
|
525
870
|
*
|
|
@@ -535,6 +880,12 @@ declare module "sap/fe/macros/ConditionalSwitchProperty" {
|
|
|
535
880
|
* The value of the property.
|
|
536
881
|
*/
|
|
537
882
|
value?: any | PropertyBindingInfo | `{${string}}`;
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* Event fired when the value of the property is changed.
|
|
886
|
+
* This is used internally by the `ConditionalTemplate` control to react to changes in the property value.
|
|
887
|
+
*/
|
|
888
|
+
valueChanged?: (oEvent: Event) => void;
|
|
538
889
|
}
|
|
539
890
|
|
|
540
891
|
/**
|
|
@@ -557,14 +908,14 @@ declare module "sap/fe/macros/Field" {
|
|
|
557
908
|
$MacroAPISettings,
|
|
558
909
|
} from "sap/fe/macros/MacroAPI";
|
|
559
910
|
|
|
911
|
+
import Event from "sap/ui/base/Event";
|
|
912
|
+
|
|
560
913
|
import Control from "sap/ui/core/Control";
|
|
561
914
|
|
|
562
915
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
563
916
|
|
|
564
917
|
import FieldFormatOptions from "sap/fe/macros/field/FieldFormatOptions";
|
|
565
918
|
|
|
566
|
-
import Event from "sap/ui/base/Event";
|
|
567
|
-
|
|
568
919
|
/**
|
|
569
920
|
* Building block for creating a field based on the metadata provided by OData V4.
|
|
570
921
|
*
|
|
@@ -612,6 +963,139 @@ declare module "sap/fe/macros/Field" {
|
|
|
612
963
|
type?: /* was: sap.ui.core.message.MessageType */ any;
|
|
613
964
|
}
|
|
614
965
|
): string;
|
|
966
|
+
/**
|
|
967
|
+
*
|
|
968
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
969
|
+
* method chaining
|
|
970
|
+
*/
|
|
971
|
+
attachChange(
|
|
972
|
+
/**
|
|
973
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
974
|
+
* object when firing the event
|
|
975
|
+
*/
|
|
976
|
+
oData: object,
|
|
977
|
+
/**
|
|
978
|
+
* The function to be called when the event occurs
|
|
979
|
+
*/
|
|
980
|
+
fnFunction: (p1: Field$ChangeEvent) => void,
|
|
981
|
+
/**
|
|
982
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
983
|
+
*/
|
|
984
|
+
oListener?: object
|
|
985
|
+
): this;
|
|
986
|
+
/**
|
|
987
|
+
*
|
|
988
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
989
|
+
* method chaining
|
|
990
|
+
*/
|
|
991
|
+
attachChange(
|
|
992
|
+
/**
|
|
993
|
+
* The function to be called when the event occurs
|
|
994
|
+
*/
|
|
995
|
+
fnFunction: (p1: Field$ChangeEvent) => void,
|
|
996
|
+
/**
|
|
997
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
998
|
+
*/
|
|
999
|
+
oListener?: object
|
|
1000
|
+
): this;
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
1004
|
+
* method chaining
|
|
1005
|
+
*/
|
|
1006
|
+
attachLiveChange(
|
|
1007
|
+
/**
|
|
1008
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
1009
|
+
* object when firing the event
|
|
1010
|
+
*/
|
|
1011
|
+
oData: object,
|
|
1012
|
+
/**
|
|
1013
|
+
* The function to be called when the event occurs
|
|
1014
|
+
*/
|
|
1015
|
+
fnFunction: (p1: Event) => void,
|
|
1016
|
+
/**
|
|
1017
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
1018
|
+
*/
|
|
1019
|
+
oListener?: object
|
|
1020
|
+
): this;
|
|
1021
|
+
/**
|
|
1022
|
+
*
|
|
1023
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
1024
|
+
* method chaining
|
|
1025
|
+
*/
|
|
1026
|
+
attachLiveChange(
|
|
1027
|
+
/**
|
|
1028
|
+
* The function to be called when the event occurs
|
|
1029
|
+
*/
|
|
1030
|
+
fnFunction: (p1: Event) => void,
|
|
1031
|
+
/**
|
|
1032
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
1033
|
+
*/
|
|
1034
|
+
oListener?: object
|
|
1035
|
+
): this;
|
|
1036
|
+
/**
|
|
1037
|
+
*
|
|
1038
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
1039
|
+
* method chaining
|
|
1040
|
+
*/
|
|
1041
|
+
detachChange(
|
|
1042
|
+
/**
|
|
1043
|
+
* The function to be called when the event occurs
|
|
1044
|
+
*/
|
|
1045
|
+
fnFunction: (p1: Field$ChangeEvent) => void,
|
|
1046
|
+
/**
|
|
1047
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
1048
|
+
*/
|
|
1049
|
+
oListener?: object
|
|
1050
|
+
): this;
|
|
1051
|
+
/**
|
|
1052
|
+
*
|
|
1053
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
1054
|
+
* method chaining
|
|
1055
|
+
*/
|
|
1056
|
+
detachLiveChange(
|
|
1057
|
+
/**
|
|
1058
|
+
* The function to be called when the event occurs
|
|
1059
|
+
*/
|
|
1060
|
+
fnFunction: (p1: Event) => void,
|
|
1061
|
+
/**
|
|
1062
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
1063
|
+
*/
|
|
1064
|
+
oListener?: object
|
|
1065
|
+
): this;
|
|
1066
|
+
/**
|
|
1067
|
+
* Fires event change to attached listeners.
|
|
1068
|
+
*
|
|
1069
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1070
|
+
*
|
|
1071
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
1072
|
+
* method chaining
|
|
1073
|
+
*/
|
|
1074
|
+
fireChange(
|
|
1075
|
+
/**
|
|
1076
|
+
* The parameters to pass along with the event.
|
|
1077
|
+
* See {@link types.EventHandler> }
|
|
1078
|
+
* for the set of parameters that are expected by the event handlers.
|
|
1079
|
+
*/
|
|
1080
|
+
mParameters?: Field$ChangeEventParameters
|
|
1081
|
+
): this;
|
|
1082
|
+
/**
|
|
1083
|
+
* Fires event liveChange to attached
|
|
1084
|
+
* listeners.
|
|
1085
|
+
*
|
|
1086
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1087
|
+
*
|
|
1088
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
1089
|
+
* method chaining
|
|
1090
|
+
*/
|
|
1091
|
+
fireLiveChange(
|
|
1092
|
+
/**
|
|
1093
|
+
* The parameters to pass along with the event.
|
|
1094
|
+
* See {@link types.EventHandler>} for the set of parameters
|
|
1095
|
+
* that are expected by the event handlers.
|
|
1096
|
+
*/
|
|
1097
|
+
mParameters?: {}
|
|
1098
|
+
): this;
|
|
615
1099
|
/**
|
|
616
1100
|
* Gets the current enablement state of the field.
|
|
617
1101
|
*
|
|
@@ -700,12 +1184,26 @@ declare module "sap/fe/macros/Field" {
|
|
|
700
1184
|
* A set of options that can be configured.
|
|
701
1185
|
*/
|
|
702
1186
|
formatOptions?: FieldFormatOptions;
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* An event containing details is triggered when the value of the field is changed.
|
|
1190
|
+
*/
|
|
1191
|
+
change?: (oEvent: Field$ChangeEvent) => void;
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* An event containing details is triggered when the value of the field is live changed.
|
|
1195
|
+
*/
|
|
1196
|
+
liveChange?: (oEvent: Event) => void;
|
|
703
1197
|
}
|
|
704
1198
|
|
|
705
1199
|
/**
|
|
706
1200
|
* Parameters of the Field#change event.
|
|
707
1201
|
*/
|
|
708
|
-
export interface Field$ChangeEventParameters {
|
|
1202
|
+
export interface Field$ChangeEventParameters {
|
|
1203
|
+
value?: boolean | number | string | undefined;
|
|
1204
|
+
|
|
1205
|
+
isValid?: boolean;
|
|
1206
|
+
}
|
|
709
1207
|
|
|
710
1208
|
/**
|
|
711
1209
|
* Event object of the Field#change event.
|
|
@@ -784,14 +1282,81 @@ declare module "sap/fe/macros/KPITag" {
|
|
|
784
1282
|
$BuildingBlockSettings,
|
|
785
1283
|
} from "sap/fe/core/buildingBlocks/BuildingBlock";
|
|
786
1284
|
|
|
787
|
-
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
788
|
-
|
|
789
1285
|
import Event from "sap/ui/base/Event";
|
|
790
1286
|
|
|
1287
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
1288
|
+
|
|
791
1289
|
/**
|
|
792
1290
|
* Building block used to create a KPI tag.
|
|
793
1291
|
*/
|
|
794
|
-
export default class KPITag extends BuildingBlock {
|
|
1292
|
+
export default class KPITag extends BuildingBlock {
|
|
1293
|
+
/**
|
|
1294
|
+
*
|
|
1295
|
+
* @returns Reference to sap.fe.macros.KPITag to
|
|
1296
|
+
* allow method chaining
|
|
1297
|
+
*/
|
|
1298
|
+
attachPress(
|
|
1299
|
+
/**
|
|
1300
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
1301
|
+
* object when firing the event
|
|
1302
|
+
*/
|
|
1303
|
+
oData: object,
|
|
1304
|
+
/**
|
|
1305
|
+
* The function to be called when the event occurs
|
|
1306
|
+
*/
|
|
1307
|
+
fnFunction: (p1: Event) => void,
|
|
1308
|
+
/**
|
|
1309
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
1310
|
+
*/
|
|
1311
|
+
oListener?: object
|
|
1312
|
+
): this;
|
|
1313
|
+
/**
|
|
1314
|
+
*
|
|
1315
|
+
* @returns Reference to sap.fe.macros.KPITag to
|
|
1316
|
+
* allow method chaining
|
|
1317
|
+
*/
|
|
1318
|
+
attachPress(
|
|
1319
|
+
/**
|
|
1320
|
+
* The function to be called when the event occurs
|
|
1321
|
+
*/
|
|
1322
|
+
fnFunction: (p1: Event) => void,
|
|
1323
|
+
/**
|
|
1324
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
1325
|
+
*/
|
|
1326
|
+
oListener?: object
|
|
1327
|
+
): this;
|
|
1328
|
+
/**
|
|
1329
|
+
*
|
|
1330
|
+
* @returns Reference to sap.fe.macros.KPITag to
|
|
1331
|
+
* allow method chaining
|
|
1332
|
+
*/
|
|
1333
|
+
detachPress(
|
|
1334
|
+
/**
|
|
1335
|
+
* The function to be called when the event occurs
|
|
1336
|
+
*/
|
|
1337
|
+
fnFunction: (p1: Event) => void,
|
|
1338
|
+
/**
|
|
1339
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
1340
|
+
*/
|
|
1341
|
+
oListener?: object
|
|
1342
|
+
): this;
|
|
1343
|
+
/**
|
|
1344
|
+
* Fires event press to attached listeners.
|
|
1345
|
+
*
|
|
1346
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1347
|
+
*
|
|
1348
|
+
* @returns Reference to sap.fe.macros.KPITag to
|
|
1349
|
+
* allow method chaining
|
|
1350
|
+
*/
|
|
1351
|
+
firePress(
|
|
1352
|
+
/**
|
|
1353
|
+
* The parameters to pass along with the event.
|
|
1354
|
+
* See {@link .........types.EventHandler>} for the set of parameters that
|
|
1355
|
+
* are expected by the event handlers.
|
|
1356
|
+
*/
|
|
1357
|
+
mParameters?: {}
|
|
1358
|
+
): this;
|
|
1359
|
+
}
|
|
795
1360
|
/**
|
|
796
1361
|
* Describes the settings that can be provided to the KPITag constructor.
|
|
797
1362
|
*/
|
|
@@ -825,6 +1390,11 @@ declare module "sap/fe/macros/KPITag" {
|
|
|
825
1390
|
* The Unit of Measure of the number to be displayed.
|
|
826
1391
|
*/
|
|
827
1392
|
unit?: any | PropertyBindingInfo | `{${string}}`;
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* An event is triggered when the KPI is pressed.
|
|
1396
|
+
*/
|
|
1397
|
+
press?: (oEvent: Event) => void;
|
|
828
1398
|
}
|
|
829
1399
|
|
|
830
1400
|
/**
|
|
@@ -891,11 +1461,84 @@ declare module "sap/fe/macros/MessageButton" {
|
|
|
891
1461
|
* <macros:MessageButton visibilityChange=".handler.onMessageButtonVisibilityChange" />
|
|
892
1462
|
* ```
|
|
893
1463
|
*/
|
|
894
|
-
export default class MessageButton extends BuildingBlock {
|
|
1464
|
+
export default class MessageButton extends BuildingBlock {
|
|
1465
|
+
/**
|
|
1466
|
+
*
|
|
1467
|
+
* @returns Reference to sap.fe.macros.MessageButton
|
|
1468
|
+
* to allow method chaining
|
|
1469
|
+
*/
|
|
1470
|
+
attachVisibilityChange(
|
|
1471
|
+
/**
|
|
1472
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
1473
|
+
* object when firing the event
|
|
1474
|
+
*/
|
|
1475
|
+
oData: object,
|
|
1476
|
+
/**
|
|
1477
|
+
* The function to be called when the event occurs
|
|
1478
|
+
*/
|
|
1479
|
+
fnFunction: (p1: Event) => void,
|
|
1480
|
+
/**
|
|
1481
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
1482
|
+
*/
|
|
1483
|
+
oListener?: object
|
|
1484
|
+
): this;
|
|
1485
|
+
/**
|
|
1486
|
+
*
|
|
1487
|
+
* @returns Reference to sap.fe.macros.MessageButton
|
|
1488
|
+
* to allow method chaining
|
|
1489
|
+
*/
|
|
1490
|
+
attachVisibilityChange(
|
|
1491
|
+
/**
|
|
1492
|
+
* The function to be called when the event occurs
|
|
1493
|
+
*/
|
|
1494
|
+
fnFunction: (p1: Event) => void,
|
|
1495
|
+
/**
|
|
1496
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
1497
|
+
*/
|
|
1498
|
+
oListener?: object
|
|
1499
|
+
): this;
|
|
1500
|
+
/**
|
|
1501
|
+
*
|
|
1502
|
+
* @returns Reference to sap.fe.macros.MessageButton
|
|
1503
|
+
* to allow method chaining
|
|
1504
|
+
*/
|
|
1505
|
+
detachVisibilityChange(
|
|
1506
|
+
/**
|
|
1507
|
+
* The function to be called when the event occurs
|
|
1508
|
+
*/
|
|
1509
|
+
fnFunction: (p1: Event) => void,
|
|
1510
|
+
/**
|
|
1511
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
1512
|
+
*/
|
|
1513
|
+
oListener?: object
|
|
1514
|
+
): this;
|
|
1515
|
+
/**
|
|
1516
|
+
* Fires event visibilityChange
|
|
1517
|
+
* to attached listeners.
|
|
1518
|
+
*
|
|
1519
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1520
|
+
*
|
|
1521
|
+
* @returns Reference to sap.fe.macros.MessageButton
|
|
1522
|
+
* to allow method chaining
|
|
1523
|
+
*/
|
|
1524
|
+
fireVisibilityChange(
|
|
1525
|
+
/**
|
|
1526
|
+
* The parameters to pass along with the event.
|
|
1527
|
+
* See {@link .........types.EventHandler>} for the
|
|
1528
|
+
* set of parameters that are expected by the event handlers.
|
|
1529
|
+
*/
|
|
1530
|
+
mParameters?: {}
|
|
1531
|
+
): this;
|
|
1532
|
+
}
|
|
895
1533
|
/**
|
|
896
1534
|
* Describes the settings that can be provided to the MessageButton constructor.
|
|
897
1535
|
*/
|
|
898
|
-
export interface $MessageButtonSettings extends $BuildingBlockSettings {
|
|
1536
|
+
export interface $MessageButtonSettings extends $BuildingBlockSettings {
|
|
1537
|
+
/**
|
|
1538
|
+
* The event is triggered when the message button's visibility changes.
|
|
1539
|
+
*/
|
|
1540
|
+
visibilityChange?: (oEvent: Event) => void;
|
|
1541
|
+
}
|
|
899
1542
|
|
|
900
1543
|
/**
|
|
901
1544
|
* Parameters of the MessageButton#visibilityChange event.
|
|
@@ -1340,10 +1983,10 @@ declare module "sap/fe/macros/Status" {
|
|
|
1340
1983
|
|
|
1341
1984
|
import { IFormContent } from "sap/ui/core/library";
|
|
1342
1985
|
|
|
1343
|
-
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
1344
|
-
|
|
1345
1986
|
import Event from "sap/ui/base/Event";
|
|
1346
1987
|
|
|
1988
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
1989
|
+
|
|
1347
1990
|
/**
|
|
1348
1991
|
* Building block to display a status and criticality.
|
|
1349
1992
|
*
|
|
@@ -1352,6 +1995,72 @@ declare module "sap/fe/macros/Status" {
|
|
|
1352
1995
|
*/
|
|
1353
1996
|
export default class Status extends BuildingBlock implements IFormContent {
|
|
1354
1997
|
__implements__sap_ui_core_IFormContent: boolean;
|
|
1998
|
+
|
|
1999
|
+
/**
|
|
2000
|
+
*
|
|
2001
|
+
* @returns Reference to sap.fe.macros.Status to
|
|
2002
|
+
* allow method chaining
|
|
2003
|
+
*/
|
|
2004
|
+
attachPress(
|
|
2005
|
+
/**
|
|
2006
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
2007
|
+
* object when firing the event
|
|
2008
|
+
*/
|
|
2009
|
+
oData: object,
|
|
2010
|
+
/**
|
|
2011
|
+
* The function to be called when the event occurs
|
|
2012
|
+
*/
|
|
2013
|
+
fnFunction: (p1: Event) => void,
|
|
2014
|
+
/**
|
|
2015
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
2016
|
+
*/
|
|
2017
|
+
oListener?: object
|
|
2018
|
+
): this;
|
|
2019
|
+
/**
|
|
2020
|
+
*
|
|
2021
|
+
* @returns Reference to sap.fe.macros.Status to
|
|
2022
|
+
* allow method chaining
|
|
2023
|
+
*/
|
|
2024
|
+
attachPress(
|
|
2025
|
+
/**
|
|
2026
|
+
* The function to be called when the event occurs
|
|
2027
|
+
*/
|
|
2028
|
+
fnFunction: (p1: Event) => void,
|
|
2029
|
+
/**
|
|
2030
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
2031
|
+
*/
|
|
2032
|
+
oListener?: object
|
|
2033
|
+
): this;
|
|
2034
|
+
/**
|
|
2035
|
+
*
|
|
2036
|
+
* @returns Reference to sap.fe.macros.Status to
|
|
2037
|
+
* allow method chaining
|
|
2038
|
+
*/
|
|
2039
|
+
detachPress(
|
|
2040
|
+
/**
|
|
2041
|
+
* The function to be called when the event occurs
|
|
2042
|
+
*/
|
|
2043
|
+
fnFunction: (p1: Event) => void,
|
|
2044
|
+
/**
|
|
2045
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
2046
|
+
*/
|
|
2047
|
+
oListener?: object
|
|
2048
|
+
): this;
|
|
2049
|
+
/**
|
|
2050
|
+
* Fires event press to attached listeners.
|
|
2051
|
+
*
|
|
2052
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2053
|
+
*
|
|
2054
|
+
* @returns Reference to sap.fe.macros.Status to
|
|
2055
|
+
* allow method chaining
|
|
2056
|
+
*/
|
|
2057
|
+
firePress(
|
|
2058
|
+
/**
|
|
2059
|
+
* The parameters to pass along with the event.
|
|
2060
|
+
* See {@link } for the set of parameters that are expected by the event handlers.
|
|
2061
|
+
*/
|
|
2062
|
+
mParameters?: {}
|
|
2063
|
+
): this;
|
|
1355
2064
|
}
|
|
1356
2065
|
/**
|
|
1357
2066
|
* Describes the settings that can be provided to the Status constructor.
|
|
@@ -1359,6 +2068,11 @@ declare module "sap/fe/macros/Status" {
|
|
|
1359
2068
|
* @experimental As of version 1.141.0.
|
|
1360
2069
|
*/
|
|
1361
2070
|
export interface $StatusSettings extends $BuildingBlockSettings {
|
|
2071
|
+
/**
|
|
2072
|
+
* Color palette to be used by the control. The supported values are "Standard" (default) and "Pastel".
|
|
2073
|
+
*/
|
|
2074
|
+
colorPalette?: string | PropertyBindingInfo;
|
|
2075
|
+
|
|
1362
2076
|
/**
|
|
1363
2077
|
* Context path for the binding context.
|
|
1364
2078
|
*/
|
|
@@ -1393,6 +2107,11 @@ declare module "sap/fe/macros/Status" {
|
|
|
1393
2107
|
* the overlay element.
|
|
1394
2108
|
*/
|
|
1395
2109
|
reactiveAreaMode?: string | PropertyBindingInfo;
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* Press event fired when the ObjectStatus is clicked.
|
|
2113
|
+
*/
|
|
2114
|
+
press?: (oEvent: Event) => void;
|
|
1396
2115
|
}
|
|
1397
2116
|
|
|
1398
2117
|
/**
|
|
@@ -1487,6 +2206,11 @@ declare module "sap/fe/macros/chart/Action" {
|
|
|
1487
2206
|
*/
|
|
1488
2207
|
key?: string | PropertyBindingInfo;
|
|
1489
2208
|
|
|
2209
|
+
/**
|
|
2210
|
+
* Defines the overflow group of the action in the overflow toolbar.
|
|
2211
|
+
*/
|
|
2212
|
+
overflowGroup?: int | PropertyBindingInfo | `{${string}}`;
|
|
2213
|
+
|
|
1490
2214
|
/**
|
|
1491
2215
|
* Defines where this action should be placed relative to the defined anchor
|
|
1492
2216
|
* Allowed values are `Before` and `After`
|
|
@@ -1540,6 +2264,11 @@ declare module "sap/fe/macros/chart/ActionGroup" {
|
|
|
1540
2264
|
*/
|
|
1541
2265
|
key?: string | PropertyBindingInfo;
|
|
1542
2266
|
|
|
2267
|
+
/**
|
|
2268
|
+
* Defines the overflow group of the action in the overflow toolbar.
|
|
2269
|
+
*/
|
|
2270
|
+
overflowGroup?: int | PropertyBindingInfo | `{${string}}`;
|
|
2271
|
+
|
|
1543
2272
|
/**
|
|
1544
2273
|
* Defines where this action group should be placed relative to the defined anchor
|
|
1545
2274
|
* Allowed values are `Before` and `After`
|
|
@@ -1572,6 +2301,8 @@ declare module "sap/fe/macros/chart/Chart" {
|
|
|
1572
2301
|
AggregationBindingInfo,
|
|
1573
2302
|
} from "sap/ui/base/ManagedObject";
|
|
1574
2303
|
|
|
2304
|
+
import OverflowGroup from "sap/fe/macros/chart/OverflowGroup";
|
|
2305
|
+
|
|
1575
2306
|
import ActionGroup from "sap/fe/macros/chart/ActionGroup";
|
|
1576
2307
|
|
|
1577
2308
|
import Action from "sap/fe/macros/chart/Action";
|
|
@@ -1603,6 +2334,73 @@ declare module "sap/fe/macros/chart/Chart" {
|
|
|
1603
2334
|
* @experimental
|
|
1604
2335
|
*/
|
|
1605
2336
|
export default class Chart extends Control {
|
|
2337
|
+
/**
|
|
2338
|
+
*
|
|
2339
|
+
* @returns Reference to sap.fe.macros.Chart to allow
|
|
2340
|
+
* method chaining
|
|
2341
|
+
*/
|
|
2342
|
+
attachSelectionChange(
|
|
2343
|
+
/**
|
|
2344
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
2345
|
+
* object when firing the event
|
|
2346
|
+
*/
|
|
2347
|
+
oData: object,
|
|
2348
|
+
/**
|
|
2349
|
+
* The function to be called when the event occurs
|
|
2350
|
+
*/
|
|
2351
|
+
fnFunction: (p1: Chart$SelectionChangeEvent) => void,
|
|
2352
|
+
/**
|
|
2353
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
2354
|
+
*/
|
|
2355
|
+
oListener?: object
|
|
2356
|
+
): this;
|
|
2357
|
+
/**
|
|
2358
|
+
*
|
|
2359
|
+
* @returns Reference to sap.fe.macros.Chart to allow
|
|
2360
|
+
* method chaining
|
|
2361
|
+
*/
|
|
2362
|
+
attachSelectionChange(
|
|
2363
|
+
/**
|
|
2364
|
+
* The function to be called when the event occurs
|
|
2365
|
+
*/
|
|
2366
|
+
fnFunction: (p1: Chart$SelectionChangeEvent) => void,
|
|
2367
|
+
/**
|
|
2368
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
2369
|
+
*/
|
|
2370
|
+
oListener?: object
|
|
2371
|
+
): this;
|
|
2372
|
+
/**
|
|
2373
|
+
*
|
|
2374
|
+
* @returns Reference to sap.fe.macros.Chart to allow
|
|
2375
|
+
* method chaining
|
|
2376
|
+
*/
|
|
2377
|
+
detachSelectionChange(
|
|
2378
|
+
/**
|
|
2379
|
+
* The function to be called when the event occurs
|
|
2380
|
+
*/
|
|
2381
|
+
fnFunction: (p1: Chart$SelectionChangeEvent) => void,
|
|
2382
|
+
/**
|
|
2383
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
2384
|
+
*/
|
|
2385
|
+
oListener?: object
|
|
2386
|
+
): this;
|
|
2387
|
+
/**
|
|
2388
|
+
* Fires event selectionChange
|
|
2389
|
+
* to attached listeners.
|
|
2390
|
+
*
|
|
2391
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2392
|
+
*
|
|
2393
|
+
* @returns Reference to sap.fe.macros.Chart to allow
|
|
2394
|
+
* method chaining
|
|
2395
|
+
*/
|
|
2396
|
+
fireSelectionChange(
|
|
2397
|
+
/**
|
|
2398
|
+
* The parameters to pass along with the event.
|
|
2399
|
+
* See {@link types.EventHandler>} for the
|
|
2400
|
+
* set of parameters that are expected by the event handlers.
|
|
2401
|
+
*/
|
|
2402
|
+
mParameters?: Chart$SelectionChangeEventParameters
|
|
2403
|
+
): this;
|
|
1606
2404
|
/**
|
|
1607
2405
|
* Gets current value of property contextPath.
|
|
1608
2406
|
*
|
|
@@ -1858,6 +2656,15 @@ declare module "sap/fe/macros/chart/Chart" {
|
|
|
1858
2656
|
*/
|
|
1859
2657
|
variantManagement?: string | PropertyBindingInfo;
|
|
1860
2658
|
|
|
2659
|
+
/**
|
|
2660
|
+
* Aggregate overflowGroups of the chart.
|
|
2661
|
+
*/
|
|
2662
|
+
actionOverflowGroups?:
|
|
2663
|
+
| OverflowGroup[]
|
|
2664
|
+
| OverflowGroup
|
|
2665
|
+
| AggregationBindingInfo
|
|
2666
|
+
| `{${string}}`;
|
|
2667
|
+
|
|
1861
2668
|
/**
|
|
1862
2669
|
* Aggregate actions of the chart.
|
|
1863
2670
|
*/
|
|
@@ -1867,12 +2674,22 @@ declare module "sap/fe/macros/chart/Chart" {
|
|
|
1867
2674
|
| Action
|
|
1868
2675
|
| AggregationBindingInfo
|
|
1869
2676
|
| `{${string}}`;
|
|
2677
|
+
|
|
2678
|
+
/**
|
|
2679
|
+
* An event triggered when chart selections are changed. The event contains information about the data selected/deselected
|
|
2680
|
+
* and the Boolean flag that indicates whether data is selected or deselected.
|
|
2681
|
+
*/
|
|
2682
|
+
selectionChange?: (oEvent: Chart$SelectionChangeEvent) => void;
|
|
1870
2683
|
}
|
|
1871
2684
|
|
|
1872
2685
|
/**
|
|
1873
2686
|
* Parameters of the Chart#selectionChange event.
|
|
1874
2687
|
*/
|
|
1875
|
-
export interface Chart$SelectionChangeEventParameters {
|
|
2688
|
+
export interface Chart$SelectionChangeEventParameters {
|
|
2689
|
+
data?: any[];
|
|
2690
|
+
|
|
2691
|
+
selected?: boolean;
|
|
2692
|
+
}
|
|
1876
2693
|
|
|
1877
2694
|
/**
|
|
1878
2695
|
* Event object of the Chart#selectionChange event.
|
|
@@ -1883,6 +2700,35 @@ declare module "sap/fe/macros/chart/Chart" {
|
|
|
1883
2700
|
>;
|
|
1884
2701
|
}
|
|
1885
2702
|
|
|
2703
|
+
declare module "sap/fe/macros/chart/OverflowGroup" {
|
|
2704
|
+
import {
|
|
2705
|
+
default as BuildingBlockObjectProperty,
|
|
2706
|
+
$BuildingBlockObjectPropertySettings,
|
|
2707
|
+
} from "sap/fe/macros/controls/BuildingBlockObjectProperty";
|
|
2708
|
+
|
|
2709
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
2710
|
+
|
|
2711
|
+
/**
|
|
2712
|
+
* Definition of an overflow group to be used in the chart toolbar
|
|
2713
|
+
*/
|
|
2714
|
+
export default class OverflowGroup extends BuildingBlockObjectProperty {}
|
|
2715
|
+
/**
|
|
2716
|
+
* Describes the settings that can be provided to the OverflowGroup constructor.
|
|
2717
|
+
*/
|
|
2718
|
+
export interface $OverflowGroupSettings
|
|
2719
|
+
extends $BuildingBlockObjectPropertySettings {
|
|
2720
|
+
/**
|
|
2721
|
+
* Defines the group of the toolbar separator in the overflow toolbar.
|
|
2722
|
+
*/
|
|
2723
|
+
overflowGroup?: int | PropertyBindingInfo | `{${string}}`;
|
|
2724
|
+
|
|
2725
|
+
/**
|
|
2726
|
+
* Defines if a toolbar separator should be displayed.
|
|
2727
|
+
*/
|
|
2728
|
+
showSeparator?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
2729
|
+
}
|
|
2730
|
+
}
|
|
2731
|
+
|
|
1886
2732
|
declare module "sap/fe/macros/controls/BuildingBlockObjectProperty" {
|
|
1887
2733
|
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
1888
2734
|
|
|
@@ -1950,12 +2796,12 @@ declare module "sap/fe/macros/fcl/FlexibleColumnLayoutActions.block" {
|
|
|
1950
2796
|
declare module "sap/fe/macros/field/Field" {
|
|
1951
2797
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
1952
2798
|
|
|
2799
|
+
import Event from "sap/ui/base/Event";
|
|
2800
|
+
|
|
1953
2801
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
1954
2802
|
|
|
1955
2803
|
import FieldFormatOptions from "sap/fe/macros/field/FieldFormatOptions";
|
|
1956
2804
|
|
|
1957
|
-
import Event from "sap/ui/base/Event";
|
|
1958
|
-
|
|
1959
2805
|
/**
|
|
1960
2806
|
* Building block for creating a field based on the metadata provided by OData V4.
|
|
1961
2807
|
*
|
|
@@ -2012,6 +2858,139 @@ declare module "sap/fe/macros/field/Field" {
|
|
|
2012
2858
|
type?: /* was: sap.ui.core.message.MessageType */ any;
|
|
2013
2859
|
}
|
|
2014
2860
|
): string;
|
|
2861
|
+
/**
|
|
2862
|
+
*
|
|
2863
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
2864
|
+
* method chaining
|
|
2865
|
+
*/
|
|
2866
|
+
attachChange(
|
|
2867
|
+
/**
|
|
2868
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
2869
|
+
* object when firing the event
|
|
2870
|
+
*/
|
|
2871
|
+
oData: object,
|
|
2872
|
+
/**
|
|
2873
|
+
* The function to be called when the event occurs
|
|
2874
|
+
*/
|
|
2875
|
+
fnFunction: (p1: Field$ChangeEvent) => void,
|
|
2876
|
+
/**
|
|
2877
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
2878
|
+
*/
|
|
2879
|
+
oListener?: object
|
|
2880
|
+
): this;
|
|
2881
|
+
/**
|
|
2882
|
+
*
|
|
2883
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
2884
|
+
* method chaining
|
|
2885
|
+
*/
|
|
2886
|
+
attachChange(
|
|
2887
|
+
/**
|
|
2888
|
+
* The function to be called when the event occurs
|
|
2889
|
+
*/
|
|
2890
|
+
fnFunction: (p1: Field$ChangeEvent) => void,
|
|
2891
|
+
/**
|
|
2892
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
2893
|
+
*/
|
|
2894
|
+
oListener?: object
|
|
2895
|
+
): this;
|
|
2896
|
+
/**
|
|
2897
|
+
*
|
|
2898
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
2899
|
+
* method chaining
|
|
2900
|
+
*/
|
|
2901
|
+
attachLiveChange(
|
|
2902
|
+
/**
|
|
2903
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
2904
|
+
* object when firing the event
|
|
2905
|
+
*/
|
|
2906
|
+
oData: object,
|
|
2907
|
+
/**
|
|
2908
|
+
* The function to be called when the event occurs
|
|
2909
|
+
*/
|
|
2910
|
+
fnFunction: (p1: Event) => void,
|
|
2911
|
+
/**
|
|
2912
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
2913
|
+
*/
|
|
2914
|
+
oListener?: object
|
|
2915
|
+
): this;
|
|
2916
|
+
/**
|
|
2917
|
+
*
|
|
2918
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
2919
|
+
* method chaining
|
|
2920
|
+
*/
|
|
2921
|
+
attachLiveChange(
|
|
2922
|
+
/**
|
|
2923
|
+
* The function to be called when the event occurs
|
|
2924
|
+
*/
|
|
2925
|
+
fnFunction: (p1: Event) => void,
|
|
2926
|
+
/**
|
|
2927
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
2928
|
+
*/
|
|
2929
|
+
oListener?: object
|
|
2930
|
+
): this;
|
|
2931
|
+
/**
|
|
2932
|
+
*
|
|
2933
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
2934
|
+
* method chaining
|
|
2935
|
+
*/
|
|
2936
|
+
detachChange(
|
|
2937
|
+
/**
|
|
2938
|
+
* The function to be called when the event occurs
|
|
2939
|
+
*/
|
|
2940
|
+
fnFunction: (p1: Field$ChangeEvent) => void,
|
|
2941
|
+
/**
|
|
2942
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
2943
|
+
*/
|
|
2944
|
+
oListener?: object
|
|
2945
|
+
): this;
|
|
2946
|
+
/**
|
|
2947
|
+
*
|
|
2948
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
2949
|
+
* method chaining
|
|
2950
|
+
*/
|
|
2951
|
+
detachLiveChange(
|
|
2952
|
+
/**
|
|
2953
|
+
* The function to be called when the event occurs
|
|
2954
|
+
*/
|
|
2955
|
+
fnFunction: (p1: Event) => void,
|
|
2956
|
+
/**
|
|
2957
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
2958
|
+
*/
|
|
2959
|
+
oListener?: object
|
|
2960
|
+
): this;
|
|
2961
|
+
/**
|
|
2962
|
+
* Fires event change to attached listeners.
|
|
2963
|
+
*
|
|
2964
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2965
|
+
*
|
|
2966
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
2967
|
+
* method chaining
|
|
2968
|
+
*/
|
|
2969
|
+
fireChange(
|
|
2970
|
+
/**
|
|
2971
|
+
* The parameters to pass along with the event.
|
|
2972
|
+
* See {@link types.EventHandler> }
|
|
2973
|
+
* for the set of parameters that are expected by the event handlers.
|
|
2974
|
+
*/
|
|
2975
|
+
mParameters?: Field$ChangeEventParameters
|
|
2976
|
+
): this;
|
|
2977
|
+
/**
|
|
2978
|
+
* Fires event liveChange to attached
|
|
2979
|
+
* listeners.
|
|
2980
|
+
*
|
|
2981
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2982
|
+
*
|
|
2983
|
+
* @returns Reference to sap.fe.macros.Field to allow
|
|
2984
|
+
* method chaining
|
|
2985
|
+
*/
|
|
2986
|
+
fireLiveChange(
|
|
2987
|
+
/**
|
|
2988
|
+
* The parameters to pass along with the event.
|
|
2989
|
+
* See {@link types.EventHandler>} for the set of parameters
|
|
2990
|
+
* that are expected by the event handlers.
|
|
2991
|
+
*/
|
|
2992
|
+
mParameters?: {}
|
|
2993
|
+
): this;
|
|
2015
2994
|
/**
|
|
2016
2995
|
* Gets the current enablement state of the field.
|
|
2017
2996
|
*
|
|
@@ -2103,12 +3082,26 @@ declare module "sap/fe/macros/field/Field" {
|
|
|
2103
3082
|
* A set of options that can be configured.
|
|
2104
3083
|
*/
|
|
2105
3084
|
formatOptions?: FieldFormatOptions;
|
|
3085
|
+
|
|
3086
|
+
/**
|
|
3087
|
+
* An event containing details is triggered when the value of the field is changed.
|
|
3088
|
+
*/
|
|
3089
|
+
change?: (oEvent: Field$ChangeEvent) => void;
|
|
3090
|
+
|
|
3091
|
+
/**
|
|
3092
|
+
* An event containing details is triggered when the value of the field is live changed.
|
|
3093
|
+
*/
|
|
3094
|
+
liveChange?: (oEvent: Event) => void;
|
|
2106
3095
|
}
|
|
2107
3096
|
|
|
2108
3097
|
/**
|
|
2109
3098
|
* Parameters of the Field#change event.
|
|
2110
3099
|
*/
|
|
2111
|
-
export interface Field$ChangeEventParameters {
|
|
3100
|
+
export interface Field$ChangeEventParameters {
|
|
3101
|
+
value?: boolean | number | string | undefined;
|
|
3102
|
+
|
|
3103
|
+
isValid?: boolean;
|
|
3104
|
+
}
|
|
2112
3105
|
|
|
2113
3106
|
/**
|
|
2114
3107
|
* Event object of the Field#change event.
|
|
@@ -2236,67 +3229,268 @@ declare module "sap/fe/macros/field/FieldFormatOptions" {
|
|
|
2236
3229
|
textExpandBehaviorDisplay?: string | PropertyBindingInfo;
|
|
2237
3230
|
|
|
2238
3231
|
/**
|
|
2239
|
-
* Maximum number of lines for multiline texts in edit mode.
|
|
3232
|
+
* Maximum number of lines for multiline texts in edit mode.
|
|
3233
|
+
*/
|
|
3234
|
+
textLinesEdit?: int | PropertyBindingInfo | `{${string}}`;
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* Maximum number of characters from the beginning of the text field that are shown initially.
|
|
3238
|
+
*/
|
|
3239
|
+
textMaxCharactersDisplay?: int | PropertyBindingInfo | `{${string}}`;
|
|
3240
|
+
|
|
3241
|
+
/**
|
|
3242
|
+
* Defines the maximum number of characters for the multiline text value.
|
|
3243
|
+
*
|
|
3244
|
+
* If a multiline text exceeds the maximum number of allowed characters, the counter below the input field
|
|
3245
|
+
* displays the exact number.
|
|
3246
|
+
*/
|
|
3247
|
+
textMaxLength?: int | PropertyBindingInfo | `{${string}}`;
|
|
3248
|
+
|
|
3249
|
+
/**
|
|
3250
|
+
* Maximum number of lines that multiline texts in edit mode can grow to.
|
|
3251
|
+
*/
|
|
3252
|
+
textMaxLines?: int | PropertyBindingInfo | `{${string}}`;
|
|
3253
|
+
}
|
|
3254
|
+
}
|
|
3255
|
+
|
|
3256
|
+
declare module "sap/fe/macros/filterBar/FilterBar" {
|
|
3257
|
+
import {
|
|
3258
|
+
default as BuildingBlockWithTemplating,
|
|
3259
|
+
$BuildingBlockWithTemplatingSettings,
|
|
3260
|
+
} from "sap/fe/macros/controls/BuildingBlockWithTemplating";
|
|
3261
|
+
|
|
3262
|
+
import Event from "sap/ui/base/Event";
|
|
3263
|
+
|
|
3264
|
+
import SelectionVariant from "sap/fe/navigation/SelectionVariant";
|
|
3265
|
+
|
|
3266
|
+
import {
|
|
3267
|
+
PropertyBindingInfo,
|
|
3268
|
+
AggregationBindingInfo,
|
|
3269
|
+
} from "sap/ui/base/ManagedObject";
|
|
3270
|
+
|
|
3271
|
+
import FilterField from "sap/fe/macros/filterBar/FilterField";
|
|
3272
|
+
|
|
3273
|
+
/**
|
|
3274
|
+
* Usage example:
|
|
3275
|
+
*
|
|
3276
|
+
* ```javascript
|
|
3277
|
+
*
|
|
3278
|
+
* sap.ui.require(["sap/fe/macros/filterBar/FilterBar"], function(FilterBar) {
|
|
3279
|
+
* ...
|
|
3280
|
+
* new FilterBar("MyFilterBar", {metaPath:"@com.sap.vocabularies.UI.v1.SelectionFields"})
|
|
3281
|
+
* })
|
|
3282
|
+
* ```
|
|
3283
|
+
*
|
|
3284
|
+
* This is currently an experimental API because the structure of the generated content will change to come
|
|
3285
|
+
* closer to the FilterBar that you get out of templates.
|
|
3286
|
+
* The public method and property will not change but the internal structure will so be careful on your
|
|
3287
|
+
* usage.
|
|
3288
|
+
*
|
|
3289
|
+
*
|
|
3290
|
+
* @experimental
|
|
3291
|
+
*/
|
|
3292
|
+
export default class FilterBar extends BuildingBlockWithTemplating {
|
|
3293
|
+
/**
|
|
3294
|
+
*
|
|
3295
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3296
|
+
* to allow method chaining
|
|
3297
|
+
*/
|
|
3298
|
+
attachAfterClear(
|
|
3299
|
+
/**
|
|
3300
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
3301
|
+
* object when firing the event
|
|
3302
|
+
*/
|
|
3303
|
+
oData: object,
|
|
3304
|
+
/**
|
|
3305
|
+
* The function to be called when the event occurs
|
|
3306
|
+
*/
|
|
3307
|
+
fnFunction: (p1: Event) => void,
|
|
3308
|
+
/**
|
|
3309
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3310
|
+
*/
|
|
3311
|
+
oListener?: object
|
|
3312
|
+
): this;
|
|
3313
|
+
/**
|
|
3314
|
+
*
|
|
3315
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3316
|
+
* to allow method chaining
|
|
3317
|
+
*/
|
|
3318
|
+
attachAfterClear(
|
|
3319
|
+
/**
|
|
3320
|
+
* The function to be called when the event occurs
|
|
3321
|
+
*/
|
|
3322
|
+
fnFunction: (p1: Event) => void,
|
|
3323
|
+
/**
|
|
3324
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3325
|
+
*/
|
|
3326
|
+
oListener?: object
|
|
3327
|
+
): this;
|
|
3328
|
+
/**
|
|
3329
|
+
*
|
|
3330
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3331
|
+
* to allow method chaining
|
|
3332
|
+
*/
|
|
3333
|
+
attachFilterChanged(
|
|
3334
|
+
/**
|
|
3335
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
3336
|
+
* object when firing the event
|
|
3337
|
+
*/
|
|
3338
|
+
oData: object,
|
|
3339
|
+
/**
|
|
3340
|
+
* The function to be called when the event occurs
|
|
3341
|
+
*/
|
|
3342
|
+
fnFunction: (p1: Event) => void,
|
|
3343
|
+
/**
|
|
3344
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3345
|
+
*/
|
|
3346
|
+
oListener?: object
|
|
3347
|
+
): this;
|
|
3348
|
+
/**
|
|
3349
|
+
*
|
|
3350
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3351
|
+
* to allow method chaining
|
|
3352
|
+
*/
|
|
3353
|
+
attachFilterChanged(
|
|
3354
|
+
/**
|
|
3355
|
+
* The function to be called when the event occurs
|
|
3356
|
+
*/
|
|
3357
|
+
fnFunction: (p1: Event) => void,
|
|
3358
|
+
/**
|
|
3359
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3360
|
+
*/
|
|
3361
|
+
oListener?: object
|
|
3362
|
+
): this;
|
|
3363
|
+
/**
|
|
3364
|
+
*
|
|
3365
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3366
|
+
* to allow method chaining
|
|
3367
|
+
*/
|
|
3368
|
+
attachSearch(
|
|
3369
|
+
/**
|
|
3370
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
3371
|
+
* object when firing the event
|
|
3372
|
+
*/
|
|
3373
|
+
oData: object,
|
|
3374
|
+
/**
|
|
3375
|
+
* The function to be called when the event occurs
|
|
3376
|
+
*/
|
|
3377
|
+
fnFunction: (p1: Event) => void,
|
|
3378
|
+
/**
|
|
3379
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3380
|
+
*/
|
|
3381
|
+
oListener?: object
|
|
3382
|
+
): this;
|
|
3383
|
+
/**
|
|
3384
|
+
*
|
|
3385
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3386
|
+
* to allow method chaining
|
|
3387
|
+
*/
|
|
3388
|
+
attachSearch(
|
|
3389
|
+
/**
|
|
3390
|
+
* The function to be called when the event occurs
|
|
3391
|
+
*/
|
|
3392
|
+
fnFunction: (p1: Event) => void,
|
|
3393
|
+
/**
|
|
3394
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3395
|
+
*/
|
|
3396
|
+
oListener?: object
|
|
3397
|
+
): this;
|
|
3398
|
+
/**
|
|
3399
|
+
*
|
|
3400
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3401
|
+
* to allow method chaining
|
|
3402
|
+
*/
|
|
3403
|
+
detachAfterClear(
|
|
3404
|
+
/**
|
|
3405
|
+
* The function to be called when the event occurs
|
|
3406
|
+
*/
|
|
3407
|
+
fnFunction: (p1: Event) => void,
|
|
3408
|
+
/**
|
|
3409
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3410
|
+
*/
|
|
3411
|
+
oListener?: object
|
|
3412
|
+
): this;
|
|
3413
|
+
/**
|
|
3414
|
+
*
|
|
3415
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3416
|
+
* to allow method chaining
|
|
3417
|
+
*/
|
|
3418
|
+
detachFilterChanged(
|
|
3419
|
+
/**
|
|
3420
|
+
* The function to be called when the event occurs
|
|
3421
|
+
*/
|
|
3422
|
+
fnFunction: (p1: Event) => void,
|
|
3423
|
+
/**
|
|
3424
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3425
|
+
*/
|
|
3426
|
+
oListener?: object
|
|
3427
|
+
): this;
|
|
3428
|
+
/**
|
|
3429
|
+
*
|
|
3430
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3431
|
+
* to allow method chaining
|
|
2240
3432
|
*/
|
|
2241
|
-
|
|
2242
|
-
|
|
3433
|
+
detachSearch(
|
|
3434
|
+
/**
|
|
3435
|
+
* The function to be called when the event occurs
|
|
3436
|
+
*/
|
|
3437
|
+
fnFunction: (p1: Event) => void,
|
|
3438
|
+
/**
|
|
3439
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3440
|
+
*/
|
|
3441
|
+
oListener?: object
|
|
3442
|
+
): this;
|
|
2243
3443
|
/**
|
|
2244
|
-
*
|
|
3444
|
+
* Fires event afterClear to
|
|
3445
|
+
* attached listeners.
|
|
3446
|
+
*
|
|
3447
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3448
|
+
*
|
|
3449
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3450
|
+
* to allow method chaining
|
|
2245
3451
|
*/
|
|
2246
|
-
|
|
2247
|
-
|
|
3452
|
+
fireAfterClear(
|
|
3453
|
+
/**
|
|
3454
|
+
* The parameters to pass along with the event.
|
|
3455
|
+
* See {@link .........types.EventHandler> }
|
|
3456
|
+
* for the set of parameters that are expected by the event handlers.
|
|
3457
|
+
*/
|
|
3458
|
+
mParameters?: {}
|
|
3459
|
+
): this;
|
|
2248
3460
|
/**
|
|
2249
|
-
*
|
|
3461
|
+
* Fires event filterChanged
|
|
3462
|
+
* to attached listeners.
|
|
2250
3463
|
*
|
|
2251
|
-
*
|
|
2252
|
-
*
|
|
3464
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3465
|
+
*
|
|
3466
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3467
|
+
* to allow method chaining
|
|
2253
3468
|
*/
|
|
2254
|
-
|
|
2255
|
-
|
|
3469
|
+
fireFilterChanged(
|
|
3470
|
+
/**
|
|
3471
|
+
* The parameters to pass along with the event.
|
|
3472
|
+
* See {@link .........types.EventHandler> }
|
|
3473
|
+
* for the set of parameters that are expected by the event handlers.
|
|
3474
|
+
*/
|
|
3475
|
+
mParameters?: {}
|
|
3476
|
+
): this;
|
|
2256
3477
|
/**
|
|
2257
|
-
*
|
|
3478
|
+
* Fires event search to attached
|
|
3479
|
+
* listeners.
|
|
3480
|
+
*
|
|
3481
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3482
|
+
*
|
|
3483
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3484
|
+
* to allow method chaining
|
|
2258
3485
|
*/
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
} from "sap/fe/macros/controls/BuildingBlockWithTemplating";
|
|
2268
|
-
|
|
2269
|
-
import SelectionVariant from "sap/fe/navigation/SelectionVariant";
|
|
2270
|
-
|
|
2271
|
-
import {
|
|
2272
|
-
PropertyBindingInfo,
|
|
2273
|
-
AggregationBindingInfo,
|
|
2274
|
-
} from "sap/ui/base/ManagedObject";
|
|
2275
|
-
|
|
2276
|
-
import FilterField from "sap/fe/macros/filterBar/FilterField";
|
|
2277
|
-
|
|
2278
|
-
import Event from "sap/ui/base/Event";
|
|
2279
|
-
|
|
2280
|
-
/**
|
|
2281
|
-
* Usage example:
|
|
2282
|
-
*
|
|
2283
|
-
* ```javascript
|
|
2284
|
-
*
|
|
2285
|
-
* sap.ui.require(["sap/fe/macros/filterBar/FilterBar"], function(FilterBar) {
|
|
2286
|
-
* ...
|
|
2287
|
-
* new FilterBar("MyFilterBar", {metaPath:"@com.sap.vocabularies.UI.v1.SelectionFields"})
|
|
2288
|
-
* })
|
|
2289
|
-
* ```
|
|
2290
|
-
*
|
|
2291
|
-
* This is currently an experimental API because the structure of the generated content will change to come
|
|
2292
|
-
* closer to the FilterBar that you get out of templates.
|
|
2293
|
-
* The public method and property will not change but the internal structure will so be careful on your
|
|
2294
|
-
* usage.
|
|
2295
|
-
*
|
|
2296
|
-
*
|
|
2297
|
-
* @experimental
|
|
2298
|
-
*/
|
|
2299
|
-
export default class FilterBar extends BuildingBlockWithTemplating {
|
|
3486
|
+
fireSearch(
|
|
3487
|
+
/**
|
|
3488
|
+
* The parameters to pass along with the event.
|
|
3489
|
+
* See {@link .........types.EventHandler> }
|
|
3490
|
+
* for the set of parameters that are expected by the event handlers.
|
|
3491
|
+
*/
|
|
3492
|
+
mParameters?: {}
|
|
3493
|
+
): this;
|
|
2300
3494
|
/**
|
|
2301
3495
|
* Get the Active Filters Text Summary for the filter bar.
|
|
2302
3496
|
*
|
|
@@ -2496,6 +3690,23 @@ declare module "sap/fe/macros/filterBar/FilterBar" {
|
|
|
2496
3690
|
| FilterField
|
|
2497
3691
|
| AggregationBindingInfo
|
|
2498
3692
|
| `{${string}}`;
|
|
3693
|
+
|
|
3694
|
+
/**
|
|
3695
|
+
* This event is fired when the 'Clear' button is pressed. This is only possible when the 'Clear' button
|
|
3696
|
+
* is enabled.
|
|
3697
|
+
*/
|
|
3698
|
+
afterClear?: (oEvent: Event) => void;
|
|
3699
|
+
|
|
3700
|
+
/**
|
|
3701
|
+
* This event is fired after either a filter value or the visibility of a filter item has been changed.
|
|
3702
|
+
* The event contains conditions that will be used as filters.
|
|
3703
|
+
*/
|
|
3704
|
+
filterChanged?: (oEvent: Event) => void;
|
|
3705
|
+
|
|
3706
|
+
/**
|
|
3707
|
+
* This event is fired when the 'Go' button is pressed or after a condition change.
|
|
3708
|
+
*/
|
|
3709
|
+
search?: (oEvent: Event) => void;
|
|
2499
3710
|
}
|
|
2500
3711
|
|
|
2501
3712
|
/**
|
|
@@ -2544,6 +3755,8 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
2544
3755
|
$MacroAPISettings,
|
|
2545
3756
|
} from "sap/fe/macros/MacroAPI";
|
|
2546
3757
|
|
|
3758
|
+
import Event from "sap/ui/base/Event";
|
|
3759
|
+
|
|
2547
3760
|
import SelectionVariant from "sap/fe/navigation/SelectionVariant";
|
|
2548
3761
|
|
|
2549
3762
|
import {
|
|
@@ -2553,8 +3766,6 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
2553
3766
|
|
|
2554
3767
|
import FilterField from "sap/fe/macros/filterBar/FilterField";
|
|
2555
3768
|
|
|
2556
|
-
import Event from "sap/ui/base/Event";
|
|
2557
|
-
|
|
2558
3769
|
/**
|
|
2559
3770
|
* Building block for creating a FilterBar based on the metadata provided by OData V4.
|
|
2560
3771
|
* {@link demo:sap/fe/core/fpmExplorer/index.html#/buildingBlocks/filterBar/filterBarDefault Overview of Building Blocks}
|
|
@@ -2570,6 +3781,207 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
2570
3781
|
* ```
|
|
2571
3782
|
*/
|
|
2572
3783
|
export default class FilterBar extends MacroAPI {
|
|
3784
|
+
/**
|
|
3785
|
+
*
|
|
3786
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3787
|
+
* to allow method chaining
|
|
3788
|
+
*/
|
|
3789
|
+
attachAfterClear(
|
|
3790
|
+
/**
|
|
3791
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
3792
|
+
* object when firing the event
|
|
3793
|
+
*/
|
|
3794
|
+
oData: object,
|
|
3795
|
+
/**
|
|
3796
|
+
* The function to be called when the event occurs
|
|
3797
|
+
*/
|
|
3798
|
+
fnFunction: (p1: Event) => void,
|
|
3799
|
+
/**
|
|
3800
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3801
|
+
*/
|
|
3802
|
+
oListener?: object
|
|
3803
|
+
): this;
|
|
3804
|
+
/**
|
|
3805
|
+
*
|
|
3806
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3807
|
+
* to allow method chaining
|
|
3808
|
+
*/
|
|
3809
|
+
attachAfterClear(
|
|
3810
|
+
/**
|
|
3811
|
+
* The function to be called when the event occurs
|
|
3812
|
+
*/
|
|
3813
|
+
fnFunction: (p1: Event) => void,
|
|
3814
|
+
/**
|
|
3815
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3816
|
+
*/
|
|
3817
|
+
oListener?: object
|
|
3818
|
+
): this;
|
|
3819
|
+
/**
|
|
3820
|
+
*
|
|
3821
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3822
|
+
* to allow method chaining
|
|
3823
|
+
*/
|
|
3824
|
+
attachFilterChanged(
|
|
3825
|
+
/**
|
|
3826
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
3827
|
+
* object when firing the event
|
|
3828
|
+
*/
|
|
3829
|
+
oData: object,
|
|
3830
|
+
/**
|
|
3831
|
+
* The function to be called when the event occurs
|
|
3832
|
+
*/
|
|
3833
|
+
fnFunction: (p1: Event) => void,
|
|
3834
|
+
/**
|
|
3835
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3836
|
+
*/
|
|
3837
|
+
oListener?: object
|
|
3838
|
+
): this;
|
|
3839
|
+
/**
|
|
3840
|
+
*
|
|
3841
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3842
|
+
* to allow method chaining
|
|
3843
|
+
*/
|
|
3844
|
+
attachFilterChanged(
|
|
3845
|
+
/**
|
|
3846
|
+
* The function to be called when the event occurs
|
|
3847
|
+
*/
|
|
3848
|
+
fnFunction: (p1: Event) => void,
|
|
3849
|
+
/**
|
|
3850
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3851
|
+
*/
|
|
3852
|
+
oListener?: object
|
|
3853
|
+
): this;
|
|
3854
|
+
/**
|
|
3855
|
+
*
|
|
3856
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3857
|
+
* to allow method chaining
|
|
3858
|
+
*/
|
|
3859
|
+
attachSearch(
|
|
3860
|
+
/**
|
|
3861
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
3862
|
+
* object when firing the event
|
|
3863
|
+
*/
|
|
3864
|
+
oData: object,
|
|
3865
|
+
/**
|
|
3866
|
+
* The function to be called when the event occurs
|
|
3867
|
+
*/
|
|
3868
|
+
fnFunction: (p1: Event) => void,
|
|
3869
|
+
/**
|
|
3870
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3871
|
+
*/
|
|
3872
|
+
oListener?: object
|
|
3873
|
+
): this;
|
|
3874
|
+
/**
|
|
3875
|
+
*
|
|
3876
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3877
|
+
* to allow method chaining
|
|
3878
|
+
*/
|
|
3879
|
+
attachSearch(
|
|
3880
|
+
/**
|
|
3881
|
+
* The function to be called when the event occurs
|
|
3882
|
+
*/
|
|
3883
|
+
fnFunction: (p1: Event) => void,
|
|
3884
|
+
/**
|
|
3885
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3886
|
+
*/
|
|
3887
|
+
oListener?: object
|
|
3888
|
+
): this;
|
|
3889
|
+
/**
|
|
3890
|
+
*
|
|
3891
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3892
|
+
* to allow method chaining
|
|
3893
|
+
*/
|
|
3894
|
+
detachAfterClear(
|
|
3895
|
+
/**
|
|
3896
|
+
* The function to be called when the event occurs
|
|
3897
|
+
*/
|
|
3898
|
+
fnFunction: (p1: Event) => void,
|
|
3899
|
+
/**
|
|
3900
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3901
|
+
*/
|
|
3902
|
+
oListener?: object
|
|
3903
|
+
): this;
|
|
3904
|
+
/**
|
|
3905
|
+
*
|
|
3906
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3907
|
+
* to allow method chaining
|
|
3908
|
+
*/
|
|
3909
|
+
detachFilterChanged(
|
|
3910
|
+
/**
|
|
3911
|
+
* The function to be called when the event occurs
|
|
3912
|
+
*/
|
|
3913
|
+
fnFunction: (p1: Event) => void,
|
|
3914
|
+
/**
|
|
3915
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3916
|
+
*/
|
|
3917
|
+
oListener?: object
|
|
3918
|
+
): this;
|
|
3919
|
+
/**
|
|
3920
|
+
*
|
|
3921
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3922
|
+
* to allow method chaining
|
|
3923
|
+
*/
|
|
3924
|
+
detachSearch(
|
|
3925
|
+
/**
|
|
3926
|
+
* The function to be called when the event occurs
|
|
3927
|
+
*/
|
|
3928
|
+
fnFunction: (p1: Event) => void,
|
|
3929
|
+
/**
|
|
3930
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
3931
|
+
*/
|
|
3932
|
+
oListener?: object
|
|
3933
|
+
): this;
|
|
3934
|
+
/**
|
|
3935
|
+
* Fires event afterClear to
|
|
3936
|
+
* attached listeners.
|
|
3937
|
+
*
|
|
3938
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3939
|
+
*
|
|
3940
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3941
|
+
* to allow method chaining
|
|
3942
|
+
*/
|
|
3943
|
+
fireAfterClear(
|
|
3944
|
+
/**
|
|
3945
|
+
* The parameters to pass along with the event.
|
|
3946
|
+
* See {@link .........types.EventHandler> }
|
|
3947
|
+
* for the set of parameters that are expected by the event handlers.
|
|
3948
|
+
*/
|
|
3949
|
+
mParameters?: {}
|
|
3950
|
+
): this;
|
|
3951
|
+
/**
|
|
3952
|
+
* Fires event filterChanged
|
|
3953
|
+
* to attached listeners.
|
|
3954
|
+
*
|
|
3955
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3956
|
+
*
|
|
3957
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3958
|
+
* to allow method chaining
|
|
3959
|
+
*/
|
|
3960
|
+
fireFilterChanged(
|
|
3961
|
+
/**
|
|
3962
|
+
* The parameters to pass along with the event.
|
|
3963
|
+
* See {@link .........types.EventHandler> }
|
|
3964
|
+
* for the set of parameters that are expected by the event handlers.
|
|
3965
|
+
*/
|
|
3966
|
+
mParameters?: {}
|
|
3967
|
+
): this;
|
|
3968
|
+
/**
|
|
3969
|
+
* Fires event search to attached
|
|
3970
|
+
* listeners.
|
|
3971
|
+
*
|
|
3972
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3973
|
+
*
|
|
3974
|
+
* @returns Reference to sap.fe.macros.FilterBar
|
|
3975
|
+
* to allow method chaining
|
|
3976
|
+
*/
|
|
3977
|
+
fireSearch(
|
|
3978
|
+
/**
|
|
3979
|
+
* The parameters to pass along with the event.
|
|
3980
|
+
* See {@link .........types.EventHandler> }
|
|
3981
|
+
* for the set of parameters that are expected by the event handlers.
|
|
3982
|
+
*/
|
|
3983
|
+
mParameters?: {}
|
|
3984
|
+
): this;
|
|
2573
3985
|
/**
|
|
2574
3986
|
* Get the Active Filters Text Summary for the filter bar.
|
|
2575
3987
|
*
|
|
@@ -2766,6 +4178,23 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
2766
4178
|
| FilterField
|
|
2767
4179
|
| AggregationBindingInfo
|
|
2768
4180
|
| `{${string}}`;
|
|
4181
|
+
|
|
4182
|
+
/**
|
|
4183
|
+
* This event is fired when the 'Clear' button is pressed. This is only possible when the 'Clear' button
|
|
4184
|
+
* is enabled.
|
|
4185
|
+
*/
|
|
4186
|
+
afterClear?: (oEvent: Event) => void;
|
|
4187
|
+
|
|
4188
|
+
/**
|
|
4189
|
+
* This event is fired after either a filter value or the visibility of a filter item has been changed.
|
|
4190
|
+
* The event contains conditions that will be used as filters.
|
|
4191
|
+
*/
|
|
4192
|
+
filterChanged?: (oEvent: Event) => void;
|
|
4193
|
+
|
|
4194
|
+
/**
|
|
4195
|
+
* This event is fired when the 'Go' button is pressed or after a condition change.
|
|
4196
|
+
*/
|
|
4197
|
+
search?: (oEvent: Event) => void;
|
|
2769
4198
|
}
|
|
2770
4199
|
|
|
2771
4200
|
/**
|
|
@@ -2902,6 +4331,13 @@ declare module "sap/fe/macros/form/Form.block" {
|
|
|
2902
4331
|
*/
|
|
2903
4332
|
contextPath?: Context | PropertyBindingInfo | `{${string}}`;
|
|
2904
4333
|
|
|
4334
|
+
/**
|
|
4335
|
+
* Defines the layout to be used within the form.
|
|
4336
|
+
* It defaults to the ColumnLayout, but you can also use a ResponsiveGridLayout.
|
|
4337
|
+
* All the properties of the ResponsiveGridLayout can be added to the configuration.
|
|
4338
|
+
*/
|
|
4339
|
+
layout?: object | PropertyBindingInfo | `{${string}}`;
|
|
4340
|
+
|
|
2905
4341
|
/**
|
|
2906
4342
|
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
2907
4343
|
*/
|
|
@@ -3094,7 +4530,7 @@ declare module "sap/fe/macros/richtexteditor/ButtonGroup" {
|
|
|
3094
4530
|
/**
|
|
3095
4531
|
* Whether the group is visible.
|
|
3096
4532
|
*/
|
|
3097
|
-
visible?:
|
|
4533
|
+
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
3098
4534
|
}
|
|
3099
4535
|
}
|
|
3100
4536
|
|
|
@@ -3142,14 +4578,82 @@ declare module "sap/fe/macros/table/Action" {
|
|
|
3142
4578
|
$BuildingBlockObjectPropertySettings,
|
|
3143
4579
|
} from "sap/fe/macros/controls/BuildingBlockObjectProperty";
|
|
3144
4580
|
|
|
3145
|
-
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
3146
|
-
|
|
3147
4581
|
import Event from "sap/ui/base/Event";
|
|
3148
4582
|
|
|
4583
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
4584
|
+
|
|
3149
4585
|
/**
|
|
3150
4586
|
* Definition of a custom action to be used inside the table toolbar
|
|
3151
4587
|
*/
|
|
3152
|
-
export default class Action extends BuildingBlockObjectProperty {
|
|
4588
|
+
export default class Action extends BuildingBlockObjectProperty {
|
|
4589
|
+
/**
|
|
4590
|
+
*
|
|
4591
|
+
* @returns Reference to sap.fe.macros.table.Action
|
|
4592
|
+
* to allow method chaining
|
|
4593
|
+
*/
|
|
4594
|
+
attachPress(
|
|
4595
|
+
/**
|
|
4596
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
4597
|
+
* object when firing the event
|
|
4598
|
+
*/
|
|
4599
|
+
oData: object,
|
|
4600
|
+
/**
|
|
4601
|
+
* The function to be called when the event occurs
|
|
4602
|
+
*/
|
|
4603
|
+
fnFunction: (p1: Event) => void,
|
|
4604
|
+
/**
|
|
4605
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
4606
|
+
*/
|
|
4607
|
+
oListener?: object
|
|
4608
|
+
): this;
|
|
4609
|
+
/**
|
|
4610
|
+
*
|
|
4611
|
+
* @returns Reference to sap.fe.macros.table.Action
|
|
4612
|
+
* to allow method chaining
|
|
4613
|
+
*/
|
|
4614
|
+
attachPress(
|
|
4615
|
+
/**
|
|
4616
|
+
* The function to be called when the event occurs
|
|
4617
|
+
*/
|
|
4618
|
+
fnFunction: (p1: Event) => void,
|
|
4619
|
+
/**
|
|
4620
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
4621
|
+
*/
|
|
4622
|
+
oListener?: object
|
|
4623
|
+
): this;
|
|
4624
|
+
/**
|
|
4625
|
+
*
|
|
4626
|
+
* @returns Reference to sap.fe.macros.table.Action
|
|
4627
|
+
* to allow method chaining
|
|
4628
|
+
*/
|
|
4629
|
+
detachPress(
|
|
4630
|
+
/**
|
|
4631
|
+
* The function to be called when the event occurs
|
|
4632
|
+
*/
|
|
4633
|
+
fnFunction: (p1: Event) => void,
|
|
4634
|
+
/**
|
|
4635
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
4636
|
+
*/
|
|
4637
|
+
oListener?: object
|
|
4638
|
+
): this;
|
|
4639
|
+
/**
|
|
4640
|
+
* Fires event press to attached
|
|
4641
|
+
* listeners.
|
|
4642
|
+
*
|
|
4643
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
4644
|
+
*
|
|
4645
|
+
* @returns Reference to sap.fe.macros.table.Action
|
|
4646
|
+
* to allow method chaining
|
|
4647
|
+
*/
|
|
4648
|
+
firePress(
|
|
4649
|
+
/**
|
|
4650
|
+
* The parameters to pass along with the event.
|
|
4651
|
+
* See {@link .........types.EventHandler>} for the set of parameters that
|
|
4652
|
+
* are expected by the event handlers.
|
|
4653
|
+
*/
|
|
4654
|
+
mParameters?: {}
|
|
4655
|
+
): this;
|
|
4656
|
+
}
|
|
3153
4657
|
/**
|
|
3154
4658
|
* Describes the settings that can be provided to the Action constructor.
|
|
3155
4659
|
*/
|
|
@@ -3186,12 +4690,22 @@ declare module "sap/fe/macros/table/Action" {
|
|
|
3186
4690
|
*/
|
|
3187
4691
|
key?: string | PropertyBindingInfo;
|
|
3188
4692
|
|
|
4693
|
+
/**
|
|
4694
|
+
* Defines the overflow group of the action in the overflow toolbar.
|
|
4695
|
+
*/
|
|
4696
|
+
overflowGroup?: int | PropertyBindingInfo | `{${string}}`;
|
|
4697
|
+
|
|
3189
4698
|
/**
|
|
3190
4699
|
* Defines where this action should be placed relative to the defined anchor
|
|
3191
4700
|
* Allowed values are `Before` and `After`
|
|
3192
4701
|
*/
|
|
3193
4702
|
placement?: string | PropertyBindingInfo;
|
|
3194
4703
|
|
|
4704
|
+
/**
|
|
4705
|
+
* Defines the priority of the action in the overflow toolbar.
|
|
4706
|
+
*/
|
|
4707
|
+
priority?: string | PropertyBindingInfo;
|
|
4708
|
+
|
|
3195
4709
|
/**
|
|
3196
4710
|
* Defines if the action requires a selection.
|
|
3197
4711
|
*/
|
|
@@ -3206,6 +4720,11 @@ declare module "sap/fe/macros/table/Action" {
|
|
|
3206
4720
|
* Determines whether the action is visible.
|
|
3207
4721
|
*/
|
|
3208
4722
|
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
4723
|
+
|
|
4724
|
+
/**
|
|
4725
|
+
* Event handler to be called when the user chooses the action
|
|
4726
|
+
*/
|
|
4727
|
+
press?: (oEvent: Event) => void;
|
|
3209
4728
|
}
|
|
3210
4729
|
|
|
3211
4730
|
/**
|
|
@@ -3259,11 +4778,21 @@ declare module "sap/fe/macros/table/ActionGroup" {
|
|
|
3259
4778
|
*/
|
|
3260
4779
|
key?: string | PropertyBindingInfo;
|
|
3261
4780
|
|
|
4781
|
+
/**
|
|
4782
|
+
* Defines the overflow group of the action in the overflow toolbar.
|
|
4783
|
+
*/
|
|
4784
|
+
overflowGroup?: int | PropertyBindingInfo | `{${string}}`;
|
|
4785
|
+
|
|
3262
4786
|
/**
|
|
3263
4787
|
* Determines where this action group should be placed relative to the defined anchor
|
|
3264
4788
|
* Allowed values are `Before` and `After`
|
|
3265
4789
|
*/
|
|
3266
|
-
placement?: string | PropertyBindingInfo;
|
|
4790
|
+
placement?: string | PropertyBindingInfo;
|
|
4791
|
+
|
|
4792
|
+
/**
|
|
4793
|
+
* Defines the priority of the action in the overflow toolbar.
|
|
4794
|
+
*/
|
|
4795
|
+
priority?: string | PropertyBindingInfo;
|
|
3267
4796
|
|
|
3268
4797
|
/**
|
|
3269
4798
|
* The text that will be displayed for this action group
|
|
@@ -3719,6 +5248,35 @@ declare module "sap/fe/macros/table/MassEdit" {
|
|
|
3719
5248
|
}
|
|
3720
5249
|
}
|
|
3721
5250
|
|
|
5251
|
+
declare module "sap/fe/macros/table/OverflowGroups" {
|
|
5252
|
+
import {
|
|
5253
|
+
default as BuildingBlockObjectProperty,
|
|
5254
|
+
$BuildingBlockObjectPropertySettings,
|
|
5255
|
+
} from "sap/fe/macros/controls/BuildingBlockObjectProperty";
|
|
5256
|
+
|
|
5257
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
5258
|
+
|
|
5259
|
+
/**
|
|
5260
|
+
* Configuration of toolbar separators to be used inside the table toolbar
|
|
5261
|
+
*/
|
|
5262
|
+
export default class OverflowGroup extends BuildingBlockObjectProperty {}
|
|
5263
|
+
/**
|
|
5264
|
+
* Describes the settings that can be provided to the OverflowGroup constructor.
|
|
5265
|
+
*/
|
|
5266
|
+
export interface $OverflowGroupSettings
|
|
5267
|
+
extends $BuildingBlockObjectPropertySettings {
|
|
5268
|
+
/**
|
|
5269
|
+
* Defines the group of the toolbar separator in the overflow toolbar.
|
|
5270
|
+
*/
|
|
5271
|
+
overflowGroup?: int | PropertyBindingInfo | `{${string}}`;
|
|
5272
|
+
|
|
5273
|
+
/**
|
|
5274
|
+
* Defines if a toolbar separator should be displayed.
|
|
5275
|
+
*/
|
|
5276
|
+
showSeparator?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
5277
|
+
}
|
|
5278
|
+
}
|
|
5279
|
+
|
|
3722
5280
|
declare module "sap/fe/macros/table/QuickVariantSelection" {
|
|
3723
5281
|
import {
|
|
3724
5282
|
default as BuildingBlockObjectProperty,
|
|
@@ -3754,10 +5312,12 @@ declare module "sap/fe/macros/table/Table.block" {
|
|
|
3754
5312
|
$MacroAPISettings,
|
|
3755
5313
|
} from "sap/fe/macros/MacroAPI";
|
|
3756
5314
|
|
|
3757
|
-
import
|
|
5315
|
+
import Event from "sap/ui/base/Event";
|
|
3758
5316
|
|
|
3759
5317
|
import Context from "sap/ui/model/odata/v4/Context";
|
|
3760
5318
|
|
|
5319
|
+
import PresentationVariant from "sap/fe/navigation/PresentationVariant";
|
|
5320
|
+
|
|
3761
5321
|
import SelectionVariant from "sap/fe/navigation/SelectionVariant";
|
|
3762
5322
|
|
|
3763
5323
|
import {
|
|
@@ -3767,6 +5327,8 @@ declare module "sap/fe/macros/table/Table.block" {
|
|
|
3767
5327
|
|
|
3768
5328
|
import TableCreationOptions from "sap/fe/macros/table/TableCreationOptions";
|
|
3769
5329
|
|
|
5330
|
+
import OverflowGroup from "sap/fe/macros/table/OverflowGroups";
|
|
5331
|
+
|
|
3770
5332
|
import ActionGroup from "sap/fe/macros/table/ActionGroup";
|
|
3771
5333
|
|
|
3772
5334
|
import Action from "sap/fe/macros/table/Action";
|
|
@@ -3785,7 +5347,7 @@ declare module "sap/fe/macros/table/Table.block" {
|
|
|
3785
5347
|
|
|
3786
5348
|
import QuickVariantSelection from "sap/fe/macros/table/QuickVariantSelection";
|
|
3787
5349
|
|
|
3788
|
-
import
|
|
5350
|
+
import CollectionBindingInfo from "sap/fe/macros/CollectionBindingInfo";
|
|
3789
5351
|
|
|
3790
5352
|
/**
|
|
3791
5353
|
* Building block used to create a table based on the metadata provided by OData V4.
|
|
@@ -3841,6 +5403,223 @@ declare module "sap/fe/macros/table/Table.block" {
|
|
|
3841
5403
|
type?: /* was: sap.ui.core.message.MessageType */ any;
|
|
3842
5404
|
}
|
|
3843
5405
|
): Promise<string>;
|
|
5406
|
+
/**
|
|
5407
|
+
*
|
|
5408
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
5409
|
+
* method chaining
|
|
5410
|
+
*/
|
|
5411
|
+
attachBeforeRebindTable(
|
|
5412
|
+
/**
|
|
5413
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
5414
|
+
* object when firing the event
|
|
5415
|
+
*/
|
|
5416
|
+
oData: object,
|
|
5417
|
+
/**
|
|
5418
|
+
* The function to be called when the event occurs
|
|
5419
|
+
*/
|
|
5420
|
+
fnFunction: (p1: Table$BeforeRebindTableEvent) => void,
|
|
5421
|
+
/**
|
|
5422
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
5423
|
+
*/
|
|
5424
|
+
oListener?: object
|
|
5425
|
+
): this;
|
|
5426
|
+
/**
|
|
5427
|
+
*
|
|
5428
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
5429
|
+
* method chaining
|
|
5430
|
+
*/
|
|
5431
|
+
attachBeforeRebindTable(
|
|
5432
|
+
/**
|
|
5433
|
+
* The function to be called when the event occurs
|
|
5434
|
+
*/
|
|
5435
|
+
fnFunction: (p1: Table$BeforeRebindTableEvent) => void,
|
|
5436
|
+
/**
|
|
5437
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
5438
|
+
*/
|
|
5439
|
+
oListener?: object
|
|
5440
|
+
): this;
|
|
5441
|
+
/**
|
|
5442
|
+
*
|
|
5443
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
5444
|
+
* method chaining
|
|
5445
|
+
*/
|
|
5446
|
+
attachRowPress(
|
|
5447
|
+
/**
|
|
5448
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
5449
|
+
* object when firing the event
|
|
5450
|
+
*/
|
|
5451
|
+
oData: object,
|
|
5452
|
+
/**
|
|
5453
|
+
* The function to be called when the event occurs
|
|
5454
|
+
*/
|
|
5455
|
+
fnFunction: (p1: Event) => void,
|
|
5456
|
+
/**
|
|
5457
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
5458
|
+
*/
|
|
5459
|
+
oListener?: object
|
|
5460
|
+
): this;
|
|
5461
|
+
/**
|
|
5462
|
+
*
|
|
5463
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
5464
|
+
* method chaining
|
|
5465
|
+
*/
|
|
5466
|
+
attachRowPress(
|
|
5467
|
+
/**
|
|
5468
|
+
* The function to be called when the event occurs
|
|
5469
|
+
*/
|
|
5470
|
+
fnFunction: (p1: Event) => void,
|
|
5471
|
+
/**
|
|
5472
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
5473
|
+
*/
|
|
5474
|
+
oListener?: object
|
|
5475
|
+
): this;
|
|
5476
|
+
/**
|
|
5477
|
+
*
|
|
5478
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
5479
|
+
* method chaining
|
|
5480
|
+
*/
|
|
5481
|
+
attachSelectionChange(
|
|
5482
|
+
/**
|
|
5483
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
5484
|
+
* object when firing the event
|
|
5485
|
+
*/
|
|
5486
|
+
oData: object,
|
|
5487
|
+
/**
|
|
5488
|
+
* The function to be called when the event occurs
|
|
5489
|
+
*/
|
|
5490
|
+
fnFunction: (p1: Event) => void,
|
|
5491
|
+
/**
|
|
5492
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
5493
|
+
*/
|
|
5494
|
+
oListener?: object
|
|
5495
|
+
): this;
|
|
5496
|
+
/**
|
|
5497
|
+
*
|
|
5498
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
5499
|
+
* method chaining
|
|
5500
|
+
*/
|
|
5501
|
+
attachSelectionChange(
|
|
5502
|
+
/**
|
|
5503
|
+
* The function to be called when the event occurs
|
|
5504
|
+
*/
|
|
5505
|
+
fnFunction: (p1: Event) => void,
|
|
5506
|
+
/**
|
|
5507
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
5508
|
+
*/
|
|
5509
|
+
oListener?: object
|
|
5510
|
+
): this;
|
|
5511
|
+
/**
|
|
5512
|
+
* Clears the selection.
|
|
5513
|
+
*
|
|
5514
|
+
* @since 1.142.0
|
|
5515
|
+
*/
|
|
5516
|
+
clearSelection(): void;
|
|
5517
|
+
/**
|
|
5518
|
+
*
|
|
5519
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
5520
|
+
* method chaining
|
|
5521
|
+
*/
|
|
5522
|
+
detachBeforeRebindTable(
|
|
5523
|
+
/**
|
|
5524
|
+
* The function to be called when the event occurs
|
|
5525
|
+
*/
|
|
5526
|
+
fnFunction: (p1: Table$BeforeRebindTableEvent) => void,
|
|
5527
|
+
/**
|
|
5528
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
5529
|
+
*/
|
|
5530
|
+
oListener?: object
|
|
5531
|
+
): this;
|
|
5532
|
+
/**
|
|
5533
|
+
*
|
|
5534
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
5535
|
+
* method chaining
|
|
5536
|
+
*/
|
|
5537
|
+
detachRowPress(
|
|
5538
|
+
/**
|
|
5539
|
+
* The function to be called when the event occurs
|
|
5540
|
+
*/
|
|
5541
|
+
fnFunction: (p1: Event) => void,
|
|
5542
|
+
/**
|
|
5543
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
5544
|
+
*/
|
|
5545
|
+
oListener?: object
|
|
5546
|
+
): this;
|
|
5547
|
+
/**
|
|
5548
|
+
*
|
|
5549
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
5550
|
+
* method chaining
|
|
5551
|
+
*/
|
|
5552
|
+
detachSelectionChange(
|
|
5553
|
+
/**
|
|
5554
|
+
* The function to be called when the event occurs
|
|
5555
|
+
*/
|
|
5556
|
+
fnFunction: (p1: Event) => void,
|
|
5557
|
+
/**
|
|
5558
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
5559
|
+
*/
|
|
5560
|
+
oListener?: object
|
|
5561
|
+
): this;
|
|
5562
|
+
/**
|
|
5563
|
+
* Fires event beforeRebindTable
|
|
5564
|
+
* to attached listeners.
|
|
5565
|
+
*
|
|
5566
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5567
|
+
*
|
|
5568
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
5569
|
+
* method chaining
|
|
5570
|
+
*/
|
|
5571
|
+
fireBeforeRebindTable(
|
|
5572
|
+
/**
|
|
5573
|
+
* The parameters to pass along with the event.
|
|
5574
|
+
* See {@link types.EventHandler> }
|
|
5575
|
+
* for the set of parameters that are expected by the event handlers.
|
|
5576
|
+
*/
|
|
5577
|
+
mParameters?: Table$BeforeRebindTableEventParameters
|
|
5578
|
+
): this;
|
|
5579
|
+
/**
|
|
5580
|
+
* Fires event rowPress to attached
|
|
5581
|
+
* listeners.
|
|
5582
|
+
*
|
|
5583
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5584
|
+
*
|
|
5585
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
5586
|
+
* method chaining
|
|
5587
|
+
*/
|
|
5588
|
+
fireRowPress(
|
|
5589
|
+
/**
|
|
5590
|
+
* The parameters to pass along with the event.
|
|
5591
|
+
* See {@link types.EventHandler> }
|
|
5592
|
+
* for the set of parameters that are expected by the event handlers.
|
|
5593
|
+
*/
|
|
5594
|
+
mParameters?: {}
|
|
5595
|
+
): this;
|
|
5596
|
+
/**
|
|
5597
|
+
* Fires event selectionChange
|
|
5598
|
+
* to attached listeners.
|
|
5599
|
+
*
|
|
5600
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5601
|
+
*
|
|
5602
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
5603
|
+
* method chaining
|
|
5604
|
+
*/
|
|
5605
|
+
fireSelectionChange(
|
|
5606
|
+
/**
|
|
5607
|
+
* The parameters to pass along with the event.
|
|
5608
|
+
* See {@link types.EventHandler>} for the set of parameters
|
|
5609
|
+
* that are expected by the event handlers.
|
|
5610
|
+
*/
|
|
5611
|
+
mParameters?: {}
|
|
5612
|
+
): this;
|
|
5613
|
+
/**
|
|
5614
|
+
* Returns all contexts that are loaded in the table.
|
|
5615
|
+
* See also the {@link sap.ui.model.odata.v4.ODataListBinding#getAllCurrentContexts } method.
|
|
5616
|
+
*
|
|
5617
|
+
*
|
|
5618
|
+
* @since 1.142.0
|
|
5619
|
+
*
|
|
5620
|
+
* @returns All contexts of the table's list binding, or undefined if the table data is not yet loaded.
|
|
5621
|
+
*/
|
|
5622
|
+
getAllCurrentContexts(): Context[] | undefined;
|
|
3844
5623
|
/**
|
|
3845
5624
|
* Get the count of the row binding of the table.
|
|
3846
5625
|
*
|
|
@@ -4234,6 +6013,15 @@ declare module "sap/fe/macros/table/Table.block" {
|
|
|
4234
6013
|
*/
|
|
4235
6014
|
widthIncludingColumnHeader?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
4236
6015
|
|
|
6016
|
+
/**
|
|
6017
|
+
* Aggregate overflowGroups of the table.
|
|
6018
|
+
*/
|
|
6019
|
+
actionOverflowGroups?:
|
|
6020
|
+
| OverflowGroup[]
|
|
6021
|
+
| OverflowGroup
|
|
6022
|
+
| AggregationBindingInfo
|
|
6023
|
+
| `{${string}}`;
|
|
6024
|
+
|
|
4237
6025
|
/**
|
|
4238
6026
|
* Aggregate actions of the table.
|
|
4239
6027
|
*/
|
|
@@ -4273,12 +6061,39 @@ declare module "sap/fe/macros/table/Table.block" {
|
|
|
4273
6061
|
* Aggregate quickVariantSelection of the table.
|
|
4274
6062
|
*/
|
|
4275
6063
|
quickVariantSelection?: QuickVariantSelection;
|
|
6064
|
+
|
|
6065
|
+
/**
|
|
6066
|
+
* Before a table rebind, an event is triggered that contains information about the binding.
|
|
6067
|
+
* The event contains a parameter, `collectionBindingInfo`, which is an instance of `CollectionBindingInfoAPI`.
|
|
6068
|
+
* It can also contain an optional parameter, `quickFilterKey`, which indicates what is the quick filter
|
|
6069
|
+
* key (if any) being processed for the table.
|
|
6070
|
+
* This allows you to manipulate the table's list binding.
|
|
6071
|
+
* You can use this event to attach event handlers to the table's list binding.
|
|
6072
|
+
* You can use this event to add selects, and add or read the sorters and filters.
|
|
6073
|
+
*/
|
|
6074
|
+
beforeRebindTable?: (oEvent: Table$BeforeRebindTableEvent) => void;
|
|
6075
|
+
|
|
6076
|
+
/**
|
|
6077
|
+
* An event is triggered when the user chooses a row. The event contains information about which row is
|
|
6078
|
+
* chosen.
|
|
6079
|
+
* You can set this to handle the navigation manually.
|
|
6080
|
+
*/
|
|
6081
|
+
rowPress?: (oEvent: Event) => void;
|
|
6082
|
+
|
|
6083
|
+
/**
|
|
6084
|
+
* An event triggered when the selection in the table changes.
|
|
6085
|
+
*/
|
|
6086
|
+
selectionChange?: (oEvent: Event) => void;
|
|
4276
6087
|
}
|
|
4277
6088
|
|
|
4278
6089
|
/**
|
|
4279
6090
|
* Parameters of the Table#beforeRebindTable event.
|
|
4280
6091
|
*/
|
|
4281
|
-
export interface Table$BeforeRebindTableEventParameters {
|
|
6092
|
+
export interface Table$BeforeRebindTableEventParameters {
|
|
6093
|
+
collectionBindingInfo?: CollectionBindingInfo;
|
|
6094
|
+
|
|
6095
|
+
quickFilterKey?: string;
|
|
6096
|
+
}
|
|
4282
6097
|
|
|
4283
6098
|
/**
|
|
4284
6099
|
* Event object of the Table#beforeRebindTable event.
|
|
@@ -4322,10 +6137,12 @@ declare module "sap/fe/macros/table/Table" {
|
|
|
4322
6137
|
|
|
4323
6138
|
import Column from "sap/fe/macros/table/Column";
|
|
4324
6139
|
|
|
4325
|
-
import
|
|
6140
|
+
import Event from "sap/ui/base/Event";
|
|
4326
6141
|
|
|
4327
6142
|
import Context from "sap/ui/model/odata/v4/Context";
|
|
4328
6143
|
|
|
6144
|
+
import PresentationVariant from "sap/fe/navigation/PresentationVariant";
|
|
6145
|
+
|
|
4329
6146
|
import SelectionVariant from "sap/fe/navigation/SelectionVariant";
|
|
4330
6147
|
|
|
4331
6148
|
import {
|
|
@@ -4335,6 +6152,8 @@ declare module "sap/fe/macros/table/Table" {
|
|
|
4335
6152
|
|
|
4336
6153
|
import TableCreationOptions from "sap/fe/macros/table/TableCreationOptions";
|
|
4337
6154
|
|
|
6155
|
+
import OverflowGroup from "sap/fe/macros/table/OverflowGroups";
|
|
6156
|
+
|
|
4338
6157
|
import ActionGroup from "sap/fe/macros/table/ActionGroup";
|
|
4339
6158
|
|
|
4340
6159
|
import AnalyticalConfiguration from "sap/fe/macros/table/AnalyticalConfiguration";
|
|
@@ -4349,7 +6168,7 @@ declare module "sap/fe/macros/table/Table" {
|
|
|
4349
6168
|
|
|
4350
6169
|
import QuickVariantSelection from "sap/fe/macros/table/QuickVariantSelection";
|
|
4351
6170
|
|
|
4352
|
-
import
|
|
6171
|
+
import CollectionBindingInfo from "sap/fe/macros/CollectionBindingInfo";
|
|
4353
6172
|
|
|
4354
6173
|
/**
|
|
4355
6174
|
* Building block used to create a table based on the metadata provided by OData V4.
|
|
@@ -4443,6 +6262,223 @@ declare module "sap/fe/macros/table/Table" {
|
|
|
4443
6262
|
type?: /* was: sap.ui.core.message.MessageType */ any;
|
|
4444
6263
|
}
|
|
4445
6264
|
): Promise<string>;
|
|
6265
|
+
/**
|
|
6266
|
+
*
|
|
6267
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
6268
|
+
* method chaining
|
|
6269
|
+
*/
|
|
6270
|
+
attachBeforeRebindTable(
|
|
6271
|
+
/**
|
|
6272
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
6273
|
+
* object when firing the event
|
|
6274
|
+
*/
|
|
6275
|
+
oData: object,
|
|
6276
|
+
/**
|
|
6277
|
+
* The function to be called when the event occurs
|
|
6278
|
+
*/
|
|
6279
|
+
fnFunction: (p1: Table$BeforeRebindTableEvent) => void,
|
|
6280
|
+
/**
|
|
6281
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
6282
|
+
*/
|
|
6283
|
+
oListener?: object
|
|
6284
|
+
): this;
|
|
6285
|
+
/**
|
|
6286
|
+
*
|
|
6287
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
6288
|
+
* method chaining
|
|
6289
|
+
*/
|
|
6290
|
+
attachBeforeRebindTable(
|
|
6291
|
+
/**
|
|
6292
|
+
* The function to be called when the event occurs
|
|
6293
|
+
*/
|
|
6294
|
+
fnFunction: (p1: Table$BeforeRebindTableEvent) => void,
|
|
6295
|
+
/**
|
|
6296
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
6297
|
+
*/
|
|
6298
|
+
oListener?: object
|
|
6299
|
+
): this;
|
|
6300
|
+
/**
|
|
6301
|
+
*
|
|
6302
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
6303
|
+
* method chaining
|
|
6304
|
+
*/
|
|
6305
|
+
attachRowPress(
|
|
6306
|
+
/**
|
|
6307
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
6308
|
+
* object when firing the event
|
|
6309
|
+
*/
|
|
6310
|
+
oData: object,
|
|
6311
|
+
/**
|
|
6312
|
+
* The function to be called when the event occurs
|
|
6313
|
+
*/
|
|
6314
|
+
fnFunction: (p1: Event) => void,
|
|
6315
|
+
/**
|
|
6316
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
6317
|
+
*/
|
|
6318
|
+
oListener?: object
|
|
6319
|
+
): this;
|
|
6320
|
+
/**
|
|
6321
|
+
*
|
|
6322
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
6323
|
+
* method chaining
|
|
6324
|
+
*/
|
|
6325
|
+
attachRowPress(
|
|
6326
|
+
/**
|
|
6327
|
+
* The function to be called when the event occurs
|
|
6328
|
+
*/
|
|
6329
|
+
fnFunction: (p1: Event) => void,
|
|
6330
|
+
/**
|
|
6331
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
6332
|
+
*/
|
|
6333
|
+
oListener?: object
|
|
6334
|
+
): this;
|
|
6335
|
+
/**
|
|
6336
|
+
*
|
|
6337
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
6338
|
+
* method chaining
|
|
6339
|
+
*/
|
|
6340
|
+
attachSelectionChange(
|
|
6341
|
+
/**
|
|
6342
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
6343
|
+
* object when firing the event
|
|
6344
|
+
*/
|
|
6345
|
+
oData: object,
|
|
6346
|
+
/**
|
|
6347
|
+
* The function to be called when the event occurs
|
|
6348
|
+
*/
|
|
6349
|
+
fnFunction: (p1: Event) => void,
|
|
6350
|
+
/**
|
|
6351
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
6352
|
+
*/
|
|
6353
|
+
oListener?: object
|
|
6354
|
+
): this;
|
|
6355
|
+
/**
|
|
6356
|
+
*
|
|
6357
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
6358
|
+
* method chaining
|
|
6359
|
+
*/
|
|
6360
|
+
attachSelectionChange(
|
|
6361
|
+
/**
|
|
6362
|
+
* The function to be called when the event occurs
|
|
6363
|
+
*/
|
|
6364
|
+
fnFunction: (p1: Event) => void,
|
|
6365
|
+
/**
|
|
6366
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
6367
|
+
*/
|
|
6368
|
+
oListener?: object
|
|
6369
|
+
): this;
|
|
6370
|
+
/**
|
|
6371
|
+
* Clears the selection.
|
|
6372
|
+
*
|
|
6373
|
+
* @since 1.142.0
|
|
6374
|
+
*/
|
|
6375
|
+
clearSelection(): void;
|
|
6376
|
+
/**
|
|
6377
|
+
*
|
|
6378
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
6379
|
+
* method chaining
|
|
6380
|
+
*/
|
|
6381
|
+
detachBeforeRebindTable(
|
|
6382
|
+
/**
|
|
6383
|
+
* The function to be called when the event occurs
|
|
6384
|
+
*/
|
|
6385
|
+
fnFunction: (p1: Table$BeforeRebindTableEvent) => void,
|
|
6386
|
+
/**
|
|
6387
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
6388
|
+
*/
|
|
6389
|
+
oListener?: object
|
|
6390
|
+
): this;
|
|
6391
|
+
/**
|
|
6392
|
+
*
|
|
6393
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
6394
|
+
* method chaining
|
|
6395
|
+
*/
|
|
6396
|
+
detachRowPress(
|
|
6397
|
+
/**
|
|
6398
|
+
* The function to be called when the event occurs
|
|
6399
|
+
*/
|
|
6400
|
+
fnFunction: (p1: Event) => void,
|
|
6401
|
+
/**
|
|
6402
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
6403
|
+
*/
|
|
6404
|
+
oListener?: object
|
|
6405
|
+
): this;
|
|
6406
|
+
/**
|
|
6407
|
+
*
|
|
6408
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
6409
|
+
* method chaining
|
|
6410
|
+
*/
|
|
6411
|
+
detachSelectionChange(
|
|
6412
|
+
/**
|
|
6413
|
+
* The function to be called when the event occurs
|
|
6414
|
+
*/
|
|
6415
|
+
fnFunction: (p1: Event) => void,
|
|
6416
|
+
/**
|
|
6417
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
6418
|
+
*/
|
|
6419
|
+
oListener?: object
|
|
6420
|
+
): this;
|
|
6421
|
+
/**
|
|
6422
|
+
* Fires event beforeRebindTable
|
|
6423
|
+
* to attached listeners.
|
|
6424
|
+
*
|
|
6425
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
6426
|
+
*
|
|
6427
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
6428
|
+
* method chaining
|
|
6429
|
+
*/
|
|
6430
|
+
fireBeforeRebindTable(
|
|
6431
|
+
/**
|
|
6432
|
+
* The parameters to pass along with the event.
|
|
6433
|
+
* See {@link types.EventHandler> }
|
|
6434
|
+
* for the set of parameters that are expected by the event handlers.
|
|
6435
|
+
*/
|
|
6436
|
+
mParameters?: Table$BeforeRebindTableEventParameters
|
|
6437
|
+
): this;
|
|
6438
|
+
/**
|
|
6439
|
+
* Fires event rowPress to attached
|
|
6440
|
+
* listeners.
|
|
6441
|
+
*
|
|
6442
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
6443
|
+
*
|
|
6444
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
6445
|
+
* method chaining
|
|
6446
|
+
*/
|
|
6447
|
+
fireRowPress(
|
|
6448
|
+
/**
|
|
6449
|
+
* The parameters to pass along with the event.
|
|
6450
|
+
* See {@link types.EventHandler> }
|
|
6451
|
+
* for the set of parameters that are expected by the event handlers.
|
|
6452
|
+
*/
|
|
6453
|
+
mParameters?: {}
|
|
6454
|
+
): this;
|
|
6455
|
+
/**
|
|
6456
|
+
* Fires event selectionChange
|
|
6457
|
+
* to attached listeners.
|
|
6458
|
+
*
|
|
6459
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
6460
|
+
*
|
|
6461
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
6462
|
+
* method chaining
|
|
6463
|
+
*/
|
|
6464
|
+
fireSelectionChange(
|
|
6465
|
+
/**
|
|
6466
|
+
* The parameters to pass along with the event.
|
|
6467
|
+
* See {@link types.EventHandler>} for the set of parameters
|
|
6468
|
+
* that are expected by the event handlers.
|
|
6469
|
+
*/
|
|
6470
|
+
mParameters?: {}
|
|
6471
|
+
): this;
|
|
6472
|
+
/**
|
|
6473
|
+
* Returns all contexts that are loaded in the table.
|
|
6474
|
+
* See also the {@link sap.ui.model.odata.v4.ODataListBinding#getAllCurrentContexts } method.
|
|
6475
|
+
*
|
|
6476
|
+
*
|
|
6477
|
+
* @since 1.142.0
|
|
6478
|
+
*
|
|
6479
|
+
* @returns All contexts of the table's list binding, or undefined if the table data is not yet loaded.
|
|
6480
|
+
*/
|
|
6481
|
+
getAllCurrentContexts(): Context[] | undefined;
|
|
4446
6482
|
/**
|
|
4447
6483
|
* Get the count of the row binding of the table.
|
|
4448
6484
|
*
|
|
@@ -4889,6 +6925,15 @@ declare module "sap/fe/macros/table/Table" {
|
|
|
4889
6925
|
*/
|
|
4890
6926
|
widthIncludingColumnHeader?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
4891
6927
|
|
|
6928
|
+
/**
|
|
6929
|
+
* Aggregate overflowGroups of the table.
|
|
6930
|
+
*/
|
|
6931
|
+
actionOverflowGroups?:
|
|
6932
|
+
| OverflowGroup[]
|
|
6933
|
+
| OverflowGroup
|
|
6934
|
+
| AggregationBindingInfo
|
|
6935
|
+
| `{${string}}`;
|
|
6936
|
+
|
|
4892
6937
|
/**
|
|
4893
6938
|
* Aggregate actions of the table.
|
|
4894
6939
|
*/
|
|
@@ -4933,7 +6978,11 @@ declare module "sap/fe/macros/table/Table" {
|
|
|
4933
6978
|
/**
|
|
4934
6979
|
* Parameters of the Table#beforeRebindTable event.
|
|
4935
6980
|
*/
|
|
4936
|
-
export interface Table$BeforeRebindTableEventParameters {
|
|
6981
|
+
export interface Table$BeforeRebindTableEventParameters {
|
|
6982
|
+
collectionBindingInfo?: CollectionBindingInfo;
|
|
6983
|
+
|
|
6984
|
+
quickFilterKey?: string;
|
|
6985
|
+
}
|
|
4937
6986
|
|
|
4938
6987
|
/**
|
|
4939
6988
|
* Event object of the Table#beforeRebindTable event.
|
|
@@ -5047,10 +7096,12 @@ declare module "sap/fe/macros/table/TreeTable.block" {
|
|
|
5047
7096
|
$MacroAPISettings,
|
|
5048
7097
|
} from "sap/fe/macros/MacroAPI";
|
|
5049
7098
|
|
|
5050
|
-
import
|
|
7099
|
+
import Event from "sap/ui/base/Event";
|
|
5051
7100
|
|
|
5052
7101
|
import Context from "sap/ui/model/odata/v4/Context";
|
|
5053
7102
|
|
|
7103
|
+
import PresentationVariant from "sap/fe/navigation/PresentationVariant";
|
|
7104
|
+
|
|
5054
7105
|
import SelectionVariant from "sap/fe/navigation/SelectionVariant";
|
|
5055
7106
|
|
|
5056
7107
|
import {
|
|
@@ -5060,6 +7111,8 @@ declare module "sap/fe/macros/table/TreeTable.block" {
|
|
|
5060
7111
|
|
|
5061
7112
|
import TreeTableCreationOptions from "sap/fe/macros/table/TreeTableCreationOptions";
|
|
5062
7113
|
|
|
7114
|
+
import OverflowGroup from "sap/fe/macros/table/OverflowGroups";
|
|
7115
|
+
|
|
5063
7116
|
import ActionGroup from "sap/fe/macros/table/ActionGroup";
|
|
5064
7117
|
|
|
5065
7118
|
import Action from "sap/fe/macros/table/Action";
|
|
@@ -5078,7 +7131,7 @@ declare module "sap/fe/macros/table/TreeTable.block" {
|
|
|
5078
7131
|
|
|
5079
7132
|
import QuickVariantSelection from "sap/fe/macros/table/QuickVariantSelection";
|
|
5080
7133
|
|
|
5081
|
-
import
|
|
7134
|
+
import CollectionBindingInfo from "sap/fe/macros/CollectionBindingInfo";
|
|
5082
7135
|
|
|
5083
7136
|
/**
|
|
5084
7137
|
* Building block used to create a tree table based on the metadata provided by OData V4.
|
|
@@ -5116,6 +7169,223 @@ declare module "sap/fe/macros/table/TreeTable.block" {
|
|
|
5116
7169
|
type?: /* was: sap.ui.core.message.MessageType */ any;
|
|
5117
7170
|
}
|
|
5118
7171
|
): Promise<string>;
|
|
7172
|
+
/**
|
|
7173
|
+
*
|
|
7174
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
7175
|
+
* method chaining
|
|
7176
|
+
*/
|
|
7177
|
+
attachBeforeRebindTable(
|
|
7178
|
+
/**
|
|
7179
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
7180
|
+
* object when firing the event
|
|
7181
|
+
*/
|
|
7182
|
+
oData: object,
|
|
7183
|
+
/**
|
|
7184
|
+
* The function to be called when the event occurs
|
|
7185
|
+
*/
|
|
7186
|
+
fnFunction: (p1: TreeTable$BeforeRebindTableEvent) => void,
|
|
7187
|
+
/**
|
|
7188
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
7189
|
+
*/
|
|
7190
|
+
oListener?: object
|
|
7191
|
+
): this;
|
|
7192
|
+
/**
|
|
7193
|
+
*
|
|
7194
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
7195
|
+
* method chaining
|
|
7196
|
+
*/
|
|
7197
|
+
attachBeforeRebindTable(
|
|
7198
|
+
/**
|
|
7199
|
+
* The function to be called when the event occurs
|
|
7200
|
+
*/
|
|
7201
|
+
fnFunction: (p1: TreeTable$BeforeRebindTableEvent) => void,
|
|
7202
|
+
/**
|
|
7203
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
7204
|
+
*/
|
|
7205
|
+
oListener?: object
|
|
7206
|
+
): this;
|
|
7207
|
+
/**
|
|
7208
|
+
*
|
|
7209
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
7210
|
+
* method chaining
|
|
7211
|
+
*/
|
|
7212
|
+
attachRowPress(
|
|
7213
|
+
/**
|
|
7214
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
7215
|
+
* object when firing the event
|
|
7216
|
+
*/
|
|
7217
|
+
oData: object,
|
|
7218
|
+
/**
|
|
7219
|
+
* The function to be called when the event occurs
|
|
7220
|
+
*/
|
|
7221
|
+
fnFunction: (p1: Event) => void,
|
|
7222
|
+
/**
|
|
7223
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
7224
|
+
*/
|
|
7225
|
+
oListener?: object
|
|
7226
|
+
): this;
|
|
7227
|
+
/**
|
|
7228
|
+
*
|
|
7229
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
7230
|
+
* method chaining
|
|
7231
|
+
*/
|
|
7232
|
+
attachRowPress(
|
|
7233
|
+
/**
|
|
7234
|
+
* The function to be called when the event occurs
|
|
7235
|
+
*/
|
|
7236
|
+
fnFunction: (p1: Event) => void,
|
|
7237
|
+
/**
|
|
7238
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
7239
|
+
*/
|
|
7240
|
+
oListener?: object
|
|
7241
|
+
): this;
|
|
7242
|
+
/**
|
|
7243
|
+
*
|
|
7244
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
7245
|
+
* method chaining
|
|
7246
|
+
*/
|
|
7247
|
+
attachSelectionChange(
|
|
7248
|
+
/**
|
|
7249
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
7250
|
+
* object when firing the event
|
|
7251
|
+
*/
|
|
7252
|
+
oData: object,
|
|
7253
|
+
/**
|
|
7254
|
+
* The function to be called when the event occurs
|
|
7255
|
+
*/
|
|
7256
|
+
fnFunction: (p1: Event) => void,
|
|
7257
|
+
/**
|
|
7258
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
7259
|
+
*/
|
|
7260
|
+
oListener?: object
|
|
7261
|
+
): this;
|
|
7262
|
+
/**
|
|
7263
|
+
*
|
|
7264
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
7265
|
+
* method chaining
|
|
7266
|
+
*/
|
|
7267
|
+
attachSelectionChange(
|
|
7268
|
+
/**
|
|
7269
|
+
* The function to be called when the event occurs
|
|
7270
|
+
*/
|
|
7271
|
+
fnFunction: (p1: Event) => void,
|
|
7272
|
+
/**
|
|
7273
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
7274
|
+
*/
|
|
7275
|
+
oListener?: object
|
|
7276
|
+
): this;
|
|
7277
|
+
/**
|
|
7278
|
+
* Clears the selection.
|
|
7279
|
+
*
|
|
7280
|
+
* @since 1.142.0
|
|
7281
|
+
*/
|
|
7282
|
+
clearSelection(): void;
|
|
7283
|
+
/**
|
|
7284
|
+
*
|
|
7285
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
7286
|
+
* method chaining
|
|
7287
|
+
*/
|
|
7288
|
+
detachBeforeRebindTable(
|
|
7289
|
+
/**
|
|
7290
|
+
* The function to be called when the event occurs
|
|
7291
|
+
*/
|
|
7292
|
+
fnFunction: (p1: TreeTable$BeforeRebindTableEvent) => void,
|
|
7293
|
+
/**
|
|
7294
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
7295
|
+
*/
|
|
7296
|
+
oListener?: object
|
|
7297
|
+
): this;
|
|
7298
|
+
/**
|
|
7299
|
+
*
|
|
7300
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
7301
|
+
* method chaining
|
|
7302
|
+
*/
|
|
7303
|
+
detachRowPress(
|
|
7304
|
+
/**
|
|
7305
|
+
* The function to be called when the event occurs
|
|
7306
|
+
*/
|
|
7307
|
+
fnFunction: (p1: Event) => void,
|
|
7308
|
+
/**
|
|
7309
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
7310
|
+
*/
|
|
7311
|
+
oListener?: object
|
|
7312
|
+
): this;
|
|
7313
|
+
/**
|
|
7314
|
+
*
|
|
7315
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
7316
|
+
* method chaining
|
|
7317
|
+
*/
|
|
7318
|
+
detachSelectionChange(
|
|
7319
|
+
/**
|
|
7320
|
+
* The function to be called when the event occurs
|
|
7321
|
+
*/
|
|
7322
|
+
fnFunction: (p1: Event) => void,
|
|
7323
|
+
/**
|
|
7324
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
7325
|
+
*/
|
|
7326
|
+
oListener?: object
|
|
7327
|
+
): this;
|
|
7328
|
+
/**
|
|
7329
|
+
* Fires event beforeRebindTable
|
|
7330
|
+
* to attached listeners.
|
|
7331
|
+
*
|
|
7332
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7333
|
+
*
|
|
7334
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
7335
|
+
* method chaining
|
|
7336
|
+
*/
|
|
7337
|
+
fireBeforeRebindTable(
|
|
7338
|
+
/**
|
|
7339
|
+
* The parameters to pass along with the event.
|
|
7340
|
+
* See {@link types.EventHandler> }
|
|
7341
|
+
* for the set of parameters that are expected by the event handlers.
|
|
7342
|
+
*/
|
|
7343
|
+
mParameters?: TreeTable$BeforeRebindTableEventParameters
|
|
7344
|
+
): this;
|
|
7345
|
+
/**
|
|
7346
|
+
* Fires event rowPress to attached
|
|
7347
|
+
* listeners.
|
|
7348
|
+
*
|
|
7349
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7350
|
+
*
|
|
7351
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
7352
|
+
* method chaining
|
|
7353
|
+
*/
|
|
7354
|
+
fireRowPress(
|
|
7355
|
+
/**
|
|
7356
|
+
* The parameters to pass along with the event.
|
|
7357
|
+
* See {@link types.EventHandler> }
|
|
7358
|
+
* for the set of parameters that are expected by the event handlers.
|
|
7359
|
+
*/
|
|
7360
|
+
mParameters?: {}
|
|
7361
|
+
): this;
|
|
7362
|
+
/**
|
|
7363
|
+
* Fires event selectionChange
|
|
7364
|
+
* to attached listeners.
|
|
7365
|
+
*
|
|
7366
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7367
|
+
*
|
|
7368
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
7369
|
+
* method chaining
|
|
7370
|
+
*/
|
|
7371
|
+
fireSelectionChange(
|
|
7372
|
+
/**
|
|
7373
|
+
* The parameters to pass along with the event.
|
|
7374
|
+
* See {@link types.EventHandler>} for the set of parameters
|
|
7375
|
+
* that are expected by the event handlers.
|
|
7376
|
+
*/
|
|
7377
|
+
mParameters?: {}
|
|
7378
|
+
): this;
|
|
7379
|
+
/**
|
|
7380
|
+
* Returns all contexts that are loaded in the table.
|
|
7381
|
+
* See also the {@link sap.ui.model.odata.v4.ODataListBinding#getAllCurrentContexts } method.
|
|
7382
|
+
*
|
|
7383
|
+
*
|
|
7384
|
+
* @since 1.142.0
|
|
7385
|
+
*
|
|
7386
|
+
* @returns All contexts of the table's list binding, or undefined if the table data is not yet loaded.
|
|
7387
|
+
*/
|
|
7388
|
+
getAllCurrentContexts(): Context[] | undefined;
|
|
5119
7389
|
/**
|
|
5120
7390
|
* Get the count of the row binding of the table.
|
|
5121
7391
|
*
|
|
@@ -5538,6 +7808,15 @@ declare module "sap/fe/macros/table/TreeTable.block" {
|
|
|
5538
7808
|
*/
|
|
5539
7809
|
widthIncludingColumnHeader?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
5540
7810
|
|
|
7811
|
+
/**
|
|
7812
|
+
* Aggregate overflowGroups of the table.
|
|
7813
|
+
*/
|
|
7814
|
+
actionOverflowGroups?:
|
|
7815
|
+
| OverflowGroup[]
|
|
7816
|
+
| OverflowGroup
|
|
7817
|
+
| AggregationBindingInfo
|
|
7818
|
+
| `{${string}}`;
|
|
7819
|
+
|
|
5541
7820
|
/**
|
|
5542
7821
|
* Aggregate actions of the table.
|
|
5543
7822
|
*/
|
|
@@ -5582,7 +7861,11 @@ declare module "sap/fe/macros/table/TreeTable.block" {
|
|
|
5582
7861
|
/**
|
|
5583
7862
|
* Parameters of the TreeTable#beforeRebindTable event.
|
|
5584
7863
|
*/
|
|
5585
|
-
export interface TreeTable$BeforeRebindTableEventParameters {
|
|
7864
|
+
export interface TreeTable$BeforeRebindTableEventParameters {
|
|
7865
|
+
collectionBindingInfo?: CollectionBindingInfo;
|
|
7866
|
+
|
|
7867
|
+
quickFilterKey?: string;
|
|
7868
|
+
}
|
|
5586
7869
|
|
|
5587
7870
|
/**
|
|
5588
7871
|
* Event object of the TreeTable#beforeRebindTable event.
|
|
@@ -5629,10 +7912,12 @@ declare module "sap/fe/macros/table/TreeTable" {
|
|
|
5629
7912
|
|
|
5630
7913
|
import Column from "sap/fe/macros/table/Column";
|
|
5631
7914
|
|
|
5632
|
-
import
|
|
7915
|
+
import Event from "sap/ui/base/Event";
|
|
5633
7916
|
|
|
5634
7917
|
import Context from "sap/ui/model/odata/v4/Context";
|
|
5635
7918
|
|
|
7919
|
+
import PresentationVariant from "sap/fe/navigation/PresentationVariant";
|
|
7920
|
+
|
|
5636
7921
|
import SelectionVariant from "sap/fe/navigation/SelectionVariant";
|
|
5637
7922
|
|
|
5638
7923
|
import {
|
|
@@ -5642,6 +7927,8 @@ declare module "sap/fe/macros/table/TreeTable" {
|
|
|
5642
7927
|
|
|
5643
7928
|
import TreeTableCreationOptions from "sap/fe/macros/table/TreeTableCreationOptions";
|
|
5644
7929
|
|
|
7930
|
+
import OverflowGroup from "sap/fe/macros/table/OverflowGroups";
|
|
7931
|
+
|
|
5645
7932
|
import ActionGroup from "sap/fe/macros/table/ActionGroup";
|
|
5646
7933
|
|
|
5647
7934
|
import AnalyticalConfiguration from "sap/fe/macros/table/AnalyticalConfiguration";
|
|
@@ -5656,7 +7943,7 @@ declare module "sap/fe/macros/table/TreeTable" {
|
|
|
5656
7943
|
|
|
5657
7944
|
import QuickVariantSelection from "sap/fe/macros/table/QuickVariantSelection";
|
|
5658
7945
|
|
|
5659
|
-
import
|
|
7946
|
+
import CollectionBindingInfo from "sap/fe/macros/CollectionBindingInfo";
|
|
5660
7947
|
|
|
5661
7948
|
/**
|
|
5662
7949
|
* Building block used to create a table based on the metadata provided by OData V4.
|
|
@@ -5750,6 +8037,223 @@ declare module "sap/fe/macros/table/TreeTable" {
|
|
|
5750
8037
|
type?: /* was: sap.ui.core.message.MessageType */ any;
|
|
5751
8038
|
}
|
|
5752
8039
|
): Promise<string>;
|
|
8040
|
+
/**
|
|
8041
|
+
*
|
|
8042
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
8043
|
+
* method chaining
|
|
8044
|
+
*/
|
|
8045
|
+
attachBeforeRebindTable(
|
|
8046
|
+
/**
|
|
8047
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
8048
|
+
* object when firing the event
|
|
8049
|
+
*/
|
|
8050
|
+
oData: object,
|
|
8051
|
+
/**
|
|
8052
|
+
* The function to be called when the event occurs
|
|
8053
|
+
*/
|
|
8054
|
+
fnFunction: (p1: TreeTable$BeforeRebindTableEvent) => void,
|
|
8055
|
+
/**
|
|
8056
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
8057
|
+
*/
|
|
8058
|
+
oListener?: object
|
|
8059
|
+
): this;
|
|
8060
|
+
/**
|
|
8061
|
+
*
|
|
8062
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
8063
|
+
* method chaining
|
|
8064
|
+
*/
|
|
8065
|
+
attachBeforeRebindTable(
|
|
8066
|
+
/**
|
|
8067
|
+
* The function to be called when the event occurs
|
|
8068
|
+
*/
|
|
8069
|
+
fnFunction: (p1: TreeTable$BeforeRebindTableEvent) => void,
|
|
8070
|
+
/**
|
|
8071
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
8072
|
+
*/
|
|
8073
|
+
oListener?: object
|
|
8074
|
+
): this;
|
|
8075
|
+
/**
|
|
8076
|
+
*
|
|
8077
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
8078
|
+
* method chaining
|
|
8079
|
+
*/
|
|
8080
|
+
attachRowPress(
|
|
8081
|
+
/**
|
|
8082
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
8083
|
+
* object when firing the event
|
|
8084
|
+
*/
|
|
8085
|
+
oData: object,
|
|
8086
|
+
/**
|
|
8087
|
+
* The function to be called when the event occurs
|
|
8088
|
+
*/
|
|
8089
|
+
fnFunction: (p1: Event) => void,
|
|
8090
|
+
/**
|
|
8091
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
8092
|
+
*/
|
|
8093
|
+
oListener?: object
|
|
8094
|
+
): this;
|
|
8095
|
+
/**
|
|
8096
|
+
*
|
|
8097
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
8098
|
+
* method chaining
|
|
8099
|
+
*/
|
|
8100
|
+
attachRowPress(
|
|
8101
|
+
/**
|
|
8102
|
+
* The function to be called when the event occurs
|
|
8103
|
+
*/
|
|
8104
|
+
fnFunction: (p1: Event) => void,
|
|
8105
|
+
/**
|
|
8106
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
8107
|
+
*/
|
|
8108
|
+
oListener?: object
|
|
8109
|
+
): this;
|
|
8110
|
+
/**
|
|
8111
|
+
*
|
|
8112
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
8113
|
+
* method chaining
|
|
8114
|
+
*/
|
|
8115
|
+
attachSelectionChange(
|
|
8116
|
+
/**
|
|
8117
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
8118
|
+
* object when firing the event
|
|
8119
|
+
*/
|
|
8120
|
+
oData: object,
|
|
8121
|
+
/**
|
|
8122
|
+
* The function to be called when the event occurs
|
|
8123
|
+
*/
|
|
8124
|
+
fnFunction: (p1: Event) => void,
|
|
8125
|
+
/**
|
|
8126
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
8127
|
+
*/
|
|
8128
|
+
oListener?: object
|
|
8129
|
+
): this;
|
|
8130
|
+
/**
|
|
8131
|
+
*
|
|
8132
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
8133
|
+
* method chaining
|
|
8134
|
+
*/
|
|
8135
|
+
attachSelectionChange(
|
|
8136
|
+
/**
|
|
8137
|
+
* The function to be called when the event occurs
|
|
8138
|
+
*/
|
|
8139
|
+
fnFunction: (p1: Event) => void,
|
|
8140
|
+
/**
|
|
8141
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
8142
|
+
*/
|
|
8143
|
+
oListener?: object
|
|
8144
|
+
): this;
|
|
8145
|
+
/**
|
|
8146
|
+
* Clears the selection.
|
|
8147
|
+
*
|
|
8148
|
+
* @since 1.142.0
|
|
8149
|
+
*/
|
|
8150
|
+
clearSelection(): void;
|
|
8151
|
+
/**
|
|
8152
|
+
*
|
|
8153
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
8154
|
+
* method chaining
|
|
8155
|
+
*/
|
|
8156
|
+
detachBeforeRebindTable(
|
|
8157
|
+
/**
|
|
8158
|
+
* The function to be called when the event occurs
|
|
8159
|
+
*/
|
|
8160
|
+
fnFunction: (p1: TreeTable$BeforeRebindTableEvent) => void,
|
|
8161
|
+
/**
|
|
8162
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
8163
|
+
*/
|
|
8164
|
+
oListener?: object
|
|
8165
|
+
): this;
|
|
8166
|
+
/**
|
|
8167
|
+
*
|
|
8168
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
8169
|
+
* method chaining
|
|
8170
|
+
*/
|
|
8171
|
+
detachRowPress(
|
|
8172
|
+
/**
|
|
8173
|
+
* The function to be called when the event occurs
|
|
8174
|
+
*/
|
|
8175
|
+
fnFunction: (p1: Event) => void,
|
|
8176
|
+
/**
|
|
8177
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
8178
|
+
*/
|
|
8179
|
+
oListener?: object
|
|
8180
|
+
): this;
|
|
8181
|
+
/**
|
|
8182
|
+
*
|
|
8183
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
8184
|
+
* method chaining
|
|
8185
|
+
*/
|
|
8186
|
+
detachSelectionChange(
|
|
8187
|
+
/**
|
|
8188
|
+
* The function to be called when the event occurs
|
|
8189
|
+
*/
|
|
8190
|
+
fnFunction: (p1: Event) => void,
|
|
8191
|
+
/**
|
|
8192
|
+
* The context object to call the event handler with. Defaults to this `this` control
|
|
8193
|
+
*/
|
|
8194
|
+
oListener?: object
|
|
8195
|
+
): this;
|
|
8196
|
+
/**
|
|
8197
|
+
* Fires event beforeRebindTable
|
|
8198
|
+
* to attached listeners.
|
|
8199
|
+
*
|
|
8200
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
8201
|
+
*
|
|
8202
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
8203
|
+
* method chaining
|
|
8204
|
+
*/
|
|
8205
|
+
fireBeforeRebindTable(
|
|
8206
|
+
/**
|
|
8207
|
+
* The parameters to pass along with the event.
|
|
8208
|
+
* See {@link types.EventHandler> }
|
|
8209
|
+
* for the set of parameters that are expected by the event handlers.
|
|
8210
|
+
*/
|
|
8211
|
+
mParameters?: TreeTable$BeforeRebindTableEventParameters
|
|
8212
|
+
): this;
|
|
8213
|
+
/**
|
|
8214
|
+
* Fires event rowPress to attached
|
|
8215
|
+
* listeners.
|
|
8216
|
+
*
|
|
8217
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
8218
|
+
*
|
|
8219
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
8220
|
+
* method chaining
|
|
8221
|
+
*/
|
|
8222
|
+
fireRowPress(
|
|
8223
|
+
/**
|
|
8224
|
+
* The parameters to pass along with the event.
|
|
8225
|
+
* See {@link types.EventHandler> }
|
|
8226
|
+
* for the set of parameters that are expected by the event handlers.
|
|
8227
|
+
*/
|
|
8228
|
+
mParameters?: {}
|
|
8229
|
+
): this;
|
|
8230
|
+
/**
|
|
8231
|
+
* Fires event selectionChange
|
|
8232
|
+
* to attached listeners.
|
|
8233
|
+
*
|
|
8234
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
8235
|
+
*
|
|
8236
|
+
* @returns Reference to sap.fe.macros.Table to allow
|
|
8237
|
+
* method chaining
|
|
8238
|
+
*/
|
|
8239
|
+
fireSelectionChange(
|
|
8240
|
+
/**
|
|
8241
|
+
* The parameters to pass along with the event.
|
|
8242
|
+
* See {@link types.EventHandler>} for the set of parameters
|
|
8243
|
+
* that are expected by the event handlers.
|
|
8244
|
+
*/
|
|
8245
|
+
mParameters?: {}
|
|
8246
|
+
): this;
|
|
8247
|
+
/**
|
|
8248
|
+
* Returns all contexts that are loaded in the table.
|
|
8249
|
+
* See also the {@link sap.ui.model.odata.v4.ODataListBinding#getAllCurrentContexts } method.
|
|
8250
|
+
*
|
|
8251
|
+
*
|
|
8252
|
+
* @since 1.142.0
|
|
8253
|
+
*
|
|
8254
|
+
* @returns All contexts of the table's list binding, or undefined if the table data is not yet loaded.
|
|
8255
|
+
*/
|
|
8256
|
+
getAllCurrentContexts(): Context[] | undefined;
|
|
5753
8257
|
/**
|
|
5754
8258
|
* Get the count of the row binding of the table.
|
|
5755
8259
|
*
|
|
@@ -6226,6 +8730,15 @@ declare module "sap/fe/macros/table/TreeTable" {
|
|
|
6226
8730
|
*/
|
|
6227
8731
|
widthIncludingColumnHeader?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
6228
8732
|
|
|
8733
|
+
/**
|
|
8734
|
+
* Aggregate overflowGroups of the table.
|
|
8735
|
+
*/
|
|
8736
|
+
actionOverflowGroups?:
|
|
8737
|
+
| OverflowGroup[]
|
|
8738
|
+
| OverflowGroup
|
|
8739
|
+
| AggregationBindingInfo
|
|
8740
|
+
| `{${string}}`;
|
|
8741
|
+
|
|
6229
8742
|
/**
|
|
6230
8743
|
* Aggregate actions of the table.
|
|
6231
8744
|
*/
|
|
@@ -6270,7 +8783,11 @@ declare module "sap/fe/macros/table/TreeTable" {
|
|
|
6270
8783
|
/**
|
|
6271
8784
|
* Parameters of the TreeTable#beforeRebindTable event.
|
|
6272
8785
|
*/
|
|
6273
|
-
export interface TreeTable$BeforeRebindTableEventParameters {
|
|
8786
|
+
export interface TreeTable$BeforeRebindTableEventParameters {
|
|
8787
|
+
collectionBindingInfo?: CollectionBindingInfo;
|
|
8788
|
+
|
|
8789
|
+
quickFilterKey?: string;
|
|
8790
|
+
}
|
|
6274
8791
|
|
|
6275
8792
|
/**
|
|
6276
8793
|
* Event object of the TreeTable#beforeRebindTable event.
|
|
@@ -6489,6 +9006,8 @@ declare namespace sap {
|
|
|
6489
9006
|
|
|
6490
9007
|
"sap/fe/macros/chart/Chart": undefined;
|
|
6491
9008
|
|
|
9009
|
+
"sap/fe/macros/chart/OverflowGroup": undefined;
|
|
9010
|
+
|
|
6492
9011
|
"sap/fe/macros/CollaborativeDraftHandler": undefined;
|
|
6493
9012
|
|
|
6494
9013
|
"sap/fe/macros/CollectionBindingInfo": undefined;
|
|
@@ -6571,6 +9090,8 @@ declare namespace sap {
|
|
|
6571
9090
|
|
|
6572
9091
|
"sap/fe/macros/table/MassEdit": undefined;
|
|
6573
9092
|
|
|
9093
|
+
"sap/fe/macros/table/OverflowGroups": undefined;
|
|
9094
|
+
|
|
6574
9095
|
"sap/fe/macros/table/QuickVariantSelection": undefined;
|
|
6575
9096
|
|
|
6576
9097
|
"sap/fe/macros/table/Table": undefined;
|