@sapui5/ts-types-esm 1.134.1 → 1.135.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.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 +1 -1
- package/types/sap.f.d.ts +2 -8
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +5 -5
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +807 -293
- package/types/sap.fe.navigation.d.ts +1 -1
- 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 +6 -4
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +73 -15
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +330 -83
- 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 +248 -1229
- package/types/sap.suite.ui.commons.d.ts +72 -1
- package/types/sap.suite.ui.generic.template.d.ts +8 -2
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +215 -19
- 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 +90 -18
- package/types/sap.ui.core.d.ts +160 -40
- 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 +14 -6
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +2 -4
- package/types/sap.ui.layout.d.ts +14 -13
- package/types/sap.ui.mdc.d.ts +26 -6
- package/types/sap.ui.richtexteditor.d.ts +39 -1
- package/types/sap.ui.rta.d.ts +31 -5
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +30 -16
- package/types/sap.ui.table.d.ts +10 -18
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +32 -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 +11 -72
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +18 -16
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +10 -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.135.0
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -1516,7 +1516,8 @@ declare module "sap/base/i18n/ResourceBundle" {
|
|
|
1516
1516
|
enhanceWith?: Configuration[];
|
|
1517
1517
|
/**
|
|
1518
1518
|
* Whether the first bundle should be loaded asynchronously Note: Fallback bundles loaded by {@link #getText }
|
|
1519
|
-
* are always loaded synchronously.
|
|
1519
|
+
* are always loaded synchronously. **As of version 1.135, synchronous loading is deprecated.** The `async`
|
|
1520
|
+
* parameter must have the value `true`.
|
|
1520
1521
|
*/
|
|
1521
1522
|
async?: boolean;
|
|
1522
1523
|
}
|
|
@@ -5187,6 +5188,20 @@ declare module "sap/ui/core/Theming" {
|
|
|
5187
5188
|
* @since 1.118.0
|
|
5188
5189
|
*/
|
|
5189
5190
|
notifyContentDensityChanged(): void;
|
|
5191
|
+
/**
|
|
5192
|
+
* Sets the favicon. The path must be relative to the current origin. Absolute URLs are not allowed.
|
|
5193
|
+
*
|
|
5194
|
+
* @since 1.135
|
|
5195
|
+
*
|
|
5196
|
+
* @returns A promise that resolves when the favicon has been set with undefined
|
|
5197
|
+
*/
|
|
5198
|
+
setFavicon(
|
|
5199
|
+
/**
|
|
5200
|
+
* A string containing a specific relative path to the favicon, 'true' to use a favicon from custom theme
|
|
5201
|
+
* or the default favicon in case no custom favicon is maintained, 'false' or undefined to disable the favicon
|
|
5202
|
+
*/
|
|
5203
|
+
vFavicon: string | boolean | undefined
|
|
5204
|
+
): Promise<undefined>;
|
|
5190
5205
|
/**
|
|
5191
5206
|
* Allows setting the theme name
|
|
5192
5207
|
*
|
|
@@ -11644,10 +11659,10 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
11644
11659
|
|
|
11645
11660
|
import Event from "sap/ui/base/Event";
|
|
11646
11661
|
|
|
11647
|
-
import Binding from "sap/ui/model/Binding";
|
|
11648
|
-
|
|
11649
11662
|
import Context from "sap/ui/model/Context";
|
|
11650
11663
|
|
|
11664
|
+
import Binding from "sap/ui/model/Binding";
|
|
11665
|
+
|
|
11651
11666
|
import ManagedObjectMetadata from "sap/ui/base/ManagedObjectMetadata";
|
|
11652
11667
|
|
|
11653
11668
|
import Model from "sap/ui/model/Model";
|
|
@@ -12472,6 +12487,9 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
12472
12487
|
*
|
|
12473
12488
|
* For more information on the `oBindingInfo.key` property and its usage, see {@link https://ui5.sap.com/#/topic/7cdff73f308b4b10bdf7d83b7aba72e7 Extended Change Detection}.
|
|
12474
12489
|
*
|
|
12490
|
+
* Providing sorters and/or filters as positional parameters is deprecated as of 1.135.0. Provide them as
|
|
12491
|
+
* part of a `BindingInfo` object instead.
|
|
12492
|
+
*
|
|
12475
12493
|
*
|
|
12476
12494
|
* @returns Returns `this` to allow method chaining
|
|
12477
12495
|
*/
|
|
@@ -12481,9 +12499,14 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
12481
12499
|
*/
|
|
12482
12500
|
sName: string,
|
|
12483
12501
|
/**
|
|
12484
|
-
*
|
|
12502
|
+
* A `BindingInfo` object or just the path, if no further properties are required
|
|
12485
12503
|
*/
|
|
12486
|
-
|
|
12504
|
+
vBindingInfo: AggregationBindingInfo | string,
|
|
12505
|
+
/**
|
|
12506
|
+
* The template to clone for each item in the aggregation; either a template `Element` or a factory function
|
|
12507
|
+
* must be given
|
|
12508
|
+
*/
|
|
12509
|
+
vTemplate?: ManagedObject | ((p1: string, p2: Context) => ManagedObject)
|
|
12487
12510
|
): this;
|
|
12488
12511
|
/**
|
|
12489
12512
|
* Bind the object to the referenced entity in the model, which is used as the binding context to resolve
|
|
@@ -12520,14 +12543,17 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
12520
12543
|
* Also see {@link https://ui5.sap.com/#/topic/91f05e8b6f4d1014b6dd926db0e91070 Context Binding} in the
|
|
12521
12544
|
* documentation.
|
|
12522
12545
|
*
|
|
12546
|
+
* As of 1.135, providing 'parameters' as positional parameter is deprecated. Provide them as part of a
|
|
12547
|
+
* `BindingInfo` object instead.
|
|
12548
|
+
*
|
|
12523
12549
|
*
|
|
12524
12550
|
* @returns Returns `this` to allow method chaining
|
|
12525
12551
|
*/
|
|
12526
12552
|
bindObject(
|
|
12527
12553
|
/**
|
|
12528
|
-
*
|
|
12554
|
+
* A `BindingInfo` object or just the path, if no further properties are required
|
|
12529
12555
|
*/
|
|
12530
|
-
|
|
12556
|
+
vBindingInfo: ObjectBindingInfo | string
|
|
12531
12557
|
): this;
|
|
12532
12558
|
/**
|
|
12533
12559
|
* Binds a property to the model.
|
|
@@ -12590,6 +12616,9 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
12590
12616
|
* Also see {@link https://ui5.sap.com/#/topic/91f0652b6f4d1014b6dd926db0e91070 Property Binding} in the
|
|
12591
12617
|
* documentation.
|
|
12592
12618
|
*
|
|
12619
|
+
* Providing a type, formatter, or bindingMode as a positional parameter is deprecated as of 1.135.0. Provide
|
|
12620
|
+
* them as part of a `BindingInfo` object instead.
|
|
12621
|
+
*
|
|
12593
12622
|
*
|
|
12594
12623
|
* @returns Returns `this` to allow method chaining
|
|
12595
12624
|
*/
|
|
@@ -12600,9 +12629,9 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
12600
12629
|
*/
|
|
12601
12630
|
sName: string,
|
|
12602
12631
|
/**
|
|
12603
|
-
*
|
|
12632
|
+
* A `BindingInfo` object or just the path, if no further properties are required
|
|
12604
12633
|
*/
|
|
12605
|
-
|
|
12634
|
+
vBindingInfo: PropertyBindingInfo | string
|
|
12606
12635
|
): this;
|
|
12607
12636
|
/**
|
|
12608
12637
|
* Clones a tree of objects starting with the object on which clone is called first (root object).
|
|
@@ -18653,6 +18682,8 @@ declare module "sap/ui/core/Component" {
|
|
|
18653
18682
|
* The properties can also be defined in the descriptor. These properties can be overwritten by the local
|
|
18654
18683
|
* properties of that function.
|
|
18655
18684
|
*
|
|
18685
|
+
* Synchronous Component creation is deprecated as of 1.135.0.
|
|
18686
|
+
*
|
|
18656
18687
|
* @since 1.47.0
|
|
18657
18688
|
*
|
|
18658
18689
|
* @returns Component instance or Promise which will be resolved with the component instance (defaults to
|
|
@@ -26998,7 +27029,7 @@ declare module "sap/ui/core/Element" {
|
|
|
26998
27029
|
static registry: registry;
|
|
26999
27030
|
|
|
27000
27031
|
/**
|
|
27001
|
-
* Returns the nearest
|
|
27032
|
+
* Returns the nearest {@link sap.ui.core.Element UI5 Element} that wraps the given DOM element.
|
|
27002
27033
|
*
|
|
27003
27034
|
* A DOM element or a CSS selector is accepted as a given parameter. When a CSS selector is given as parameter,
|
|
27004
27035
|
* only the first DOM element that matches the CSS selector is taken to find the nearest UI5 Element that
|
|
@@ -27285,13 +27316,16 @@ declare module "sap/ui/core/Element" {
|
|
|
27285
27316
|
*/
|
|
27286
27317
|
bindElement(
|
|
27287
27318
|
/**
|
|
27288
|
-
*
|
|
27319
|
+
* A `BindingInfo` object or just the path, if no further properties are required
|
|
27289
27320
|
*/
|
|
27290
|
-
|
|
27321
|
+
vBindingInfo: ObjectBindingInfo | string,
|
|
27291
27322
|
/**
|
|
27292
27323
|
* map of additional parameters for this binding. Only taken into account when `vPath` is a string. In that
|
|
27293
27324
|
* case it corresponds to `mParameters` of {@link sap.ui.base.ManagedObject.ObjectBindingInfo}. The supported
|
|
27294
27325
|
* parameters are listed in the corresponding model-specific implementation of `sap.ui.model.ContextBinding`.
|
|
27326
|
+
*
|
|
27327
|
+
* Providing 'parameters' as positional parameter is deprecated as of 1.135.0. Provide them as part of a
|
|
27328
|
+
* `BindingInfo` object instead.
|
|
27295
27329
|
*/
|
|
27296
27330
|
mParameters?: object
|
|
27297
27331
|
): this;
|
|
@@ -30769,15 +30803,18 @@ declare module "sap/ui/core/Fragment" {
|
|
|
30769
30803
|
*/
|
|
30770
30804
|
mOptions: {
|
|
30771
30805
|
/**
|
|
30772
|
-
*
|
|
30773
|
-
* which can be loaded via the module system
|
|
30774
|
-
*
|
|
30775
|
-
*
|
|
30776
|
-
*
|
|
30806
|
+
* Must be provided if no `definition` parameter is given. The fragment name must correspond to an XML fragment
|
|
30807
|
+
* which can be loaded via the module system and must contain the fragment definition. It can be specified
|
|
30808
|
+
* either in dot notation (fragmentName + suffix `.fragment.<typeExtension>`) or, for JS fragments,
|
|
30809
|
+
* in module name syntax (`module:my/sample/AsyncButton`). If `mOptions.controller` is supplied, the (event
|
|
30810
|
+
* handler) methods referenced in the fragment will be called on that controller. Note that fragments may
|
|
30811
|
+
* require a controller to be given and certain methods to be implemented by it.
|
|
30777
30812
|
*/
|
|
30778
30813
|
name?: string;
|
|
30779
30814
|
/**
|
|
30780
|
-
* the fragment type, e.g. `"XML"`, `"JS"`, or `"HTML"` (type `"HTML"` is deprecated). Default is `"XML"
|
|
30815
|
+
* the fragment type, e.g. `"XML"`, `"JS"`, or `"HTML"` (type `"HTML"` is deprecated). Default is `"XML"`.
|
|
30816
|
+
* If the fragment name is given in module name syntax (e.g., `module:my/sample/AsyncButton`) the type must
|
|
30817
|
+
* be omitted.
|
|
30781
30818
|
*/
|
|
30782
30819
|
type?: string;
|
|
30783
30820
|
/**
|
|
@@ -34486,15 +34523,16 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
34486
34523
|
sCurrencySymbol: string
|
|
34487
34524
|
): string;
|
|
34488
34525
|
/**
|
|
34489
|
-
* Returns the number of digits of the
|
|
34526
|
+
* Returns the number of digits of the given currency considering a custom currency first and falling back
|
|
34527
|
+
* to the CLDR data if no custom currency is defined.
|
|
34490
34528
|
*
|
|
34491
34529
|
* @since 1.21.1
|
|
34492
34530
|
*
|
|
34493
|
-
* @returns
|
|
34531
|
+
* @returns The number of digits for the given currency
|
|
34494
34532
|
*/
|
|
34495
34533
|
getCurrencyDigits(
|
|
34496
34534
|
/**
|
|
34497
|
-
* ISO 4217 currency code
|
|
34535
|
+
* The ISO 4217 currency code
|
|
34498
34536
|
*/
|
|
34499
34537
|
sCurrency: string
|
|
34500
34538
|
): int;
|
|
@@ -35335,14 +35373,14 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
35335
35373
|
* @since 1.54
|
|
35336
35374
|
*
|
|
35337
35375
|
* @returns The unit format pattern for the given unit name as a map from a pattern key like `"unitPattern-count-other"`
|
|
35338
|
-
* to the corresponding pattern
|
|
35376
|
+
* to the corresponding pattern or `undefined` if no corresponding pattern is found
|
|
35339
35377
|
*/
|
|
35340
35378
|
getUnitFormat(
|
|
35341
35379
|
/**
|
|
35342
35380
|
* unit name, e.g. "duration-hour"
|
|
35343
35381
|
*/
|
|
35344
35382
|
sUnit: string
|
|
35345
|
-
): Record<string, string
|
|
35383
|
+
): Record<string, string> | undefined;
|
|
35346
35384
|
/**
|
|
35347
35385
|
* Retrieves unit format patterns for all units see {@link #getResolvedUnitFormat} for an example of a unit
|
|
35348
35386
|
* format pattern.
|
|
@@ -36795,7 +36833,8 @@ declare module "sap/ui/core/mvc/Controller" {
|
|
|
36795
36833
|
mOptions: {
|
|
36796
36834
|
/**
|
|
36797
36835
|
* The controller name that corresponds to a JS module that can be loaded via the module system (mOptions.name
|
|
36798
|
-
* + suffix ".controller.js")
|
|
36836
|
+
* + suffix ".controller.js"). It can be specified either in dot notation (`my.sample.Controller`) or in
|
|
36837
|
+
* module name syntax (`module:my/sample/Controller`).
|
|
36799
36838
|
*/
|
|
36800
36839
|
name: string;
|
|
36801
36840
|
}
|
|
@@ -36999,8 +37038,9 @@ declare module "sap/ui/core/mvc/Controller" {
|
|
|
36999
37038
|
*/
|
|
37000
37039
|
mOptions: {
|
|
37001
37040
|
/**
|
|
37002
|
-
* The
|
|
37003
|
-
* + suffix ".fragment.[typeextension]") and
|
|
37041
|
+
* The fragment name, which must correspond to a fragment which can be loaded via the module system (mOptions.name
|
|
37042
|
+
* + suffix ".fragment.[typeextension]") and must contain the fragment definition. It can be specified either
|
|
37043
|
+
* in dot notation (`my.sample.myFragment`) or, for JS fragments, in module name syntax (`module:my/sample/myFragment`).
|
|
37004
37044
|
*/
|
|
37005
37045
|
name: string;
|
|
37006
37046
|
/**
|
|
@@ -37012,11 +37052,12 @@ declare module "sap/ui/core/mvc/Controller" {
|
|
|
37012
37052
|
*/
|
|
37013
37053
|
autoPrefixId?: boolean;
|
|
37014
37054
|
/**
|
|
37015
|
-
* the ID of the
|
|
37055
|
+
* the ID of the fragment
|
|
37016
37056
|
*/
|
|
37017
37057
|
id?: string;
|
|
37018
37058
|
/**
|
|
37019
|
-
* the
|
|
37059
|
+
* the fragment type, e.g. "XML", "JS", or "HTML" (see above). Default is "XML". If the fragment name is
|
|
37060
|
+
* given in module name syntax (e.g., `module:my/sample/myFragment`) the type must be omitted.
|
|
37020
37061
|
*/
|
|
37021
37062
|
type?: string;
|
|
37022
37063
|
}
|
|
@@ -37125,6 +37166,11 @@ declare module "sap/ui/core/mvc/ControllerExtension" {
|
|
|
37125
37166
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
37126
37167
|
*/
|
|
37127
37168
|
protected constructor();
|
|
37169
|
+
/**
|
|
37170
|
+
* The `overrides` definition object, which is used to specify methods of the base class to override. The
|
|
37171
|
+
* names of this object's properties are method names like `onInit` and the values are the respective implementation.
|
|
37172
|
+
*/
|
|
37173
|
+
static readonly overrides?: Overrides;
|
|
37128
37174
|
|
|
37129
37175
|
/**
|
|
37130
37176
|
* Creates a new subclass of class sap.ui.core.mvc.ControllerExtension with name `sClassName` and enriches
|
|
@@ -37265,6 +37311,15 @@ declare module "sap/ui/core/mvc/ControllerExtension" {
|
|
|
37265
37311
|
*/
|
|
37266
37312
|
getView(): View;
|
|
37267
37313
|
}
|
|
37314
|
+
/**
|
|
37315
|
+
* The type of the `overrides` property
|
|
37316
|
+
*/
|
|
37317
|
+
export type Overrides = { [key: string]: any } & Partial<
|
|
37318
|
+
Pick<
|
|
37319
|
+
(typeof import("sap/ui/core/mvc/Controller").default)["prototype"],
|
|
37320
|
+
"onAfterRendering" | "onBeforeRendering" | "onExit" | "onInit"
|
|
37321
|
+
>
|
|
37322
|
+
>;
|
|
37268
37323
|
}
|
|
37269
37324
|
|
|
37270
37325
|
declare module "sap/ui/core/mvc/HTMLView" {
|
|
@@ -37918,14 +37973,17 @@ declare module "sap/ui/core/mvc/View" {
|
|
|
37918
37973
|
* ```
|
|
37919
37974
|
*
|
|
37920
37975
|
*
|
|
37921
|
-
* Other Methods: Besides `createContent`, there are
|
|
37922
|
-
* {@link #getControllerName getControllerName} defines the name of the controller that should
|
|
37923
|
-
* and used for the view. The name must be in class name notation (dot notation), without
|
|
37924
|
-
* suffix. The suffix will be added by the framework when loading the module containing
|
|
37925
|
-
*
|
|
37926
|
-
* {@link #
|
|
37927
|
-
*
|
|
37928
|
-
*
|
|
37976
|
+
* Other Methods: Besides `createContent`, there are other methods that a view can implement:
|
|
37977
|
+
* - Method {@link #getControllerName getControllerName} defines the name of the controller that should
|
|
37978
|
+
* be instantiated and used for the view. The name must be in class name notation (dot notation), without
|
|
37979
|
+
* the `".controller"` suffix. The suffix will be added by the framework when loading the module containing
|
|
37980
|
+
* the controller.
|
|
37981
|
+
* - Method {@link #getControllerModuleName getControllerModuleName} defines the module name of the controller
|
|
37982
|
+
* that should be loaded for the view. Unlike `getControllerName`, the name must be in `sap.ui.define/sap.ui.require`
|
|
37983
|
+
* syntax (slash-separated name without '.js' suffix).
|
|
37984
|
+
* - {@link #getAutoPrefixId getAutoPrefixId} defines whether the IDs of controls created during the execution
|
|
37985
|
+
* of `createContent` will be prefixed with the ID of the view automatically. The default implementation
|
|
37986
|
+
* of this method returns `false`.
|
|
37929
37987
|
*/
|
|
37930
37988
|
export default abstract class View extends Control {
|
|
37931
37989
|
/**
|
|
@@ -38550,6 +38608,16 @@ declare module "sap/ui/core/mvc/View" {
|
|
|
38550
38608
|
* @returns Controller of this view.
|
|
38551
38609
|
*/
|
|
38552
38610
|
getController(): Controller;
|
|
38611
|
+
/**
|
|
38612
|
+
* An optional method that views can implement to return the controller's module name in `sap.ui.define/sap.ui.require`
|
|
38613
|
+
* syntax (slash-separated name without '.js' suffix). If no controller instance is provided at the time
|
|
38614
|
+
* of View instantiation AND this method exists, the View attempts to load and instantiate the controller
|
|
38615
|
+
* and to connect it to itself.
|
|
38616
|
+
*
|
|
38617
|
+
*
|
|
38618
|
+
* @returns Name of the module name from which to load the view definition.
|
|
38619
|
+
*/
|
|
38620
|
+
getControllerModuleName(): string;
|
|
38553
38621
|
/**
|
|
38554
38622
|
* An (optional) method to be implemented by Views. When no controller instance is given at View instantiation
|
|
38555
38623
|
* time AND this method exists and returns the (package and class) name of a controller, the View tries
|
|
@@ -71576,6 +71644,8 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71576
71644
|
*
|
|
71577
71645
|
* Note: For a transient context (see {@link #isTransient}) a wrong path is returned unless all key properties
|
|
71578
71646
|
* are available within the initial data.
|
|
71647
|
+
* See:
|
|
71648
|
+
* #requestCanonicalPath
|
|
71579
71649
|
*
|
|
71580
71650
|
* @since 1.39.0
|
|
71581
71651
|
*
|
|
@@ -71832,6 +71902,10 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71832
71902
|
* A parameter object
|
|
71833
71903
|
*/
|
|
71834
71904
|
oParameters: {
|
|
71905
|
+
/**
|
|
71906
|
+
* Whether the node should be copied instead of moved (@experimental as of version 1.135.0)
|
|
71907
|
+
*/
|
|
71908
|
+
copy?: boolean;
|
|
71835
71909
|
/**
|
|
71836
71910
|
* The next sibling's context, or `null` to turn this node into the last sibling. Omitting the sibling moves
|
|
71837
71911
|
* this node to a position determined by the server.
|
|
@@ -71888,6 +71962,8 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71888
71962
|
*
|
|
71889
71963
|
* Note: For a transient context (see {@link #isTransient}) a wrong path is returned unless all key properties
|
|
71890
71964
|
* are available within the initial data.
|
|
71965
|
+
* See:
|
|
71966
|
+
* #getCanonicalPath
|
|
71891
71967
|
*
|
|
71892
71968
|
* @since 1.39.0
|
|
71893
71969
|
*
|
|
@@ -72364,7 +72440,9 @@ declare module "sap/ui/model/odata/v4/ODataContextBinding" {
|
|
|
72364
72440
|
/**
|
|
72365
72441
|
* Changes this binding's parameters and refreshes the binding. Since 1.111.0, a list binding's header context
|
|
72366
72442
|
* is deselected, but (since 1.120.13) only if the binding parameter '$$clearSelectionOnFilter' is set and
|
|
72367
|
-
* the '$filter' or '$search' parameter is changed.
|
|
72443
|
+
* the '$filter' or '$search' parameter is changed. In all other cases, the caller of this method needs
|
|
72444
|
+
* to evaluate whether the changed parameters invalidate the current selection and then deselect the header
|
|
72445
|
+
* context if needed.
|
|
72368
72446
|
*
|
|
72369
72447
|
* If there are pending changes that cannot be ignored, an error is thrown. Use {@link #hasPendingChanges }
|
|
72370
72448
|
* to check if there are such pending changes. If there are, call {@link sap.ui.model.odata.v4.ODataModel#submitBatch }
|
|
@@ -73031,7 +73109,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
73031
73109
|
/**
|
|
73032
73110
|
* Changes this binding's parameters and refreshes the binding. Since 1.111.0, a list binding's header context
|
|
73033
73111
|
* is deselected, but (since 1.120.13) only if the binding parameter '$$clearSelectionOnFilter' is set and
|
|
73034
|
-
* the '$filter' or '$search' parameter is changed.
|
|
73112
|
+
* the '$filter' or '$search' parameter is changed. In all other cases, the caller of this method needs
|
|
73113
|
+
* to evaluate whether the changed parameters invalidate the current selection and then deselect the header
|
|
73114
|
+
* context if needed.
|
|
73035
73115
|
*
|
|
73036
73116
|
* If there are pending changes that cannot be ignored, an error is thrown. Use {@link #hasPendingChanges }
|
|
73037
73117
|
* to check if there are such pending changes. If there are, call {@link sap.ui.model.odata.v4.ODataModel#submitBatch }
|
|
@@ -73535,6 +73615,17 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
73535
73615
|
| ODataListBinding
|
|
73536
73616
|
| ODataPropertyBinding
|
|
73537
73617
|
| undefined;
|
|
73618
|
+
/**
|
|
73619
|
+
* Returns the count of selected elements as a number of type `Edm.Int64`. The count is bindable via the
|
|
73620
|
+
* header context (see {@link #getHeaderContext}) and path `$selectionCount`; it is either available synchronously
|
|
73621
|
+
* or unknown. It is unknown if the binding is relative but has no context and also if the list binding's
|
|
73622
|
+
* {@link sap.ui.model.odata.v4.ODataListBinding#getHeaderContext header context} is selected ("select all").
|
|
73623
|
+
*
|
|
73624
|
+
* @since 1.135.0
|
|
73625
|
+
*
|
|
73626
|
+
* @returns The count of selected elements or `undefined` if the count or the header context is not available.
|
|
73627
|
+
*/
|
|
73628
|
+
getSelectionCount(): number | undefined;
|
|
73538
73629
|
/**
|
|
73539
73630
|
* Returns the group ID of the binding that is used for update requests. The update group ID of the binding
|
|
73540
73631
|
* is alternatively defined by
|
|
@@ -74567,6 +74658,17 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
74567
74658
|
*/
|
|
74568
74659
|
sPropertyPath: string
|
|
74569
74660
|
): ValueListType;
|
|
74661
|
+
/**
|
|
74662
|
+
* Tells whether this metadata model's service prefers requests to use a resource path with navigation properties
|
|
74663
|
+
* instead of a canonical path, thus reflecting the object composition. See "com.sap.vocabularies.Common.v1.AddressViaNavigationPath"
|
|
74664
|
+
* for more details.
|
|
74665
|
+
*
|
|
74666
|
+
* @since 1.135.0
|
|
74667
|
+
*
|
|
74668
|
+
* @returns `true` if the "com.sap.vocabularies.Common.v1.AddressViaNavigationPath" tag is present, `undefined`
|
|
74669
|
+
* if it is missing or metadata is not (yet) available
|
|
74670
|
+
*/
|
|
74671
|
+
isAddressViaNavigationPath(): boolean | undefined;
|
|
74570
74672
|
/**
|
|
74571
74673
|
* Method not supported
|
|
74572
74674
|
* See:
|
|
@@ -75434,7 +75536,10 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
75434
75536
|
$$canonicalPath?: boolean;
|
|
75435
75537
|
/**
|
|
75436
75538
|
* Whether the selection state of the list binding is cleared when a filter is changed; this includes dynamic
|
|
75437
|
-
* filters, '$filter', '$search', and `$$aggregation.search`. Supported since 1.120.13.
|
|
75539
|
+
* filters, '$filter', '$search', and `$$aggregation.search`. Supported since 1.120.13. Since 1.135.0, the
|
|
75540
|
+
* selection state is validated when reloading the list binding's data. The {@link sap.ui.model.odata.v4.Context#isSelected selection states of contexts }
|
|
75541
|
+
* which no longer match the current filter are reset. **Note:** The selection state is not validated if
|
|
75542
|
+
* the `$$aggregation` parameter is used.
|
|
75438
75543
|
*/
|
|
75439
75544
|
$$clearSelectionOnFilter?: boolean;
|
|
75440
75545
|
/**
|
|
@@ -75521,6 +75626,16 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
75521
75626
|
* binding refers to an action advertisement the binding's mode must be {@link sap.ui.model.BindingMode.OneTime}.
|
|
75522
75627
|
* {@link sap.ui.model.BindingMode.OneWay OneWay} is also supported (since 1.130.0) for complex types and
|
|
75523
75628
|
* collections thereof; for entity types, use {@link #bindContext} instead.
|
|
75629
|
+
*
|
|
75630
|
+
* Since 1.135.0, the binding may also point to an array element inside a collection of primitive type,
|
|
75631
|
+
* for example in the context of geography locations. Let's assume "GeoLocation" is a structural property
|
|
75632
|
+
* of type "Edm.GeographyPoint", then "coordinates" is a structural property of type "Collection(Edm.Double)":
|
|
75633
|
+
*
|
|
75634
|
+
* ```javascript
|
|
75635
|
+
*
|
|
75636
|
+
* <Text id="longitude" text="{Address/GeoLocation/coordinates/0}"/>
|
|
75637
|
+
* ```
|
|
75638
|
+
*
|
|
75524
75639
|
* See:
|
|
75525
75640
|
* sap.ui.base.ManagedObject#bindProperty
|
|
75526
75641
|
* sap.ui.model.Model#bindProperty
|
|
@@ -87528,6 +87643,7 @@ declare namespace sap {
|
|
|
87528
87643
|
* },
|
|
87529
87644
|
*
|
|
87530
87645
|
* // activate real async loading and module definitions
|
|
87646
|
+
* // (will become obsolete in 2.0 contexts as async will be the only mode there)
|
|
87531
87647
|
* async: true,
|
|
87532
87648
|
*
|
|
87533
87649
|
* // provide dependency and export metadata for non-UI5 modules
|
|
@@ -87669,6 +87785,8 @@ declare namespace sap {
|
|
|
87669
87785
|
* on the application bootstrap tag.
|
|
87670
87786
|
*
|
|
87671
87787
|
* **Note:** Switching back from async to sync is not supported and trying to do so will throw an `Error`
|
|
87788
|
+
*
|
|
87789
|
+
* In the next major version of UI5, this option will become obsolete as async will be the only mode.
|
|
87672
87790
|
*/
|
|
87673
87791
|
async?: boolean;
|
|
87674
87792
|
/**
|
|
@@ -88029,6 +88147,8 @@ declare namespace sap {
|
|
|
88029
88147
|
|
|
88030
88148
|
"sap/ui/core/Element": undefined;
|
|
88031
88149
|
|
|
88150
|
+
"sap/ui/core/ElementHooks": undefined;
|
|
88151
|
+
|
|
88032
88152
|
"sap/ui/core/ElementMetadata": undefined;
|
|
88033
88153
|
|
|
88034
88154
|
"sap/ui/core/ElementRegistry": undefined;
|
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.export.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.135.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/fl/library" {}
|
|
4
4
|
|
|
@@ -201,7 +201,10 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
201
201
|
|
|
202
202
|
import { IShrinkable, ID, TitleLevel, CSSSize } from "sap/ui/core/library";
|
|
203
203
|
|
|
204
|
-
import {
|
|
204
|
+
import {
|
|
205
|
+
IOverflowToolbarContent,
|
|
206
|
+
IToolbarInteractiveControl,
|
|
207
|
+
} from "sap/m/library";
|
|
205
208
|
|
|
206
209
|
import Event from "sap/ui/base/Event";
|
|
207
210
|
|
|
@@ -218,10 +221,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
218
221
|
*/
|
|
219
222
|
export default class VariantManagement
|
|
220
223
|
extends Control
|
|
221
|
-
implements
|
|
222
|
-
IShrinkable,
|
|
223
|
-
IOverflowToolbarContent,
|
|
224
|
-
/* was: sap.m.IToolbarInteractiveControl */ Object
|
|
224
|
+
implements IShrinkable, IOverflowToolbarContent, IToolbarInteractiveControl
|
|
225
225
|
{
|
|
226
226
|
__implements__sap_ui_core_IShrinkable: boolean;
|
|
227
227
|
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
@@ -1585,6 +1585,10 @@ declare namespace sap {
|
|
|
1585
1585
|
|
|
1586
1586
|
"sap/ui/fl/apply/_internal/flexObjects/Variant": undefined;
|
|
1587
1587
|
|
|
1588
|
+
"sap/ui/fl/apply/_internal/flexObjects/VariantChange": undefined;
|
|
1589
|
+
|
|
1590
|
+
"sap/ui/fl/apply/_internal/flexObjects/VariantManagementChange": undefined;
|
|
1591
|
+
|
|
1588
1592
|
"sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler": undefined;
|
|
1589
1593
|
|
|
1590
1594
|
"sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState": undefined;
|
|
@@ -1639,6 +1643,8 @@ declare namespace sap {
|
|
|
1639
1643
|
|
|
1640
1644
|
"sap/ui/fl/ChangePersistenceFactory": undefined;
|
|
1641
1645
|
|
|
1646
|
+
"sap/ui/fl/descriptorRelated/api/DescriptorChange": undefined;
|
|
1647
|
+
|
|
1642
1648
|
"sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory": undefined;
|
|
1643
1649
|
|
|
1644
1650
|
"sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory": undefined;
|
|
@@ -1751,6 +1757,8 @@ declare namespace sap {
|
|
|
1751
1757
|
|
|
1752
1758
|
"sap/ui/fl/write/api/AppVariantWriteAPI": undefined;
|
|
1753
1759
|
|
|
1760
|
+
"sap/ui/fl/write/api/BusinessNetworkAPI": undefined;
|
|
1761
|
+
|
|
1754
1762
|
"sap/ui/fl/write/api/ChangesWriteAPI": undefined;
|
|
1755
1763
|
|
|
1756
1764
|
"sap/ui/fl/write/api/connectors/ObjectStorageConnector": undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.135.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/integration/library" {
|
|
4
4
|
import { URI } from "sap/ui/core/library";
|
|
@@ -972,9 +972,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
972
972
|
/**
|
|
973
973
|
* Illustration size
|
|
974
974
|
*/
|
|
975
|
-
illustrationSize?:
|
|
976
|
-
| IllustratedMessageSize
|
|
977
|
-
| keyof typeof IllustratedMessageSize;
|
|
975
|
+
illustrationSize?: IllustratedMessageSize;
|
|
978
976
|
/**
|
|
979
977
|
* Title
|
|
980
978
|
*/
|