@sapui5/ts-types 1.150.0 → 1.151.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.esh.search.ui.d.ts +410 -157
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +2 -222
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +1 -1
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +209 -80
- package/types/sap.fe.navigation.d.ts +3 -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 +1 -1
- package/types/sap.fe.test.d.ts +3 -3
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +125 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +133 -1
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +45 -1
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +178 -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 +1 -1
- package/types/sap.ui.core.d.ts +389 -236
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -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.geomap.d.ts +10393 -8758
- package/types/sap.ui.integration.d.ts +31 -3
- package/types/sap.ui.joule.frontend.d.ts +710 -0
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +11 -8
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +2 -2
- 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 +2 -2
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +101 -1
- 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.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +22 -2
- 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 +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -279,7 +279,7 @@ declare namespace sap {
|
|
|
279
279
|
"sap/ui/thirdparty/qunit-2": undefined;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
// For Library Version: 1.
|
|
282
|
+
// For Library Version: 1.151.0
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -3458,7 +3458,7 @@ declare module "sap/base/util/UriParameters" {
|
|
|
3458
3458
|
sName: string,
|
|
3459
3459
|
/**
|
|
3460
3460
|
* Whether all values for the parameter should be returned; the use of this parameter is deprecated and
|
|
3461
|
-
* highly discouraged; use the {@link #getAll} method instead
|
|
3461
|
+
* highly discouraged; use the {@link #getAll} method instead {@deprecated}
|
|
3462
3462
|
*/
|
|
3463
3463
|
bAll?: boolean
|
|
3464
3464
|
): string | null;
|
|
@@ -3983,6 +3983,44 @@ declare module "sap/ui/core/ControlBehavior" {
|
|
|
3983
3983
|
* @since 1.120
|
|
3984
3984
|
*/
|
|
3985
3985
|
interface ControlBehavior {
|
|
3986
|
+
/**
|
|
3987
|
+
* Attaches a handler to the {@link #event:extendedKeyboardNavigationChanged} event.
|
|
3988
|
+
*
|
|
3989
|
+
* The handler is invoked whenever the Extended Keyboard Navigation state is toggled via {@link #setExtendedKeyboardNavigationEnabled }
|
|
3990
|
+
* — both for transitions from `false` to `true` and from `true` to `false`. No event is fired for the initial
|
|
3991
|
+
* value provided via configuration; call {@link #isExtendedKeyboardNavigationEnabled} once after attaching
|
|
3992
|
+
* to learn the current state.
|
|
3993
|
+
*
|
|
3994
|
+
* API might change before stable release.
|
|
3995
|
+
*
|
|
3996
|
+
* @experimental As of version 1.151.
|
|
3997
|
+
*/
|
|
3998
|
+
attachExtendedKeyboardNavigationChanged(
|
|
3999
|
+
/**
|
|
4000
|
+
* The function to be called when the event occurs
|
|
4001
|
+
*/
|
|
4002
|
+
fnFunction: (
|
|
4003
|
+
p1: ControlBehavior$ExtendedKeyboardNavigationChangedEvent
|
|
4004
|
+
) => void
|
|
4005
|
+
): void;
|
|
4006
|
+
/**
|
|
4007
|
+
* Detaches a handler from the {@link #event:extendedKeyboardNavigationChanged} event.
|
|
4008
|
+
*
|
|
4009
|
+
* The passed function must be the same one used for the corresponding `attachExtendedKeyboardNavigationChanged`
|
|
4010
|
+
* call.
|
|
4011
|
+
*
|
|
4012
|
+
* API might change before stable release.
|
|
4013
|
+
*
|
|
4014
|
+
* @experimental As of version 1.151.
|
|
4015
|
+
*/
|
|
4016
|
+
detachExtendedKeyboardNavigationChanged(
|
|
4017
|
+
/**
|
|
4018
|
+
* The function to be detached
|
|
4019
|
+
*/
|
|
4020
|
+
fnFunction: (
|
|
4021
|
+
p1: ControlBehavior$ExtendedKeyboardNavigationChangedEvent
|
|
4022
|
+
) => void
|
|
4023
|
+
): void;
|
|
3986
4024
|
/**
|
|
3987
4025
|
* Returns the current animation mode.
|
|
3988
4026
|
*
|
|
@@ -3999,6 +4037,20 @@ declare module "sap/ui/core/ControlBehavior" {
|
|
|
3999
4037
|
* @returns whether the accessibility mode is enabled or not
|
|
4000
4038
|
*/
|
|
4001
4039
|
isAccessibilityEnabled(): boolean;
|
|
4040
|
+
/**
|
|
4041
|
+
* Returns whether Extended Keyboard Navigation is currently enabled.
|
|
4042
|
+
*
|
|
4043
|
+
* Extended Keyboard Navigation extends the keyboard tab order to include non-interactive, text-bearing
|
|
4044
|
+
* elements so their tooltips become reachable by keyboard. The feature is not recommended for screen-reader
|
|
4045
|
+
* users.
|
|
4046
|
+
*
|
|
4047
|
+
* API might change before stable release.
|
|
4048
|
+
*
|
|
4049
|
+
* @experimental As of version 1.151.
|
|
4050
|
+
*
|
|
4051
|
+
* @returns whether Extended Keyboard Navigation is enabled
|
|
4052
|
+
*/
|
|
4053
|
+
isExtendedKeyboardNavigationEnabled(): boolean;
|
|
4002
4054
|
/**
|
|
4003
4055
|
* Sets the current animation mode.
|
|
4004
4056
|
*
|
|
@@ -4018,6 +4070,20 @@ declare module "sap/ui/core/ControlBehavior" {
|
|
|
4018
4070
|
}
|
|
4019
4071
|
const ControlBehavior: ControlBehavior;
|
|
4020
4072
|
export default ControlBehavior;
|
|
4073
|
+
|
|
4074
|
+
/**
|
|
4075
|
+
* The Extended Keyboard Navigation change Event.
|
|
4076
|
+
*
|
|
4077
|
+
* API might change before stable release.
|
|
4078
|
+
*
|
|
4079
|
+
* @experimental As of version 1.151.
|
|
4080
|
+
*/
|
|
4081
|
+
export type ControlBehavior$ExtendedKeyboardNavigationChangedEvent = {
|
|
4082
|
+
/**
|
|
4083
|
+
* The new value
|
|
4084
|
+
*/
|
|
4085
|
+
extendedKeyboardNavigationEnabled: boolean;
|
|
4086
|
+
};
|
|
4021
4087
|
}
|
|
4022
4088
|
|
|
4023
4089
|
declare module "sap/ui/core/date/CalendarUtils" {
|
|
@@ -4988,6 +5054,14 @@ declare module "sap/ui/core/Messaging" {
|
|
|
4988
5054
|
* @returns oMessageModel The Message Model
|
|
4989
5055
|
*/
|
|
4990
5056
|
getMessageModel(): sap.ui.model.message.MessageModel;
|
|
5057
|
+
/**
|
|
5058
|
+
* Returns all messages currently managed by Messaging.
|
|
5059
|
+
*
|
|
5060
|
+
* @since 1.151
|
|
5061
|
+
*
|
|
5062
|
+
* @returns An array of all current messages
|
|
5063
|
+
*/
|
|
5064
|
+
getMessages(): sap.ui.core.message.Message[];
|
|
4991
5065
|
/**
|
|
4992
5066
|
* Register MessageProcessor
|
|
4993
5067
|
*/
|
|
@@ -7839,8 +7913,9 @@ declare module "sap/ui/test/starter/config" {
|
|
|
7839
7913
|
*/
|
|
7840
7914
|
searchParams?: Record<string, string | string[]>;
|
|
7841
7915
|
/**
|
|
7842
|
-
* A map-like object with URL parameters that are appended to the `page` URL.
|
|
7843
|
-
*
|
|
7916
|
+
* A map-like object with URL parameters that are appended to the `page` URL.
|
|
7917
|
+
*
|
|
7918
|
+
* @deprecated As of version 1.141.0. use `searchParams` instead.
|
|
7844
7919
|
*/
|
|
7845
7920
|
uriParams?: Record<string, string | string[]>;
|
|
7846
7921
|
/**
|
|
@@ -7917,7 +7992,7 @@ declare module "sap/ui/test/starter/config" {
|
|
|
7917
7992
|
* When this option is true, the core is not only loaded and started, but loading and execution of the test
|
|
7918
7993
|
* module(s) is also delayed until a listener registered with sap.ui.getCore().attachInit() has been executed.
|
|
7919
7994
|
*
|
|
7920
|
-
*
|
|
7995
|
+
* @deprecated As of version 1.120. it should not be used in new tests
|
|
7921
7996
|
*/
|
|
7922
7997
|
bootCore?: boolean;
|
|
7923
7998
|
/**
|
|
@@ -8025,11 +8100,11 @@ declare module "sap/ui/util/Mobile" {
|
|
|
8025
8100
|
*/
|
|
8026
8101
|
useFullScreenHeight?: boolean;
|
|
8027
8102
|
/**
|
|
8028
|
-
* deprecated
|
|
8103
|
+
* @deprecated As of version 1.12. use sap/ui/util/Mobile.setIcons instead.
|
|
8029
8104
|
*/
|
|
8030
8105
|
homeIcon?: string;
|
|
8031
8106
|
/**
|
|
8032
|
-
* deprecated
|
|
8107
|
+
* @deprecated As of version 1.12. use sap/ui/util/Mobile.setIcons instead.
|
|
8033
8108
|
*/
|
|
8034
8109
|
homeIconPrecomposed?: boolean;
|
|
8035
8110
|
/**
|
|
@@ -8484,9 +8559,11 @@ declare namespace sap {
|
|
|
8484
8559
|
*/
|
|
8485
8560
|
async?: boolean;
|
|
8486
8561
|
/**
|
|
8487
|
-
*
|
|
8488
|
-
*
|
|
8489
|
-
* code
|
|
8562
|
+
* Hints for the asynchronous loading. **Beware:** This parameter is only used internally by the UI5 framework
|
|
8563
|
+
* and compatibility cannot be guaranteed. The parameter must not be used in productive code, except in
|
|
8564
|
+
* code delivered by the UI5 teams.
|
|
8565
|
+
*
|
|
8566
|
+
* @since 1.27.0
|
|
8490
8567
|
*/
|
|
8491
8568
|
asyncHints?: {
|
|
8492
8569
|
/**
|
|
@@ -8498,33 +8575,41 @@ declare namespace sap {
|
|
|
8498
8575
|
*/
|
|
8499
8576
|
components?: string[];
|
|
8500
8577
|
/**
|
|
8501
|
-
*
|
|
8502
|
-
*
|
|
8578
|
+
* a `Promise` or and array of `Promise`s for which the Component instantiation should wait (experimental
|
|
8579
|
+
* setting)
|
|
8580
|
+
*
|
|
8581
|
+
* @since 1.37.0
|
|
8503
8582
|
*/
|
|
8504
8583
|
waitFor?: Promise<any> | Array<Promise<any>>;
|
|
8505
8584
|
};
|
|
8506
8585
|
/**
|
|
8507
|
-
*
|
|
8508
|
-
*
|
|
8509
|
-
*
|
|
8510
|
-
*
|
|
8511
|
-
*
|
|
8586
|
+
* Controls when and from where to load the manifest for the Component. When set to any truthy value, the
|
|
8587
|
+
* manifest will be loaded asynchronously by default and evaluated before the Component controller, if it
|
|
8588
|
+
* is set to a falsy value other than `undefined`, the manifest will be loaded after the controller. A non-empty
|
|
8589
|
+
* string value will be interpreted as the URL location from where to load the manifest. A non-null object
|
|
8590
|
+
* value will be interpreted as manifest content. Setting this property to a value other than `undefined`,
|
|
8512
8591
|
* completely deactivates the properties `manifestUrl` and `manifestFirst`, no matter what their values
|
|
8513
8592
|
* are.
|
|
8593
|
+
*
|
|
8594
|
+
* @since 1.49.0
|
|
8514
8595
|
*/
|
|
8515
8596
|
manifest?: boolean | string | object;
|
|
8516
8597
|
/**
|
|
8517
|
-
*
|
|
8518
|
-
*
|
|
8598
|
+
* Specifies the URL from where the manifest should be loaded from Using this property implies `vConfig.manifestFirst=true`.
|
|
8599
|
+
*
|
|
8519
8600
|
* **DEPRECATED since 1.49.0, use `vConfig.manifest=url` instead!**. Note that this property is ignored
|
|
8520
8601
|
* when `vConfig.manifest` has a value other than `undefined`.
|
|
8602
|
+
*
|
|
8603
|
+
* @since 1.33.0
|
|
8521
8604
|
*/
|
|
8522
8605
|
manifestUrl?: string;
|
|
8523
8606
|
/**
|
|
8524
|
-
*
|
|
8525
|
-
*
|
|
8607
|
+
* defines whether the manifest is loaded before or after the Component controller. Defaults to `sap.ui.getCore().getConfiguration().getManifestFirst()`
|
|
8608
|
+
*
|
|
8526
8609
|
* **DEPRECATED since 1.49.0, use `vConfig.manifest=true|false` instead!** Note that this property is ignored
|
|
8527
8610
|
* when `vConfig.manifest` has a value other than `undefined`.
|
|
8611
|
+
*
|
|
8612
|
+
* @since 1.33.0
|
|
8528
8613
|
*/
|
|
8529
8614
|
manifestFirst?: boolean;
|
|
8530
8615
|
/**
|
|
@@ -16570,15 +16655,15 @@ declare namespace sap {
|
|
|
16570
16655
|
*/
|
|
16571
16656
|
vertical?: boolean;
|
|
16572
16657
|
/**
|
|
16573
|
-
*
|
|
16658
|
+
* @deprecated As of version 1.42. the parameter has no effect
|
|
16574
16659
|
*/
|
|
16575
16660
|
zynga?: boolean;
|
|
16576
16661
|
/**
|
|
16577
|
-
*
|
|
16662
|
+
* @deprecated As of version 1.42. the parameter has no effect
|
|
16578
16663
|
*/
|
|
16579
16664
|
iscroll?: boolean;
|
|
16580
16665
|
/**
|
|
16581
|
-
*
|
|
16666
|
+
* @deprecated As of version 1.42. the parameter has no effect
|
|
16582
16667
|
*/
|
|
16583
16668
|
preventDefault?: boolean;
|
|
16584
16669
|
/**
|
|
@@ -18890,10 +18975,9 @@ declare namespace sap {
|
|
|
18890
18975
|
*/
|
|
18891
18976
|
showNumber?: boolean;
|
|
18892
18977
|
/**
|
|
18893
|
-
* The style of format.
|
|
18894
|
-
*
|
|
18895
|
-
*
|
|
18896
|
-
* or the `precision` option itself.
|
|
18978
|
+
* The style of format. When set to `short` or `long`, numbers are formatted into the `short` form only.
|
|
18979
|
+
* When this option is set, the default value of the `precision` option is set to `2`. This can be changed
|
|
18980
|
+
* by setting either `min/maxFractionDigits`, `decimals`, `shortDecimals`, or the `precision` option itself.
|
|
18897
18981
|
*/
|
|
18898
18982
|
style?: "short" | "long" | "standard";
|
|
18899
18983
|
/**
|
|
@@ -18954,10 +19038,9 @@ declare namespace sap {
|
|
|
18954
19038
|
*/
|
|
18955
19039
|
preserveDecimals?: boolean;
|
|
18956
19040
|
/**
|
|
18957
|
-
* The style of format.
|
|
18958
|
-
*
|
|
18959
|
-
*
|
|
18960
|
-
* or the `precision` option itself.
|
|
19041
|
+
* The style of format. When set to `short` or `long`, numbers are formatted into compact forms. When this
|
|
19042
|
+
* option is set, the default value of the `precision` option is set to `2`. This can be changed by setting
|
|
19043
|
+
* either `min/maxFractionDigits`, `decimals`, `shortDecimals`, or the `precision` option itself.
|
|
18961
19044
|
*/
|
|
18962
19045
|
style?: "short" | "long" | "standard";
|
|
18963
19046
|
};
|
|
@@ -19098,10 +19181,9 @@ declare namespace sap {
|
|
|
19098
19181
|
*/
|
|
19099
19182
|
preserveDecimals?: boolean;
|
|
19100
19183
|
/**
|
|
19101
|
-
* The style of format.
|
|
19102
|
-
*
|
|
19103
|
-
*
|
|
19104
|
-
* or the `precision` option itself.
|
|
19184
|
+
* The style of format. When set to `short` or `long`, numbers are formatted into compact forms. When this
|
|
19185
|
+
* option is set, the default value of the `precision` option is set to `2`. This can be changed by setting
|
|
19186
|
+
* either `min/maxFractionDigits`, `decimals`, `shortDecimals`, or the `precision` option itself.
|
|
19105
19187
|
*/
|
|
19106
19188
|
style?: "short" | "long" | "standard";
|
|
19107
19189
|
};
|
|
@@ -19201,10 +19283,9 @@ declare namespace sap {
|
|
|
19201
19283
|
*/
|
|
19202
19284
|
showNumber?: boolean;
|
|
19203
19285
|
/**
|
|
19204
|
-
* The style of format.
|
|
19205
|
-
*
|
|
19206
|
-
*
|
|
19207
|
-
* or the `precision` option itself.
|
|
19286
|
+
* The style of format. When set to `short` or `long`, numbers are formatted into compact forms. When this
|
|
19287
|
+
* option is set, the default value of the `precision` option is set to `2`. This can be changed by setting
|
|
19288
|
+
* either `min/maxFractionDigits`, `decimals`, `shortDecimals`, or the `precision` option itself.
|
|
19208
19289
|
*/
|
|
19209
19290
|
style?: "short" | "long" | "standard";
|
|
19210
19291
|
};
|
|
@@ -20466,6 +20547,12 @@ declare namespace sap {
|
|
|
20466
20547
|
* An object containing technical details for a message
|
|
20467
20548
|
*/
|
|
20468
20549
|
technicalDetails?: object;
|
|
20550
|
+
/**
|
|
20551
|
+
* Whether the message originates from a client-side type validation or parse error. Set to `true` by the
|
|
20552
|
+
* framework when creating messages for `validationError`, `parseError`, or `formatError` binding events.
|
|
20553
|
+
* Read via {@link #isValidation}; cannot be changed after construction.
|
|
20554
|
+
*/
|
|
20555
|
+
validation?: boolean;
|
|
20469
20556
|
|
|
20470
20557
|
processor?: sap.ui.core.message.MessageProcessor;
|
|
20471
20558
|
/**
|
|
@@ -20647,6 +20734,24 @@ declare namespace sap {
|
|
|
20647
20734
|
* @returns type
|
|
20648
20735
|
*/
|
|
20649
20736
|
getType(): import("sap/ui/core/message/MessageType").default;
|
|
20737
|
+
/**
|
|
20738
|
+
* Returns whether the message originated from a client-side type validation or parse error.
|
|
20739
|
+
*
|
|
20740
|
+
* A message is considered a validation message when it was created by the binding layer in response to
|
|
20741
|
+
* a type validator or parser rejecting a user-entered value (i.e. a `validationError`, `parseError`, or
|
|
20742
|
+
* `formatError` event fired by a managed object binding). Such messages are created with `mParameters.validation:
|
|
20743
|
+
* true` in the {@link sap.ui.core.message.Message} constructor. The flag is set at construction time and
|
|
20744
|
+
* cannot be changed afterwards.
|
|
20745
|
+
*
|
|
20746
|
+
* Use this method to distinguish client-side validation messages from server-side messages (e.g. OData
|
|
20747
|
+
* error responses) or application-created messages, which always have `validation: false`.
|
|
20748
|
+
*
|
|
20749
|
+
* @since 1.151
|
|
20750
|
+
*
|
|
20751
|
+
* @returns `true` if the message originated from a client-side type validation or parse error, `false`
|
|
20752
|
+
* otherwise
|
|
20753
|
+
*/
|
|
20754
|
+
isValidation(): boolean;
|
|
20650
20755
|
/**
|
|
20651
20756
|
* Sets the additionaltext for the message or merge different additionaltext strings
|
|
20652
20757
|
*/
|
|
@@ -23562,8 +23667,10 @@ declare namespace sap {
|
|
|
23562
23667
|
p3: object
|
|
23563
23668
|
) => void),
|
|
23564
23669
|
/**
|
|
23565
|
-
*
|
|
23670
|
+
* added for signature compatibility with {@link sap.ui.core.mvc.View#registerPreprocessor View#registerPreprocessor}.
|
|
23566
23671
|
* Only supported value is "XML".
|
|
23672
|
+
*
|
|
23673
|
+
* @since 1.89
|
|
23567
23674
|
*/
|
|
23568
23675
|
sViewType: string,
|
|
23569
23676
|
/**
|
|
@@ -26167,11 +26274,13 @@ declare namespace sap {
|
|
|
26167
26274
|
*/
|
|
26168
26275
|
oConfig?: {
|
|
26169
26276
|
/**
|
|
26170
|
-
*
|
|
26277
|
+
* Settings which are used when no route of the router is matched after a hash change.
|
|
26278
|
+
*
|
|
26279
|
+
* @since 1.28
|
|
26171
26280
|
*/
|
|
26172
26281
|
bypassed?: {
|
|
26173
26282
|
/**
|
|
26174
|
-
*
|
|
26283
|
+
* One or multiple names of targets that will be displayed, if no route of the router is matched.
|
|
26175
26284
|
* A typical use case is a not found page.
|
|
26176
26285
|
* The current hash will be passed to the display event of the target.
|
|
26177
26286
|
* **Example:**
|
|
@@ -26201,12 +26310,17 @@ declare namespace sap {
|
|
|
26201
26310
|
* }
|
|
26202
26311
|
* });
|
|
26203
26312
|
* ```
|
|
26313
|
+
*
|
|
26314
|
+
*
|
|
26315
|
+
* @since 1.28
|
|
26204
26316
|
*/
|
|
26205
26317
|
target?: string | string[];
|
|
26206
26318
|
};
|
|
26207
26319
|
/**
|
|
26208
|
-
*
|
|
26209
|
-
*
|
|
26320
|
+
* Whether views are loaded asynchronously within this router instance. As of 1.90 synchronous routing is
|
|
26321
|
+
* deprecated. Therefore, you should explicitly set `oConfig.async` to `true`.
|
|
26322
|
+
*
|
|
26323
|
+
* @since 1.34
|
|
26210
26324
|
*/
|
|
26211
26325
|
async?: boolean;
|
|
26212
26326
|
},
|
|
@@ -26217,8 +26331,8 @@ declare namespace sap {
|
|
|
26217
26331
|
*/
|
|
26218
26332
|
oOwner?: sap.ui.core.UIComponent,
|
|
26219
26333
|
/**
|
|
26220
|
-
*
|
|
26221
|
-
*
|
|
26334
|
+
* the target configuration, see {@link sap.ui.core.routing.Targets#constructor} documentation (the options
|
|
26335
|
+
* object).
|
|
26222
26336
|
* You should use Targets to create and display views. Since 1.28 the route should only contain routing
|
|
26223
26337
|
* relevant properties.
|
|
26224
26338
|
* **Example:**
|
|
@@ -26257,6 +26371,9 @@ declare namespace sap {
|
|
|
26257
26371
|
* }
|
|
26258
26372
|
* })
|
|
26259
26373
|
* ```
|
|
26374
|
+
*
|
|
26375
|
+
*
|
|
26376
|
+
* @since 1.28
|
|
26260
26377
|
*/
|
|
26261
26378
|
oTargetsConfig?: Record<string, sap.ui.core.routing.$TargetSettings>
|
|
26262
26379
|
);
|
|
@@ -26929,7 +27046,9 @@ declare namespace sap {
|
|
|
26929
27046
|
*/
|
|
26930
27047
|
initialize(
|
|
26931
27048
|
/**
|
|
26932
|
-
*
|
|
27049
|
+
* Whether the current URL hash shouldn't be parsed after the router is initialized
|
|
27050
|
+
*
|
|
27051
|
+
* @since 1.48.0
|
|
26933
27052
|
*/
|
|
26934
27053
|
bIgnoreInitialHash?: boolean
|
|
26935
27054
|
): this;
|
|
@@ -27587,9 +27706,11 @@ declare namespace sap {
|
|
|
27587
27706
|
*/
|
|
27588
27707
|
rootView?: string;
|
|
27589
27708
|
/**
|
|
27590
|
-
*
|
|
27591
|
-
*
|
|
27592
|
-
*
|
|
27709
|
+
* Whether the views which are created through this Targets are loaded asynchronously. This option can be
|
|
27710
|
+
* set only when the Targets is used standalone without the involvement of a Router. Otherwise the async
|
|
27711
|
+
* option is inherited from the Router.
|
|
27712
|
+
*
|
|
27713
|
+
* @since 1.34
|
|
27593
27714
|
*/
|
|
27594
27715
|
async?: boolean;
|
|
27595
27716
|
};
|
|
@@ -27866,9 +27987,11 @@ declare namespace sap {
|
|
|
27866
27987
|
*/
|
|
27867
27988
|
component?: sap.ui.core.UIComponent;
|
|
27868
27989
|
/**
|
|
27869
|
-
*
|
|
27870
|
-
*
|
|
27871
|
-
*
|
|
27990
|
+
* Whether the views which are created through this Views are loaded asyncly. This option can be set only
|
|
27991
|
+
* when the Views is used standalone without the involvement of a Router. Otherwise the async option is
|
|
27992
|
+
* inherited from the Router.
|
|
27993
|
+
*
|
|
27994
|
+
* @since 1.34
|
|
27872
27995
|
*/
|
|
27873
27996
|
async?: boolean;
|
|
27874
27997
|
});
|
|
@@ -38634,8 +38757,10 @@ declare namespace sap {
|
|
|
38634
38757
|
*/
|
|
38635
38758
|
manifest?: boolean | string | object;
|
|
38636
38759
|
/**
|
|
38637
|
-
*
|
|
38638
|
-
*
|
|
38760
|
+
* Alternative URL for the manifest.json. If `mOptions.manifest` is set to an object value, this URL specifies
|
|
38761
|
+
* the location to which the manifest object should resolve the relative URLs to.
|
|
38762
|
+
*
|
|
38763
|
+
* @since 1.61.0
|
|
38639
38764
|
*/
|
|
38640
38765
|
altManifestUrl?: string;
|
|
38641
38766
|
/**
|
|
@@ -38843,8 +38968,10 @@ declare namespace sap {
|
|
|
38843
38968
|
*/
|
|
38844
38969
|
manifest?: boolean | string | object;
|
|
38845
38970
|
/**
|
|
38846
|
-
*
|
|
38847
|
-
*
|
|
38971
|
+
* Alternative URL for the manifest.json. If `mOptions.manifest` is set to an object value, this URL specifies
|
|
38972
|
+
* the location to which the manifest object should resolve the relative URLs to.
|
|
38973
|
+
*
|
|
38974
|
+
* @since 1.61.0
|
|
38848
38975
|
*/
|
|
38849
38976
|
altManifestUrl?: string;
|
|
38850
38977
|
/**
|
|
@@ -40988,6 +41115,10 @@ declare namespace sap {
|
|
|
40988
41115
|
class CustomData extends sap.ui.core.Element {
|
|
40989
41116
|
/**
|
|
40990
41117
|
* Constructor for a new `CustomData` element.
|
|
41118
|
+
*
|
|
41119
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
41120
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
41121
|
+
* of the syntax of the settings object.
|
|
40991
41122
|
*/
|
|
40992
41123
|
constructor(
|
|
40993
41124
|
/**
|
|
@@ -40997,6 +41128,10 @@ declare namespace sap {
|
|
|
40997
41128
|
);
|
|
40998
41129
|
/**
|
|
40999
41130
|
* Constructor for a new `CustomData` element.
|
|
41131
|
+
*
|
|
41132
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
41133
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
41134
|
+
* of the syntax of the settings object.
|
|
41000
41135
|
*/
|
|
41001
41136
|
constructor(
|
|
41002
41137
|
/**
|
|
@@ -41010,10 +41145,10 @@ declare namespace sap {
|
|
|
41010
41145
|
);
|
|
41011
41146
|
|
|
41012
41147
|
/**
|
|
41013
|
-
* Creates a new subclass of
|
|
41014
|
-
* in `oClassInfo`.
|
|
41148
|
+
* Creates a new subclass of class sap.ui.core.CustomData with name `sClassName` and enriches it with the
|
|
41149
|
+
* information contained in `oClassInfo`.
|
|
41015
41150
|
*
|
|
41016
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend
|
|
41151
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
41017
41152
|
*
|
|
41018
41153
|
*
|
|
41019
41154
|
* @returns Created class / constructor function
|
|
@@ -41028,12 +41163,13 @@ declare namespace sap {
|
|
|
41028
41163
|
*/
|
|
41029
41164
|
oClassInfo?: sap.ClassInfo<T, sap.ui.core.CustomData>,
|
|
41030
41165
|
/**
|
|
41031
|
-
* Constructor function for the metadata object; if not given, it defaults to
|
|
41166
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
41167
|
+
* used by this class
|
|
41032
41168
|
*/
|
|
41033
41169
|
FNMetaImpl?: Function
|
|
41034
41170
|
): Function;
|
|
41035
41171
|
/**
|
|
41036
|
-
* Returns a metadata object for class
|
|
41172
|
+
* Returns a metadata object for class sap.ui.core.CustomData.
|
|
41037
41173
|
*
|
|
41038
41174
|
*
|
|
41039
41175
|
* @returns Metadata object describing this class
|
|
@@ -41605,8 +41741,10 @@ declare namespace sap {
|
|
|
41605
41741
|
*/
|
|
41606
41742
|
oFocusInfo: {
|
|
41607
41743
|
/**
|
|
41608
|
-
*
|
|
41609
|
-
*
|
|
41744
|
+
* if it's set to true, the focused element won't be shifted into the viewport if it's not completely visible
|
|
41745
|
+
* before the focus is set
|
|
41746
|
+
*
|
|
41747
|
+
* @since 1.60
|
|
41610
41748
|
*/
|
|
41611
41749
|
preventScroll?: boolean;
|
|
41612
41750
|
}
|
|
@@ -41891,12 +42029,16 @@ declare namespace sap {
|
|
|
41891
42029
|
*/
|
|
41892
42030
|
oFocusInfo?: {
|
|
41893
42031
|
/**
|
|
41894
|
-
*
|
|
41895
|
-
*
|
|
42032
|
+
* if it's set to true, the focused element won't be shifted into the viewport if it's not completely visible
|
|
42033
|
+
* before the focus is set
|
|
42034
|
+
*
|
|
42035
|
+
* @since 1.60
|
|
41896
42036
|
*/
|
|
41897
42037
|
preventScroll?: boolean;
|
|
41898
42038
|
/**
|
|
41899
|
-
* Further control-specific setting of the focus target within the control
|
|
42039
|
+
* Further control-specific setting of the focus target within the control
|
|
42040
|
+
*
|
|
42041
|
+
* @since 1.98
|
|
41900
42042
|
*/
|
|
41901
42043
|
targetInfo?: any;
|
|
41902
42044
|
}
|
|
@@ -59330,10 +59472,9 @@ declare namespace sap {
|
|
|
59330
59472
|
*/
|
|
59331
59473
|
showNumber?: boolean;
|
|
59332
59474
|
/**
|
|
59333
|
-
* The style of format.
|
|
59334
|
-
*
|
|
59335
|
-
*
|
|
59336
|
-
* or the `precision` option itself.
|
|
59475
|
+
* The style of format. When set to `short` or `long`, numbers are formatted into the `short` form only.
|
|
59476
|
+
* When this option is set, the default value of the `precision` option is set to `2`. This can be changed
|
|
59477
|
+
* by setting either `min/maxFractionDigits`, `decimals`, `shortDecimals`, or the `precision` option itself.
|
|
59337
59478
|
*/
|
|
59338
59479
|
style?: "short" | "long" | "standard";
|
|
59339
59480
|
/**
|
|
@@ -59468,10 +59609,9 @@ declare namespace sap {
|
|
|
59468
59609
|
*/
|
|
59469
59610
|
showNumber?: boolean;
|
|
59470
59611
|
/**
|
|
59471
|
-
* The style of format.
|
|
59472
|
-
*
|
|
59473
|
-
*
|
|
59474
|
-
* or the `precision` option itself.
|
|
59612
|
+
* The style of format. When set to `short` or `long`, numbers are formatted into compact forms. When this
|
|
59613
|
+
* option is set, the default value of the `precision` option is set to `2`. This can be changed by setting
|
|
59614
|
+
* either `min/maxFractionDigits`, `decimals`, `shortDecimals`, or the `precision` option itself.
|
|
59475
59615
|
*/
|
|
59476
59616
|
style?: "short" | "long" | "standard";
|
|
59477
59617
|
/**
|
|
@@ -65227,8 +65367,8 @@ declare namespace sap {
|
|
|
65227
65367
|
* (for example due to a filter), and the group ID must not have {@link sap.ui.model.odata.v4.SubmitMode.API}.
|
|
65228
65368
|
* Such a deletion is not a pending change.
|
|
65229
65369
|
*
|
|
65230
|
-
* When using data aggregation without `groupLevels`, single entities can be deleted (
|
|
65231
|
-
*
|
|
65370
|
+
* When using data aggregation without `groupLevels`, single entities can be deleted (since 1.151.0, see
|
|
65371
|
+
* {@link #isAggregated}). The same restrictions as for a recursive hierarchy apply.
|
|
65232
65372
|
* See:
|
|
65233
65373
|
* #hasPendingChanges
|
|
65234
65374
|
* #resetChanges
|
|
@@ -65806,7 +65946,7 @@ declare namespace sap {
|
|
|
65806
65946
|
*
|
|
65807
65947
|
* When using data aggregation but no recursive hierarchy, and without `groupLevels` or `"grandTotal like
|
|
65808
65948
|
* 1.84"` (see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}), this context can also represent
|
|
65809
|
-
* a single entity (see {@link #isAggregated},
|
|
65949
|
+
* a single entity (see {@link #isAggregated}, since 1.151.0).
|
|
65810
65950
|
* See:
|
|
65811
65951
|
* sap.ui.model.odata.v4.ODataContextBinding#getBoundContext
|
|
65812
65952
|
* sap.ui.model.odata.v4.ODataContextBinding#invoke
|
|
@@ -65890,8 +66030,8 @@ declare namespace sap {
|
|
|
65890
66030
|
*
|
|
65891
66031
|
* Note: This is only supported if the model uses the `autoExpandSelect` parameter.
|
|
65892
66032
|
*
|
|
65893
|
-
* Note: This can be used for single entities in a data aggregation scenario (
|
|
65894
|
-
*
|
|
66033
|
+
* Note: This can be used for single entities in a data aggregation scenario (since 1.151.0), see {@link #isAggregated}.
|
|
66034
|
+
* Such a kept-alive context
|
|
65895
66035
|
* can be used as a binding context, can be used for updating data (see {@link #setProperty}),
|
|
65896
66036
|
* can be refreshed (see {@link #refresh} and {@link #requestRefresh}), is refreshed when its list
|
|
65897
66037
|
* binding's {@link sap.ui.model.odata.v4.ODataListBinding#refresh}) is called, and is refreshed when
|
|
@@ -66387,14 +66527,20 @@ declare namespace sap {
|
|
|
66387
66527
|
* has to be bi-directional. Also a navigation property binding has to be available for the entity set of
|
|
66388
66528
|
* the first segment in the parent context's path. **Note:** Ensure your service implementation returns
|
|
66389
66529
|
* all selected key properties; otherwise, no return value context is provided.
|
|
66530
|
+
* Since 1.151.0, if the operation returns an "Edm.Stream" and the group ID '$stream' is used, the promise
|
|
66531
|
+
* resolves with a partial `Response` object containing only:
|
|
66532
|
+
* `body`: The response's `ReadableStream` `headers`: The response's `Headers` The promise
|
|
66533
|
+
* rejects if '$stream' is used with a wrong return type.
|
|
66390
66534
|
*/
|
|
66391
66535
|
invoke(
|
|
66392
66536
|
/**
|
|
66393
66537
|
* The group ID to be used for the request; if not specified, the group ID for this binding is used, see
|
|
66394
66538
|
* {@link #constructor} and {@link #getGroupId}. To use the update group ID, see {@link #getUpdateGroupId},
|
|
66395
66539
|
* it needs to be specified explicitly. Valid values are `undefined`, '$auto', '$auto.*', '$direct', '$single',
|
|
66396
|
-
* or application group IDs as specified in {@link sap.ui.model.odata.v4.ODataModel}. If '$single'
|
|
66397
|
-
* the request will be sent as fast as '$direct', but wrapped in a batch request like '$auto' (since
|
|
66540
|
+
* '$stream', or application group IDs as specified in {@link sap.ui.model.odata.v4.ODataModel}. If '$single'
|
|
66541
|
+
* is used, the request will be sent as fast as '$direct', but wrapped in a batch request like '$auto' (since
|
|
66542
|
+
* 1.121.0). If '$stream' is used with an operation that returns "Edm.Stream", the stream response's body
|
|
66543
|
+
* and headers can be retrieved (since 1.151.0).
|
|
66398
66544
|
*/
|
|
66399
66545
|
sGroupId?: string,
|
|
66400
66546
|
/**
|
|
@@ -66427,7 +66573,15 @@ declare namespace sap {
|
|
|
66427
66573
|
* binding parameter is set to `true`. Since 1.97.0.
|
|
66428
66574
|
*/
|
|
66429
66575
|
bReplaceWithRVC?: boolean
|
|
66430
|
-
): Promise<
|
|
66576
|
+
): Promise<
|
|
66577
|
+
| sap.ui.model.odata.v4.Context
|
|
66578
|
+
| {
|
|
66579
|
+
body: ReadableStream;
|
|
66580
|
+
|
|
66581
|
+
headers: Headers;
|
|
66582
|
+
}
|
|
66583
|
+
| undefined
|
|
66584
|
+
>;
|
|
66431
66585
|
/**
|
|
66432
66586
|
* Method not supported
|
|
66433
66587
|
*
|
|
@@ -66870,7 +67024,7 @@ declare namespace sap {
|
|
|
66870
67024
|
* which can be used for {@link #getKeepAliveContext}.
|
|
66871
67025
|
*
|
|
66872
67026
|
* When using data aggregation without `groupLevels` and without `"grandTotal like 1.84"` (see {@link #setAggregation}),
|
|
66873
|
-
* single entities can be created (
|
|
67027
|
+
* single entities can be created (since 1.151.0, see {@link sap.ui.model.odata.v4.Context#isAggregated}).
|
|
66874
67028
|
*
|
|
66875
67029
|
* @since 1.43.0
|
|
66876
67030
|
*
|
|
@@ -68506,7 +68660,9 @@ declare namespace sap {
|
|
|
68506
68660
|
*
|
|
68507
68661
|
* For fixed values, only one mapping is expected and the qualifier is ignored. The mapping is available
|
|
68508
68662
|
* with key "" and has an additional property "$qualifier" which is the original qualifier (useful in case
|
|
68509
|
-
* of "ValueListRelevantQualifiers" annotation).
|
|
68663
|
+
* of "ValueListRelevantQualifiers" annotation). Since 1.151.0, multiple mappings are supported in case
|
|
68664
|
+
* of "ValueListRelevantQualifiers" annotation but missing `oContext` instance; in this case qualifiers
|
|
68665
|
+
* are unchanged.
|
|
68510
68666
|
*
|
|
68511
68667
|
* The promise is rejected with an error if there is no value list information available for the given property
|
|
68512
68668
|
* path. Use {@link #getValueListType} to determine if value list information exists. It is also rejected
|
|
@@ -68520,7 +68676,8 @@ declare namespace sap {
|
|
|
68520
68676
|
* There is a reference, but the referenced service does not contain mappings for the property. The
|
|
68521
68677
|
* referenced service contains annotation targets in the namespace of the data service that are not mappings
|
|
68522
68678
|
* for the property. Two different referenced services contain a mapping using the same qualifier.
|
|
68523
|
-
* A service is referenced twice. There are multiple mappings for a fixed value list
|
|
68679
|
+
* A service is referenced twice. There are multiple mappings for a fixed value list (with given
|
|
68680
|
+
* `oContext` instance or missing "ValueListRelevantQualifiers" annotation). A `com.sap.vocabularies.Common.v1.ValueList`
|
|
68524
68681
|
* annotation in a referenced service has the property `CollectionRoot` or `SearchSupported`.
|
|
68525
68682
|
*/
|
|
68526
68683
|
requestValueListInfo(
|
|
@@ -76554,10 +76711,9 @@ declare namespace sap {
|
|
|
76554
76711
|
*/
|
|
76555
76712
|
source?: object;
|
|
76556
76713
|
/**
|
|
76557
|
-
* The style of format.
|
|
76558
|
-
*
|
|
76559
|
-
*
|
|
76560
|
-
* or the `precision` option itself.
|
|
76714
|
+
* The style of format. When set to `short` or `long`, numbers are formatted into the `short` form only.
|
|
76715
|
+
* When this option is set, the default value of the `precision` option is set to `2`. This can be changed
|
|
76716
|
+
* by setting either `min/maxFractionDigits`, `decimals`, `shortDecimals`, or the `precision` option itself.
|
|
76561
76717
|
*/
|
|
76562
76718
|
style?: "short" | "long" | "standard";
|
|
76563
76719
|
/**
|
|
@@ -76698,10 +76854,9 @@ declare namespace sap {
|
|
|
76698
76854
|
*/
|
|
76699
76855
|
source?: object;
|
|
76700
76856
|
/**
|
|
76701
|
-
* The style of format.
|
|
76702
|
-
*
|
|
76703
|
-
*
|
|
76704
|
-
* or the `precision` option itself.
|
|
76857
|
+
* The style of format. When set to `short` or `long`, numbers are formatted into compact forms. When this
|
|
76858
|
+
* option is set, the default value of the `precision` option is set to `2`. This can be changed by setting
|
|
76859
|
+
* either `min/maxFractionDigits`, `decimals`, `shortDecimals`, or the `precision` option itself.
|
|
76705
76860
|
*/
|
|
76706
76861
|
style?: "short" | "long" | "standard";
|
|
76707
76862
|
};
|
|
@@ -84885,6 +85040,141 @@ declare namespace sap {
|
|
|
84885
85040
|
| `{${string}}`;
|
|
84886
85041
|
}
|
|
84887
85042
|
|
|
85043
|
+
/**
|
|
85044
|
+
* Checks if a control has a defined ancestor.
|
|
85045
|
+
*
|
|
85046
|
+
* As of version 1.72, it is available as a declarative matcher with the following syntax:
|
|
85047
|
+
* ```javascript
|
|
85048
|
+
* {
|
|
85049
|
+
* ancestor: "object" // where "object" is a declarative matcher for the ancestor
|
|
85050
|
+
* }
|
|
85051
|
+
* ```
|
|
85052
|
+
* The declarative matcher for Ancestor does not support the **bDirect** parameter.
|
|
85053
|
+
*
|
|
85054
|
+
* @since 1.27
|
|
85055
|
+
*/
|
|
85056
|
+
interface Ancestor {
|
|
85057
|
+
new (
|
|
85058
|
+
/**
|
|
85059
|
+
* The ancestor control to check, if undefined, validates every control to true.
|
|
85060
|
+
* Can be a control or a control ID
|
|
85061
|
+
*/
|
|
85062
|
+
vAncestor: object | string,
|
|
85063
|
+
/**
|
|
85064
|
+
* Specifies if the ancestor should be a direct ancestor (parent)
|
|
85065
|
+
*/
|
|
85066
|
+
bDirect?: boolean
|
|
85067
|
+
): (p1: sap.ui.core.Element) => boolean;
|
|
85068
|
+
}
|
|
85069
|
+
|
|
85070
|
+
/**
|
|
85071
|
+
* Checks if a control has a given descendant.
|
|
85072
|
+
*
|
|
85073
|
+
* As of version 1.72, it is available as a declarative matcher with the following syntax:
|
|
85074
|
+
* ```javascript
|
|
85075
|
+
* {
|
|
85076
|
+
* descendant: "object" // where "object" is a declarative matcher for the descendant
|
|
85077
|
+
* }
|
|
85078
|
+
* ```
|
|
85079
|
+
* The declarative matcher for Descendant does not support the **bDirect** parameter.
|
|
85080
|
+
*
|
|
85081
|
+
* @since 1.66
|
|
85082
|
+
*/
|
|
85083
|
+
interface Descendant {
|
|
85084
|
+
new (
|
|
85085
|
+
/**
|
|
85086
|
+
* The descendant control to check. If undefined, it validates every control to true.
|
|
85087
|
+
* Can be a control or a control ID
|
|
85088
|
+
*/
|
|
85089
|
+
vDescendantControl: object | string,
|
|
85090
|
+
/**
|
|
85091
|
+
* Specifies if the descendant should be a direct child
|
|
85092
|
+
*/
|
|
85093
|
+
bDirect?: boolean
|
|
85094
|
+
): (p1: sap.ui.core.Element) => boolean;
|
|
85095
|
+
}
|
|
85096
|
+
|
|
85097
|
+
/**
|
|
85098
|
+
* Checks if a control's properties have the provided values - all properties have to match their values.
|
|
85099
|
+
*
|
|
85100
|
+
* As of version 1.72, it is available as a declarative matcher with the following syntax:
|
|
85101
|
+
* ```javascript
|
|
85102
|
+
* {
|
|
85103
|
+
* properties: {
|
|
85104
|
+
* propertyName: "propertyValue"
|
|
85105
|
+
* }
|
|
85106
|
+
* }
|
|
85107
|
+
* ```
|
|
85108
|
+
* As of version 1.74, you can use regular expressions in declarative syntax:
|
|
85109
|
+
* ```javascript
|
|
85110
|
+
* {
|
|
85111
|
+
* properties: {
|
|
85112
|
+
* propertyName: {
|
|
85113
|
+
* regex: {
|
|
85114
|
+
* source: "propertyValue$",
|
|
85115
|
+
* flags: "ig"
|
|
85116
|
+
* }
|
|
85117
|
+
* }
|
|
85118
|
+
* }
|
|
85119
|
+
* }
|
|
85120
|
+
* ```
|
|
85121
|
+
*
|
|
85122
|
+
*
|
|
85123
|
+
* @since 1.27
|
|
85124
|
+
*/
|
|
85125
|
+
interface Properties {
|
|
85126
|
+
new (
|
|
85127
|
+
/**
|
|
85128
|
+
* The object with the properties to be checked.
|
|
85129
|
+
* If a value is a RegExp, it tests the RegExp with the value. RegExp only works with string properties.
|
|
85130
|
+
*/
|
|
85131
|
+
oProperties: object
|
|
85132
|
+
): (p1: sap.ui.core.Element) => boolean;
|
|
85133
|
+
}
|
|
85134
|
+
|
|
85135
|
+
/**
|
|
85136
|
+
* Checks if a control has a defined sibling. Available as a declarative matcher with the following syntax:
|
|
85137
|
+
*
|
|
85138
|
+
* ```javascript
|
|
85139
|
+
* {
|
|
85140
|
+
* sibling: "object" // where "object" is a declarative matcher for the sibling
|
|
85141
|
+
* }
|
|
85142
|
+
* ```
|
|
85143
|
+
* The declarative matcher for Sibling does not support **oOptions** parameters.
|
|
85144
|
+
*
|
|
85145
|
+
* @since 1.91
|
|
85146
|
+
*/
|
|
85147
|
+
interface Sibling {
|
|
85148
|
+
new (
|
|
85149
|
+
/**
|
|
85150
|
+
* the sibling control to check. Can be a control or a control ID. If undefined, the result will always
|
|
85151
|
+
* be true.
|
|
85152
|
+
*/
|
|
85153
|
+
vSibling: object | string,
|
|
85154
|
+
/**
|
|
85155
|
+
* Specifies how to match
|
|
85156
|
+
*/
|
|
85157
|
+
oOptions?: {
|
|
85158
|
+
/**
|
|
85159
|
+
* Whether to match by relationships of the DOM references, false by default
|
|
85160
|
+
*/
|
|
85161
|
+
useDom: boolean;
|
|
85162
|
+
/**
|
|
85163
|
+
* Match only if control's DOM reference is before the sibling's in the DOM tree
|
|
85164
|
+
*/
|
|
85165
|
+
prev: boolean;
|
|
85166
|
+
/**
|
|
85167
|
+
* Match only if control's DOM reference is after the sibling's in the DOM tree
|
|
85168
|
+
*/
|
|
85169
|
+
next: boolean;
|
|
85170
|
+
/**
|
|
85171
|
+
* How many levels of ancestors to search
|
|
85172
|
+
*/
|
|
85173
|
+
level: boolean;
|
|
85174
|
+
}
|
|
85175
|
+
): (p1: sap.ui.core.Element) => boolean;
|
|
85176
|
+
}
|
|
85177
|
+
|
|
84888
85178
|
/**
|
|
84889
85179
|
* Checks if an aggregation contains at least one item that has a property set to a certain value.
|
|
84890
85180
|
*
|
|
@@ -85360,32 +85650,6 @@ declare namespace sap {
|
|
|
85360
85650
|
sName: string
|
|
85361
85651
|
): this;
|
|
85362
85652
|
}
|
|
85363
|
-
/**
|
|
85364
|
-
* Checks if a control has a defined ancestor.
|
|
85365
|
-
*
|
|
85366
|
-
* As of version 1.72, it is available as a declarative matcher with the following syntax:
|
|
85367
|
-
* ```javascript
|
|
85368
|
-
* {
|
|
85369
|
-
* ancestor: "object" // where "object" is a declarative matcher for the ancestor
|
|
85370
|
-
* }
|
|
85371
|
-
* ```
|
|
85372
|
-
* The declarative matcher for Ancestor does not support the **bDirect** parameter.
|
|
85373
|
-
*
|
|
85374
|
-
* @since 1.27
|
|
85375
|
-
*/
|
|
85376
|
-
class Ancestor {
|
|
85377
|
-
constructor(
|
|
85378
|
-
/**
|
|
85379
|
-
* the ancestor control to check, if undefined, validates every control to true. Can be a control or a control
|
|
85380
|
-
* ID
|
|
85381
|
-
*/
|
|
85382
|
-
vAncestor: object | string,
|
|
85383
|
-
/**
|
|
85384
|
-
* specifies if the ancestor should be a direct ancestor (parent)
|
|
85385
|
-
*/
|
|
85386
|
-
bDirect?: boolean
|
|
85387
|
-
);
|
|
85388
|
-
}
|
|
85389
85653
|
/**
|
|
85390
85654
|
* Checks if a control has a binding context with the exact same binding path.
|
|
85391
85655
|
*
|
|
@@ -85594,32 +85858,6 @@ declare namespace sap {
|
|
|
85594
85858
|
oValue: any
|
|
85595
85859
|
): this;
|
|
85596
85860
|
}
|
|
85597
|
-
/**
|
|
85598
|
-
* Checks if a control has a given descendant.
|
|
85599
|
-
*
|
|
85600
|
-
* As of version 1.72, it is available as a declarative matcher with the following syntax:
|
|
85601
|
-
* ```javascript
|
|
85602
|
-
* {
|
|
85603
|
-
* descendant: "object" // where "object" is a declarative matcher for the descendant
|
|
85604
|
-
* }
|
|
85605
|
-
* ```
|
|
85606
|
-
* The declarative matcher for Descendant does not support the **bDirect** parameter.
|
|
85607
|
-
*
|
|
85608
|
-
* @since 1.66
|
|
85609
|
-
*/
|
|
85610
|
-
class Descendant {
|
|
85611
|
-
constructor(
|
|
85612
|
-
/**
|
|
85613
|
-
* The descendant control to check. If undefined, it validates every control to true. Can be a control or
|
|
85614
|
-
* a control ID
|
|
85615
|
-
*/
|
|
85616
|
-
vDescendantControl: object | string,
|
|
85617
|
-
/**
|
|
85618
|
-
* specifies if the descendant should be a direct child
|
|
85619
|
-
*/
|
|
85620
|
-
bDirect?: boolean
|
|
85621
|
-
);
|
|
85622
|
-
}
|
|
85623
85861
|
/**
|
|
85624
85862
|
* The I18NText matcher checks if a control property has the same value as a text from an I18N file.
|
|
85625
85863
|
*
|
|
@@ -86172,53 +86410,6 @@ declare namespace sap {
|
|
|
86172
86410
|
oControl: sap.ui.core.Control
|
|
86173
86411
|
): boolean;
|
|
86174
86412
|
}
|
|
86175
|
-
/**
|
|
86176
|
-
* Checks if a control's properties have the provided values - all properties have to match their values.
|
|
86177
|
-
*
|
|
86178
|
-
* As of version 1.72, it is available as a declarative matcher with the following syntax:
|
|
86179
|
-
* ```javascript
|
|
86180
|
-
* {
|
|
86181
|
-
* properties: {
|
|
86182
|
-
* propertyName: "propertyValue"
|
|
86183
|
-
* }
|
|
86184
|
-
* }
|
|
86185
|
-
* ```
|
|
86186
|
-
* As of version 1.74, you can use regular expressions in declarative syntax:
|
|
86187
|
-
* ```javascript
|
|
86188
|
-
* {
|
|
86189
|
-
* properties: {
|
|
86190
|
-
* propertyName: {
|
|
86191
|
-
* regex: {
|
|
86192
|
-
* source: "propertyValue$",
|
|
86193
|
-
* flags: "ig"
|
|
86194
|
-
* }
|
|
86195
|
-
* }
|
|
86196
|
-
* }
|
|
86197
|
-
* }
|
|
86198
|
-
* ```
|
|
86199
|
-
*
|
|
86200
|
-
*
|
|
86201
|
-
* @since 1.27
|
|
86202
|
-
*/
|
|
86203
|
-
class Properties {
|
|
86204
|
-
constructor(
|
|
86205
|
-
/**
|
|
86206
|
-
* the object with the properties to be checked. Example:
|
|
86207
|
-
* ```javascript
|
|
86208
|
-
*
|
|
86209
|
-
* // Would filter for an enabled control with the text "Accept".
|
|
86210
|
-
* new Properties({
|
|
86211
|
-
* // The property text has the exact value "Accept"
|
|
86212
|
-
* text: "Accept",
|
|
86213
|
-
* // The property enabled also has to be true
|
|
86214
|
-
* enabled: true
|
|
86215
|
-
* })
|
|
86216
|
-
* ```
|
|
86217
|
-
* If the value is a RegExp, it tests the RegExp with the value. RegExp only works with string properties.
|
|
86218
|
-
*/
|
|
86219
|
-
oProperties: object
|
|
86220
|
-
);
|
|
86221
|
-
}
|
|
86222
86413
|
/**
|
|
86223
86414
|
* Checks if a property has the exact same value.
|
|
86224
86415
|
*
|
|
@@ -86345,48 +86536,6 @@ declare namespace sap {
|
|
|
86345
86536
|
oValue: any
|
|
86346
86537
|
): this;
|
|
86347
86538
|
}
|
|
86348
|
-
/**
|
|
86349
|
-
* Checks if a control has a defined sibling. Available as a declarative matcher with the following syntax:
|
|
86350
|
-
*
|
|
86351
|
-
* ```javascript
|
|
86352
|
-
* {
|
|
86353
|
-
* sibling: "object" // where "object" is a declarative matcher for the sibling
|
|
86354
|
-
* }
|
|
86355
|
-
* ```
|
|
86356
|
-
* The declarative matcher for Sibling does not support **oOptions** parameters.
|
|
86357
|
-
*
|
|
86358
|
-
* @since 1.91
|
|
86359
|
-
*/
|
|
86360
|
-
class Sibling {
|
|
86361
|
-
constructor(
|
|
86362
|
-
/**
|
|
86363
|
-
* the sibling control to check. Can be a control or a control ID. If undefined, the result will always
|
|
86364
|
-
* be true.
|
|
86365
|
-
*/
|
|
86366
|
-
vSibling: object | string,
|
|
86367
|
-
/**
|
|
86368
|
-
* specifies how to match
|
|
86369
|
-
*/
|
|
86370
|
-
oOptions?: {
|
|
86371
|
-
/**
|
|
86372
|
-
* whether to match by relationships of the DOM references. false by default
|
|
86373
|
-
*/
|
|
86374
|
-
useDom: boolean;
|
|
86375
|
-
/**
|
|
86376
|
-
* match only if control's DOM reference is before the sibling's in the DOM tree
|
|
86377
|
-
*/
|
|
86378
|
-
prev: boolean;
|
|
86379
|
-
/**
|
|
86380
|
-
* match only if control's DOM reference is after the sibling's in the DOM tree,
|
|
86381
|
-
*/
|
|
86382
|
-
next: boolean;
|
|
86383
|
-
/**
|
|
86384
|
-
* how many levels of ancestors to search
|
|
86385
|
-
*/
|
|
86386
|
-
level: boolean;
|
|
86387
|
-
}
|
|
86388
|
-
);
|
|
86389
|
-
}
|
|
86390
86539
|
|
|
86391
86540
|
/**
|
|
86392
86541
|
* a declarative matcher definition for {@link sap.ui.test.matchers.Ancestor}
|
|
@@ -88294,6 +88443,8 @@ declare namespace sap {
|
|
|
88294
88443
|
|
|
88295
88444
|
"sap/base/strings/formatMessage": undefined;
|
|
88296
88445
|
|
|
88446
|
+
"sap/base/strings/highlightText": undefined;
|
|
88447
|
+
|
|
88297
88448
|
"sap/base/strings/hyphenate": undefined;
|
|
88298
88449
|
|
|
88299
88450
|
"sap/base/strings/whitespaceReplacer": undefined;
|
|
@@ -88644,6 +88795,8 @@ declare namespace sap {
|
|
|
88644
88795
|
|
|
88645
88796
|
"sap/ui/core/tmpl/TemplateControl": undefined;
|
|
88646
88797
|
|
|
88798
|
+
"sap/ui/core/tooltip/TooltipEnablement": undefined;
|
|
88799
|
+
|
|
88647
88800
|
"sap/ui/core/TooltipBase": undefined;
|
|
88648
88801
|
|
|
88649
88802
|
"sap/ui/core/UIArea": undefined;
|