@sapui5/sap.fe.core 1.136.2 → 1.138.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.
Files changed (90) hide show
  1. package/package.json +1 -1
  2. package/src/sap/fe/core/.library +1 -1
  3. package/src/sap/fe/core/ActionRuntime.js +76 -28
  4. package/src/sap/fe/core/ActionRuntime.ts +106 -30
  5. package/src/sap/fe/core/AppComponent.js +11 -1
  6. package/src/sap/fe/core/AppComponent.ts +10 -0
  7. package/src/sap/fe/core/CommonUtils.js +15 -3
  8. package/src/sap/fe/core/CommonUtils.ts +13 -2
  9. package/src/sap/fe/core/PageController.controller.js +10 -0
  10. package/src/sap/fe/core/PageController.controller.ts +3 -0
  11. package/src/sap/fe/core/buildingBlocks/TraceInfo.js +3 -4
  12. package/src/sap/fe/core/buildingBlocks/TraceInfo.ts +2 -2
  13. package/src/sap/fe/core/buildingBlocks/templating/BuildingBlockTemplateProcessor.js +3 -3
  14. package/src/sap/fe/core/buildingBlocks/templating/BuildingBlockTemplateProcessor.ts +2 -2
  15. package/src/sap/fe/core/controllerextensions/EditFlow.js +42 -36
  16. package/src/sap/fe/core/controllerextensions/EditFlow.ts +53 -44
  17. package/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation.js +2 -1
  18. package/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation.ts +2 -1
  19. package/src/sap/fe/core/controllerextensions/InternalRouting.js +2 -15
  20. package/src/sap/fe/core/controllerextensions/InternalRouting.ts +1 -14
  21. package/src/sap/fe/core/controllerextensions/Paginator.js +20 -5
  22. package/src/sap/fe/core/controllerextensions/Paginator.ts +19 -0
  23. package/src/sap/fe/core/controllerextensions/editFlow/NotApplicableContextDialog.js +4 -2
  24. package/src/sap/fe/core/controllerextensions/editFlow/NotApplicableContextDialog.tsx +7 -2
  25. package/src/sap/fe/core/controllerextensions/editFlow/TransactionHelper.js +155 -129
  26. package/src/sap/fe/core/controllerextensions/editFlow/TransactionHelper.ts +200 -175
  27. package/src/sap/fe/core/controllerextensions/editFlow/draft.js +11 -14
  28. package/src/sap/fe/core/controllerextensions/editFlow/draft.ts +11 -31
  29. package/src/sap/fe/core/controllerextensions/editFlow/operations/ODataOperation.js +35 -3
  30. package/src/sap/fe/core/controllerextensions/editFlow/operations/ODataOperation.ts +46 -10
  31. package/src/sap/fe/core/controllerextensions/editFlow/operations/ODataStrictHandling.js +16 -1
  32. package/src/sap/fe/core/controllerextensions/editFlow/operations/ODataStrictHandling.ts +17 -2
  33. package/src/sap/fe/core/controllerextensions/editFlow/operations/Operation.js +88 -1
  34. package/src/sap/fe/core/controllerextensions/editFlow/operations/Operation.ts +106 -7
  35. package/src/sap/fe/core/controllerextensions/editFlow/operations/OperationMessage.js +16 -1
  36. package/src/sap/fe/core/controllerextensions/editFlow/operations/OperationMessage.ts +15 -0
  37. package/src/sap/fe/core/controllerextensions/editFlow/operations/OperationParameters.js +25 -1
  38. package/src/sap/fe/core/controllerextensions/editFlow/operations/OperationParameters.ts +24 -0
  39. package/src/sap/fe/core/controllerextensions/editFlow/sticky.js +3 -5
  40. package/src/sap/fe/core/controllerextensions/editFlow/sticky.ts +2 -10
  41. package/src/sap/fe/core/controllerextensions/messageHandler/messageHandling.js +8 -15
  42. package/src/sap/fe/core/controllerextensions/messageHandler/messageHandling.ts +7 -19
  43. package/src/sap/fe/core/controllerextensions/routing/RouterProxy.js +7 -4
  44. package/src/sap/fe/core/controllerextensions/routing/RouterProxy.ts +7 -3
  45. package/src/sap/fe/core/controls/DataWatcher.js +2 -2
  46. package/src/sap/fe/core/controls/DataWatcher.tsx +1 -1
  47. package/src/sap/fe/core/controls/Recommendations/ConfirmRecommendationDialog.js +11 -6
  48. package/src/sap/fe/core/controls/Recommendations/ConfirmRecommendationDialog.tsx +13 -9
  49. package/src/sap/fe/core/converters/ManifestSettings.js +1 -1
  50. package/src/sap/fe/core/converters/ManifestSettings.ts +4 -0
  51. package/src/sap/fe/core/converters/MetaModelConverter.js +3 -2
  52. package/src/sap/fe/core/converters/MetaModelConverter.ts +12 -4
  53. package/src/sap/fe/core/converters/controls/Common/Action.js +53 -21
  54. package/src/sap/fe/core/converters/controls/Common/Action.ts +53 -24
  55. package/src/sap/fe/core/converters/controls/Common/Chart.js +4 -1
  56. package/src/sap/fe/core/converters/controls/Common/Chart.ts +2 -1
  57. package/src/sap/fe/core/converters/controls/Common/Table.js +33 -12
  58. package/src/sap/fe/core/converters/controls/Common/Table.ts +37 -10
  59. package/src/sap/fe/core/converters/controls/ObjectPage/SubSection.js +2 -2
  60. package/src/sap/fe/core/converters/controls/ObjectPage/SubSection.ts +2 -1
  61. package/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction.js +6 -11
  62. package/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction.ts +10 -17
  63. package/src/sap/fe/core/converters/templates/ObjectPageConverter.js +3 -28
  64. package/src/sap/fe/core/converters/templates/ObjectPageConverter.ts +1 -26
  65. package/src/sap/fe/core/fpm/manifest.json +1 -1
  66. package/src/sap/fe/core/helpers/FPMHelper.js +2 -2
  67. package/src/sap/fe/core/helpers/FPMHelper.ts +1 -1
  68. package/src/sap/fe/core/helpers/ModelHelper.js +8 -56
  69. package/src/sap/fe/core/helpers/ModelHelper.ts +11 -57
  70. package/src/sap/fe/core/helpers/PasteHelper.js +2 -2
  71. package/src/sap/fe/core/helpers/PasteHelper.ts +1 -1
  72. package/src/sap/fe/core/library.js +33 -4
  73. package/src/sap/fe/core/library.ts +33 -2
  74. package/src/sap/fe/core/messagebundle.properties +18 -2
  75. package/src/sap/fe/core/messagebundle_el.properties +2 -2
  76. package/src/sap/fe/core/rootView/Fcl.controller.js +3 -8
  77. package/src/sap/fe/core/rootView/Fcl.controller.ts +7 -14
  78. package/src/sap/fe/core/rootView/RootViewBaseController.js +6 -6
  79. package/src/sap/fe/core/rootView/RootViewBaseController.ts +5 -5
  80. package/src/sap/fe/core/services/RoutingServiceFactory.js +3 -3
  81. package/src/sap/fe/core/services/RoutingServiceFactory.ts +2 -2
  82. package/src/sap/fe/core/services/SideEffectsServiceFactory.js +4 -1
  83. package/src/sap/fe/core/services/SideEffectsServiceFactory.ts +3 -0
  84. package/src/sap/fe/core/templating/UIFormatters.js +3 -3
  85. package/src/sap/fe/core/templating/UIFormatters.ts +1 -2
  86. package/src/sap/fe/core/controllerextensions/editFlow/operations/facade.js +0 -81
  87. package/src/sap/fe/core/controllerextensions/editFlow/operations/facade.ts +0 -126
  88. package/src/sap/fe/core/controllerextensions/editFlow/operations.js +0 -10
  89. package/src/sap/fe/core/controllerextensions/editFlow/operations.ts +0 -2
  90. package/src/sap/fe/core/designtime/messagebundle_en_US_saprigi.properties +0 -7
@@ -31,7 +31,7 @@ import "sap/fe/placeholder/library";
31
31
  import DataType from "sap/ui/base/DataType";
32
32
  import Library from "sap/ui/core/Lib";
33
33
  import "sap/ui/core/library";
34
- import View from "sap/ui/core/mvc/View";
34
+ import XMLView from "sap/ui/core/mvc/XMLView";
35
35
  import ServiceFactoryRegistry from "sap/ui/core/service/ServiceFactoryRegistry";
36
36
  import ContextSharingServiceFactory from "./services/ContextSharingServiceFactory";
37
37
  import CollaborativeDraftServiceFactory from "./services/collaborativeDraftServiceFactory";
@@ -407,6 +407,37 @@ thisLib.StartupMode = {
407
407
  */
408
408
  AutoCreate: "AutoCreate"
409
409
  };
410
+
411
+ /**
412
+ * Possible navigation modes for a pagination.
413
+ * @enum {string}
414
+ * @readonly
415
+ * @public
416
+ * @since 1.138.0
417
+ */
418
+
419
+ export enum ContextNavigationType {
420
+ /**
421
+ * Indicates that there is no navigation.
422
+ * @public
423
+ */
424
+ None = "None",
425
+
426
+ /**
427
+ * Indicates that the navigation is to a subobject page within the same application.
428
+ * @public
429
+ */
430
+ Internal = "Internal",
431
+
432
+ /**
433
+ * Indicates that the navigation is to an external application.
434
+ * @public
435
+ */
436
+ External = "External"
437
+ }
438
+
439
+ thisLib.ContextNavigationType = ContextNavigationType;
440
+
410
441
  // explicit type to handle backward compatibility with boolean values
411
442
  const InitialLoadType = DataType.createType("sap.fe.core.InitialLoadMode", {
412
443
  defaultValue: thisLib.InitialLoadMode.Auto,
@@ -444,7 +475,7 @@ ServiceFactoryRegistry.register("sap.fe.core.services.CollaborativeDraftService"
444
475
  ServiceFactoryRegistry.register("sap.fe.core.services.ContextSharingService", new ContextSharingServiceFactory());
445
476
  ServiceFactoryRegistry.register("sap.fe.core.services.InlineEditService", new InlineEditServiceFactory());
446
477
 
447
- View.registerPreprocessor("controls", xmlViewPreprocessor, "XML", false, true);
478
+ XMLView.registerPreprocessor("controls", xmlViewPreprocessor, "XML", false, true);
448
479
 
449
480
  export type CoreLib = {
450
481
  InvocationGrouping: {
@@ -329,6 +329,10 @@ C_COLLABORATIONDRAFT_DISCARD_DISCARD_WARNING=If you discard the draft, all colla
329
329
  # YMSG: In the Discard/Save dialog, asks the user on what his action is.
330
330
  C_COLLABORATIONDRAFT_DISCARD_QUESTION=What would you like to do?
331
331
 
332
+ # YMSG: Warning that is shown if users try to access a draft for which they aren't authorized.
333
+ C_COLLABORATIONDRAFT_USER_UNAUTHORIZED=You're not authorized to edit this object, so you will see it in display mode only. \n\
334
+ Please contact your administrator about the required authorization.
335
+
332
336
  # ------------------------ ACTION CONTROLLER ------------------------
333
337
 
334
338
  # XTIT,100
@@ -359,10 +363,10 @@ C_TRANSACTION_HELPER_SAPFE_ACTION_CREATE_BUTTON_CREATE=Create
359
363
  C_ACTION_PARTIAL_FRAGMENT_SAPFE_CONTINUE_ANYWAY=Continue Anyway
360
364
 
361
365
  # XFLD,100: Text for Partial Processing
362
- C_ACTION_PARTIAL_FRAGMENT_SAPFE_BOUND_ACTION=1 selected object can\u2019t be processed.
366
+ C_ACTION_PARTIAL_FRAGMENT_SAPFE_BOUND_ACTION={0} of {1} objects can\u2019t be processed.
363
367
 
364
368
  # XFLD,100: Text for Partial Processing
365
- C_ACTION_PARTIAL_FRAGMENT_SAPFE_BOUND_ACTION_PLURAL={0} selected objects can\u2019t be processed.
369
+ C_ACTION_PARTIAL_FRAGMENT_SAPFE_BOUND_ACTION_PLURAL={0} of {1} objects can\u2019t be processed.
366
370
 
367
371
  # XFLD,100: Text for Partial Processing
368
372
  C_ACTION_PARTIAL_FRAGMENT_SAPFE_BOUND_ACTION_SEMANTICKEY=One selected object will not be processed
@@ -658,6 +662,18 @@ T_SHARE_UTIL_HELPER_SAPFE_EMAIL_SUBJECT=Link To: {0}
658
662
  # XBUT: Send Email button text
659
663
  T_COMMON_SAPFE_SHARE_MSTEAMS=Share to Microsoft Teams
660
664
 
665
+ # XBUT: Print button text
666
+ T_SHARE_CONTROL_PRINT=Print
667
+
668
+ # XBUT: Export as Excel button text
669
+ T_SHARE_CONTROL_EXPORT_AS_EXCEL=Export to Spreadsheet
670
+
671
+ # XBUT: Export as PDF button text
672
+ T_SHARE_CONTROL_EXPORT_AS_PDF=Export to PDF
673
+
674
+ # XBUT: Export as CSV button text
675
+ T_SHARE_CONTROL_EXPORT_AS_CSV=Export to CSV
676
+
661
677
  # ------------KPI tooltip templates-----------------------
662
678
 
663
679
  # XMSG: Tooltip template when the KPI has an error status
@@ -115,11 +115,11 @@ ST_DRAFT_DATALOSS_SAVE_HIDDEN_DRAFT_TOL=\u0391\u03BB\u03BB\u03B1\u03B3\u03AD\u03
115
115
 
116
116
  ST_DRAFT_DATALOSS_CREATE_ENTITY_TOL=\u0394\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AE\u03C3\u03C4\u03B5 \u03C4\u03BF \u03B1\u03BD\u03C4\u03B9\u03BA\u03B5\u03AF\u03BC\u03B5\u03BD\u03BF.
117
117
 
118
- ST_DRAFT_DATALOSS_KEEP_DRAFT_RBL=\u0394\u03B9\u03B1\u03C4\u03AE\u03C1\u03B7\u03C3\u03B7 \u03A0\u03C1\u03CC\u03C7\u03B5\u03B9\u03C1\u03BF\u03C5
118
+ ST_DRAFT_DATALOSS_KEEP_DRAFT_RBL=\u0394\u03B9\u03B1\u03C4.\u03A0\u03C1\u03CC\u03C7.
119
119
 
120
120
  ST_DRAFT_DATALOSS_KEEP_DRAFT_TOL=\u039F\u03B9 \u03B1\u03BB\u03BB\u03B1\u03B3\u03AD\u03C2 \u03B8\u03B1 \u03B5\u03BC\u03C6\u03B1\u03BD\u03AF\u03B6\u03BF\u03BD\u03C4\u03B1\u03B9 \u03BC\u03CC\u03BD\u03BF \u03C3\u03B5 \u03B5\u03C3\u03AC\u03C2 \u03BA\u03B1\u03B9 \u03B4\u03B5\u03BD \u03B8\u03B1 \u03B9\u03C3\u03C7\u03CD\u03BF\u03C5\u03BD \u03C3\u03B5 \u03B5\u03BE\u03B1\u03C1\u03C4\u03B7\u03BC.\u03B4\u03B9\u03B1\u03B4\u03B9\u03BA.\u03BA\u03B1\u03B9 \u03BB\u03B5\u03B9\u03C4\u03BF\u03C5\u03C1\u03B3\u03AF\u03B5\u03C2.
121
121
 
122
- ST_DRAFT_DATALOSS_DISCARD_DRAFT_RBL=\u0391\u03C0\u03CC\u03C1\u03C1\u03B9\u03C8\u03B7 \u03A0\u03C1\u03CC\u03C7\u03B5\u03B9\u03C1\u03BF\u03C5
122
+ ST_DRAFT_DATALOSS_DISCARD_DRAFT_RBL=\u0391\u03C0\u03CC\u03C1.\u03A0\u03C1\u03CC\u03C7.
123
123
 
124
124
  ST_DRAFT_DATALOSS_DISCARD_HIDDEN_DRAFT_RBL=\u0391\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7
125
125