@sapui5/ts-types-esm 1.136.3 → 1.138.1
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 +2 -1
- package/types/sap.apf.d.ts +30 -3
- 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.cux.home.d.ts +315 -65
- package/types/sap.esh.search.ui.d.ts +71 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.ariba.d.ts +3 -0
- 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 +50 -8
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +170 -66
- 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 +4 -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 +1 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +1251 -564
- 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 +34 -1
- package/types/sap.suite.ui.commons.d.ts +4 -2
- 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 +103 -16
- 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 +67 -9
- package/types/sap.ui.core.d.ts +72 -69
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +221 -167
- package/types/sap.ui.fl.d.ts +3 -7
- 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 +44 -24
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/{mdc-1.136.0-esm-d.ts → sap.ui.mdc.d.ts} +599 -297
- package/types/sap.ui.richtexteditor.d.ts +21 -17
- 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 +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +9 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +75 -30
- package/types/sap.ui.vk.d.ts +364 -102
- package/types/sap.ui.vtm.d.ts +3 -2
- 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 +58 -44
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.138.1
|
|
2
2
|
|
|
3
3
|
declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
4
4
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
@@ -714,6 +714,16 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
714
714
|
* @returns Value of property `initAsync`
|
|
715
715
|
*/
|
|
716
716
|
getInitAsync(): Function;
|
|
717
|
+
/**
|
|
718
|
+
* Get the status of initialization. In unsuccessful case, the corresponding error instance is returned
|
|
719
|
+
* either.
|
|
720
|
+
*
|
|
721
|
+
* @since 1.132.0
|
|
722
|
+
*
|
|
723
|
+
* @returns Promise<{success: boolean;error?: Error;}> If success is true, the initialization was successful.
|
|
724
|
+
* If success is false, the error property contains the error instance for further handling.
|
|
725
|
+
*/
|
|
726
|
+
getInitializationStatus(): object;
|
|
717
727
|
/**
|
|
718
728
|
* Gets current value of property {@link #getIsFilterBarVisible isFilterBarVisible}.
|
|
719
729
|
*
|
|
@@ -916,6 +926,7 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
916
926
|
* A callback which is called whenever the selection of result view items changes.
|
|
917
927
|
*
|
|
918
928
|
* @since 1.113.0
|
|
929
|
+
* @deprecated As of version 1.137.0. this setting is ignored, subscribe to event 'selectionChange'.
|
|
919
930
|
*
|
|
920
931
|
* @returns Value of property `selectionChange`
|
|
921
932
|
*/
|
|
@@ -954,6 +965,56 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
954
965
|
* @returns Value of property `updateUrl`
|
|
955
966
|
*/
|
|
956
967
|
getUpdateUrl(): boolean;
|
|
968
|
+
/**
|
|
969
|
+
* Invalidate the search cache. To trigger a search in addition, use function 'retriggerSearch' instead.
|
|
970
|
+
*
|
|
971
|
+
* @since 1.124.0
|
|
972
|
+
*/
|
|
973
|
+
invalidateSearchResultCache(): Promise<void>;
|
|
974
|
+
/**
|
|
975
|
+
* Resets the active data source which is selected in the data source drop down list to its default (see
|
|
976
|
+
* 'defaultDataSource'/'exclusiveDataSource').
|
|
977
|
+
*
|
|
978
|
+
* @since 1.124.0
|
|
979
|
+
*/
|
|
980
|
+
resetDataSource(
|
|
981
|
+
/**
|
|
982
|
+
* If true, fires a search query right away. Set to 'false' for batch updates.
|
|
983
|
+
*/
|
|
984
|
+
fireQuery?: boolean
|
|
985
|
+
): this;
|
|
986
|
+
/**
|
|
987
|
+
* Resets the UI / search results (reset search query and fire a new search).
|
|
988
|
+
*
|
|
989
|
+
* @since 1.125.0
|
|
990
|
+
*/
|
|
991
|
+
resetSearch(): Promise<void>;
|
|
992
|
+
/**
|
|
993
|
+
* Fire a new search (includes invalidation of search cache). To invalidate the search cache w/o triggering
|
|
994
|
+
* a new search, use function 'invalidateSearchResultCache' instead.
|
|
995
|
+
*
|
|
996
|
+
* @since 1.124.0
|
|
997
|
+
*/
|
|
998
|
+
retriggerSearch(): Promise<void>;
|
|
999
|
+
/**
|
|
1000
|
+
* Invalidate the search cache and optionally fire a new search. Also see functions 'retriggerSearch' and
|
|
1001
|
+
* 'invalidateSearchResultCache'.
|
|
1002
|
+
*
|
|
1003
|
+
* @since 1.124.0
|
|
1004
|
+
*
|
|
1005
|
+
* @returns Returns 'true' if the search query was fired, otherwise 'void'.
|
|
1006
|
+
*/
|
|
1007
|
+
search(
|
|
1008
|
+
/**
|
|
1009
|
+
* Indicates wether the search query should be resetted. Set to 'true' to reset the query.
|
|
1010
|
+
*/
|
|
1011
|
+
invalidateQuery?: boolean,
|
|
1012
|
+
/**
|
|
1013
|
+
* Indicates wether the search query should be sent to the search service or not. Set to 'false', to prevent
|
|
1014
|
+
* auto-update of search results.
|
|
1015
|
+
*/
|
|
1016
|
+
fireQuery?: boolean
|
|
1017
|
+
): Promise<true | void>;
|
|
957
1018
|
/**
|
|
958
1019
|
* Sets a new value for property {@link #getApplicationComponent applicationComponent}.
|
|
959
1020
|
*
|
|
@@ -1704,6 +1765,7 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
1704
1765
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1705
1766
|
*
|
|
1706
1767
|
* @since 1.113.0
|
|
1768
|
+
* @deprecated As of version 1.137.0. this setting is ignored, subscribe to event 'selectionChange'.
|
|
1707
1769
|
*
|
|
1708
1770
|
* @returns Reference to `this` in order to allow method chaining
|
|
1709
1771
|
*/
|
|
@@ -1768,6 +1830,13 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
1768
1830
|
*/
|
|
1769
1831
|
bUpdateUrl?: boolean
|
|
1770
1832
|
): this;
|
|
1833
|
+
/**
|
|
1834
|
+
* Update hierarchy facet Updates the one and only (static) hierarchy facet (tree control on facet panel).
|
|
1835
|
+
* If no hierarchy facet exists, nothing will happen.
|
|
1836
|
+
*
|
|
1837
|
+
* @since 1.126.0
|
|
1838
|
+
*/
|
|
1839
|
+
updateStaticHierarchyFacet(): Promise<void>;
|
|
1771
1840
|
}
|
|
1772
1841
|
/**
|
|
1773
1842
|
* Describes the settings that can be provided to the SearchCompositeControl constructor.
|
|
@@ -2076,6 +2145,7 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
2076
2145
|
* A callback which is called whenever the selection of result view items changes.
|
|
2077
2146
|
*
|
|
2078
2147
|
* @since 1.113.0
|
|
2148
|
+
* @deprecated As of version 1.137.0. this setting is ignored, subscribe to event 'selectionChange'.
|
|
2079
2149
|
*/
|
|
2080
2150
|
selectionChange?: Function | PropertyBindingInfo | `{${string}}`;
|
|
2081
2151
|
|
package/types/sap.f.d.ts
CHANGED
package/types/sap.fe.base.d.ts
CHANGED
package/types/sap.fe.core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.138.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/fe/core/AppComponent" {
|
|
4
4
|
import {
|
|
@@ -316,6 +316,25 @@ declare module "sap/fe/core/ExtensionAPI" {
|
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
declare module "sap/fe/core/library" {
|
|
319
|
+
/**
|
|
320
|
+
* Possible navigation modes for a pagination.
|
|
321
|
+
*
|
|
322
|
+
* @since 1.138.0
|
|
323
|
+
*/
|
|
324
|
+
export enum ContextNavigationType {
|
|
325
|
+
/**
|
|
326
|
+
* Indicates that the navigation is to an external application.
|
|
327
|
+
*/
|
|
328
|
+
External = "undefined",
|
|
329
|
+
/**
|
|
330
|
+
* Indicates that the navigation is to a subobject page within the same application.
|
|
331
|
+
*/
|
|
332
|
+
Internal = "undefined",
|
|
333
|
+
/**
|
|
334
|
+
* Indicates that there is no navigation.
|
|
335
|
+
*/
|
|
336
|
+
None = "undefined",
|
|
337
|
+
}
|
|
319
338
|
/**
|
|
320
339
|
* Possible initial load (first app startup) modes for a ListReport.
|
|
321
340
|
*
|
|
@@ -650,7 +669,8 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
|
|
|
650
669
|
*
|
|
651
670
|
* @since 1.116.0
|
|
652
671
|
*
|
|
653
|
-
* @returns A promise to be returned by the overridden method.
|
|
672
|
+
* @returns A promise to be returned by the overridden method. If rejected, any further processing by the
|
|
673
|
+
* framework is stopped.
|
|
654
674
|
*/
|
|
655
675
|
onAfterCreate(
|
|
656
676
|
/**
|
|
@@ -672,7 +692,8 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
|
|
|
672
692
|
*
|
|
673
693
|
* @since 1.116.0
|
|
674
694
|
*
|
|
675
|
-
* @returns A promise to be returned by the overridden method.
|
|
695
|
+
* @returns A promise to be returned by the overridden method. If rejected, any further processing by the
|
|
696
|
+
* framework is stopped.
|
|
676
697
|
*/
|
|
677
698
|
onAfterDelete(
|
|
678
699
|
/**
|
|
@@ -694,7 +715,8 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
|
|
|
694
715
|
*
|
|
695
716
|
* @since 1.116.0
|
|
696
717
|
*
|
|
697
|
-
* @returns A promise to be returned by the overridden method.
|
|
718
|
+
* @returns A promise to be returned by the overridden method. If rejected, any further processing by the
|
|
719
|
+
* framework is stopped.
|
|
698
720
|
*/
|
|
699
721
|
onAfterDiscard(
|
|
700
722
|
/**
|
|
@@ -716,7 +738,8 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
|
|
|
716
738
|
*
|
|
717
739
|
* @since 1.116.0
|
|
718
740
|
*
|
|
719
|
-
* @returns A promise to be returned by the overridden method.
|
|
741
|
+
* @returns A promise to be returned by the overridden method. If rejected, any further processing by the
|
|
742
|
+
* framework is stopped.
|
|
720
743
|
*/
|
|
721
744
|
onAfterEdit(
|
|
722
745
|
/**
|
|
@@ -738,7 +761,8 @@ declare module "sap/fe/core/controllerextensions/EditFlow" {
|
|
|
738
761
|
*
|
|
739
762
|
* @since 1.116.0
|
|
740
763
|
*
|
|
741
|
-
* @returns A promise to be returned by the overridden method.
|
|
764
|
+
* @returns A promise to be returned by the overridden method. If rejected, any further processing by the
|
|
765
|
+
* framework is stopped.
|
|
742
766
|
*/
|
|
743
767
|
onAfterSave(
|
|
744
768
|
/**
|
|
@@ -1066,16 +1090,34 @@ declare module "sap/fe/core/controllerextensions/MessageHandler" {
|
|
|
1066
1090
|
declare module "sap/fe/core/controllerextensions/Paginator" {
|
|
1067
1091
|
import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
|
|
1068
1092
|
|
|
1069
|
-
import ODataListBinding from "sap/ui/model/odata/v4/ODataListBinding";
|
|
1070
|
-
|
|
1071
1093
|
import Context from "sap/ui/model/odata/v4/Context";
|
|
1072
1094
|
|
|
1095
|
+
import { ContextNavigationType } from "sap/fe/core/library";
|
|
1096
|
+
|
|
1097
|
+
import ODataListBinding from "sap/ui/model/odata/v4/ODataListBinding";
|
|
1098
|
+
|
|
1073
1099
|
/**
|
|
1074
1100
|
* Controller extension providing hooks for the navigation using paginators
|
|
1075
1101
|
*
|
|
1076
1102
|
* @since 1.94.0
|
|
1077
1103
|
*/
|
|
1078
1104
|
export default class Paginator extends ControllerExtension {
|
|
1105
|
+
/**
|
|
1106
|
+
* This function is used to determine the type of navigation.
|
|
1107
|
+
* If the context is not navigable, it must return 'ContextNavigationType.None'.
|
|
1108
|
+
* If the context is navigable within the same application to a sub object page, it must return 'ContextNavigationType.Internal'.
|
|
1109
|
+
* If the context is navigable to an external application, it must return 'ContextNavigationType.External'.
|
|
1110
|
+
*
|
|
1111
|
+
* @since 1.138.0
|
|
1112
|
+
*
|
|
1113
|
+
* @returns A Promise which should resolve to ContextNavigationType enum.
|
|
1114
|
+
*/
|
|
1115
|
+
determineContextNavigationType(
|
|
1116
|
+
/**
|
|
1117
|
+
* Object containing the context to be navigated.
|
|
1118
|
+
*/
|
|
1119
|
+
context: Context
|
|
1120
|
+
): Promise<ContextNavigationType>;
|
|
1079
1121
|
/**
|
|
1080
1122
|
* Initiates the paginator control.
|
|
1081
1123
|
*
|
package/types/sap.fe.ina.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.138.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/fe/macros/Chart" {
|
|
4
4
|
import {
|
|
@@ -327,7 +327,7 @@ declare module "sap/fe/macros/CollectionBindingInfo" {
|
|
|
327
327
|
import Sorter from "sap/ui/model/Sorter";
|
|
328
328
|
|
|
329
329
|
/**
|
|
330
|
-
* API to add parameters to the collection binding
|
|
330
|
+
* API to add parameters to the collection binding info.
|
|
331
331
|
*/
|
|
332
332
|
export default class CollectionBindingInfo {
|
|
333
333
|
/**
|
|
@@ -357,6 +357,27 @@ declare module "sap/fe/macros/CollectionBindingInfo" {
|
|
|
357
357
|
*/
|
|
358
358
|
sorter: Sorter
|
|
359
359
|
): void;
|
|
360
|
+
/**
|
|
361
|
+
* Attach the events to the table binding.
|
|
362
|
+
*/
|
|
363
|
+
attachEvent(
|
|
364
|
+
/**
|
|
365
|
+
* The event ID to attach the callback to
|
|
366
|
+
*/
|
|
367
|
+
eventId: string,
|
|
368
|
+
/**
|
|
369
|
+
* The callback function to be executed when the event is triggered
|
|
370
|
+
*/
|
|
371
|
+
callback: Function,
|
|
372
|
+
/**
|
|
373
|
+
* The listener object that will be used as the context for the callback function
|
|
374
|
+
*/
|
|
375
|
+
listener?: object,
|
|
376
|
+
/**
|
|
377
|
+
* Data that will be passed to the callback function when the event is triggered
|
|
378
|
+
*/
|
|
379
|
+
data?: object
|
|
380
|
+
): void;
|
|
360
381
|
/**
|
|
361
382
|
* Retrieve the 'serialized' binding info, useful if you want to create your own binding
|
|
362
383
|
*
|
|
@@ -556,6 +577,58 @@ declare module "sap/fe/macros/Field" {
|
|
|
556
577
|
>;
|
|
557
578
|
}
|
|
558
579
|
|
|
580
|
+
declare module "sap/fe/macros/FormElement" {
|
|
581
|
+
import {
|
|
582
|
+
default as FormElement1,
|
|
583
|
+
$FormElementSettings as $FormElementSettings1,
|
|
584
|
+
} from "sap/ui/layout/form/FormElement";
|
|
585
|
+
|
|
586
|
+
import {
|
|
587
|
+
PropertyBindingInfo,
|
|
588
|
+
AggregationBindingInfo,
|
|
589
|
+
} from "sap/ui/base/ManagedObject";
|
|
590
|
+
|
|
591
|
+
import Control from "sap/ui/core/Control";
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Building block used to create a form element based on the metadata provided by OData V4.
|
|
595
|
+
*
|
|
596
|
+
* @since 1.90.0
|
|
597
|
+
*/
|
|
598
|
+
export default class FormElement extends FormElement1 {}
|
|
599
|
+
/**
|
|
600
|
+
* Describes the settings that can be provided to the FormElement constructor.
|
|
601
|
+
*/
|
|
602
|
+
export interface $FormElementSettings extends $FormElementSettings1 {
|
|
603
|
+
/**
|
|
604
|
+
* Defines the path of the context used in the current page or block.
|
|
605
|
+
* This setting is defined by the framework.
|
|
606
|
+
*/
|
|
607
|
+
contextPath?: string | PropertyBindingInfo;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Label shown for the field. If not set, the label from the annotations will be shown.
|
|
611
|
+
*/
|
|
612
|
+
label?: string | PropertyBindingInfo;
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
616
|
+
*/
|
|
617
|
+
metaPath?: string | PropertyBindingInfo;
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* If set to false, the FormElement is not rendered.
|
|
621
|
+
*/
|
|
622
|
+
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Optional aggregation of controls that should be displayed inside the FormElement.
|
|
626
|
+
* If not set, a default Field building block will be rendered
|
|
627
|
+
*/
|
|
628
|
+
fields?: Control[] | Control | AggregationBindingInfo | `{${string}}`;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
|
|
559
632
|
declare module "sap/fe/macros/KPITag" {
|
|
560
633
|
import {
|
|
561
634
|
default as BuildingBlock,
|
|
@@ -878,7 +951,7 @@ declare module "sap/fe/macros/MultiValueField" {
|
|
|
878
951
|
contextPath?: string | PropertyBindingInfo;
|
|
879
952
|
|
|
880
953
|
/**
|
|
881
|
-
* Property added to be able to add data / items to the multi
|
|
954
|
+
* Property added to be able to add data / items to the multi-input field using a different model
|
|
882
955
|
*/
|
|
883
956
|
items?: any | PropertyBindingInfo | `{${string}}`;
|
|
884
957
|
|
|
@@ -2042,6 +2115,9 @@ declare module "sap/fe/macros/filterBar/FilterBar" {
|
|
|
2042
2115
|
getFilters(): object;
|
|
2043
2116
|
/**
|
|
2044
2117
|
* Get the selection variant from the filter bar.
|
|
2118
|
+
* Note: This method returns all the filter values that are set in the filter bar, including the text from
|
|
2119
|
+
* the search field (with $search as the property name). However, it doesn't return any filter field condition
|
|
2120
|
+
* that uses a custom operator.
|
|
2045
2121
|
*
|
|
2046
2122
|
*
|
|
2047
2123
|
* @returns A promise which resolves with a {@link sap.fe.navigation.SelectionVariant }
|
|
@@ -2119,6 +2195,8 @@ declare module "sap/fe/macros/filterBar/FilterBar" {
|
|
|
2119
2195
|
/**
|
|
2120
2196
|
* Sets {@link sap.fe.navigation.SelectionVariant } to the filter bar. Note: setSelectionVariant will clear
|
|
2121
2197
|
* existing filters and then apply the SelectionVariant values.
|
|
2198
|
+
* Note: This method cannot set the search field text or any filter field condition that relies on a custom
|
|
2199
|
+
* operator.
|
|
2122
2200
|
*
|
|
2123
2201
|
*
|
|
2124
2202
|
* @returns A promise for asynchronous handling
|
|
@@ -2310,6 +2388,9 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
2310
2388
|
getFilters(): object;
|
|
2311
2389
|
/**
|
|
2312
2390
|
* Get the selection variant from the filter bar.
|
|
2391
|
+
* Note: This method returns all the filter values that are set in the filter bar, including the text from
|
|
2392
|
+
* the search field (with $search as the property name). However, it doesn't return any filter field condition
|
|
2393
|
+
* that uses a custom operator.
|
|
2313
2394
|
*
|
|
2314
2395
|
*
|
|
2315
2396
|
* @returns A promise which resolves with a {@link sap.fe.navigation.SelectionVariant }
|
|
@@ -2387,6 +2468,8 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
2387
2468
|
/**
|
|
2388
2469
|
* Sets {@link sap.fe.navigation.SelectionVariant } to the filter bar. Note: setSelectionVariant will clear
|
|
2389
2470
|
* existing filters and then apply the SelectionVariant values.
|
|
2471
|
+
* Note: This method cannot set the search field text or any filter field condition that relies on a custom
|
|
2472
|
+
* operator.
|
|
2390
2473
|
*
|
|
2391
2474
|
*
|
|
2392
2475
|
* @returns A promise for asynchronous handling
|
|
@@ -2601,67 +2684,6 @@ declare module "sap/fe/macros/form/Form.block" {
|
|
|
2601
2684
|
}
|
|
2602
2685
|
}
|
|
2603
2686
|
|
|
2604
|
-
declare module "sap/fe/macros/form/FormElement.block" {
|
|
2605
|
-
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
2606
|
-
|
|
2607
|
-
import Context from "sap/ui/model/Context";
|
|
2608
|
-
|
|
2609
|
-
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
2610
|
-
|
|
2611
|
-
import Event from "sap/ui/base/Event";
|
|
2612
|
-
|
|
2613
|
-
/**
|
|
2614
|
-
* Building block used to create a form element based on the metadata provided by OData V4.
|
|
2615
|
-
*
|
|
2616
|
-
* @since 1.90.0
|
|
2617
|
-
*/
|
|
2618
|
-
export default class FormElement extends Control {}
|
|
2619
|
-
/**
|
|
2620
|
-
* Describes the settings that can be provided to the FormElement constructor.
|
|
2621
|
-
*/
|
|
2622
|
-
export interface $FormElementSettings extends $ControlSettings {
|
|
2623
|
-
/**
|
|
2624
|
-
* Defines the path of the context used in the current page or block.
|
|
2625
|
-
* This setting is defined by the framework.
|
|
2626
|
-
*/
|
|
2627
|
-
contextPath?: Context | PropertyBindingInfo | `{${string}}`;
|
|
2628
|
-
|
|
2629
|
-
/**
|
|
2630
|
-
* Label shown for the field. If not set, the label from the annotations will be shown.
|
|
2631
|
-
*/
|
|
2632
|
-
label?: string | PropertyBindingInfo;
|
|
2633
|
-
|
|
2634
|
-
/**
|
|
2635
|
-
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
2636
|
-
*/
|
|
2637
|
-
metaPath?: Context | PropertyBindingInfo | `{${string}}`;
|
|
2638
|
-
|
|
2639
|
-
/**
|
|
2640
|
-
* If set to false, the FormElement is not rendered.
|
|
2641
|
-
*/
|
|
2642
|
-
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
2643
|
-
|
|
2644
|
-
/**
|
|
2645
|
-
* Optional aggregation of controls that should be displayed inside the FormElement.
|
|
2646
|
-
* If not set, a default Field building block will be rendered
|
|
2647
|
-
*/
|
|
2648
|
-
fields?: Control;
|
|
2649
|
-
}
|
|
2650
|
-
|
|
2651
|
-
/**
|
|
2652
|
-
* Parameters of the FormElement#change event.
|
|
2653
|
-
*/
|
|
2654
|
-
export interface FormElement$ChangeEventParameters {}
|
|
2655
|
-
|
|
2656
|
-
/**
|
|
2657
|
-
* Event object of the FormElement#change event.
|
|
2658
|
-
*/
|
|
2659
|
-
export type FormElement$ChangeEvent = Event<
|
|
2660
|
-
FormElement$ChangeEventParameters,
|
|
2661
|
-
FormElement
|
|
2662
|
-
>;
|
|
2663
|
-
}
|
|
2664
|
-
|
|
2665
2687
|
declare module "sap/fe/macros/microchart/MicroChart" {
|
|
2666
2688
|
import {
|
|
2667
2689
|
default as MicroChart1,
|
|
@@ -2924,6 +2946,11 @@ declare module "sap/fe/macros/table/Action" {
|
|
|
2924
2946
|
*/
|
|
2925
2947
|
enableOnSelect?: string | PropertyBindingInfo;
|
|
2926
2948
|
|
|
2949
|
+
/**
|
|
2950
|
+
* Displays the AI Icon on the action button.
|
|
2951
|
+
*/
|
|
2952
|
+
isAIOperation?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
2953
|
+
|
|
2927
2954
|
/**
|
|
2928
2955
|
* Unique identifier of the action
|
|
2929
2956
|
*/
|
|
@@ -3126,6 +3153,11 @@ declare module "sap/fe/macros/table/ActionOverride" {
|
|
|
3126
3153
|
*/
|
|
3127
3154
|
enableOnSelect?: string | PropertyBindingInfo;
|
|
3128
3155
|
|
|
3156
|
+
/**
|
|
3157
|
+
* Displays the AI Icon on the action button.
|
|
3158
|
+
*/
|
|
3159
|
+
isAIOperation?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
3160
|
+
|
|
3129
3161
|
/**
|
|
3130
3162
|
* Unique identifier of the action to overridden.
|
|
3131
3163
|
*/
|
|
@@ -3498,7 +3530,7 @@ declare module "sap/fe/macros/table/Table.block" {
|
|
|
3498
3530
|
* <macros:Table id="MyTable" metaPath="@com.sap.vocabularies.UI.v1.LineItem" />
|
|
3499
3531
|
* ```
|
|
3500
3532
|
*
|
|
3501
|
-
* {@link demo:sap/fe/core/fpmExplorer/index.html#/buildingBlocks/table Overview of Table Building Blocks}
|
|
3533
|
+
* {@link demo:sap/fe/core/fpmExplorer/index.html#/buildingBlocks/table/tableDefault Overview of Table Building Blocks}
|
|
3502
3534
|
*/
|
|
3503
3535
|
export default class Table extends MacroAPI {
|
|
3504
3536
|
/**
|
|
@@ -3532,6 +3564,13 @@ declare module "sap/fe/macros/table/Table.block" {
|
|
|
3532
3564
|
type?: /* was: sap.ui.core.message.MessageType */ any;
|
|
3533
3565
|
}
|
|
3534
3566
|
): Promise<string>;
|
|
3567
|
+
/**
|
|
3568
|
+
* Get the count of the row binding of the table.
|
|
3569
|
+
*
|
|
3570
|
+
*
|
|
3571
|
+
* @returns The count of the row binding
|
|
3572
|
+
*/
|
|
3573
|
+
getCount(): number | undefined;
|
|
3535
3574
|
/**
|
|
3536
3575
|
* Get the variant management applied to the table.
|
|
3537
3576
|
*
|
|
@@ -3688,6 +3727,12 @@ declare module "sap/fe/macros/table/Table.block" {
|
|
|
3688
3727
|
*/
|
|
3689
3728
|
creationMode?: TableCreationOptions | PropertyBindingInfo | `{${string}}`;
|
|
3690
3729
|
|
|
3730
|
+
/**
|
|
3731
|
+
* Determines whether the number of fixed columns can be configured in the Column Settings dialog.
|
|
3732
|
+
* This property doesn't apply for responsive tables
|
|
3733
|
+
*/
|
|
3734
|
+
disableColumnFreeze?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
3735
|
+
|
|
3691
3736
|
/**
|
|
3692
3737
|
* Controls if the copy functionality of the table is disabled or not.
|
|
3693
3738
|
*/
|
|
@@ -3857,6 +3902,11 @@ declare module "sap/fe/macros/table/Table.block" {
|
|
|
3857
3902
|
*/
|
|
3858
3903
|
selectionMode?: string | PropertyBindingInfo;
|
|
3859
3904
|
|
|
3905
|
+
/**
|
|
3906
|
+
* Defines the number of records to be initially requested from the back end.
|
|
3907
|
+
*/
|
|
3908
|
+
threshold?: int | PropertyBindingInfo | `{${string}}`;
|
|
3909
|
+
|
|
3860
3910
|
/**
|
|
3861
3911
|
* Defines the type of table that will be used by the building block to render the data.
|
|
3862
3912
|
* Allowed values are `GridTable`, `ResponsiveTable` and `AnalyticalTable`.
|
|
@@ -4088,6 +4138,13 @@ declare module "sap/fe/macros/table/Table" {
|
|
|
4088
4138
|
type?: /* was: sap.ui.core.message.MessageType */ any;
|
|
4089
4139
|
}
|
|
4090
4140
|
): Promise<string>;
|
|
4141
|
+
/**
|
|
4142
|
+
* Get the count of the row binding of the table.
|
|
4143
|
+
*
|
|
4144
|
+
*
|
|
4145
|
+
* @returns The count of the row binding
|
|
4146
|
+
*/
|
|
4147
|
+
getCount(): number | undefined;
|
|
4091
4148
|
/**
|
|
4092
4149
|
* Get the variant management applied to the table.
|
|
4093
4150
|
*
|
|
@@ -4297,6 +4354,12 @@ declare module "sap/fe/macros/table/Table" {
|
|
|
4297
4354
|
*/
|
|
4298
4355
|
creationMode?: TableCreationOptions | PropertyBindingInfo | `{${string}}`;
|
|
4299
4356
|
|
|
4357
|
+
/**
|
|
4358
|
+
* Determines whether the number of fixed columns can be configured in the Column Settings dialog.
|
|
4359
|
+
* This property doesn't apply for responsive tables
|
|
4360
|
+
*/
|
|
4361
|
+
disableColumnFreeze?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
4362
|
+
|
|
4300
4363
|
/**
|
|
4301
4364
|
* Controls if the copy functionality of the table is disabled or not.
|
|
4302
4365
|
*/
|
|
@@ -4466,6 +4529,11 @@ declare module "sap/fe/macros/table/Table" {
|
|
|
4466
4529
|
*/
|
|
4467
4530
|
selectionMode?: string | PropertyBindingInfo;
|
|
4468
4531
|
|
|
4532
|
+
/**
|
|
4533
|
+
* Defines the number of records to be initially requested from the back end.
|
|
4534
|
+
*/
|
|
4535
|
+
threshold?: int | PropertyBindingInfo | `{${string}}`;
|
|
4536
|
+
|
|
4469
4537
|
/**
|
|
4470
4538
|
* Defines the type of table that will be used by the building block to render the data.
|
|
4471
4539
|
* Allowed values are `GridTable`, `ResponsiveTable` and `AnalyticalTable`.
|
|
@@ -4715,6 +4783,13 @@ declare module "sap/fe/macros/table/TreeTable.block" {
|
|
|
4715
4783
|
type?: /* was: sap.ui.core.message.MessageType */ any;
|
|
4716
4784
|
}
|
|
4717
4785
|
): Promise<string>;
|
|
4786
|
+
/**
|
|
4787
|
+
* Get the count of the row binding of the table.
|
|
4788
|
+
*
|
|
4789
|
+
*
|
|
4790
|
+
* @returns The count of the row binding
|
|
4791
|
+
*/
|
|
4792
|
+
getCount(): number | undefined;
|
|
4718
4793
|
/**
|
|
4719
4794
|
* Get the variant management applied to the table.
|
|
4720
4795
|
*
|
|
@@ -4874,6 +4949,12 @@ declare module "sap/fe/macros/table/TreeTable.block" {
|
|
|
4874
4949
|
| PropertyBindingInfo
|
|
4875
4950
|
| `{${string}}`;
|
|
4876
4951
|
|
|
4952
|
+
/**
|
|
4953
|
+
* Determines whether the number of fixed columns can be configured in the Column Settings dialog.
|
|
4954
|
+
* This property doesn't apply for responsive tables
|
|
4955
|
+
*/
|
|
4956
|
+
disableColumnFreeze?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
4957
|
+
|
|
4877
4958
|
/**
|
|
4878
4959
|
* Controls if the copy functionality of the table is disabled or not.
|
|
4879
4960
|
*/
|
|
@@ -5068,6 +5149,11 @@ declare module "sap/fe/macros/table/TreeTable.block" {
|
|
|
5068
5149
|
*/
|
|
5069
5150
|
selectionMode?: string | PropertyBindingInfo;
|
|
5070
5151
|
|
|
5152
|
+
/**
|
|
5153
|
+
* Defines the number of records to be initially requested from the back end.
|
|
5154
|
+
*/
|
|
5155
|
+
threshold?: int | PropertyBindingInfo | `{${string}}`;
|
|
5156
|
+
|
|
5071
5157
|
/**
|
|
5072
5158
|
* Defines the type of table that will be used by the building block to render the data. This setting is
|
|
5073
5159
|
* defined by the framework.
|
|
@@ -5303,6 +5389,13 @@ declare module "sap/fe/macros/table/TreeTable" {
|
|
|
5303
5389
|
type?: /* was: sap.ui.core.message.MessageType */ any;
|
|
5304
5390
|
}
|
|
5305
5391
|
): Promise<string>;
|
|
5392
|
+
/**
|
|
5393
|
+
* Get the count of the row binding of the table.
|
|
5394
|
+
*
|
|
5395
|
+
*
|
|
5396
|
+
* @returns The count of the row binding
|
|
5397
|
+
*/
|
|
5398
|
+
getCount(): number | undefined;
|
|
5306
5399
|
/**
|
|
5307
5400
|
* Get the variant management applied to the table.
|
|
5308
5401
|
*
|
|
@@ -5516,6 +5609,12 @@ declare module "sap/fe/macros/table/TreeTable" {
|
|
|
5516
5609
|
| PropertyBindingInfo
|
|
5517
5610
|
| `{${string}}`;
|
|
5518
5611
|
|
|
5612
|
+
/**
|
|
5613
|
+
* Determines whether the number of fixed columns can be configured in the Column Settings dialog.
|
|
5614
|
+
* This property doesn't apply for responsive tables
|
|
5615
|
+
*/
|
|
5616
|
+
disableColumnFreeze?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
5617
|
+
|
|
5519
5618
|
/**
|
|
5520
5619
|
* Controls if the copy functionality of the table is disabled or not.
|
|
5521
5620
|
*/
|
|
@@ -5710,6 +5809,11 @@ declare module "sap/fe/macros/table/TreeTable" {
|
|
|
5710
5809
|
*/
|
|
5711
5810
|
selectionMode?: string | PropertyBindingInfo;
|
|
5712
5811
|
|
|
5812
|
+
/**
|
|
5813
|
+
* Defines the number of records to be initially requested from the back end.
|
|
5814
|
+
*/
|
|
5815
|
+
threshold?: int | PropertyBindingInfo | `{${string}}`;
|
|
5816
|
+
|
|
5713
5817
|
/**
|
|
5714
5818
|
* Defines the type of table that will be used by the building block to render the data. This setting is
|
|
5715
5819
|
* defined by the framework.
|
|
@@ -6020,7 +6124,7 @@ declare namespace sap {
|
|
|
6020
6124
|
|
|
6021
6125
|
"sap/fe/macros/form/Form.block": undefined;
|
|
6022
6126
|
|
|
6023
|
-
"sap/fe/macros/
|
|
6127
|
+
"sap/fe/macros/FormElement": undefined;
|
|
6024
6128
|
|
|
6025
6129
|
"sap/fe/macros/KPITag": undefined;
|
|
6026
6130
|
|