@sapui5/ts-types 1.118.0 → 1.119.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 +16 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +35 -1
- package/types/sap.f.d.ts +117 -3
- package/types/sap.fe.core.d.ts +87 -61
- package/types/sap.fe.macros.d.ts +164 -21
- package/types/sap.fe.navigation.d.ts +92 -87
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +25 -21
- 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 +67 -53
- package/types/sap.insights.d.ts +141 -40
- package/types/sap.landvisz.d.ts +1 -1
- package/types/sap.m.d.ts +458 -82
- 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 +519 -272
- package/types/sap.suite.ui.commons.d.ts +50 -6
- package/types/sap.suite.ui.generic.template.d.ts +22 -17
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +17 -15
- 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 +41 -62
- package/types/sap.ui.core.d.ts +504 -162
- 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 -54
- 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 +11 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +1023 -262
- 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 +913 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -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 +367 -1
- 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 +113 -115
- package/types/sap.ui.webc.main.d.ts +299 -306
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +534 -14
- 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.core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.119.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -14,12 +14,46 @@ declare namespace sap {
|
|
|
14
14
|
* can override to allow more flexibility.
|
|
15
15
|
*/
|
|
16
16
|
namespace controllerextensions {
|
|
17
|
+
namespace ViewState {
|
|
18
|
+
/**
|
|
19
|
+
* Definition of a custom action to be used inside the table toolbar
|
|
20
|
+
*/
|
|
21
|
+
type NavigationParameter = {
|
|
22
|
+
/**
|
|
23
|
+
* The actual navigation type.
|
|
24
|
+
*/
|
|
25
|
+
navigationType: string;
|
|
26
|
+
/**
|
|
27
|
+
* Defines whether the standard variant must be used in variant management
|
|
28
|
+
*/
|
|
29
|
+
requiresStandardVariant: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The selectionVariant from the navigation.
|
|
32
|
+
*/
|
|
33
|
+
selectionVariant: sap.fe.navigation.SelectionVariant;
|
|
34
|
+
/**
|
|
35
|
+
* The selectionVariant defaults from the navigation
|
|
36
|
+
*/
|
|
37
|
+
selectionVariantDefaults: sap.fe.navigation.SelectionVariant;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @since 1.118.0
|
|
43
|
+
*
|
|
44
|
+
* A base implementation for controller extension used internally in sap.fe for central functionalities.
|
|
45
|
+
*/
|
|
46
|
+
class BaseControllerExtension extends sap.ui.core.mvc
|
|
47
|
+
.ControllerExtension {
|
|
48
|
+
constructor();
|
|
49
|
+
}
|
|
17
50
|
/**
|
|
18
51
|
* @since 1.90.0
|
|
19
52
|
*
|
|
20
53
|
* A controller extension offering hooks into the edit flow of the application
|
|
21
54
|
*/
|
|
22
|
-
class EditFlow extends sap.
|
|
55
|
+
class EditFlow extends sap.fe.core.controllerextensions
|
|
56
|
+
.BaseControllerExtension {
|
|
23
57
|
constructor();
|
|
24
58
|
|
|
25
59
|
/**
|
|
@@ -85,13 +119,12 @@ declare namespace sap {
|
|
|
85
119
|
/**
|
|
86
120
|
* The creation mode using one of the following:
|
|
87
121
|
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
122
|
+
* NewPage - the created document is shown in a new page, depending on whether metadata 'Sync', 'Async'
|
|
123
|
+
* or 'Deferred' is used
|
|
90
124
|
*
|
|
91
|
-
*
|
|
125
|
+
* Inline - The creation is done inline (in a table)
|
|
92
126
|
*
|
|
93
|
-
*
|
|
94
|
-
* 'outbound'
|
|
127
|
+
* External - The creation is done in a different application specified via the parameter 'outbound'
|
|
95
128
|
*/
|
|
96
129
|
creationMode: string;
|
|
97
130
|
/**
|
|
@@ -212,7 +245,7 @@ declare namespace sap {
|
|
|
212
245
|
* This function can be used to execute code after the 'Create' action.
|
|
213
246
|
* You can execute custom coding in this function.
|
|
214
247
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
215
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
248
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
216
249
|
*
|
|
217
250
|
*
|
|
218
251
|
* @returns A promise to be returned by the overridden method.
|
|
@@ -234,7 +267,7 @@ declare namespace sap {
|
|
|
234
267
|
* This function can be used to execute code after the 'Delete' action.
|
|
235
268
|
* You can execute custom coding in this function.
|
|
236
269
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
237
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
270
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
238
271
|
*
|
|
239
272
|
*
|
|
240
273
|
* @returns A promise to be returned by the overridden method.
|
|
@@ -256,7 +289,7 @@ declare namespace sap {
|
|
|
256
289
|
* This function can be used to execute code after the 'Discard' action.
|
|
257
290
|
* You can execute custom coding in this function.
|
|
258
291
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
259
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
292
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
260
293
|
*
|
|
261
294
|
*
|
|
262
295
|
* @returns A promise to be returned by the overridden method.
|
|
@@ -278,7 +311,7 @@ declare namespace sap {
|
|
|
278
311
|
* This function can be used to execute code after the 'Edit' action.
|
|
279
312
|
* You can execute custom coding in this function.
|
|
280
313
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
281
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
314
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
282
315
|
*
|
|
283
316
|
*
|
|
284
317
|
* @returns A promise to be returned by the overridden method.
|
|
@@ -300,7 +333,7 @@ declare namespace sap {
|
|
|
300
333
|
* This function can be used to execute code after the 'Save' action.
|
|
301
334
|
* You can execute custom coding in this function.
|
|
302
335
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
303
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
336
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
304
337
|
*
|
|
305
338
|
*
|
|
306
339
|
* @returns A promise to be returned by the overridden method.
|
|
@@ -323,7 +356,7 @@ declare namespace sap {
|
|
|
323
356
|
* The framework waits for the returned promise to be resolved before continuing the 'Create' action.
|
|
324
357
|
* If you reject the promise, the 'Create' action is stopped.
|
|
325
358
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
326
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
359
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
327
360
|
*
|
|
328
361
|
*
|
|
329
362
|
* @returns A promise to be returned by the overridden method. If resolved, the 'Create' action is triggered.
|
|
@@ -351,7 +384,7 @@ declare namespace sap {
|
|
|
351
384
|
* The framework waits for the returned promise to be resolved before continuing the 'Delete' action.
|
|
352
385
|
* If you reject the promise, the 'Delete' action is stopped.
|
|
353
386
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
354
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
387
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
355
388
|
*
|
|
356
389
|
*
|
|
357
390
|
* @returns A promise to be returned by the overridden method. If resolved, the 'Delete' action is triggered.
|
|
@@ -375,7 +408,7 @@ declare namespace sap {
|
|
|
375
408
|
* The framework waits for the returned promise to be resolved before continuing the 'Discard' action.
|
|
376
409
|
* If you reject the promise, the 'Discard' action is stopped and the user stays in edit mode.
|
|
377
410
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
378
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
411
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
379
412
|
*
|
|
380
413
|
*
|
|
381
414
|
* @returns A promise to be returned by the overridden method. If resolved, the 'Discard' action is triggered.
|
|
@@ -399,7 +432,7 @@ declare namespace sap {
|
|
|
399
432
|
* The framework waits for the returned promise to be resolved before continuing the 'Edit' action.
|
|
400
433
|
* If you reject the promise, the 'Edit' action is stopped and the user stays in display mode.
|
|
401
434
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
402
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
435
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
403
436
|
*
|
|
404
437
|
*
|
|
405
438
|
* @returns A promise to be returned by the overridden method. If resolved, the 'Edit' action is triggered.
|
|
@@ -423,7 +456,7 @@ declare namespace sap {
|
|
|
423
456
|
* The framework waits for the returned promise to be resolved before continuing the 'Save' action.
|
|
424
457
|
* If you reject the promise, the 'Save' action is stopped and the user stays in edit mode.
|
|
425
458
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
426
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
459
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
427
460
|
*
|
|
428
461
|
*
|
|
429
462
|
* @returns A promise to be returned by the overridden method. If resolved, the 'Save' action is triggered.
|
|
@@ -524,7 +557,7 @@ declare namespace sap {
|
|
|
524
557
|
/**
|
|
525
558
|
* @since 1.86.0
|
|
526
559
|
*
|
|
527
|
-
* Provides a hook to customize the {@link sap.fe.navigation.SelectionVariant} related to the intent-based
|
|
560
|
+
* Provides a hook to customize the {@link sap.fe.navigation.SelectionVariant } related to the intent-based
|
|
528
561
|
* navigation.
|
|
529
562
|
*/
|
|
530
563
|
adaptNavigationContext(
|
|
@@ -556,7 +589,7 @@ declare namespace sap {
|
|
|
556
589
|
* Identifier to locate the outbound definition in the manifest.
|
|
557
590
|
* This provides the semantic object and action for the intent-based navigation.
|
|
558
591
|
* Additionally, the outbound definition can be used to provide parameters for intent-based navigation.
|
|
559
|
-
* See {@link
|
|
592
|
+
* See {@link topic :be0cf40f61184b358b5faedaec98b2da Descriptor for Applications, Components, and Libraries }
|
|
560
593
|
* for more information.
|
|
561
594
|
*/
|
|
562
595
|
sOutbound: string,
|
|
@@ -611,7 +644,7 @@ declare namespace sap {
|
|
|
611
644
|
/**
|
|
612
645
|
* ODataListBinding object
|
|
613
646
|
*/
|
|
614
|
-
oBinding: any,
|
|
647
|
+
oBinding: any | sap.ui.model.odata.v4.ODataListBinding,
|
|
615
648
|
/**
|
|
616
649
|
* Current context where the navigation is initiated
|
|
617
650
|
*/
|
|
@@ -668,9 +701,8 @@ declare namespace sap {
|
|
|
668
701
|
*
|
|
669
702
|
* This function is used to intercept the routing event after binding a page.
|
|
670
703
|
* If it is declared as an extension, it allows you to intercept and change the normal flow of binding.
|
|
671
|
-
*
|
|
672
704
|
* This function is not called directly, but overridden separately by consuming controllers.
|
|
673
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
705
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
674
706
|
*/
|
|
675
707
|
onAfterBinding(
|
|
676
708
|
/**
|
|
@@ -683,9 +715,8 @@ declare namespace sap {
|
|
|
683
715
|
*
|
|
684
716
|
* This function is used to intercept the routing event before binding a page.
|
|
685
717
|
* If it is declared as an extension, it allows you to intercept and change the normal flow of binding.
|
|
686
|
-
*
|
|
687
718
|
* This function is not called directly, but overridden separately by consuming controllers.
|
|
688
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
719
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
689
720
|
*/
|
|
690
721
|
onBeforeBinding(
|
|
691
722
|
/**
|
|
@@ -701,13 +732,11 @@ declare namespace sap {
|
|
|
701
732
|
* clicked).
|
|
702
733
|
* The function is NOT called during other means of external outbound navigation (like a navigation configured
|
|
703
734
|
* via a link, or by using navigation buttons).
|
|
704
|
-
*
|
|
705
735
|
* If declared as an extension, it allows you to intercept and change the normal navigation flow.
|
|
706
736
|
* If you decide to do your own navigation processing, you can return `true` to prevent the default routing
|
|
707
737
|
* behavior.
|
|
708
|
-
*
|
|
709
738
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
710
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
739
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
711
740
|
*
|
|
712
741
|
*
|
|
713
742
|
* @returns `true` to prevent the default execution, false to keep the standard behavior
|
|
@@ -835,7 +864,7 @@ declare namespace sap {
|
|
|
835
864
|
*
|
|
836
865
|
* This function should add all controls relevant for refreshing to the provided control array.
|
|
837
866
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
838
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
867
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
839
868
|
*/
|
|
840
869
|
adaptBindingRefreshControls(
|
|
841
870
|
/**
|
|
@@ -848,7 +877,7 @@ declare namespace sap {
|
|
|
848
877
|
*
|
|
849
878
|
* Customize the `refreshBinding` function for a certain control.
|
|
850
879
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
851
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
880
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
852
881
|
*/
|
|
853
882
|
adaptBindingRefreshHandler(
|
|
854
883
|
/**
|
|
@@ -865,7 +894,7 @@ declare namespace sap {
|
|
|
865
894
|
*
|
|
866
895
|
* Customize the `retrieve` and `apply` functions for a certain control.
|
|
867
896
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
868
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
897
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
869
898
|
*/
|
|
870
899
|
adaptControlStateHandler(
|
|
871
900
|
/**
|
|
@@ -883,7 +912,7 @@ declare namespace sap {
|
|
|
883
912
|
* This function should add all controls for given view that should be considered for the state handling
|
|
884
913
|
* to the provided control array.
|
|
885
914
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
886
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
915
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
887
916
|
*/
|
|
888
917
|
adaptStateControls(
|
|
889
918
|
/**
|
|
@@ -896,7 +925,7 @@ declare namespace sap {
|
|
|
896
925
|
*
|
|
897
926
|
* Applying additional, not control related, states - is called only if navigation type is iAppState.
|
|
898
927
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
899
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
928
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
900
929
|
*/
|
|
901
930
|
applyAdditionalStates(
|
|
902
931
|
/**
|
|
@@ -913,8 +942,7 @@ declare namespace sap {
|
|
|
913
942
|
*
|
|
914
943
|
* Defines whether the view state should only be applied once initially.
|
|
915
944
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
916
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.Instead}.
|
|
917
|
-
*
|
|
945
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.Instead }.
|
|
918
946
|
* Important:
|
|
919
947
|
* You should only override this method for custom pages and not for the standard ListReportPage and ObjectPage!
|
|
920
948
|
*
|
|
@@ -928,7 +956,7 @@ declare namespace sap {
|
|
|
928
956
|
*
|
|
929
957
|
* Apply navigation parameters is not called if the navigation type is iAppState
|
|
930
958
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
931
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
959
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
932
960
|
*/
|
|
933
961
|
applyNavigationParameters(
|
|
934
962
|
/**
|
|
@@ -940,17 +968,17 @@ declare namespace sap {
|
|
|
940
968
|
*/
|
|
941
969
|
navigationType: any;
|
|
942
970
|
/**
|
|
943
|
-
*
|
|
971
|
+
* Defines whether the standard variant must be used in variant management
|
|
944
972
|
*/
|
|
945
|
-
requiresStandardVariant?: boolean;
|
|
973
|
+
requiresStandardVariant?: boolean | undefined;
|
|
946
974
|
/**
|
|
947
|
-
*
|
|
975
|
+
* The selectionVariant from the navigation
|
|
948
976
|
*/
|
|
949
|
-
selectionVariant?: object;
|
|
977
|
+
selectionVariant?: object | undefined;
|
|
950
978
|
/**
|
|
951
|
-
*
|
|
979
|
+
* The selectionVariant defaults from the navigation
|
|
952
980
|
*/
|
|
953
|
-
selectionVariantDefaults?: object;
|
|
981
|
+
selectionVariantDefaults?: object | undefined;
|
|
954
982
|
},
|
|
955
983
|
/**
|
|
956
984
|
* Extensible array of promises to be resolved before continuing
|
|
@@ -970,7 +998,7 @@ declare namespace sap {
|
|
|
970
998
|
/**
|
|
971
999
|
* The current navigation parameter
|
|
972
1000
|
*/
|
|
973
|
-
oNavParameter:
|
|
1001
|
+
oNavParameter: sap.fe.core.controllerextensions.ViewState.NavigationParameter,
|
|
974
1002
|
/**
|
|
975
1003
|
* Boolean which determines to skip the key user shine through
|
|
976
1004
|
*/
|
|
@@ -981,7 +1009,7 @@ declare namespace sap {
|
|
|
981
1009
|
*
|
|
982
1010
|
* Hook to react when state for given view was applied.
|
|
983
1011
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
984
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
1012
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
985
1013
|
*/
|
|
986
1014
|
onAfterStateApplied(
|
|
987
1015
|
/**
|
|
@@ -994,7 +1022,7 @@ declare namespace sap {
|
|
|
994
1022
|
*
|
|
995
1023
|
* Hook to react before a state for given view is applied.
|
|
996
1024
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
997
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
1025
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
998
1026
|
*/
|
|
999
1027
|
onBeforeStateApplied(
|
|
1000
1028
|
/**
|
|
@@ -1020,7 +1048,7 @@ declare namespace sap {
|
|
|
1020
1048
|
* Extend the map of additional states (not control bound) to be added to the current view state of the
|
|
1021
1049
|
* given view.
|
|
1022
1050
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
1023
|
-
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
1051
|
+
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After }.
|
|
1024
1052
|
*/
|
|
1025
1053
|
retrieveAdditionalStates(
|
|
1026
1054
|
/**
|
|
@@ -1052,21 +1080,20 @@ declare namespace sap {
|
|
|
1052
1080
|
* or you can use it to wrap your custom XML view directly the manifest when you define your custom page
|
|
1053
1081
|
* under sapui5/routing/targets:
|
|
1054
1082
|
*
|
|
1055
|
-
*
|
|
1056
1083
|
* ```javascript
|
|
1057
1084
|
*
|
|
1058
1085
|
* "myCustomPage": {
|
|
1059
|
-
*
|
|
1060
|
-
*
|
|
1061
|
-
*
|
|
1062
|
-
*
|
|
1063
|
-
*
|
|
1064
|
-
*
|
|
1065
|
-
*
|
|
1066
|
-
*
|
|
1067
|
-
* }
|
|
1086
|
+
* "type": "Component",
|
|
1087
|
+
* "id": "myCustomPage",
|
|
1088
|
+
* "name": "sap.fe.core.fpm",
|
|
1089
|
+
* "title": "My Custom Page",
|
|
1090
|
+
* "options": {
|
|
1091
|
+
* "settings": {
|
|
1092
|
+
* "viewName": "myNamespace.myView",
|
|
1093
|
+
* "contextPath": "/MyEntitySet"
|
|
1068
1094
|
* }
|
|
1069
1095
|
* }
|
|
1096
|
+
* }
|
|
1070
1097
|
* ```
|
|
1071
1098
|
*/
|
|
1072
1099
|
class Component
|
|
@@ -1125,7 +1152,6 @@ declare namespace sap {
|
|
|
1125
1152
|
* create their apps by extending this component.
|
|
1126
1153
|
* This ensures that all the necessary services that you need for the building blocks and templates to work
|
|
1127
1154
|
* properly are started.
|
|
1128
|
-
*
|
|
1129
1155
|
* When you use sap.fe.core.AppComponent as the base component, you also need to use a rootView. SAP Fiori
|
|
1130
1156
|
* elements provides two options:
|
|
1131
1157
|
*
|
|
@@ -1158,7 +1184,7 @@ declare namespace sap {
|
|
|
1158
1184
|
/**
|
|
1159
1185
|
* Provides a hook to initialize feature toggles.
|
|
1160
1186
|
* This hook is being called by the SAP Fiori elements AppComponent at the time feature toggles can be initialized.
|
|
1161
|
-
* To change page configuration use the {@link sap.fe.core.AppComponent#changePageConfiguration} method.
|
|
1187
|
+
* To change page configuration use the {@link sap.fe.core.AppComponent#changePageConfiguration } method.
|
|
1162
1188
|
*
|
|
1163
1189
|
*
|
|
1164
1190
|
* @returns A promise without any value to allow asynchronous processes
|
|
@@ -1185,15 +1211,13 @@ declare namespace sap {
|
|
|
1185
1211
|
/**
|
|
1186
1212
|
* Convenience method provided by SAP Fiori elements to enable applications to include the view model by
|
|
1187
1213
|
* name into each controller.
|
|
1188
|
-
*
|
|
1189
|
-
* @returns The model instance
|
|
1190
1214
|
*/
|
|
1191
1215
|
getModel(
|
|
1192
1216
|
/**
|
|
1193
1217
|
* The model name
|
|
1194
1218
|
*/
|
|
1195
1219
|
sName?: string
|
|
1196
|
-
):
|
|
1220
|
+
): void;
|
|
1197
1221
|
/**
|
|
1198
1222
|
* Convenience method for setting the view model in every controller of the application.
|
|
1199
1223
|
*
|
|
@@ -1328,7 +1352,7 @@ declare namespace sap {
|
|
|
1328
1352
|
*/
|
|
1329
1353
|
sTarget: string,
|
|
1330
1354
|
/**
|
|
1331
|
-
*
|
|
1355
|
+
* Context instance
|
|
1332
1356
|
*/
|
|
1333
1357
|
oContext: sap.ui.model.Context
|
|
1334
1358
|
): void;
|
|
@@ -1393,6 +1417,8 @@ declare namespace sap {
|
|
|
1393
1417
|
|
|
1394
1418
|
"sap/fe/core/BaseController": undefined;
|
|
1395
1419
|
|
|
1420
|
+
"sap/fe/core/controllerextensions/BaseControllerExtension": undefined;
|
|
1421
|
+
|
|
1396
1422
|
"sap/fe/core/controllerextensions/EditFlow": undefined;
|
|
1397
1423
|
|
|
1398
1424
|
"sap/fe/core/controllerextensions/IntentBasedNavigation": undefined;
|