@openui5/ts-types 1.139.0 → 1.140.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/sap.f.d.ts +60 -9
- package/types/sap.m.d.ts +388 -18
- package/types/sap.tnt.d.ts +5 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +152 -97
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -7
- package/types/sap.ui.integration.d.ts +13 -13
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +68 -28
- 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 +558 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.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.uxap.d.ts +1 -1
package/package.json
CHANGED
package/types/sap.f.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.140.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -3310,16 +3310,24 @@ declare namespace sap {
|
|
|
3310
3310
|
|
|
3311
3311
|
namespace routing {
|
|
3312
3312
|
/**
|
|
3313
|
-
* The `sap.f.routing.Router`
|
|
3314
|
-
*
|
|
3313
|
+
* The `sap.f.routing.Router` extends the capabilities of the standard `{@link sap.ui.core.routing.Router}`
|
|
3314
|
+
* to support flexible and responsive layouts based on `{@link sap.f.FlexibleColumnLayout}` as the root
|
|
3315
|
+
* control.
|
|
3316
|
+
*
|
|
3317
|
+
* This router enables advanced navigation scenarios tailored to flexible column layouts, such as changing
|
|
3318
|
+
* both the layout type (e.g., OneColumn, TwoColumnsMidExpanded) and the currently displayed views within
|
|
3319
|
+
* individual columns.
|
|
3315
3320
|
*
|
|
3316
|
-
*
|
|
3317
|
-
* properties that you can specify in every Route or Target created by this router.
|
|
3321
|
+
* Compared to `{@link sap.ui.core.routing.Router}`, it adds support for additional target properties:
|
|
3318
3322
|
*
|
|
3319
|
-
*
|
|
3320
|
-
*
|
|
3321
|
-
*
|
|
3322
|
-
*
|
|
3323
|
+
* - `level`: Defines the hierarchical level of the target view for proper history and back navigation
|
|
3324
|
+
* handling
|
|
3325
|
+
* - `transition`: Specifies the type of transition animation between views (e.g., `slide`, `fade`)
|
|
3326
|
+
* - `transitionParameters`: Custom parameters for transitions
|
|
3327
|
+
*
|
|
3328
|
+
* Compared to `{@link sap.m.routing.Router}`, it further introduces a `layout` property on each route,
|
|
3329
|
+
* allowing you to define the desired `{@link sap.f.LayoutType}` to be applied to the `FlexibleColumnLayout`
|
|
3330
|
+
* root control during navigation.
|
|
3323
3331
|
*
|
|
3324
3332
|
* See `{@link sap.ui.core.routing.Router}` for the constructor arguments.
|
|
3325
3333
|
*
|
|
@@ -9858,6 +9866,18 @@ declare namespace sap {
|
|
|
9858
9866
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
9859
9867
|
| `{${string}}`;
|
|
9860
9868
|
|
|
9869
|
+
/**
|
|
9870
|
+
* Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
|
|
9871
|
+
*
|
|
9872
|
+
* **Note:** This property takes precedence over the `src` property.
|
|
9873
|
+
*
|
|
9874
|
+
* @since 1.140
|
|
9875
|
+
*/
|
|
9876
|
+
imageSrc?:
|
|
9877
|
+
| sap.ui.core.URI
|
|
9878
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
9879
|
+
| `{${string}}`;
|
|
9880
|
+
|
|
9861
9881
|
/**
|
|
9862
9882
|
* Determines the title of the `ProductSwitchItem`.
|
|
9863
9883
|
*/
|
|
@@ -19680,6 +19700,18 @@ declare namespace sap {
|
|
|
19680
19700
|
* @returns Metadata object describing this class
|
|
19681
19701
|
*/
|
|
19682
19702
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
19703
|
+
/**
|
|
19704
|
+
* Gets current value of property {@link #getImageSrc imageSrc}.
|
|
19705
|
+
*
|
|
19706
|
+
* Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
|
|
19707
|
+
*
|
|
19708
|
+
* **Note:** This property takes precedence over the `src` property.
|
|
19709
|
+
*
|
|
19710
|
+
* @since 1.140
|
|
19711
|
+
*
|
|
19712
|
+
* @returns Value of property `imageSrc`
|
|
19713
|
+
*/
|
|
19714
|
+
getImageSrc(): sap.ui.core.URI;
|
|
19683
19715
|
/**
|
|
19684
19716
|
* Gets current value of property {@link #getSrc src}.
|
|
19685
19717
|
*
|
|
@@ -19732,6 +19764,25 @@ declare namespace sap {
|
|
|
19732
19764
|
* @returns Value of property `title`
|
|
19733
19765
|
*/
|
|
19734
19766
|
getTitle(): string;
|
|
19767
|
+
/**
|
|
19768
|
+
* Sets a new value for property {@link #getImageSrc imageSrc}.
|
|
19769
|
+
*
|
|
19770
|
+
* Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
|
|
19771
|
+
*
|
|
19772
|
+
* **Note:** This property takes precedence over the `src` property.
|
|
19773
|
+
*
|
|
19774
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
19775
|
+
*
|
|
19776
|
+
* @since 1.140
|
|
19777
|
+
*
|
|
19778
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
19779
|
+
*/
|
|
19780
|
+
setImageSrc(
|
|
19781
|
+
/**
|
|
19782
|
+
* New value for property `imageSrc`
|
|
19783
|
+
*/
|
|
19784
|
+
sImageSrc?: sap.ui.core.URI
|
|
19785
|
+
): this;
|
|
19735
19786
|
/**
|
|
19736
19787
|
* Sets a new value for property {@link #getSrc src}.
|
|
19737
19788
|
*
|
package/types/sap.m.d.ts
CHANGED
|
@@ -1,4 +1,94 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.140.0
|
|
2
|
+
|
|
3
|
+
declare module "sap/m/p13n/Engine" {
|
|
4
|
+
/**
|
|
5
|
+
* The personalization state change event.
|
|
6
|
+
*
|
|
7
|
+
* @since 1.140.0
|
|
8
|
+
*/
|
|
9
|
+
export type Engine$StateChangeEvent = {
|
|
10
|
+
/**
|
|
11
|
+
* Control for which the state change event was fired.
|
|
12
|
+
*/
|
|
13
|
+
control?: sap.ui.core.Control;
|
|
14
|
+
/**
|
|
15
|
+
* Changed (delta) state of the control. The keys of the object refer to the controller keys used in the
|
|
16
|
+
* `Engine` registration. The values can be an array of any of the following types:
|
|
17
|
+
* - {@link module:sap/m/p13n/Engine$StateChangeEventSelectionState StateChangeEventSelectionState}
|
|
18
|
+
* - {@link module:sap/m/p13n/Engine$StateChangeEventSortState StateChangeEventSortState}
|
|
19
|
+
* - {@link module:sap/m/p13n/Engine$StateChangeEventGroupState StateChangeEventGroupState}
|
|
20
|
+
* - {@link module:sap/m/p13n/Engine$StateChangeEventFilterState StateChangeEventFilterState}
|
|
21
|
+
* - Custom controller state definitions
|
|
22
|
+
*/
|
|
23
|
+
state?: Record<
|
|
24
|
+
string,
|
|
25
|
+
| Engine$StateChangeEventSelectionState[]
|
|
26
|
+
| Engine$StateChangeEventSortState[]
|
|
27
|
+
| Engine$StateChangeEventGroupState[]
|
|
28
|
+
| Engine$StateChangeEventFilterState[]
|
|
29
|
+
| any[]
|
|
30
|
+
>;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* The state for changes of the `FilterController`. The keys of the object are the filter keys used in the
|
|
35
|
+
* `Engine` registration. The values are arrays of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
36
|
+
*
|
|
37
|
+
* @since 1.140.0
|
|
38
|
+
*/
|
|
39
|
+
export type Engine$StateChangeEventFilterState = Record<
|
|
40
|
+
string,
|
|
41
|
+
sap.m.p13n.FilterStateItem[]
|
|
42
|
+
>;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The state for changes of the `GroupController`.
|
|
46
|
+
*
|
|
47
|
+
* @since 1.140.0
|
|
48
|
+
*/
|
|
49
|
+
export type Engine$StateChangeEventGroupState = {
|
|
50
|
+
/**
|
|
51
|
+
* The key of the affected group order
|
|
52
|
+
*/
|
|
53
|
+
key: string;
|
|
54
|
+
/**
|
|
55
|
+
* The position of the group order
|
|
56
|
+
*/
|
|
57
|
+
index: number;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The state for changes of the `SelectionController`.
|
|
62
|
+
*
|
|
63
|
+
* @since 1.140.0
|
|
64
|
+
*/
|
|
65
|
+
export type Engine$StateChangeEventSelectionState = {
|
|
66
|
+
/**
|
|
67
|
+
* The key of the item affected
|
|
68
|
+
*/
|
|
69
|
+
key: string;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* The state for changes of the `SortController`.
|
|
74
|
+
*
|
|
75
|
+
* @since 1.140.0
|
|
76
|
+
*/
|
|
77
|
+
export type Engine$StateChangeEventSortState = {
|
|
78
|
+
/**
|
|
79
|
+
* The key of the affected sort order
|
|
80
|
+
*/
|
|
81
|
+
key: string;
|
|
82
|
+
/**
|
|
83
|
+
* The position of the sort order
|
|
84
|
+
*/
|
|
85
|
+
index: number;
|
|
86
|
+
/**
|
|
87
|
+
* Indicates whether the sort order is descending
|
|
88
|
+
*/
|
|
89
|
+
descending: boolean;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
2
92
|
|
|
3
93
|
declare namespace sap {
|
|
4
94
|
/**
|
|
@@ -745,7 +835,9 @@ declare namespace sap {
|
|
|
745
835
|
/**
|
|
746
836
|
* The handler function to call when the event occurs
|
|
747
837
|
*/
|
|
748
|
-
fnStateEventHandler: (
|
|
838
|
+
fnStateEventHandler: (
|
|
839
|
+
p1: import("sap/m/p13n/Engine").Engine$StateChangeEvent
|
|
840
|
+
) => void,
|
|
749
841
|
/**
|
|
750
842
|
* The context object to call the event handler with (value of `this` in the event handler function).
|
|
751
843
|
*/
|
|
@@ -2868,6 +2960,9 @@ declare namespace sap {
|
|
|
2868
2960
|
*
|
|
2869
2961
|
* This can be useful for maintaining the original structure of the data when it is pasted into a new location
|
|
2870
2962
|
* (e.g. spreadsheets).
|
|
2963
|
+
*
|
|
2964
|
+
* **Note:** Sparse copying must not be enabled in combination with `sap.ui.table.plugins.ODataV4MultiSelection`
|
|
2965
|
+
* or the `sap.ui.mdc.Table` with the `sap.ui.mdc.odata.v4.TableDelegate`.
|
|
2871
2966
|
*/
|
|
2872
2967
|
copySparse?:
|
|
2873
2968
|
| boolean
|
|
@@ -4492,6 +4587,9 @@ declare namespace sap {
|
|
|
4492
4587
|
* This can be useful for maintaining the original structure of the data when it is pasted into a new location
|
|
4493
4588
|
* (e.g. spreadsheets).
|
|
4494
4589
|
*
|
|
4590
|
+
* **Note:** Sparse copying must not be enabled in combination with `sap.ui.table.plugins.ODataV4MultiSelection`
|
|
4591
|
+
* or the `sap.ui.mdc.Table` with the `sap.ui.mdc.odata.v4.TableDelegate`.
|
|
4592
|
+
*
|
|
4495
4593
|
* Default value is `false`.
|
|
4496
4594
|
*
|
|
4497
4595
|
*
|
|
@@ -4604,6 +4702,9 @@ declare namespace sap {
|
|
|
4604
4702
|
* This can be useful for maintaining the original structure of the data when it is pasted into a new location
|
|
4605
4703
|
* (e.g. spreadsheets).
|
|
4606
4704
|
*
|
|
4705
|
+
* **Note:** Sparse copying must not be enabled in combination with `sap.ui.table.plugins.ODataV4MultiSelection`
|
|
4706
|
+
* or the `sap.ui.mdc.Table` with the `sap.ui.mdc.odata.v4.TableDelegate`.
|
|
4707
|
+
*
|
|
4607
4708
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4608
4709
|
*
|
|
4609
4710
|
* Default value is `false`.
|
|
@@ -7436,15 +7537,26 @@ declare namespace sap {
|
|
|
7436
7537
|
): this;
|
|
7437
7538
|
}
|
|
7438
7539
|
/**
|
|
7439
|
-
*
|
|
7440
|
-
*
|
|
7540
|
+
* The `sap.m.routing.Router` is a specialized extension of `{@link sap.ui.core.routing.Router}`, designed
|
|
7541
|
+
* specifically for the following containers in the `sap.m` library: `sap.m.App`, `sap.m.SplitApp`, or `sap.m.NavContainer`.
|
|
7542
|
+
*
|
|
7543
|
+
* It provides additional target and route configuration options that are optimized for the containers,
|
|
7544
|
+
* including support for animated transitions and navigation hierarchy levels.
|
|
7545
|
+
*
|
|
7546
|
+
* Compared to `{@link sap.ui.core.routing.Router}`, it adds support for additional Target properties:
|
|
7547
|
+
*
|
|
7548
|
+
* - `level`: Defines the hierarchical level of the target view for proper history and back navigation
|
|
7549
|
+
* handling
|
|
7550
|
+
* - `transition`: Specifies the type of transition animation between views (e.g., `slide`, `fade`)
|
|
7551
|
+
* - `transitionParameters`: Custom parameters for transitions
|
|
7552
|
+
*
|
|
7553
|
+
* For constructor parameters, see `{@link sap.ui.core.routing.Router#constructor}`.
|
|
7441
7554
|
*
|
|
7442
7555
|
* @since 1.28.1
|
|
7443
7556
|
*/
|
|
7444
7557
|
class Router extends sap.ui.core.routing.Router {
|
|
7445
7558
|
/**
|
|
7446
|
-
* Constructor for a new `sap.m.routing.Router`.
|
|
7447
|
-
* arguments.
|
|
7559
|
+
* Constructor for a new `sap.m.routing.Router`.
|
|
7448
7560
|
*/
|
|
7449
7561
|
constructor(
|
|
7450
7562
|
/**
|
|
@@ -33369,12 +33481,12 @@ declare namespace sap {
|
|
|
33369
33481
|
* for the `selected` property of the item is not used. It also needs to be turned off if the binding context
|
|
33370
33482
|
* of the item does not always point to the same entry in the model, for example, if the order of the data
|
|
33371
33483
|
* in the `JSONModel` is changed. **Note:** This feature leverages the built-in selection mechanism of the
|
|
33372
|
-
* corresponding binding context
|
|
33484
|
+
* corresponding binding context if the OData V4 model is used. Therefore, all binding-relevant limitations
|
|
33373
33485
|
* apply in this context as well. For more details, see the {@link sap.ui.model.odata.v4.Context#setSelected setSelected},
|
|
33374
33486
|
* the {@link sap.ui.model.odata.v4.ODataModel#bindList bindList}, and the {@link sap.ui.model.odata.v4.ODataMetaModel#requestValueListInfo requestValueListInfo }
|
|
33375
|
-
* API documentation. Do not enable this feature
|
|
33376
|
-
*
|
|
33377
|
-
*
|
|
33487
|
+
* API documentation. Do not enable this feature if `$$sharedRequest` or `$$clearSelectionOnFilter` is active.
|
|
33488
|
+
* **Note:** If this property is set to `false`, a possible binding context update of items (for example,
|
|
33489
|
+
* filtering or sorting the list binding) would clear the selection of the items.
|
|
33378
33490
|
*
|
|
33379
33491
|
* @since 1.16.6
|
|
33380
33492
|
*/
|
|
@@ -34641,6 +34753,13 @@ declare namespace sap {
|
|
|
34641
34753
|
* @since 1.58
|
|
34642
34754
|
*/
|
|
34643
34755
|
activeTitlePress?: (oEvent: MessageView$ActiveTitlePressEvent) => void;
|
|
34756
|
+
|
|
34757
|
+
/**
|
|
34758
|
+
* Event fired when the close button in custom header is clicked.
|
|
34759
|
+
*
|
|
34760
|
+
* @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
34761
|
+
*/
|
|
34762
|
+
onClose?: (oEvent: sap.ui.base.Event) => void;
|
|
34644
34763
|
}
|
|
34645
34764
|
|
|
34646
34765
|
/**
|
|
@@ -40842,6 +40961,16 @@ declare namespace sap {
|
|
|
40842
40961
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
40843
40962
|
| `{${string}}`;
|
|
40844
40963
|
|
|
40964
|
+
/**
|
|
40965
|
+
* Defines the separator type for the two columns layout when Select is in read-only mode.
|
|
40966
|
+
*
|
|
40967
|
+
* @since 1.140
|
|
40968
|
+
*/
|
|
40969
|
+
twoColumnSeparator?:
|
|
40970
|
+
| sap.m.SelectTwoColumnSeparator
|
|
40971
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
40972
|
+
| `{${string}}`;
|
|
40973
|
+
|
|
40845
40974
|
/**
|
|
40846
40975
|
* Defines the items contained within this control.
|
|
40847
40976
|
*
|
|
@@ -47298,6 +47427,11 @@ declare namespace sap {
|
|
|
47298
47427
|
*/
|
|
47299
47428
|
interface MessageView$LongtextLoadedEventParameters {}
|
|
47300
47429
|
|
|
47430
|
+
/**
|
|
47431
|
+
* Parameters of the MessageView#onClose event.
|
|
47432
|
+
*/
|
|
47433
|
+
interface MessageView$OnCloseEventParameters {}
|
|
47434
|
+
|
|
47301
47435
|
/**
|
|
47302
47436
|
* Parameters of the MessageView#urlValidated event.
|
|
47303
47437
|
*/
|
|
@@ -89465,12 +89599,12 @@ declare namespace sap {
|
|
|
89465
89599
|
* for the `selected` property of the item is not used. It also needs to be turned off if the binding context
|
|
89466
89600
|
* of the item does not always point to the same entry in the model, for example, if the order of the data
|
|
89467
89601
|
* in the `JSONModel` is changed. **Note:** This feature leverages the built-in selection mechanism of the
|
|
89468
|
-
* corresponding binding context
|
|
89602
|
+
* corresponding binding context if the OData V4 model is used. Therefore, all binding-relevant limitations
|
|
89469
89603
|
* apply in this context as well. For more details, see the {@link sap.ui.model.odata.v4.Context#setSelected setSelected},
|
|
89470
89604
|
* the {@link sap.ui.model.odata.v4.ODataModel#bindList bindList}, and the {@link sap.ui.model.odata.v4.ODataMetaModel#requestValueListInfo requestValueListInfo }
|
|
89471
|
-
* API documentation. Do not enable this feature
|
|
89472
|
-
*
|
|
89473
|
-
*
|
|
89605
|
+
* API documentation. Do not enable this feature if `$$sharedRequest` or `$$clearSelectionOnFilter` is active.
|
|
89606
|
+
* **Note:** If this property is set to `false`, a possible binding context update of items (for example,
|
|
89607
|
+
* filtering or sorting the list binding) would clear the selection of the items.
|
|
89474
89608
|
*
|
|
89475
89609
|
* Default value is `true`.
|
|
89476
89610
|
*
|
|
@@ -90166,12 +90300,12 @@ declare namespace sap {
|
|
|
90166
90300
|
* for the `selected` property of the item is not used. It also needs to be turned off if the binding context
|
|
90167
90301
|
* of the item does not always point to the same entry in the model, for example, if the order of the data
|
|
90168
90302
|
* in the `JSONModel` is changed. **Note:** This feature leverages the built-in selection mechanism of the
|
|
90169
|
-
* corresponding binding context
|
|
90303
|
+
* corresponding binding context if the OData V4 model is used. Therefore, all binding-relevant limitations
|
|
90170
90304
|
* apply in this context as well. For more details, see the {@link sap.ui.model.odata.v4.Context#setSelected setSelected},
|
|
90171
90305
|
* the {@link sap.ui.model.odata.v4.ODataModel#bindList bindList}, and the {@link sap.ui.model.odata.v4.ODataMetaModel#requestValueListInfo requestValueListInfo }
|
|
90172
|
-
* API documentation. Do not enable this feature
|
|
90173
|
-
*
|
|
90174
|
-
*
|
|
90306
|
+
* API documentation. Do not enable this feature if `$$sharedRequest` or `$$clearSelectionOnFilter` is active.
|
|
90307
|
+
* **Note:** If this property is set to `false`, a possible binding context update of items (for example,
|
|
90308
|
+
* filtering or sorting the list binding) would clear the selection of the items.
|
|
90175
90309
|
*
|
|
90176
90310
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
90177
90311
|
*
|
|
@@ -96772,6 +96906,12 @@ declare namespace sap {
|
|
|
96772
96906
|
*/
|
|
96773
96907
|
mSettings?: sap.m.$MessageViewSettings
|
|
96774
96908
|
);
|
|
96909
|
+
/**
|
|
96910
|
+
* Defines whether the custom header of details page will be shown.
|
|
96911
|
+
*
|
|
96912
|
+
* @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
96913
|
+
*/
|
|
96914
|
+
_bShowCustomHeader: boolean;
|
|
96775
96915
|
|
|
96776
96916
|
/**
|
|
96777
96917
|
* Creates a new subclass of class sap.m.MessageView with name `sClassName` and enriches it with the information
|
|
@@ -97079,6 +97219,55 @@ declare namespace sap {
|
|
|
97079
97219
|
*/
|
|
97080
97220
|
oListener?: object
|
|
97081
97221
|
): this;
|
|
97222
|
+
/**
|
|
97223
|
+
* Attaches event handler `fnFunction` to the {@link #event:onClose onClose} event of this `sap.m.MessageView`.
|
|
97224
|
+
*
|
|
97225
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
97226
|
+
* otherwise it will be bound to this `sap.m.MessageView` itself.
|
|
97227
|
+
*
|
|
97228
|
+
* Event fired when the close button in custom header is clicked.
|
|
97229
|
+
*
|
|
97230
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
97231
|
+
*
|
|
97232
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
97233
|
+
*/
|
|
97234
|
+
attachOnClose(
|
|
97235
|
+
/**
|
|
97236
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
97237
|
+
* object when firing the event
|
|
97238
|
+
*/
|
|
97239
|
+
oData: object,
|
|
97240
|
+
/**
|
|
97241
|
+
* The function to be called when the event occurs
|
|
97242
|
+
*/
|
|
97243
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
97244
|
+
/**
|
|
97245
|
+
* Context object to call the event handler with. Defaults to this `sap.m.MessageView` itself
|
|
97246
|
+
*/
|
|
97247
|
+
oListener?: object
|
|
97248
|
+
): this;
|
|
97249
|
+
/**
|
|
97250
|
+
* Attaches event handler `fnFunction` to the {@link #event:onClose onClose} event of this `sap.m.MessageView`.
|
|
97251
|
+
*
|
|
97252
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
97253
|
+
* otherwise it will be bound to this `sap.m.MessageView` itself.
|
|
97254
|
+
*
|
|
97255
|
+
* Event fired when the close button in custom header is clicked.
|
|
97256
|
+
*
|
|
97257
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
97258
|
+
*
|
|
97259
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
97260
|
+
*/
|
|
97261
|
+
attachOnClose(
|
|
97262
|
+
/**
|
|
97263
|
+
* The function to be called when the event occurs
|
|
97264
|
+
*/
|
|
97265
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
97266
|
+
/**
|
|
97267
|
+
* Context object to call the event handler with. Defaults to this `sap.m.MessageView` itself
|
|
97268
|
+
*/
|
|
97269
|
+
oListener?: object
|
|
97270
|
+
): this;
|
|
97082
97271
|
/**
|
|
97083
97272
|
* Attaches event handler `fnFunction` to the {@link #event:urlValidated urlValidated} event of this `sap.m.MessageView`.
|
|
97084
97273
|
*
|
|
@@ -97234,6 +97423,25 @@ declare namespace sap {
|
|
|
97234
97423
|
*/
|
|
97235
97424
|
oListener?: object
|
|
97236
97425
|
): this;
|
|
97426
|
+
/**
|
|
97427
|
+
* Detaches event handler `fnFunction` from the {@link #event:onClose onClose} event of this `sap.m.MessageView`.
|
|
97428
|
+
*
|
|
97429
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
97430
|
+
*
|
|
97431
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
97432
|
+
*
|
|
97433
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
97434
|
+
*/
|
|
97435
|
+
detachOnClose(
|
|
97436
|
+
/**
|
|
97437
|
+
* The function to be called, when the event occurs
|
|
97438
|
+
*/
|
|
97439
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
97440
|
+
/**
|
|
97441
|
+
* Context object on which the given function had to be called
|
|
97442
|
+
*/
|
|
97443
|
+
oListener?: object
|
|
97444
|
+
): this;
|
|
97237
97445
|
/**
|
|
97238
97446
|
* Detaches event handler `fnFunction` from the {@link #event:urlValidated urlValidated} event of this `sap.m.MessageView`.
|
|
97239
97447
|
*
|
|
@@ -97319,6 +97527,19 @@ declare namespace sap {
|
|
|
97319
97527
|
*/
|
|
97320
97528
|
mParameters?: object
|
|
97321
97529
|
): this;
|
|
97530
|
+
/**
|
|
97531
|
+
* Fires event {@link #event:onClose onClose} to attached listeners.
|
|
97532
|
+
*
|
|
97533
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
97534
|
+
*
|
|
97535
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
97536
|
+
*/
|
|
97537
|
+
fireOnClose(
|
|
97538
|
+
/**
|
|
97539
|
+
* Parameters to pass along with the event
|
|
97540
|
+
*/
|
|
97541
|
+
mParameters?: object
|
|
97542
|
+
): this;
|
|
97322
97543
|
/**
|
|
97323
97544
|
* Fires event {@link #event:urlValidated urlValidated} to attached listeners.
|
|
97324
97545
|
*
|
|
@@ -97352,6 +97573,15 @@ declare namespace sap {
|
|
|
97352
97573
|
* @returns Value of property `asyncURLHandler`
|
|
97353
97574
|
*/
|
|
97354
97575
|
getAsyncURLHandler(): Function;
|
|
97576
|
+
/**
|
|
97577
|
+
* Returns the close button used in the header of the MessageView. The button is only visible on non-phone
|
|
97578
|
+
* devices and triggers the `onClose` event when pressed.
|
|
97579
|
+
*
|
|
97580
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
97581
|
+
*
|
|
97582
|
+
* @returns The close button instance.
|
|
97583
|
+
*/
|
|
97584
|
+
getCloseBtn(): sap.m.Button;
|
|
97355
97585
|
/**
|
|
97356
97586
|
* Gets current value of property {@link #getGroupItems groupItems}.
|
|
97357
97587
|
*
|
|
@@ -97418,6 +97648,17 @@ declare namespace sap {
|
|
|
97418
97648
|
*/
|
|
97419
97649
|
iIndex: int
|
|
97420
97650
|
): this;
|
|
97651
|
+
/**
|
|
97652
|
+
* Inserts a title into the given title container of the MessageView's header.
|
|
97653
|
+
*
|
|
97654
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
97655
|
+
*/
|
|
97656
|
+
insertTitle(
|
|
97657
|
+
/**
|
|
97658
|
+
* The parent control where the title should be inserted.
|
|
97659
|
+
*/
|
|
97660
|
+
oTitleParent: sap.ui.core.Control
|
|
97661
|
+
): void;
|
|
97421
97662
|
/**
|
|
97422
97663
|
* Navigates back to the list page
|
|
97423
97664
|
*/
|
|
@@ -97525,6 +97766,13 @@ declare namespace sap {
|
|
|
97525
97766
|
*/
|
|
97526
97767
|
bShowDetailsPageHeader?: boolean
|
|
97527
97768
|
): this;
|
|
97769
|
+
/**
|
|
97770
|
+
* Sets up the header for the MessageView's ListPage based on the current configuration. If `showCustomHeader`
|
|
97771
|
+
* is enabled, a custom header and a sub-header are applied. Otherwise, a standard list header is used.
|
|
97772
|
+
*
|
|
97773
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
97774
|
+
*/
|
|
97775
|
+
setupCustomHeader(): void;
|
|
97528
97776
|
}
|
|
97529
97777
|
/**
|
|
97530
97778
|
* The MultiComboBox control provides a list box with items and a text field allowing the user to either
|
|
@@ -131036,6 +131284,18 @@ declare namespace sap {
|
|
|
131036
131284
|
* @returns Value of property `textDirection`
|
|
131037
131285
|
*/
|
|
131038
131286
|
getTextDirection(): sap.ui.core.TextDirection;
|
|
131287
|
+
/**
|
|
131288
|
+
* Gets current value of property {@link #getTwoColumnSeparator twoColumnSeparator}.
|
|
131289
|
+
*
|
|
131290
|
+
* Defines the separator type for the two columns layout when Select is in read-only mode.
|
|
131291
|
+
*
|
|
131292
|
+
* Default value is `Dash`.
|
|
131293
|
+
*
|
|
131294
|
+
* @since 1.140
|
|
131295
|
+
*
|
|
131296
|
+
* @returns Value of property `twoColumnSeparator`
|
|
131297
|
+
*/
|
|
131298
|
+
getTwoColumnSeparator(): sap.m.SelectTwoColumnSeparator;
|
|
131039
131299
|
/**
|
|
131040
131300
|
* Gets current value of property {@link #getType type}.
|
|
131041
131301
|
*
|
|
@@ -131524,6 +131784,25 @@ declare namespace sap {
|
|
|
131524
131784
|
*/
|
|
131525
131785
|
sTextDirection?: sap.ui.core.TextDirection
|
|
131526
131786
|
): this;
|
|
131787
|
+
/**
|
|
131788
|
+
* Sets a new value for property {@link #getTwoColumnSeparator twoColumnSeparator}.
|
|
131789
|
+
*
|
|
131790
|
+
* Defines the separator type for the two columns layout when Select is in read-only mode.
|
|
131791
|
+
*
|
|
131792
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
131793
|
+
*
|
|
131794
|
+
* Default value is `Dash`.
|
|
131795
|
+
*
|
|
131796
|
+
* @since 1.140
|
|
131797
|
+
*
|
|
131798
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
131799
|
+
*/
|
|
131800
|
+
setTwoColumnSeparator(
|
|
131801
|
+
/**
|
|
131802
|
+
* New value for property `twoColumnSeparator`
|
|
131803
|
+
*/
|
|
131804
|
+
sTwoColumnSeparator?: sap.m.SelectTwoColumnSeparator
|
|
131805
|
+
): this;
|
|
131527
131806
|
/**
|
|
131528
131807
|
* Sets a new value for property {@link #getType type}.
|
|
131529
131808
|
*
|
|
@@ -160073,6 +160352,8 @@ declare namespace sap {
|
|
|
160073
160352
|
): this;
|
|
160074
160353
|
/**
|
|
160075
160354
|
* Enables the programmatic selection of a variant.
|
|
160355
|
+
*
|
|
160356
|
+
* @since 1.121
|
|
160076
160357
|
*/
|
|
160077
160358
|
setCurrentVariantKey(
|
|
160078
160359
|
/**
|
|
@@ -164660,6 +164941,66 @@ declare namespace sap {
|
|
|
164660
164941
|
* Accent 9
|
|
164661
164942
|
*/
|
|
164662
164943
|
Accent9 = "Accent9",
|
|
164944
|
+
/**
|
|
164945
|
+
* Indication 1
|
|
164946
|
+
*
|
|
164947
|
+
* @since 1.140.0
|
|
164948
|
+
*/
|
|
164949
|
+
Indication1 = "Indication1",
|
|
164950
|
+
/**
|
|
164951
|
+
* Indication 10
|
|
164952
|
+
*
|
|
164953
|
+
* @since 1.140.0
|
|
164954
|
+
*/
|
|
164955
|
+
Indication10 = "Indication10",
|
|
164956
|
+
/**
|
|
164957
|
+
* Indication 2
|
|
164958
|
+
*
|
|
164959
|
+
* @since 1.140.0
|
|
164960
|
+
*/
|
|
164961
|
+
Indication2 = "Indication2",
|
|
164962
|
+
/**
|
|
164963
|
+
* Indication 3
|
|
164964
|
+
*
|
|
164965
|
+
* @since 1.140.0
|
|
164966
|
+
*/
|
|
164967
|
+
Indication3 = "Indication3",
|
|
164968
|
+
/**
|
|
164969
|
+
* Indication 4
|
|
164970
|
+
*
|
|
164971
|
+
* @since 1.140.0
|
|
164972
|
+
*/
|
|
164973
|
+
Indication4 = "Indication4",
|
|
164974
|
+
/**
|
|
164975
|
+
* Indication 5
|
|
164976
|
+
*
|
|
164977
|
+
* @since 1.140.0
|
|
164978
|
+
*/
|
|
164979
|
+
Indication5 = "Indication5",
|
|
164980
|
+
/**
|
|
164981
|
+
* Indication 6
|
|
164982
|
+
*
|
|
164983
|
+
* @since 1.140.0
|
|
164984
|
+
*/
|
|
164985
|
+
Indication6 = "Indication6",
|
|
164986
|
+
/**
|
|
164987
|
+
* Indication 7
|
|
164988
|
+
*
|
|
164989
|
+
* @since 1.140.0
|
|
164990
|
+
*/
|
|
164991
|
+
Indication7 = "Indication7",
|
|
164992
|
+
/**
|
|
164993
|
+
* Indication 8
|
|
164994
|
+
*
|
|
164995
|
+
* @since 1.140.0
|
|
164996
|
+
*/
|
|
164997
|
+
Indication8 = "Indication8",
|
|
164998
|
+
/**
|
|
164999
|
+
* Indication 9
|
|
165000
|
+
*
|
|
165001
|
+
* @since 1.140.0
|
|
165002
|
+
*/
|
|
165003
|
+
Indication9 = "Indication9",
|
|
164663
165004
|
}
|
|
164664
165005
|
/**
|
|
164665
165006
|
* Possible background color options for the {@link sap.m.Avatar} control.
|
|
@@ -167525,6 +167866,27 @@ declare namespace sap {
|
|
|
167525
167866
|
*/
|
|
167526
167867
|
None = "None",
|
|
167527
167868
|
}
|
|
167869
|
+
/**
|
|
167870
|
+
* Enumeration for different separators for two columns layout when Select is in read-only mode.
|
|
167871
|
+
*
|
|
167872
|
+
* This enum is part of the 'sap/m/library' module export and must be accessed by the property 'SelectTwoColumnSeparator'.
|
|
167873
|
+
*
|
|
167874
|
+
* @since 1.140
|
|
167875
|
+
*/
|
|
167876
|
+
enum SelectTwoColumnSeparator {
|
|
167877
|
+
/**
|
|
167878
|
+
* Will show bullet(·) as separator on two columns layout when Select is in read-only mode.
|
|
167879
|
+
*/
|
|
167880
|
+
Bullet = "Bullet",
|
|
167881
|
+
/**
|
|
167882
|
+
* Will show N-dash(–) as separator on two columns layout when Select is in read-only mode.
|
|
167883
|
+
*/
|
|
167884
|
+
Dash = "Dash",
|
|
167885
|
+
/**
|
|
167886
|
+
* Will show vertical line(|) as separator on two columns layout when Select is in read-only mode.
|
|
167887
|
+
*/
|
|
167888
|
+
VerticalLine = "VerticalLine",
|
|
167889
|
+
}
|
|
167528
167890
|
/**
|
|
167529
167891
|
* Enumeration for different Select types.
|
|
167530
167892
|
*
|
|
@@ -169596,6 +169958,14 @@ declare namespace sap {
|
|
|
169596
169958
|
MessageView
|
|
169597
169959
|
>;
|
|
169598
169960
|
|
|
169961
|
+
/**
|
|
169962
|
+
* Event object of the MessageView#onClose event.
|
|
169963
|
+
*/
|
|
169964
|
+
type MessageView$OnCloseEvent = sap.ui.base.Event<
|
|
169965
|
+
MessageView$OnCloseEventParameters,
|
|
169966
|
+
MessageView
|
|
169967
|
+
>;
|
|
169968
|
+
|
|
169599
169969
|
/**
|
|
169600
169970
|
* Event object of the MessageView#urlValidated event.
|
|
169601
169971
|
*/
|