@sapui5/ts-types 1.151.1 → 1.153.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 +4 -4
- 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 +18 -1
- package/types/sap.f.d.ts +1189 -292
- 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 +104 -9
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +238 -52
- 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 +12 -2
- package/types/sap.fe.test.d.ts +15 -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 +303 -24
- package/types/sap.insights.d.ts +1 -1
- package/types/{mobile-1.151.0-d.ts → sap.m.d.ts} +368 -32
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +926 -14
- package/types/sap.suite.ui.generic.template.d.ts +31 -1
- 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 +1 -1
- package/types/sap.ui.comp.d.ts +4 -2
- package/types/{core-1.151.0-d.ts → sap.ui.core.d.ts} +375 -144
- package/types/{dt-1.151.0-d.ts → sap.ui.dt.d.ts} +1 -1
- package/types/sap.ui.export.d.ts +20 -2
- 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 +101 -325
- package/types/sap.ui.joule.frontend.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/{mdc-1.151.0-d.ts → sap.ui.mdc.d.ts} +6646 -5514
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +10 -2
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +63 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +60 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +1 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +183 -56
- 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.fe.ariba.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.153.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -14,6 +14,20 @@ declare namespace sap {
|
|
|
14
14
|
* can override to allow more flexibility.
|
|
15
15
|
*/
|
|
16
16
|
namespace controllerextensions {
|
|
17
|
+
namespace IntentBasedNavigation {
|
|
18
|
+
/**
|
|
19
|
+
* A navigation target that appears in a popover for semantic object links.
|
|
20
|
+
* Use this type to add or remove entries in {@link sap.fe.core.controllerextensions.IntentBasedNavigation#adaptNavigationTargets }.
|
|
21
|
+
* To remove an existing target, find it by `semanticObject` and `action` and remove it from the array.
|
|
22
|
+
* To add a new target, push a new object with the desired `semanticObject` and `action`.
|
|
23
|
+
* SAP Fiori elements resolves the navigation URL and applies the current row parameters automatically.
|
|
24
|
+
*
|
|
25
|
+
*
|
|
26
|
+
* @since 1.152.0
|
|
27
|
+
*/
|
|
28
|
+
type NavigationTarget = {};
|
|
29
|
+
}
|
|
30
|
+
|
|
17
31
|
namespace MessageHandler {
|
|
18
32
|
/**
|
|
19
33
|
* Defines the message details relevant for the MessageButton building block to display a popover.
|
|
@@ -621,6 +635,49 @@ declare namespace sap {
|
|
|
621
635
|
context?: sap.ui.model.odata.v4.Context;
|
|
622
636
|
}
|
|
623
637
|
): Promise<void>;
|
|
638
|
+
/**
|
|
639
|
+
* Use this function to intercept the action execution after the action parameter is closed and
|
|
640
|
+
* before the OData request is sent. This lets you inspect or validate the parameter values the user entered.
|
|
641
|
+
* One use case is to trigger a re-authentication step in regulated industries (GxP) where a shared user
|
|
642
|
+
* session
|
|
643
|
+
* requires additional verification before a critical change is submitted.
|
|
644
|
+
* The framework waits for the returned promise to be resolved before sending the OData request.
|
|
645
|
+
* When the promise is rejected, the action is silently cancelled. No error message is displayed to the
|
|
646
|
+
* user.
|
|
647
|
+
* Applications must show appropriate feedback before rejecting the promise.
|
|
648
|
+
* For bulk operations (multiple contexts), the hook is called once with all contexts.
|
|
649
|
+
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
650
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
651
|
+
*
|
|
652
|
+
*
|
|
653
|
+
* @since 1.153.0
|
|
654
|
+
*
|
|
655
|
+
* @returns A promise to be returned by the overridden method. If resolved, the OData request is sent. If
|
|
656
|
+
* rejected, the action isn't triggered.
|
|
657
|
+
*/
|
|
658
|
+
onBeforeExecuteAction(
|
|
659
|
+
/**
|
|
660
|
+
* Object containing the parameters passed to onBeforeExecuteAction
|
|
661
|
+
*/
|
|
662
|
+
_mParameters?: {
|
|
663
|
+
/**
|
|
664
|
+
* The name of the action to be executed.
|
|
665
|
+
*/
|
|
666
|
+
actionName: string;
|
|
667
|
+
/**
|
|
668
|
+
* The parameter values collected from the action parameter dialog. Empty if the action has no parameters
|
|
669
|
+
* or the dialog was skipped.
|
|
670
|
+
*/
|
|
671
|
+
actionParameters?: Record<string, any>;
|
|
672
|
+
/**
|
|
673
|
+
* The contexts that are going to be used for the action execution.
|
|
674
|
+
*/
|
|
675
|
+
contexts?:
|
|
676
|
+
| null
|
|
677
|
+
| sap.ui.model.odata.v4.Context
|
|
678
|
+
| sap.ui.model.odata.v4.Context[];
|
|
679
|
+
}
|
|
680
|
+
): Promise<void>;
|
|
624
681
|
/**
|
|
625
682
|
* This function can be used to intercept the 'Save' action. You can execute custom coding in this function.
|
|
626
683
|
* The framework waits for the returned promise to be resolved before continuing the 'Save' action.
|
|
@@ -759,6 +816,43 @@ declare namespace sap {
|
|
|
759
816
|
sourceControl: /* was: sap.fe.macros.Field */ any | undefined;
|
|
760
817
|
}
|
|
761
818
|
): void;
|
|
819
|
+
/**
|
|
820
|
+
* Use this method to modify the navigation targets that appear in the popover for semantic object links.
|
|
821
|
+
* The array is provided before the popover opens and can be modified in place to add, remove, or reorder
|
|
822
|
+
* targets.
|
|
823
|
+
* The system resolves URL parameters for newly added targets in the same way as for native targets. When
|
|
824
|
+
* you navigate, the system calls
|
|
825
|
+
* {@link sap.fe.core.controllerextensions.IntentBasedNavigation#adaptNavigationContext } for these targets.
|
|
826
|
+
* Each entry is a {@link sap.fe.core.controllerextensions.IntentBasedNavigation.NavigationTarget } identified
|
|
827
|
+
* by its `semanticObject` and `action`.
|
|
828
|
+
*
|
|
829
|
+
*
|
|
830
|
+
* @since 1.152.0
|
|
831
|
+
*/
|
|
832
|
+
adaptNavigationTargets(
|
|
833
|
+
/**
|
|
834
|
+
* Array of navigation targets to be shown in the popover. Modify in place to add, remove, or reorder entries.
|
|
835
|
+
*/
|
|
836
|
+
_navigationTargets: sap.fe.core.controllerextensions.IntentBasedNavigation.NavigationTarget[],
|
|
837
|
+
/**
|
|
838
|
+
* Object containing navigation-related context
|
|
839
|
+
*/
|
|
840
|
+
_oNavigationInfo: {
|
|
841
|
+
/**
|
|
842
|
+
* The binding context of the source row or field, providing access to the current record's data
|
|
843
|
+
*/
|
|
844
|
+
bindingContext: sap.ui.model.Context;
|
|
845
|
+
/**
|
|
846
|
+
* All semantic objects registered for the link field
|
|
847
|
+
*/
|
|
848
|
+
semanticObjects: string[];
|
|
849
|
+
/**
|
|
850
|
+
* The {@link sap.fe.macros.Field} building block instance that triggered the navigation, or undefined if
|
|
851
|
+
* not triggered from a field.
|
|
852
|
+
*/
|
|
853
|
+
sourceControl: /* was: sap.fe.macros.Field */ any | undefined;
|
|
854
|
+
}
|
|
855
|
+
): void;
|
|
762
856
|
/**
|
|
763
857
|
* Navigates to an intent defined by an outbound definition in the manifest.
|
|
764
858
|
*
|
|
@@ -997,8 +1091,8 @@ declare namespace sap {
|
|
|
997
1091
|
extends sap.fe.core.controllerextensions.BaseControllerExtension
|
|
998
1092
|
{
|
|
999
1093
|
/**
|
|
1000
|
-
* Adapts the metadata used while sharing the page URL using 'Send Email', 'Share
|
|
1001
|
-
* as Tile'.
|
|
1094
|
+
* Adapts the metadata used while sharing the page URL using 'Send Email', 'Share on SAP Build Work Zone',
|
|
1095
|
+
* and 'Save as Tile'.
|
|
1002
1096
|
*
|
|
1003
1097
|
* @since 1.93.0
|
|
1004
1098
|
*
|
|
@@ -1023,15 +1117,16 @@ declare namespace sap {
|
|
|
1023
1117
|
url: string;
|
|
1024
1118
|
};
|
|
1025
1119
|
/**
|
|
1026
|
-
* SAP
|
|
1120
|
+
* SAP Build Work Zone-specific metadata.
|
|
1027
1121
|
*/
|
|
1028
1122
|
jam: {
|
|
1029
1123
|
/**
|
|
1030
|
-
* Title that will be used as 'share text' in 'Share
|
|
1124
|
+
* Title that will be used as 'share text' in 'Share on SAP Build Work Zone'. This takes precedence over
|
|
1125
|
+
* oShareMetadata.title.
|
|
1031
1126
|
*/
|
|
1032
1127
|
title: string;
|
|
1033
1128
|
/**
|
|
1034
|
-
* URL that will be used specifically for 'Share
|
|
1129
|
+
* URL that will be used specifically for 'Share on SAP Build Work Zone'. This takes precedence over oShareMetadata.url.
|
|
1035
1130
|
*/
|
|
1036
1131
|
url?: string;
|
|
1037
1132
|
};
|
|
@@ -1061,12 +1156,12 @@ declare namespace sap {
|
|
|
1061
1156
|
url?: string;
|
|
1062
1157
|
};
|
|
1063
1158
|
/**
|
|
1064
|
-
* Default title that will be used as the 'email subject' in 'Send Email', 'share text' in 'Share
|
|
1065
|
-
*
|
|
1159
|
+
* Default title that will be used as the 'email subject' in 'Send Email', 'share text' in 'Share on SAP
|
|
1160
|
+
* Build Work Zone' and 'title' in 'Save as Tile'
|
|
1066
1161
|
*/
|
|
1067
1162
|
title: string;
|
|
1068
1163
|
/**
|
|
1069
|
-
* Default URL that will be used with 'Send Email', 'Share
|
|
1164
|
+
* Default URL that will be used with 'Send Email', 'Share on SAP Build Work Zone', and 'Save as Tile'
|
|
1070
1165
|
*/
|
|
1071
1166
|
url: string;
|
|
1072
1167
|
}
|
package/types/sap.fe.ina.d.ts
CHANGED