@sapui5/types 1.121.1 → 1.122.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 +11 -5
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +47 -1
- package/types/sap.fe.core.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +81 -267
- package/types/sap.fe.navigation.d.ts +109 -10
- 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 +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 +57 -2
- package/types/sap.insights.d.ts +22 -1
- package/types/sap.m.d.ts +1042 -56
- 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 +297 -210
- package/types/sap.suite.ui.commons.d.ts +1488 -113
- package/types/sap.suite.ui.generic.template.d.ts +5 -3
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +4 -1
- package/types/sap.ui.comp.d.ts +227 -28
- package/types/sap.ui.core.d.ts +349 -177
- 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 -3
- 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 +5 -1
- package/types/sap.ui.layout.d.ts +4 -4
- package/types/sap.ui.mdc.d.ts +161 -40
- 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 +15 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +4 -4
- package/types/sap.ui.ux3.d.ts +3 -3
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +96 -289
- 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 +7 -480
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +52 -3
- 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/package.json
CHANGED
package/types/sap.apf.d.ts
CHANGED
package/types/sap.ca.ui.d.ts
CHANGED
package/types/sap.chart.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.122.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/collaboration/library" {
|
|
4
4
|
/**
|
|
@@ -100,7 +100,7 @@ declare module "sap/collaboration/components/feed/Component" {
|
|
|
100
100
|
$UIComponentSettings,
|
|
101
101
|
} from "sap/ui/core/UIComponent";
|
|
102
102
|
|
|
103
|
-
import { ID } from "sap/ui/core/library";
|
|
103
|
+
import { IAsyncContentCreation, ID } from "sap/ui/core/library";
|
|
104
104
|
|
|
105
105
|
import { TimelineAxisOrientation } from "sap/suite/ui/commons/library";
|
|
106
106
|
|
|
@@ -114,7 +114,10 @@ declare module "sap/collaboration/components/feed/Component" {
|
|
|
114
114
|
*
|
|
115
115
|
* @since 1.30
|
|
116
116
|
*/
|
|
117
|
-
export default class Component
|
|
117
|
+
export default class Component
|
|
118
|
+
extends UIComponent
|
|
119
|
+
implements IAsyncContentCreation {
|
|
120
|
+
__implements__sap_ui_core_IAsyncContentCreation: boolean;
|
|
118
121
|
/**
|
|
119
122
|
* Constructor for the Feed Component.
|
|
120
123
|
*
|
|
@@ -343,7 +346,7 @@ declare module "sap/collaboration/components/fiori/feed/Component" {
|
|
|
343
346
|
$UIComponentSettings,
|
|
344
347
|
} from "sap/ui/core/UIComponent";
|
|
345
348
|
|
|
346
|
-
import { CSSSize, URI } from "sap/ui/core/library";
|
|
349
|
+
import { IAsyncContentCreation, CSSSize, URI } from "sap/ui/core/library";
|
|
347
350
|
|
|
348
351
|
import ComponentMetadata from "sap/ui/core/ComponentMetadata";
|
|
349
352
|
|
|
@@ -361,7 +364,10 @@ declare module "sap/collaboration/components/fiori/feed/Component" {
|
|
|
361
364
|
*
|
|
362
365
|
* @deprecated (since 1.26.0) - Please use sap.collaboration.components.fiori.feed.dialog.Component instead.
|
|
363
366
|
*/
|
|
364
|
-
export default class Component
|
|
367
|
+
export default class Component
|
|
368
|
+
extends UIComponent
|
|
369
|
+
implements IAsyncContentCreation {
|
|
370
|
+
__implements__sap_ui_core_IAsyncContentCreation: boolean;
|
|
365
371
|
/**
|
|
366
372
|
* Constructor for the Feed Component.
|
|
367
373
|
*
|
package/types/sap.f.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.122.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/tnt/library" {
|
|
4
4
|
export interface IToolHeader {
|
|
@@ -1581,6 +1581,8 @@ declare module "sap/f/cards/BaseHeader" {
|
|
|
1581
1581
|
|
|
1582
1582
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
1583
1583
|
|
|
1584
|
+
import { WrappingType } from "sap/m/library";
|
|
1585
|
+
|
|
1584
1586
|
import {
|
|
1585
1587
|
PropertyBindingInfo,
|
|
1586
1588
|
AggregationBindingInfo,
|
|
@@ -1731,6 +1733,19 @@ declare module "sap/f/cards/BaseHeader" {
|
|
|
1731
1733
|
* @experimental (since 1.86)
|
|
1732
1734
|
*/
|
|
1733
1735
|
getToolbar(): Control;
|
|
1736
|
+
/**
|
|
1737
|
+
* Gets current value of property {@link #getWrappingType wrappingType}.
|
|
1738
|
+
*
|
|
1739
|
+
* Defines the type of text wrapping to be used inside the header. This applies to title, subtitle and details
|
|
1740
|
+
* texts of the header.
|
|
1741
|
+
*
|
|
1742
|
+
* Default value is `Normal`.
|
|
1743
|
+
*
|
|
1744
|
+
* @experimental (since 1.122) - this feature is experimental and the API may change.
|
|
1745
|
+
*
|
|
1746
|
+
* @returns Value of property `wrappingType`
|
|
1747
|
+
*/
|
|
1748
|
+
getWrappingType(): WrappingType | keyof typeof WrappingType;
|
|
1734
1749
|
/**
|
|
1735
1750
|
* Checks for the provided `sap.m.Text` in the aggregation {@link #getBannerLines bannerLines}. and returns
|
|
1736
1751
|
* its index if found or -1 otherwise.
|
|
@@ -1848,6 +1863,26 @@ declare module "sap/f/cards/BaseHeader" {
|
|
|
1848
1863
|
*/
|
|
1849
1864
|
oToolbar: Control
|
|
1850
1865
|
): this;
|
|
1866
|
+
/**
|
|
1867
|
+
* Sets a new value for property {@link #getWrappingType wrappingType}.
|
|
1868
|
+
*
|
|
1869
|
+
* Defines the type of text wrapping to be used inside the header. This applies to title, subtitle and details
|
|
1870
|
+
* texts of the header.
|
|
1871
|
+
*
|
|
1872
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1873
|
+
*
|
|
1874
|
+
* Default value is `Normal`.
|
|
1875
|
+
*
|
|
1876
|
+
* @experimental (since 1.122) - this feature is experimental and the API may change.
|
|
1877
|
+
*
|
|
1878
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1879
|
+
*/
|
|
1880
|
+
setWrappingType(
|
|
1881
|
+
/**
|
|
1882
|
+
* New value for property `wrappingType`
|
|
1883
|
+
*/
|
|
1884
|
+
sWrappingType?: WrappingType | keyof typeof WrappingType
|
|
1885
|
+
): this;
|
|
1851
1886
|
}
|
|
1852
1887
|
|
|
1853
1888
|
export interface $BaseHeaderSettings extends $ControlSettings {
|
|
@@ -1870,6 +1905,17 @@ declare module "sap/f/cards/BaseHeader" {
|
|
|
1870
1905
|
*/
|
|
1871
1906
|
statusVisible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
1872
1907
|
|
|
1908
|
+
/**
|
|
1909
|
+
* Defines the type of text wrapping to be used inside the header. This applies to title, subtitle and details
|
|
1910
|
+
* texts of the header.
|
|
1911
|
+
*
|
|
1912
|
+
* @experimental (since 1.122) - this feature is experimental and the API may change.
|
|
1913
|
+
*/
|
|
1914
|
+
wrappingType?:
|
|
1915
|
+
| (WrappingType | keyof typeof WrappingType)
|
|
1916
|
+
| PropertyBindingInfo
|
|
1917
|
+
| `{${string}}`;
|
|
1918
|
+
|
|
1873
1919
|
/**
|
|
1874
1920
|
* Defines the toolbar.
|
|
1875
1921
|
*
|
package/types/sap.fe.core.d.ts
CHANGED
package/types/sap.fe.macros.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.122.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/fe/macros/CollectionBindingInfo" {
|
|
4
4
|
import Filter from "sap/ui/model/Filter";
|
|
@@ -75,6 +75,34 @@ declare module "sap/fe/macros/MacroAPI" {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
declare module "sap/fe/macros/RichTextEditor" {
|
|
79
|
+
/**
|
|
80
|
+
* Building block that exposes the RichTextEditor UI5 control.
|
|
81
|
+
* It's used to enter formatted text, and uses the third-party component called TinyMCE.
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @since 1.117.0
|
|
85
|
+
*/
|
|
86
|
+
export default class RichTextEditor
|
|
87
|
+
/* was: sap.fe.core.buildingBlocks.BuildingBlockBase */ extends Object {}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare module "sap/fe/macros/chart/Action" {
|
|
91
|
+
/**
|
|
92
|
+
* Definition of a custom action to be used in the chart toolbar
|
|
93
|
+
*/
|
|
94
|
+
export default class Action
|
|
95
|
+
/* was: sap.fe.macros.controls.BuildingBlockObjectProperty */ extends Object {}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
declare module "sap/fe/macros/chart/ActionGroup" {
|
|
99
|
+
/**
|
|
100
|
+
* Definition of a custom action group to be used inside the chart toolbar
|
|
101
|
+
*/
|
|
102
|
+
export default class ActionGroup
|
|
103
|
+
/* was: sap.fe.macros.controls.BuildingBlockObjectProperty */ extends Object {}
|
|
104
|
+
}
|
|
105
|
+
|
|
78
106
|
declare module "sap/fe/macros/chart/ChartAPI" {
|
|
79
107
|
import MacroAPI from "sap/fe/macros/MacroAPI";
|
|
80
108
|
|
|
@@ -141,68 +169,6 @@ declare module "sap/fe/macros/chart/ChartAPI" {
|
|
|
141
169
|
presentationVariant: PresentationVariant
|
|
142
170
|
): Promise<void>;
|
|
143
171
|
}
|
|
144
|
-
/**
|
|
145
|
-
* Definition of a custom action to be used in the chart toolbar
|
|
146
|
-
*/
|
|
147
|
-
export type Action = {
|
|
148
|
-
/**
|
|
149
|
-
* Reference to the key of another action already displayed in the toolbar to properly place this one
|
|
150
|
-
*/
|
|
151
|
-
anchor: string;
|
|
152
|
-
/**
|
|
153
|
-
* Enables or disables the action
|
|
154
|
-
*/
|
|
155
|
-
enabled: boolean;
|
|
156
|
-
/**
|
|
157
|
-
* Unique identifier of the action
|
|
158
|
-
*/
|
|
159
|
-
key: string;
|
|
160
|
-
/**
|
|
161
|
-
* Defines where this action should be placed relative to the defined anchor
|
|
162
|
-
* Allowed values are `Before` and `After`
|
|
163
|
-
*/
|
|
164
|
-
placement: string;
|
|
165
|
-
/**
|
|
166
|
-
* Event handler to be called when the user chooses the action
|
|
167
|
-
*/
|
|
168
|
-
press: string;
|
|
169
|
-
/**
|
|
170
|
-
* Defines if the action requires a selection.
|
|
171
|
-
*/
|
|
172
|
-
requiresSelection: boolean;
|
|
173
|
-
/**
|
|
174
|
-
* The text that will be displayed for this action
|
|
175
|
-
*/
|
|
176
|
-
text: string;
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Definition of a custom action group to be used inside the chart toolbar
|
|
181
|
-
*/
|
|
182
|
-
export type ActionGroup = {
|
|
183
|
-
/**
|
|
184
|
-
* Defines nested actions
|
|
185
|
-
*/
|
|
186
|
-
actions: Action[];
|
|
187
|
-
/**
|
|
188
|
-
* Reference to the key of another action or action group already displayed in the toolbar to properly place
|
|
189
|
-
* this one
|
|
190
|
-
*/
|
|
191
|
-
anchor: string;
|
|
192
|
-
/**
|
|
193
|
-
* Unique identifier of the action
|
|
194
|
-
*/
|
|
195
|
-
key: string;
|
|
196
|
-
/**
|
|
197
|
-
* Defines where this action group should be placed relative to the defined anchor
|
|
198
|
-
* Allowed values are `Before` and `After`
|
|
199
|
-
*/
|
|
200
|
-
placement: string;
|
|
201
|
-
/**
|
|
202
|
-
* The text that will be displayed for this action group
|
|
203
|
-
*/
|
|
204
|
-
text: string;
|
|
205
|
-
};
|
|
206
172
|
}
|
|
207
173
|
|
|
208
174
|
declare module "sap/fe/macros/fcl/FlexibleColumnLayoutActions.block" {
|
|
@@ -241,6 +207,7 @@ declare module "sap/fe/macros/field/FieldAPI" {
|
|
|
241
207
|
*
|
|
242
208
|
* Usually, a DataField or DataPoint annotation is expected, but the field can also be used to display a
|
|
243
209
|
* property from the entity type.
|
|
210
|
+
* When creating a Field building block, you must provide an ID to ensure everything works correctly.
|
|
244
211
|
*
|
|
245
212
|
* Usage example:
|
|
246
213
|
*
|
|
@@ -327,12 +294,22 @@ declare module "sap/fe/macros/field/FieldAPI" {
|
|
|
327
294
|
* Allowed values are "Value", "Description", "DescriptionValue" and "ValueDescription"
|
|
328
295
|
*/
|
|
329
296
|
displayMode: string;
|
|
297
|
+
/**
|
|
298
|
+
* Determines how the field should be rendered, e.g. as radio buttons.
|
|
299
|
+
*
|
|
300
|
+
* If not all prerequisites are met, the field will default back to the standard rendering.
|
|
301
|
+
*/
|
|
302
|
+
fieldEditStyle: /* was: sap.fe.macros.field.FieldAPI.FieldEditStyle */ any;
|
|
330
303
|
/**
|
|
331
304
|
* Defines if and how the field measure will be displayed.
|
|
332
305
|
*
|
|
333
306
|
* Allowed values are "Hidden" and "ReadOnly"
|
|
334
307
|
*/
|
|
335
308
|
measureDisplayMode: string;
|
|
309
|
+
/**
|
|
310
|
+
* Specifies if radio buttons should be rendered in a horizontal layout.
|
|
311
|
+
*/
|
|
312
|
+
radioButtonsHorizontalLayout: boolean;
|
|
336
313
|
/**
|
|
337
314
|
* Defines if the date part of a date time with timezone field should be shown.
|
|
338
315
|
*
|
|
@@ -549,33 +526,15 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
549
526
|
*/
|
|
550
527
|
triggerSearch(): Promise<object | undefined>;
|
|
551
528
|
}
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
declare module "sap/fe/macros/filterBar/FilterField" {
|
|
552
532
|
/**
|
|
553
533
|
* Definition of a custom filter to be used inside the FilterBar.
|
|
554
534
|
* The template for the FilterField has to be provided as the default aggregation
|
|
555
535
|
*/
|
|
556
|
-
export
|
|
557
|
-
|
|
558
|
-
* Reference to the key of another filter already displayed in the table to properly place this one
|
|
559
|
-
*/
|
|
560
|
-
anchor: string;
|
|
561
|
-
/**
|
|
562
|
-
* The property name of the FilterField
|
|
563
|
-
*/
|
|
564
|
-
key: string;
|
|
565
|
-
/**
|
|
566
|
-
* The text that will be displayed for this FilterField
|
|
567
|
-
*/
|
|
568
|
-
label: string;
|
|
569
|
-
/**
|
|
570
|
-
* Defines where this filter should be placed relative to the defined anchor
|
|
571
|
-
* Allowed values are `Before` and `After`
|
|
572
|
-
*/
|
|
573
|
-
placement: string;
|
|
574
|
-
/**
|
|
575
|
-
* If set, possible errors that occur during the search will be displayed in a message box.
|
|
576
|
-
*/
|
|
577
|
-
showMessages: boolean;
|
|
578
|
-
};
|
|
536
|
+
export default class FilterField
|
|
537
|
+
/* was: sap.fe.macros.controls.BuildingBlockObjectProperty */ extends Object {}
|
|
579
538
|
}
|
|
580
539
|
|
|
581
540
|
declare module "sap/fe/macros/form/Form.block" {
|
|
@@ -779,6 +738,8 @@ declare module "sap/fe/macros/multiValueField/MultiValueField.block" {
|
|
|
779
738
|
declare module "sap/fe/macros/paginator/Paginator.block" {
|
|
780
739
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
781
740
|
|
|
741
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
742
|
+
|
|
782
743
|
/**
|
|
783
744
|
* Building block used to create a paginator control.
|
|
784
745
|
* Usage example:
|
|
@@ -794,56 +755,12 @@ declare module "sap/fe/macros/paginator/Paginator.block" {
|
|
|
794
755
|
*/
|
|
795
756
|
export default class Paginator extends Control {}
|
|
796
757
|
|
|
797
|
-
export interface $PaginatorSettings extends $ControlSettings {
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
declare module "sap/fe/macros/richtexteditor/RichTextEditor.block" {
|
|
801
|
-
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
802
|
-
|
|
803
|
-
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
804
|
-
|
|
805
|
-
/**
|
|
806
|
-
* Building block that exposes the RichTextEditor UI5 control.
|
|
807
|
-
* It's used to enter formatted text, and uses the third-party component called TinyMCE.
|
|
808
|
-
*
|
|
809
|
-
*
|
|
810
|
-
* @since 1.117.0
|
|
811
|
-
*/
|
|
812
|
-
export default class RichTextEditor extends Control {}
|
|
813
|
-
|
|
814
|
-
export interface $RichTextEditorSettings extends $ControlSettings {
|
|
815
|
-
/**
|
|
816
|
-
* With the 'buttonGroups' attribute you can customize the buttons that are displayed on the toolbar of
|
|
817
|
-
* the editor.
|
|
818
|
-
*/
|
|
819
|
-
buttonGroups?: any[] | PropertyBindingInfo | `{${string}}`;
|
|
820
|
-
|
|
821
|
-
/**
|
|
822
|
-
* With the 'excludeDefaultPlugins' you can ask to remove the plugins that will be added by default
|
|
823
|
-
* The default plugins are "emoticons" "directionality" "image" "table" "link" "powerpaste".
|
|
824
|
-
*/
|
|
825
|
-
excludeDefaultPlugins?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
826
|
-
|
|
827
|
-
/**
|
|
828
|
-
* With the 'plugins' attribute you can customize the plugins that will be loaded by the editor.
|
|
829
|
-
*/
|
|
830
|
-
plugins?: any[] | PropertyBindingInfo | `{${string}}`;
|
|
831
|
-
|
|
758
|
+
export interface $PaginatorSettings extends $ControlSettings {
|
|
832
759
|
/**
|
|
833
|
-
*
|
|
834
|
-
*
|
|
760
|
+
* Title of the object that is readout by screen readers when the next/previous item is loaded via keyboard
|
|
761
|
+
* focus on the paginator button.
|
|
835
762
|
*/
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
* Use the 'required' attribute to make sure that the editor is filled with some text.
|
|
840
|
-
*/
|
|
841
|
-
required?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* The value contained in the editor. You can use this attribute to set a default value.
|
|
845
|
-
*/
|
|
846
|
-
value?: string | PropertyBindingInfo;
|
|
763
|
+
ariaTitle?: string | PropertyBindingInfo;
|
|
847
764
|
}
|
|
848
765
|
}
|
|
849
766
|
|
|
@@ -955,154 +872,28 @@ declare module "sap/fe/macros/share/Share.block" {
|
|
|
955
872
|
}
|
|
956
873
|
|
|
957
874
|
declare module "sap/fe/macros/table/Action" {
|
|
958
|
-
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
959
|
-
|
|
960
|
-
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
961
|
-
|
|
962
875
|
/**
|
|
963
876
|
* Definition of a custom action to be used inside the table toolbar
|
|
964
877
|
*/
|
|
965
|
-
export default class Action
|
|
966
|
-
|
|
967
|
-
export interface $ActionSettings extends $ElementSettings {
|
|
968
|
-
/**
|
|
969
|
-
* Reference to the key of another action already displayed in the toolbar to properly place this one
|
|
970
|
-
*/
|
|
971
|
-
anchor?: string | PropertyBindingInfo;
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
* Enables or disables the action
|
|
975
|
-
*/
|
|
976
|
-
enabled?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
977
|
-
|
|
978
|
-
/**
|
|
979
|
-
* Unique identifier of the action
|
|
980
|
-
*/
|
|
981
|
-
key?: string | PropertyBindingInfo;
|
|
982
|
-
|
|
983
|
-
/**
|
|
984
|
-
* Defines where this action should be placed relative to the defined anchor
|
|
985
|
-
* Allowed values are `Before` and `After`
|
|
986
|
-
*/
|
|
987
|
-
placement?: string | PropertyBindingInfo;
|
|
988
|
-
|
|
989
|
-
/**
|
|
990
|
-
* Event handler to be called when the user chooses the action
|
|
991
|
-
*/
|
|
992
|
-
press?: string | PropertyBindingInfo;
|
|
993
|
-
|
|
994
|
-
/**
|
|
995
|
-
* Defines if the action requires a selection.
|
|
996
|
-
*/
|
|
997
|
-
requiresSelection?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
998
|
-
|
|
999
|
-
/**
|
|
1000
|
-
* The text that will be displayed for this action
|
|
1001
|
-
*/
|
|
1002
|
-
text?: string | PropertyBindingInfo;
|
|
1003
|
-
}
|
|
878
|
+
export default class Action
|
|
879
|
+
/* was: sap.fe.macros.controls.BuildingBlockObjectProperty */ extends Object {}
|
|
1004
880
|
}
|
|
1005
881
|
|
|
1006
882
|
declare module "sap/fe/macros/table/ActionGroup" {
|
|
1007
|
-
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
1008
|
-
|
|
1009
|
-
import {
|
|
1010
|
-
PropertyBindingInfo,
|
|
1011
|
-
AggregationBindingInfo,
|
|
1012
|
-
} from "sap/ui/base/ManagedObject";
|
|
1013
|
-
|
|
1014
|
-
import Action from "sap/fe/macros/table/Action";
|
|
1015
|
-
|
|
1016
883
|
/**
|
|
1017
884
|
* Definition of a custom ActionGroup to be used inside the table toolbar
|
|
1018
885
|
*/
|
|
1019
|
-
export default class ActionGroup
|
|
1020
|
-
|
|
1021
|
-
export interface $ActionGroupSettings extends $ElementSettings {
|
|
1022
|
-
/**
|
|
1023
|
-
* Reference to the key of another action or action group already displayed in the toolbar to properly place
|
|
1024
|
-
* this one
|
|
1025
|
-
*/
|
|
1026
|
-
anchor?: string | PropertyBindingInfo;
|
|
1027
|
-
|
|
1028
|
-
/**
|
|
1029
|
-
* Unique identifier of the ActionGroup
|
|
1030
|
-
*/
|
|
1031
|
-
key?: string | PropertyBindingInfo;
|
|
1032
|
-
|
|
1033
|
-
/**
|
|
1034
|
-
* Defines where this action group should be placed relative to the defined anchor
|
|
1035
|
-
* Allowed values are `Before` and `After`
|
|
1036
|
-
*/
|
|
1037
|
-
placement?: string | PropertyBindingInfo;
|
|
1038
|
-
|
|
1039
|
-
/**
|
|
1040
|
-
* The text that will be displayed for this action group
|
|
1041
|
-
*/
|
|
1042
|
-
text?: string | PropertyBindingInfo;
|
|
1043
|
-
|
|
1044
|
-
/**
|
|
1045
|
-
* Defines nested actions
|
|
1046
|
-
*/
|
|
1047
|
-
actions?: Action[] | Action | AggregationBindingInfo | `{${string}}`;
|
|
1048
|
-
}
|
|
886
|
+
export default class ActionGroup
|
|
887
|
+
/* was: sap.fe.macros.controls.BuildingBlockObjectProperty */ extends Object {}
|
|
1049
888
|
}
|
|
1050
889
|
|
|
1051
890
|
declare module "sap/fe/macros/table/Column" {
|
|
1052
|
-
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
1053
|
-
|
|
1054
|
-
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
1055
|
-
|
|
1056
891
|
/**
|
|
1057
892
|
* Definition of a custom column to be used inside the table.
|
|
1058
893
|
* The template for the column has to be provided as the default aggregation
|
|
1059
894
|
*/
|
|
1060
|
-
export default class Column
|
|
1061
|
-
|
|
1062
|
-
export interface $ColumnSettings extends $ElementSettings {
|
|
1063
|
-
/**
|
|
1064
|
-
* Reference to the key of another column already displayed in the table to properly place this one
|
|
1065
|
-
*/
|
|
1066
|
-
anchor?: string | PropertyBindingInfo;
|
|
1067
|
-
|
|
1068
|
-
/**
|
|
1069
|
-
* The text that will be displayed for this column header
|
|
1070
|
-
*/
|
|
1071
|
-
header?: string | PropertyBindingInfo;
|
|
1072
|
-
|
|
1073
|
-
/**
|
|
1074
|
-
* Aligns the header as well as the content horizontally
|
|
1075
|
-
*/
|
|
1076
|
-
horizontalAlign?: string | PropertyBindingInfo;
|
|
1077
|
-
|
|
1078
|
-
/**
|
|
1079
|
-
* Defines the column importance.
|
|
1080
|
-
* You can define which columns should be automatically moved to the pop-in area based on their importance
|
|
1081
|
-
*/
|
|
1082
|
-
importance?: string | PropertyBindingInfo;
|
|
1083
|
-
|
|
1084
|
-
/**
|
|
1085
|
-
* Unique identifier of the column
|
|
1086
|
-
*/
|
|
1087
|
-
key?: string | PropertyBindingInfo;
|
|
1088
|
-
|
|
1089
|
-
/**
|
|
1090
|
-
* Defines where this column should be placed relative to the defined anchor
|
|
1091
|
-
* Allowed values are `Before` and `After`
|
|
1092
|
-
*/
|
|
1093
|
-
placement?: string | PropertyBindingInfo;
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
* Defines the column's width.
|
|
1097
|
-
* Allowed values are `auto`, `value` and `inherit` according to {@link sap.ui.core.CSSSize }
|
|
1098
|
-
*/
|
|
1099
|
-
width?: string | PropertyBindingInfo;
|
|
1100
|
-
|
|
1101
|
-
/**
|
|
1102
|
-
* Indicates if the column header should be a part of the width calculation.
|
|
1103
|
-
*/
|
|
1104
|
-
widthIncludingColumnHeader?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
1105
|
-
}
|
|
895
|
+
export default class Column
|
|
896
|
+
/* was: sap.fe.macros.controls.BuildingBlockObjectProperty */ extends Object {}
|
|
1106
897
|
}
|
|
1107
898
|
|
|
1108
899
|
declare module "sap/fe/macros/table/TableAPI" {
|
|
@@ -1166,6 +957,13 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
1166
957
|
type?: MessageType;
|
|
1167
958
|
}
|
|
1168
959
|
): string;
|
|
960
|
+
/**
|
|
961
|
+
* Get the variant management applied to the table.
|
|
962
|
+
*
|
|
963
|
+
*
|
|
964
|
+
* @returns Key of the currently selected variant. In case the model is not yet set, `null` will be returned.
|
|
965
|
+
*/
|
|
966
|
+
getCurrentVariantKey(): null | string;
|
|
1169
967
|
/**
|
|
1170
968
|
* Get the presentation variant that is currently applied on the table.
|
|
1171
969
|
*
|
|
@@ -1193,6 +991,16 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
1193
991
|
*/
|
|
1194
992
|
id: string
|
|
1195
993
|
): void;
|
|
994
|
+
/**
|
|
995
|
+
* Set a variant management to the table.
|
|
996
|
+
*/
|
|
997
|
+
setCurrentVariantKey(
|
|
998
|
+
/**
|
|
999
|
+
* Key of the variant that should be selected. If the passed key doesn't identify a variant, it will be
|
|
1000
|
+
* ignored.
|
|
1001
|
+
*/
|
|
1002
|
+
key: string
|
|
1003
|
+
): void;
|
|
1196
1004
|
/**
|
|
1197
1005
|
* Set a new presentation variant to the table.
|
|
1198
1006
|
*/
|
|
@@ -1249,6 +1057,10 @@ declare module "sap/fe/macros/table/TableAPI" {
|
|
|
1249
1057
|
|
|
1250
1058
|
declare namespace sap {
|
|
1251
1059
|
interface IUI5DefineDependencyNames {
|
|
1060
|
+
"sap/fe/macros/chart/Action": undefined;
|
|
1061
|
+
|
|
1062
|
+
"sap/fe/macros/chart/ActionGroup": undefined;
|
|
1063
|
+
|
|
1252
1064
|
"sap/fe/macros/chart/ChartAPI": undefined;
|
|
1253
1065
|
|
|
1254
1066
|
"sap/fe/macros/CollectionBindingInfo": undefined;
|
|
@@ -1259,6 +1071,8 @@ declare namespace sap {
|
|
|
1259
1071
|
|
|
1260
1072
|
"sap/fe/macros/filterBar/FilterBarAPI": undefined;
|
|
1261
1073
|
|
|
1074
|
+
"sap/fe/macros/filterBar/FilterField": undefined;
|
|
1075
|
+
|
|
1262
1076
|
"sap/fe/macros/form/Form.block": undefined;
|
|
1263
1077
|
|
|
1264
1078
|
"sap/fe/macros/form/FormElement.block": undefined;
|
|
@@ -1275,7 +1089,7 @@ declare namespace sap {
|
|
|
1275
1089
|
|
|
1276
1090
|
"sap/fe/macros/paginator/Paginator.block": undefined;
|
|
1277
1091
|
|
|
1278
|
-
"sap/fe/macros/
|
|
1092
|
+
"sap/fe/macros/RichTextEditor": undefined;
|
|
1279
1093
|
|
|
1280
1094
|
"sap/fe/macros/richtexteditor/RichTextEditorWithMetadata.block": undefined;
|
|
1281
1095
|
|