@openui5/ts-types 1.120.2 → 1.120.4
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 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.m.d.ts +60 -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.core.d.ts +22 -11
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +177 -49
- 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 +25 -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/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* Copyright 2009-
|
|
3
|
+
* Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
*
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
* you may not use this file except in compliance with the License.
|
package/types/sap.f.d.ts
CHANGED
package/types/sap.m.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.120.
|
|
1
|
+
// For Library Version: 1.120.4
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -32795,6 +32795,22 @@ declare namespace sap {
|
|
|
32795
32795
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
32796
32796
|
| `{${string}}`;
|
|
32797
32797
|
|
|
32798
|
+
/**
|
|
32799
|
+
* @since 1.121.0
|
|
32800
|
+
*
|
|
32801
|
+
* Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
|
|
32802
|
+
* can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
|
|
32803
|
+
* "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
|
|
32804
|
+
* Set this property to true only when the PDF is generated by the application or the PDF is scanned for
|
|
32805
|
+
* viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
|
|
32806
|
+
* desktop devices, which overrides any configuration that has been provided by the application for the
|
|
32807
|
+
* property displayType. This means that the PDFViewer appears as a toolbar with a download button.
|
|
32808
|
+
*/
|
|
32809
|
+
isTrustedSource?:
|
|
32810
|
+
| boolean
|
|
32811
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
32812
|
+
| `{${string}}`;
|
|
32813
|
+
|
|
32798
32814
|
/**
|
|
32799
32815
|
* A custom control that can be used instead of the error message specified by the errorPlaceholderMessage
|
|
32800
32816
|
* property.
|
|
@@ -103696,6 +103712,24 @@ declare namespace sap {
|
|
|
103696
103712
|
* @returns Value of property `height`
|
|
103697
103713
|
*/
|
|
103698
103714
|
getHeight(): sap.ui.core.CSSSize;
|
|
103715
|
+
/**
|
|
103716
|
+
* @since 1.121.0
|
|
103717
|
+
*
|
|
103718
|
+
* Gets current value of property {@link #getIsTrustedSource isTrustedSource}.
|
|
103719
|
+
*
|
|
103720
|
+
* Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
|
|
103721
|
+
* can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
|
|
103722
|
+
* "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
|
|
103723
|
+
* Set this property to true only when the PDF is generated by the application or the PDF is scanned for
|
|
103724
|
+
* viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
|
|
103725
|
+
* desktop devices, which overrides any configuration that has been provided by the application for the
|
|
103726
|
+
* property displayType. This means that the PDFViewer appears as a toolbar with a download button.
|
|
103727
|
+
*
|
|
103728
|
+
* Default value is `false`.
|
|
103729
|
+
*
|
|
103730
|
+
* @returns Value of property `isTrustedSource`
|
|
103731
|
+
*/
|
|
103732
|
+
getIsTrustedSource(): boolean;
|
|
103699
103733
|
/**
|
|
103700
103734
|
* Gets content of aggregation {@link #getPopupButtons popupButtons}.
|
|
103701
103735
|
*
|
|
@@ -103902,6 +103936,31 @@ declare namespace sap {
|
|
|
103902
103936
|
*/
|
|
103903
103937
|
sHeight?: sap.ui.core.CSSSize
|
|
103904
103938
|
): this;
|
|
103939
|
+
/**
|
|
103940
|
+
* @since 1.121.0
|
|
103941
|
+
*
|
|
103942
|
+
* Sets a new value for property {@link #getIsTrustedSource isTrustedSource}.
|
|
103943
|
+
*
|
|
103944
|
+
* Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
|
|
103945
|
+
* can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
|
|
103946
|
+
* "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
|
|
103947
|
+
* Set this property to true only when the PDF is generated by the application or the PDF is scanned for
|
|
103948
|
+
* viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
|
|
103949
|
+
* desktop devices, which overrides any configuration that has been provided by the application for the
|
|
103950
|
+
* property displayType. This means that the PDFViewer appears as a toolbar with a download button.
|
|
103951
|
+
*
|
|
103952
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
103953
|
+
*
|
|
103954
|
+
* Default value is `false`.
|
|
103955
|
+
*
|
|
103956
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
103957
|
+
*/
|
|
103958
|
+
setIsTrustedSource(
|
|
103959
|
+
/**
|
|
103960
|
+
* New value for property `isTrustedSource`
|
|
103961
|
+
*/
|
|
103962
|
+
bIsTrustedSource?: boolean
|
|
103963
|
+
): this;
|
|
103905
103964
|
/**
|
|
103906
103965
|
* @deprecated (since 1.50.0) - replaced by {@link sap.m.PDFViewer#getTitle}.
|
|
103907
103966
|
*
|
package/types/sap.tnt.d.ts
CHANGED
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -280,7 +280,7 @@ declare namespace sap {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
// For Library Version: 1.120.
|
|
283
|
+
// For Library Version: 1.120.4
|
|
284
284
|
|
|
285
285
|
declare module "sap/base/assert" {
|
|
286
286
|
/**
|
|
@@ -1399,7 +1399,7 @@ declare module "sap/base/i18n/ResourceBundle" {
|
|
|
1399
1399
|
* An empty string (`""`) represents the 'raw' bundle. **Note:** The given language tags can use modern
|
|
1400
1400
|
* or legacy ISO639 language codes. Whatever language code is used in the list of supported locales will
|
|
1401
1401
|
* also be used when requesting a file from the server. If the `locale` contains a legacy language code
|
|
1402
|
-
* like "
|
|
1402
|
+
* like "iw" and the `supportedLocales` contains [...,"he",...], "he" will be used in the URL. This mapping
|
|
1403
1403
|
* works in both directions.
|
|
1404
1404
|
*/
|
|
1405
1405
|
supportedLocales?: string[];
|
|
@@ -1528,7 +1528,7 @@ declare module "sap/base/i18n/ResourceBundle" {
|
|
|
1528
1528
|
* An empty string (`""`) represents the 'raw' bundle. **Note:** The given language tags can use modern
|
|
1529
1529
|
* or legacy ISO639 language codes. Whatever language code is used in the list of supported locales will
|
|
1530
1530
|
* also be used when requesting a file from the server. If the `locale` contains a legacy language code
|
|
1531
|
-
* like "
|
|
1531
|
+
* like "iw" and the `supportedLocales` contains [...,"he",...], "he" will be used in the URL. This mapping
|
|
1532
1532
|
* works in both directions.
|
|
1533
1533
|
*/
|
|
1534
1534
|
supportedLocales?: string[];
|
|
@@ -1575,7 +1575,7 @@ declare module "sap/base/i18n/ResourceBundle" {
|
|
|
1575
1575
|
* An empty string (`""`) represents the 'raw' bundle. **Note:** The given language tags can use modern
|
|
1576
1576
|
* or legacy ISO639 language codes. Whatever language code is used in the list of supported locales will
|
|
1577
1577
|
* also be used when requesting a file from the server. If the `locale` contains a legacy language code
|
|
1578
|
-
* like "
|
|
1578
|
+
* like "iw" and the `supportedLocales` contains [...,"he",...], "he" will be used in the URL. This mapping
|
|
1579
1579
|
* works in both directions.
|
|
1580
1580
|
*/
|
|
1581
1581
|
supportedLocales?: string[];
|
|
@@ -32298,7 +32298,7 @@ declare namespace sap {
|
|
|
32298
32298
|
*
|
|
32299
32299
|
* The return value of config method is especially useful for an HTTP `Accept-Language` header.
|
|
32300
32300
|
*
|
|
32301
|
-
* Retrieves the modern locale, e.g. sr-Latn (Serbian (
|
|
32301
|
+
* Retrieves the modern locale, e.g. sr-Latn (Serbian (Latin)), he (Hebrew), yi (Yiddish)
|
|
32302
32302
|
*
|
|
32303
32303
|
* @returns The language tag for the current language, conforming to BCP47
|
|
32304
32304
|
*/
|
|
@@ -40998,6 +40998,11 @@ declare namespace sap {
|
|
|
40998
40998
|
* in `mSettings` and will evaluate the descriptor file instead. Library developers therefore must keep
|
|
40999
40999
|
* the information in both files in sync if the `manifest.json` file is maintained manually.
|
|
41000
41000
|
*
|
|
41001
|
+
* Library API-Version 2:
|
|
41002
|
+
*
|
|
41003
|
+
* The Library API Version 2 has been introduced to avoid access to the global namespace when retrieving
|
|
41004
|
+
* enum types. With Library API Version 2 a library must declare its enum types via {@link module:sap/ui/base/DataType.registerEnum DataType.registerEnum}.
|
|
41005
|
+
*
|
|
41001
41006
|
* @returns Returns the library namespace, based on the given library name.
|
|
41002
41007
|
*/
|
|
41003
41008
|
static init(
|
|
@@ -41013,6 +41018,10 @@ declare namespace sap {
|
|
|
41013
41018
|
* Version of the library
|
|
41014
41019
|
*/
|
|
41015
41020
|
version?: string;
|
|
41021
|
+
/**
|
|
41022
|
+
* The library's API version; supported values are 1, 2 and `undefined` (defaults to 1).
|
|
41023
|
+
*/
|
|
41024
|
+
apiVersion?: int;
|
|
41016
41025
|
/**
|
|
41017
41026
|
* List of libraries that this library depends on; names are in dot notation (e.g. "sap.ui.core")
|
|
41018
41027
|
*/
|
|
@@ -62412,11 +62421,12 @@ declare namespace sap {
|
|
|
62412
62421
|
* "@@.AH.isMultiple" or "@@.isMultiple", represent computed annotations. Their name without the "@@" prefix
|
|
62413
62422
|
* must refer to a function in `mParameters.scope` in case of a relative name starting with a dot, which
|
|
62414
62423
|
* is stripped before lookup; see the `<template:alias>` instruction for XML Templating. In case of an
|
|
62415
|
-
* absolute name, it is searched in `mParameters.scope` first and then in the global namespace.
|
|
62416
|
-
*
|
|
62417
|
-
* resp. if not present in `mParameters.scope`.
|
|
62418
|
-
*
|
|
62419
|
-
* details are given as an object with the
|
|
62424
|
+
* absolute name, it is searched in `mParameters.scope` first and then in the global namespace. (Using the
|
|
62425
|
+
* global namespace is @deprecated as of version 1.120.3). The names "requestCurrencyCodes" and "requestUnitsOfMeasure"
|
|
62426
|
+
* default to {@link #requestCurrencyCodes} and {@link #requestUnitsOfMeasure} resp. if not present in `mParameters.scope`.
|
|
62427
|
+
* This function is called with the current object (or primitive value) and additional details and returns
|
|
62428
|
+
* the result of this {@link #requestObject} call. The additional details are given as an object with the
|
|
62429
|
+
* following properties:
|
|
62420
62430
|
* `{boolean} $$valueAsPromise` Whether the computed annotation may return a `Promise` resolving with
|
|
62421
62431
|
* its value (since 1.57.0) `{@link sap.ui.model.Context} context` Points to the current object
|
|
62422
62432
|
* `{object} overload` In case of annotations of an operation or a parameter, if filtering by binding parameter
|
|
@@ -62517,7 +62527,8 @@ declare namespace sap {
|
|
|
62517
62527
|
*/
|
|
62518
62528
|
mParameters?: {
|
|
62519
62529
|
/**
|
|
62520
|
-
*
|
|
62530
|
+
* Scope for lookup of aliases for computed annotations (since 1.43.0). Since 1.120.3 looking up a computed
|
|
62531
|
+
* annotation via its global name is deprecated; always use this scope instead.
|
|
62521
62532
|
*/
|
|
62522
62533
|
scope?: object;
|
|
62523
62534
|
}
|
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
package/types/sap.ui.layout.d.ts
CHANGED
package/types/sap.ui.mdc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.120.
|
|
1
|
+
// For Library Version: 1.120.4
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
4
4
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
@@ -36,7 +36,7 @@ declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
|
36
36
|
/**
|
|
37
37
|
* Instance of an `sap.ui.mdc.Control`
|
|
38
38
|
*/
|
|
39
|
-
oControl: sap.ui.mdc.Control,
|
|
39
|
+
oControl: sap.ui.mdc.Control | Element,
|
|
40
40
|
/**
|
|
41
41
|
* The name of the property info object/JSON
|
|
42
42
|
*/
|
|
@@ -46,19 +46,6 @@ declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
|
46
46
|
*/
|
|
47
47
|
mPropertyBag?: Object
|
|
48
48
|
): Promise<any>;
|
|
49
|
-
/**
|
|
50
|
-
* A validator to evaluate the state of an MDC control.
|
|
51
|
-
*/
|
|
52
|
-
determineValidationState(
|
|
53
|
-
/**
|
|
54
|
-
* Instance of a MDC control
|
|
55
|
-
*/
|
|
56
|
-
oControl: sap.ui.mdc.Control,
|
|
57
|
-
/**
|
|
58
|
-
* Object Describing the validation result
|
|
59
|
-
*/
|
|
60
|
-
mValidation?: Record<string, any>
|
|
61
|
-
): void;
|
|
62
49
|
/**
|
|
63
50
|
* Retrieves the relevant metadata for a given payload and returns the property info array.
|
|
64
51
|
*
|
|
@@ -76,9 +63,9 @@ declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
|
76
63
|
*/
|
|
77
64
|
onAfterXMLChangeProcessing(
|
|
78
65
|
/**
|
|
79
|
-
*
|
|
66
|
+
* XML node of a mdc control
|
|
80
67
|
*/
|
|
81
|
-
oControl:
|
|
68
|
+
oControl: Element,
|
|
82
69
|
/**
|
|
83
70
|
* Property bag from SAPUI5 flexibility
|
|
84
71
|
*/
|
|
@@ -97,9 +84,9 @@ declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
|
97
84
|
*/
|
|
98
85
|
removeItem(
|
|
99
86
|
/**
|
|
100
|
-
* Instance of
|
|
87
|
+
* Instance of a `sap.ui.mdc.Control`
|
|
101
88
|
*/
|
|
102
|
-
oControl: sap.ui.mdc.Control,
|
|
89
|
+
oControl: sap.ui.mdc.Control | Element,
|
|
103
90
|
/**
|
|
104
91
|
* The control instance that was removed
|
|
105
92
|
*/
|
|
@@ -109,34 +96,6 @@ declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
|
109
96
|
*/
|
|
110
97
|
mPropertyBag?: Object
|
|
111
98
|
): Promise<any>;
|
|
112
|
-
/**
|
|
113
|
-
* A validator to evaluate the theoretical control state.
|
|
114
|
-
*
|
|
115
|
-
* @returns An object that must contain at least the `validation` attribute {@link sap.ui.core.MessageType MessageType}.
|
|
116
|
-
* If `warning` or `error` state types have been provided, the `message` is shown in addition.
|
|
117
|
-
*/
|
|
118
|
-
validateState(
|
|
119
|
-
/**
|
|
120
|
-
* Instance of an `sap.ui.mdc.Control`
|
|
121
|
-
*/
|
|
122
|
-
oControl: sap.ui.mdc.Control,
|
|
123
|
-
/**
|
|
124
|
-
* The theoretical external state representation of an MDC control. The representation of this format is
|
|
125
|
-
* similar as processed by {@link sap.ui.mdc.p13n.StateUtil StateUtil}
|
|
126
|
-
*/
|
|
127
|
-
oState: Object
|
|
128
|
-
): Object;
|
|
129
|
-
/**
|
|
130
|
-
* Visualizes the validation state of an MDC control.
|
|
131
|
-
*
|
|
132
|
-
* @returns mValidation Describes the validation result.
|
|
133
|
-
*/
|
|
134
|
-
visualizeValidationState(
|
|
135
|
-
/**
|
|
136
|
-
* Instance of a MDC control
|
|
137
|
-
*/
|
|
138
|
-
oControl: Record<string, sap.ui.mdc.Control>
|
|
139
|
-
): Record<string, any>;
|
|
140
99
|
}
|
|
141
100
|
const AggregationBaseDelegate: AggregationBaseDelegate;
|
|
142
101
|
export default AggregationBaseDelegate;
|
|
@@ -1028,6 +987,173 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1028
987
|
export default FieldBaseDelegate;
|
|
1029
988
|
}
|
|
1030
989
|
|
|
990
|
+
declare module "sap/ui/mdc/FilterBarDelegate" {
|
|
991
|
+
import AggregationBaseDelegate from "sap/ui/mdc/AggregationBaseDelegate";
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* @since 1.61.0
|
|
995
|
+
*
|
|
996
|
+
* Base Delegate for {@link sap.ui.mdc.FilterBar FilterBar}. Extend this object in your project to use all
|
|
997
|
+
* functionalities of the {@link sap.ui.mdc.FilterBar FilterBar}. This class provides method calls, which
|
|
998
|
+
* are called by the `FilterBar` at specific operations and allows to overwrite an internal behaviour..
|
|
999
|
+
*/
|
|
1000
|
+
interface FilterBarDelegate extends AggregationBaseDelegate {
|
|
1001
|
+
/**
|
|
1002
|
+
* This method is called during the appliance of the add condition change. The intention is to update the
|
|
1003
|
+
* {@link sap.ui.mdc.FilterBarBase#setPropertyInfo propertyInfo} property.
|
|
1004
|
+
*
|
|
1005
|
+
* @returns `Promise` that is resolved once the propertyInfo property has been updated
|
|
1006
|
+
*/
|
|
1007
|
+
addCondition(
|
|
1008
|
+
/**
|
|
1009
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1010
|
+
*/
|
|
1011
|
+
oFilterBar: sap.ui.mdc.FilterBar,
|
|
1012
|
+
/**
|
|
1013
|
+
* The name of a property
|
|
1014
|
+
*/
|
|
1015
|
+
sPropertyName: string,
|
|
1016
|
+
/**
|
|
1017
|
+
* Instance of a property bag from the SAPUI5 flexibility change API
|
|
1018
|
+
*/
|
|
1019
|
+
mPropertyBag: Object
|
|
1020
|
+
): Promise<any>;
|
|
1021
|
+
/**
|
|
1022
|
+
* Creates an instance of a filter field control. **Note:** The `addItem` hook can be used during the processing
|
|
1023
|
+
* of an SAPUI5 flexibility change. Consequently the parameter `mPropertyBag` is only passed during preprocessing.
|
|
1024
|
+
* In runtime scenarios (such as opening a personalization dialog), this method might be called without
|
|
1025
|
+
* the parameter `mPropertyBag`.
|
|
1026
|
+
*
|
|
1027
|
+
* @returns `Promise` that resolves with an instance of the implementing {@link sap.ui.mdc.FilterField Control}.
|
|
1028
|
+
* **Note:** This method always requires a return value once it has been called. If an item for a given
|
|
1029
|
+
* property `sPropertyName` has already been created, it must to either return the existing instance or
|
|
1030
|
+
* create a new instance.
|
|
1031
|
+
*/
|
|
1032
|
+
addItem(
|
|
1033
|
+
/**
|
|
1034
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1035
|
+
*/
|
|
1036
|
+
oFilterBar: sap.ui.mdc.FilterBar,
|
|
1037
|
+
/**
|
|
1038
|
+
* The name of the property info object/JSON
|
|
1039
|
+
*/
|
|
1040
|
+
sPropertyName: string,
|
|
1041
|
+
/**
|
|
1042
|
+
* Instance of property bag from SAPUI5 flexibility change API
|
|
1043
|
+
*/
|
|
1044
|
+
mPropertyBag?: Object
|
|
1045
|
+
): Promise<sap.ui.mdc.FilterField>;
|
|
1046
|
+
/**
|
|
1047
|
+
* This method is called when the Clear button is pressed.
|
|
1048
|
+
*
|
|
1049
|
+
* @returns `Promise` that is resolved once the action has been completed
|
|
1050
|
+
*/
|
|
1051
|
+
clearFilters(
|
|
1052
|
+
/**
|
|
1053
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1054
|
+
*/
|
|
1055
|
+
oFilterBar: sap.ui.mdc.FilterBar
|
|
1056
|
+
): Promise<any>;
|
|
1057
|
+
/**
|
|
1058
|
+
* A validator to evaluate the `FilterBar` state.
|
|
1059
|
+
*
|
|
1060
|
+
* @returns The inner `FilterBar` state
|
|
1061
|
+
*/
|
|
1062
|
+
determineValidationState(
|
|
1063
|
+
/**
|
|
1064
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1065
|
+
*/
|
|
1066
|
+
oFilterBar: sap.ui.mdc.FilterBar,
|
|
1067
|
+
/**
|
|
1068
|
+
* Object describing the validation result. This object is only provided when called from the {@link sap.ui.mdc.FilterBar FilterBar}
|
|
1069
|
+
*/
|
|
1070
|
+
mValidation?: {
|
|
1071
|
+
/**
|
|
1072
|
+
* Status of the validation {@link sap.ui.mdc.enums.FilterBarValidationStatus}
|
|
1073
|
+
*/
|
|
1074
|
+
status?: string;
|
|
1075
|
+
}
|
|
1076
|
+
): sap.ui.mdc.enums.FilterBarValidationStatus;
|
|
1077
|
+
/**
|
|
1078
|
+
* Retrieves the relevant metadata for a given payload and returns the property info array.
|
|
1079
|
+
*
|
|
1080
|
+
* @returns `Promise` that resolves into an array of property info objects
|
|
1081
|
+
*/
|
|
1082
|
+
fetchProperties(
|
|
1083
|
+
/**
|
|
1084
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1085
|
+
*/
|
|
1086
|
+
oFilterBar: sap.ui.mdc.FilterBar
|
|
1087
|
+
): Promise<sap.ui.mdc.filterbar.PropertyInfo[]>;
|
|
1088
|
+
/**
|
|
1089
|
+
* propertyInfo This method is called during the appliance of the remove condition change. The intention
|
|
1090
|
+
* is to update the {@link sap.ui.mdc.FilterBarBase#setPropertyInfo propertyInfo} property.
|
|
1091
|
+
*
|
|
1092
|
+
* @returns `Promise` that is resolved once the {@link sap.ui.mdc.FilterBarBase#setPropertyInfo propertyInfo }
|
|
1093
|
+
* property has been updated
|
|
1094
|
+
*/
|
|
1095
|
+
removeCondition(
|
|
1096
|
+
/**
|
|
1097
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1098
|
+
*/
|
|
1099
|
+
oFilterBar: sap.ui.mdc.FilterBar,
|
|
1100
|
+
/**
|
|
1101
|
+
* The name of a property
|
|
1102
|
+
*/
|
|
1103
|
+
sPropertyName: string,
|
|
1104
|
+
/**
|
|
1105
|
+
* Instance of a property bag from the SAPUI5 flexibility change API
|
|
1106
|
+
*/
|
|
1107
|
+
mPropertyBag: Object
|
|
1108
|
+
): Promise<any>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Triggers any necessary follow-up steps that need to be taken after the removal of created items via `removeItem`.
|
|
1111
|
+
* The returned Boolean value inside the `Promise` can be used to prevent the default follow-up behavior
|
|
1112
|
+
* of the SAPUI5 flexibility handling.
|
|
1113
|
+
*
|
|
1114
|
+
* **Note:**The `removeItem` hook can be used during the processing of an SAPUI5 flexibility change. Consequently
|
|
1115
|
+
* the parameter `mPropertyBag` is only passed during preprocessing. In runtime scenarios (such as opening
|
|
1116
|
+
* a personalization dialog), this method can be called without the parameter `mPropertyBag`.
|
|
1117
|
+
*
|
|
1118
|
+
* @returns `Promise` that resolved with `true`, `false` to allow/prevent default behavior of the change
|
|
1119
|
+
*/
|
|
1120
|
+
removeItem(
|
|
1121
|
+
/**
|
|
1122
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1123
|
+
*/
|
|
1124
|
+
oFilterBar: sap.ui.mdc.FilterBar,
|
|
1125
|
+
/**
|
|
1126
|
+
* The filter field instance that was removed
|
|
1127
|
+
*/
|
|
1128
|
+
oFilterField: sap.ui.mdc.FilterField,
|
|
1129
|
+
/**
|
|
1130
|
+
* Instance of property bag from SAPUI5 flexibility
|
|
1131
|
+
*/
|
|
1132
|
+
mPropertyBag?: Object
|
|
1133
|
+
): Promise<boolean>;
|
|
1134
|
+
/**
|
|
1135
|
+
* Visualizes the `FilterBar` validation state.
|
|
1136
|
+
*/
|
|
1137
|
+
visualizeValidationState(
|
|
1138
|
+
/**
|
|
1139
|
+
* Instance of the {@link sap.ui.mdc.FilterBar FilterBar} control
|
|
1140
|
+
*/
|
|
1141
|
+
oFilterBar: sap.ui.mdc.FilterBar,
|
|
1142
|
+
/**
|
|
1143
|
+
* Describes the validation result. This object is only provided when called from the {@link sap.ui.mdc.FilterBar FilterBar}
|
|
1144
|
+
*/
|
|
1145
|
+
mValidation: {
|
|
1146
|
+
/**
|
|
1147
|
+
* Status of the validation as returned via {@link sap.ui.mdc.filterbar.FilterBarBase#checkValidationState checkValidationState}
|
|
1148
|
+
*/
|
|
1149
|
+
status: sap.ui.mdc.enums.FilterBarValidationStatus;
|
|
1150
|
+
}
|
|
1151
|
+
): void;
|
|
1152
|
+
}
|
|
1153
|
+
const FilterBarDelegate: FilterBarDelegate;
|
|
1154
|
+
export default FilterBarDelegate;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1031
1157
|
declare module "sap/ui/mdc/LinkDelegate" {
|
|
1032
1158
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
1033
1159
|
|
|
@@ -7604,7 +7730,7 @@ declare namespace sap {
|
|
|
7604
7730
|
*
|
|
7605
7731
|
* **Note:** This must only be used by the corresponding value help, not from outside.
|
|
7606
7732
|
*
|
|
7607
|
-
* @returns
|
|
7733
|
+
* @returns Reference to `this` to allow method chaining
|
|
7608
7734
|
*/
|
|
7609
7735
|
destroyCollectiveSearch(): this;
|
|
7610
7736
|
/**
|
|
@@ -7669,7 +7795,7 @@ declare namespace sap {
|
|
|
7669
7795
|
* Instance of the {@link sap.ui.mdc.filterbar.vh.CollectiveSearchSelect CollectiveSearchSelect} control
|
|
7670
7796
|
*/
|
|
7671
7797
|
oCollectiveSearch: /* was: sap.ui.mdc.filterbar.vh.CollectiveSearchSelect */ any
|
|
7672
|
-
):
|
|
7798
|
+
): this;
|
|
7673
7799
|
/**
|
|
7674
7800
|
* @experimental
|
|
7675
7801
|
*
|
|
@@ -24044,6 +24170,8 @@ declare namespace sap {
|
|
|
24044
24170
|
|
|
24045
24171
|
"sap/ui/mdc/filterbar/vh/FilterBar": undefined;
|
|
24046
24172
|
|
|
24173
|
+
"sap/ui/mdc/FilterBarDelegate": undefined;
|
|
24174
|
+
|
|
24047
24175
|
"sap/ui/mdc/FilterField": undefined;
|
|
24048
24176
|
|
|
24049
24177
|
"sap/ui/mdc/library": undefined;
|
package/types/sap.ui.rta.d.ts
CHANGED
package/types/sap.ui.suite.d.ts
CHANGED
package/types/sap.ui.table.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.120.
|
|
1
|
+
// For Library Version: 1.120.4
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -156,6 +156,18 @@ declare namespace sap {
|
|
|
156
156
|
*/
|
|
157
157
|
FNMetaImpl?: Function
|
|
158
158
|
): Function;
|
|
159
|
+
/**
|
|
160
|
+
* Searches a plugin of the corresponding type in the aggregations of the given `Table` instance. The first
|
|
161
|
+
* plugin that is found is returned.
|
|
162
|
+
*
|
|
163
|
+
* @returns The found plugin instance or `undefined` if not found
|
|
164
|
+
*/
|
|
165
|
+
static findOn(
|
|
166
|
+
/**
|
|
167
|
+
* The `Table` instance to check for
|
|
168
|
+
*/
|
|
169
|
+
oTable: sap.ui.table.Table
|
|
170
|
+
): sap.ui.core.Element | undefined;
|
|
159
171
|
/**
|
|
160
172
|
* Returns a metadata object for class sap.ui.table.plugins.MultiSelectionPlugin.
|
|
161
173
|
*
|
|
@@ -546,6 +558,18 @@ declare namespace sap {
|
|
|
546
558
|
*/
|
|
547
559
|
FNMetaImpl?: Function
|
|
548
560
|
): Function;
|
|
561
|
+
/**
|
|
562
|
+
* Searches a plugin of the corresponding type in the aggregations of the given `Table` instance. The first
|
|
563
|
+
* plugin that is found is returned.
|
|
564
|
+
*
|
|
565
|
+
* @returns The found plugin instance or `undefined` if not found
|
|
566
|
+
*/
|
|
567
|
+
static findOn(
|
|
568
|
+
/**
|
|
569
|
+
* The `Table` instance to check for
|
|
570
|
+
*/
|
|
571
|
+
oTable: sap.ui.table.Table
|
|
572
|
+
): sap.ui.core.Element | undefined;
|
|
549
573
|
/**
|
|
550
574
|
* Returns a metadata object for class sap.ui.table.plugins.SelectionPlugin.
|
|
551
575
|
*
|
package/types/sap.ui.ux3.d.ts
CHANGED
package/types/sap.uxap.d.ts
CHANGED