@sapui5/ts-types 1.147.2 → 1.148.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 +7 -7
- 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 +50 -11
- package/types/sap.esh.search.ui.d.ts +181 -34
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +47 -1
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +24 -1
- 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 +3 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +19 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/{mobile-1.147.0-d.ts → sap.m.d.ts} +188 -34
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +2 -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 +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/{tnt-1.147.0-d.ts → sap.tnt.d.ts} +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/{commons-1.147.0-d.ts → sap.ui.commons.d.ts} +1 -1
- package/types/sap.ui.comp.d.ts +197 -4
- package/types/{core-1.147.0-d.ts → sap.ui.core.d.ts} +58 -19
- package/types/{dt-1.147.0-d.ts → sap.ui.dt.d.ts} +1 -1
- package/types/sap.ui.export.d.ts +143 -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 +1 -1
- package/types/sap.ui.integration.d.ts +6 -3
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/{mdc-1.147.0-d.ts → sap.ui.mdc.d.ts} +236 -3
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +4 -4
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/{ux3-1.147.0-d.ts → 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 +3 -3
- 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.comp.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.148.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -21160,6 +21160,14 @@ declare namespace sap {
|
|
|
21160
21160
|
* @returns Value of property `defaultSelectionVariantName`
|
|
21161
21161
|
*/
|
|
21162
21162
|
getDefaultSelectionVariantName(): string;
|
|
21163
|
+
/**
|
|
21164
|
+
* Returns the currently configured default values as a map of property names to condition ranges.
|
|
21165
|
+
*
|
|
21166
|
+
* @since 1.148
|
|
21167
|
+
*
|
|
21168
|
+
* @returns Map of property names to their condition ranges
|
|
21169
|
+
*/
|
|
21170
|
+
getDefaultValues(): Object;
|
|
21163
21171
|
/**
|
|
21164
21172
|
* Reads the descriptions for given filters and value keys.
|
|
21165
21173
|
*
|
|
@@ -21708,6 +21716,38 @@ declare namespace sap {
|
|
|
21708
21716
|
*/
|
|
21709
21717
|
sDefaultSelectionVariantName?: string
|
|
21710
21718
|
): this;
|
|
21719
|
+
/**
|
|
21720
|
+
* Configures which filter fields support the DefaultValues operation and sets their predefined conditions.
|
|
21721
|
+
* Only the listed fields will have DefaultValues support enabled. Can be called before the SmartFilterBar
|
|
21722
|
+
* is initialized; the configuration will be applied once initialization completes.
|
|
21723
|
+
*
|
|
21724
|
+
* @since 1.148
|
|
21725
|
+
*/
|
|
21726
|
+
setDefaultValues(
|
|
21727
|
+
/**
|
|
21728
|
+
* Map of property names to their condition ranges, e.g.
|
|
21729
|
+
* ```javascript
|
|
21730
|
+
*
|
|
21731
|
+
* {
|
|
21732
|
+
* "Field1": [
|
|
21733
|
+
* { Sign: "I", Option: "EQ", Low: "value", High: null }
|
|
21734
|
+
* ],
|
|
21735
|
+
* "Field2": [
|
|
21736
|
+
* { Sign: "I", Option: "BT", Low: "low", High: "high" }
|
|
21737
|
+
* ]
|
|
21738
|
+
* }
|
|
21739
|
+
* ```
|
|
21740
|
+
* Each key is a filter field property name. Each value is an array of condition objects with:
|
|
21741
|
+
* - `Sign` - "I" (include) or "E" (exclude)
|
|
21742
|
+
* - `Option` - Operator such as "EQ", "BT", "CP", "GT", "LT", etc.
|
|
21743
|
+
* - `Low` - The low value of the condition
|
|
21744
|
+
* - `High` - The high value (used with "BT" operator, otherwise `null`)
|
|
21745
|
+
*/
|
|
21746
|
+
oFieldConditions: Record<
|
|
21747
|
+
string,
|
|
21748
|
+
/* was: sap.ui.comp.smartfilterbar.SelectOptionType */ any[]
|
|
21749
|
+
>
|
|
21750
|
+
): void;
|
|
21711
21751
|
/**
|
|
21712
21752
|
* Sets a new value for property {@link #getEnableBasicSearch enableBasicSearch}.
|
|
21713
21753
|
*
|
|
@@ -31538,6 +31578,21 @@ declare namespace sap {
|
|
|
31538
31578
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
31539
31579
|
| `{${string}}`;
|
|
31540
31580
|
|
|
31581
|
+
/**
|
|
31582
|
+
* Defines default values shown in the export dialog.
|
|
31583
|
+
*
|
|
31584
|
+
* Configure default values that are displayed in the export dialog. For example, the `fileName` property
|
|
31585
|
+
* of {@link sap.ui.export.TableExportSettings} defines the default file name shown in the export dialog.
|
|
31586
|
+
* If not specified, the table header is used.
|
|
31587
|
+
*
|
|
31588
|
+
* **Note:** These values are defaults shown to the user. The user can still modify them before export.
|
|
31589
|
+
* If the user modifies a value in the dialog, the user choice takes precedence and is not overridden by
|
|
31590
|
+
* event handlers.
|
|
31591
|
+
*
|
|
31592
|
+
* @since 1.148
|
|
31593
|
+
*/
|
|
31594
|
+
defaultExportSettings?: sap.ui.export.TableExportSettings;
|
|
31595
|
+
|
|
31541
31596
|
/**
|
|
31542
31597
|
* A toolbar that can be added by the user to define their own custom buttons, icons, etc. If this is specified,
|
|
31543
31598
|
* the SmartTable control does not create an additional toolbar, but makes use of this one.
|
|
@@ -31814,7 +31869,7 @@ declare namespace sap {
|
|
|
31814
31869
|
/**
|
|
31815
31870
|
* Filter settings that will be contained in the exported file
|
|
31816
31871
|
*/
|
|
31817
|
-
filterSettings?:
|
|
31872
|
+
filterSettings?: sap.ui.export.util.Filter[];
|
|
31818
31873
|
}
|
|
31819
31874
|
|
|
31820
31875
|
/**
|
|
@@ -32944,6 +32999,14 @@ declare namespace sap {
|
|
|
32944
32999
|
* @returns Reference to `this` in order to allow method chaining
|
|
32945
33000
|
*/
|
|
32946
33001
|
destroyDataStateIndicator(): this;
|
|
33002
|
+
/**
|
|
33003
|
+
* Destroys the defaultExportSettings in the aggregation {@link #getDefaultExportSettings defaultExportSettings}.
|
|
33004
|
+
*
|
|
33005
|
+
* @since 1.148
|
|
33006
|
+
*
|
|
33007
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
33008
|
+
*/
|
|
33009
|
+
destroyDefaultExportSettings(): this;
|
|
32947
33010
|
/**
|
|
32948
33011
|
* Destroys all the filterControlConfiguration in the aggregation {@link #getFilterControlConfiguration filterControlConfiguration}.
|
|
32949
33012
|
*
|
|
@@ -33643,6 +33706,22 @@ declare namespace sap {
|
|
|
33643
33706
|
* @returns array of column keys
|
|
33644
33707
|
*/
|
|
33645
33708
|
getDeactivatedColumns(): string[];
|
|
33709
|
+
/**
|
|
33710
|
+
* Gets content of aggregation {@link #getDefaultExportSettings defaultExportSettings}.
|
|
33711
|
+
*
|
|
33712
|
+
* Defines default values shown in the export dialog.
|
|
33713
|
+
*
|
|
33714
|
+
* Configure default values that are displayed in the export dialog. For example, the `fileName` property
|
|
33715
|
+
* of {@link sap.ui.export.TableExportSettings} defines the default file name shown in the export dialog.
|
|
33716
|
+
* If not specified, the table header is used.
|
|
33717
|
+
*
|
|
33718
|
+
* **Note:** These values are defaults shown to the user. The user can still modify them before export.
|
|
33719
|
+
* If the user modifies a value in the dialog, the user choice takes precedence and is not overridden by
|
|
33720
|
+
* event handlers.
|
|
33721
|
+
*
|
|
33722
|
+
* @since 1.148
|
|
33723
|
+
*/
|
|
33724
|
+
getDefaultExportSettings(): sap.ui.export.TableExportSettings;
|
|
33646
33725
|
/**
|
|
33647
33726
|
* Gets current value of property {@link #getDemandPopin demandPopin}.
|
|
33648
33727
|
*
|
|
@@ -34583,6 +34662,19 @@ declare namespace sap {
|
|
|
34583
34662
|
*/
|
|
34584
34663
|
oDataStateIndicator: sap.m.plugins.DataStateIndicator
|
|
34585
34664
|
): this;
|
|
34665
|
+
/**
|
|
34666
|
+
* Sets the aggregated {@link #getDefaultExportSettings defaultExportSettings}.
|
|
34667
|
+
*
|
|
34668
|
+
* @since 1.148
|
|
34669
|
+
*
|
|
34670
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
34671
|
+
*/
|
|
34672
|
+
setDefaultExportSettings(
|
|
34673
|
+
/**
|
|
34674
|
+
* The defaultExportSettings to set
|
|
34675
|
+
*/
|
|
34676
|
+
oDefaultExportSettings: sap.ui.export.TableExportSettings
|
|
34677
|
+
): this;
|
|
34586
34678
|
/**
|
|
34587
34679
|
* Sets a new value for property {@link #getDemandPopin demandPopin}.
|
|
34588
34680
|
*
|
|
@@ -34915,10 +35007,10 @@ declare namespace sap {
|
|
|
34915
35007
|
sLevel: string
|
|
34916
35008
|
): sap.ui.comp.smarttable.SmartTable;
|
|
34917
35009
|
/**
|
|
34918
|
-
* Sets the value for the `
|
|
35010
|
+
* Sets the value for the `headerStyle` property.
|
|
34919
35011
|
*
|
|
34920
35012
|
*
|
|
34921
|
-
* @returns Reference to this in order to allow method chaining
|
|
35013
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
34922
35014
|
*/
|
|
34923
35015
|
setHeaderStyle(
|
|
34924
35016
|
/**
|
|
@@ -39393,6 +39485,26 @@ declare namespace sap {
|
|
|
39393
39485
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
39394
39486
|
| `{${string}}`;
|
|
39395
39487
|
|
|
39488
|
+
/**
|
|
39489
|
+
* Structure containing field names that use the DefaultValues operation.
|
|
39490
|
+
*
|
|
39491
|
+
*
|
|
39492
|
+
* ```javascript
|
|
39493
|
+
*
|
|
39494
|
+
* {
|
|
39495
|
+
* Fields: [
|
|
39496
|
+
* {
|
|
39497
|
+
* PropertyName: string
|
|
39498
|
+
* }
|
|
39499
|
+
* ]
|
|
39500
|
+
* }
|
|
39501
|
+
* ```
|
|
39502
|
+
*/
|
|
39503
|
+
defaultValues?:
|
|
39504
|
+
| object
|
|
39505
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
39506
|
+
| `{${string}}`;
|
|
39507
|
+
|
|
39396
39508
|
/**
|
|
39397
39509
|
* Structure containing table related settings. The properties might be related to a specific table type
|
|
39398
39510
|
* and will be ignored if a different table type is used.
|
|
@@ -39466,6 +39578,19 @@ declare namespace sap {
|
|
|
39466
39578
|
mSettings?: sap.ui.comp.state.$UIStateSettings
|
|
39467
39579
|
);
|
|
39468
39580
|
|
|
39581
|
+
/**
|
|
39582
|
+
* Scans the filter model data for fields that have a DefaultValues range.
|
|
39583
|
+
*
|
|
39584
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
39585
|
+
*
|
|
39586
|
+
* @returns the defaultValues structure or null
|
|
39587
|
+
*/
|
|
39588
|
+
static calcDefaultValues(
|
|
39589
|
+
/**
|
|
39590
|
+
* the filter provider model data
|
|
39591
|
+
*/
|
|
39592
|
+
mData: Record<string, any>
|
|
39593
|
+
): object | null;
|
|
39469
39594
|
/**
|
|
39470
39595
|
* Constructs the value state out of a given selection variant and the current model data
|
|
39471
39596
|
*
|
|
@@ -39543,6 +39668,23 @@ declare namespace sap {
|
|
|
39543
39668
|
*/
|
|
39544
39669
|
aIgnoreSelOptionNames: Object[]
|
|
39545
39670
|
): Record<string, Object[]>;
|
|
39671
|
+
/**
|
|
39672
|
+
* Enriches the internal filter bar value format with DefaultValues skeleton ranges.
|
|
39673
|
+
*
|
|
39674
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
39675
|
+
*
|
|
39676
|
+
* @returns enriched the filter bar inner data format
|
|
39677
|
+
*/
|
|
39678
|
+
static enrichWithDefaultValues(
|
|
39679
|
+
/**
|
|
39680
|
+
* the filter bar inner data format
|
|
39681
|
+
*/
|
|
39682
|
+
sPayload: string,
|
|
39683
|
+
/**
|
|
39684
|
+
* DefaultValues field information
|
|
39685
|
+
*/
|
|
39686
|
+
oDefaultValues: object
|
|
39687
|
+
): string;
|
|
39546
39688
|
/**
|
|
39547
39689
|
* Enriches the internal filter bar value format with the semantic date information.
|
|
39548
39690
|
*
|
|
@@ -39608,6 +39750,28 @@ declare namespace sap {
|
|
|
39608
39750
|
* @returns Metadata object describing this class
|
|
39609
39751
|
*/
|
|
39610
39752
|
static getMetadata(): sap.ui.base.ManagedObjectMetadata;
|
|
39753
|
+
/**
|
|
39754
|
+
* Gets current value of property {@link #getDefaultValues defaultValues}.
|
|
39755
|
+
*
|
|
39756
|
+
* Structure containing field names that use the DefaultValues operation.
|
|
39757
|
+
*
|
|
39758
|
+
*
|
|
39759
|
+
* ```javascript
|
|
39760
|
+
*
|
|
39761
|
+
* {
|
|
39762
|
+
* Fields: [
|
|
39763
|
+
* {
|
|
39764
|
+
* PropertyName: string
|
|
39765
|
+
* }
|
|
39766
|
+
* ]
|
|
39767
|
+
* }
|
|
39768
|
+
* ```
|
|
39769
|
+
*
|
|
39770
|
+
*
|
|
39771
|
+
*
|
|
39772
|
+
* @returns Value of property `defaultValues`
|
|
39773
|
+
*/
|
|
39774
|
+
getDefaultValues(): object;
|
|
39611
39775
|
/**
|
|
39612
39776
|
* Gets current value of property {@link #getOrderedItems orderedItems}.
|
|
39613
39777
|
*
|
|
@@ -39778,6 +39942,35 @@ declare namespace sap {
|
|
|
39778
39942
|
* @returns Value of property `variantName`
|
|
39779
39943
|
*/
|
|
39780
39944
|
getVariantName(): string;
|
|
39945
|
+
/**
|
|
39946
|
+
* Sets a new value for property {@link #getDefaultValues defaultValues}.
|
|
39947
|
+
*
|
|
39948
|
+
* Structure containing field names that use the DefaultValues operation.
|
|
39949
|
+
*
|
|
39950
|
+
*
|
|
39951
|
+
* ```javascript
|
|
39952
|
+
*
|
|
39953
|
+
* {
|
|
39954
|
+
* Fields: [
|
|
39955
|
+
* {
|
|
39956
|
+
* PropertyName: string
|
|
39957
|
+
* }
|
|
39958
|
+
* ]
|
|
39959
|
+
* }
|
|
39960
|
+
* ```
|
|
39961
|
+
*
|
|
39962
|
+
*
|
|
39963
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
39964
|
+
*
|
|
39965
|
+
*
|
|
39966
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
39967
|
+
*/
|
|
39968
|
+
setDefaultValues(
|
|
39969
|
+
/**
|
|
39970
|
+
* New value for property `defaultValues`
|
|
39971
|
+
*/
|
|
39972
|
+
oDefaultValues: object
|
|
39973
|
+
): this;
|
|
39781
39974
|
/**
|
|
39782
39975
|
* Sets a new value for property {@link #getOrderedItems orderedItems}.
|
|
39783
39976
|
*
|
|
@@ -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.148.0
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -2841,6 +2841,30 @@ declare module "sap/base/util/array/uniqueSort" {
|
|
|
2841
2841
|
): any[];
|
|
2842
2842
|
}
|
|
2843
2843
|
|
|
2844
|
+
declare module "sap/base/util/clamp" {
|
|
2845
|
+
/**
|
|
2846
|
+
* Returns a value clamped between an upper bound 'max' and lower bound 'min'.
|
|
2847
|
+
*
|
|
2848
|
+
* @since 1.130
|
|
2849
|
+
*
|
|
2850
|
+
* @returns clamped value
|
|
2851
|
+
*/
|
|
2852
|
+
export default function clamp(
|
|
2853
|
+
/**
|
|
2854
|
+
* value
|
|
2855
|
+
*/
|
|
2856
|
+
val: number,
|
|
2857
|
+
/**
|
|
2858
|
+
* lower bound
|
|
2859
|
+
*/
|
|
2860
|
+
min: number,
|
|
2861
|
+
/**
|
|
2862
|
+
* upper bound
|
|
2863
|
+
*/
|
|
2864
|
+
max: number
|
|
2865
|
+
): number;
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2844
2868
|
declare module "sap/base/util/deepClone" {
|
|
2845
2869
|
/**
|
|
2846
2870
|
* Creates a deep clone of the source value.
|
|
@@ -26456,7 +26480,7 @@ declare namespace sap {
|
|
|
26456
26480
|
* The parent route - if a parent route is given, the `routeMatched` event of this route will also trigger
|
|
26457
26481
|
* the `routeMatched` of the parent and it will also create the view of the parent (if provided).
|
|
26458
26482
|
*/
|
|
26459
|
-
oParent
|
|
26483
|
+
oParent?: sap.ui.core.routing.Route
|
|
26460
26484
|
): void;
|
|
26461
26485
|
/**
|
|
26462
26486
|
* Attaches event handler `fnFunction` to the {@link #event:beforeRouteMatched beforeRouteMatched} event
|
|
@@ -28140,8 +28164,8 @@ declare namespace sap {
|
|
|
28140
28164
|
* browser is product/settings and no arguments will be passed to the events of the route.
|
|
28141
28165
|
*
|
|
28142
28166
|
* - mandatory parameters: "pattern" : "product/{id}" - {id} is a mandatory parameter, e. g. the following
|
|
28143
|
-
* hashes would match: product/5, product/3. The
|
|
28144
|
-
* arguments.The hash product/ will not match.
|
|
28167
|
+
* hashes would match: product/5, product/3. The patternMatched event will get 5 or 3 passed as id in its
|
|
28168
|
+
* arguments. The hash product/ will not match.
|
|
28145
28169
|
*
|
|
28146
28170
|
* - optional parameters: "pattern" : "product/{id}/detail/:detailId:" - :detailId: is an optional parameter,
|
|
28147
28171
|
* e. g. the following hashes would match: product/5/detail, product/3/detail/2
|
|
@@ -33171,7 +33195,7 @@ declare namespace sap {
|
|
|
33171
33195
|
/**
|
|
33172
33196
|
* Received pcpFields as a key-value map.
|
|
33173
33197
|
*/
|
|
33174
|
-
pcpFields?: string
|
|
33198
|
+
pcpFields?: Record<string, string>;
|
|
33175
33199
|
}
|
|
33176
33200
|
|
|
33177
33201
|
/**
|
|
@@ -33229,7 +33253,7 @@ declare namespace sap {
|
|
|
33229
33253
|
/**
|
|
33230
33254
|
* array of protocols as strings, a single protocol as a string. Protocol(s) should be selected from {@link sap.ui.core.ws.SapPcpWebSocket.SUPPORTED_PROTOCOLS}.
|
|
33231
33255
|
*/
|
|
33232
|
-
|
|
33256
|
+
vProtocols?: string | string[]
|
|
33233
33257
|
);
|
|
33234
33258
|
|
|
33235
33259
|
/**
|
|
@@ -33292,7 +33316,7 @@ declare namespace sap {
|
|
|
33292
33316
|
/**
|
|
33293
33317
|
* additional pcp-fields as key-value map
|
|
33294
33318
|
*/
|
|
33295
|
-
oPcpFields?:
|
|
33319
|
+
oPcpFields?: Record<string, any>
|
|
33296
33320
|
): this;
|
|
33297
33321
|
}
|
|
33298
33322
|
/**
|
|
@@ -33310,7 +33334,7 @@ declare namespace sap {
|
|
|
33310
33334
|
/**
|
|
33311
33335
|
* array of protocols as strings, a single protocol as a string
|
|
33312
33336
|
*/
|
|
33313
|
-
|
|
33337
|
+
vProtocols?: string | string[]
|
|
33314
33338
|
);
|
|
33315
33339
|
|
|
33316
33340
|
/**
|
|
@@ -38722,7 +38746,8 @@ declare namespace sap {
|
|
|
38722
38746
|
*
|
|
38723
38747
|
* @since 1.56.0
|
|
38724
38748
|
*
|
|
38725
|
-
* @returns A Promise that resolves with the newly created component instance
|
|
38749
|
+
* @returns A Promise that resolves with the newly created component instance, or rejects with an error
|
|
38750
|
+
* if the component could not be created
|
|
38726
38751
|
*/
|
|
38727
38752
|
static create(
|
|
38728
38753
|
/**
|
|
@@ -42595,7 +42620,12 @@ declare namespace sap {
|
|
|
42595
42620
|
*
|
|
42596
42621
|
* @returns reference to the instance itself
|
|
42597
42622
|
*/
|
|
42598
|
-
unbindElement(
|
|
42623
|
+
unbindElement(
|
|
42624
|
+
/**
|
|
42625
|
+
* Name of the model to remove the context for.
|
|
42626
|
+
*/
|
|
42627
|
+
sModelName?: string
|
|
42628
|
+
): sap.ui.base.ManagedObject;
|
|
42599
42629
|
}
|
|
42600
42630
|
/**
|
|
42601
42631
|
* @since 0.8.6
|
|
@@ -56260,6 +56290,16 @@ declare namespace sap {
|
|
|
56260
56290
|
* @returns Metadata object describing this class
|
|
56261
56291
|
*/
|
|
56262
56292
|
static getMetadata(): sap.ui.base.Metadata;
|
|
56293
|
+
/**
|
|
56294
|
+
* Sets the value for this `JSONPropertyBinding` if the binding is not suspended. If a new value is set,
|
|
56295
|
+
* an {@link sap.ui.model.Model#propertyChange} event is fired with change reason {@link sap.ui.model.ChangeReason.Binding Binding}.
|
|
56296
|
+
*/
|
|
56297
|
+
setValue(
|
|
56298
|
+
/**
|
|
56299
|
+
* The value to set for this binding
|
|
56300
|
+
*/
|
|
56301
|
+
vValue: any
|
|
56302
|
+
): void;
|
|
56263
56303
|
}
|
|
56264
56304
|
/**
|
|
56265
56305
|
* Tree binding implementation for JSON model. See {@link sap.ui.model.json.JSONModel#bindTree}
|
|
@@ -65914,9 +65954,10 @@ declare namespace sap {
|
|
|
65914
65954
|
*
|
|
65915
65955
|
* @returns A promise which is resolved without a defined result in case of success, or rejected with an
|
|
65916
65956
|
* instance of `Error` in case of failure, for example if the annotation belongs to the read-only namespace
|
|
65917
|
-
* "@$ui5.*"
|
|
65918
|
-
*
|
|
65919
|
-
*
|
|
65957
|
+
* "@$ui5.*", or if `sGroupId` is `null` and the outdated flag at the header context would be set or the
|
|
65958
|
+
* grand total would be affected. With `bRetry` it is only rejected with an `Error` instance where `oError.canceled
|
|
65959
|
+
* === true` when the entity has been deleted while the request was pending or the property has been reset
|
|
65960
|
+
* via the methods
|
|
65920
65961
|
* {@link sap.ui.model.odata.v4.ODataModel#resetChanges} {@link sap.ui.model.odata.v4.ODataContextBinding#resetChanges }
|
|
65921
65962
|
* or {@link sap.ui.model.odata.v4.ODataListBinding#resetChanges}.
|
|
65922
65963
|
*/
|
|
@@ -79282,10 +79323,9 @@ declare namespace sap {
|
|
|
79282
79323
|
*/
|
|
79283
79324
|
vFilter?: sap.ui.model.Filter[] | sap.ui.model.Filter,
|
|
79284
79325
|
/**
|
|
79285
|
-
* The type of the application filters to replace
|
|
79326
|
+
* The type of the application filters to replace, see {@link sap.ui.model.FilterType}
|
|
79286
79327
|
*/
|
|
79287
|
-
sFilterType?:
|
|
79288
|
-
any | /* was: sap.ui.model.FilterType.ApplicationBound */ any
|
|
79328
|
+
sFilterType?: "Application" | "ApplicationBound"
|
|
79289
79329
|
): sap.ui.model.Filter[] | sap.ui.model.Filter | undefined;
|
|
79290
79330
|
/**
|
|
79291
79331
|
* Detaches event handler `fnFunction` from the {@link #event:filter filter} event of this `sap.ui.model.ListBinding`.
|
|
@@ -81395,10 +81435,9 @@ declare namespace sap {
|
|
|
81395
81435
|
*/
|
|
81396
81436
|
vFilter?: sap.ui.model.Filter[] | sap.ui.model.Filter,
|
|
81397
81437
|
/**
|
|
81398
|
-
* The type of the application filters to replace
|
|
81438
|
+
* The type of the application filters to replace, see {@link sap.ui.model.FilterType}
|
|
81399
81439
|
*/
|
|
81400
|
-
sFilterType?:
|
|
81401
|
-
any | /* was: sap.ui.model.FilterType.ApplicationBound */ any
|
|
81440
|
+
sFilterType?: "Application" | "ApplicationBound"
|
|
81402
81441
|
): sap.ui.model.Filter[] | sap.ui.model.Filter | undefined;
|
|
81403
81442
|
/**
|
|
81404
81443
|
* Detaches event handler `fnFunction` from the {@link #event:_filter _filter} event of this `sap.ui.model.TreeBinding`.
|
package/types/sap.ui.export.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.148.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -162,6 +162,27 @@ declare namespace sap {
|
|
|
162
162
|
): void;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
+
/**
|
|
166
|
+
* Describes the settings that can be provided to the TableExportSettings constructor.
|
|
167
|
+
*/
|
|
168
|
+
interface $TableExportSettingsSettings
|
|
169
|
+
extends sap.ui.core.$ElementSettings {
|
|
170
|
+
/**
|
|
171
|
+
* The default file name shown in the export dialog.
|
|
172
|
+
*
|
|
173
|
+
* If not specified, the table header is used as the file name.
|
|
174
|
+
*
|
|
175
|
+
* File Name Restrictions: The following characters are not allowed in the file name: `\ / : | ? " * <
|
|
176
|
+
* >`
|
|
177
|
+
*
|
|
178
|
+
* The file name must not exceed 256 characters. A warning is shown if it exceeds 100 characters, as long
|
|
179
|
+
* file names may prevent the spreadsheet from opening correctly.
|
|
180
|
+
*
|
|
181
|
+
* The proper file extension is appended automatically based on the selected file type if not already present.
|
|
182
|
+
*/
|
|
183
|
+
fileName?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
184
|
+
}
|
|
185
|
+
|
|
165
186
|
/**
|
|
166
187
|
* Parameters of the ExportBase#beforeExport event.
|
|
167
188
|
*/
|
|
@@ -843,6 +864,125 @@ declare namespace sap {
|
|
|
843
864
|
| sap.ui.model.TreeBinding
|
|
844
865
|
): object | null;
|
|
845
866
|
}
|
|
867
|
+
/**
|
|
868
|
+
* Defines default values shown in the export dialog of a table control, for example {@link sap.ui.mdc.Table }
|
|
869
|
+
* or {@link sap.ui.comp.smarttable.SmartTable}.
|
|
870
|
+
*
|
|
871
|
+
* **Note:** These values are defaults shown to the user. The user can still modify them before export.
|
|
872
|
+
* If the user modifies a value in the dialog, the user choice takes precedence and is not overridden by
|
|
873
|
+
* event handlers.
|
|
874
|
+
*
|
|
875
|
+
* @since 1.148
|
|
876
|
+
*/
|
|
877
|
+
class TableExportSettings extends sap.ui.core.Element {
|
|
878
|
+
/**
|
|
879
|
+
* Constructor for a new TableExportSettings.
|
|
880
|
+
*
|
|
881
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
882
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
883
|
+
* of the syntax of the settings object.
|
|
884
|
+
*/
|
|
885
|
+
constructor(
|
|
886
|
+
/**
|
|
887
|
+
* Initial settings for the new element
|
|
888
|
+
*/
|
|
889
|
+
mSettings?: sap.ui.export.$TableExportSettingsSettings
|
|
890
|
+
);
|
|
891
|
+
/**
|
|
892
|
+
* Constructor for a new TableExportSettings.
|
|
893
|
+
*
|
|
894
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
895
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
896
|
+
* of the syntax of the settings object.
|
|
897
|
+
*/
|
|
898
|
+
constructor(
|
|
899
|
+
/**
|
|
900
|
+
* Optional ID for the new object; generated automatically if no non-empty ID is given
|
|
901
|
+
*/
|
|
902
|
+
sId?: string,
|
|
903
|
+
/**
|
|
904
|
+
* Initial settings for the new element
|
|
905
|
+
*/
|
|
906
|
+
mSettings?: sap.ui.export.$TableExportSettingsSettings
|
|
907
|
+
);
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* Creates a new subclass of class sap.ui.export.TableExportSettings with name `sClassName` and enriches
|
|
911
|
+
* it with the information contained in `oClassInfo`.
|
|
912
|
+
*
|
|
913
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
914
|
+
*
|
|
915
|
+
*
|
|
916
|
+
* @returns Created class / constructor function
|
|
917
|
+
*/
|
|
918
|
+
static extend<T extends Record<string, unknown>>(
|
|
919
|
+
/**
|
|
920
|
+
* Name of the class being created
|
|
921
|
+
*/
|
|
922
|
+
sClassName: string,
|
|
923
|
+
/**
|
|
924
|
+
* Object literal with information about the class
|
|
925
|
+
*/
|
|
926
|
+
oClassInfo?: sap.ClassInfo<T, sap.ui.export.TableExportSettings>,
|
|
927
|
+
/**
|
|
928
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
929
|
+
* used by this class
|
|
930
|
+
*/
|
|
931
|
+
FNMetaImpl?: Function
|
|
932
|
+
): Function;
|
|
933
|
+
/**
|
|
934
|
+
* Returns a metadata object for class sap.ui.export.TableExportSettings.
|
|
935
|
+
*
|
|
936
|
+
*
|
|
937
|
+
* @returns Metadata object describing this class
|
|
938
|
+
*/
|
|
939
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
940
|
+
/**
|
|
941
|
+
* Gets current value of property {@link #getFileName fileName}.
|
|
942
|
+
*
|
|
943
|
+
* The default file name shown in the export dialog.
|
|
944
|
+
*
|
|
945
|
+
* If not specified, the table header is used as the file name.
|
|
946
|
+
*
|
|
947
|
+
* File Name Restrictions: The following characters are not allowed in the file name: `\ / : | ? " * <
|
|
948
|
+
* >`
|
|
949
|
+
*
|
|
950
|
+
* The file name must not exceed 256 characters. A warning is shown if it exceeds 100 characters, as long
|
|
951
|
+
* file names may prevent the spreadsheet from opening correctly.
|
|
952
|
+
*
|
|
953
|
+
* The proper file extension is appended automatically based on the selected file type if not already present.
|
|
954
|
+
*
|
|
955
|
+
*
|
|
956
|
+
* @returns Value of property `fileName`
|
|
957
|
+
*/
|
|
958
|
+
getFileName(): string;
|
|
959
|
+
/**
|
|
960
|
+
* Sets a new value for property {@link #getFileName fileName}.
|
|
961
|
+
*
|
|
962
|
+
* The default file name shown in the export dialog.
|
|
963
|
+
*
|
|
964
|
+
* If not specified, the table header is used as the file name.
|
|
965
|
+
*
|
|
966
|
+
* File Name Restrictions: The following characters are not allowed in the file name: `\ / : | ? " * <
|
|
967
|
+
* >`
|
|
968
|
+
*
|
|
969
|
+
* The file name must not exceed 256 characters. A warning is shown if it exceeds 100 characters, as long
|
|
970
|
+
* file names may prevent the spreadsheet from opening correctly.
|
|
971
|
+
*
|
|
972
|
+
* The proper file extension is appended automatically based on the selected file type if not already present.
|
|
973
|
+
*
|
|
974
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
975
|
+
*
|
|
976
|
+
*
|
|
977
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
978
|
+
*/
|
|
979
|
+
setFileName(
|
|
980
|
+
/**
|
|
981
|
+
* New value for property `fileName`
|
|
982
|
+
*/
|
|
983
|
+
sFileName: string
|
|
984
|
+
): this;
|
|
985
|
+
}
|
|
846
986
|
/**
|
|
847
987
|
* EDM data types for document export.
|
|
848
988
|
*
|
|
@@ -1176,6 +1316,8 @@ declare namespace sap {
|
|
|
1176
1316
|
|
|
1177
1317
|
"sap/ui/export/Spreadsheet": undefined;
|
|
1178
1318
|
|
|
1319
|
+
"sap/ui/export/TableExportSettings": undefined;
|
|
1320
|
+
|
|
1179
1321
|
"sap/ui/export/util/Filter": undefined;
|
|
1180
1322
|
}
|
|
1181
1323
|
}
|
package/types/sap.ui.fl.d.ts
CHANGED
package/types/sap.ui.geomap.d.ts
CHANGED